tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ttcse <ttcsem...@yahoo.com>
Subject Virtual Host gives - Absolute uri: http://java.sun.com/jsf/core cannot be resolved
Date Thu, 26 Jun 2008 20:23:34 GMT

I've got a new JSF based webapp (Tomcat 6.?, Tomahawk-1.1.6, JSF 1.2, Java EE
5 SDK) which functions properly when using my http://PrimaryDomain/zzz url
to access my webapps/zzz application. 

All components of the application are placed under 'webapps/zzz'. It's not
in a war. 

However, after successfully accessing the same webapps/zzz via a virtual
host, (lets say http://Sleepyhead.com) and then clicking on any button I get
this:

WARNING: Internal Error: File /WEB-INF/web.xml not found
Jun 25, 2008 11:14:05 PM org.apache.catalina.core.StandardWrapperValve
invoke
SEVERE: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: The absolute uri:
http://java.sun.com/jsf/core cannot be resolved in either web.xml or the jar
files deployed with this application
at
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51)
at
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
at
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:116)
at
org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:315)
at
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:148)
...

Clearly, via Sleepyhead.com some of the jar's and/or tld's within
webapps/zzz/WEB-INF/lib cannot be found.

In my conf/server.xml I have this for the virtual host...
<Host name="Sleepyhead.com" appBase="webapps/zzz"> <Context path=""
docBase="" reloadable="true" debug="0"/> </Host>

Yes, I can copy jars and tld's from webapps/zzz/WEB-INF/lib to the
catalina/lib, but I'd rather not go that direction. I'd rather plop my
application into webapps. 

My question is, why are these jar's not visible when accessed thru my
virtual host?   What am I missing?

TIA !
Tom 
-- 
View this message in context: http://www.nabble.com/Virtual-Host-gives---Absolute-uri%3A-http%3A--java.sun.com-jsf-core-cannot-be-resolved-tp18142349p18142349.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message