Users - TCP errors

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Users - TCP errors

Charles Johnson-4
10:22:27,862 (main) [               Jotm.java:129:INFO ] CAROL
initialization
10:22:28,132 (main) [            Current.java:171:INFO ] Jotm version =
2.0.9
org.ofbiz.base.start.StartupException: Cannot init() jotm-container
(Unable to bind UserTransaction/TransactionManager to JN
DI (null))
        at
org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:152)
        at
org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74)
        at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
        at org.ofbiz.base.start.Start.init(Start.java:96)
        at org.ofbiz.base.start.Start.main(Start.java:412)
org.ofbiz.base.container.ContainerException: Unable to bind
UserTransaction/TransactionManager to JNDI (null)
        at
org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:102)
        at
org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
        at
org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:150)
        at
org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74)
        at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
        at org.ofbiz.base.start.Start.init(Start.java:96)
        at org.ofbiz.base.start.Start.main(Start.java:412)
javax.naming.ServiceUnavailableException [Root exception is
java.rmi.ConnectException: Connection refused to host: 127.0.0.1
; nested exception is:
        java.net.ConnectException: Connection refused: connect]
        at
com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:133)
        at
com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:138)
        at javax.naming.InitialContext.rebind(InitialContext.java:363)
        at
org.objectweb.carol.jndi.spi.ContextWrapper.rebind(ContextWrapper.java:185)
        at javax.naming.InitialContext.rebind(InitialContext.java:363)
        at
org.objectweb.carol.jndi.enc.java.javaURLContext.rebind(javaURLContext.java:264)
        at javax.naming.InitialContext.rebind(InitialContext.java:363)
        at
org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:100)
        at
org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
        at
org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:150)
        at
org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74)
        at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
        at org.ofbiz.base.start.Start.init(Start.java:96)
        at org.ofbiz.base.start.Start.main(Start.java:412)
Caused by: java.rmi.ConnectException: Connection refused to host:
127.0.0.1; nested exception is:
        java.net.ConnectException: Connection refused: connect
        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:567)
        at
sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
        at
sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
        at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313)
        at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
        at
com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:131)
        ... 13 more
Caused by: java.net.ConnectException: Connection refused: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
        at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
        at java.net.Socket.connect(Socket.java:452)
        at java.net.Socket.connect(Socket.java:402)
        at java.net.Socket.<init>(Socket.java:309)
        at java.net.Socket.<init>(Socket.java:124)
        at
sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
        at
sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:562)
        ... 18 more
org.ofbiz.base.container.ContainerException: Unable to bind
UserTransaction/TransactionManager to JNDI (null)
        at
org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:102)
        at
org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
        at
org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:150)
        at
org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74)
        at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
        at org.ofbiz.base.start.Start.init(Start.java:96)
        at org.ofbiz.base.start.Start.main(Start.java:412)
javax.naming.ServiceUnavailableException [Root exception is
java.rmi.ConnectException: Connection refused to host: 127.0.0.1
; nested exception is:
        java.net.ConnectException: Connection refused: connect]
        at
com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:133)
        at
com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:138)
        at javax.naming.InitialContext.rebind(InitialContext.java:363)
        at
org.objectweb.carol.jndi.spi.ContextWrapper.rebind(ContextWrapper.java:185)
        at javax.naming.InitialContext.rebind(InitialContext.java:363)
        at
org.objectweb.carol.jndi.enc.java.javaURLContext.rebind(javaURLContext.java:264)
        at javax.naming.InitialContext.rebind(InitialContext.java:363)
        at
org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:100)
        at
org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
        at
org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:150)
        at
org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74)
        at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
        at org.ofbiz.base.start.Start.init(Start.java:96)
        at org.ofbiz.base.start.Start.main(Start.java:412)
Caused by: java.rmi.ConnectException: Connection refused to host:
127.0.0.1; nested exception is:
        java.net.ConnectException: Connection refused: connect
        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:567)
        at
sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
        at
sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
        at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313)
        at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
        at
com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:131)
        ... 13 more
Caused by: java.net.ConnectException: Connection refused: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
        at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
        at java.net.Socket.connect(Socket.java:452)
        at java.net.Socket.connect(Socket.java:402)
        at java.net.Socket.<init>(Socket.java:309)
Terminate batch job (Y/N)? y


Any ideas?

CJ
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - TCP errors

Jacopo Cappellato
Charles,

if you can, try to reboot your machine: my guess is that a broken
instance of OFBiz is holding some ip ports.

Jacopo



Charles Johnson wrote:

> 10:22:27,862 (main) [               Jotm.java:129:INFO ] CAROL
> initialization
> 10:22:28,132 (main) [            Current.java:171:INFO ] Jotm version =
> 2.0.9
> org.ofbiz.base.start.StartupException: Cannot init() jotm-container
> (Unable to bind UserTransaction/TransactionManager to JN
> DI (null))
>         at
> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:152)
>         at
> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74)
>         at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
>         at org.ofbiz.base.start.Start.init(Start.java:96)
>         at org.ofbiz.base.start.Start.main(Start.java:412)
> org.ofbiz.base.container.ContainerException: Unable to bind
> UserTransaction/TransactionManager to JNDI (null)
>         at
> org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:102)
>         at
> org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
>         at
> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:150)
>         at
> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74)
>         at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
>         at org.ofbiz.base.start.Start.init(Start.java:96)
>         at org.ofbiz.base.start.Start.main(Start.java:412)
> javax.naming.ServiceUnavailableException [Root exception is
> java.rmi.ConnectException: Connection refused to host: 127.0.0.1
> ; nested exception is:
>         java.net.ConnectException: Connection refused: connect]
>         at
> com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:133)
>         at
> com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:138)
>         at javax.naming.InitialContext.rebind(InitialContext.java:363)
>         at
> org.objectweb.carol.jndi.spi.ContextWrapper.rebind(ContextWrapper.java:185)
>         at javax.naming.InitialContext.rebind(InitialContext.java:363)
>         at
> org.objectweb.carol.jndi.enc.java.javaURLContext.rebind(javaURLContext.java:264)
>         at javax.naming.InitialContext.rebind(InitialContext.java:363)
>         at
> org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:100)
>         at
> org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
>         at
> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:150)
>         at
> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74)
>         at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
>         at org.ofbiz.base.start.Start.init(Start.java:96)
>         at org.ofbiz.base.start.Start.main(Start.java:412)
> Caused by: java.rmi.ConnectException: Connection refused to host:
> 127.0.0.1; nested exception is:
>         java.net.ConnectException: Connection refused: connect
>         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:567)
>         at
> sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
>         at
> sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
>         at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313)
>         at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
>         at
> com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:131)
>         ... 13 more
> Caused by: java.net.ConnectException: Connection refused: connect
>         at java.net.PlainSocketImpl.socketConnect(Native Method)
>         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
>         at
> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
>         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
>         at java.net.Socket.connect(Socket.java:452)
>         at java.net.Socket.connect(Socket.java:402)
>         at java.net.Socket.<init>(Socket.java:309)
>         at java.net.Socket.<init>(Socket.java:124)
>         at
> sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
>         at
> sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
>         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:562)
>         ... 18 more
> org.ofbiz.base.container.ContainerException: Unable to bind
> UserTransaction/TransactionManager to JNDI (null)
>         at
> org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:102)
>         at
> org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
>         at
> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:150)
>         at
> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74)
>         at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
>         at org.ofbiz.base.start.Start.init(Start.java:96)
>         at org.ofbiz.base.start.Start.main(Start.java:412)
> javax.naming.ServiceUnavailableException [Root exception is
> java.rmi.ConnectException: Connection refused to host: 127.0.0.1
> ; nested exception is:
>         java.net.ConnectException: Connection refused: connect]
>         at
> com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:133)
>         at
> com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:138)
>         at javax.naming.InitialContext.rebind(InitialContext.java:363)
>         at
> org.objectweb.carol.jndi.spi.ContextWrapper.rebind(ContextWrapper.java:185)
>         at javax.naming.InitialContext.rebind(InitialContext.java:363)
>         at
> org.objectweb.carol.jndi.enc.java.javaURLContext.rebind(javaURLContext.java:264)
>         at javax.naming.InitialContext.rebind(InitialContext.java:363)
>         at
> org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:100)
>         at
> org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
>         at
> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:150)
>         at
> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74)
>         at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
>         at org.ofbiz.base.start.Start.init(Start.java:96)
>         at org.ofbiz.base.start.Start.main(Start.java:412)
> Caused by: java.rmi.ConnectException: Connection refused to host:
> 127.0.0.1; nested exception is:
>         java.net.ConnectException: Connection refused: connect
>         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:567)
>         at
> sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
>         at
> sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
>         at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313)
>         at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
>         at
> com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:131)
>         ... 13 more
> Caused by: java.net.ConnectException: Connection refused: connect
>         at java.net.PlainSocketImpl.socketConnect(Native Method)
>         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
>         at
> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
>         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
>         at java.net.Socket.connect(Socket.java:452)
>         at java.net.Socket.connect(Socket.java:402)
>         at java.net.Socket.<init>(Socket.java:309)
> Terminate batch job (Y/N)? y
>
>
> Any ideas?
>
> CJ
>  
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
>

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - TCP errors

BJ Freeman
In reply to this post by Charles Johnson-4
have you made changes to the 0.0.0.0 ?

Charles Johnson sent the following on 5/22/2006 2:42 AM:

> 10:22:27,862 (main) [               Jotm.java:129:INFO ] CAROL
> initialization
> 10:22:28,132 (main) [            Current.java:171:INFO ] Jotm version =
> 2.0.9
> org.ofbiz.base.start.StartupException: Cannot init() jotm-container
> (Unable to bind UserTransaction/TransactionManager to JN
> DI (null))
>         at
> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:152)
>         at
> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74)
>         at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
>         at org.ofbiz.base.start.Start.init(Start.java:96)
>         at org.ofbiz.base.start.Start.main(Start.java:412)
> org.ofbiz.base.container.ContainerException: Unable to bind
> UserTransaction/TransactionManager to JNDI (null)
>         at
> org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:102)
>         at
> org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
>         at
> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:150)
>         at
> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74)
>         at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
>         at org.ofbiz.base.start.Start.init(Start.java:96)
>         at org.ofbiz.base.start.Start.main(Start.java:412)
> javax.naming.ServiceUnavailableException [Root exception is
> java.rmi.ConnectException: Connection refused to host: 127.0.0.1
> ; nested exception is:
>         java.net.ConnectException: Connection refused: connect]
>         at
> com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:133)
>         at
> com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:138)
>         at javax.naming.InitialContext.rebind(InitialContext.java:363)
>         at
> org.objectweb.carol.jndi.spi.ContextWrapper.rebind(ContextWrapper.java:185)
>         at javax.naming.InitialContext.rebind(InitialContext.java:363)
>         at
> org.objectweb.carol.jndi.enc.java.javaURLContext.rebind(javaURLContext.java:264)
>         at javax.naming.InitialContext.rebind(InitialContext.java:363)
>         at
> org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:100)
>         at
> org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
>         at
> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:150)
>         at
> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74)
>         at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
>         at org.ofbiz.base.start.Start.init(Start.java:96)
>         at org.ofbiz.base.start.Start.main(Start.java:412)
> Caused by: java.rmi.ConnectException: Connection refused to host:
> 127.0.0.1; nested exception is:
>         java.net.ConnectException: Connection refused: connect
>         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:567)
>         at
> sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
>         at
> sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
>         at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313)
>         at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
>         at
> com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:131)
>         ... 13 more
> Caused by: java.net.ConnectException: Connection refused: connect
>         at java.net.PlainSocketImpl.socketConnect(Native Method)
>         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
>         at
> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
>         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
>         at java.net.Socket.connect(Socket.java:452)
>         at java.net.Socket.connect(Socket.java:402)
>         at java.net.Socket.<init>(Socket.java:309)
>         at java.net.Socket.<init>(Socket.java:124)
>         at
> sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
>         at
> sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
>         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:562)
>         ... 18 more
> org.ofbiz.base.container.ContainerException: Unable to bind
> UserTransaction/TransactionManager to JNDI (null)
>         at
> org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:102)
>         at
> org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
>         at
> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:150)
>         at
> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74)
>         at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
>         at org.ofbiz.base.start.Start.init(Start.java:96)
>         at org.ofbiz.base.start.Start.main(Start.java:412)
> javax.naming.ServiceUnavailableException [Root exception is
> java.rmi.ConnectException: Connection refused to host: 127.0.0.1
> ; nested exception is:
>         java.net.ConnectException: Connection refused: connect]
>         at
> com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:133)
>         at
> com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:138)
>         at javax.naming.InitialContext.rebind(InitialContext.java:363)
>         at
> org.objectweb.carol.jndi.spi.ContextWrapper.rebind(ContextWrapper.java:185)
>         at javax.naming.InitialContext.rebind(InitialContext.java:363)
>         at
> org.objectweb.carol.jndi.enc.java.javaURLContext.rebind(javaURLContext.java:264)
>         at javax.naming.InitialContext.rebind(InitialContext.java:363)
>         at
> org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:100)
>         at
> org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
>         at
> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:150)
>         at
> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74)
>         at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
>         at org.ofbiz.base.start.Start.init(Start.java:96)
>         at org.ofbiz.base.start.Start.main(Start.java:412)
> Caused by: java.rmi.ConnectException: Connection refused to host:
> 127.0.0.1; nested exception is:
>         java.net.ConnectException: Connection refused: connect
>         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:567)
>         at
> sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
>         at
> sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
>         at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313)
>         at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
>         at
> com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:131)
>         ... 13 more
> Caused by: java.net.ConnectException: Connection refused: connect
>         at java.net.PlainSocketImpl.socketConnect(Native Method)
>         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
>         at
> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
>         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
>         at java.net.Socket.connect(Socket.java:452)
>         at java.net.Socket.connect(Socket.java:402)
>         at java.net.Socket.<init>(Socket.java:309)
> Terminate batch job (Y/N)? y
>
>
> Any ideas?
>
> CJ
>  
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
>
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - TCP errors

Charles Johnson-4


BJ Freeman wrote:

>have you made changes to the 0.0.0.0 ?
>
>Charles Johnson sent the following on 5/22/2006 2:42 AM:
>  
>
>>10:22:27,862 (main) [               Jotm.java:129:INFO ] CAROL
>>initialization
>>10:22:28,132 (main) [            Current.java:171:INFO ] Jotm version =
>>2.0.9
>>org.ofbiz.base.start.StartupException: Cannot init() jotm-container
>>(Unable to bind UserTransaction/TransactionManager to JN
>>DI (null))
>>        at
>>org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:152)
>>        at
>>org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74)
>>        at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
>>        at org.ofbiz.base.start.Start.init(Start.java:96)
>>        at org.ofbiz.base.start.Start.main(Start.java:412)
>>org.ofbiz.base.container.ContainerException: Unable to bind
>>UserTransaction/TransactionManager to JNDI (null)
>>        at
>>org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:102)
>>        at
>>org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
>>        at
>>org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:150)
>>        at
>>org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74)
>>        at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
>>        at org.ofbiz.base.start.Start.init(Start.java:96)
>>        at org.ofbiz.base.start.Start.main(Start.java:412)
>>javax.naming.ServiceUnavailableException [Root exception is
>>java.rmi.ConnectException: Connection refused to host: 127.0.0.1
>>; nested exception is:
>>        java.net.ConnectException: Connection refused: connect]
>>        at
>>com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:133)
>>        at
>>com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:138)
>>        at javax.naming.InitialContext.rebind(InitialContext.java:363)
>>        at
>>org.objectweb.carol.jndi.spi.ContextWrapper.rebind(ContextWrapper.java:185)
>>        at javax.naming.InitialContext.rebind(InitialContext.java:363)
>>        at
>>org.objectweb.carol.jndi.enc.java.javaURLContext.rebind(javaURLContext.java:264)
>>        at javax.naming.InitialContext.rebind(InitialContext.java:363)
>>        at
>>org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:100)
>>        at
>>org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
>>        at
>>org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:150)
>>        at
>>org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74)
>>        at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
>>        at org.ofbiz.base.start.Start.init(Start.java:96)
>>        at org.ofbiz.base.start.Start.main(Start.java:412)
>>Caused by: java.rmi.ConnectException: Connection refused to host:
>>127.0.0.1; nested exception is:
>>        java.net.ConnectException: Connection refused: connect
>>        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:567)
>>        at
>>sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
>>        at
>>sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
>>        at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313)
>>        at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
>>        at
>>com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:131)
>>        ... 13 more
>>Caused by: java.net.ConnectException: Connection refused: connect
>>        at java.net.PlainSocketImpl.socketConnect(Native Method)
>>        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
>>        at
>>java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
>>        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
>>        at java.net.Socket.connect(Socket.java:452)
>>        at java.net.Socket.connect(Socket.java:402)
>>        at java.net.Socket.<init>(Socket.java:309)
>>        at java.net.Socket.<init>(Socket.java:124)
>>        at
>>sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
>>        at
>>sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
>>        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:562)
>>        ... 18 more
>>org.ofbiz.base.container.ContainerException: Unable to bind
>>UserTransaction/TransactionManager to JNDI (null)
>>        at
>>org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:102)
>>        at
>>org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
>>        at
>>org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:150)
>>        at
>>org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74)
>>        at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
>>        at org.ofbiz.base.start.Start.init(Start.java:96)
>>        at org.ofbiz.base.start.Start.main(Start.java:412)
>>javax.naming.ServiceUnavailableException [Root exception is
>>java.rmi.ConnectException: Connection refused to host: 127.0.0.1
>>; nested exception is:
>>        java.net.ConnectException: Connection refused: connect]
>>        at
>>com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:133)
>>        at
>>com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:138)
>>        at javax.naming.InitialContext.rebind(InitialContext.java:363)
>>        at
>>org.objectweb.carol.jndi.spi.ContextWrapper.rebind(ContextWrapper.java:185)
>>        at javax.naming.InitialContext.rebind(InitialContext.java:363)
>>        at
>>org.objectweb.carol.jndi.enc.java.javaURLContext.rebind(javaURLContext.java:264)
>>        at javax.naming.InitialContext.rebind(InitialContext.java:363)
>>        at
>>org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:100)
>>        at
>>org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
>>        at
>>org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:150)
>>        at
>>org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74)
>>        at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
>>        at org.ofbiz.base.start.Start.init(Start.java:96)
>>        at org.ofbiz.base.start.Start.main(Start.java:412)
>>Caused by: java.rmi.ConnectException: Connection refused to host:
>>127.0.0.1; nested exception is:
>>        java.net.ConnectException: Connection refused: connect
>>        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:567)
>>        at
>>sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
>>        at
>>sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
>>        at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313)
>>        at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
>>        at
>>com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:131)
>>        ... 13 more
>>Caused by: java.net.ConnectException: Connection refused: connect
>>        at java.net.PlainSocketImpl.socketConnect(Native Method)
>>        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
>>        at
>>java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
>>        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
>>        at java.net.Socket.connect(Socket.java:452)
>>        at java.net.Socket.connect(Socket.java:402)
>>        at java.net.Socket.<init>(Socket.java:309)
>>Terminate batch job (Y/N)? y
>>
>>
>>Any ideas?
>>
>>CJ
>>
>>_______________________________________________
>>Users mailing list
>>[hidden email]
>>http://lists.ofbiz.org/mailman/listinfo/users
>>
>>    
>>
>
>_______________________________________________
>Users mailing list
>[hidden email]
>http://lists.ofbiz.org/mailman/listinfo/users
>
>
>  
>
>>have you made changes to the 0.0.0.0 ?

I have recently installed a new router, but i'm interested to know
exactly what you mean by 'the 0.0.0.0.'

CJ
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - TCP errors

Charles Johnson-4
In reply to this post by Jacopo Cappellato


Jacopo Cappellato wrote:

>Charles,
>
>if you can, try to reboot your machine: my guess is that a broken
>instance of OFBiz is holding some ip ports.
>
>Jacopo
>
>
>
>Charles Johnson wrote:
>  
>
>>10:22:27,862 (main) [               Jotm.java:129:INFO ] CAROL
>>initialization
>>10:22:28,132 (main) [            Current.java:171:INFO ] Jotm version =
>>2.0.9
>>org.ofbiz.base.start.StartupException: Cannot init() jotm-container
>>(Unable to bind UserTransaction/TransactionManager to JN
>>DI (null))
>>        at
>>org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:152)
>>        at
>>org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74)
>>        at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
>>        at org.ofbiz.base.start.Start.init(Start.java:96)
>>        at org.ofbiz.base.start.Start.main(Start.java:412)
>>org.ofbiz.base.container.ContainerException: Unable to bind
>>UserTransaction/TransactionManager to JNDI (null)
>>        at
>>org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:102)
>>        at
>>org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
>>        at
>>org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:150)
>>        at
>>org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74)
>>        at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
>>        at org.ofbiz.base.start.Start.init(Start.java:96)
>>        at org.ofbiz.base.start.Start.main(Start.java:412)
>>javax.naming.ServiceUnavailableException [Root exception is
>>java.rmi.ConnectException: Connection refused to host: 127.0.0.1
>>; nested exception is:
>>        java.net.ConnectException: Connection refused: connect]
>>        at
>>com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:133)
>>        at
>>com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:138)
>>        at javax.naming.InitialContext.rebind(InitialContext.java:363)
>>        at
>>org.objectweb.carol.jndi.spi.ContextWrapper.rebind(ContextWrapper.java:185)
>>        at javax.naming.InitialContext.rebind(InitialContext.java:363)
>>        at
>>org.objectweb.carol.jndi.enc.java.javaURLContext.rebind(javaURLContext.java:264)
>>        at javax.naming.InitialContext.rebind(InitialContext.java:363)
>>        at
>>org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:100)
>>        at
>>org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
>>        at
>>org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:150)
>>        at
>>org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74)
>>        at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
>>        at org.ofbiz.base.start.Start.init(Start.java:96)
>>        at org.ofbiz.base.start.Start.main(Start.java:412)
>>Caused by: java.rmi.ConnectException: Connection refused to host:
>>127.0.0.1; nested exception is:
>>        java.net.ConnectException: Connection refused: connect
>>        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:567)
>>        at
>>sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
>>        at
>>sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
>>        at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313)
>>        at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
>>        at
>>com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:131)
>>        ... 13 more
>>Caused by: java.net.ConnectException: Connection refused: connect
>>        at java.net.PlainSocketImpl.socketConnect(Native Method)
>>        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
>>        at
>>java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
>>        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
>>        at java.net.Socket.connect(Socket.java:452)
>>        at java.net.Socket.connect(Socket.java:402)
>>        at java.net.Socket.<init>(Socket.java:309)
>>        at java.net.Socket.<init>(Socket.java:124)
>>        at
>>sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
>>        at
>>sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
>>        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:562)
>>        ... 18 more
>>org.ofbiz.base.container.ContainerException: Unable to bind
>>UserTransaction/TransactionManager to JNDI (null)
>>        at
>>org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:102)
>>        at
>>org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
>>        at
>>org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:150)
>>        at
>>org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74)
>>        at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
>>        at org.ofbiz.base.start.Start.init(Start.java:96)
>>        at org.ofbiz.base.start.Start.main(Start.java:412)
>>javax.naming.ServiceUnavailableException [Root exception is
>>java.rmi.ConnectException: Connection refused to host: 127.0.0.1
>>; nested exception is:
>>        java.net.ConnectException: Connection refused: connect]
>>        at
>>com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:133)
>>        at
>>com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:138)
>>        at javax.naming.InitialContext.rebind(InitialContext.java:363)
>>        at
>>org.objectweb.carol.jndi.spi.ContextWrapper.rebind(ContextWrapper.java:185)
>>        at javax.naming.InitialContext.rebind(InitialContext.java:363)
>>        at
>>org.objectweb.carol.jndi.enc.java.javaURLContext.rebind(javaURLContext.java:264)
>>        at javax.naming.InitialContext.rebind(InitialContext.java:363)
>>        at
>>org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:100)
>>        at
>>org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
>>        at
>>org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:150)
>>        at
>>org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74)
>>        at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
>>        at org.ofbiz.base.start.Start.init(Start.java:96)
>>        at org.ofbiz.base.start.Start.main(Start.java:412)
>>Caused by: java.rmi.ConnectException: Connection refused to host:
>>127.0.0.1; nested exception is:
>>        java.net.ConnectException: Connection refused: connect
>>        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:567)
>>        at
>>sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
>>        at
>>sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
>>        at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313)
>>        at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
>>        at
>>com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:131)
>>        ... 13 more
>>Caused by: java.net.ConnectException: Connection refused: connect
>>        at java.net.PlainSocketImpl.socketConnect(Native Method)
>>        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
>>        at
>>java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
>>        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
>>        at java.net.Socket.connect(Socket.java:452)
>>        at java.net.Socket.connect(Socket.java:402)
>>        at java.net.Socket.<init>(Socket.java:309)
>>Terminate batch job (Y/N)? y
>>
>>
>>Any ideas?
>>
>>CJ
>>
>>_______________________________________________
>>Users mailing list
>>[hidden email]
>>http://lists.ofbiz.org/mailman/listinfo/users
>>
>>    
>>
>
>
>_______________________________________________
>Users mailing list
>[hidden email]
>http://lists.ofbiz.org/mailman/listinfo/users
>
>
>  
>

Thanks, you were right. I must say i was slighly surprised as i would
have thought the shutdown hook thread(s) would have closed the socket ...

CJ

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - TCP errors

BJ Freeman
In reply to this post by Charles Johnson-4
I was referring ofbiz-containers.xml in base/config
if you change the IP addresses and they don't match your computers IP
you can get the same error message.


Charles Johnson sent the following on 5/22/2006 4:15 AM:

>
> BJ Freeman wrote:
>
>> have you made changes to the 0.0.0.0 ?
>>
>> Charles Johnson sent the following on 5/22/2006 2:42 AM:
>>  
>>
>>> 10:22:27,862 (main) [               Jotm.java:129:INFO ] CAROL
>>> initialization
>>> 10:22:28,132 (main) [            Current.java:171:INFO ] Jotm version =
>>> 2.0.9
>>> org.ofbiz.base.start.StartupException: Cannot init() jotm-container
>>> (Unable to bind UserTransaction/TransactionManager to JN
>>> DI (null))
>>>        at
>>> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:152)
>>>        at
>>> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74)
>>>        at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
>>>        at org.ofbiz.base.start.Start.init(Start.java:96)
>>>        at org.ofbiz.base.start.Start.main(Start.java:412)
>>> org.ofbiz.base.container.ContainerException: Unable to bind
>>> UserTransaction/TransactionManager to JNDI (null)
>>>        at
>>> org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:102)
>>>        at
>>> org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
>>>        at
>>> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:150)
>>>        at
>>> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74)
>>>        at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
>>>        at org.ofbiz.base.start.Start.init(Start.java:96)
>>>        at org.ofbiz.base.start.Start.main(Start.java:412)
>>> javax.naming.ServiceUnavailableException [Root exception is
>>> java.rmi.ConnectException: Connection refused to host: 127.0.0.1
>>> ; nested exception is:
>>>        java.net.ConnectException: Connection refused: connect]
>>>        at
>>> com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:133)
>>>        at
>>> com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:138)
>>>        at javax.naming.InitialContext.rebind(InitialContext.java:363)
>>>        at
>>> org.objectweb.carol.jndi.spi.ContextWrapper.rebind(ContextWrapper.java:185)
>>>        at javax.naming.InitialContext.rebind(InitialContext.java:363)
>>>        at
>>> org.objectweb.carol.jndi.enc.java.javaURLContext.rebind(javaURLContext.java:264)
>>>        at javax.naming.InitialContext.rebind(InitialContext.java:363)
>>>        at
>>> org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:100)
>>>        at
>>> org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
>>>        at
>>> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:150)
>>>        at
>>> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74)
>>>        at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
>>>        at org.ofbiz.base.start.Start.init(Start.java:96)
>>>        at org.ofbiz.base.start.Start.main(Start.java:412)
>>> Caused by: java.rmi.ConnectException: Connection refused to host:
>>> 127.0.0.1; nested exception is:
>>>        java.net.ConnectException: Connection refused: connect
>>>        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:567)
>>>        at
>>> sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
>>>        at
>>> sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
>>>        at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313)
>>>        at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
>>>        at
>>> com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:131)
>>>        ... 13 more
>>> Caused by: java.net.ConnectException: Connection refused: connect
>>>        at java.net.PlainSocketImpl.socketConnect(Native Method)
>>>        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
>>>        at
>>> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
>>>        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
>>>        at java.net.Socket.connect(Socket.java:452)
>>>        at java.net.Socket.connect(Socket.java:402)
>>>        at java.net.Socket.<init>(Socket.java:309)
>>>        at java.net.Socket.<init>(Socket.java:124)
>>>        at
>>> sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
>>>        at
>>> sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
>>>        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:562)
>>>        ... 18 more
>>> org.ofbiz.base.container.ContainerException: Unable to bind
>>> UserTransaction/TransactionManager to JNDI (null)
>>>        at
>>> org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:102)
>>>        at
>>> org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
>>>        at
>>> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:150)
>>>        at
>>> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74)
>>>        at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
>>>        at org.ofbiz.base.start.Start.init(Start.java:96)
>>>        at org.ofbiz.base.start.Start.main(Start.java:412)
>>> javax.naming.ServiceUnavailableException [Root exception is
>>> java.rmi.ConnectException: Connection refused to host: 127.0.0.1
>>> ; nested exception is:
>>>        java.net.ConnectException: Connection refused: connect]
>>>        at
>>> com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:133)
>>>        at
>>> com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:138)
>>>        at javax.naming.InitialContext.rebind(InitialContext.java:363)
>>>        at
>>> org.objectweb.carol.jndi.spi.ContextWrapper.rebind(ContextWrapper.java:185)
>>>        at javax.naming.InitialContext.rebind(InitialContext.java:363)
>>>        at
>>> org.objectweb.carol.jndi.enc.java.javaURLContext.rebind(javaURLContext.java:264)
>>>        at javax.naming.InitialContext.rebind(InitialContext.java:363)
>>>        at
>>> org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:100)
>>>        at
>>> org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61)
>>>        at
>>> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:150)
>>>        at
>>> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74)
>>>        at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
>>>        at org.ofbiz.base.start.Start.init(Start.java:96)
>>>        at org.ofbiz.base.start.Start.main(Start.java:412)
>>> Caused by: java.rmi.ConnectException: Connection refused to host:
>>> 127.0.0.1; nested exception is:
>>>        java.net.ConnectException: Connection refused: connect
>>>        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:567)
>>>        at
>>> sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
>>>        at
>>> sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
>>>        at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313)
>>>        at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
>>>        at
>>> com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:131)
>>>        ... 13 more
>>> Caused by: java.net.ConnectException: Connection refused: connect
>>>        at java.net.PlainSocketImpl.socketConnect(Native Method)
>>>        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
>>>        at
>>> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
>>>        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
>>>        at java.net.Socket.connect(Socket.java:452)
>>>        at java.net.Socket.connect(Socket.java:402)
>>>        at java.net.Socket.<init>(Socket.java:309)
>>> Terminate batch job (Y/N)? y
>>>
>>>
>>> Any ideas?
>>>
>>> CJ
>>>
>>> _______________________________________________
>>> Users mailing list
>>> [hidden email]
>>> http://lists.ofbiz.org/mailman/listinfo/users
>>>
>>>    
>>>
>> _______________________________________________
>> Users mailing list
>> [hidden email]
>> http://lists.ofbiz.org/mailman/listinfo/users
>>
>>
>>  
>>
>>> have you made changes to the 0.0.0.0 ?
>
> I have recently installed a new router, but i'm interested to know
> exactly what you mean by 'the 0.0.0.0.'
>
> CJ
>  
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
>
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - TCP errors

David E. Jones
In reply to this post by Charles Johnson-4


Charles Johnson wrote:
> Thanks, you were right. I must say i was slighly surprised as i would
> have thought the shutdown hook thread(s) would have closed the socket ...

In a good operating system the ports will be cleared just fine. This is just part of the Wonderful World of Windows... It's a fairly well documented JVM issue when running on Windows and has nothing to do with OFBiz or any of the J2EE tools we use.

-David

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - TCP errors

Charles Johnson-4


David E. Jones wrote:

>Charles Johnson wrote:
>  
>
>>Thanks, you were right. I must say i was slighly surprised as i would
>>have thought the shutdown hook thread(s) would have closed the socket ...
>>    
>>
>
>In a good operating system the ports will be cleared just fine. This is just part of the Wonderful World of Windows... It's a fairly well documented JVM issue when running on Windows and has nothing to do with OFBiz or any of the J2EE tools we use.
>
>-David
>
>
>_______________________________________________
>Users mailing list
>[hidden email]
>http://lists.ofbiz.org/mailman/listinfo/users
>
>
>  
>
Thanks. Yes, i think now AFAICR i've seen that 'sticky port' business
elsewhere ;-)

CJ
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users