Ok,
Maybe Stupid but I cannot compile OFbiz on Fedora Core 3. It used to compile fine untill I accidentally left the YUM auto updates on, I know it did not change the JDK because a Java -version reveals JDK-1.4.08 etc. I can get an ant out of it but not an ant run-install. I have the entity config pointing to my DB server which is FC2 and I can run OFbiz just fine on th DB server. It is accepting connections via TCP, I can hit it with phpPgAdmin just fine from this app server, even my old installs won't work when they used to. THANK GOD for the person who wrote log4j! Here is the rather lengthy log when things start to go wrong; file:/home/dale/ofbiz/website/ofbiz-component.xml [java] 2465 (main) [ ComponentContainer.java:209:INFO ] Loading component: [website] [java] 2471 (main) [ ComponentContainer.java:128:INFO ] All components loaded [java] 2535 (main) [ClassLoaderContainer.java:59 :INFO ] CachedClassLoader created [java] 2941 (main) [ Jotm.java:118:INFO ] JOTM started witha local transaction factory which is not bound. [java] 2942 (main) [ Jotm.java:129:INFO ] CAROL initialization [java] 3048 (main) [ Current.java:171:INFO ] Jotm version = 2.0.9 [java] 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(ContainerLoader.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 UserTransaction/TransactionManager to JNDI (null) [java] at org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:102) [java] at org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61) [java] at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.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.ConnectIOException: Exception creating connection to: 127.0.0.1; nested exception is: [java] java.net.SocketException: Invalid argument or cannot assign requested address] [java] at com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:133) [java] at com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:138) [java] at javax.naming.InitialContext.rebind(InitialContext.java:363) [java] at org.objectweb.carol.jndi.spi.ContextWrapper.rebind(ContextWrapper.java:185) [java] at javax.naming.InitialContext.rebind(InitialContext.java:363) [java] at org.objectweb.carol.jndi.enc.java.javaURLContext.rebind(javaURLContext.java:264) [java] at javax.naming.InitialContext.rebind(InitialContext.java:363) [java] at org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:100) [java] at org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61) [java] at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.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 connection to: 127.0.0.1; nested exception is: [java] java.net.SocketException: Invalid argument or cannot assign requested 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.java: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(RegistryContext.java:131) [java] ... 13 more [java] Caused by: java.net.SocketException: Invalid argument or cannot assign 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.java:171) [java] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) [java] at java.net.Socket.connect(Socket.java:452) [java] at java.net.Socket.connect(Socket.java:402) [java] at java.net.Socket.<init>(Socket.java:309) [java] at java.net.Socket.<init>(Socket.java:124) [java] at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22) [java] at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.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 UserTransaction/TransactionManager to JNDI (null) [java] at org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:102) [java] at org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61) [java] at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.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.ConnectIOException: Exception creating connection to: 127.0.0.1; nested exception is: [java] java.net.SocketException: Invalid argument or cannot assign requested address] [java] at com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:133) [java] at com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:138) [java] at javax.naming.InitialContext.rebind(InitialContext.java:363) [java] at org.objectweb.carol.jndi.spi.ContextWrapper.rebind(ContextWrapper.java:185) [java] at javax.naming.InitialContext.rebind(InitialContext.java:363) [java] at org.objectweb.carol.jndi.enc.java.javaURLContext.rebind(javaURLContext.java:264) [java] at javax.naming.InitialContext.rebind(InitialContext.java:363) [java] at org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:100) [java] at org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61) [java] at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.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 connection to: 127.0.0.1; nested exception is: [java] java.net.SocketException: Invalid argument or cannot assign requested 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.java: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(RegistryContext.java:131) [java] ... 13 more [java] Caused by: java.net.SocketException: Invalid argument or cannot assign 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.java:171) [java] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) [java] at java.net.Socket.connect(Socket.java:452) [java] at java.net.Socket.connect(Socket.java:402) [java] at java.net.Socket.<init>(Socket.java:309) [java] at java.net.Socket.<init>(Socket.java:124) [java] at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22) [java] at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.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.ConnectIOException: Exception creating connection to: 127.0.0.1; nested exception is: [java] java.net.SocketException: Invalid argument or cannot assign requested address] [java] at com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:133) [java] at com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:138) [java] at javax.naming.InitialContext.rebind(InitialContext.java:363) [java] at org.objectweb.carol.jndi.spi.ContextWrapper.rebind(ContextWrapper.java:185) [java] at javax.naming.InitialContext.rebind(InitialContext.java:363) [java] at org.objectweb.carol.jndi.enc.java.javaURLContext.rebind(javaURLContext.java:264) [java] at javax.naming.InitialContext.rebind(InitialContext.java:363) [java] at org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:100) [java] at org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61) [java] at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.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 connection to: 127.0.0.1; nested exception is: [java] java.net.SocketException: Invalid argument or cannot assign requested 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.java: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(RegistryContext.java:131) [java] ... 13 more [java] Caused by: java.net.SocketException: Invalid argument or cannot assign 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.java:171) [java] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) [java] at java.net.Socket.connect(Socket.java:452) [java] at java.net.Socket.connect(Socket.java:402) [java] at java.net.Socket.<init>(Socket.java:309) [java] at java.net.Socket.<init>(Socket.java:124) [java] at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22) [java] at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128) [java] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:562) [java] ... 18 more [java] Java Result: 99 BUILD SUCCESSFUL Total time: 11 seconds [dale@localhost ofbiz]$ Obviously not a successfull build, Dale _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users |
looks like this could be similar to problems we (and others) have run into
with iiop protocol init during jotm/carol setup. If the computer can resolve its own hostname (as all should) carol will hang or dump on start. Some versions of the sun jvm have no problem with carol's implementation of the iiop protocol. Jrockit, ibm, and certain sun jvms, no luck. Try removing iiop from iiop.properties (or carol.properties depending on your ofbiz version) as per the ofbiz production setup guide. let us know if this helps. ...... Original Message ....... On Tue, 26 Jul 2005 20:07:13 -0500 (CDT) <[hidden email]> wrote: >Ok, > >Maybe Stupid but I cannot compile OFbiz on Fedora Core 3. >It used to compile fine untill I accidentally left the YUM auto updates >on, I know it did not change the JDK because a Java -version reveals >JDK-1.4.08 etc. > >I can get an ant out of it but not an ant run-install. I have the entity >config pointing to my DB server which is FC2 and I can run OFbiz just fine >on th DB server. It is accepting connections via TCP, I can hit it with >phpPgAdmin just fine from this app server, even my old installs won't work >when they used to. > >THANK GOD for the person who wrote log4j! > >Here is the rather lengthy log when things start to go wrong; > >file:/home/dale/ofbiz/website/ofbiz-component.xml > [java] 2465 (main) [ ComponentContainer.java:209:INFO ] Loading >component: [website] > [java] 2471 (main) [ ComponentContainer.java:128:INFO ] All >components loaded > [java] 2535 (main) [ClassLoaderContainer.java:59 :INFO ] >CachedClassLoader created > [java] 2941 (main) [ Jotm.java:118:INFO ] JOTM started >witha local transaction factory which is not bound. > [java] 2942 (main) [ Jotm.java:129:INFO ] CAROL >initialization > [java] 3048 (main) [ Current.java:171:INFO ] Jotm version >= 2.0.9 > [java] 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(ContainerLoader.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 >UserTransaction/TransactionManager to JNDI (null) > [java] at >org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:102) > [java] at >org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61) > [java] at >org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.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.ConnectIOException: Exception creating connection to: >127.0.0.1; nested exception is: > [java] java.net.SocketException: Invalid argument or cannot >assign requested address] > [java] at >com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:133) > [java] at >com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:138) > [java] at >javax.naming.InitialContext.rebind(InitialContext.java:363) > [java] at >org.objectweb.carol.jndi.spi.ContextWrapper.rebind(ContextWrapper.java:185) > [java] at >javax.naming.InitialContext.rebind(InitialContext.java:363) > [java] at >org.objectweb.carol.jndi.enc.java.javaURLContext.rebind(javaURLContext.java:264) > [java] at >javax.naming.InitialContext.rebind(InitialContext.java:363) > [java] at >org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:100) > [java] at >org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61) > [java] at >org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.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: Ex _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users |
In reply to this post by dkey
You might find some clues in /var/log/yum.log as to what was installed.
Also have a go with "netstat -an" to see if anything is already running on the required ports. Ray [hidden email] wrote: >Ok, > >Maybe Stupid but I cannot compile OFbiz on Fedora Core 3. >It used to compile fine untill I accidentally left the YUM auto updates >on, I know it did not change the JDK because a Java -version reveals >JDK-1.4.08 etc. > >I can get an ant out of it but not an ant run-install. I have the entity >config pointing to my DB server which is FC2 and I can run OFbiz just fine >on th DB server. It is accepting connections via TCP, I can hit it with >phpPgAdmin just fine from this app server, even my old installs won't work >when they used to. > >THANK GOD for the person who wrote log4j! > >Here is the rather lengthy log when things start to go wrong; > >file:/home/dale/ofbiz/website/ofbiz-component.xml > [java] 2465 (main) [ ComponentContainer.java:209:INFO ] Loading >component: [website] > [java] 2471 (main) [ ComponentContainer.java:128:INFO ] All >components loaded > [java] 2535 (main) [ClassLoaderContainer.java:59 :INFO ] >CachedClassLoader created > [java] 2941 (main) [ Jotm.java:118:INFO ] JOTM started >witha local transaction factory which is not bound. > [java] 2942 (main) [ Jotm.java:129:INFO ] CAROL >initialization > [java] 3048 (main) [ Current.java:171:INFO ] Jotm version >= 2.0.9 > [java] 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(ContainerLoader.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 >UserTransaction/TransactionManager to JNDI (null) > [java] at >org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:102) > [java] at >org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61) > [java] at >org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.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.ConnectIOException: Exception creating connection to: >127.0.0.1; nested exception is: > [java] java.net.SocketException: Invalid argument or cannot >assign requested address] > [java] at >com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:133) > [java] at >com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:138) > [java] at >javax.naming.InitialContext.rebind(InitialContext.java:363) > [java] at >org.objectweb.carol.jndi.spi.ContextWrapper.rebind(ContextWrapper.java:185) > [java] at >javax.naming.InitialContext.rebind(InitialContext.java:363) > [java] at >org.objectweb.carol.jndi.enc.java.javaURLContext.rebind(javaURLContext.java:264) > [java] at >javax.naming.InitialContext.rebind(InitialContext.java:363) > [java] at >org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:100) > [java] at >org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61) > [java] at >org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.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 >connection to: 127.0.0.1; nested exception is: > [java] java.net.SocketException: Invalid argument or cannot >assign requested 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.java: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(RegistryContext.java:131) > [java] ... 13 more > [java] Caused by: java.net.SocketException: Invalid argument or >cannot assign 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.java:171) > [java] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) > [java] at java.net.Socket.connect(Socket.java:452) > [java] at java.net.Socket.connect(Socket.java:402) > [java] at java.net.Socket.<init>(Socket.java:309) > [java] at java.net.Socket.<init>(Socket.java:124) > [java] at >sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22) > [java] at >sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.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 >UserTransaction/TransactionManager to JNDI (null) > [java] at >org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:102) > [java] at >org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61) > [java] at >org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.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.ConnectIOException: Exception creating connection to: >127.0.0.1; nested exception is: > [java] java.net.SocketException: Invalid argument or cannot >assign requested address] > [java] at >com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:133) > [java] at >com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:138) > [java] at >javax.naming.InitialContext.rebind(InitialContext.java:363) > [java] at >org.objectweb.carol.jndi.spi.ContextWrapper.rebind(ContextWrapper.java:185) > [java] at >javax.naming.InitialContext.rebind(InitialContext.java:363) > [java] at >org.objectweb.carol.jndi.enc.java.javaURLContext.rebind(javaURLContext.java:264) > [java] at >javax.naming.InitialContext.rebind(InitialContext.java:363) > [java] at >org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:100) > [java] at >org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61) > [java] at >org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.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 >connection to: 127.0.0.1; nested exception is: > [java] java.net.SocketException: Invalid argument or cannot >assign requested 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.java: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(RegistryContext.java:131) > [java] ... 13 more > [java] Caused by: java.net.SocketException: Invalid argument or >cannot assign 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.java:171) > [java] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) > [java] at java.net.Socket.connect(Socket.java:452) > [java] at java.net.Socket.connect(Socket.java:402) > [java] at java.net.Socket.<init>(Socket.java:309) > [java] at java.net.Socket.<init>(Socket.java:124) > [java] at >sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22) > [java] at >sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.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.ConnectIOException: Exception creating connection to: >127.0.0.1; nested exception is: > [java] java.net.SocketException: Invalid argument or cannot >assign requested address] > [java] at >com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:133) > [java] at >com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:138) > [java] at >javax.naming.InitialContext.rebind(InitialContext.java:363) > [java] at >org.objectweb.carol.jndi.spi.ContextWrapper.rebind(ContextWrapper.java:185) > [java] at >javax.naming.InitialContext.rebind(InitialContext.java:363) > [java] at >org.objectweb.carol.jndi.enc.java.javaURLContext.rebind(javaURLContext.java:264) > [java] at >javax.naming.InitialContext.rebind(InitialContext.java:363) > [java] at >org.ofbiz.jotm.container.JotmContainer.startJotm(JotmContainer.java:100) > [java] at >org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61) > [java] at >org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.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 >connection to: 127.0.0.1; nested exception is: > [java] java.net.SocketException: Invalid argument or cannot >assign requested 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.java: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(RegistryContext.java:131) > [java] ... 13 more > [java] Caused by: java.net.SocketException: Invalid argument or >cannot assign 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.java:171) > [java] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) > [java] at java.net.Socket.connect(Socket.java:452) > [java] at java.net.Socket.connect(Socket.java:402) > [java] at java.net.Socket.<init>(Socket.java:309) > [java] at java.net.Socket.<init>(Socket.java:124) > [java] at >sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22) > [java] at >sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128) > [java] at >sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:562) > [java] ... 18 more > [java] Java Result: 99 > >BUILD SUCCESSFUL >Total time: 11 seconds >[dale@localhost ofbiz]$ > >Obviously not a successfull build, > >Dale > >_______________________________________________ >Users mailing list >[hidden email] >http://lists.ofbiz.org/mailman/listinfo/users > > > _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users |
In reply to this post by dkey
hi,
the instant solution for your problem is to revert from kernel version kernel-2.6.12-1.1372_FC3 back to kernel-2.6.11-1.35_FC3. if it is still/already there, you only need to change grub.conf to start from it, otherwise download it and rpm --force to install it. not only jotm has a problem to start under 2.6.12, but eclipse connecting to remote sites too... so it is networking related! regards, md. On Wed, 2005-07-27 at 05:22 -0400, Ray <[hidden email]> wrote: > You might find some clues in /var/log/yum.log as to what was > installed. > > Also have a go with "netstat -an" to see if anything is already > running > on the required ports. > > Ray > > > [hidden email] wrote: > > >Ok, > > > >Maybe Stupid but I cannot compile OFbiz on Fedora Core 3. > >It used to compile fine untill I accidentally left the YUM auto > updates > >on, I know it did not change the JDK because a Java -version reveals > >JDK-1.4.08 etc. > > > >I can get an ant out of it but not an ant run-install. I have the > entity > >config pointing to my DB server which is FC2 and I can run OFbiz just > fine > >on th DB server. It is accepting connections via TCP, I can hit it > with > >phpPgAdmin just fine from this app server, even my old installs won't > work > >when they used to. > > > >THANK GOD for the person who wrote log4j! > > > >Here is the rather lengthy log when things start to go wrong; > > > >file:/home/dale/ofbiz/website/ofbiz-component.xml > > [java] 2465 (main) [ ComponentContainer.java:209:INFO ] Loading > >component: [website] > > [java] 2471 (main) [ ComponentContainer.java:128:INFO ] All > >components loaded > > [java] 2535 (main) [ClassLoaderContainer.java:59 :INFO ] > >CachedClassLoader created > > [java] 2941 (main) [ Jotm.java:118:INFO ] JOTM > started > >witha local transaction factory which is not bound. > > [java] 2942 (main) [ Jotm.java:129:INFO ] CAROL > >initialization > > [java] 3048 (main) [ Current.java:171:INFO ] Jotm > version > >= 2.0.9 > > [java] 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 > (ContainerLoader.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 > >UserTransaction/TransactionManager to JNDI (null) > > [java] at > >org.ofbiz.jotm.container.JotmContainer.startJotm > (JotmContainer.java:102) > > [java] at > >org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61) > > [java] at > >org.ofbiz.base.container.ContainerLoader.loadContainer > (ContainerLoader.java:150) > > [java] at > >org.ofbiz.base.container.ContainerLoader.load > (ContainerLoader.java:74) _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users |
I've now tested on another machine running kernel-2.6.12-1.1372_FC3 with
all the latest yum patches and it works fine for me. That is using a new unmodified checkout of latest SVN and doing just ant run-install then starting the startofbiz.sh. JVM - Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03) Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode) This is with out KDE or Gnome just XFCE on the machine, although I'm running a remote browser to test the site. The title of this thread is misleading as you are getting a runtime error not a compile error. Try typing just "ant" and you should see build successful. At runtime it is failing to bind to a port and that is probably because something else has already got it, check out the "netstat -an" results to see what is running already on what ports, maybe post the results if you need further help. Ray Manuel Desdin wrote: >hi, >the instant solution for your problem is to revert from kernel version >kernel-2.6.12-1.1372_FC3 back to kernel-2.6.11-1.35_FC3. if it is >still/already there, you only need to change grub.conf to start from it, >otherwise download it and rpm --force to install it. >not only jotm has a problem to start under 2.6.12, but eclipse >connecting to remote sites too... so it is networking related! >regards, md. > >On Wed, 2005-07-27 at 05:22 -0400, Ray <[hidden email]> >wrote: > > > >>You might find some clues in /var/log/yum.log as to what was >>installed. >> >>Also have a go with "netstat -an" to see if anything is already >>running >>on the required ports. >> >>Ray >> >> >>[hidden email] wrote: >> >> >> >>>Ok, >>> >>>Maybe Stupid but I cannot compile OFbiz on Fedora Core 3. >>>It used to compile fine untill I accidentally left the YUM auto >>> >>> >>updates >> >> >>>on, I know it did not change the JDK because a Java -version reveals >>>JDK-1.4.08 etc. >>> >>>I can get an ant out of it but not an ant run-install. I have the >>> >>> >>entity >> >> >>>config pointing to my DB server which is FC2 and I can run OFbiz just >>> >>> >>fine >> >> >>>on th DB server. It is accepting connections via TCP, I can hit it >>> >>> >>with >> >> >>>phpPgAdmin just fine from this app server, even my old installs won't >>> >>> >>work >> >> >>>when they used to. >>> >>>THANK GOD for the person who wrote log4j! >>> >>>Here is the rather lengthy log when things start to go wrong; >>> >>>file:/home/dale/ofbiz/website/ofbiz-component.xml >>> [java] 2465 (main) [ ComponentContainer.java:209:INFO ] Loading >>>component: [website] >>> [java] 2471 (main) [ ComponentContainer.java:128:INFO ] All >>>components loaded >>> [java] 2535 (main) [ClassLoaderContainer.java:59 :INFO ] >>>CachedClassLoader created >>> [java] 2941 (main) [ Jotm.java:118:INFO ] JOTM >>> >>> >>started >> >> >>>witha local transaction factory which is not bound. >>> [java] 2942 (main) [ Jotm.java:129:INFO ] CAROL >>>initialization >>> [java] 3048 (main) [ Current.java:171:INFO ] Jotm >>> >>> >>version >> >> >>>= 2.0.9 >>> [java] 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 >>> >>> >>(ContainerLoader.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 >> >> >>>UserTransaction/TransactionManager to JNDI (null) >>> [java] at >>>org.ofbiz.jotm.container.JotmContainer.startJotm >>> >>> >>(JotmContainer.java:102) >> >> >>> [java] at >>>org.ofbiz.jotm.container.JotmContainer.init(JotmContainer.java:61) >>> [java] at >>>org.ofbiz.base.container.ContainerLoader.loadContainer >>> >>> >>(ContainerLoader.java:150) >> >> >>> [java] at >>>org.ofbiz.base.container.ContainerLoader.load >>> >>> >>(ContainerLoader.java:74) >> >> > > >_______________________________________________ >Users mailing list >[hidden email] >http://lists.ofbiz.org/mailman/listinfo/users > > > _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users |
Free forum by Nabble | Edit this page |