Login  Register

Re: [OFBiz] Users - trouble Compiling on Fedora3

Posted by Alex Schmelkin on Jul 27, 2005; 2:53am
URL: http://ofbiz.116.s1.nabble.com/OFBiz-Users-trouble-Compiling-on-Fedora3-tp135281p135285.html

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