tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Context.getResource( ) problem
Date Thu, 01 Aug 2002 13:11:53 GMT
Hi Faisal,
It may have been just me, but I got four copies of your message.  Please
post only once.

As to your question: the technical cause for the exception is obvious ;)
You can't form a URL to a  My guess is
something (the TemplateServlet?  Is that your servlet or a JBoss one?
If it's yours, you'll need to post its code so we can help more) is
trying to de-serialize your xml file, while something else is trying to
read that same XML file through a URL.  

I've never seen a URLMappingsXmlDAO error in tomcat before ;)  Is it a
JBoss internal thing?  If so, the JBoss forums might be a better place
to post this question. 

It may also help if you could change the layout pattern for the log file
so that you see the class and method where the exceptions occur.  Add %m
%n to your layout pattern if using log4j...

Yoav Shapira
Millennium ChemInformatics

>-----Original Message-----
>From: faisal []
>Sent: Thursday, August 01, 2002 7:39 AM
>Subject: Context.getResource( ) problem
>Hi all
>Recently I run into a problem reguarding Tomcat4.04 and the
>Context.getResource( ) .I have two  XML files in WEB-INF
>screendefinition_en_US.xml & screendefinition_ja_JA.xml .When I try to
>deploy my application on Jboss&Tomcat the TemplateServlet which is
>to init and load the screens can't find the XML files and this exactly
>I get in Jboss console:
>04:26:01,241 INFO  [Engine] invoker: init
>04:26:01,271 ERROR [STDERR]  4 URLMappingsXmlDAO error:
>no protocol:
>04:26:01,271 ERROR [STDERR] no
>Any clue or suggestion please
>thank u
>To unsubscribe, e-mail:   <mailto:tomcat-user-
>For additional commands, e-mail: <mailto:tomcat-user-

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message