At 1st glance : beware of too long path on Windows I'd recommend using
c:\wasce
in place of
C:\Program Files (x86)\IBM\WebSphere\AppServerCommunityEdition
Jacques
From: "Bravo Pal" <[EMAIL PROTECTED]>
Hi everyone,
I am newbie for ofbiz, I am trying to install ofbiz on Websphere by reading
instructions form here
http://docs.ofbiz.org/pages/viewpage.action?pageId=4098
I am getting following error whenever I am going to run java -jar ofbiz.jar
-setup wasce2
2008-11-13 18:26:39,562 (main) [ GenerateContainer.java:456:INFO ] Parsing
template :
C:\dev\ofbizapps\new_ofbiz\framework\appserver\templates\wasce2\README
Currently undeploying ofbiz, using : <<deploy --user system --password
manager undeploy ofbiz>>, please wait ... Using GERONIMO_BASE: C:\Program
Files (x86)\IBM\WebSphere\AppServerCommunityEdition Using GERONIMO_HOME:
C:\Program Files (x86)\IBM\WebSphere\AppServerCommunityEdition Using
GERONIMO_TMPDIR: var\temp Using JRE_HOME: C:\Program Files
(x86)\Java\jre1.5.0_16 Error: Unable to connect to server at
deployer:geronimo:jmx -- Failed to retrieve RMIServer stub:
javax.naming.ServiceUnavailableException [Root exception is
java.rmi.ConnectException: Connection refused to host: localhost; nested
exception is: java.net.ConnectException: Connection refused: connect]
javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException:
Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException
[Root exception is java.rmi.ConnectException: Connection refused to host:
localhost; nested exception is: java.net.ConnectException: Connection
refused: connect] at
org.apache.geronimo.deployment.plugin.factories.BaseDeploymentFactory.newRemoteDeploymentManager(BaseDeploymentFactory.java:190)
at
org.apache.geronimo.deployment.plugin.factories.BaseDeploymentFactory.getDeploymentManager(BaseDeploymentFactory.java:140)
at
javax.enterprise.deploy.shared.factories.DeploymentFactoryManager.getDeploymentManager(DeploymentFactoryManager.java:111)
at
org.apache.geronimo.deployment.cli.ServerConnection.tryToConnect(ServerConnection.java:199)
at
org.apache.geronimo.deployment.cli.ServerConnection.<init>(ServerConnection.java:95)
at
org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:161)
at
org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67) at
org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31)
Caused by: java.io.IOException: Failed to retrieve RMIServer stub:
javax.naming.ServiceUnavailableException [Root exception is
java.rmi.ConnectException: Connection refu sed to host: localhost; nested
exception is: java.net.ConnectException: Connection refused: connect] at
javax.management.remote.rmi.RMIConnector.connect(Unknown Source) at
javax.management.remote.JMXConnectorFactory.connect(Unknown Source) at
org.apache.geronimo.deployment.plugin.factories.BaseDeploymentFactory.newRemoteDeploymentManager(BaseDeploymentFactory.java:182)
... 8 more Caused by: javax.naming.ServiceUnavailableException [Root
exception is java.rmi.ConnectException: Connection refused to host:
localhost; nested exception is: java.net.ConnectException: Connection
refused: connect] at
com.sun.jndi.rmi.registry.RegistryContext.lookup(Unknown Source) at
com.sun.jndi.toolkit.url.GenericURLContext.lookup(Unknown Source) at
javax.naming.InitialContext.lookup(Unknown Source) at
javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(Unknown Source)
at javax.management.remote.rmi.RMIConnector.findRMIServer(Unknown Source)
... 11 more Caused by: java.rmi.ConnectException: Connection refused to
host: localhost; nested exception is: java.net.ConnectException: Connection
refused: connect at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown
Source) at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source) at
sun.rmi.server.UnicastRef.newCall(Unknown Source) at
sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source) ... 16 more Caused
by: java.net.ConnectException: Connection refused: connect at
java.net.PlainSocketImpl.socketConnect(Native Method) at
java.net.PlainSocketImpl.doConnect(Unknown Source) at
java.net.PlainSocketImpl.connectToAddress(Unknown Source) at
java.net.PlainSocketImpl.connect(Unknown Source) at
java.net.SocksSocketImpl.connect(Unknown Source) at
java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown
Source) at java.net.Socket.<init>(Unknown Source) at
java.net.Socket.<init>(Unknown Source) at
sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown
Source) ... 21 more Currently deploying ofbiz, using : <<deploy --user
system --password manager deploy --inPlace C:/dev/ofbizapps/new_ofbiz>>,
please wait ... 2008-11-13 18:26:43,406 (main) [
GenerateContainer.java:294:INFO ] ofbiz undeployment ended Using
GERONIMO_BASE: C:\Program Files
(x86)\IBM\WebSphere\AppServerCommunityEdition Using GERONIMO_HOME:
C:\Program Files (x86)\IBM\WebSphere\AppServerCommunityEdition Using
GERONIMO_TMPDIR: var\temp Using JRE_HOME: C:\Program Files
(x86)\Java\jre1.5.0_16 Error: Unable to connect to server at
deployer:geronimo:jmx -- Failed to retrieve RMIServer stub:
javax.naming.ServiceUnavailableException [Root exception is
java.rmi.ConnectException: Connection refused to host: localhost; nested
exception is: java.net.ConnectException: Connection refused: connect]
javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException:
Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException
[Root exception is java.rmi.ConnectException: Connection refused to host:
localhost; nested exception is: java.net.ConnectException: Connection
refused: connect] at
org.apache.geronimo.deployment.plugin.factories.BaseDeploymentFactory.newRemoteDeploymentManager(BaseDeploymentFactory.java:190)
at
org.apache.geronimo.deployment.plugin.factories.BaseDeploymentFactory.getDeploymentManager(BaseDeploymentFactory.java:140)
at
javax.enterprise.deploy.shared.factories.DeploymentFactoryManager.getDeploymentManager(DeploymentFactoryManager.java:111)
at
org.apache.geronimo.deployment.cli.ServerConnection.tryToConnect(ServerConnection.java:199)
at
org.apache.geronimo.deployment.cli.ServerConnection.<init>(ServerConnection.java:95)
at
org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:161)
at
org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67) at
org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31)
Caused by: java.io.IOException: Failed to retrieve RMIServer stub:
javax.naming.ServiceUnavailableException [Root exception is
java.rmi.ConnectException: Connection refu sed to host: localhost; nested
exception is: java.net.ConnectException: Connection refused: connect] at
javax.management.remote.rmi.RMIConnector.connect(Unknown Source) at
javax.management.remote.JMXConnectorFactory.connect(Unknown Source) at
org.apache.geronimo.deployment.plugin.factories.BaseDeploymentFactory.newRemoteDeploymentManager(BaseDeploymentFactory.java:182)
... 8 more Caused by: javax.naming.ServiceUnavailableException [Root
exception is java.rmi.ConnectException: Connection refused to host:
localhost; nested exception is: java.net.ConnectException: Connection
refused: connect] at
com.sun.jndi.rmi.registry.RegistryContext.lookup(Unknown Source) at
com.sun.jndi.toolkit.url.GenericURLContext.lookup(Unknown Source) at
javax.naming.InitialContext.lookup(Unknown Source) at
javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(Unknown Source)
at javax.management.remote.rmi.RMIConnector.findRMIServer(Unknown Source)
... 11 more Caused by: java.rmi.ConnectException: Connection refused to
host: localhost; nested exception is: java.net.ConnectException: Connection
refused: connect at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown
Source) at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source) at
sun.rmi.server.UnicastRef.newCall(Unknown Source) at
sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source) ... 16 more Caused
by: java.net.ConnectException: Connection refused: connect at
java.net.PlainSocketImpl.socketConnect(Native Method) at
java.net.PlainSocketImpl.doConnect(Unknown Source) at
java.net.PlainSocketImpl.connectToAddress(Unknown Source) at
java.net.PlainSocketImpl.connect(Unknown Source) at
java.net.SocksSocketImpl.connect(Unknown Source) at
java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown
Source) at java.net.Socket.<init>(Unknown Source) at
java.net.Socket.<init>(Unknown Source) at
sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown
Source) ... 21 more 2008-11-13 18:26:47,125 (main) [
GenerateContainer.java:355:INFO ] ofbiz deployment ended 2008-11-13
18:26:47,125 (OFBiz_Shutdown_Hook) [ ContainerLoader.java:114:INFO ]
Shutting down containers
Any help in this concern will be highly appreciated. Thanks in advance.
Bravo,