Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / December 2006

Tip: Looking for answers? Try searching our database.

class loading problem

Thread view: 
Roy27 - 19 Dec 2006 11:20 GMT
Hi,

I am having this problem sometimes. Sometimes Eclipse (version 3.2) can
load the MyFaces library nicely and work fine, and sometimes it could
not load it. Can someone explain why it happens?

Thanks in advance
Manik
p.s. The debug log:

Dec 19, 2006 5:02:46 PM 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:
D:\Program
Files\Java\jdk1.5.0_07\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\Intel\DMIX
Dec 19, 2006 5:02:47 PM org.apache.coyote.http11.Http11BaseProtocol
init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Dec 19, 2006 5:02:47 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1141 ms
Dec 19, 2006 5:02:47 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Dec 19, 2006 5:02:47 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
Dec 19, 2006 5:02:47 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Dec 19, 2006 5:02:47 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Error configuring application listener of class
org.apache.myfaces.webapp.StartupServletContextListener
java.lang.ClassNotFoundException:
org.apache.myfaces.webapp.StartupServletContextListener
    at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352)
    at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
    at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3677)
    at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4187)
    at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
    at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
    at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
    at
org.apache.catalina.core.StandardService.start(StandardService.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(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
Dec 19, 2006 5:02:47 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Skipped installing application listeners due to previous
error(s)
Dec 19, 2006 5:02:47 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Oliver Wong - 19 Dec 2006 18:48 GMT
> Hi,
>
> I am having this problem sometimes. Sometimes Eclipse (version 3.2) can
> load the MyFaces library nicely and work fine, and sometimes it could
> not load it. Can someone explain why it happens?

   Run Eclipse under JConsole
(http://java.sun.com/developer/technicalArticles/J2SE/jconsole.html) to
check if you're running out of memory. The site will tell you to add
"-Dcom.sun.management.jmxremote" to the command line to enable the
management agent, but instead of adding it to the command line, add it to
the eclipse/eclipse.ini file.

   - Oliver


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.