• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

problem in running tomcat 5

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi everyone

Iam getting problems in running tomcat

i have downloade tomcat version 5

my jdk location is
C:\Program Files\Java\jdk1.5.0_01

my tomcat location is
C:\tomcat

i have set the environment variable as
JAVA_HOME=c:\program files\java\jdk1.5.0_01
CATALINA_HOME=C:\tomcat\

when iam starting startup.bat from command prompt
c:\tomat\bin>startup.bat
A new command opens and runs something, but gets closed automatically and
i get the following in my command window
C:\tomcat\bin>startup.bat
Using CATALINA_BASE: C:\tomcat\
Using CATALINA_HOME: C:\tomcat\
Using CATALINA_TMPDIR: C:\tomcat\\temp
Using JRE_HOME: c:\program files\java\jdk1.5.0_01
Using CLASSPATH: C:\tomcat\\bin\bootstrap.jar

when i start the server from internet explorer
http://localhost:8080
Im getting the error
internet explorer cannot display the webpage


Please helpme to run the tomcat server
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the Javaranch. Try running:

This will not open a new window and you will be able to see the problem.
 
vinoth kumartc
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks joe, wil try as you said and getback to you with my problem.For your information Iam running my server in windows xp
 
Ranch Hand
Posts: 470
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Check log files, one your system they should be located under C:\tomcat\logs
 
vinoth kumartc
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
when i run catailna i got the following error messges

java.util.logging.ErrorManager: 4
java.io.FileNotFoundException: C:\tomcat" -Dcatalina.home=C:\tomcat"\logs\host-m
anager.2009-08-20.log (The filename, directory name, or volume label syntax is i
ncorrect)

The same above error was repeated in two more places


Hi Misha,
The log file under tomcat is empty
c:/tomcat/logs
I could not find anything inside the logs folder,its empty
 
vinoth kumartc
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I also found the following error when running catalina

Aug 20, 2009 1:32:37 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

I could see the same error twice

Help me to overcome this problem
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

C:\tomcat" -Dcatalina.home=C:\tomcat"\logs\host-m



What are those quotes doing in that command line???

The environment variables tomcat wants to see are ALL CAPS - look at the catalina.bat file to see the definitions of the important environment variables. You should be running startup.bat, not catalina bat because startup does some setting of environment variables.

If you have a window that opens and immediately closes - change the last executable line in startup.bat from



to



this will run the next bat file in the same window which will stay open so you can see what happens.

Bill
 
vinoth kumartc
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi william,

I first executed "startup.bat" since the command window closed immediately, joe asked me to run catalina to find out the problem.ok i will try what you said in "startup.bat".

Thanks for your reply.keep you posted after trying
 
vinoth kumartc
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
After editing the startup.bat

from
call "%EXECUTABLE%" start %CMD_LINE_ARGS%
to
call "%EXECUTABLE%" run %CMD_LINE_ARGS%

i got the following details in the same command window when i run startup.bat

at java.util.logging.Logger.getLogger(Logger.java:228)
at java.util.logging.Logger.<clinit>(Logger.java:181)
at org.apache.commons.logging.impl.Jdk14Logger.getLogger(Jdk14Logger.jav
a:181)
at org.apache.commons.logging.impl.Jdk14Logger.<init>(Jdk14Logger.java:6
1)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at org.apache.commons.logging.impl.LogFactoryImpl.createLogFromClass(Log
FactoryImpl.java:1116)
at org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementat
ion(LogFactoryImpl.java:914)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactory
Impl.java:604)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactory
Impl.java:336)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactory
Impl.java:310)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685)
at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:54)
java.util.logging.ErrorManager: 4
java.io.FileNotFoundException: C:\tomcat" -Dcatalina.home=C:\tomcat"\logs\localh
ost.2009-08-21.log (The filename, directory name, or volume label syntax is incorrect)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
at org.apache.juli.FileHandler.open(FileHandler.java:274)
at org.apache.juli.FileHandler.<init>(FileHandler.java:63)
at org.apache.juli.FileHandler.<init>(FileHandler.java:54)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLo
gManager.java:419)
at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLo
gManager.java:364)
at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLo
gManager.java:240)
at java.util.logging.LogManager$2.run(LogManager.java:249)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.logging.LogManager.readPrimordialConfiguration(LogManager.java:247)
at java.util.logging.LogManager.getLogManager(LogManager.java:230)
at java.util.logging.Logger.<init>(Logger.java:149)
at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:964)
at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:961)
at java.util.logging.LogManager$1.run(LogManager.java:179)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.logging.LogManager.<clinit>(LogManager.java:156)
at java.util.logging.Logger.getLogger(Logger.java:228)
at java.util.logging.Logger.<clinit>(Logger.java:181)
at org.apache.commons.logging.impl.Jdk14Logger.getLogger(Jdk14Logger.java:181)
at org.apache.commons.logging.impl.Jdk14Logger.<init>(Jdk14Logger.java:61)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at org.apache.commons.logging.impl.LogFactoryImpl.createLogFromClass(LogFactoryImpl.java:1116)
at org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:914)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactory
Impl.java:604)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:336)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactory
Impl.java:310)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685)
at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:54)
java.util.logging.ErrorManager: 4
java.io.FileNotFoundException: C:\tomcat" -Dcatalina.home=C:\tomcat"\logs\manager.2009-08-21.log (The filename, directory name, or volume label syntax is incorrect)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
at org.apache.juli.FileHandler.open(FileHandler.java:274)
at org.apache.juli.FileHandler.<init>(FileHandler.java:63)
at org.apache.juli.FileHandler.<init>(FileHandler.java:54)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLo
gManager.java:419)
at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLo
gManager.java:364)
at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLo
gManager.java:240)
at java.util.logging.LogManager$2.run(LogManager.java:249)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.logging.LogManager.readPrimordialConfiguration(LogManager.j
ava:247)
at java.util.logging.LogManager.getLogManager(LogManager.java:230)
at java.util.logging.Logger.<init>(Logger.java:149)
at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:964)
at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:961)
at java.util.logging.LogManager$1.run(LogManager.java:179)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.logging.LogManager.<clinit>(LogManager.java:156)
at java.util.logging.Logger.getLogger(Logger.java:228)
at java.util.logging.Logger.<clinit>(Logger.java:181)
at org.apache.commons.logging.impl.Jdk14Logger.getLogger(Jdk14Logger.jav
a:181)
at org.apache.commons.logging.impl.Jdk14Logger.<init>(Jdk14Logger.java:6
1)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at org.apache.commons.logging.impl.LogFactoryImpl.createLogFromClass(Log
FactoryImpl.java:1116)
at org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementat
ion(LogFactoryImpl.java:914)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactory
Impl.java:604)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactory
Impl.java:336)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactory
Impl.java:310)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685)
at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:54)
java.util.logging.ErrorManager: 4
java.io.FileNotFoundException: C:\tomcat" -Dcatalina.home=C:\tomcat"\logs\admin.
2009-08-21.log (The filename, directory name, or volume label syntax is incorrec
t)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
at org.apache.juli.FileHandler.open(FileHandler.java:274)
at org.apache.juli.FileHandler.<init>(FileHandler.java:63)
at org.apache.juli.FileHandler.<init>(FileHandler.java:54)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLo
gManager.java:419)
at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLo
gManager.java:364)
at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLo
gManager.java:240)
at java.util.logging.LogManager$2.run(LogManager.java:249)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.logging.LogManager.readPrimordialConfiguration(LogManager.j
ava:247)
at java.util.logging.LogManager.getLogManager(LogManager.java:230)
at java.util.logging.Logger.<init>(Logger.java:149)
at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:964)
at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:961)
at java.util.logging.LogManager$1.run(LogManager.java:179)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.logging.LogManager.<clinit>(LogManager.java:156)
at java.util.logging.Logger.getLogger(Logger.java:228)
at java.util.logging.Logger.<clinit>(Logger.java:181)
at org.apache.commons.logging.impl.Jdk14Logger.getLogger(Jdk14Logger.jav
a:181)
at org.apache.commons.logging.impl.Jdk14Logger.<init>(Jdk14Logger.java:6
1)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at org.apache.commons.logging.impl.LogFactoryImpl.createLogFromClass(Log
FactoryImpl.java:1116)
at org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementat
ion(LogFactoryImpl.java:914)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactory
Impl.java:604)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactory
Impl.java:336)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactory
Impl.java:310)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685)
at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:54)
java.util.logging.ErrorManager: 4
java.io.FileNotFoundException: C:\tomcat" -Dcatalina.home=C:\tomcat"\logs\host-m
anager.2009-08-21.log (The filename, directory name, or volume label syntax is i
ncorrect)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
at org.apache.juli.FileHandler.open(FileHandler.java:274)
at org.apache.juli.FileHandler.<init>(FileHandler.java:63)
at org.apache.juli.FileHandler.<init>(FileHandler.java:54)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLo
gManager.java:419)
at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLo
gManager.java:364)
at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLo
gManager.java:240)
at java.util.logging.LogManager$2.run(LogManager.java:249)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.logging.LogManager.readPrimordialConfiguration(LogManager.j
ava:247)
at java.util.logging.LogManager.getLogManager(LogManager.java:230)
at java.util.logging.Logger.<init>(Logger.java:149)
at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:964)
at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:961)
at java.util.logging.LogManager$1.run(LogManager.java:179)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.logging.LogManager.<clinit>(LogManager.java:156)
at java.util.logging.Logger.getLogger(Logger.java:228)
at java.util.logging.Logger.<clinit>(Logger.java:181)
at org.apache.commons.logging.impl.Jdk14Logger.getLogger(Jdk14Logger.jav
a:181)
at org.apache.commons.logging.impl.Jdk14Logger.<init>(Jdk14Logger.java:6
1)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at org.apache.commons.logging.impl.LogFactoryImpl.createLogFromClass(Log
FactoryImpl.java:1116)
at org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementat
ion(LogFactoryImpl.java:914)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactory
Impl.java:604)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactory
Impl.java:336)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactory
Impl.java:310)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685)
at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:54)
Aug 21, 2009 11:06:32 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 inc
orrect
at java.io.WinNTFileSystem.canonicalize0(Native Method)
at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:395)
at java.io.File.getCanonicalPath(File.java:531)
at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(Clas
sLoaderFactory.java:200)
at org.apache.catalina.startup.Bootstrap.createClassLoader(Bootstrap.jav
a:180)
at org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java
:104)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:213)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:410)
Aug 21, 2009 11:06:32 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 inc
orrect
at java.io.WinNTFileSystem.canonicalize0(Native Method)
at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:395)
at java.io.File.getCanonicalPath(File.java:531)
at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(Clas
sLoaderFactory.java:200)
at org.apache.catalina.startup.Bootstrap.createClassLoader(Bootstrap.jav
a:180)
at org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java
:104)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:213)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:410)
C:\tomcat\bin>




Please advise me what to do, to solve this problem,I could see FileNotFound,IOException in the cmd window
 
Misha Ver
Ranch Hand
Posts: 470
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

William Brogden wrote:

C:\tomcat" -Dcatalina.home=C:\tomcat"\logs\host-m



What are those quotes doing in that command line???



vinoth, have you seen the question about quotes?
 
vinoth kumartc
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thats what i get when i run startup.bat

i dont know why it appears in quotes,

i have set the environment variables as in my earlier post, I also checked the logs under tomcat directiory as you said.But the logs folder is empty,nothing inside it.

From the error it has thrown, it seems the filename is some where wrong.But i have never changed any file or folder name except for the folder "tomcat" which was previously something different (like tomcat_5.0.26). I am not sure about the previous name of the tomcat directory.

Do you think the name of the directory "tomcat" could be a problem, if so we will change it to the previous name, by downloading again.

Thanks for your reply.

Iam preparing for scwcd.But Iam stuck up with my first step.
 
William Brogden
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You are correct, this error.



Clearly shows something seriously wrong with a file name being used somewhere early in the startup process.

If I had this problem, I would open a new command prompt window and issue the set command to see what environment variables the system is starting with. Perhaps somebody or some installation program fiddled with the default environment variables and left that strange string which Java is encountering before it sees the values you set.

If so you are going to have to use the System dialog to fix it. Always nervewracking!

Bill

 
vinoth kumartc
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi william,misha,joe

I have successfully done my first servlet.I downloaded the tomcat again and set the variabes, it was working fine.Im progressing with other chapters of head first servlets and jsp.But still i dont know what went wrong with my first attempt.Thank you for your best advice.post you if i have any queries

regards
vinoth
 
Greenhorn
Posts: 2
  • Likes 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Maybe a bit late; but for anyone else who may have this problem; it turned out i had put a backslash \ at the end on my CATALINA_HOME environment variable (I was using windows). When i removed it, i could start using catalina run command.
 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jeff Kin wrote:Maybe a bit late; but for anyone else who may have this problem; it turned out i had put a backslash \ at the end on my CATALINA_HOME environment variable (I was using windows). When i removed it, i could start using catalina run command.



Great. This post finally solved my problem. Thanks.
 
reply
    Bookmark Topic Watch Topic
  • New Topic