File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes java.io.IOException: The filename, directory name, or volume label syntax is incorrect Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "java.io.IOException: The filename, directory name, or volume label syntax is incorrect" Watch "java.io.IOException: The filename, directory name, or volume label syntax is incorrect" New topic
Author

java.io.IOException: The filename, directory name, or volume label syntax is incorrect

Nimishaa Garg
Greenhorn

Joined: Oct 19, 2011
Posts: 7
Hi all,
I copied a project from websphere in to tomcat directory, whiel i start the tomcat I am getting the below error.
Any Idea , please help me on this

I have checked the context file and replaced catalina.properties file also.

Oct 24, 2011 12:30:41 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.Win32FileSystem.canonicalize(Unknown Source)
at java.io.File.getCanonicalPath(Unknown Source)
at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:200)
at org.apache.catalina.startup.Bootstrap.createClassLoader(Bootstrap.java:180)
at org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java:98)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:213)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:410)
Nimishaa Garg
Greenhorn

Joined: Oct 19, 2011
Posts: 7
Hi All,
finally the issue resolved I took the below mentioned steps
1. Copied the code again
2. There was an extra slash like C:\Tomcat5.5\ in TOMCAT home setting in eclipse . I changed it to C:\Tomcat5.5
3. Set Tomcat base to C:\Tomcat5.5
4. All the above Tomcat home and base setting was done in Eclipse /window/preference/ tomcat settings.

Thanks
 
Consider Paul's rocket mass heater.
 
subject: java.io.IOException: The filename, directory name, or volume label syntax is incorrect