Users - Problems with a new install

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Users - Problems with a new install

Dave Slusher
I'm trying to get a install of OFB running on a new server box. I'm  
having no end of troubles just getting it to run enough to do the  
initial install.  This is on a freshly installed Fedora Core box that  
has very little cruft. The OFB version is the current head from SVN.

I'm getting some variation of this exception:

      [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.j
ava:152)
      [java]     at  
org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74)
...
      [java] javax.naming.CommunicationException [Root exception is  
java.rmi.ConnectIOException: Exception creating connection to:  
192.168.1.11; 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)


I got this exception when using 127.0.0.1. I tried changing those over  
to the actual address of the NIC and the same exception occurs. This is  
NOT caused by something else having the port. Netstat shows it clear,  
and in fact I wrote a perl script to bind to 1099 and I can connect to  
that when I do, so it isn't already bound or prevented by the firewall.  
I've been digging through OFB docs and googling on this for a long time  
and am at a loss at this point. It seems like I'm far from the first to  
have this issue the resolutions I've seen (make sure the port is open,  
make sure the name can be resolved in /etc/hosts) are not rectifying  
the issue. Does anyone have any insight?

d

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - Problems with a new install

David E. Jones

You might want to look at this:

http://ofbizwiki1.go-integral.com/Wiki.jsp?page=UsingRMI

This may or may not be related, but is always suspect when there are  
RMI problem on Linux.

-David


On Nov 30, 2005, at 3:02 PM, Dave Slusher wrote:

> I'm trying to get a install of OFB running on a new server box. I'm  
> having no end of troubles just getting it to run enough to do the  
> initial install.  This is on a freshly installed Fedora Core box  
> that has very little cruft. The OFB version is the current head  
> from SVN.
>
> I'm getting some variation of this exception:
>
>      [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] javax.naming.CommunicationException [Root exception is  
> java.rmi.ConnectIOException: Exception creating connection to:  
> 192.168.1.11; 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)
>
>
> I got this exception when using 127.0.0.1. I tried changing those  
> over to the actual address of the NIC and the same exception  
> occurs. This is NOT caused by something else having the port.  
> Netstat shows it clear, and in fact I wrote a perl script to bind  
> to 1099 and I can connect to that when I do, so it isn't already  
> bound or prevented by the firewall. I've been digging through OFB  
> docs and googling on this for a long time and am at a loss at this  
> point. It seems like I'm far from the first to have this issue the  
> resolutions I've seen (make sure the port is open, make sure the  
> name can be resolved in /etc/hosts) are not rectifying the issue.  
> Does anyone have any insight?
>
> d
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users

smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Users - Newbie: Can't Solve "Can't Get XAConnection" Problem

Vinay Agarwal
Hello,

I have spent about a week trying to fix "Can't get XAConnection" problem.
For this, I have tried PostgreSQL as well as MySQL. I have tried windows
xp/sp2 and suse 10.0. I have tried to follow instructions in "Basic OFBiz
Production Setup" as faithfully as possible and still can't get rid of that
problem.

Could someone send me a sample entityengine.xml and data base configuration
files (for any free database--I am willing to try them all) so that I can
get past this problem. Thank you very much.

Regards,
Vinay Agarwal

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - Newbie: Can't Solve "Can't Get XAConnection" Problem

Si Chen-2
These instructions should work for the SVN version of OFBiz as well as
the Sequoia ERP stable release:

http://sequoiaerp.org/index.php?option=com_content&task=blogcategory&id=36&Itemid=62

We just tried them out again yesterday ourselves.

Si

Vinay Agarwal wrote:

>Hello,
>
>I have spent about a week trying to fix "Can't get XAConnection" problem.
>For this, I have tried PostgreSQL as well as MySQL. I have tried windows
>xp/sp2 and suse 10.0. I have tried to follow instructions in "Basic OFBiz
>Production Setup" as faithfully as possible and still can't get rid of that
>problem.
>
>Could someone send me a sample entityengine.xml and data base configuration
>files (for any free database--I am willing to try them all) so that I can
>get past this problem. Thank you very much.
>
>Regards,
>Vinay Agarwal
>
>
>_______________________________________________
>Users mailing list
>[hidden email]
>http://lists.ofbiz.org/mailman/listinfo/users
>
>  
>
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users