aspose file tools*
The moose likes Tomcat and the fly likes error in tomcat startup Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "error in tomcat startup" Watch "error in tomcat startup" New topic
Author

error in tomcat startup

Ravi Majety
Ranch Hand

Joined: Feb 26, 2009
Posts: 59

Hi Everyone

I am involved in a project where we are using spring, hibernate and adobe flex and blazeds library's.The IDE i am working on is Eclipse. The project compiled successfully without any errors. but the problem is actually we are unable to work that on server.


While we are starting the Apache Tomcat Server. The following error appears in the console....

--------------------------------------------------------------------------
Nov 16, 2009 5:18:33 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: E:\Program Files\Java\jre6\bin;.;E:\WINDOWS.0\Sun\Java\bin;E: \WINDOWS.0\system32;E:\WINDOWS.0;E:/Program Files/Java/jre6/bin/client;E:/Program Files/Java/jre6/bin;E:\WINDOWS.0\system32;E:\WINDOWS.0;E:\WINDOWS. 0\System32\Wbem;E:\Program Files\TortoiseSVN\bin;E:\Program Files\Java\jdk1.6.0_15\bin
Nov 16, 2009 5:18:33 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8400
Nov 16, 2009 5:18:33 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 445 ms
Nov 16, 2009 5:18:33 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Nov 16, 2009 5:18:33 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.14
Nov 16, 2009 5:18:33 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(C:\javanew\blazeds-turnkey\tomcat\webapps\blazeds\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
Nov 16, 2009 5:18:34 PM org.apache.tomcat.util.digester.Digester endElement
SEVERE: End event threw exception
java.lang.IllegalArgumentException: Can't convert argument: null
at org.apache.tomcat.util.IntrospectionUtils.convert( IntrospectionUtils.java:976)
at org.apache.tomcat.util.digester.CallMethodRule.end (CallMethodRule.java:523)
at org.apache.tomcat.util.digester.Rule.end(Rule.java :229)
at org.apache.tomcat.util.digester.Digester.endElemen t(Digester.java:1058)
at com.sun.org.apache.xerces.internal.parsers.Abstrac tSAXParser.endElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumen tFragmentScannerImpl.scanEndElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumen tFragmentScannerImpl$FragmentContentDriver.next(Un known Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumen tScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumen tFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Co nfiguration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Co nfiguration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLPars er.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.Abstrac tSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserI mpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.tomcat.util.digester.Digester.parse(Dig ester.java:1562)
at org.apache.catalina.startup.ContextConfig.applicat ionWebConfig(ContextConfig.java:369)
at org.apache.catalina.startup.ContextConfig.start(Co ntextConfig.java:1062)
at org.apache.catalina.startup.ContextConfig.lifecycl eEvent(ContextConfig.java:261)
at org.apache.catalina.util.LifecycleSupport.fireLife cycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:4239)
at org.apache.catalina.core.ContainerBase.addChildInt ernal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(Co ntainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(Sta ndardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployDescr iptor(HostConfig.java:626)
at org.apache.catalina.startup.HostConfig.deployDescr iptors(HostConfig.java:553)
at org.apache.catalina.startup.HostConfig.deployApps( HostConfig.java:488)
at org.apache.catalina.startup.HostConfig.start(HostC onfig.java:1138)
at org.apache.catalina.startup.HostConfig.lifecycleEv ent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLife cycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(Standa rdHost.java:719)
at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(Stan dardEngine.java:443)
at org.apache.catalina.core.StandardService.start(Sta ndardService.java:516)
at org.apache.catalina.core.StandardServer.start(Stan dardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalin a.java:566)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootst rap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:413)
Nov 16, 2009 5:18:34 PM org.apache.catalina.startup.ContextConfig applicationWebConfig
SEVERE: Parse error in application web.xml file at jndi:/localhost/blazeds/WEB-INF/web.xml
java.lang.IllegalArgumentException: Can't convert argument: null
at org.apache.tomcat.util.digester.Digester.createSAX Exception(Digester.java:2726)
at org.apache.tomcat.util.digester.Digester.createSAX Exception(Digester.java:2752)
at org.apache.tomcat.util.digester.Digester.endElemen t(Digester.java:1061)
at com.sun.org.apache.xerces.internal.parsers.Abstrac tSAXParser.endElement(Unknown Source)
at
--------------------------------------------------------------------------

I have done a small research on this problem. The exception raised when endelement() method org.apache.tomcat.util.digestion is called


The exception is raised by the invoke of rule.end(nameSpaceURI,name) which inturn calls the rule.end() (implementation is in callMethodRule)

IntrospectionUtils.convert((String) parameters[i], paramTypes[i]) invoked in the above code raises an error " Illegal Argument Exception : Cannot convert the argument:null"

Please check the attachment for the complete error
The flow is as follows

endelement() ---> rule.end()--->IntrospectionUtils.convert()

On raise of exception in IntrospectionUtils.convert() we got the above error..

I am unable to analyze the problem what actually it lead the tomcat to show that error...

please help...........

Ravi Kiran
ravikiranmajety@yahoo.co.in
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16065
    
  21


I have done a small research on this problem. The exception raised when endelement() method org.apache.tomcat.util.digestion is called


I've a hunch someone's likely to request you do a small research on our Naming Policy. It might help you get an answer quicker.


Customer surveys are for companies who didn't pay proper attention to begin with.
Ravi Majety
Ranch Hand

Joined: Feb 26, 2009
Posts: 59

Hi Friends....

My problem was resolved. The problem is we are using javaee xml schema in web.xml , which is not supported by springframework we are using ..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: error in tomcat startup