Link to home
Create AccountLog in
Avatar of purpleoak
purpleoakFlag for United Kingdom of Great Britain and Northern Ireland

asked on

OpenEMM Installation Tomcat wont run from start.bat in openemm

Just wondering if there was an expert out there that can help me!?

After installing openemm I am unable to load tomcat from openemm's start.bat, I can however start tomcat from the tomcat \bin directory and load up the tomcat homepage on localhost:8080...

The error I get when running openemm is:

Dec 10, 2015 4:39:53 PM org.apache.catalina.startup.Bootstrap initClassLoaders
SEVERE: Class loader creation threw exception
java.io.IOException: The filename, directory name, or volume label syntax is incorrect
      at java.io.WinNTFileSystem.canonicalize0(Native Method)
      at java.io.WinNTFileSystem.canonicalize(Unknown Source)
      at java.io.File.getCanonicalPath(Unknown Source)
      at java.io.File.getCanonicalFile(Unknown Source)
      at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:202)
      at org.apache.catalina.startup.Bootstrap.createClassLoader(Bootstrap.java:174)
      at org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java:92)
      at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:207)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:391)

Tomcat version: apache-tomcat-6.0.44
JDK: jdk1.8.0_65
OpenEMM: 2015 R2-win32
Python: 27

I have these environment variables set-up:
CATALINA_HOME = "C:\apache-tomcat-6.0.44"
JAVA_HOME = "C:\Program Files\Java\jdk1.8.0_65"
JRE_HOME = "C:\Program Files\Java\jre1.8.0_66"
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Try running it like this from the command line (the directory in which start.bat is located) and post 'o.log' here


start.bat >o.log 2>&1

Open in new window

You do not need JAVA_HOME for tomcat. Leave only JRE_HOME.
Avatar of purpleoak

ASKER

after running the o.log I get the following:

Starting up .. home is C:\OpenEMM .. found codebase .. found database.
Running, press return for termination:

however the ouput of the catalina window is:

Dec 11, 2015 9:35:28 AM org.apache.catalina.startup.Bootstrap initClassLoaders
SEVERE: Class loader creation threw exception
java.io.IOException: The filename, directory name, or volume label syntax is incorrect
      at java.io.WinNTFileSystem.canonicalize0(Native Method)
      at java.io.WinNTFileSystem.canonicalize(Unknown Source)
      at java.io.File.getCanonicalPath(Unknown Source)
      at java.io.File.getCanonicalFile(Unknown Source)
      at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:202)
      at org.apache.catalina.startup.Bootstrap.createClassLoader(Bootstrap.java:174)
      at org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java:92)
      at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:207)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:391)

Dec 11, 2015 9:36:27 AM org.apache.catalina.startup.Bootstrap initClassLoaders
SEVERE: Class loader creation threw exception
java.io.IOException: The filename, directory name, or volume label syntax is incorrect
      at java.io.WinNTFileSystem.canonicalize0(Native Method)
      at java.io.WinNTFileSystem.canonicalize(Unknown Source)
      at java.io.File.getCanonicalPath(Unknown Source)
      at java.io.File.getCanonicalFile(Unknown Source)
      at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:202)
      at org.apache.catalina.startup.Bootstrap.createClassLoader(Bootstrap.java:174)
      at org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java:92)
      at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:207)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:391)
after running the o.log I get the following:
It doesn't get 'run'. It's a log (text) file. You're meant to attach it to the post.
Hi Thanks for the comment sorry if it sounded like i misunderstood what you were asking.

I know you wanted me to attach it to the post however as its just an output of the console window running start.bat saved as o.log, I thought I would just paste the contents directly here as the vm running the installation is not the same one I am using to post expert comments and it makes it difficult for me to get the text file on this PC.

The contents of o.log are:

Starting up .. home is C:\OpenEMM .. found codebase .. found database.
Running, press return for termination:
Hm OK. Can you attach the batch file itself please? Change the extension to .txt beforehand
ASKER CERTIFIED SOLUTION
Avatar of gheist
gheist
Flag of Belgium image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Thank you for the pointer in the right direction, the issue was the versioning, i installed tomcat 8 and the issue is now resolved.