tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chuk, Jasmine WM" <Jasmine.WM.C...@pccw.com>
Subject java.lang.reflect.InvocationTargetException
Date Mon, 16 Jun 2003 03:18:18 GMT


>  -----Original Message-----
> From: 	Chuk, Jasmine WM  
> Sent:	Friday, June 13, 2003 3:52 PM
> To:	'tomcat-user-subscribe@jakarta.apache.org'
> Subject:	java.lang.reflect.InvocationTargetException
> 
> Dear all,
> 
> 	I am trying to enable SSL Support with JSSE in tomcat, but it fails
> at the starting up of tomcat. Following what is guided at
> http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ssl-howto.html,
> here are the steps i have taken:
> 
> 
> 
> 1) Download and Install JSSE:
>     copy all there JAR files jcert.jar, jnet.jar, jsse.jar into the
> $JAVA_HOME/lib/ext. 
> 
> 
> 2) Generate a new Certificate Keystore 
> <!-- command line starts
> C:\scm\oum\Web-inf>keytool -genkey -alias tomcat -keyalg RSA
> Enter keystore password:  changeit
> What is your first and last name?
>   [Unknown]:
> What is the name of your organizational unit?
>   [Unknown]:
> What is the name of your organization?
>   [Unknown]:
> What is the name of your City or Locality?
>   [Unknown]:
> What is the name of your State or Province?
>   [Unknown]:
> What is the two-letter country code for this unit?
>   [Unknown]:
> Is CN=Unknown, OU=Unknown, O=Unknown, L=Unknown, ST=Unknown, C=Unknown
> correct?
>   [no]:  yes
> 
> Enter key password for <tomcat>
>         (RETURN if same as keystore password):
> 
> -- command line ends --> 
> 
>  
> 3) Edit the Http10Connector definition in Tomcat Configuration File to
>         <Http10Connector  port="8443" 
>         		  secure="true" 
>         		  keystore="C:\Documents and Settings\798454\"
>         		  keypass="changeit"
>         		  clientAuth="false" />
> 
>     where the "C:\Documents and Settings\798454\"  is the user home
> directory and hence the file .keystore resides. 
> 
> 
> 4) Start up Tomcat
>     run $TOMCAT_HOME\bin\startup.bat
> <!-- command line starts 
> 2003-06-13 15:44:39 - Http10Interceptor: Setting ssl socket factory
> 2003-06-13 15:44:39 - ServerXmlReader: Config=$TOMCAT_HOME\conf\server.xml
> 2003-06-13 15:44:39 - PathSetter: home=C:\scm\tomcat\jakarta-tomcat-3.3
> 2003-06-13 15:44:39 - ContextXmlReader: Context
> config=$TOMCAT_HOME\conf\apps-12
> 7.0.0.1.xml
> 2003-06-13 15:44:39 - ContextXmlReader: Context
> config=$TOMCAT_HOME\conf\apps-ad
> min.xml
> 2003-06-13 15:44:39 - ContextXmlReader: Context
> config=$TOMCAT_HOME\conf\apps-ex
> amples.xml
> 2003-06-13 15:44:39 - ContextXmlReader: Context
> config=$TOMCAT_HOME\conf\apps-on
> line.xml
> 2003-06-13 15:44:39 - AutoWebApp: Loaded from config: DEFAULT:/admin
> 2003-06-13 15:44:39 - AutoWebApp: Loaded from config: DEFAULT:/examples
> 2003-06-13 15:44:39 - AutoWebApp: Auto-Adding DEFAULT:/
> 2003-06-13 15:44:39 - ContextManager: Tomcat configured and in stable
> state
> 2003-06-13 15:44:39 - ContextManager: Adding  DEFAULT:/admin
> 2003-06-13 15:44:39 - ContextManager: Adding  DEFAULT:/examples
> 2003-06-13 15:44:39 - ContextManager: Adding  DEFAULT:/online
> 2003-06-13 15:44:39 - ContextManager: Adding  DEFAULT:/ROOT
> EmbededTomcat: Init time 875
> Guessed home=C:\scm\tomcat\jakarta-tomcat-3.3
> java.lang.reflect.InvocationTargetException:
> org.apache.tomcat.core.TomcatExcept
> ion: Root cause - C:\Documents and Settings\798454\ (Access is denied)
>         at
> org.apache.tomcat.modules.server.PoolTcpConnector.engineStart(Unknown
>  Source)
>         at org.apache.tomcat.core.ContextManager.start(Unknown Source)
>         at org.apache.tomcat.startup.EmbededTomcat.start(Unknown Source)
>         at org.apache.tomcat.startup.EmbededTomcat.execute1(Unknown
> Source)
>         at org.apache.tomcat.startup.EmbededTomcat$1.run(Unknown Source)
>         at
> org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run(Unknow
> n Source)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at org.apache.tomcat.util.compat.Jdk12Support.doPrivileged(Unknown
> Sourc
> e)
>         at org.apache.tomcat.startup.EmbededTomcat.execute(Unknown Source)
>         at java.lang.reflect.Method.invoke(Native Method)
>         at org.apache.tomcat.util.IntrospectionUtils.execute(Unknown
> Source)
>         at org.apache.tomcat.startup.Main.execute(Unknown Source)
>         at org.apache.tomcat.startup.Main.main(Unknown Source)
> -- command line ends -->
> 
> 
> 	Please advise why is that exception throws. Thanks in advance.
> 
> 
> Regards,
> Jasmine
> 

Mime
View raw message