-
1. Re: trouble with greeter example...
meghiddo Apr 28, 2009 11:13 AM (in response to meghiddo)BTW, when I restart the tomcat server I get the followin, hopefully it will provide needed insight because I realize there isnt much info to go on here, I just dont knwo what else to post to help figure this out:
Apr 28, 2009 2:09:21 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:greeter' did not find a matching property.
Apr 28, 2009 2:09:21 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre6\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre6/bin/client;C:/Program Files/Java/jre6/bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files\Microsoft SQL Server\90\Tools\binn\
Apr 28, 2009 2:09:21 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-80
Apr 28, 2009 2:09:21 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 324 ms
Apr 28, 2009 2:09:21 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Apr 28, 2009 2:09:21 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
Apr 28, 2009 2:09:22 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Error configuring application listener of class com.sun.faces.config.ConfigureListener
java.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListener
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3786)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Apr 28, 2009 2:09:22 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Skipped installing application listeners due to previous error(s)
Apr 28, 2009 2:09:22 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Apr 28, 2009 2:09:22 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/greeter] startup failed due to previous errors
Apr 28, 2009 2:09:22 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-80
Apr 28, 2009 2:09:22 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Apr 28, 2009 2:09:22 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/16 config=null
Apr 28, 2009 2:09:22 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 315 ms -
2. Re: trouble with greeter example...
meghiddo Apr 28, 2009 11:59 AM (in response to meghiddo)sorry for multiple replies, I am not seeing a way to edit a post..
I still cant figure this out at all. Im guessing the problem lies in how I added the richfaces library? I dont know.
When I made the project (with eclipse) I got to the third page askin what implementation to use. I chose mojarra which is what I have always used. Then in the component libraries section I added a new one and named it RichFaces.
Should richfaces be a jsf impelmentation like mojarra is? I dot think this is right, RichFaces is just a component library right? I keep trying different combinations though with and without richfaces being a jsf implementation but I am having no luck. STill he same problems every time.
What could be wrong here??
My projects that do not use richfaces work just fine, I can open them on localhost just like always.
Itried addig the code to one of my applications that already does work. WHen I try to open it in my browser here is the first error in the stack:
org.apache.jasper.JasperException: The absolute uri: http://richfaces.org/a4j cannot be resolved in either web.xml or the jar files deployed with this application
I know it must be something I did when first creating the project, I am new to adding libraries. -
3. Re: trouble with greeter example...
wolfgangknauf Apr 29, 2009 12:48 AM (in response to meghiddo)Handled in your other post http://www.jboss.org/index.html?module=bb&op=viewtopic&t=154538
Best regards
Wolfgang