Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JavaServer Faces » tutorial problem
tutorial problem [message #472155] Tue, 04 July 2006 03:18 Go to next message
Marx is currently offline Marx
Messages: 21
Registered: July 2009
Junior Member
Hello
I'm trying to run tutorial from
http://www.eclipse.org/webtools/jsf/dev_resource/JSFTutorial -RC3/JSFTools_tutorial.html
I've succesfully made it, but when I'm trying to run it, i see in console:
"SEVERE: Error configuring application listener of class
com.sun.faces.config.GlassFishConfigureListener
java.lang.ClassNotFoundException:
com.sun.faces.config.GlassFishConfigureListener"
I have latest Callisto+JSF plugin, Tomcat 5.5.17, and i'm using
jsf-1_1_02.zip
Should I put JSF libriaries directly to Tomcat directory?
Marx




Here is full stack trace:

2006-07-04 09:14:12 org.apache.catalina.core.StandardContext listenerStart
SEVERE: Error configuring application listener of class
com.sun.faces.config.GlassFishConfigureListener
java.lang.ClassNotFoundException:
com.sun.faces.config.GlassFishConfigureListener
at
org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1352)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1198)
at
org.apache.catalina.core.StandardContext.listenerStart(Stand ardContext.java:3677)
at
org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4187)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1013)
at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1013)
at org.apache.catalina.core.StandardEngine.start(StandardEngine .java:442)
at org.apache.catalina.core.StandardService.start(StandardServi ce.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer .java:709)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 94)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:43 2)
2006-07-04 09:14:12 org.apache.catalina.core.StandardContext listenerStart
SEVERE: Skipped installing application listeners due to previous error(s)
2006-07-04 09:14:12 org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
2006-07-04 09:14:12 org.apache.catalina.core.StandardContext start
SEVERE: Context [/JSFTest] startup failed due to previous errors
2006-07-04 09:14:12 org.apache.catalina.core.StandardContext listenerStart
SEVERE: Error configuring application listener of class
com.sun.faces.config.GlassFishConfigureListener
java.lang.ClassNotFoundException:
com.sun.faces.config.GlassFishConfigureListener
at
org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1352)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1198)
at
org.apache.catalina.core.StandardContext.listenerStart(Stand ardContext.java:3677)
at
org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4187)
at
org.apache.catalina.core.ContainerBase.addChildInternal(Cont ainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBas e.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost. java:524)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostC onfig.java:904)
at
org.apache.catalina.startup.HostConfig.deployDirectories(Hos tConfig.java:867)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig .java:474)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java :1122)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostCo nfig.java:310)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1021)
at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1013)
at org.apache.catalina.core.StandardEngine.start(StandardEngine .java:442)
at org.apache.catalina.core.StandardService.start(StandardServi ce.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer .java:709)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 94)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:43 2)
2006-07-04 09:14:12 org.apache.catalina.core.StandardContext listenerStart
SEVERE: Skipped installing application listeners due to previous error(s)
2006-07-04 09:14:12 org.apache.catalina.core.StandardContext start
Re: tutorial problem [message #472161 is a reply to message #472155] Wed, 05 July 2006 23:49 Go to previous messageGo to next message
Cameron Bateman is currently offline Cameron Bateman
Messages: 480
Registered: July 2009
Senior Member
Where did you get your JSF implementation from? Glassfish (showing up in
your stack trace) is a JavaEE 5 container. I don't think we've tested the
tutorial with that container. Is it possible you have both JSF 1.1 and
Glassfish installed in your container?

--Cam

Marx wrote:

> Hello
> I'm trying to run tutorial from
>
http://www.eclipse.org/webtools/jsf/dev_resource/JSFTutorial -RC3/JSFTools_tutorial.html
> I've succesfully made it, but when I'm trying to run it, i see in console:
> "SEVERE: Error configuring application listener of class
> com.sun.faces.config.GlassFishConfigureListener
> java.lang.ClassNotFoundException:
> com.sun.faces.config.GlassFishConfigureListener"
> I have latest Callisto+JSF plugin, Tomcat 5.5.17, and i'm using
> jsf-1_1_02.zip
> Should I put JSF libriaries directly to Tomcat directory?
> Marx




> Here is full stack trace:

> 2006-07-04 09:14:12 org.apache.catalina.core.StandardContext listenerStart
> SEVERE: Error configuring application listener of class
> com.sun.faces.config.GlassFishConfigureListener
> java.lang.ClassNotFoundException:
> com.sun.faces.config.GlassFishConfigureListener
> at
>
org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1352)
> at
>
org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1198)
> at
>
org.apache.catalina.core.StandardContext.listenerStart(Stand ardContext.java:3677)
> at
> org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4187)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1013)
> at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:718)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1013)
> at org.apache.catalina.core.StandardEngine.start(StandardEngine .java:442)
> at org.apache.catalina.core.StandardService.start(StandardServi ce.java:450)
> at org.apache.catalina.core.StandardServer.start(StandardServer .java:709)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:551 )
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
> at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 94)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:43 2)
> 2006-07-04 09:14:12 org.apache.catalina.core.StandardContext listenerStart
> SEVERE: Skipped installing application listeners due to previous error(s)
> 2006-07-04 09:14:12 org.apache.catalina.core.StandardContext start
> SEVERE: Error listenerStart
> 2006-07-04 09:14:12 org.apache.catalina.core.StandardContext start
> SEVERE: Context [/JSFTest] startup failed due to previous errors
> 2006-07-04 09:14:12 org.apache.catalina.core.StandardContext listenerStart
> SEVERE: Error configuring application listener of class
> com.sun.faces.config.GlassFishConfigureListener
> java.lang.ClassNotFoundException:
> com.sun.faces.config.GlassFishConfigureListener
> at
>
org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1352)
> at
>
org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1198)
> at
>
org.apache.catalina.core.StandardContext.listenerStart(Stand ardContext.java:3677)
> at
> org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4187)
> at
>
org.apache.catalina.core.ContainerBase.addChildInternal(Cont ainerBase.java:759)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBas e.java:739)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost. java:524)
> at
> org.apache.catalina.startup.HostConfig.deployDirectory(HostC onfig.java:904)
> at
> org.apache.catalina.startup.HostConfig.deployDirectories(Hos tConfig.java:867)
> at org.apache.catalina.startup.HostConfig.deployApps(HostConfig .java:474)
> at org.apache.catalina.startup.HostConfig.start(HostConfig.java :1122)
> at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostCo nfig.java:310)
> at
>
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:119)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1021)
> at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:718)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1013)
> at org.apache.catalina.core.StandardEngine.start(StandardEngine .java:442)
> at org.apache.catalina.core.StandardService.start(StandardServi ce.java:450)
> at org.apache.catalina.core.StandardServer.start(StandardServer .java:709)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:551 )
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
> at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 94)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:43 2)
> 2006-07-04 09:14:12 org.apache.catalina.core.StandardContext listenerStart
> SEVERE: Skipped installing application listeners due to previous error(s)
> 2006-07-04 09:14:12 org.apache.catalina.core.StandardContext start
Re: tutorial problem [message #472163 is a reply to message #472161] Thu, 06 July 2006 03:17 Go to previous messageGo to next message
Marx is currently offline Marx
Messages: 21
Registered: July 2009
Junior Member
Cameron Bateman napisał(a):
> Where did you get your JSF implementation from? Glassfish (showing up
> in your stack trace) is a JavaEE 5 container. I don't think we've
> tested the tutorial with that container. Is it possible you have both
> JSF 1.1 and Glassfish installed in your container?

I have it from
https://javaserverfaces.dev.java.net/servlets/ProjectDocumen tList?folderID=1504&expandFolder=1504&folderID=5420
It's link from java.sun.com
I've tried 1.2 (it's known not to work with this error), 1.02 and 1.01 -
everytime I have the same error
Marx
Re: tutorial problem [message #472657 is a reply to message #472163] Thu, 06 July 2006 13:58 Go to previous messageGo to next message
Cameron Bateman is currently offline Cameron Bateman
Messages: 480
Registered: July 2009
Senior Member
Could you try with the 1.1 reference implementation available on the page
linked from the tutorial? This will at least give us a reliable
comparison to what we've tested. If that works, then we can try to
discover why the glassfish one doesn't work.


--Cam

Marx wrote:

> Cameron Bateman napisał(a):
>> Where did you get your JSF implementation from? Glassfish (showing up
>> in your stack trace) is a JavaEE 5 container. I don't think we've
>> tested the tutorial with that container. Is it possible you have both
>> JSF 1.1 and Glassfish installed in your container?

> I have it from
>
https://javaserverfaces.dev.java.net/servlets/ProjectDocumen tList?folderID=1504&expandFolder=1504&folderID=5420
> It's link from java.sun.com
> I've tried 1.2 (it's known not to work with this error), 1.02 and 1.01 -
> everytime I have the same error
> Marx
Re: tutorial problem [message #472669 is a reply to message #472657] Mon, 10 July 2006 02:15 Go to previous messageGo to next message
Marx is currently offline Marx
Messages: 21
Registered: July 2009
Junior Member
Cameron Bateman napisał(a):
> Could you try with the 1.1 reference implementation available on the
> page linked from the tutorial? This will at least give us a reliable
> comparison to what we've tested. If that works, then we can try to
> discover why the glassfish one doesn't work.

i tried with this implementatin and have the same error
Marx
Re: tutorial problem [message #472676 is a reply to message #472669] Mon, 10 July 2006 15:29 Go to previous messageGo to next message
Cameron Bateman is currently offline Cameron Bateman
Messages: 480
Registered: July 2009
Senior Member
Hmm.. you got the same stack trace?

Marx wrote:

> Cameron Bateman napisał(a):
>> Could you try with the 1.1 reference implementation available on the
>> page linked from the tutorial? This will at least give us a reliable
>> comparison to what we've tested. If that works, then we can try to
>> discover why the glassfish one doesn't work.

> i tried with this implementatin and have the same error
> Marx
Re: tutorial problem [message #472679 is a reply to message #472676] Tue, 11 July 2006 02:05 Go to previous messageGo to next message
Marx is currently offline Marx
Messages: 21
Registered: July 2009
Junior Member
Cameron Bateman napisał(a):
> Hmm.. you got the same stack trace?

Yes
I've downloaded reference library jsf-1_1_01.zip from Sun
Here is my packed project: (10KB)
http://www.aip.pl/~marx/JSFTest.zip

I'm doing: run on server, update context. Server starts, but context
doesn't.

Here is a full stack:

2006-07-11 07:59:42 org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance
in production environments was not found on the java.library.path:
C:\Program
Files\Java\jdk1.5.0_04\bin;.;C:\WINDOWS\system32;C:\WINDOWS; C:\oracle\ora92\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOW S\System32\Wbem;C:\Program
Files\cvsnt;c:\maven102\bin;
2006-07-11 07:59:43 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
2006-07-11 07:59:43 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2937 ms
2006-07-11 07:59:43 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
2006-07-11 07:59:43 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
2006-07-11 07:59:43 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
2006-07-11 07:59:44 org.apache.catalina.core.StandardContext listenerStart
SEVERE: Error configuring application listener of class
com.sun.faces.config.GlassFishConfigureListener
java.lang.ClassNotFoundException:
com.sun.faces.config.GlassFishConfigureListener
at
org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1352)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1198)
at
org.apache.catalina.core.StandardContext.listenerStart(Stand ardContext.java:3677)
at
org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4187)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1013)
at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1013)
at org.apache.catalina.core.StandardEngine.start(StandardEngine .java:442)
at org.apache.catalina.core.StandardService.start(StandardServi ce.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer .java:709)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 94)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:43 2)
2006-07-11 07:59:44 org.apache.catalina.core.StandardContext listenerStart
SEVERE: Skipped installing application listeners due to previous error(s)
2006-07-11 07:59:44 org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
2006-07-11 07:59:44 org.apache.catalina.core.StandardContext start
SEVERE: Context [/JSFTest] startup failed due to previous errors
2006-07-11 07:59:44 org.apache.catalina.core.StandardContext listenerStart
SEVERE: Error configuring application listener of class
com.sun.faces.config.GlassFishConfigureListener
java.lang.ClassNotFoundException:
com.sun.faces.config.GlassFishConfigureListener
at
org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1352)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1198)
at
org.apache.catalina.core.StandardContext.listenerStart(Stand ardContext.java:3677)
at
org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4187)
at
org.apache.catalina.core.ContainerBase.addChildInternal(Cont ainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBas e.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost. java:524)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostC onfig.java:904)
at
org.apache.catalina.startup.HostConfig.deployDirectories(Hos tConfig.java:867)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig .java:474)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java :1122)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostCo nfig.java:310)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1021)
at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1013)
at org.apache.catalina.core.StandardEngine.start(StandardEngine .java:442)
at org.apache.catalina.core.StandardService.start(StandardServi ce.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer .java:709)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 94)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:43 2)
2006-07-11 07:59:44 org.apache.catalina.core.StandardContext listenerStart
SEVERE: Skipped installing application listeners due to previous error(s)
2006-07-11 07:59:44 org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
2006-07-11 07:59:44 org.apache.catalina.core.StandardContext start
SEVERE: Context [] startup failed due to previous errors
2006-07-11 07:59:44 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
2006-07-11 07:59:45 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
2006-07-11 07:59:45 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/156 config=null
2006-07-11 07:59:45 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
2006-07-11 07:59:45 org.apache.catalina.startup.Catalina start
INFO: Server startup in 2125 ms
Re: tutorial problem [message #472682 is a reply to message #472679] Tue, 11 July 2006 03:02 Go to previous messageGo to next message
Bahadir Yagan is currently offline Bahadir Yagan
Messages: 21
Registered: July 2009
Junior Member
That class was introduced in JSF 1.2. You are probably using tld's of
that implementation. You can check that in jsf_core.tld

for 1.1 it says
<listener>
<listener-class>com.sun.faces.config.ConfigureListener</listener-class >
</listener>

and for 1.2
<listener>
<listener-class>com.sun.faces.config.GlassFishConfigureListener </listener-class>
</listener>




Marx wrote:
> Cameron Bateman napisał(a):
>> Hmm.. you got the same stack trace?
>
> Yes
> I've downloaded reference library jsf-1_1_01.zip from Sun
> Here is my packed project: (10KB)
> http://www.aip.pl/~marx/JSFTest.zip
>
> I'm doing: run on server, update context. Server starts, but context
> doesn't.
>
> Here is a full stack:
>
> 2006-07-11 07:59:42 org.apache.catalina.core.AprLifecycleListener
> lifecycleEvent
> INFO: The Apache Tomcat Native library which allows optimal performance
> in production environments was not found on the java.library.path:
> C:\Program
> Files\Java\jdk1.5.0_04\bin;.;C:\WINDOWS\system32;C:\WINDOWS; C:\oracle\ora92\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOW S\System32\Wbem;C:\Program
> Files\cvsnt;c:\maven102\bin;
> 2006-07-11 07:59:43 org.apache.coyote.http11.Http11BaseProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> 2006-07-11 07:59:43 org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 2937 ms
> 2006-07-11 07:59:43 org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> 2006-07-11 07:59:43 org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
> 2006-07-11 07:59:43 org.apache.catalina.core.StandardHost start
> INFO: XML validation disabled
> 2006-07-11 07:59:44 org.apache.catalina.core.StandardContext listenerStart
> SEVERE: Error configuring application listener of class
> com.sun.faces.config.GlassFishConfigureListener
> java.lang.ClassNotFoundException:
> com.sun.faces.config.GlassFishConfigureListener
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1352)
>
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1198)
>
> at
> org.apache.catalina.core.StandardContext.listenerStart(Stand ardContext.java:3677)
>
> at
> org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4187)
> at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1013)
> at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:718)
> at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1013)
> at
> org.apache.catalina.core.StandardEngine.start(StandardEngine .java:442)
> at
> org.apache.catalina.core.StandardService.start(StandardServi ce.java:450)
> at
> org.apache.catalina.core.StandardServer.start(StandardServer .java:709)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:551 )
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 94)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:43 2)
> 2006-07-11 07:59:44 org.apache.catalina.core.StandardContext listenerStart
> SEVERE: Skipped installing application listeners due to previous error(s)
> 2006-07-11 07:59:44 org.apache.catalina.core.StandardContext start
> SEVERE: Error listenerStart
> 2006-07-11 07:59:44 org.apache.catalina.core.StandardContext start
> SEVERE: Context [/JSFTest] startup failed due to previous errors
> 2006-07-11 07:59:44 org.apache.catalina.core.StandardContext listenerStart
> SEVERE: Error configuring application listener of class
> com.sun.faces.config.GlassFishConfigureListener
> java.lang.ClassNotFoundException:
> com.sun.faces.config.GlassFishConfigureListener
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1352)
>
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1198)
>
> at
> org.apache.catalina.core.StandardContext.listenerStart(Stand ardContext.java:3677)
>
> at
> org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4187)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(Cont ainerBase.java:759)
>
> at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBas e.java:739)
> at
> org.apache.catalina.core.StandardHost.addChild(StandardHost. java:524)
> at
> org.apache.catalina.startup.HostConfig.deployDirectory(HostC onfig.java:904)
> at
> org.apache.catalina.startup.HostConfig.deployDirectories(Hos tConfig.java:867)
>
> at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig .java:474)
> at org.apache.catalina.startup.HostConfig.start(HostConfig.java :1122)
> at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostCo nfig.java:310)
> at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:119)
>
> at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1021)
> at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:718)
> at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1013)
> at
> org.apache.catalina.core.StandardEngine.start(StandardEngine .java:442)
> at
> org.apache.catalina.core.StandardService.start(StandardServi ce.java:450)
> at
> org.apache.catalina.core.StandardServer.start(StandardServer .java:709)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:551 )
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 94)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:43 2)
> 2006-07-11 07:59:44 org.apache.catalina.core.StandardContext listenerStart
> SEVERE: Skipped installing application listeners due to previous error(s)
> 2006-07-11 07:59:44 org.apache.catalina.core.StandardContext start
> SEVERE: Error listenerStart
> 2006-07-11 07:59:44 org.apache.catalina.core.StandardContext start
> SEVERE: Context [] startup failed due to previous errors
> 2006-07-11 07:59:44 org.apache.coyote.http11.Http11BaseProtocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> 2006-07-11 07:59:45 org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> 2006-07-11 07:59:45 org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/156 config=null
> 2006-07-11 07:59:45 org.apache.catalina.storeconfig.StoreLoader load
> INFO: Find registry server-registry.xml at classpath resource
> 2006-07-11 07:59:45 org.apache.catalina.startup.Catalina start
> INFO: Server startup in 2125 ms
Re: tutorial problem [message #472685 is a reply to message #472682] Tue, 11 July 2006 03:38 Go to previous messageGo to next message
Marx is currently offline Marx
Messages: 21
Registered: July 2009
Junior Member
Bahadir Yagan napisał(a):
> That class was introduced in JSF 1.2. You are probably using tld's of
> that implementation. You can check that in jsf_core.tld
I've checked it twice - now such word "GlassFishConfigureListener" in
any file in my project directory , in tomcat, and in JSF Library.

I was searching in Eclipse directory too - maybe JSF library
configurattor is buggy and remember newest JSF libraries - but no luck

Can you open my project, redefine JSF libraries place and try to run it?
Is it working for you?
Marx
Re: tutorial problem [message #472688 is a reply to message #472685] Tue, 11 July 2006 04:06 Go to previous messageGo to next message
Marx is currently offline Marx
Messages: 21
Registered: July 2009
Junior Member
I found references to GlassFishListener in:
..metadata\.plugins\org.eclipse.wst.server.core\tmp3\work\Ca talina\localhost\_\tldCache.ser
..metadata\.plugins\org.eclipse.wst.server.core\tmp3\work\Ca talina\localhost\JSFTest\tldCache.ser

I deleted tmp3 directory, redeployed project to server and now server
starts without errors. It seems like a bug in WST module
Marx
Re: tutorial problem [message #472690 is a reply to message #472685] Tue, 11 July 2006 04:30 Go to previous messageGo to next message
Bahadir Yagan is currently offline Bahadir Yagan
Messages: 21
Registered: July 2009
Junior Member
Marx wrote:
> I've checked it twice - now such word "GlassFishConfigureListener" in
> any file in my project directory , in tomcat, and in JSF Library.
>
> I was searching in Eclipse directory too - maybe JSF library
> configurattor is buggy and remember newest JSF libraries - but no luck
>
> Can you open my project, redefine JSF libraries place and try to run it?
> Is it working for you?
> Marx


Yes it worked for me(eclipse 3.2.0 wtp 1.5). You could try to export to
a war file and deploy that from tomcat manager. You could also check
that ctrl+clicking to the taglib uri in the login.jsp file opens the
correct version of the taglib.


ps: You have an error in login.jsp. h:form should enclose all the input
and submit components. But that is not relevant to your actual problem.

Bahadir
Re: tutorial problem [message #472692 is a reply to message #472690] Tue, 11 July 2006 05:52 Go to previous messageGo to next message
Marx is currently offline Marx
Messages: 21
Registered: July 2009
Junior Member
Bahadir Yagan napisał(a):
> ps: You have an error in login.jsp. h:form should enclose all the input
> and submit components. But that is not relevant to your actual problem.

Thank you, i've fixed it.

Server part seems ok, hovewer on login.jsp I have
SEVERE: Servlet.service() for servlet jsp threw exception
javax.servlet.jsp.JspException: Cannot find FacesContext at
javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag. java:405)

in line:
org.apache.jasper.JasperException: Exception in JSP: /login.jsp:7
4: <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
5: <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
6: <html>
7: <f:view>

I must try to make tutorial step by step again, because i probably
missed something
Marx
Re: tutorial problem [message #472694 is a reply to message #472692] Tue, 11 July 2006 06:28 Go to previous messageGo to next message
Bahadir Yagan is currently offline Bahadir Yagan
Messages: 21
Registered: July 2009
Junior Member
Marx wrote:
> Server part seems ok, hovewer on login.jsp I have
> SEVERE: Servlet.service() for servlet jsp threw exception
> javax.servlet.jsp.JspException: Cannot find FacesContext at
> javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag. java:405)
>
> Marx


You should access the page as login.faces not login.jsp

Bahadir
Re: tutorial problem [message #472697 is a reply to message #472694] Tue, 11 July 2006 09:34 Go to previous message
Marx is currently offline Marx
Messages: 21
Registered: July 2009
Junior Member
Bahadir Yagan napisał(a):
> You should access the page as login.faces not login.jsp
Thank you. It works!
Marx
Re: tutorial problem [message #600852 is a reply to message #472155] Wed, 05 July 2006 23:49 Go to previous message
Cameron Bateman is currently offline Cameron Bateman
Messages: 480
Registered: July 2009
Senior Member
Where did you get your JSF implementation from? Glassfish (showing up in
your stack trace) is a JavaEE 5 container. I don't think we've tested the
tutorial with that container. Is it possible you have both JSF 1.1 and
Glassfish installed in your container?

--Cam

Marx wrote:

> Hello
> I'm trying to run tutorial from
>
http://www.eclipse.org/webtools/jsf/dev_resource/JSFTutorial -RC3/JSFTools_tutorial.html
> I've succesfully made it, but when I'm trying to run it, i see in console:
> "SEVERE: Error configuring application listener of class
> com.sun.faces.config.GlassFishConfigureListener
> java.lang.ClassNotFoundException:
> com.sun.faces.config.GlassFishConfigureListener"
> I have latest Callisto+JSF plugin, Tomcat 5.5.17, and i'm using
> jsf-1_1_02.zip
> Should I put JSF libriaries directly to Tomcat directory?
> Marx




> Here is full stack trace:

> 2006-07-04 09:14:12 org.apache.catalina.core.StandardContext listenerStart
> SEVERE: Error configuring application listener of class
> com.sun.faces.config.GlassFishConfigureListener
> java.lang.ClassNotFoundException:
> com.sun.faces.config.GlassFishConfigureListener
> at
>
org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1352)
> at
>
org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1198)
> at
>
org.apache.catalina.core.StandardContext.listenerStart(Stand ardContext.java:3677)
> at
> org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4187)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1013)
> at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:718)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1013)
> at org.apache.catalina.core.StandardEngine.start(StandardEngine .java:442)
> at org.apache.catalina.core.StandardService.start(StandardServi ce.java:450)
> at org.apache.catalina.core.StandardServer.start(StandardServer .java:709)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:551 )
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
> at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 94)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:43 2)
> 2006-07-04 09:14:12 org.apache.catalina.core.StandardContext listenerStart
> SEVERE: Skipped installing application listeners due to previous error(s)
> 2006-07-04 09:14:12 org.apache.catalina.core.StandardContext start
> SEVERE: Error listenerStart
> 2006-07-04 09:14:12 org.apache.catalina.core.StandardContext start
> SEVERE: Context [/JSFTest] startup failed due to previous errors
> 2006-07-04 09:14:12 org.apache.catalina.core.StandardContext listenerStart
> SEVERE: Error configuring application listener of class
> com.sun.faces.config.GlassFishConfigureListener
> java.lang.ClassNotFoundException:
> com.sun.faces.config.GlassFishConfigureListener
> at
>
org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1352)
> at
>
org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1198)
> at
>
org.apache.catalina.core.StandardContext.listenerStart(Stand ardContext.java:3677)
> at
> org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4187)
> at
>
org.apache.catalina.core.ContainerBase.addChildInternal(Cont ainerBase.java:759)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBas e.java:739)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost. java:524)
> at
> org.apache.catalina.startup.HostConfig.deployDirectory(HostC onfig.java:904)
> at
> org.apache.catalina.startup.HostConfig.deployDirectories(Hos tConfig.java:867)
> at org.apache.catalina.startup.HostConfig.deployApps(HostConfig .java:474)
> at org.apache.catalina.startup.HostConfig.start(HostConfig.java :1122)
> at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostCo nfig.java:310)
> at
>
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:119)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1021)
> at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:718)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1013)
> at org.apache.catalina.core.StandardEngine.start(StandardEngine .java:442)
> at org.apache.catalina.core.StandardService.start(StandardServi ce.java:450)
> at org.apache.catalina.core.StandardServer.start(StandardServer .java:709)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:551 )
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
> at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 94)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:43 2)
> 2006-07-04 09:14:12 org.apache.catalina.core.StandardContext listenerStart
> SEVERE: Skipped installing application listeners due to previous error(s)
> 2006-07-04 09:14:12 org.apache.catalina.core.StandardContext start
Re: tutorial problem [message #600863 is a reply to message #472161] Thu, 06 July 2006 03:17 Go to previous message
Marx is currently offline Marx
Messages: 21
Registered: July 2009
Junior Member
Cameron Bateman napisał(a):
> Where did you get your JSF implementation from? Glassfish (showing up
> in your stack trace) is a JavaEE 5 container. I don't think we've
> tested the tutorial with that container. Is it possible you have both
> JSF 1.1 and Glassfish installed in your container?

I have it from
https://javaserverfaces.dev.java.net/servlets/ProjectDocumen tList?folderID=1504&expandFolder=1504&folderID=5420
It's link from java.sun.com
I've tried 1.2 (it's known not to work with this error), 1.02 and 1.01 -
everytime I have the same error
Marx
Re: tutorial problem [message #603379 is a reply to message #472163] Thu, 06 July 2006 13:58 Go to previous message
Cameron Bateman is currently offline Cameron Bateman
Messages: 480
Registered: July 2009
Senior Member
Could you try with the 1.1 reference implementation available on the page
linked from the tutorial? This will at least give us a reliable
comparison to what we've tested. If that works, then we can try to
discover why the glassfish one doesn't work.


--Cam

Marx wrote:

> Cameron Bateman napisał(a):
>> Where did you get your JSF implementation from? Glassfish (showing up
>> in your stack trace) is a JavaEE 5 container. I don't think we've
>> tested the tutorial with that container. Is it possible you have both
>> JSF 1.1 and Glassfish installed in your container?

> I have it from
>
https://javaserverfaces.dev.java.net/servlets/ProjectDocumen tList?folderID=1504&expandFolder=1504&folderID=5420
> It's link from java.sun.com
> I've tried 1.2 (it's known not to work with this error), 1.02 and 1.01 -
> everytime I have the same error
> Marx
Re: tutorial problem [message #603422 is a reply to message #472657] Mon, 10 July 2006 02:15 Go to previous message
Marx is currently offline Marx
Messages: 21
Registered: July 2009
Junior Member
Cameron Bateman napisał(a):
> Could you try with the 1.1 reference implementation available on the
> page linked from the tutorial? This will at least give us a reliable
> comparison to what we've tested. If that works, then we can try to
> discover why the glassfish one doesn't work.

i tried with this implementatin and have the same error
Marx
Re: tutorial problem [message #603437 is a reply to message #472669] Mon, 10 July 2006 15:29 Go to previous message
Cameron Bateman is currently offline Cameron Bateman
Messages: 480
Registered: July 2009
Senior Member
Hmm.. you got the same stack trace?

Marx wrote:

> Cameron Bateman napisał(a):
>> Could you try with the 1.1 reference implementation available on the
>> page linked from the tutorial? This will at least give us a reliable
>> comparison to what we've tested. If that works, then we can try to
>> discover why the glassfish one doesn't work.

> i tried with this implementatin and have the same error
> Marx
Re: tutorial problem [message #603446 is a reply to message #472676] Tue, 11 July 2006 02:05 Go to previous message
Marx is currently offline Marx
Messages: 21
Registered: July 2009
Junior Member
Cameron Bateman napisał(a):
> Hmm.. you got the same stack trace?

Yes
I've downloaded reference library jsf-1_1_01.zip from Sun
Here is my packed project: (10KB)
http://www.aip.pl/~marx/JSFTest.zip

I'm doing: run on server, update context. Server starts, but context
doesn't.

Here is a full stack:

2006-07-11 07:59:42 org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance
in production environments was not found on the java.library.path:
C:\Program
Files\Java\jdk1.5.0_04\bin;.;C:\WINDOWS\system32;C:\WINDOWS; C:\oracle\ora92\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOW S\System32\Wbem;C:\Program
Files\cvsnt;c:\maven102\bin;
2006-07-11 07:59:43 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
2006-07-11 07:59:43 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2937 ms
2006-07-11 07:59:43 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
2006-07-11 07:59:43 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
2006-07-11 07:59:43 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
2006-07-11 07:59:44 org.apache.catalina.core.StandardContext listenerStart
SEVERE: Error configuring application listener of class
com.sun.faces.config.GlassFishConfigureListener
java.lang.ClassNotFoundException:
com.sun.faces.config.GlassFishConfigureListener
at
org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1352)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1198)
at
org.apache.catalina.core.StandardContext.listenerStart(Stand ardContext.java:3677)
at
org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4187)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1013)
at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1013)
at org.apache.catalina.core.StandardEngine.start(StandardEngine .java:442)
at org.apache.catalina.core.StandardService.start(StandardServi ce.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer .java:709)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 94)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:43 2)
2006-07-11 07:59:44 org.apache.catalina.core.StandardContext listenerStart
SEVERE: Skipped installing application listeners due to previous error(s)
2006-07-11 07:59:44 org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
2006-07-11 07:59:44 org.apache.catalina.core.StandardContext start
SEVERE: Context [/JSFTest] startup failed due to previous errors
2006-07-11 07:59:44 org.apache.catalina.core.StandardContext listenerStart
SEVERE: Error configuring application listener of class
com.sun.faces.config.GlassFishConfigureListener
java.lang.ClassNotFoundException:
com.sun.faces.config.GlassFishConfigureListener
at
org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1352)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1198)
at
org.apache.catalina.core.StandardContext.listenerStart(Stand ardContext.java:3677)
at
org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4187)
at
org.apache.catalina.core.ContainerBase.addChildInternal(Cont ainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBas e.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost. java:524)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostC onfig.java:904)
at
org.apache.catalina.startup.HostConfig.deployDirectories(Hos tConfig.java:867)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig .java:474)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java :1122)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostCo nfig.java:310)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1021)
at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1013)
at org.apache.catalina.core.StandardEngine.start(StandardEngine .java:442)
at org.apache.catalina.core.StandardService.start(StandardServi ce.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer .java:709)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 94)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:43 2)
2006-07-11 07:59:44 org.apache.catalina.core.StandardContext listenerStart
SEVERE: Skipped installing application listeners due to previous error(s)
2006-07-11 07:59:44 org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
2006-07-11 07:59:44 org.apache.catalina.core.StandardContext start
SEVERE: Context [] startup failed due to previous errors
2006-07-11 07:59:44 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
2006-07-11 07:59:45 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
2006-07-11 07:59:45 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/156 config=null
2006-07-11 07:59:45 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
2006-07-11 07:59:45 org.apache.catalina.startup.Catalina start
INFO: Server startup in 2125 ms
Re: tutorial problem [message #603453 is a reply to message #472679] Tue, 11 July 2006 03:02 Go to previous message
Bahadir Yagan is currently offline Bahadir Yagan
Messages: 21
Registered: July 2009
Junior Member
That class was introduced in JSF 1.2. You are probably using tld's of
that implementation. You can check that in jsf_core.tld

for 1.1 it says
<listener>
<listener-class>com.sun.faces.config.ConfigureListener</listener-class >
</listener>

and for 1.2
<listener>
<listener-class>com.sun.faces.config.GlassFishConfigureListener </listener-class>
</listener>




Marx wrote:
> Cameron Bateman napisał(a):
>> Hmm.. you got the same stack trace?
>
> Yes
> I've downloaded reference library jsf-1_1_01.zip from Sun
> Here is my packed project: (10KB)
> http://www.aip.pl/~marx/JSFTest.zip
>
> I'm doing: run on server, update context. Server starts, but context
> doesn't.
>
> Here is a full stack:
>
> 2006-07-11 07:59:42 org.apache.catalina.core.AprLifecycleListener
> lifecycleEvent
> INFO: The Apache Tomcat Native library which allows optimal performance
> in production environments was not found on the java.library.path:
> C:\Program
> Files\Java\jdk1.5.0_04\bin;.;C:\WINDOWS\system32;C:\WINDOWS; C:\oracle\ora92\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOW S\System32\Wbem;C:\Program
> Files\cvsnt;c:\maven102\bin;
> 2006-07-11 07:59:43 org.apache.coyote.http11.Http11BaseProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> 2006-07-11 07:59:43 org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 2937 ms
> 2006-07-11 07:59:43 org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> 2006-07-11 07:59:43 org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
> 2006-07-11 07:59:43 org.apache.catalina.core.StandardHost start
> INFO: XML validation disabled
> 2006-07-11 07:59:44 org.apache.catalina.core.StandardContext listenerStart
> SEVERE: Error configuring application listener of class
> com.sun.faces.config.GlassFishConfigureListener
> java.lang.ClassNotFoundException:
> com.sun.faces.config.GlassFishConfigureListener
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1352)
>
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1198)
>
> at
> org.apache.catalina.core.StandardContext.listenerStart(Stand ardContext.java:3677)
>
> at
> org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4187)
> at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1013)
> at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:718)
> at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1013)
> at
> org.apache.catalina.core.StandardEngine.start(StandardEngine .java:442)
> at
> org.apache.catalina.core.StandardService.start(StandardServi ce.java:450)
> at
> org.apache.catalina.core.StandardServer.start(StandardServer .java:709)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:551 )
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 94)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:43 2)
> 2006-07-11 07:59:44 org.apache.catalina.core.StandardContext listenerStart
> SEVERE: Skipped installing application listeners due to previous error(s)
> 2006-07-11 07:59:44 org.apache.catalina.core.StandardContext start
> SEVERE: Error listenerStart
> 2006-07-11 07:59:44 org.apache.catalina.core.StandardContext start
> SEVERE: Context [/JSFTest] startup failed due to previous errors
> 2006-07-11 07:59:44 org.apache.catalina.core.StandardContext listenerStart
> SEVERE: Error configuring application listener of class
> com.sun.faces.config.GlassFishConfigureListener
> java.lang.ClassNotFoundException:
> com.sun.faces.config.GlassFishConfigureListener
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1352)
>
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1198)
>
> at
> org.apache.catalina.core.StandardContext.listenerStart(Stand ardContext.java:3677)
>
> at
> org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4187)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(Cont ainerBase.java:759)
>
> at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBas e.java:739)
> at
> org.apache.catalina.core.StandardHost.addChild(StandardHost. java:524)
> at
> org.apache.catalina.startup.HostConfig.deployDirectory(HostC onfig.java:904)
> at
> org.apache.catalina.startup.HostConfig.deployDirectories(Hos tConfig.java:867)
>
> at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig .java:474)
> at org.apache.catalina.startup.HostConfig.start(HostConfig.java :1122)
> at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostCo nfig.java:310)
> at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:119)
>
> at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1021)
> at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:718)
> at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1013)
> at
> org.apache.catalina.core.StandardEngine.start(StandardEngine .java:442)
> at
> org.apache.catalina.core.StandardService.start(StandardServi ce.java:450)
> at
> org.apache.catalina.core.StandardServer.start(StandardServer .java:709)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:551 )
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 94)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:43 2)
> 2006-07-11 07:59:44 org.apache.catalina.core.StandardContext listenerStart
> SEVERE: Skipped installing application listeners due to previous error(s)
> 2006-07-11 07:59:44 org.apache.catalina.core.StandardContext start
> SEVERE: Error listenerStart
> 2006-07-11 07:59:44 org.apache.catalina.core.StandardContext start
> SEVERE: Context [] startup failed due to previous errors
> 2006-07-11 07:59:44 org.apache.coyote.http11.Http11BaseProtocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> 2006-07-11 07:59:45 org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> 2006-07-11 07:59:45 org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/156 config=null
> 2006-07-11 07:59:45 org.apache.catalina.storeconfig.StoreLoader load
> INFO: Find registry server-registry.xml at classpath resource
> 2006-07-11 07:59:45 org.apache.catalina.startup.Catalina start
> INFO: Server startup in 2125 ms
Re: tutorial problem [message #603459 is a reply to message #472682] Tue, 11 July 2006 03:38 Go to previous message
Marx is currently offline Marx
Messages: 21
Registered: July 2009
Junior Member
Bahadir Yagan napisał(a):
> That class was introduced in JSF 1.2. You are probably using tld's of
> that implementation. You can check that in jsf_core.tld
I've checked it twice - now such word "GlassFishConfigureListener" in
any file in my project directory , in tomcat, and in JSF Library.

I was searching in Eclipse directory too - maybe JSF library
configurattor is buggy and remember newest JSF libraries - but no luck

Can you open my project, redefine JSF libraries place and try to run it?
Is it working for you?
Marx
Re: tutorial problem [message #603464 is a reply to message #472685] Tue, 11 July 2006 04:06 Go to previous message
Marx is currently offline Marx
Messages: 21
Registered: July 2009
Junior Member
I found references to GlassFishListener in:
..metadata\.plugins\org.eclipse.wst.server.core\tmp3\work\Ca talina\localhost\_\tldCache.ser
..metadata\.plugins\org.eclipse.wst.server.core\tmp3\work\Ca talina\localhost\JSFTest\tldCache.ser

I deleted tmp3 directory, redeployed project to server and now server
starts without errors. It seems like a bug in WST module
Marx
Re: tutorial problem [message #603466 is a reply to message #472685] Tue, 11 July 2006 04:30 Go to previous message
Bahadir Yagan is currently offline Bahadir Yagan
Messages: 21
Registered: July 2009
Junior Member
Marx wrote:
> I've checked it twice - now such word "GlassFishConfigureListener" in
> any file in my project directory , in tomcat, and in JSF Library.
>
> I was searching in Eclipse directory too - maybe JSF library
> configurattor is buggy and remember newest JSF libraries - but no luck
>
> Can you open my project, redefine JSF libraries place and try to run it?
> Is it working for you?
> Marx


Yes it worked for me(eclipse 3.2.0 wtp 1.5). You could try to export to
a war file and deploy that from tomcat manager. You could also check
that ctrl+clicking to the taglib uri in the login.jsp file opens the
correct version of the taglib.


ps: You have an error in login.jsp. h:form should enclose all the input
and submit components. But that is not relevant to your actual problem.

Bahadir
Re: tutorial problem [message #603477 is a reply to message #472690] Tue, 11 July 2006 05:52 Go to previous message
Marx is currently offline Marx
Messages: 21
Registered: July 2009
Junior Member
Bahadir Yagan napisał(a):
> ps: You have an error in login.jsp. h:form should enclose all the input
> and submit components. But that is not relevant to your actual problem.

Thank you, i've fixed it.

Server part seems ok, hovewer on login.jsp I have
SEVERE: Servlet.service() for servlet jsp threw exception
javax.servlet.jsp.JspException: Cannot find FacesContext at
javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag. java:405)

in line:
org.apache.jasper.JasperException: Exception in JSP: /login.jsp:7
4: <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
5: <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
6: <html>
7: <f:view>

I must try to make tutorial step by step again, because i probably
missed something
Marx
Re: tutorial problem [message #603483 is a reply to message #472692] Tue, 11 July 2006 06:28 Go to previous message
Bahadir Yagan is currently offline Bahadir Yagan
Messages: 21
Registered: July 2009
Junior Member
Marx wrote:
> Server part seems ok, hovewer on login.jsp I have
> SEVERE: Servlet.service() for servlet jsp threw exception
> javax.servlet.jsp.JspException: Cannot find FacesContext at
> javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag. java:405)
>
> Marx


You should access the page as login.faces not login.jsp

Bahadir
Re: tutorial problem [message #603488 is a reply to message #472694] Tue, 11 July 2006 09:34 Go to previous message
Marx is currently offline Marx
Messages: 21
Registered: July 2009
Junior Member
Bahadir Yagan napisał(a):
> You should access the page as login.faces not login.jsp
Thank you. It works!
Marx
Previous Topic:javax.servlet.* not recognized
Next Topic:sybase contribution
Goto Forum:
  


Current Time: Sun Apr 20 19:50:37 EDT 2014

Powered by FUDForum. Page generated in 0.05325 seconds