This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSF and the fly likes  Core JSF by  Geary & Horstmann. Chapter 1:  login example Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark " Core JSF by  Geary & Horstmann. Chapter 1:  login example" Watch " Core JSF by  Geary & Horstmann. Chapter 1:  login example" New topic
Author

Core JSF by Geary & Horstmann. Chapter 1: login example

bob connolly
Ranch Hand

Joined: Mar 10, 2004
Posts: 204
Hello!

I'm trying the "login" example in the Geary book and i've checked everthing according to the book and i'm still getting this error!

Could there be something wrong in the server.xml file possibly, i did modify a reference in there for a previous example, but did delete it , but it got me thinking that maybe in need to set something up there possibly?

And i did try using the login.war file initially, and then switched to copying the login directory under the /webapps directory just for clarity!

So for a checklist: the TOMCAT server is runnnig, the .class file was created in WEB-INF/CLASSES, those 6 .jar files are in the WEB-INF/lib and i used the URL command: http://localhost:8080/login/

And i did a generic test to see if things were running on TOMCAT and when i submitted this command: http://localhost:8080/jsp-examples/, that list of topics did appear!

Thanks very much for any suggestions!

HTTP Status 404 - /login/

--------------------------------------------------------------------------------

type Status report

message /login/

description The requested resource (/login/) is not available.


--------------------------------------------------------------------------------

Apache Tomcat/5.5.8
bob connolly
Ranch Hand

Joined: Mar 10, 2004
Posts: 204
Ok it looks like there's something going on with the environment FacesServlet maybe? :

SEVERE: Servlet /JSFCh02a threw load() exception
java.lang.NullPointerException
at javax.faces.webapp.FacesServlet.init(FacesServlet.java:143)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
java:1091)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:92
5)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
t.java:3847)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
111)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:73
9)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)

at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.jav
a:918)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
ava:881)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:475
)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1126)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)

at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)

at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442
)
at org.apache.catalina.core.StandardService.start(StandardService.java:4
50)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:683
)
at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
Apr 4, 2005 4:01:19 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Apr 4, 2005 4:01:19 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Apr 4, 2005 4:01:21 AM org.apache.catalina.loader.WebappClassLoader validateJarF
ile
INFO: validateJarFile(C:\TOMCAT\jakarta-tomcat-5.5.8\webapps\login\WEB-INF\lib\s
ervlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending
class: javax/servlet/Servlet.class
Apr 4, 2005 4:01:27 AM org.apache.commons.digester.Digester endElement
SEVERE: End event threw exception
java.lang.ClassCastException: com.sun.faces.application.ApplicationFactoryImpl
at com.sun.faces.config.ApplicationRule.end(ConfigParser.java:929)
at org.apache.commons.digester.Digester.endElement(Digester.java:1058)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endEleme
nt(AbstractSAXParser.java:633)
at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.endNamesp
aceScope(XMLDTDValidator.java:2108)
at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.handleEnd
Element(XMLDTDValidator.java:2059)
at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.endElemen
t(XMLDTDValidator.java:932)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanEndElement(XMLDocumentFragmentScannerImpl.java:1241)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:834)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:764)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.
java:148)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Ab
stractSAXParser.java:1242)
at org.apache.commons.digester.Digester.parse(Digester.java:1548)
at com.sun.faces.config.ConfigParser.parseConfig(ConfigParser.java:286)
at com.sun.faces.config.ConfigListener.contextInitialized(ConfigListener
.java:156)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
t.java:3659)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
097)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:73
9)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)

at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.jav
a:918)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
ava:881)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:475
)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1126)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)

at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)

at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442
)
at org.apache.catalina.core.StandardService.start(StandardService.java:4
50)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:683
)
at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
Apr 4, 2005 4:01:27 AM org.apache.catalina.core.ApplicationContext log
SEVERE: Exception sending context initialized event to listener instance of clas
s com.sun.faces.config.ConfigListener
java.lang.NullPointerException
at com.sun.faces.util.MessageFactory.getApplication(MessageFactory.java:
227)
at com.sun.faces.util.MessageFactory.getMessage(MessageFactory.java:118)

at com.sun.faces.util.MessageFactory.getMessage(MessageFactory.java:105)

at com.sun.faces.util.Util.getExceptionMessage(Util.java:431)
at com.sun.faces.config.ConfigListener.contextInitialized(ConfigListener
.java:171)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
t.java:3659)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
097)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:73
9)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)

at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.jav
a:918)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
ava:881)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:475
)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1126)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)

at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)

at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442
)
at org.apache.catalina.core.StandardService.start(StandardService.java:4
50)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:683
)
at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
Apr 4, 2005 4:01:27 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Apr 4, 2005 4:01:27 AM org.apache.catalina.core.StandardContext start
SEVERE: Context startup failed due to previous errors
Apr 4, 2005 4:01:28 AM org.apache.catalina.core.ApplicationContext log
SEVERE: StandardWrapper.Throwable
java.lang.NullPointerException
at javax.faces.webapp.FacesServlet.init(FacesServlet.java:143)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
java:1091)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:92
5)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
t.java:3847)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
111)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:73
9)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)

at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.jav
a:918)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
ava:881)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:475
)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1126)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)

at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)

at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442
)
at org.apache.catalina.core.StandardService.start(StandardService.java:4
50)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:683
)
at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
Apr 4, 2005 4:01:28 AM org.apache.catalina.core.ApplicationContext log
SEVERE: Servlet threw load() exception
java.lang.NullPointerException
at javax.faces.webapp.FacesServlet.init(FacesServlet.java:143)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
java:1091)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:92
5)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
t.java:3847)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
111)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:73
9)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)

at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.jav
a:918)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
ava:881)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:475
)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1126)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)

at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)

at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442
)
at org.apache.catalina.core.StandardService.start(StandardService.java:4
50)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:683
)
at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
Apr 4, 2005 4:01:29 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Apr 4, 2005 4:01:29 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Apr 4, 2005 4:01:30 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Apr 4, 2005 4:01:31 AM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Apr 4, 2005 4:01:31 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/280 config=null
Apr 4, 2005 4:01:31 AM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Apr 4, 2005 4:01:31 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 37273 ms
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Sorry to do this, but you might need to supply all your code for this. I have the book but how do I know you didn't type something wrong in your code?


GenRocket - Experts at Building Test Data
bob connolly
Ranch Hand

Joined: Mar 10, 2004
Posts: 204
Thanks for helping Gregg!

Because i have the version for this post at home, i think i'm going to start everything from the beginning again, from work here, as since, i've seen some posts where multiple versions of a .jar file seemed to impact things, i'm going to download TOMCAT and reload the example at work here, and actually, i did this at home after making this post and i'm getting another kind of error, so it's starting to sound like it something to do with the way i'm installing TOMCAT maybe? so after i install again, i'll have everything packaged up to show you, anyway here's that latest error:

Apr 4, 2005 5:23:19 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Apr 4, 2005 5:23:19 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 6159 ms
Apr 4, 2005 5:23:20 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Apr 4, 2005 5:23:20 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.7
Apr 4, 2005 5:23:20 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Apr 4, 2005 5:23:23 AM org.apache.catalina.core.ApplicationContext log
INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.
webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule:
Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.bal
ancer.rules.RequestParameterRule: Target param name: paramName / Target param va
lue: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balanc
er.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
Apr 4, 2005 5:23:31 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Apr 4, 2005 5:23:31 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Apr 4, 2005 5:23:32 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Apr 4, 2005 5:23:32 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Apr 4, 2005 5:23:32 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Apr 4, 2005 5:23:33 AM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Apr 4, 2005 5:23:33 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/170 config=null
Apr 4, 2005 5:23:33 AM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Apr 4, 2005 5:23:34 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 14721 ms
Apr 4, 2005 5:30:47 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive jia-hello-world.war
Apr 4, 2005 5:31:04 AM org.apache.catalina.startup.HostConfig checkResources
INFO: Reloading context [/HELLO]
Apr 4, 2005 5:31:04 AM org.apache.catalina.startup.ContextConfig applicationWebC
onfig
INFO: Missing application web.xml, using defaults only StandardEngine[Catalina].
StandardHost[localhost].StandardContext[/HELLO]
Apr 4, 2005 5:31:04 AM org.apache.catalina.core.ApplicationContext log
SEVERE: Error configuring application listener of class com.sun.faces.config.Con
figureListener
java.lang.NoClassDefFoundError: javax/faces/FacesException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
at java.lang.Class.getConstructor0(Class.java:2640)
at java.lang.Class.newInstance0(Class.java:321)
at java.lang.Class.newInstance(Class.java:303)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
t.java:3586)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
073)
at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java
:1074)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1166)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:292)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:119)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBas
e.java:1301)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.p
rocessChildren(ContainerBase.java:1561)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.p
rocessChildren(ContainerBase.java:1570)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.r
un(ContainerBase.java:1550)
at java.lang.Thread.run(Thread.java:595)
Apr 4, 2005 5:31:04 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Skipped installing application listeners due to previous error(s)
Apr 4, 2005 5:31:04 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Apr 4, 2005 5:31:04 AM org.apache.catalina.core.StandardContext start
SEVERE: Context startup failed due to previous errors

Thanks Gregg!
Clemens Tolboom
Greenhorn

Joined: Feb 15, 2005
Posts: 12
Seeing both errors they looks both like configurations problems.

I don't know the book but i presume the login is through j_security_check but then the first error could be located in configuring web.xml ... the login-page is not an existing jsp ie loginPage.jsp or is it loginPage.jsf? Try to rename it then to loginPage.jsp

- the second error looks as if the jsf jar is not deployed to WEB-INF/lib

Maybe a directory tree of your tomcat/webapps/jsp-app-dir would be nice to see.

Hope this is of any help.
[ April 05, 2005: Message edited by: Clemens Tolboom ]
bob connolly
Ranch Hand

Joined: Mar 10, 2004
Posts: 204
Thanks Clemens!

I havn't had time to get back on to this, been sidetracked, sure you know about that, but just a question for now.....are all of the "jsf" jar files located in the WEB_INF/lib directory, or are there some other "jsf" related system or server type .jar files in TOMCAT or any other place that you know about?

Thanks Clemens, i'll get back probably on Friday afternoon!

Good one!
Neeraj Dheer
Ranch Hand

Joined: Mar 30, 2005
Posts: 225
i am facing the same problem...maybe i am doing something wrong in web.xml or the faces-config.xml. is there any specific cause for this? someone was talking about the default xml parser not being able ot read some xml file because it is in a jar file. is that possible?
Neeraj Dheer
Ranch Hand

Joined: Mar 30, 2005
Posts: 225
I was trying to make it work on WebLogic 6.1. Still cant get it to rub. But worked like a charm on Weblogic 8.1. just dropped the directory there and it worked.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Core JSF by Geary & Horstmann. Chapter 1: login example
 
Similar Threads
Tomcat - The requested resource is not available
Apache -> Tomcat servlet problem
JSP question
Can't get book example to work
Tomcat Installation