Login  Register

Re: Users - TCP errors

Posted by BJ Freeman on May 22, 2006; 1:00pm
URL: http://ofbiz.116.s1.nabble.com/Users-TCP-errors-tp139395p139402.html

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