commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kwok Peng Tuck <pengt...@makmal.net>
Subject Re: Cannot create JDBC driver of class '' for connect URL 'null'
Date Thu, 06 Nov 2003 06:47:46 GMT
Right, what's the contents of NIMS.xml ?
It looks like it can't deploy your application because of a error in 
NIMS.xml.

Omkar Joshi wrote:

> ok,
>
> Now I have tomcat 4.1.27, on linux  with JDK 1.4.1  and ojdbc14.jar, 
> commons-dbcp-1.1, commons-pool-1.1
>
> also docbase = '/usr/local/tomcat.../webapps/NIMS'
>
> now when i start my tomcat i get following logs, its a big list,
>
> 2003-11-06 11:19:11 StandardHost[localhost]: Error deploying 
> application at context path null
>
> org.xml.sax.SAXParseException: Content is not allowed in prolog.
>
>     at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>
>     at org.apache.commons.digester.Digester.parse(Digester.java:1567)
>
>     at 
> org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:385)

>
>
>     at 
> org.apache.catalina.core.StandardHost.install(StandardHost.java:803)
>
>     at 
> org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:442) 
>
>
>     at 
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:399)
>
>     at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
>
> at 
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:358) 
>
>
>     at 
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)

>
>
>     at 
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
>
>     at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
>
>     at 
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
>
>     at 
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
>
>     at 
> org.apache.catalina.core.StandardService.start(StandardService.java:497)
>
>     at 
> org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
>
>     at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
>
>     at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
>
>     at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
>
>     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:324)
>
>     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
>
>
>
> 2003-11-06 11:19:11 HostConfig[localhost] Error deploying 
> configuration descriptor NIMS.xml
>
> java.io.IOException: org.xml.sax.SAXParseException: Content is not 
> allowed in prolog.
>
> at 
> org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:391)

>
>
>     at 
> org.apache.catalina.core.StandardHost.install(StandardHost.java:803)
>
>     at 
> org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:442) 
>
>
>     at 
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:399)
>
>     at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
>
> at 
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:358) 
>
>
>     at 
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)

>
>
>     at 
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
>
>     at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
>
>     at 
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
>
>     at 
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
>
>     at 
> org.apache.catalina.core.StandardService.start(StandardService.java:497)
>
>     at 
> org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
>
>     at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
>
>     at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
>
>     at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
>
>     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:324)
>
>     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
>
> _________________________________________________________________
> Are you an Elvis fan? Want to visit Heartbreak Hotel? 
> http://server1.msn.co.in/sp03/elvis/ Here's how you can win a trip!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message