Login  Register

Re: [OFBiz] Users - trouble Compiling on Fedora3

Posted by Ray Barlow on Jul 27, 2005; 6:32am
URL: http://ofbiz.116.s1.nabble.com/OFBiz-Users-trouble-Compiling-on-Fedora3-tp135281p135284.html

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