Hi
I have recently had a client “accidentally” upgrade the server from 2.27 to 2.28.
we initially could not start developer or the servoy service after the update.
I have copied the new wrapper.conf and servoy_server.bat files into the servoy folder and edited the files as suggested.
We can start the servoy service but cannot log into the server admin tool. The service says it has started. We also cannot start developer.
Any ideas on what is going on, alternative is a reinstall.
Server.bat
@echo off
:restart
rem To enable logging change ‘java’ into ‘java -DSTACKTRACE=true’
java -Djava.awt.headless=true -Xmx256m -Xms64m -classpath .;lib\commons-collections.jar;lib\commons-dbcp.jar;lib\commons-pool.jar;lib\activation.jar;lib\antlr.jar;lib\j2db.jar;lib\j2dbdev.jar;lib\compat141.jar;lib\jndi.jar;lib\js.jar;lib\jta.jar;lib\mail.jar;lib\jug.jar;lib\jdbc2_0-stdext.jar;lib\naming-common.jar;lib\naming-resources.jar;lib\servlet.jar;lib\xerces.jar;lib\server-bootstrap.jar;lib\commons-fileupload-1.0.jar;lib\commons-logging.jar;lib\hibernate2.jar;lib\concurrent.jar com.servoy.j2db.server.ApplicationServer %1 %2 %3 %4 %5 %6 %7 %8 %9
rem loaded by tomcat it self: server\lib\catalina.jar;server\lib\jakarta-regexp-1.2.jar;server\lib\jasper-compiler.jar;server\lib\jasper-runtime.jar;server\lib\naming-factory.jar;server\lib\servlets-common.jar;server\lib\servlets-default.jar;server\lib\servlets-invoker.jar;server\lib\servlets-manager.jar;server\lib\servlets-snoop.jar;server\lib\servlets-webdav.jar;server\lib\tomcat-ajp.jar;server\lib\tomcat-util.jar;server\lib\warp.jar
rem restart if the server exited with the restart exit code 99
if errorlevel 99 goto restart
wrapper.conf
#********************************************************************
Wrapper Properties
#********************************************************************
Java Application
wrapper.java.command=java
Java Main class
wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp
Application parameters. Add parameters as needed starting from 1
wrapper.app.parameter.1=com.servoy.j2db.server.ApplicationServer
Java Classpath (include wrapper.jar) Add class path elements as needed starting from 1
wrapper.java.classpath.1=.
wrapper.java.classpath.2=service\wrapper.jar
wrapper.java.classpath.3=lib\commons-collections.jar
wrapper.java.classpath.4=lib\commons-dbcp.jar
wrapper.java.classpath.5=lib\commons-pool.jar
wrapper.java.classpath.6=lib\activation.jar
wrapper.java.classpath.7=lib\antlr.jar
wrapper.java.classpath.8=lib\j2db.jar
wrapper.java.classpath.9=lib\j2dbdev.jar
wrapper.java.classpath.10=lib\compat141.jar
wrapper.java.classpath.11=lib\jndi.jar
wrapper.java.classpath.12=lib\js.jar
wrapper.java.classpath.13=lib\jta.jar
wrapper.java.classpath.14=lib\mail.jar
wrapper.java.classpath.15=lib\jug.jar
wrapper.java.classpath.16=lib\jdbc2_0-stdext.jar
wrapper.java.classpath.17=lib\naming-common.jar
wrapper.java.classpath.18=lib\naming-resources.jar
wrapper.java.classpath.19=lib\servlet.jar
wrapper.java.classpath.20=lib\xerces.jar
wrapper.java.classpath.21=lib\server-bootstrap.jar
wrapper.java.classpath.22=lib\commons-fileupload-1.0.jar
wrapper.java.classpath.23=lib\commons-logging.jar
wrapper.java.classpath.24=lib\hibernate2.jar
wrapper.java.classpath.25=lib\concurrent.jar
Java Library Path (location of Wrapper.DLL or libwrapper.so)
wrapper.java.library.path.1=C:\Program Files\Servoy\Service
Java Additional Parameters
wrapper.java.additional.1=-Djava.awt.headless=true
wrapper.java.additional.2=-Duser.dir=“C:\Program Files\Servoy”
Initial Java Heap Size (in MB)
wrapper.java.initmemory=3
Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=256
Port which the native wrapper code will attempt to connect to
wrapper.port=1777
wrapper.on_exit.default=RESTART
wrapper.on_exit.0=SHUTDOWN
wrapper.jvm_exit.timeout=60
#********************************************************************
Wrapper Logging Properties
#********************************************************************
Format of output for the console. (See docs for formats)
wrapper.console.format=PM
Log Level for console output. (See docs for log levels)
wrapper.console.loglevel=INFO
Log file to use for wrapper output logging.
wrapper.logfile=….service_log.txt
Format of output for the log file. (See docs for formats)
wrapper.logfile.format=LPTM
Log Level for log file output. (See docs for log levels)
wrapper.logfile.loglevel=INFO
Maximum size that the log file will be allowed to grow to before
the log is rolled. Size is specified in bytes. The default value
of 0, disables log rolling. May abbreviate with the ‘k’ (kb) or
‘m’ (mb) suffix. For example: 10m = 10 megabytes.
wrapper.logfile.maxsize=0
Maximum number of rolled log files which will be allowed before old
files are deleted. The default value of 0 implies no limit.
wrapper.logfile.maxfiles=0
Log Level for sys/event log output. (See docs for log levels)
wrapper.syslog.loglevel=FATAL
#********************************************************************
Wrapper NT Service Properties
#********************************************************************
WARNING - Do not modify any of these properties when an application
using this configuration file has been installed as a service.
Please uninstall the service before modifying this section. The
service can then be reinstalled.
Name of the service
wrapper.ntservice.name=ServoyService
Display name of the service
wrapper.ntservice.displayname=Servoy Application Server
Description of the service
wrapper.ntservice.description=Servoy Application Server
Service dependencies. Add dependencies as needed starting from 1
wrapper.ntservice.dependency.1=
Mode in which the service is installed. AUTO_START or DEMAND_START
wrapper.ntservice.starttype=DEMAND_START
Priority at which the service is run. NORMAL, LOW, HIGH, or
REALTIME
wrapper.ntservice.process_priority=NORMAL
Allow the service to interact with the desktop.
wrapper.ntservice.interactive=false
Using MySQL 5.027 for repository and data
Windows XP ![Crying or Very sad :cry:]()