I can’t get Servoy server to start up on 3.0. Is this a known problem?
I have been told to add a third parameter in the wrapper.conf file like this:
# Java Additional Parameters
wrapper.java.additional.1=-Djava.awt.headless=true
wrapper.java.additional.2=-Duser.dir="C:\Program Files\Agency Anywhere"
wrapper.java.additional.3=-Djava.security.policy="./server/conf/catalina.policy"
However, it is still not working for me. Please let me know if it works for you.
The last line is only needed when you use java 1.4 on the server.
I have Servoy 3.0 up &running on one of our servers.
Can you tell me what the errors are?
what’s in your log-file?
btw: we first made a mistake by installing the 3.0 version over en excisting 2.2 version. This is nog allowed! Install it clean!
Looks like it may be a mac thing. Got a fresh install working on a PC no problems.
Here’s the error:
[main] - startElement(,Server)
[main] - Pushing body text ‘’
[main] - New match=‘Server’
[main] - Fire begin() for ObjectCreateRule[className=org.apache.catalina.core.StandardServer, attributeName=className]
[main] - [ObjectCreateRule]{Server}New org.apache.catalina.core.StandardServer
[main] - Begin event threw error
java.lang.NoClassDefFoundError: org/apache/naming/TransactionRef
at org.apache.catalina.core.StandardServer.(StandardServer.java:94)etc…
which java version are you using?
which platform?
Do you start servoyserver by Services? or by the commandfile?
1/ Mac OS 10.4.3 Server software. (Considering what the 10.4.4 update did to one of my desktops last week I am not about to update it.)
2/ I have the Java preferences set to use Java 5.0. However, typing Java -version in the command line shows Java 1.4.2.
3/ I am using the command line to start Servoy server: “./servoy_server.sh”
oke, if you use java 1.4 you have to add this line:
-Djava.security.policy="./server/conf/catalina.policy"
to your servoy_server.sh
Added the line. Still throwing this error:
[main] - Fire begin() for ObjectCreateRule[className=org.apache.catalina.core.StandardServer, attributeName=className]
[main] - [ObjectCreateRule]{Server}New org.apache.catalina.core.StandardServer
[main] - Begin event threw error
I see the same thing running Servoy 3.0 as server.
Also when running Developer I can’t access the webserver.
Testing the HttpService in the Preferences of Developer makes the test hang.
Servoy Developer
Version 3.0a13-build 361
Java version 1.4.2-54 (Mac OS X)
david:
2/ I have the Java preferences set to use Java 5.0. However, typing Java -version in the command line shows Java 1.4.2.
Try to use Java 5 by changing the symbolic link pointing to it, the GUI panel doesn’t affect shell applications. I can’t remember the details on the symlink but Google is your friend
Has anybody had any luck with getting server to launch under OS X at all? All suggestions given here have been tried and it still fails at this point:
[main] - startElement(,Server)
[main] - Pushing body text ‘’
[main] - New match=‘Server’
[main] - Fire begin() for ObjectCreateRule[className=org.apache.catalina.core.StandardServer, attributeName=className]
[main] - [ObjectCreateRule]{Server}New org.apache.catalina.core.StandardServer
[main] - Begin event threw error
the latest alpha (13) running on Java version 1.5.0_05-83 (Mac OS X)