Server not starting up

Forum to discuss the Web client version of Servoy.

Server not starting up

Postby david » Sun Jan 15, 2006 11:32 pm

I can't get Servoy server to start up on 3.0. Is this a known problem?
David Workman, Kabootit

Image
Everything you need to build great apps with Servoy
User avatar
david
 
Posts: 1727
Joined: Thu Apr 24, 2003 4:18 pm
Location: Washington, D.C.

Postby Westy » Mon Jan 16, 2006 12:22 am

I have been told to add a third parameter in the wrapper.conf file like this:
Code: Select all
# 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.
Westy
 
Posts: 852
Joined: Fri Feb 13, 2004 5:27 am
Location: Lynnfield, Massachusetts USA

Postby Harjo » Mon Jan 16, 2006 12:33 am

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!
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Postby david » Mon Jan 16, 2006 3:46 am

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.<init>(StandardServer.java:94)

etc...
David Workman, Kabootit

Image
Everything you need to build great apps with Servoy
User avatar
david
 
Posts: 1727
Joined: Thu Apr 24, 2003 4:18 pm
Location: Washington, D.C.

Postby Harjo » Mon Jan 16, 2006 9:04 am

which java version are you using?
which platform?
Do you start servoyserver by Services? or by the commandfile?
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Postby david » Mon Jan 16, 2006 2:05 pm

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"
David Workman, Kabootit

Image
Everything you need to build great apps with Servoy
User avatar
david
 
Posts: 1727
Joined: Thu Apr 24, 2003 4:18 pm
Location: Washington, D.C.

Postby Harjo » Mon Jan 16, 2006 2:08 pm

oke, if you use java 1.4 you have to add this line:

Code: Select all
-Djava.security.policy="./server/conf/catalina.policy"


to your servoy_server.sh
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Postby david » Mon Jan 16, 2006 2:20 pm

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
David Workman, Kabootit

Image
Everything you need to build great apps with Servoy
User avatar
david
 
Posts: 1727
Joined: Thu Apr 24, 2003 4:18 pm
Location: Washington, D.C.

Postby ROCLASI » Mon Jan 16, 2006 3:31 pm

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)
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Postby ngervasi » Mon Jan 16, 2006 5:13 pm

david wrote: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 ;)
Nicola Gervasi
sintpro.com
SAN Partner
ngervasi
 
Posts: 1485
Joined: Tue Dec 21, 2004 12:47 pm
Location: Arezzo, Italy

Postby troy » Sun Jan 22, 2006 11:21 pm

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)
Troy Elliott, Data Mosaic

Image
Everything you need to build great apps with Servoy
U.S. demo server
Blog: Coding Nomad
User avatar
troy
 
Posts: 27
Joined: Fri Oct 24, 2003 8:49 pm
Location: Washington, DC


Return to Servoy Web Client

Who is online

Users browsing this forum: No registered users and 5 guests

cron