Thanks for the reply.

The errors are now gone.

Has mod_SSL been published for Apache 5.5?  I do not see it.

This is all fronting a Liferay application.
Matt


 

-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker
Sent: Tuesday, December 09, 2008 7:21 PM
To: users@tomcat.apache.org
Subject: Re: Apache 5.5 on SSL - errors- ResourceStart & GetConfigured

Installing the keystore is almost certainly not what you want to do if
you are fronting with Apache.  You need to configure Apache to do the
SSL using the mod_ssl docs.  If (as it seems from the log) you are using
AJP/1.3 (aka mod_jk/mod_proxy_ajp), then no additional configuration may
be required in server.xml (and probably at most setting the redirectPort
on the <Connector protocol="AJP/1.3" ... /> element).  You will need to
copy the JkMount etc. 
statements to the SSL VHost in httpd.conf).  Instead, it looks like you
created an unused HTTP/1.1 Connector that speaks SSL.  Of course, Tomcat
won't care about this.  Also, Tomcat quietly ignores configuration
options that it doesn't understand, so configuring a keystore on the
AJP/1.3 Connector will also not trigger an error.

The errors below are likely caused by having backup copies of ROOT.xml
in $CATALINA_HOME/conf/Catalina/localhost.  If so, just change the
extension to something other than .xml (e.g. "Copy of Root.bak") and the
errors should go away.

"Matt Moreira" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
p...
A previously-working Apache build running non-SSL was switched to
receive SSL traffic.

The keystore has been installed, and I've modified the server.xml (which
may not be correct, but I do not see where the application complains
about it).

In an order to cut down on some of the log chatter I removed some backup
folders, which actually now show up as errors in addition to the
ResourceStart and GetConfigured errors.  I can add these folders back
in, but do not see how the application needs them.

Here is the catalina log:

Dec 8, 2008 4:39:39 PM org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080 Dec 8, 2008 4:39:39 PM
org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-443 Dec 8, 2008 4:39:39 PM
org.apache.coyote.ajp.AjpAprProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-8009 Dec 8, 2008 4:39:39 PM
org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 375 ms Dec 8, 2008 4:39:39 PM
org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Dec 8, 2008 4:39:39 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.23 Dec 8, 2008 4:39:39
PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Dec 8, 2008 4:39:39 PM org.apache.catalina.realm.JAASRealm
setUseContextClassLoader
INFO: Setting useContextClassLoader = false Dec 8, 2008 4:39:39 PM
org.apache.catalina.core.StandardContext
resourcesStart
SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base
D:\Portal\liferay433\webapps\Copy of ROOT does not exist or is not a
readable directory  at
org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.jav
a:141)
 at
org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.
java:3855)
 at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4024
)
 at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja
va:760)
 at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
 at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
 at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:
626)
 at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java
:553)
 at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
 at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:31
1)
 at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.java:120)
 at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
 at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
 at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
 at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
 at
org.apache.catalina.core.StandardService.start(StandardService.java:448)
 at
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Dec 8, 2008 4:39:39 PM org.apache.catalina.core.StandardContext start
SEVERE: Error in resourceStart()
Dec 8, 2008 4:39:39 PM org.apache.catalina.core.StandardContext start
SEVERE: Error getConfigured
Dec 8, 2008 4:39:39 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/Copy of ROOT] startup failed due to previous errors
Dec 8, 2008 4:39:39 PM org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/Copy of
ROOT] has not been started Dec 8, 2008 4:39:39 PM
org.apache.catalina.realm.JAASRealm
setUseContextClassLoader
INFO: Setting useContextClassLoader = false Dec 8, 2008 4:39:46 PM
org.apache.catalina.realm.JAASRealm
setUseContextClassLoader
INFO: Setting useContextClassLoader = false Dec 8, 2008 4:39:46 PM
org.apache.catalina.core.StandardContext
resourcesStart
SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base
D:\Portal\liferay433\webapps\ROOT_back does not exist or is not a
readable directory  at
org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.jav
a:141)
 at
org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.
java:3855)
 at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4024
)
 at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja
va:760)
 at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
 at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
 at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:
626)
 at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java
:553)
 at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
 at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:31
1)
 at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.java:120)
 at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
 at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
 at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
 at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
 at
org.apache.catalina.core.StandardService.start(StandardService.java:448)
 at
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Dec 8, 2008 4:39:46 PM org.apache.catalina.core.StandardContext start
SEVERE: Error in resourceStart()
Dec 8, 2008 4:39:46 PM org.apache.catalina.core.StandardContext start
SEVERE: Error getConfigured
Dec 8, 2008 4:39:46 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/ROOT_back] startup failed due to previous errors Dec
8, 2008 4:39:46 PM org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/ROOT_bac
k] has not been started
Dec 8, 2008 4:39:46 PM org.apache.coyote.http11.Http11AprProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080 Dec 8, 2008 4:39:46 PM
org.apache.coyote.http11.Http11AprProtocol start
INFO: Starting Coyote HTTP/1.1 on http-443 Dec 8, 2008 4:39:46 PM
org.apache.coyote.ajp.AjpAprProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009 Dec 8, 2008 4:39:46 PM
org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource Dec 8,
2008 4:39:46 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 7203 ms

Any ideas?  My webpage is not accessible either locally or from my DNS.

Thank you,

Matt M.



This e-mail message and any attachments are for the sole use of the
intended recipient(s) and may contain confidential information. If you
are not an intended recipient, or an intended recipient's authorized
agent, you are hereby notified that any dissemination, distribution or
copying of this e-mail message or any attachments is strictly
prohibited. If you have received this message in error, please notify
the sender by reply e-mail and delete this e-mail message and any
attachments from your computer system. 




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


This e-mail message and any attachments are for the sole use
of the intended recipient(s) and may contain confidential
information. If you are not an intended recipient, or an
intended recipient's authorized agent, you are hereby notified
that any dissemination, distribution or copying of this e-mail
message or any attachments is strictly prohibited. If you have
received this message in error, please notify the sender by
reply e-mail and delete this e-mail message and any attachments
from your computer system.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to