Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Start Up Problems

 
Gaurav Kathotia
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello there
I have installed Apache Tomcat 4.0.2 in my d:\tomcat directory.
My problem is that when i run Startup.bat
in my bin folder, i get the following message:
USING CATALINA_BASE :\TOMCAT
USING CATALINA_HOME :\TOMCAT
USING JAVA_HOME:C:\JDK1.3\BIN
EXCEPTION DURING STARTUP PROCESSING...
java.lang.reflect.InvocationTargetException: javax.xml.parsers.FactoryConfigurationError :
Provider Null could not be instantiated
java.lang.NullPointerException
at
org.apache.catalina.startup...
org........
....
Could anybody please bail me out of this factory exception?
thanks in advance
Gaurav Kathotia
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JAVA_HOME should be pointing to the highest level jDK directory, not the bin directory.
Try: SET JAVA_HOME=C:\JDK1.3
 
Gaurav Kathotia
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had printed my JAVA_HOME wrongly.it was already set to c:\jdk1.3 and not c:\jdk1.3\bin
why am i still getting the error?
Has it got to do something with XML4J parser?
Thanking you again
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe. Make sure there aren't any XML parsers on your classpath when you start up Tomcat.
 
Gaurav Kathotia
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for the help.
i have now installed tomcat 3.3a and that is running as smooth as possible withour startup problems
thanks
gaurav
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic