This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Getting MEAN with Mongo, Express, Angular, and Node and have Simon Holmes on-line!
See this thread for details.
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

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(
at org.apache.tomcat.util.digester.CallMethodRule.end (
at org.apache.tomcat.util.digester.Rule.end( :229)
at org.apache.tomcat.util.digester.Digester.endElemen t(
at tSAXParser.endElement(Unknown Source)
at tFragmentScannerImpl.scanEndElement(Unknown Source)
at tFragmentScannerImpl$ known Source)
at Source)
at tFragmentScannerImpl.scanDocument(Unknown Source)
at nfiguration.parse(Unknown Source)
at nfiguration.parse(Unknown Source)
at er.parse(Unknown Source)
at tSAXParser.parse(Unknown Source)
at mpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.tomcat.util.digester.Digester.parse(Dig
at org.apache.catalina.startup.ContextConfig.applicat ionWebConfig(
at org.apache.catalina.startup.ContextConfig.start(Co
at org.apache.catalina.startup.ContextConfig.lifecycl eEvent(
at org.apache.catalina.util.LifecycleSupport.fireLife cycleEvent(
at org.apache.catalina.core.StandardContext.start(Sta
at org.apache.catalina.core.ContainerBase.addChildInt ernal(
at org.apache.catalina.core.ContainerBase.addChild(Co
at org.apache.catalina.core.StandardHost.addChild(Sta
at org.apache.catalina.startup.HostConfig.deployDescr iptor(
at org.apache.catalina.startup.HostConfig.deployDescr iptors(
at org.apache.catalina.startup.HostConfig.deployApps(
at org.apache.catalina.startup.HostConfig.start(HostC
at org.apache.catalina.startup.HostConfig.lifecycleEv ent(
at org.apache.catalina.util.LifecycleSupport.fireLife cycleEvent(
at org.apache.catalina.core.ContainerBase.start(Conta
at org.apache.catalina.core.StandardHost.start(Standa
at org.apache.catalina.core.ContainerBase.start(Conta
at org.apache.catalina.core.StandardEngine.start(Stan
at org.apache.catalina.core.StandardService.start(Sta
at org.apache.catalina.core.StandardServer.start(Stan
at org.apache.catalina.startup.Catalina.start(Catalin
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
at org.apache.catalina.startup.Bootstrap.main(Bootstr
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(
at org.apache.tomcat.util.digester.Digester.createSAX Exception(
at org.apache.tomcat.util.digester.Digester.endElemen t(
at tSAXParser.endElement(Unknown Source)

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
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16649

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 ..
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: error in tomcat startup