Hi everybody,

I want to ask if it is possible to get the YAWL Server running (resourceService started with the startup.bat in the bin folder) without installation.

I will be very grateful for any help.
Thank you.

k.schildt

Wed, 03/12/2014 - 18:55

Hi,

could you give us the reason, why do you want to start it without installation?

The startup.bat file isn't the only thing what you need for the resource service.

Yours sincerely,

Kai Schildt

christian@frei…

Fri, 03/28/2014 - 11:36

A week ago i thought that YAWL would intervene massively into the configuration of the server it is deployed on. This is wrong. A standalone YAWL service can be easily set up, as it seems YAWL is also able to run together with other applications on the same server.

1. provide a running database for the new YAWL engine (e.g. name: yawl, user: yawl, password: yawl)
2.download an apache tomcat server (e.g. from http://tomcat.apache.org/download-70.cgi) an unzip in a directory of Your choice
3. download the YAWL core services from the YAWL download page (e.g. http://sourceforge.net/projects/yawl/files/YAWL%20Engine/Release%203.0b…)
4. unzip the contained wars into the webapps folder of tomcat
5. change the database settings in all hibernate.properties inside the wars (overall 4 of them, not less) according to Your provided database

Do not start tomcat (You will run into memory problems), first do the following:

-create a file named setenv.bat in tomcat bin folder
-insert the following line
-set JAVA_OPTS=-Dfile.encoding=UTF-8-Xms128m -Xmx1024m -XX:PermSize=64m -XX:MaxPermSize=256m
-save file
-create a file named setenv.sh in tomcat bin folder
-insert the following line
-export JAVA_OPTS="-Dfile.encoding=UTF-8 -Xms128m -Xmx1024m -XX:PermSize=64m -XX:MaxPermSize=256m"
-save file

After that You should be able to start the YAWL engine via tomcat startup file. Works on windows and linux.

Source:

https://fredyouhanaie.wordpress.com/2013/09/02/27/
http://www.mkyong.com/tomcat/tomcat-javalangoutofmemoryerror-permgen-sp…