[OSGeo Africa] OpenGeo Suite web application error

Keke Malekela keke.malekela at gmail.com
Mon Jul 7 07:49:01 PDT 2014


Hi Sindile,

I did install JDK and set the path for JAVA_HOME.
When I want to create the war file it still gives me errors.
I have attached the suite-log file (notepad), so you see the errors.
This is what I type in command prompt (I have tried both options and looked
online but no help).

suite-sdk deploy -d truenortthcoms.com -r 8080 -u truenorth -p tncomsexp -c
jetty6x C:\truenorthcoms

suite-sdk deploy -d localhost -r 8080 -u truenorth -p tncomsexp -c jetty6x
C:\truenorthcoms

I get errors of misconfiguration of container type. (i installed the
software in windows 7, and I am using opengeo suite 3.1)

here is the errors I am getting in the suite log file:

Checking provided application path.
Building application resources for 'C:\truenorthcoms'.
Building application archive for 'C:\truenorthcoms'.
Deploying application archive
'C:\Users\KEKE\AppData\Local\Temp\suite-sdk\build/truenorthcoms.war'.

BUILD FAILED
C:\Users\build.xml:167: org.codehaus.cargo.container.ContainerException:
Failed to deploy
[C:\Users\KEKE\AppData\Local\Temp\suite-sdk\build/truenorthcoms.war]
at
org.codehaus.cargo.container.jetty.JettyRemoteDeployer.deploy(JettyRemoteDeployer.java:124)
at
org.codehaus.cargo.container.spi.deployer.AbstractDeployer.redeploy(AbstractDeployer.java:190)
at org.codehaus.cargo.ant.CargoTask.executeActions(CargoTask.java:602)
at org.codehaus.cargo.ant.CargoTask.execute(CargoTask.java:531)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
at org.apache.tools.ant.Main.runBuild(Main.java:851)
at org.apache.tools.ant.Main.startAnt(Main.java:235)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at
java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
at sun.net.www.http.HttpClient.New(HttpClient.java:308)
at sun.net.www.http.HttpClient.New(HttpClient.java:326)
at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1167)
at
sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1103)
at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:997)
at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:931)
at
org.codehaus.cargo.container.jetty.JettyRemoteDeployer.createDeployConnection(JettyRemoteDeployer.java:203)
at
org.codehaus.cargo.container.jetty.JettyRemoteDeployer.deploy(JettyRemoteDeployer.java:109)
... 19 more
java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at
java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
at sun.net.www.http.HttpClient.New(HttpClient.java:308)
at sun.net.www.http.HttpClient.New(HttpClient.java:326)
at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1167)
at
sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1103)
at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:997)
at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:931)
at
org.codehaus.cargo.container.jetty.JettyRemoteDeployer.createDeployConnection(JettyRemoteDeployer.java:203)
at
org.codehaus.cargo.container.jetty.JettyRemoteDeployer.deploy(JettyRemoteDeployer.java:109)
at
org.codehaus.cargo.container.spi.deployer.AbstractDeployer.redeploy(AbstractDeployer.java:190)
at org.codehaus.cargo.ant.CargoTask.executeActions(CargoTask.java:602)
at org.codehaus.cargo.ant.CargoTask.execute(CargoTask.java:531)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
at org.apache.tools.ant.Main.runBuild(Main.java:851)
at org.apache.tools.ant.Main.startAnt(Main.java:235)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

Total time: 37 seconds
Regards,
Keketso


On Tue, Jul 1, 2014 at 4:27 PM, Sindile Bidla <sindile.bidla at gmail.com>
 wrote:

> Have you installed JDK and set JAVA_HOME to JDK?
> Please have a look at this url
> http://suite.opengeo.org/opengeo-docs/webapps/install.html
>
>
> On 1 July 2014 15:55, Keke Malekela <keke.malekela at gmail.com> wrote:
>
>> Hi Sindile,
>>
>> I have managed to solde that problem
>> But now when I create the application it gives me errors on:
>> Unable to locate tool.jar (in the jetty\lib\tools.jar) and the build.xml
>> (in the sdk\src\mai\resources) the build file I can find but i cant find
>> the tools.jar file
>> then it further gives an error about not being able to create the
>> directory ( I should be able to this because I am working on my laptop)
>>
>>
>>
>>
>> On Tue, Jul 1, 2014 at 1:50 PM, Sindile Bidla <sindile.bidla at gmail.com>
>>  wrote:
>>
>>> This is because the path to suite-sdk is not defined in your
>>> Environmental Variables. Depending where suite-sdk is installed do the
>>> following:
>>>
>>> At the Windows command prompt type ECHO Path=C:\Program Files
>>> (x86)\Boundless\OpenGeo\sdk\bin (must confirm the path to suite-sdk first)
>>>
>>>
>>> On 1 July 2014 11:38, Keke Malekela <keke.malekela at gmail.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> I am using OpenGeo suite
>>>> I am try to create a web application for opengeo suite.
>>>> When I run the command prompt and type in the line:
>>>> suite-sdk create /path/to/myviewer gxp
>>>> I contuinously get an error 'sdk not recognised as an internal or
>>>> external command, operable program or batch file.
>>>> How do I fix this?
>>>>
>>>> Regards,
>>>> Keke
>>>>
>>>> _______________________________________________
>>>> Africa mailing list
>>>> Africa at lists.osgeo.org
>>>> You can UNSUBSCRIBE at http://lists.osgeo.org/mailman/listinfo/africa
>>>>
>>>
>>>
>>> _______________________________________________
>>> Africa mailing list
>>> Africa at lists.osgeo.org
>>> You can UNSUBSCRIBE at http://lists.osgeo.org/mailman/listinfo/africa
>>>
>>
>>
>> _______________________________________________
>> Africa mailing list
>> Africa at lists.osgeo.org
>> You can UNSUBSCRIBE at http://lists.osgeo.org/mailman/listinfo/africa
>>
>
>
> _______________________________________________
> Africa mailing list
> Africa at lists.osgeo.org
> You can UNSUBSCRIBE at http://lists.osgeo.org/mailman/listinfo/africa
>



On Tue, Jul 1, 2014 at 4:27 PM, Sindile Bidla <sindile.bidla at gmail.com>
wrote:

> Have you installed JDK and set JAVA_HOME to JDK?
> Please have a look at this url
> http://suite.opengeo.org/opengeo-docs/webapps/install.html
>
>
> On 1 July 2014 15:55, Keke Malekela <keke.malekela at gmail.com> wrote:
>
>> Hi Sindile,
>>
>> I have managed to solde that problem
>> But now when I create the application it gives me errors on:
>> Unable to locate tool.jar (in the jetty\lib\tools.jar) and the build.xml
>> (in the sdk\src\mai\resources) the build file I can find but i cant find
>> the tools.jar file
>> then it further gives an error about not being able to create the
>> directory ( I should be able to this because I am working on my laptop)
>>
>>
>>
>>
>> On Tue, Jul 1, 2014 at 1:50 PM, Sindile Bidla <sindile.bidla at gmail.com>
>> wrote:
>>
>>> This is because the path to suite-sdk is not defined in your
>>> Environmental Variables. Depending where suite-sdk is installed do the
>>> following:
>>>
>>> At the Windows command prompt type ECHO Path=C:\Program Files
>>> (x86)\Boundless\OpenGeo\sdk\bin (must confirm the path to suite-sdk first)
>>>
>>>
>>> On 1 July 2014 11:38, Keke Malekela <keke.malekela at gmail.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> I am using OpenGeo suite
>>>> I am try to create a web application for opengeo suite.
>>>> When I run the command prompt and type in the line:
>>>> suite-sdk create /path/to/myviewer gxp
>>>> I contuinously get an error 'sdk not recognised as an internal or
>>>> external command, operable program or batch file.
>>>> How do I fix this?
>>>>
>>>> Regards,
>>>> Keke
>>>>
>>>> _______________________________________________
>>>> Africa mailing list
>>>> Africa at lists.osgeo.org
>>>> You can UNSUBSCRIBE at http://lists.osgeo.org/mailman/listinfo/africa
>>>>
>>>
>>>
>>> _______________________________________________
>>> Africa mailing list
>>> Africa at lists.osgeo.org
>>> You can UNSUBSCRIBE at http://lists.osgeo.org/mailman/listinfo/africa
>>>
>>
>>
>> _______________________________________________
>> Africa mailing list
>> Africa at lists.osgeo.org
>> You can UNSUBSCRIBE at http://lists.osgeo.org/mailman/listinfo/africa
>>
>
>
> _______________________________________________
> Africa mailing list
> Africa at lists.osgeo.org
> You can UNSUBSCRIBE at http://lists.osgeo.org/mailman/listinfo/africa
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/africa/attachments/20140707/eef0a32b/attachment-0001.html>


More information about the Africa mailing list