My C program will load a class that I have written, take in the password to open the PKCS12 file, and then call org.apache.catalina.startup.Bootstrap.main( String[] args). I have looked at the catalina.sh file and am passing the following parameters into the JVM :
-Djava.endorsed.dirs=/usr/local/tomcat/common/endorsed:/usr/local/tomcat/server/lib:/usr/local/tomcat/common/lib:/usr/local/tomcat/bin -Djava.class.path=/usr/java1.4/lib/tools.jar:/usr/local/tomcat/bin/bootstrap.jar:. -Dcatalina.base=/usr/local/tomcat -Dcatalina.home=/usr/local/tomcat -Djava.io.tmpdir=/usr/local/tomcat -Djava.library.path=/usr/java1.4/jre/lib/sparc
I am running tomcat-4.1.24 binary distribution.
java version "1.4.1_03" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_03-b02) Java HotSpot(TM) Client VM (build 1.4.1_03-b02, mixed mode)
I get the following error when I run my program. Any ideas would be greatly appreciated. Thank you.
org.apache.commons.logging.LogConfigurationException: java.lang.NullPointerException
at org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:558)
at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:355)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:409)
at org.apache.commons.digester.Digester.<init>(Digester.java:352)
at org.apache.catalina.startup.Catalina.createStartDigester(Catalina.java:280)
at org.apache.catalina.startup.Catalina.start(Catalina.java:441)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
at my.class.startup.Startup.startup(Startup.java:21)
Caused by: java.lang.NullPointerException
at org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:543)
... 13 more
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
