Avatar of purpleoak
purpleoak
Flag 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"
Apache Web ServerJavaInternet MarketingEmail ServersEmail Software

Avatar of undefined
Last Comment
purpleoak

8/22/2022 - Mon
CEHJ

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

gheist

You do not need JAVA_HOME for tomcat. Leave only JRE_HOME.
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)
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
CEHJ

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.
purpleoak

ASKER
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:
CEHJ

Hm OK. Can you attach the batch file itself please? Change the extension to .txt beforehand
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
ASKER CERTIFIED SOLUTION
gheist

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
purpleoak

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