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"
LVL 2
purpleoakAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

gheistCommented:
You do not need JAVA_HOME for tomcat. Leave only JRE_HOME.
purpleoakAuthor 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)
Your Guide to Achieving IT Business Success

The IT Service Excellence Tool Kit has best practices to keep your clients happy and business booming. Inside, you’ll find everything you need to increase client satisfaction and retention, become more competitive, and increase your overall success.

CEHJCommented:
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.
purpleoakAuthor 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:
CEHJCommented:
Hm OK. Can you attach the batch file itself please? Change the extension to .txt beforehand
gheistCommented:
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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
purpleoakAuthor 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.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Web Server

From novice to tech pro — start learning today.