You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Ray Clark <rc...@yahoo.com> on 2004/12/30 17:14:34 UTC

Trouble installing myFaces and getting it running

I am having a problem with a custom component that I am working on, so I thought that I would install myFaces to see if the problem still exists.  But alas, I am having trouble getting my project to deploy using myFaces.
 
Because of where I am I can't cut and paste stuff in this email.  I have my app running locally on my laptop which can't access email where I'm at, so I'm using another computer to send this email on.  So bear with me.
 
In the console I get:
 
INFO: Installing web application at context path /tblmaint from URL file:C:/Tomcat_5.0.28/webapps/tblmaint
Dec 30, 2004 9:35:23 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Skipped installing application listeners due to previous error(s)
Dec 30, 2004 9:35:23 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Dec 30, 2004 9:35:23 AM org.apache.catalina.core.StandardContext start
SEVERE: Context startup failed due to previous errors
 
Ok, the log file has an exception in it.  Like I said, I can't cut and paste so here goes:
 
2004-12-30 09:35:23 StandardContext[/tblmaint]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:1340)
...
 
In my web.xml file I have:
 
<listener>
     <listener-class>net.sourceforge.myfaces.webapp.StartupServletContextListener</listener-class>
</listener>
 
I am using myFaces-1.0.7.  I tried to follow all of the installation instructions properly.  This is probably a common installation problem.  Anyone got any ideas?
 
Thanks,
Ray

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

RE: Trouble installing myFaces and getting it running

Posted by Ray Clark <rc...@yahoo.com>.
Thanks.  I didn't realize that I had to remove the tld
files as well.  Removing them did the trick.

Thanks,
Ray

--- Matthias Wessendorf
<ma...@matthias-wessendorf.de> wrote:

> com.sun.faces.config.ConfigureListener
> 
> :-) you have still SUN files
> (tld or JARs) for RI inside of your application
> 
> remove all, restart your container.
> 
> HTH,
> Matthias
> 
>  
> -----Original Message-----
> From: Ray Clark [mailto:rcc1234567@yahoo.com] 
> Sent: Thursday, December 30, 2004 5:15 PM
> To: myfaces-dev@incubator.apache.org
> Subject: Trouble installing myFaces and getting it
> running
> 
> 
> I am having a problem with a custom component that I
> am working on, so I
> thought that I would install myFaces to see if the
> problem still exists.
> But alas, I am having trouble getting my project to
> deploy using
> myFaces.
> 
> Because of where I am I can't cut and paste stuff in
> this email.  I have
> my app running locally on my laptop which can't
> access email where I'm
> at, so I'm using another computer to send this email
> on.  So bear with
> me.
> 
> In the console I get:
> 
> INFO: Installing web application at context path
> /tblmaint from URL
> file:C:/Tomcat_5.0.28/webapps/tblmaint
> Dec 30, 2004 9:35:23 AM
> org.apache.catalina.core.StandardContext
> listenerStart
> SEVERE: Skipped installing application listeners due
> to previous
> error(s)
> Dec 30, 2004 9:35:23 AM
> org.apache.catalina.core.StandardContext start
> SEVERE: Error listenerStart
> Dec 30, 2004 9:35:23 AM
> org.apache.catalina.core.StandardContext start
> SEVERE: Context startup failed due to previous
> errors
> 
> Ok, the log file has an exception in it.  Like I
> said, I can't cut and
> paste so here goes:
> 
> 2004-12-30 09:35:23 StandardContext[/tblmaint]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:1340)
> ...
> 
> In my web.xml file I have:
> 
> <listener>
>  
>
<listener-class>net.sourceforge.myfaces.webapp.StartupServletContextList
> ener</listener-class>
> </listener>
> 
> I am using myFaces-1.0.7.  I tried to follow all of
> the installation
> instructions properly.  This is probably a common
> installation problem.
> Anyone got any ideas?
> 
> Thanks,
> Ray
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

RE: Trouble installing myFaces and getting it running

Posted by Matthias Wessendorf <ma...@matthias-wessendorf.de>.
com.sun.faces.config.ConfigureListener

:-) you have still SUN files
(tld or JARs) for RI inside of your application

remove all, restart your container.

HTH,
Matthias

 
-----Original Message-----
From: Ray Clark [mailto:rcc1234567@yahoo.com] 
Sent: Thursday, December 30, 2004 5:15 PM
To: myfaces-dev@incubator.apache.org
Subject: Trouble installing myFaces and getting it running


I am having a problem with a custom component that I am working on, so I
thought that I would install myFaces to see if the problem still exists.
But alas, I am having trouble getting my project to deploy using
myFaces.

Because of where I am I can't cut and paste stuff in this email.  I have
my app running locally on my laptop which can't access email where I'm
at, so I'm using another computer to send this email on.  So bear with
me.

In the console I get:

INFO: Installing web application at context path /tblmaint from URL
file:C:/Tomcat_5.0.28/webapps/tblmaint
Dec 30, 2004 9:35:23 AM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Skipped installing application listeners due to previous
error(s)
Dec 30, 2004 9:35:23 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Dec 30, 2004 9:35:23 AM org.apache.catalina.core.StandardContext start
SEVERE: Context startup failed due to previous errors

Ok, the log file has an exception in it.  Like I said, I can't cut and
paste so here goes:

2004-12-30 09:35:23 StandardContext[/tblmaint]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:1340)
...

In my web.xml file I have:

<listener>
 
<listener-class>net.sourceforge.myfaces.webapp.StartupServletContextList
ener</listener-class>
</listener>

I am using myFaces-1.0.7.  I tried to follow all of the installation
instructions properly.  This is probably a common installation problem.
Anyone got any ideas?

Thanks,
Ray
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com