Hi,
I am new to Yawl. I have successfully installed the Yawl and is able to start YAWL engine and YAWL editor. But while I hit http://localhost:8080/resourceService/faces/Login.jsp, the only error I can see is Unable To Connect. localhost:8080 is not showing the tomcat home page as well. Logon button is also disabled in Yawl Control Panel.
It seems that tomcat service is not started by default with the Yawl engine.
Can any one suggest what should I do?
Tomcat
Which version of YAWL are you using? What is your operating system?
Which version of JAVA do you have installed?
Is there another tomcat running on your machine?
Tomcat
Yawl version: YAWL-3.0-windows-installer
Operating systems: Windows 8.1 / Windows 7 (Tried on both OS on different machines)
Java Version on windows 8 machine: Oracle/Sun 1.7.0 64-bit C:/Program Files/Java/jdk1.7.0_71/jre/bin/java.exe
Xampp is also installed on both machines which has Apache and Tomcat services but tomcat service is stopped on Xampp. I have also stopped IIS and Apache on my machine.
I have un-istalled the xampp now and have re-installed the Yawl but same issue. Control Panel is only showing 'Engine is Starting' in yellow color and I am still unable to access tomcat:8080. Logon button is still disabled on control panel.
Tomcat
Hi there,
is there any solution on that issue? I have the same problem...
Thx,
-Clemens
re: Tomcat
Try downloading the latest version of the control panel jar from:
http://sourceforge.net/projects/yawl/files/updatecache/engine/controlpa…
Replace the one in <your yawl folder>/controlpanel and see if that goes any better. Please let us know if that resolves the issue.
re: Tomcat
Also, make sure you have installed YAWL in a folder that doesn't require admin permissions - ideally in your home folder.
Hello,
Hello,
it doenst work with the new Controlepanel jar file.
But i found a way to start the Engine.
1)First i try to start the "startup.bat" and i get this on my screen:
"The JRE_HOME environment variable is not defined correctly. This environment variable is needed to run this program."
2)I add this lines in the startup.bat (YAWL-3.0\engine\apache-tomcat-7.0.55\bin , open it with Notepad and change the XXX text part with your path ):
SET JRE_HOME=C:\Program Files\Java\jdk1.8.0_25\jre
SET CATALINA_HOME=C:\Users\xxx\Documents\YAWL-3.0\engine\apache-tomcat-7.0.55
SET TCPORT=8080
SET CHECKPORTRESULT_FILE=C:\Users\XXXX\AppData\Local\Temp\chckprtrslt
"%JRE_HOME%\bin\java.exe" -cp "%MISC_PATH%" CheckPort %TCPORT% > "%CHECKPORTRESULT_FILE%"
SET /p TC_LISTEN= < "%CHECKPORTRESULT_FILE%"
DEL "%CHECKPORTRESULT_FILE%"
3) Now start the YAWL 3.0 Control Panel an click on "Start" (its still staying "Engine is Starting" in yellow
4) If you start now the "Startup.bat"
Tomcat
@Michael Adams, I downloaded the latest version of control panel jar,but It didn't work.
@Ucayan2s, your solution works for me. Thank you so much.
Some more command should be added to automatically start and stop engine with control panel. Preference check boxes are currently no working for start/stop engine automatically.
what it worked for me...
Hi,
I tried the solutions above, but they didn't work for me...
I had different versions of JRE installed on my Windows 7 notebook.
I uninstalled any version of JRE, rebooted, then installed the last version of JRE (1.8.0_31).
The file setenv.bat is missing in the Catalina home directory
(C:\Users\XXX\Documents\YAWL-3.0\engine\apache-tomcat-7.0.55\bin)
while is present the file setenv.sh.
I created the file setenv.bat:
--- setenv.bat -----
set JAVA OPTS="-server -Xmx256m"
SET JRE_HOME=C:\Program Files (x86)\Java\jre1.8.0_31
SET CATALINA_HOME=C:\Users\Alex\Documents\YAWL-3.0\engine\apache-tomcat-7.0.55
SET TCPORT=8080
SET CHECKPORTRESULT_FILE=C:\Users\Alex\AppData\Local\Temp\chckprtrslt
"%JRE_HOME%\bin\java.exe" -cp "%MISC_PATH%" CheckPort %TCPORT% > "%CHECKPORTRESULT_FILE%"
SET /p TC_LISTEN= < "%CHECKPORTRESULT_FILE%"
DEL "%CHECKPORTRESULT_FILE%"
----------
and it seems to work fine now... :)
So it seems it is the missing file setenv.bat the root of the problem:
maybe an update of the windows installer could be appreciated...?
Thanks :)
urgent response needed
I installed YAWL using windows installer YAWL3.0.1. But when i try to start the execution engine it gives me error : General Failure : unable to start engine.
What i should do.?
This method really works. I
This method really works. I also installed the same problem with YAWL3.0.1 and the newest control panel version. It also has the same problem. After using your method, the engine runs.