aspose file tools*
The moose likes Tomcat and the fly likes Start Up Problems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Start Up Problems" Watch "Start Up Problems" New topic
Author

Start Up Problems

Gaurav Kathotia
Greenhorn

Joined: Mar 09, 2002
Posts: 15
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

Joined: May 05, 2000
Posts: 13974
JAVA_HOME should be pointing to the highest level jDK directory, not the bin directory.
Try: SET JAVA_HOME=C:\JDK1.3


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Gaurav Kathotia
Greenhorn

Joined: Mar 09, 2002
Posts: 15
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

Joined: May 05, 2000
Posts: 13974
Maybe. Make sure there aren't any XML parsers on your classpath when you start up Tomcat.
Gaurav Kathotia
Greenhorn

Joined: Mar 09, 2002
Posts: 15
thanks for the help.
i have now installed tomcat 3.3a and that is running as smooth as possible withour startup problems
thanks
gaurav
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Start Up Problems