Hi,
I just moved my ofbiz instance to another linux(fedora4) machine and it stopped working. Basically I get this binding exception when I tried to install the data by using(ant run-install), I got the following exceptions. I am using JDK1.4.2_11 and it(ofbiz) used to work perfectly under JDK1.4.2_10 with the same setting. Actually I rebuild the whole thing and it still dose not work. Just do not know if anybody has this issue before. Thanks org.ofbiz.base.start.StartupException: Cannot init() jotm-container (Unable to bind UserTransaction/TransactionManager to JNDI (null)) [java] at org.ofbiz.base.container.ContainerLoader.loadContainer(Contai nerLoader.java:152) [java] at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader .java:74) [java] at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257) [java] at org.ofbiz.base.start.Start.init(Start.java:96) [java] at org.ofbiz.base.start.Start.main(Start.java:412) [java] org.ofbiz.base.container.ContainerException: Unable to bind UserTran saction/TransactionManager to JNDI (null) [java] at org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContaine r.java:102) [java] at org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.jav a:61) [java] at org.ofbiz.base.container.ContainerLoader.loadContainer(Contai nerLoader.java:150) [java] at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader .java:74) [java] at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257) [java] at org.ofbiz.base.start.Start.init(Start.java:96) [java] at org.ofbiz.base.start.Start.main(Start.java:412) [java] javax.naming.CommunicationException [Root exception is java.rmi.Conn ectIOException: Exception creating connection to: 127.0.0.1; nested exception is : [java] java.net.SocketException: Invalid argument or cannot assign requ ested address] [java] at com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryCont ext.java:133) [java] at com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryCont ext.java:138) [java] at javax.naming.InitialContext.rebind(InitialContext.java:363) [java] at org.objectweb.carol.jndi.spi.ContextWrapper.rebind(ContextWra pper.java:185) [java] at javax.naming.InitialContext.rebind(InitialContext.java:363) [java] at org.objectweb.carol.jndi.enc.java.javaURLContext.rebind(javaU RLContext.java:264) [java] at javax.naming.InitialContext.rebind(InitialContext.java:363) [java] at org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContaine r.java:100) [java] at org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.jav a:61) [java] at org.ofbiz.base.container.ContainerLoader.loadContainer(Contai nerLoader.java:150) [java] at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader .java:74) [java] at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257) [java] at org.ofbiz.base.start.Start.init(Start.java:96) [java] at org.ofbiz.base.start.Start.main(Start.java:412) [java] Caused by: java.rmi.ConnectIOException: Exception creating connectio n to: 127.0.0.1; nested exception is: [java] java.net.SocketException: Invalid argument or cannot assign requ ested address [java] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java: 580) [java] at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel. java:185) [java] at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.jav a:171) [java] at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313) [java] at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source) [java] at com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryCont ext.java:131) [java] ... 13 more [java] Caused by: java.net.SocketException: Invalid argument or cannot assi gn requested address [java] at java.net.PlainSocketImpl.socketConnect(Native Method) [java] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) [java] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.jav a:171) [java] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) [java] at java.net.Socket.connect(Socket.java:461) [java] at java.net.Socket.connect(Socket.java:411) [java] at java.net.Socket.<init>(Socket.java:310) [java] at java.net.Socket.<init>(Socket.java:125) [java] at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(R MIDirectSocketFactory.java:22) [java] at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(R MIMasterSocketFactory.java:128) [java] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java: 562) [java] ... 18 more [java] org.ofbiz.base.container.ContainerException: Unable to bind UserTran saction/TransactionManager to JNDI (null) [java] at org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContaine r.java:102) [java] at org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.jav a:61) [java] at org.ofbiz.base.container.ContainerLoader.loadContainer(Contai nerLoader.java:150) [java] at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader .java:74) [java] at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257) [java] at org.ofbiz.base.start.Start.init(Start.java:96) [java] at org.ofbiz.base.start.Start.main(Start.java:412) [java] javax.naming.CommunicationException [Root exception is java.rmi.Conn ectIOException: Exception creating connection to: 127.0.0.1; nested exception is : [java] java.net.SocketException: Invalid argument or cannot assign requ ested address] [java] at com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryCont ext.java:133) [java] at com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryCont ext.java:138) [java] at javax.naming.InitialContext.rebind(InitialContext.java:363) [java] at org.objectweb.carol.jndi.spi.ContextWrapper.rebind(ContextWra pper.java:185) [java] at javax.naming.InitialContext.rebind(InitialContext.java:363) [java] at org.objectweb.carol.jndi.enc.java.javaURLContext.rebind(javaU RLContext.java:264) [java] at javax.naming.InitialContext.rebind(InitialContext.java:363) [java] at org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContaine r.java:100) [java] at org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.jav a:61) [java] at org.ofbiz.base.container.ContainerLoader.loadContainer(Contai nerLoader.java:150) [java] at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader .java:74) [java] at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257) [java] at org.ofbiz.base.start.Start.init(Start.java:96) [java] at org.ofbiz.base.start.Start.main(Start.java:412) [java] Caused by: java.rmi.ConnectIOException: Exception creating connectio n to: 127.0.0.1; nested exception is: [java] java.net.SocketException: Invalid argument or cannot assign requ ested address [java] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java: 580) [java] at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel. java:185) [java] at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.jav a:171) [java] at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313) [java] at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source) [java] at com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryCont ext.java:131) [java] ... 13 more [java] Caused by: java.net.SocketException: Invalid argument or cannot assi gn requested address [java] at java.net.PlainSocketImpl.socketConnect(Native Method) [java] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) [java] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.jav a:171) [java] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) [java] at java.net.Socket.connect(Socket.java:461) [java] at java.net.Socket.connect(Socket.java:411) [java] at java.net.Socket.<init>(Socket.java:310) [java] at java.net.Socket.<init>(Socket.java:125) [java] at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(R MIDirectSocketFactory.java:22) [java] at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(R MIMasterSocketFactory.java:128) [java] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java: 562) [java] ... 18 more [java] javax.naming.CommunicationException [Root exception is java.rmi.Conn ectIOException: Exception creating connection to: 127.0.0.1; nested exception is : [java] java.net.SocketException: Invalid argument or cannot assign requ ested address] [java] at com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryCont ext.java:133) [java] at com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryCont ext.java:138) [java] at javax.naming.InitialContext.rebind(InitialContext.java:363) [java] at org.objectweb.carol.jndi.spi.ContextWrapper.rebind(ContextWra pper.java:185) [java] at javax.naming.InitialContext.rebind(InitialContext.java:363) [java] at org.objectweb.carol.jndi.enc.java.javaURLContext.rebind(javaU RLContext.java:264) [java] at javax.naming.InitialContext.rebind(InitialContext.java:363) [java] at org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContaine r.java:100) [java] at org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.jav a:61) [java] at org.ofbiz.base.container.ContainerLoader.loadContainer(Contai nerLoader.java:150) [java] at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader .java:74) [java] at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257) [java] at org.ofbiz.base.start.Start.init(Start.java:96) [java] at org.ofbiz.base.start.Start.main(Start.java:412) [java] Caused by: java.rmi.ConnectIOException: Exception creating connectio n to: 127.0.0.1; nested exception is: [java] java.net.SocketException: Invalid argument or cannot assign requ ested address [java] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java: 580) [java] at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel. java:185) [java] at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.jav a:171) [java] at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313) [java] at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source) [java] at com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryCont ext.java:131) [java] ... 13 more [java] Caused by: java.net.SocketException: Invalid argument or cannot assi gn requested address [java] at java.net.PlainSocketImpl.socketConnect(Native Method) [java] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) [java] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.jav a:171) [java] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) [java] at java.net.Socket.connect(Socket.java:461) [java] at java.net.Socket.connect(Socket.java:411) [java] at java.net.Socket.<init>(Socket.java:310) [java] at java.net.Socket.<init>(Socket.java:125) [java] at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(R MIDirectSocketFactory.java:22) [java] at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(R MIMasterSocketFactory.java:128) [java] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java: 562) [java] ... 18 more [java] Java Result: 99 _______________________________________________ Dev mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/dev |
Sounds like something else is already on that port for rmi (1099,
1098), or you run a firewall. Use 'netstat -a' to see what's going on
before starting ofbiz.
Lei Gao wrote: Hi, _______________________________________________ Dev mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/dev |
No, there is no other program running on these two ports, but I do have
the default linux firewall running, I wonder if I should disable the
firewall, cause it is just a local binding, but I am going to give that
a try anyway.
Thanks Lei On 4/13/06, Kurt T. Stam <[hidden email]> wrote:
_______________________________________________ Dev mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/dev |
Lei,
I haven't been following this closely, but remember that you can only bind to 80 and 443 as root in linux. -- Kind Regards Andrew Sykes <[hidden email]> Sykes Development Ltd http://www.sykesdevelopment.com _______________________________________________ Dev mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/dev |
Okay. I will try to reconfigure my firewall.Now the funny thing is my fedora security level GUI crashed, I might reinstall this Fedora version.
Thanks Guys Lei On 4/13/06,
Andrew Sykes <[hidden email]> wrote: Lei, _______________________________________________ Dev mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/dev |
Free forum by Nabble | Edit this page |