Installation - start server error (5 posts)

Stonepipe
Member
Posted 1031 days ago #
Hi,

I have downloaded: https://sourceforge.net/projects/floreantpos/files/floreantpos-1.0_3.zip/download

I am following the steps on this page:

http://floreantpos.com/guide

which on step two indicates I should run 'start server'
when I run the start-server.bat I get this error (and have no idea what to do from here):

if anyone could help point me in the right direction that would be very appreciated

java -
cp libderby.jar;libderbynet.jar org.apache.derby.drda.NetworkServerControl sta
rt -h localhost -p 1527
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/derby/drda
/NetworkServerControl
Caused by: java.lang.ClassNotFoundException: org.apache.derby.drda.NetworkServer
Control
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: org.apache.derby.drda.NetworkServerControl. Prog
ram will exit.

Toiu
Member
Posted 852 days ago #
i0m getting a similar error... and i'm a newby.... did you manage to resolve?
Goddard
Member
Posted 833 days ago #
http://floreantpos.com/support/topic/cant-start-server-on-os-x
Emmy
Member
Posted 823 days ago #
I have this command to start the server:

java -cp ./lib/derbynet.jar org.apache.derby.drda.NetworkServerControl start -h localhost -p 1527

you have to cd into FloreantPOS' direactory (where the start-server.sh file is), and issue the command there.

My classpath settings seems to be a little bit different, they might work for you too.

Cheers,
Emmy
Kelvin Left
Member
Posted 760 days ago #
The default .sh is in MS-DOS format. By removing the in the end of lines, the shell script will work.