Post Mon Aug 01, 2011 8:36 am

Out of memory error

In windows openbravo 3.0MP1 is not getting deployed. I configured ant, environment variables. Then I run ant setup, ant install.source,

All commands gets successfully executed. But application is not deployed on tomcat. Then I manually tried to deploy using ant deploy.context. Then following error occured. I have configured all environment variables catalina_opts,ant_opts. I allocated about 2 GB memory for both. Though the following error is arrived.





C:\openbravo\Openbravo-3.0MP1>ant deploy.context

Buildfile: C:\openbravo\Openbravo-3.0MP1\build.xml



deploy.context:

[undeploy] Server returned HTTP response code: 401 for URL: http://localhost:80

80/manager/undeploy?path=/openbravo



BUILD FAILED

C:\openbravo\Openbravo-3.0MP1\build.xml:902: java.io.IOException: Server returne

d HTTP response code: 401 for URL: http://localhost:8080/manager/deploy?path=%2F

openbravo

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon

nection.java:1241)

at org.apache.catalina.ant.AbstractCatalinaTask.execute(AbstractCatalina

Task.java:222)

at org.apache.catalina.ant.DeployTask.execute(DeployTask.java:200)

at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)

at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav

a:106)

at org.apache.tools.ant.Task.perform(Task.java:348)

at org.apache.tools.ant.Target.execute(Target.java:390)

at org.apache.tools.ant.Target.performTasks(Target.java:411)

at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)

at org.apache.tools.ant.Project.executeTarget(Project.java:1368)

at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe

cutor.java:41)

at org.apache.tools.ant.Project.executeTargets(Project.java:1251)

at org.apache.tools.ant.Main.runBuild(Main.java:809)

at org.apache.tools.ant.Main.startAnt(Main.java:217)

at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)

at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)



Total time: 4 seconds