Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Not able to deploy the web application in tomcat 6.0.10 with JSF 1.2

843844Apr 17 2007 — edited Apr 18 2007
Hi,
I'm using tomcat 6.0.10 and jsf 1.2. I have my application context file "cpm.xml" as follows:
<Context docBase="${catalina.home}/../../web" privileged="true"
	antiResourceLocking="false" antiJARLocking="false" path="/cpm" reloadable="true">
	<Manager className="org.apache.catalina.session.PersistentManager"
		saveOnRestart="false" />
</Context>
I have copied this file to ${catalina.home}/conf/Catalina/localhost.

When I start my tomcat server, I'm getting the following error:
SEVERE: Error listenerStart
17-Apr-2007 13:48:05 org.apache.catalina.core.StandardContext start
SEVERE: Context [/cpm] startup failed due to previous errors
And the error stack from log file:
17-Apr-2007 13:48:05 org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class com.sun.faces.config.GlassFishConfigureListener
javax.faces.FacesException: java.net.MalformedURLException: Path  does not start with a "/" character
	at com.sun.faces.config.ConfigureListener.getContextURLForPath(ConfigureListener.java:1818)
	at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:513)
	at com.sun.faces.config.GlassFishConfigureListener.contextInitialized(GlassFishConfigureListener.java:47)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4336)
It is working fine when I'm using JSF 1.1

Please help me.

/Swamy S
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 16 2007
Added on Apr 17 2007
5 comments
1,680 views