[OFBiz] Users - startup scripts for ofbiz and maxdb75

Thomas Andersson tandersson at nrj.ch
Sun Sep 4 10:39:46 EDT 2005


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...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: maxdb
Type: application/octet-stream
Size: 436 bytes
Desc: not available
Url : http://lists.ofbiz.org/pipermail/users/attachments/20050904/e5e67ea5/maxdb.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: maxdb75
Type: application/octet-stream
Size: 2333 bytes
Desc: not available
Url : http://lists.ofbiz.org/pipermail/users/attachments/20050904/e5e67ea5/maxdb75.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: maxdbweb
Type: application/octet-stream
Size: 2429 bytes
Desc: not available
Url : http://lists.ofbiz.org/pipermail/users/attachments/20050904/e5e67ea5/maxdbweb.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ofbiz
Type: application/octet-stream
Size: 4989 bytes
Desc: not available
Url : http://lists.ofbiz.org/pipermail/users/attachments/20050904/e5e67ea5/ofbiz.obj


More information about the Users mailing list