Hi every1,
I m newbie to ofbiz. I had downloaded ofbiz 9.4 release. Below is my system configuration Windows xp with 3 GB RAM. JDK1.6 installed. ANT1.7 installed. When I run the below command. ant run-install it works fine. But when I try to start the application with below command. java -Xms128M -Xmx512M -jar ofbiz.jar It gives me below ERROR gan/workspace/opensource/offbiz/ofbiz%209.4/applications/party/webapp/partym gr/W EB-INF/controller.xml 2010-02-08 17:10:43,343 (main) [ ConfigXMLReader.java:118:INFO ] controller l oaded: 0.0s, 1667 requests, 623 views in file:/C:/Documents%20and%20Settings/Gag an/workspace/opensource/offbiz/ofbiz%209.4/specialpurpose/projectmgr/webapp/ proj ectmgr/WEB-INF/controller.xml 2010-02-08 17:10:43,343 (main) [ ConfigXMLReader.java:118:INFO ] controller l oaded: 0.078s, 1687 requests, 629 views in jndi:/0.0.0.0/myportal/WEB-INF/contro ller.xml 2010-02-08 17:10:43,796 (main) [ GenericDispatcher.java:61 :INFO ] Creating new dispatcher [order] (main) 2010-02-08 17:10:43,796 (main) [ ControlServlet.java:65 :INFO ] LOADING WEBA PP [ordermgr] Open For Business - Order Manager, located at C:\Documents and Set tings\Gagan\workspace\opensource\offbiz\ofbiz 9.4\applications\order\webapp\orde rmgr\ 2010-02-08 17:10:43,828 (main) [ ConfigXMLReader.java:118:INFO ] controller l oaded: 0.0s, 17 requests, 13 views in file:/C:/Documents%20and%20Settings/Gagan/ workspace/opensource/offbiz/ofbiz%209.4/framework/common/webcommon/WEB-INF/c ommo n-controller.xml 2010-02-08 17:10:43,843 (main) [ ConfigXMLReader.java:118:INFO ] controller l oaded: 0.015s, 321 requests, 141 views in jndi:/0.0.0.0/ordermgr/WEB-INF/control ler.xml 2010-02-08 17:10:45,140 (main) [ ChannelSocket.java:377:INFO ] Port busy 80 09 java.net.BindException: Address already in use: JVM_Bind 2010-02-08 17:10:45,140 (main) [ ChannelSocket.java:387:INFO ] JK: ajp13 li stening on /0.0.0.0:8010 2010-02-08 17:10:45,218 (main) [ JkMain.java:344:INFO ] Jk running I D=1 time=0/125 config=null 2010-02-08 17:10:45,406 (main) [ Http11Protocol.java:209:INFO ] Starting Coy ote HTTP/1.1 on http-0.0.0.0-8080 2010-02-08 17:10:45,468 (main) [ Http11Protocol.java:209:INFO ] Starting Coy ote HTTP/1.1 on http-0.0.0.0-8443 2010-02-08 17:10:45,515 (main) [ CatalinaContainer.java:236:INFO ] Connector AJ P/1.3 @ 8009 - not-secure [org.apache.jk.server.JkCoyoteHandler] started. 2010-02-08 17:10:45,515 (main) [ CatalinaContainer.java:233:INFO ] Connector nu ll @ 8080 - not-secure [org.apache.coyote.http11.Http11Protocol] started. 2010-02-08 17:10:45,515 (main) [ CatalinaContainer.java:233:INFO ] Connector nu ll @ 8443 - secure [org.apache.coyote.http11.Http11Protocol] started. 2010-02-08 17:10:45,515 (main) [ CatalinaContainer.java:240:INFO ] Started Apac he Tomcat/6.0.16 java.net.BindException: Address already in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(Unknown Source) at java.net.ServerSocket.bind(Unknown Source) at java.net.ServerSocket.<init>(Unknown Source) at java.net.ServerSocket.<init>(Unknown Source) at bsh.util.Httpd.<init>(Unknown Source) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou rce) at java.lang.reflect.Constructor.newInstance(Unknown Source) at bsh.Reflect.constructObject(Unknown Source) at bsh.BSHAllocationExpression.constructObject(Unknown Source) at bsh.BSHAllocationExpression.objectAllocation(Unknown Source) at bsh.BSHAllocationExpression.eval(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.BSHArguments.getArguments(Unknown Source) at bsh.BSHAllocationExpression.objectAllocation(Unknown Source) at bsh.BSHAllocationExpression.eval(Unknown Source) at bsh.BSHPrimarySuffix.doSuffix(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.BSHBlock.evalBlock(Unknown Source) at bsh.BSHBlock.eval(Unknown Source) at bsh.BshMethod.invokeImpl(Unknown Source) at bsh.BshMethod.invoke(Unknown Source) at bsh.BshMethod.invoke(Unknown Source) at bsh.Name.invokeLocalMethod(Unknown Source) at bsh.Name.invokeMethod(Unknown Source) at bsh.BSHMethodInvocation.eval(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.Interpreter.evalParsedScript(Unknown Source) at bsh.Interpreter.eval(Unknown Source) at bsh.Interpreter.eval(Unknown Source) at bsh.Interpreter.eval(Unknown Source) at org.ofbiz.base.container.BeanShellContainer.start(BeanShellContainer. java:95) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:1 01) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) at org.ofbiz.base.start.Start.startServer(Start.java:312) at org.ofbiz.base.start.Start.start(Start.java:316) at org.ofbiz.base.start.Start.main(Start.java:399) org.ofbiz.base.start.StartupException: Cannot start() org.ofbiz.base.container.B eanShellContainer (Sourced file: inline evaluation of: ``server(portnum);'' : Ob ject constructor : at Line: 11 : in file: /bsh/commands/server.bsh : new Httpd ( port ) Called from method: server : at Line: 1 : in file: inline evaluation of: ``serve r(portnum);'' : server ( portnum ) Target exception: java.net.BindException: Address already in use: JVM_Bind (Sourced file: inline evaluation of: ``server(portnum);'' : Object constructor) ) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:1 03) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) at org.ofbiz.base.start.Start.startServer(Start.java:312) at org.ofbiz.base.start.Start.start(Start.java:316) at org.ofbiz.base.start.Start.main(Start.java:399) org.ofbiz.base.container.ContainerException: Sourced file: inline evaluation of: ``server(portnum);'' : Object constructor : at Line: 11 : in file: /bsh/command s/server.bsh : new Httpd ( port ) Called from method: server : at Line: 1 : in file: inline evaluation of: ``serve r(portnum);'' : server ( portnum ) Target exception: java.net.BindException: Address already in use: JVM_Bind (Sourced file: inline evaluation of: ``server(portnum);'' : Object constructor) at org.ofbiz.base.container.BeanShellContainer.start(BeanShellContainer. java:97) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:1 01) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) at org.ofbiz.base.start.Start.startServer(Start.java:312) at org.ofbiz.base.start.Start.start(Start.java:316) at org.ofbiz.base.start.Start.main(Start.java:399) Caused by: Sourced file: inline evaluation of: ``server(portnum);'' : Object con structor : at Line: 11 : in file: /bsh/commands/server.bsh : new Httpd ( port ) Called from method: server : at Line: 1 : in file: inline evaluation of: ``serve r(portnum);'' : server ( portnum ) Target exception: java.net.BindException: Address already in use: JVM_Bind at bsh.BSHAllocationExpression.constructObject(Unknown Source) at bsh.BSHAllocationExpression.objectAllocation(Unknown Source) at bsh.BSHAllocationExpression.eval(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.BSHArguments.getArguments(Unknown Source) at bsh.BSHAllocationExpression.objectAllocation(Unknown Source) at bsh.BSHAllocationExpression.eval(Unknown Source) at bsh.BSHPrimarySuffix.doSuffix(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.BSHBlock.evalBlock(Unknown Source) at bsh.BSHBlock.eval(Unknown Source) at bsh.BshMethod.invokeImpl(Unknown Source) at bsh.BshMethod.invoke(Unknown Source) at bsh.BshMethod.invoke(Unknown Source) at bsh.Name.invokeLocalMethod(Unknown Source) at bsh.Name.invokeMethod(Unknown Source) at bsh.BSHMethodInvocation.eval(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.Interpreter.evalParsedScript(Unknown Source) at bsh.Interpreter.eval(Unknown Source) at bsh.Interpreter.eval(Unknown Source) at bsh.Interpreter.eval(Unknown Source) at org.ofbiz.base.container.BeanShellContainer.start(BeanShellContainer. java:95) ... 5 more org.ofbiz.base.container.ContainerException: Sourced file: inline evaluation of: ``server(portnum);'' : Object constructor : at Line: 11 : in file: /bsh/command s/server.bsh : new Httpd ( port ) Called from method: server : at Line: 1 : in file: inline evaluation of: ``serve r(portnum);'' : server ( portnum ) Target exception: java.net.BindException: Address already in use: JVM_Bind (Sourced file: inline evaluation of: ``server(portnum);'' : Object constructor) at org.ofbiz.base.container.BeanShellContainer.start(BeanShellContainer. java:97) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:1 01) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) at org.ofbiz.base.start.Start.startServer(Start.java:312) at org.ofbiz.base.start.Start.start(Start.java:316) at org.ofbiz.base.start.Start.main(Start.java:399) Caused by: Sourced file: inline evaluation of: ``server(portnum);'' : Object con structor : at Line: 11 : in file: /bsh/commands/server.bsh : new Httpd ( port ) Called from method: server : at Line: 1 : in file: inline evaluation of: ``serve r(portnum);'' : server ( portnum ) Target exception: java.net.BindException: Address already in use: JVM_Bind at bsh.BSHAllocationExpression.constructObject(Unknown Source) at bsh.BSHAllocationExpression.objectAllocation(Unknown Source) at bsh.BSHAllocationExpression.eval(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.BSHArguments.getArguments(Unknown Source) at bsh.BSHAllocationExpression.objectAllocation(Unknown Source) at bsh.BSHAllocationExpression.eval(Unknown Source) at bsh.BSHPrimarySuffix.doSuffix(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.BSHBlock.evalBlock(Unknown Source) at bsh.BSHBlock.eval(Unknown Source) at bsh.BshMethod.invokeImpl(Unknown Source) at bsh.BshMethod.invoke(Unknown Source) at bsh.BshMethod.invoke(Unknown Source) at bsh.Name.invokeLocalMethod(Unknown Source) at bsh.Name.invokeMethod(Unknown Source) at bsh.BSHMethodInvocation.eval(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.Interpreter.evalParsedScript(Unknown Source) at bsh.Interpreter.eval(Unknown Source) at bsh.Interpreter.eval(Unknown Source) at bsh.Interpreter.eval(Unknown Source) at org.ofbiz.base.container.BeanShellContainer.start(BeanShellContainer. java:95) ... 5 more 2010-02-08 17:10:45,906 (OFBiz_Shutdown_Hook) [ ContainerLoader.java:114:INFO ] Shutting down containers 2010-02-08 17:10:45,906 (OFBiz_Shutdown_Hook) [ Http11Protocol.java:236:INFO ] Stopping Coyote HTTP/1.1 on http-0.0.0.0-8080 2010-02-08 17:10:45,921 (OFBiz_Shutdown_Hook) [ Http11Protocol.java:236:INFO ] Stopping Coyote HTTP/1.1 on http-0.0.0.0-8443 2010-02-08 17:10:45,921 (OFBiz_Shutdown_Hook) [ ServiceDispatcher.java:184:INFO ] De-Registering dispatcher: oagismgr 2010-02-08 17:10:45,937 (OFBiz_Shutdown_Hook) [ ServiceDispatcher.java:184:INFO ] De-Registering dispatcher: facility 2010-02-08 17:10:45,937 (OFBiz_Shutdown_Hook) [ ServiceDispatcher.java:184:INFO ] De-Registering dispatcher: accounting 2010-02-08 17:10:45,937 (OFBiz_Shutdown_Hook) [ ServiceDispatcher.java:184:INFO ] De-Registering dispatcher: assetmaint 2010-02-08 17:10:45,953 (OFBiz_Shutdown_Hook) [ ServiceDispatcher.java:184:INFO ] De-Registering dispatcher: OfbizSite 2010-02-08 17:10:45,953 (OFBiz_Shutdown_Hook) [ ServiceDispatcher.java:184:INFO ] De-Registering dispatcher: hhfacility 2010-02-08 17:10:45,953 (OFBiz_Shutdown_Hook) [ ServiceDispatcher.java:184:INFO ] De-Registering dispatcher: manufacturing 2010-02-08 17:10:45,968 (OFBiz_Shutdown_Hook) [ ServiceDispatcher.java:184:INFO ] De-Registering dispatcher: bi 2010-02-08 17:10:45,968 (OFBiz_Shutdown_Hook) [ ServiceDispatcher.java:184:INFO ] De-Registering dispatcher: webpos 2010-02-08 17:10:45,968 (OFBiz_Shutdown_Hook) [ ServiceDispatcher.java:184:INFO ] De-Registering dispatcher: workeffort 2010-02-08 17:10:45,984 (OFBiz_Shutdown_Hook) [ ServiceDispatcher.java:184:INFO ] De-Registering dispatcher: ecommerce 2010-02-08 17:10:45,984 (OFBiz_Shutdown_Hook) [ ServiceDispatcher.java:184:INFO ] De-Registering dispatcher: catalog 2010-02-08 17:10:46,000 (OFBiz_Shutdown_Hook) [ ServiceDispatcher.java:184:INFO ] De-Registering dispatcher: sfa 2010-02-08 17:10:46,000 (OFBiz_Shutdown_Hook) [ ServiceDispatcher.java:184:INFO ] De-Registering dispatcher: ar 2010-02-08 17:10:46,000 (OFBiz_Shutdown_Hook) [ ServiceDispatcher.java:184:INFO ] De-Registering dispatcher: example 2010-02-08 17:10:46,015 (OFBiz_Shutdown_Hook) [ ServiceDispatcher.java:184:INFO ] De-Registering dispatcher: marketing 2010-02-08 17:10:46,031 (OFBiz_Shutdown_Hook) [ ServiceDispatcher.java:184:INFO ] De-Registering dispatcher: partymgr 2010-02-08 17:10:46,031 (OFBiz_Shutdown_Hook) [ ServiceDispatcher.java:184:INFO ] De-Registering dispatcher: Humanres 2010-02-08 17:10:46,031 (OFBiz_Shutdown_Hook) [ ServiceDispatcher.java:184:INFO ] De-Registering dispatcher: content 2010-02-08 17:10:46,031 (OFBiz_Shutdown_Hook) [ ServiceDispatcher.java:184:INFO ] De-Registering dispatcher: ebay 2010-02-08 17:10:46,046 (OFBiz_Shutdown_Hook) [ ServiceDispatcher.java:184:INFO ] De-Registering dispatcher: ap 2010-02-08 17:10:46,046 (OFBiz_Shutdown_Hook) [ ServiceDispatcher.java:184:INFO ] De-Registering dispatcher: ecommerce 2010-02-08 17:10:46,046 (OFBiz_Shutdown_Hook) [ ServiceDispatcher.java:184:INFO ] De-Registering dispatcher: projectmgr 2010-02-08 17:10:46,062 (OFBiz_Shutdown_Hook) [ ServiceDispatcher.java:184:INFO ] De-Registering dispatcher: exampleext 2010-02-08 17:10:46,078 (OFBiz_Shutdown_Hook) [ ServiceDispatcher.java:184:INFO ] De-Registering dispatcher: ismgr 2010-02-08 17:10:46,078 (OFBiz_Shutdown_Hook) [ ServiceDispatcher.java:184:INFO ] De-Registering dispatcher: webtools 2010-02-08 17:10:46,078 (OFBiz_Shutdown_Hook) [ ServiceDispatcher.java:184:INFO ] De-Registering dispatcher: ical 2010-02-08 17:10:46,093 (OFBiz_Shutdown_Hook) [ ServiceDispatcher.java:184:INFO ] De-Registering dispatcher: CmsSite 2010-02-08 17:10:46,093 (OFBiz_Shutdown_Hook) [ ServiceDispatcher.java:184:INFO ] De-Registering dispatcher: googlebase 2010-02-08 17:10:46,093 (OFBiz_Shutdown_Hook) [ ServiceDispatcher.java:184:INFO ] De-Registering dispatcher: myportal 2010-02-08 17:10:46,093 (OFBiz_Shutdown_Hook) [ ServiceDispatcher.java:184:INFO ] De-Registering dispatcher: order 2010-02-08 17:10:46,109 (OFBiz_Shutdown_Hook) [ ServiceDispatcher.java:184:INFO ] De-Registering dispatcher: RMIDispatcher 2010-02-08 17:10:46,218 (org.ofbiz.service.job.JobPoller@fd14be) [ GenericDispa tcher.java:61 :INFO ] Creating new dispatcher [JobDispatcher] (org.ofbiz.service .job.JobPoller@fd14be) 2010-02-08 17:10:46,812 (default-invoker-Thread-8) [ JobInvoker.java:231 :INFO ] Invoker [default-invoker-Thread-8] received job [Auto-create Fixed Asset Maintenances] from poller [org.ofbiz.service.job.JobPoller@fd14be] 2010-02-08 17:10:46,859 (default-invoker-Thread-7) [ JobInvoker.java:231 :INFO ] Invoker [default-invoker-Thread-7] received job [Send Email] from poller [org.ofbiz.service.job.JobPoller@fd14be] 2010-02-08 17:10:46,859 (default-invoker-Thread-9) [ JobInvoker.java:231 :INFO ] Invoker [default-invoker-Thread-9] received job [Auto-create Fixed Asset Maintenances] from poller [org.ofbiz.service.job.JobPoller@fd14be] 2010-02-08 17:10:46,859 (default-invoker-Thread-11) [ JobInvoker.java:23 1:INFO ] Invoker [default-invoker-Thread-11] received job [Send Email] from poll er [org.ofbiz.service.job.JobPoller@fd14be] 2010-02-08 17:10:46,859 (default-invoker-Thread-10) [ JobInvoker.java:23 1:INFO ] Invoker [default-invoker-Thread-10] received job [Send Email] from poll er [org.ofbiz.service.job.JobPoller@fd14be] Thanks In Advance. Thanks & regards Gagan Ubi Mobile +919425348185
Thanks & regards
Gagan Ubi gagan.ubi@gmail.com +919425348185 |
use
java -Xmx256M -jar ofbiz.jar instead java -Xms128M -Xmx512M -jar ofbiz.jar GAGAN UBI wrote: > Hi every1, > > > > I m newbie to ofbiz. I had downloaded ofbiz 9.4 release. > > Below is my system configuration > > > Windows xp with 3 GB RAM. > > JDK1.6 installed. > > ANT1.7 installed. > > > > When I run the below command. > > > > ant run-install > > > > it works fine. But when I try to start the application with below command. > > > > java -Xms128M -Xmx512M -jar ofbiz.jar > > > > It gives me below ERROR > > > > gan/workspace/opensource/offbiz/ofbiz%209.4/applications/party/webapp/partym > gr/W > > EB-INF/controller.xml > > 2010-02-08 17:10:43,343 (main) [ ConfigXMLReader.java:118:INFO ] > controller l > > oaded: 0.0s, 1667 requests, 623 views in > file:/C:/Documents%20and%20Settings/Gag > > an/workspace/opensource/offbiz/ofbiz%209.4/specialpurpose/projectmgr/webapp/ > proj > > ectmgr/WEB-INF/controller.xml > > 2010-02-08 17:10:43,343 (main) [ ConfigXMLReader.java:118:INFO ] > controller l > > oaded: 0.078s, 1687 requests, 629 views in > jndi:/0.0.0.0/myportal/WEB-INF/contro > > ller.xml > > 2010-02-08 17:10:43,796 (main) [ GenericDispatcher.java:61 :INFO ] Creating > new > > dispatcher [order] (main) > > 2010-02-08 17:10:43,796 (main) [ ControlServlet.java:65 :INFO ] LOADING > WEBA > > PP [ordermgr] Open For Business - Order Manager, located at C:\Documents and > Set > > tings\Gagan\workspace\opensource\offbiz\ofbiz > 9.4\applications\order\webapp\orde > > rmgr\ > > 2010-02-08 17:10:43,828 (main) [ ConfigXMLReader.java:118:INFO ] > controller l > > oaded: 0.0s, 17 requests, 13 views in > file:/C:/Documents%20and%20Settings/Gagan/ > > workspace/opensource/offbiz/ofbiz%209.4/framework/common/webcommon/WEB-INF/c > ommo > > n-controller.xml > > 2010-02-08 17:10:43,843 (main) [ ConfigXMLReader.java:118:INFO ] > controller l > > oaded: 0.015s, 321 requests, 141 views in > jndi:/0.0.0.0/ordermgr/WEB-INF/control > > ler.xml > > 2010-02-08 17:10:45,140 (main) [ ChannelSocket.java:377:INFO ] Port > busy 80 > > 09 java.net.BindException: Address already in use: JVM_Bind > > 2010-02-08 17:10:45,140 (main) [ ChannelSocket.java:387:INFO ] JK: > ajp13 li > > stening on /0.0.0.0:8010 > > 2010-02-08 17:10:45,218 (main) [ JkMain.java:344:INFO ] Jk > running I > > D=1 time=0/125 config=null > > 2010-02-08 17:10:45,406 (main) [ Http11Protocol.java:209:INFO ] Starting > Coy > > ote HTTP/1.1 on http-0.0.0.0-8080 > > 2010-02-08 17:10:45,468 (main) [ Http11Protocol.java:209:INFO ] Starting > Coy > > ote HTTP/1.1 on http-0.0.0.0-8443 > > 2010-02-08 17:10:45,515 (main) [ CatalinaContainer.java:236:INFO ] > Connector AJ > > P/1.3 @ 8009 - not-secure [org.apache.jk.server.JkCoyoteHandler] started. > > 2010-02-08 17:10:45,515 (main) [ CatalinaContainer.java:233:INFO ] > Connector nu > > ll @ 8080 - not-secure [org.apache.coyote.http11.Http11Protocol] started. > > 2010-02-08 17:10:45,515 (main) [ CatalinaContainer.java:233:INFO ] > Connector nu > > ll @ 8443 - secure [org.apache.coyote.http11.Http11Protocol] started. > > 2010-02-08 17:10:45,515 (main) [ CatalinaContainer.java:240:INFO ] Started > Apac > > he Tomcat/6.0.16 > > java.net.BindException: Address already in use: JVM_Bind > > at java.net.PlainSocketImpl.socketBind(Native Method) > > at java.net.PlainSocketImpl.bind(Unknown Source) > > at java.net.ServerSocket.bind(Unknown Source) > > at java.net.ServerSocket.<init>(Unknown Source) > > at java.net.ServerSocket.<init>(Unknown Source) > > at bsh.util.Httpd.<init>(Unknown Source) > > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > > > > at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown > Source) > > > > at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown > Sou > > rce) > > at java.lang.reflect.Constructor.newInstance(Unknown Source) > > at bsh.Reflect.constructObject(Unknown Source) > > at bsh.BSHAllocationExpression.constructObject(Unknown Source) > > at bsh.BSHAllocationExpression.objectAllocation(Unknown Source) > > at bsh.BSHAllocationExpression.eval(Unknown Source) > > at bsh.BSHPrimaryExpression.eval(Unknown Source) > > at bsh.BSHPrimaryExpression.eval(Unknown Source) > > at bsh.BSHArguments.getArguments(Unknown Source) > > at bsh.BSHAllocationExpression.objectAllocation(Unknown Source) > > at bsh.BSHAllocationExpression.eval(Unknown Source) > > at bsh.BSHPrimarySuffix.doSuffix(Unknown Source) > > at bsh.BSHPrimaryExpression.eval(Unknown Source) > > at bsh.BSHPrimaryExpression.eval(Unknown Source) > > at bsh.BSHBlock.evalBlock(Unknown Source) > > at bsh.BSHBlock.eval(Unknown Source) > > at bsh.BshMethod.invokeImpl(Unknown Source) > > at bsh.BshMethod.invoke(Unknown Source) > > at bsh.BshMethod.invoke(Unknown Source) > > at bsh.Name.invokeLocalMethod(Unknown Source) > > at bsh.Name.invokeMethod(Unknown Source) > > at bsh.BSHMethodInvocation.eval(Unknown Source) > > at bsh.BSHPrimaryExpression.eval(Unknown Source) > > at bsh.BSHPrimaryExpression.eval(Unknown Source) > > at bsh.Interpreter.evalParsedScript(Unknown Source) > > at bsh.Interpreter.eval(Unknown Source) > > at bsh.Interpreter.eval(Unknown Source) > > at bsh.Interpreter.eval(Unknown Source) > > at > org.ofbiz.base.container.BeanShellContainer.start(BeanShellContainer. > > java:95) > > at > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:1 > > 01) > > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > at org.ofbiz.base.start.Start.startServer(Start.java:312) > > at org.ofbiz.base.start.Start.start(Start.java:316) > > at org.ofbiz.base.start.Start.main(Start.java:399) > > org.ofbiz.base.start.StartupException: Cannot start() > org.ofbiz.base.container.B > > eanShellContainer (Sourced file: inline evaluation of: ``server(portnum);'' > : Ob > > ject constructor : at Line: 11 : in file: /bsh/commands/server.bsh : new > Httpd ( > > port ) > > > > Called from method: server : at Line: 1 : in file: inline evaluation of: > ``serve > > r(portnum);'' : server ( portnum ) > > Target exception: java.net.BindException: Address already in use: JVM_Bind > > (Sourced file: inline evaluation of: ``server(portnum);'' : Object > constructor) > > ) > > at > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:1 > > 03) > > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > at org.ofbiz.base.start.Start.startServer(Start.java:312) > > at org.ofbiz.base.start.Start.start(Start.java:316) > > at org.ofbiz.base.start.Start.main(Start.java:399) > > org.ofbiz.base.container.ContainerException: Sourced file: inline evaluation > of: > > ``server(portnum);'' : Object constructor : at Line: 11 : in file: > /bsh/command > > s/server.bsh : new Httpd ( port ) > > > > Called from method: server : at Line: 1 : in file: inline evaluation of: > ``serve > > r(portnum);'' : server ( portnum ) > > Target exception: java.net.BindException: Address already in use: JVM_Bind > > (Sourced file: inline evaluation of: ``server(portnum);'' : Object > constructor) > > > > at > org.ofbiz.base.container.BeanShellContainer.start(BeanShellContainer. > > java:97) > > at > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:1 > > 01) > > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > at org.ofbiz.base.start.Start.startServer(Start.java:312) > > at org.ofbiz.base.start.Start.start(Start.java:316) > > at org.ofbiz.base.start.Start.main(Start.java:399) > > Caused by: Sourced file: inline evaluation of: ``server(portnum);'' : Object > con > > structor : at Line: 11 : in file: /bsh/commands/server.bsh : new Httpd ( > port ) > > > > > > Called from method: server : at Line: 1 : in file: inline evaluation of: > ``serve > > r(portnum);'' : server ( portnum ) > > Target exception: java.net.BindException: Address already in use: JVM_Bind > > > > at bsh.BSHAllocationExpression.constructObject(Unknown Source) > > at bsh.BSHAllocationExpression.objectAllocation(Unknown Source) > > at bsh.BSHAllocationExpression.eval(Unknown Source) > > at bsh.BSHPrimaryExpression.eval(Unknown Source) > > at bsh.BSHPrimaryExpression.eval(Unknown Source) > > at bsh.BSHArguments.getArguments(Unknown Source) > > at bsh.BSHAllocationExpression.objectAllocation(Unknown Source) > > at bsh.BSHAllocationExpression.eval(Unknown Source) > > at bsh.BSHPrimarySuffix.doSuffix(Unknown Source) > > at bsh.BSHPrimaryExpression.eval(Unknown Source) > > at bsh.BSHPrimaryExpression.eval(Unknown Source) > > at bsh.BSHBlock.evalBlock(Unknown Source) > > at bsh.BSHBlock.eval(Unknown Source) > > at bsh.BshMethod.invokeImpl(Unknown Source) > > at bsh.BshMethod.invoke(Unknown Source) > > at bsh.BshMethod.invoke(Unknown Source) > > at bsh.Name.invokeLocalMethod(Unknown Source) > > at bsh.Name.invokeMethod(Unknown Source) > > at bsh.BSHMethodInvocation.eval(Unknown Source) > > at bsh.BSHPrimaryExpression.eval(Unknown Source) > > at bsh.BSHPrimaryExpression.eval(Unknown Source) > > at bsh.Interpreter.evalParsedScript(Unknown Source) > > at bsh.Interpreter.eval(Unknown Source) > > at bsh.Interpreter.eval(Unknown Source) > > at bsh.Interpreter.eval(Unknown Source) > > at > org.ofbiz.base.container.BeanShellContainer.start(BeanShellContainer. > > java:95) > > ... 5 more > > org.ofbiz.base.container.ContainerException: Sourced file: inline evaluation > of: > > ``server(portnum);'' : Object constructor : at Line: 11 : in file: > /bsh/command > > s/server.bsh : new Httpd ( port ) > > > > Called from method: server : at Line: 1 : in file: inline evaluation of: > ``serve > > r(portnum);'' : server ( portnum ) > > Target exception: java.net.BindException: Address already in use: JVM_Bind > > (Sourced file: inline evaluation of: ``server(portnum);'' : Object > constructor) > > > > at > org.ofbiz.base.container.BeanShellContainer.start(BeanShellContainer. > > java:97) > > at > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:1 > > 01) > > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) > > at org.ofbiz.base.start.Start.startServer(Start.java:312) > > at org.ofbiz.base.start.Start.start(Start.java:316) > > at org.ofbiz.base.start.Start.main(Start.java:399) > > Caused by: Sourced file: inline evaluation of: ``server(portnum);'' : Object > con > > structor : at Line: 11 : in file: /bsh/commands/server.bsh : new Httpd ( > port ) > > > > > > Called from method: server : at Line: 1 : in file: inline evaluation of: > ``serve > > r(portnum);'' : server ( portnum ) > > Target exception: java.net.BindException: Address already in use: JVM_Bind > > > > at bsh.BSHAllocationExpression.constructObject(Unknown Source) > > at bsh.BSHAllocationExpression.objectAllocation(Unknown Source) > > at bsh.BSHAllocationExpression.eval(Unknown Source) > > at bsh.BSHPrimaryExpression.eval(Unknown Source) > > at bsh.BSHPrimaryExpression.eval(Unknown Source) > > at bsh.BSHArguments.getArguments(Unknown Source) > > at bsh.BSHAllocationExpression.objectAllocation(Unknown Source) > > at bsh.BSHAllocationExpression.eval(Unknown Source) > > at bsh.BSHPrimarySuffix.doSuffix(Unknown Source) > > at bsh.BSHPrimaryExpression.eval(Unknown Source) > > at bsh.BSHPrimaryExpression.eval(Unknown Source) > > at bsh.BSHBlock.evalBlock(Unknown Source) > > at bsh.BSHBlock.eval(Unknown Source) > > at bsh.BshMethod.invokeImpl(Unknown Source) > > at bsh.BshMethod.invoke(Unknown Source) > > at bsh.BshMethod.invoke(Unknown Source) > > at bsh.Name.invokeLocalMethod(Unknown Source) > > at bsh.Name.invokeMethod(Unknown Source) > > at bsh.BSHMethodInvocation.eval(Unknown Source) > > at bsh.BSHPrimaryExpression.eval(Unknown Source) > > at bsh.BSHPrimaryExpression.eval(Unknown Source) > > at bsh.Interpreter.evalParsedScript(Unknown Source) > > at bsh.Interpreter.eval(Unknown Source) > > at bsh.Interpreter.eval(Unknown Source) > > at bsh.Interpreter.eval(Unknown Source) > > at > org.ofbiz.base.container.BeanShellContainer.start(BeanShellContainer. > > java:95) > > ... 5 more > > 2010-02-08 17:10:45,906 (OFBiz_Shutdown_Hook) [ > ContainerLoader.java:114:INFO > > ] Shutting down containers > > 2010-02-08 17:10:45,906 (OFBiz_Shutdown_Hook) [ > Http11Protocol.java:236:INFO > > ] Stopping Coyote HTTP/1.1 on http-0.0.0.0-8080 > > 2010-02-08 17:10:45,921 (OFBiz_Shutdown_Hook) [ > Http11Protocol.java:236:INFO > > ] Stopping Coyote HTTP/1.1 on http-0.0.0.0-8443 > > 2010-02-08 17:10:45,921 (OFBiz_Shutdown_Hook) [ > ServiceDispatcher.java:184:INFO > > ] De-Registering dispatcher: oagismgr > > 2010-02-08 17:10:45,937 (OFBiz_Shutdown_Hook) [ > ServiceDispatcher.java:184:INFO > > ] De-Registering dispatcher: facility > > 2010-02-08 17:10:45,937 (OFBiz_Shutdown_Hook) [ > ServiceDispatcher.java:184:INFO > > ] De-Registering dispatcher: accounting > > 2010-02-08 17:10:45,937 (OFBiz_Shutdown_Hook) [ > ServiceDispatcher.java:184:INFO > > ] De-Registering dispatcher: assetmaint > > 2010-02-08 17:10:45,953 (OFBiz_Shutdown_Hook) [ > ServiceDispatcher.java:184:INFO > > ] De-Registering dispatcher: OfbizSite > > 2010-02-08 17:10:45,953 (OFBiz_Shutdown_Hook) [ > ServiceDispatcher.java:184:INFO > > ] De-Registering dispatcher: hhfacility > > 2010-02-08 17:10:45,953 (OFBiz_Shutdown_Hook) [ > ServiceDispatcher.java:184:INFO > > ] De-Registering dispatcher: manufacturing > > 2010-02-08 17:10:45,968 (OFBiz_Shutdown_Hook) [ > ServiceDispatcher.java:184:INFO > > ] De-Registering dispatcher: bi > > 2010-02-08 17:10:45,968 (OFBiz_Shutdown_Hook) [ > ServiceDispatcher.java:184:INFO > > ] De-Registering dispatcher: webpos > > 2010-02-08 17:10:45,968 (OFBiz_Shutdown_Hook) [ > ServiceDispatcher.java:184:INFO > > ] De-Registering dispatcher: workeffort > > 2010-02-08 17:10:45,984 (OFBiz_Shutdown_Hook) [ > ServiceDispatcher.java:184:INFO > > ] De-Registering dispatcher: ecommerce > > 2010-02-08 17:10:45,984 (OFBiz_Shutdown_Hook) [ > ServiceDispatcher.java:184:INFO > > ] De-Registering dispatcher: catalog > > 2010-02-08 17:10:46,000 (OFBiz_Shutdown_Hook) [ > ServiceDispatcher.java:184:INFO > > ] De-Registering dispatcher: sfa > > 2010-02-08 17:10:46,000 (OFBiz_Shutdown_Hook) [ > ServiceDispatcher.java:184:INFO > > ] De-Registering dispatcher: ar > > 2010-02-08 17:10:46,000 (OFBiz_Shutdown_Hook) [ > ServiceDispatcher.java:184:INFO > > ] De-Registering dispatcher: example > > 2010-02-08 17:10:46,015 (OFBiz_Shutdown_Hook) [ > ServiceDispatcher.java:184:INFO > > ] De-Registering dispatcher: marketing > > 2010-02-08 17:10:46,031 (OFBiz_Shutdown_Hook) [ > ServiceDispatcher.java:184:INFO > > ] De-Registering dispatcher: partymgr > > 2010-02-08 17:10:46,031 (OFBiz_Shutdown_Hook) [ > ServiceDispatcher.java:184:INFO > > ] De-Registering dispatcher: Humanres > > 2010-02-08 17:10:46,031 (OFBiz_Shutdown_Hook) [ > ServiceDispatcher.java:184:INFO > > ] De-Registering dispatcher: content > > 2010-02-08 17:10:46,031 (OFBiz_Shutdown_Hook) [ > ServiceDispatcher.java:184:INFO > > ] De-Registering dispatcher: ebay > > 2010-02-08 17:10:46,046 (OFBiz_Shutdown_Hook) [ > ServiceDispatcher.java:184:INFO > > ] De-Registering dispatcher: ap > > 2010-02-08 17:10:46,046 (OFBiz_Shutdown_Hook) [ > ServiceDispatcher.java:184:INFO > > ] De-Registering dispatcher: ecommerce > > 2010-02-08 17:10:46,046 (OFBiz_Shutdown_Hook) [ > ServiceDispatcher.java:184:INFO > > ] De-Registering dispatcher: projectmgr > > 2010-02-08 17:10:46,062 (OFBiz_Shutdown_Hook) [ > ServiceDispatcher.java:184:INFO > > ] De-Registering dispatcher: exampleext > > 2010-02-08 17:10:46,078 (OFBiz_Shutdown_Hook) [ > ServiceDispatcher.java:184:INFO > > ] De-Registering dispatcher: ismgr > > 2010-02-08 17:10:46,078 (OFBiz_Shutdown_Hook) [ > ServiceDispatcher.java:184:INFO > > ] De-Registering dispatcher: webtools > > 2010-02-08 17:10:46,078 (OFBiz_Shutdown_Hook) [ > ServiceDispatcher.java:184:INFO > > ] De-Registering dispatcher: ical > > 2010-02-08 17:10:46,093 (OFBiz_Shutdown_Hook) [ > ServiceDispatcher.java:184:INFO > > ] De-Registering dispatcher: CmsSite > > 2010-02-08 17:10:46,093 (OFBiz_Shutdown_Hook) [ > ServiceDispatcher.java:184:INFO > > ] De-Registering dispatcher: googlebase > > 2010-02-08 17:10:46,093 (OFBiz_Shutdown_Hook) [ > ServiceDispatcher.java:184:INFO > > ] De-Registering dispatcher: myportal > > 2010-02-08 17:10:46,093 (OFBiz_Shutdown_Hook) [ > ServiceDispatcher.java:184:INFO > > ] De-Registering dispatcher: order > > 2010-02-08 17:10:46,109 (OFBiz_Shutdown_Hook) [ > ServiceDispatcher.java:184:INFO > > ] De-Registering dispatcher: RMIDispatcher > > 2010-02-08 17:10:46,218 (org.ofbiz.service.job.JobPoller@fd14be) [ > GenericDispa > > tcher.java:61 :INFO ] Creating new dispatcher [JobDispatcher] > (org.ofbiz.service > > .job.JobPoller@fd14be) > > 2010-02-08 17:10:46,812 (default-invoker-Thread-8) [ > JobInvoker.java:231 > > :INFO ] Invoker [default-invoker-Thread-8] received job [Auto-create Fixed > Asset > > Maintenances] from poller [org.ofbiz.service.job.JobPoller@fd14be] > > 2010-02-08 17:10:46,859 (default-invoker-Thread-7) [ > JobInvoker.java:231 > > :INFO ] Invoker [default-invoker-Thread-7] received job [Send Email] from > poller > > [org.ofbiz.service.job.JobPoller@fd14be] > > 2010-02-08 17:10:46,859 (default-invoker-Thread-9) [ > JobInvoker.java:231 > > :INFO ] Invoker [default-invoker-Thread-9] received job [Auto-create Fixed > Asset > > Maintenances] from poller [org.ofbiz.service.job.JobPoller@fd14be] > > 2010-02-08 17:10:46,859 (default-invoker-Thread-11) [ > JobInvoker.java:23 > > 1:INFO ] Invoker [default-invoker-Thread-11] received job [Send Email] from > poll > > er [org.ofbiz.service.job.JobPoller@fd14be] > > 2010-02-08 17:10:46,859 (default-invoker-Thread-10) [ > JobInvoker.java:23 > > 1:INFO ] Invoker [default-invoker-Thread-10] received job [Send Email] from > poll > > er [org.ofbiz.service.job.JobPoller@fd14be] > > > > > > Thanks In Advance. > > > > Thanks & regards > > Gagan Ubi > > Mobile +919425348185 > > > > > |
In reply to this post by gaganjava
From the log it appears that your jvm port is already in use. I don't
know how to release port in Windows. But if you would restart your machine then you will not see this error. The command that you are using is correct. -- Ashish Vijaywargiya http://www.saveourtigers.com On Mon, Feb 8, 2010 at 5:28 PM, GAGAN UBI <[hidden email]> wrote: > Hi every1, > > > > I m newbie to ofbiz. I had downloaded ofbiz 9.4 release. > > Below is my system configuration > > > Windows xp with 3 GB RAM. > > JDK1.6 installed. > > ANT1.7 installed. > > > > When I run the below command. > > > > ant run-install > > > > > > |
In reply to this post by Shubham Dubey
Hi Gagan,
Your server is already running on the port you are using, so kill the process of that port and restart the server. Thanks and Regards Santosh Malviya On Mon, Feb 8, 2010 at 5:31 PM, Shubham Dubey <[hidden email] > wrote: > use > java -Xmx256M -jar ofbiz.jar > > instead > > java -Xms128M -Xmx512M -jar ofbiz.jar > > > > GAGAN UBI wrote: > >> Hi every1, >> >> >> I m newbie to ofbiz. I had downloaded ofbiz 9.4 release. >> >> Below is my system configuration >> >> >> Windows xp with 3 GB RAM. >> >> JDK1.6 installed. >> >> ANT1.7 installed. >> >> >> When I run the below command. >> >> >> ant run-install >> >> >> it works fine. But when I try to start the application with below command. >> >> >> java -Xms128M -Xmx512M -jar ofbiz.jar >> >> >> It gives me below ERROR >> >> >> >> gan/workspace/opensource/offbiz/ofbiz%209.4/applications/party/webapp/partym >> gr/W >> >> EB-INF/controller.xml >> >> 2010-02-08 17:10:43,343 (main) [ ConfigXMLReader.java:118:INFO ] >> controller l >> >> oaded: 0.0s, 1667 requests, 623 views in >> file:/C:/Documents%20and%20Settings/Gag >> >> >> an/workspace/opensource/offbiz/ofbiz%209.4/specialpurpose/projectmgr/webapp/ >> proj >> >> ectmgr/WEB-INF/controller.xml >> >> 2010-02-08 17:10:43,343 (main) [ ConfigXMLReader.java:118:INFO ] >> controller l >> >> oaded: 0.078s, 1687 requests, 629 views in >> jndi:/0.0.0.0/myportal/WEB-INF/contro >> >> ller.xml >> >> 2010-02-08 17:10:43,796 (main) [ GenericDispatcher.java:61 :INFO ] >> Creating >> new >> >> dispatcher [order] (main) >> >> 2010-02-08 17:10:43,796 (main) [ ControlServlet.java:65 :INFO ] >> LOADING >> WEBA >> >> PP [ordermgr] Open For Business - Order Manager, located at C:\Documents >> and >> Set >> >> tings\Gagan\workspace\opensource\offbiz\ofbiz >> 9.4\applications\order\webapp\orde >> >> rmgr\ >> >> 2010-02-08 17:10:43,828 (main) [ ConfigXMLReader.java:118:INFO ] >> controller l >> >> oaded: 0.0s, 17 requests, 13 views in >> file:/C:/Documents%20and%20Settings/Gagan/ >> >> >> workspace/opensource/offbiz/ofbiz%209.4/framework/common/webcommon/WEB-INF/c >> ommo >> >> n-controller.xml >> >> 2010-02-08 17:10:43,843 (main) [ ConfigXMLReader.java:118:INFO ] >> controller l >> >> oaded: 0.015s, 321 requests, 141 views in >> jndi:/0.0.0.0/ordermgr/WEB-INF/control >> >> ler.xml >> >> 2010-02-08 17:10:45,140 (main) [ ChannelSocket.java:377:INFO ] Port >> busy 80 >> >> 09 java.net.BindException: Address already in use: JVM_Bind >> >> 2010-02-08 17:10:45,140 (main) [ ChannelSocket.java:387:INFO ] JK: >> ajp13 li >> >> stening on /0.0.0.0:8010 >> >> 2010-02-08 17:10:45,218 (main) [ JkMain.java:344:INFO ] Jk >> running I >> >> D=1 time=0/125 config=null >> >> 2010-02-08 17:10:45,406 (main) [ Http11Protocol.java:209:INFO ] >> Starting >> Coy >> >> ote HTTP/1.1 on http-0.0.0.0-8080 >> >> 2010-02-08 17:10:45,468 (main) [ Http11Protocol.java:209:INFO ] >> Starting >> Coy >> >> ote HTTP/1.1 on http-0.0.0.0-8443 >> >> 2010-02-08 17:10:45,515 (main) [ CatalinaContainer.java:236:INFO ] >> Connector AJ >> >> P/1.3 @ 8009 - not-secure [org.apache.jk.server.JkCoyoteHandler] started. >> >> 2010-02-08 17:10:45,515 (main) [ CatalinaContainer.java:233:INFO ] >> Connector nu >> >> ll @ 8080 - not-secure [org.apache.coyote.http11.Http11Protocol] started. >> >> 2010-02-08 17:10:45,515 (main) [ CatalinaContainer.java:233:INFO ] >> Connector nu >> >> ll @ 8443 - secure [org.apache.coyote.http11.Http11Protocol] started. >> >> 2010-02-08 17:10:45,515 (main) [ CatalinaContainer.java:240:INFO ] >> Started >> Apac >> >> he Tomcat/6.0.16 >> >> java.net.BindException: Address already in use: JVM_Bind >> >> at java.net.PlainSocketImpl.socketBind(Native Method) >> >> at java.net.PlainSocketImpl.bind(Unknown Source) >> >> at java.net.ServerSocket.bind(Unknown Source) >> >> at java.net.ServerSocket.<init>(Unknown Source) >> >> at java.net.ServerSocket.<init>(Unknown Source) >> >> at bsh.util.Httpd.<init>(Unknown Source) >> >> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native >> Method) >> >> >> at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown >> Source) >> >> >> at >> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown >> Sou >> >> rce) >> >> at java.lang.reflect.Constructor.newInstance(Unknown Source) >> >> at bsh.Reflect.constructObject(Unknown Source) >> >> at bsh.BSHAllocationExpression.constructObject(Unknown Source) >> >> at bsh.BSHAllocationExpression.objectAllocation(Unknown Source) >> >> at bsh.BSHAllocationExpression.eval(Unknown Source) >> >> at bsh.BSHPrimaryExpression.eval(Unknown Source) >> >> at bsh.BSHPrimaryExpression.eval(Unknown Source) >> >> at bsh.BSHArguments.getArguments(Unknown Source) >> >> at bsh.BSHAllocationExpression.objectAllocation(Unknown Source) >> >> at bsh.BSHAllocationExpression.eval(Unknown Source) >> >> at bsh.BSHPrimarySuffix.doSuffix(Unknown Source) >> >> at bsh.BSHPrimaryExpression.eval(Unknown Source) >> >> at bsh.BSHPrimaryExpression.eval(Unknown Source) >> >> at bsh.BSHBlock.evalBlock(Unknown Source) >> >> at bsh.BSHBlock.eval(Unknown Source) >> >> at bsh.BshMethod.invokeImpl(Unknown Source) >> >> at bsh.BshMethod.invoke(Unknown Source) >> >> at bsh.BshMethod.invoke(Unknown Source) >> >> at bsh.Name.invokeLocalMethod(Unknown Source) >> >> at bsh.Name.invokeMethod(Unknown Source) >> >> at bsh.BSHMethodInvocation.eval(Unknown Source) >> >> at bsh.BSHPrimaryExpression.eval(Unknown Source) >> >> at bsh.BSHPrimaryExpression.eval(Unknown Source) >> >> at bsh.Interpreter.evalParsedScript(Unknown Source) >> >> at bsh.Interpreter.eval(Unknown Source) >> >> at bsh.Interpreter.eval(Unknown Source) >> >> at bsh.Interpreter.eval(Unknown Source) >> >> at >> org.ofbiz.base.container.BeanShellContainer.start(BeanShellContainer. >> >> java:95) >> >> at >> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:1 >> >> 01) >> >> at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) >> >> at org.ofbiz.base.start.Start.startServer(Start.java:312) >> >> at org.ofbiz.base.start.Start.start(Start.java:316) >> >> at org.ofbiz.base.start.Start.main(Start.java:399) >> >> org.ofbiz.base.start.StartupException: Cannot start() >> org.ofbiz.base.container.B >> >> eanShellContainer (Sourced file: inline evaluation of: >> ``server(portnum);'' >> : Ob >> >> ject constructor : at Line: 11 : in file: /bsh/commands/server.bsh : new >> Httpd ( >> >> port ) >> >> >> Called from method: server : at Line: 1 : in file: inline evaluation of: >> ``serve >> >> r(portnum);'' : server ( portnum ) >> >> Target exception: java.net.BindException: Address already in use: JVM_Bind >> >> (Sourced file: inline evaluation of: ``server(portnum);'' : Object >> constructor) >> >> ) >> >> at >> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:1 >> >> 03) >> >> at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) >> >> at org.ofbiz.base.start.Start.startServer(Start.java:312) >> >> at org.ofbiz.base.start.Start.start(Start.java:316) >> >> at org.ofbiz.base.start.Start.main(Start.java:399) >> >> org.ofbiz.base.container.ContainerException: Sourced file: inline >> evaluation >> of: >> >> ``server(portnum);'' : Object constructor : at Line: 11 : in file: >> /bsh/command >> >> s/server.bsh : new Httpd ( port ) >> >> >> Called from method: server : at Line: 1 : in file: inline evaluation of: >> ``serve >> >> r(portnum);'' : server ( portnum ) >> >> Target exception: java.net.BindException: Address already in use: JVM_Bind >> >> (Sourced file: inline evaluation of: ``server(portnum);'' : Object >> constructor) >> >> >> at >> org.ofbiz.base.container.BeanShellContainer.start(BeanShellContainer. >> >> java:97) >> >> at >> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:1 >> >> 01) >> >> at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) >> >> at org.ofbiz.base.start.Start.startServer(Start.java:312) >> >> at org.ofbiz.base.start.Start.start(Start.java:316) >> >> at org.ofbiz.base.start.Start.main(Start.java:399) >> >> Caused by: Sourced file: inline evaluation of: ``server(portnum);'' : >> Object >> con >> >> structor : at Line: 11 : in file: /bsh/commands/server.bsh : new Httpd ( >> port ) >> >> >> >> Called from method: server : at Line: 1 : in file: inline evaluation of: >> ``serve >> >> r(portnum);'' : server ( portnum ) >> >> Target exception: java.net.BindException: Address already in use: JVM_Bind >> >> >> at bsh.BSHAllocationExpression.constructObject(Unknown Source) >> >> at bsh.BSHAllocationExpression.objectAllocation(Unknown Source) >> >> at bsh.BSHAllocationExpression.eval(Unknown Source) >> >> at bsh.BSHPrimaryExpression.eval(Unknown Source) >> >> at bsh.BSHPrimaryExpression.eval(Unknown Source) >> >> at bsh.BSHArguments.getArguments(Unknown Source) >> >> at bsh.BSHAllocationExpression.objectAllocation(Unknown Source) >> >> at bsh.BSHAllocationExpression.eval(Unknown Source) >> >> at bsh.BSHPrimarySuffix.doSuffix(Unknown Source) >> >> at bsh.BSHPrimaryExpression.eval(Unknown Source) >> >> at bsh.BSHPrimaryExpression.eval(Unknown Source) >> >> at bsh.BSHBlock.evalBlock(Unknown Source) >> >> at bsh.BSHBlock.eval(Unknown Source) >> >> at bsh.BshMethod.invokeImpl(Unknown Source) >> >> at bsh.BshMethod.invoke(Unknown Source) >> >> at bsh.BshMethod.invoke(Unknown Source) >> >> at bsh.Name.invokeLocalMethod(Unknown Source) >> >> at bsh.Name.invokeMethod(Unknown Source) >> >> at bsh.BSHMethodInvocation.eval(Unknown Source) >> >> at bsh.BSHPrimaryExpression.eval(Unknown Source) >> >> at bsh.BSHPrimaryExpression.eval(Unknown Source) >> >> at bsh.Interpreter.evalParsedScript(Unknown Source) >> >> at bsh.Interpreter.eval(Unknown Source) >> >> at bsh.Interpreter.eval(Unknown Source) >> >> at bsh.Interpreter.eval(Unknown Source) >> >> at >> org.ofbiz.base.container.BeanShellContainer.start(BeanShellContainer. >> >> java:95) >> >> ... 5 more >> >> org.ofbiz.base.container.ContainerException: Sourced file: inline >> evaluation >> of: >> >> ``server(portnum);'' : Object constructor : at Line: 11 : in file: >> /bsh/command >> >> s/server.bsh : new Httpd ( port ) >> >> >> Called from method: server : at Line: 1 : in file: inline evaluation of: >> ``serve >> >> r(portnum);'' : server ( portnum ) >> >> Target exception: java.net.BindException: Address already in use: JVM_Bind >> >> (Sourced file: inline evaluation of: ``server(portnum);'' : Object >> constructor) >> >> >> at >> org.ofbiz.base.container.BeanShellContainer.start(BeanShellContainer. >> >> java:97) >> >> at >> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:1 >> >> 01) >> >> at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263) >> >> at org.ofbiz.base.start.Start.startServer(Start.java:312) >> >> at org.ofbiz.base.start.Start.start(Start.java:316) >> >> at org.ofbiz.base.start.Start.main(Start.java:399) >> >> Caused by: Sourced file: inline evaluation of: ``server(portnum);'' : >> Object >> con >> >> structor : at Line: 11 : in file: /bsh/commands/server.bsh : new Httpd ( >> port ) >> >> >> >> Called from method: server : at Line: 1 : in file: inline evaluation of: >> ``serve >> >> r(portnum);'' : server ( portnum ) >> >> Target exception: java.net.BindException: Address already in use: JVM_Bind >> >> >> at bsh.BSHAllocationExpression.constructObject(Unknown Source) >> >> at bsh.BSHAllocationExpression.objectAllocation(Unknown Source) >> >> at bsh.BSHAllocationExpression.eval(Unknown Source) >> >> at bsh.BSHPrimaryExpression.eval(Unknown Source) >> >> at bsh.BSHPrimaryExpression.eval(Unknown Source) >> >> at bsh.BSHArguments.getArguments(Unknown Source) >> >> at bsh.BSHAllocationExpression.objectAllocation(Unknown Source) >> >> at bsh.BSHAllocationExpression.eval(Unknown Source) >> >> at bsh.BSHPrimarySuffix.doSuffix(Unknown Source) >> >> at bsh.BSHPrimaryExpression.eval(Unknown Source) >> >> at bsh.BSHPrimaryExpression.eval(Unknown Source) >> >> at bsh.BSHBlock.evalBlock(Unknown Source) >> >> at bsh.BSHBlock.eval(Unknown Source) >> >> at bsh.BshMethod.invokeImpl(Unknown Source) >> >> at bsh.BshMethod.invoke(Unknown Source) >> >> at bsh.BshMethod.invoke(Unknown Source) >> >> at bsh.Name.invokeLocalMethod(Unknown Source) >> >> at bsh.Name.invokeMethod(Unknown Source) >> >> at bsh.BSHMethodInvocation.eval(Unknown Source) >> >> at bsh.BSHPrimaryExpression.eval(Unknown Source) >> >> at bsh.BSHPrimaryExpression.eval(Unknown Source) >> >> at bsh.Interpreter.evalParsedScript(Unknown Source) >> >> at bsh.Interpreter.eval(Unknown Source) >> >> at bsh.Interpreter.eval(Unknown Source) >> >> at bsh.Interpreter.eval(Unknown Source) >> >> at >> org.ofbiz.base.container.BeanShellContainer.start(BeanShellContainer. >> >> java:95) >> >> ... 5 more >> >> 2010-02-08 17:10:45,906 (OFBiz_Shutdown_Hook) [ >> ContainerLoader.java:114:INFO >> >> ] Shutting down containers >> >> 2010-02-08 17:10:45,906 (OFBiz_Shutdown_Hook) [ >> Http11Protocol.java:236:INFO >> >> ] Stopping Coyote HTTP/1.1 on http-0.0.0.0-8080 >> >> 2010-02-08 17:10:45,921 (OFBiz_Shutdown_Hook) [ >> Http11Protocol.java:236:INFO >> >> ] Stopping Coyote HTTP/1.1 on http-0.0.0.0-8443 >> >> 2010-02-08 17:10:45,921 (OFBiz_Shutdown_Hook) [ >> ServiceDispatcher.java:184:INFO >> >> ] De-Registering dispatcher: oagismgr >> >> 2010-02-08 17:10:45,937 (OFBiz_Shutdown_Hook) [ >> ServiceDispatcher.java:184:INFO >> >> ] De-Registering dispatcher: facility >> >> 2010-02-08 17:10:45,937 (OFBiz_Shutdown_Hook) [ >> ServiceDispatcher.java:184:INFO >> >> ] De-Registering dispatcher: accounting >> >> 2010-02-08 17:10:45,937 (OFBiz_Shutdown_Hook) [ >> ServiceDispatcher.java:184:INFO >> >> ] De-Registering dispatcher: assetmaint >> >> 2010-02-08 17:10:45,953 (OFBiz_Shutdown_Hook) [ >> ServiceDispatcher.java:184:INFO >> >> ] De-Registering dispatcher: OfbizSite >> >> 2010-02-08 17:10:45,953 (OFBiz_Shutdown_Hook) [ >> ServiceDispatcher.java:184:INFO >> >> ] De-Registering dispatcher: hhfacility >> >> 2010-02-08 17:10:45,953 (OFBiz_Shutdown_Hook) [ >> ServiceDispatcher.java:184:INFO >> >> ] De-Registering dispatcher: manufacturing >> >> 2010-02-08 17:10:45,968 (OFBiz_Shutdown_Hook) [ >> ServiceDispatcher.java:184:INFO >> >> ] De-Registering dispatcher: bi >> >> 2010-02-08 17:10:45,968 (OFBiz_Shutdown_Hook) [ >> ServiceDispatcher.java:184:INFO >> >> ] De-Registering dispatcher: webpos >> >> 2010-02-08 17:10:45,968 (OFBiz_Shutdown_Hook) [ >> ServiceDispatcher.java:184:INFO >> >> ] De-Registering dispatcher: workeffort >> >> 2010-02-08 17:10:45,984 (OFBiz_Shutdown_Hook) [ >> ServiceDispatcher.java:184:INFO >> >> ] De-Registering dispatcher: ecommerce >> >> 2010-02-08 17:10:45,984 (OFBiz_Shutdown_Hook) [ >> ServiceDispatcher.java:184:INFO >> >> ] De-Registering dispatcher: catalog >> >> 2010-02-08 17:10:46,000 (OFBiz_Shutdown_Hook) [ >> ServiceDispatcher.java:184:INFO >> >> ] De-Registering dispatcher: sfa >> >> 2010-02-08 17:10:46,000 (OFBiz_Shutdown_Hook) [ >> ServiceDispatcher.java:184:INFO >> >> ] De-Registering dispatcher: ar >> >> 2010-02-08 17:10:46,000 (OFBiz_Shutdown_Hook) [ >> ServiceDispatcher.java:184:INFO >> >> ] De-Registering dispatcher: example >> >> 2010-02-08 17:10:46,015 (OFBiz_Shutdown_Hook) [ >> ServiceDispatcher.java:184:INFO >> >> ] De-Registering dispatcher: marketing >> >> 2010-02-08 17:10:46,031 (OFBiz_Shutdown_Hook) [ >> ServiceDispatcher.java:184:INFO >> >> ] De-Registering dispatcher: partymgr >> >> 2010-02-08 17:10:46,031 (OFBiz_Shutdown_Hook) [ >> ServiceDispatcher.java:184:INFO >> >> ] De-Registering dispatcher: Humanres >> >> 2010-02-08 17:10:46,031 (OFBiz_Shutdown_Hook) [ >> ServiceDispatcher.java:184:INFO >> >> ] De-Registering dispatcher: content >> >> 2010-02-08 17:10:46,031 (OFBiz_Shutdown_Hook) [ >> ServiceDispatcher.java:184:INFO >> >> ] De-Registering dispatcher: ebay >> >> 2010-02-08 17:10:46,046 (OFBiz_Shutdown_Hook) [ >> ServiceDispatcher.java:184:INFO >> >> ] De-Registering dispatcher: ap >> >> 2010-02-08 17:10:46,046 (OFBiz_Shutdown_Hook) [ >> ServiceDispatcher.java:184:INFO >> >> ] De-Registering dispatcher: ecommerce >> >> 2010-02-08 17:10:46,046 (OFBiz_Shutdown_Hook) [ >> ServiceDispatcher.java:184:INFO >> >> ] De-Registering dispatcher: projectmgr >> >> 2010-02-08 17:10:46,062 (OFBiz_Shutdown_Hook) [ >> ServiceDispatcher.java:184:INFO >> >> ] De-Registering dispatcher: exampleext >> >> 2010-02-08 17:10:46,078 (OFBiz_Shutdown_Hook) [ >> ServiceDispatcher.java:184:INFO >> >> ] De-Registering dispatcher: ismgr >> >> 2010-02-08 17:10:46,078 (OFBiz_Shutdown_Hook) [ >> ServiceDispatcher.java:184:INFO >> >> ] De-Registering dispatcher: webtools >> >> 2010-02-08 17:10:46,078 (OFBiz_Shutdown_Hook) [ >> ServiceDispatcher.java:184:INFO >> >> ] De-Registering dispatcher: ical >> >> 2010-02-08 17:10:46,093 (OFBiz_Shutdown_Hook) [ >> ServiceDispatcher.java:184:INFO >> >> ] De-Registering dispatcher: CmsSite >> >> 2010-02-08 17:10:46,093 (OFBiz_Shutdown_Hook) [ >> ServiceDispatcher.java:184:INFO >> >> ] De-Registering dispatcher: googlebase >> >> 2010-02-08 17:10:46,093 (OFBiz_Shutdown_Hook) [ >> ServiceDispatcher.java:184:INFO >> >> ] De-Registering dispatcher: myportal >> >> 2010-02-08 17:10:46,093 (OFBiz_Shutdown_Hook) [ >> ServiceDispatcher.java:184:INFO >> >> ] De-Registering dispatcher: order >> >> 2010-02-08 17:10:46,109 (OFBiz_Shutdown_Hook) [ >> ServiceDispatcher.java:184:INFO >> >> ] De-Registering dispatcher: RMIDispatcher >> >> 2010-02-08 17:10:46,218 (org.ofbiz.service.job.JobPoller@fd14be) [ >> GenericDispa >> >> tcher.java:61 :INFO ] Creating new dispatcher [JobDispatcher] >> (org.ofbiz.service >> >> .job.JobPoller@fd14be) >> >> 2010-02-08 17:10:46,812 (default-invoker-Thread-8) [ >> JobInvoker.java:231 >> >> :INFO ] Invoker [default-invoker-Thread-8] received job [Auto-create Fixed >> Asset >> >> Maintenances] from poller [org.ofbiz.service.job.JobPoller@fd14be] >> >> 2010-02-08 17:10:46,859 (default-invoker-Thread-7) [ >> JobInvoker.java:231 >> >> :INFO ] Invoker [default-invoker-Thread-7] received job [Send Email] from >> poller >> >> [org.ofbiz.service.job.JobPoller@fd14be] >> >> 2010-02-08 17:10:46,859 (default-invoker-Thread-9) [ >> JobInvoker.java:231 >> >> :INFO ] Invoker [default-invoker-Thread-9] received job [Auto-create Fixed >> Asset >> >> Maintenances] from poller [org.ofbiz.service.job.JobPoller@fd14be] >> >> 2010-02-08 17:10:46,859 (default-invoker-Thread-11) [ >> JobInvoker.java:23 >> >> 1:INFO ] Invoker [default-invoker-Thread-11] received job [Send Email] >> from >> poll >> >> er [org.ofbiz.service.job.JobPoller@fd14be] >> >> 2010-02-08 17:10:46,859 (default-invoker-Thread-10) [ >> JobInvoker.java:23 >> >> 1:INFO ] Invoker [default-invoker-Thread-10] received job [Send Email] >> from >> poll >> >> er [org.ofbiz.service.job.JobPoller@fd14be] >> >> >> >> Thanks In Advance. >> >> >> Thanks & regards >> >> Gagan Ubi >> Mobile +919425348185 >> >> >> >> >> > |
In reply to this post by Ashish Vijaywargiya
Hi All,
Thanks to u all. Solution to my problem was Firewall. I stopped the firewall I started. -----Original Message----- From: Ashish Vijaywargiya [mailto:[hidden email]] Sent: Monday, February 08, 2010 6:39 PM To: [hidden email] Subject: Re: starting issue From the log it appears that your jvm port is already in use. I don't know how to release port in Windows. But if you would restart your machine then you will not see this error. The command that you are using is correct. -- Ashish Vijaywargiya http://www.saveourtigers.com On Mon, Feb 8, 2010 at 5:28 PM, GAGAN UBI <[hidden email]> wrote: > Hi every1, > > > > I m newbie to ofbiz. I had downloaded ofbiz 9.4 release. > > Below is my system configuration > > > Windows xp with 3 GB RAM. > > JDK1.6 installed. > > ANT1.7 installed. > > > > When I run the below command. > > > > ant run-install > > > > > >
Thanks & regards
Gagan Ubi gagan.ubi@gmail.com +919425348185 |
Free forum by Nabble | Edit this page |