Wrox Programmer Forums
|
Apache Tomcat General discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 1st, 2008, 05:04 PM
Registered User
 
Join Date: May 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Https in tomcat

Hi, I'm working with linux Ubuntu and Apache tomcat 6
I get the next message when I try to startup tomcat
java.lang.ClassNotFoundException:
org.apache.catalina.storeconfig.StoreConfigLifecyc leListener

This is my server.xml file, what could be the problem?

thanks

<Server port="8005" shutdown="SHUTDOWN">

  <Listener className="org.apache.catalina.mbeans.ServerLifecy cleListener" />
  <Listener className="org.apache.catalina.mbeans.GlobalResour cesLifecycleListener" />
  <Listener className="org.apache.catalina.storeconfig.StoreCo nfigLifecycleListener"/>

  <GlobalNamingResources>
    <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
    <Resource name="UserDatabase" auth="Container"
              type="org.apache.catalina.UserDatabase"
       description="User database that can be updated and saved"
         factory="org.apache.catalina.users.MemoryUserDatab aseFactory"
          pathname="conf/tomcat-users.xml" />
  </GlobalNamingResources>
  <Service name="Catalina">

    <Connector port="8080" maxHttpHeaderSize="8192"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" redirectPort="8443" acceptCount="100"
               connectionTimeout="20000" disableUploadTimeout="true" />

    <Connector port="8443" maxHttpHeaderSize="8192"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" disableUploadTimeout="true"
               acceptCount="100" scheme="https" secure="true"
               clientAuth="false" sslProtocol="TLS"
           keystoreFile="conf/keystore" keystorePass="sslrules"
    />

    <Connector port="8009" enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />


    <Engine name="Catalina" defaultHost="localhost">

      <Realm className="org.apache.catalina.realm.UserDatabaseR ealm"
             resourceName="UserDatabase"/>

      <Host name="localhost" appBase="webapps"
       unpackWARs="true" autoDeploy="true"
       xmlValidation="false" xmlNamespaceAware="false">
      </Host>
    </Engine>
  </Service>
</Server>

Edward
 
Old May 27th, 2008, 07:41 AM
Friend of Wrox
 
Join Date: Mar 2007
Posts: 373
Thanks: 0
Thanked 1 Time in 1 Post
Default

Try commenting the listener tag

<Listener className="org.apache.catalina.storeconfig.StoreCo nfigLifecycleListener"/>

Regards,
Rakesh
 
Old June 13th, 2008, 08:11 PM
Registered User
 
Join Date: Jun 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi there,

Did you figure out how to solve the issue without commenting out the line in server.xml?

<Listener className="org.apache.catalina.storeconfig.StoreCo nfigLifecycleListener"/>

I have the same problem.






Similar Threads
Thread Thread Starter Forum Replies Last Post
HTTPS MunishBhatia ASP.NET 2.0 Professional 1 June 12th, 2007 03:52 AM
JWS Axis Tomcat (posted to Apache Tomcat too) rushman Servlets 0 April 15th, 2005 09:32 AM
HTTPS anshul HTML Code Clinic 3 June 17th, 2004 02:17 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.