-----Original Message-----
From: Marvin Addison [mailto:[email protected]] 
Sent: Wednesday, May 05, 2010 2:36 PM
To: [email protected]
Subject: Re: [cas-user] problem at step 2

>   Next I changed the pom.xml and deployerConfigContext.xml IAW. with 
> directions in: 
> http://www.ja-sig.org/wiki/display/CASUM/Best+Practice+-+Setting+Up+CAS+Locally+using+the+Maven2+WAR+Overlay+Method
>  , and after copying the new cas.war file to the webapps folder and 
> restarting tomcat, I get an "HTTP status 404 error".

Sounds like a failed deploy.  If the deploy failure is due to a
configuration problem in the deployable, it should be logged to the
localhost log or the cas.log file if it can get as far as initializing
the Spring context.

I would take some time to confirm that the war is unpacked correctly
in the webapps dir and that the Tomcat manager app shows CAS deployed
and started.  You might try starting it from the manager if it's not
started and rechecking the logs.  Something should show up somewhere
(localhost.log, catalina.out, cas.log) if there is an error preventing
proper deployment.

Marvin,
  Thank you for mentioning the Manager.  I didn't know one existed.  
Now that I have the GUI manager up and running, trying to start "/cas", I get: 
FAIL - Application at context path /cas could not be started
But at least now I get something meaningful in the catalina.out file!

May 5, 2010 3:29:01 PM org.apache.tomcat.util.digester.Digester fatalError
SEVERE: Parse Fatal Error at line 1 column 1: Premature end of file.
org.xml.sax.SAXParseException: Premature end of file.
*** followed by a lot of java stuff ***
May 5, 2010 3:29:01 PM org.apache.catalina.startup.ContextConfig 
applicationWebConfig
SEVERE: Parse error in application web.xml file at 
jndi:/localhost/cas/WEB-INF/web.xml
org.xml.sax.SAXParseException: Premature end of file.
***followed by a lot of java stuff***
May 5, 2010 3:29:01 PM org.apache.catalina.startup.ContextConfig 
applicationWebConfig
SEVERE: Occurred at line 1 column 1
May 5, 2010 3:29:01 PM org.apache.catalina.startup.ContextConfig start
SEVERE: Marking this application unavailable due to previous error(s)
May 5, 2010 3:29:01 PM org.apache.catalina.core.StandardContext start
SEVERE: Error getConfigured
May 5, 2010 3:29:01 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/cas] startup failed due to previous errors


I did notice that when I did the mvn clean package, that I had to create the 
file ~/src/main/webapp/WEB-INF/web.xml for it to build successfully.  Is that 
what it's complaining about now?  I'll copy over an existing web.xml file and 
try it out.

Thank you for your reply,

Rob.


-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to