[OFBiz] Users - startup scripts for ofbiz and maxdb75

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

[OFBiz] Users - startup scripts for ofbiz and maxdb75

Thomas Andersson
Hi,

Here are some samples scripts to start Maxdb75 and Ofbiz under Suse (working with Suse 9.1pro, 9.3pro, SLES9).

The file maxdb need to be put in /etc/sysconfig so you can define more than one instance to load at system bootup in a simpliest way.(rights for this file need to be set manually : rw-------      root     root).

The maxdbweb file is coming from mysql original script and don't need to be modified.

The maxdb75 script is coming from the original sapdb script from Suse and works well to start multiple instance from sysconfig.

The ofbiz script can start corectly Ofbiz but generate the following output error when you stop it:

Stopping OFBiz: Exception in thread "main" java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
        at java.net.Socket.connect(Socket.java:452)
        at java.net.Socket.connect(Socket.java:402)
        at java.net.Socket.<init>(Socket.java:309)
        at java.net.Socket.<init>(Socket.java:153)
        at org.ofbiz.base.start.Start.sendSocketCommand(Start.java:354)
        at org.ofbiz.base.start.Start.shutdown(Start.java:338)
        at org.ofbiz.base.start.Start.main(Start.java:400)
                                                                     failed

I don't have any solutions for this problem at this time.

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

maxdb (598 bytes) Download Attachment
maxdb75 (3K) Download Attachment
maxdbweb (3K) Download Attachment
ofbiz (6K) Download Attachment