On Thu, 2 Sep 2004 14:32:18 +0100, Allistair Crossley
<[EMAIL PROTECTED]> wrote:
> Hi Guys
> 
> Decided to give TC 5.5 / JDK 5 B2 a whirl today with our web application on my local 
> machine and am having some teething troubles;
> 
> 1/ Jasper has an issue with JSP page imports where the imported packages are not 
> used. This is throwing an exception.

Did you look at the generated source ?

> 2/ Had the error mentioned earlier about ROOT child '' cannot be deployed because it 
> was shared by another context. I just removed the ROOT folder from webapps to get 
> rid of that problem.

Does everyone really think it's a good idea to have Context elements
in server.xml ?

> 3/ None of my JNDI resources configured in 
> tomcat.home/conf/Catalina/localhost/mywebapp.xml are being recognised. This was 
> copied direct from my TC 5.0.25 installation ... should this still work? Database 
> JAR is in common/lib. Getting lots of
> 
> Cannot create JDBC driver of class '' for connect URL 'null' errors and also in 
> STDOUT

I noticed the ResourceLink element didn't work at all in 5.5.0: the
digester rule was simply missing. Besides that, there could be an
issue with the tweaked DBCP, but that would be surprising.

> WARNING: Error during context /mywebapp restart
> java.lang.NullPointerException
>         at 
> org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1031)
>         at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1123)
>         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:292)
>         at 
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>         at 
> org.apache.catalina.core.StandardHost.backgroundProcess(StandardHost.java:729)
>         at 
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1511)
>         at 
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1520)
>         at 
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1500)
>         at java.lang.Thread.run(Thread.java:595)

Which happens if the host doesn't have a child with that name, which
is not normal. How can you possibly get that ?

> 4/ The logging suggestion at 
> http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/logger.html did not work for 
> me. I have log4j.properties in my webapp classes ... does this override any other 
> log4j config like in this example?

That doc page is gone now (it was still linked from very few places).

-- 
xxxxxxxxxxxxxxxxxxxxxxxxx
R�my Maucherat
Developer & Consultant
JBoss Group (Europe) S�RL
xxxxxxxxxxxxxxxxxxxxxxxxx

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to