OpenEMM Installation Tomcat wont run from start.bat in openemm

purpleoak
purpleoak used Ask the Experts™
on
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"
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2016

Commented:
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

Top Expert 2015

Commented:
You do not need JAVA_HOME for tomcat. Leave only JRE_HOME.

Author

Commented:
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)
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Top Expert 2016

Commented:
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.

Author

Commented:
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:
Top Expert 2016

Commented:
Hm OK. Can you attach the batch file itself please? Change the extension to .txt beforehand
Top Expert 2015
Commented:
Apache tomcat 6 was never tested with Java 8
And it is unlikely to run with mix of 2 versions.

If you dont have Oracle support agreement you can install azul zulu java 7 (remember to clean WORK and TEMP of tomcat for downgrade)

and use JAVA_HOME to point to it and make sure there are no other conflicting variables.

Author

Commented:
Thank you for the pointer in the right direction, the issue was the versioning, i installed tomcat 8 and the issue is now resolved.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial