You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by John Pedersen <jo...@gmail.com> on 2008/03/27 12:31:44 UTC

errors on reload, fine on restart

Hi,

I have just got the PayPal NVP stuff working in my app, but getting it to
work required adding quite a few jars that came with the download from
PayPal.

Trouble is, when I try to reload the app, I get a whole list of exceptions
listed. If I restart Tomcat, the app runs fine. I have tried taking out some
of the jars, but then PayPal doesn't work ( and doesn't necessarily throw an
exception telling you has gone wrong!)

Can anyone suggest what might be happening. It isn't a show-stopper, but it
is inconvenient.

Here is a list of the jars I have added:

activation.jar
bcmail-jdk14-128.jar
bcprov-jdk14-128.jar
commons-codec-1.3.jar
commons-discovery-0.2.jar
commons-httpclient-3.0.1.jar
commons-logging-1.0.4.jar
jaxrpc.jar
junit.jar
log4j-1.2.8.jar
log4j.properties
mailapi.jar
paypal_base.jar
paypal_junit.jar
saaj.jar
sax2.jar
xalan.jar
xerces.jar
xercesImpl.jar
xml-apis.jar
xpp3-1.1.3.4d_b4_min.jar
xstream-1.1.3.jar

And here are some of the errors:

{ERROR} startup.TldConfig  Exception processing TLD
META-INF/spring-form.tldin JAR at resource path C:\Tomcat
6.0\webapps\ROOT\WEB-INF\lib\spring-webmvc.jar in context
java.lang.NullPointerException
    at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1111).....

{ERROR} startup.TldConfig  Exception processing TLD META-INF/spring.tld in
JAR at resource path C:\Tomcat
6.0\webapps\ROOT\WEB-INF\lib\spring-webmvc.jar in context
java.lang.NullPointerException
    at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1111)....

{ERROR} startup.TldConfig  Exception processing TLD META-INF/c-1_0-rt.tld in
JAR at resource path C:\Tomcat 6.0\webapps\ROOT\WEB-INF\lib\standard.jar in
context
java.lang.NullPointerException
    at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1111)...

{ERROR} startup.TldConfig  Exception processing TLD
META-INF/fmt-1_0-rt.tldin JAR at resource path C:\Tomcat
6.0\webapps\ROOT\WEB-INF\lib\standard.jar in context
java.lang.NullPointerException
    at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1111)...

etc for all the tld files hidden within the jar files

plus

{ERROR} startup.ContextConfig  Parse error in default web.xml
java.lang.NullPointerException
    at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1111)

{ERROR} startup.ContextConfig  Parse error in application web.xml file at
jndi:/localhost/WEB-INF/web.xml
java.lang.NullPointerException
    at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1111)

TIA,

John

RE: errors on reload, fine on restart

Posted by "Katilie, John" <Jo...@softwareagusa.com>.
6.0.16 is available and I've been meaning to upgrade to that when I have
time. Good luck. jfk

-----Original Message-----
From: John Pedersen [mailto:john.pedersen@gmail.com] 
Sent: Thursday, March 27, 2008 10:27 AM
To: Tomcat Users List
Subject: Re: errors on reload, fine on restart

I am using 6.0.13 - so it looks like swapping to 6.0.14 won't help!

On 27/03/2008, Katilie, John <Jo...@softwareagusa.com> wrote:
>
> John, what version of tomcat are you running. I'm running 6.0.14 I'm
not
> doing anything with paypal but I get the same exception at reploy time
> and I have not issolated it:
>
>
> {ERROR} startup.ContextConfig  Parse error in application web.xml file
> at
> jndi:/localhost/WEB-INF/web.xml
> java.lang.NullPointerException
>     at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1111)
>
>
>
> jfk
>
>
> -----Original Message-----
> From: John Pedersen [mailto:john.pedersen@gmail.com]
> Sent: Thursday, March 27, 2008 7:32 AM
> To: users@tomcat.apache.org
> Subject: errors on reload, fine on restart
>
> Hi,
>
> I have just got the PayPal NVP stuff working in my app, but getting it
> to
> work required adding quite a few jars that came with the download from
> PayPal.
>
> Trouble is, when I try to reload the app, I get a whole list of
> exceptions
> listed. If I restart Tomcat, the app runs fine. I have tried taking
out
> some
> of the jars, but then PayPal doesn't work ( and doesn't necessarily
> throw an
> exception telling you has gone wrong!)
>
> Can anyone suggest what might be happening. It isn't a show-stopper,
but
> it
> is inconvenient.
>
> Here is a list of the jars I have added:
>
> activation.jar
> bcmail-jdk14-128.jar
> bcprov-jdk14-128.jar
> commons-codec-1.3.jar
> commons-discovery-0.2.jar
> commons-httpclient-3.0.1.jar
> commons-logging-1.0.4.jar
> jaxrpc.jar
> junit.jar
> log4j-1.2.8.jar
> log4j.properties
> mailapi.jar
> paypal_base.jar
> paypal_junit.jar
> saaj.jar
> sax2.jar
> xalan.jar
> xerces.jar
> xercesImpl.jar
> xml-apis.jar
> xpp3-1.1.3.4d_b4_min.jar
> xstream-1.1.3.jar
>
> And here are some of the errors:
>
> {ERROR} startup.TldConfig  Exception processing TLD
>
> META-INF/spring-form.tldin JAR at resource path C:\Tomcat
>
> 6.0\webapps\ROOT\WEB-INF\lib\spring-webmvc.jar in context
> java.lang.NullPointerException
>     at
> org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1111).....
>
> {ERROR} startup.TldConfig  Exception processing TLD
META-INF/spring.tld
> in
> JAR at resource path C:\Tomcat
> 6.0\webapps\ROOT\WEB-INF\lib\spring-webmvc.jar in context
> java.lang.NullPointerException
>     at
> org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1111)....
>
> {ERROR} startup.TldConfig  Exception processing TLD
> META-INF/c-1_0-rt.tld in
> JAR at resource path C:\Tomcat
6.0\webapps\ROOT\WEB-INF\lib\standard.jar
> in
> context
> java.lang.NullPointerException
>     at
> org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1111)...
>
> {ERROR} startup.TldConfig  Exception processing TLD
>
> META-INF/fmt-1_0-rt.tldin JAR at resource path C:\Tomcat
>
> 6.0\webapps\ROOT\WEB-INF\lib\standard.jar in context
> java.lang.NullPointerException
>     at
> org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1111)...
>
> etc for all the tld files hidden within the jar files
>
> plus
>
> {ERROR} startup.ContextConfig  Parse error in default web.xml
> java.lang.NullPointerException
>     at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1111)
>
> {ERROR} startup.ContextConfig  Parse error in application web.xml file
> at
> jndi:/localhost/WEB-INF/web.xml
> java.lang.NullPointerException
>     at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1111)
>
> TIA,
>
> John
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: errors on reload, fine on restart

Posted by John Pedersen <jo...@gmail.com>.
I am using 6.0.13 - so it looks like swapping to 6.0.14 won't help!

On 27/03/2008, Katilie, John <Jo...@softwareagusa.com> wrote:
>
> John, what version of tomcat are you running. I'm running 6.0.14 I'm not
> doing anything with paypal but I get the same exception at reploy time
> and I have not issolated it:
>
>
> {ERROR} startup.ContextConfig  Parse error in application web.xml file
> at
> jndi:/localhost/WEB-INF/web.xml
> java.lang.NullPointerException
>     at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1111)
>
>
>
> jfk
>
>
> -----Original Message-----
> From: John Pedersen [mailto:john.pedersen@gmail.com]
> Sent: Thursday, March 27, 2008 7:32 AM
> To: users@tomcat.apache.org
> Subject: errors on reload, fine on restart
>
> Hi,
>
> I have just got the PayPal NVP stuff working in my app, but getting it
> to
> work required adding quite a few jars that came with the download from
> PayPal.
>
> Trouble is, when I try to reload the app, I get a whole list of
> exceptions
> listed. If I restart Tomcat, the app runs fine. I have tried taking out
> some
> of the jars, but then PayPal doesn't work ( and doesn't necessarily
> throw an
> exception telling you has gone wrong!)
>
> Can anyone suggest what might be happening. It isn't a show-stopper, but
> it
> is inconvenient.
>
> Here is a list of the jars I have added:
>
> activation.jar
> bcmail-jdk14-128.jar
> bcprov-jdk14-128.jar
> commons-codec-1.3.jar
> commons-discovery-0.2.jar
> commons-httpclient-3.0.1.jar
> commons-logging-1.0.4.jar
> jaxrpc.jar
> junit.jar
> log4j-1.2.8.jar
> log4j.properties
> mailapi.jar
> paypal_base.jar
> paypal_junit.jar
> saaj.jar
> sax2.jar
> xalan.jar
> xerces.jar
> xercesImpl.jar
> xml-apis.jar
> xpp3-1.1.3.4d_b4_min.jar
> xstream-1.1.3.jar
>
> And here are some of the errors:
>
> {ERROR} startup.TldConfig  Exception processing TLD
>
> META-INF/spring-form.tldin JAR at resource path C:\Tomcat
>
> 6.0\webapps\ROOT\WEB-INF\lib\spring-webmvc.jar in context
> java.lang.NullPointerException
>     at
> org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1111).....
>
> {ERROR} startup.TldConfig  Exception processing TLD META-INF/spring.tld
> in
> JAR at resource path C:\Tomcat
> 6.0\webapps\ROOT\WEB-INF\lib\spring-webmvc.jar in context
> java.lang.NullPointerException
>     at
> org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1111)....
>
> {ERROR} startup.TldConfig  Exception processing TLD
> META-INF/c-1_0-rt.tld in
> JAR at resource path C:\Tomcat 6.0\webapps\ROOT\WEB-INF\lib\standard.jar
> in
> context
> java.lang.NullPointerException
>     at
> org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1111)...
>
> {ERROR} startup.TldConfig  Exception processing TLD
>
> META-INF/fmt-1_0-rt.tldin JAR at resource path C:\Tomcat
>
> 6.0\webapps\ROOT\WEB-INF\lib\standard.jar in context
> java.lang.NullPointerException
>     at
> org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1111)...
>
> etc for all the tld files hidden within the jar files
>
> plus
>
> {ERROR} startup.ContextConfig  Parse error in default web.xml
> java.lang.NullPointerException
>     at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1111)
>
> {ERROR} startup.ContextConfig  Parse error in application web.xml file
> at
> jndi:/localhost/WEB-INF/web.xml
> java.lang.NullPointerException
>     at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1111)
>
> TIA,
>
> John
>

RE: errors on reload, fine on restart

Posted by "Katilie, John" <Jo...@softwareagusa.com>.
John, what version of tomcat are you running. I'm running 6.0.14 I'm not
doing anything with paypal but I get the same exception at reploy time
and I have not issolated it:

{ERROR} startup.ContextConfig  Parse error in application web.xml file
at
jndi:/localhost/WEB-INF/web.xml
java.lang.NullPointerException
    at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1111)


jfk

-----Original Message-----
From: John Pedersen [mailto:john.pedersen@gmail.com] 
Sent: Thursday, March 27, 2008 7:32 AM
To: users@tomcat.apache.org
Subject: errors on reload, fine on restart

Hi,

I have just got the PayPal NVP stuff working in my app, but getting it
to
work required adding quite a few jars that came with the download from
PayPal.

Trouble is, when I try to reload the app, I get a whole list of
exceptions
listed. If I restart Tomcat, the app runs fine. I have tried taking out
some
of the jars, but then PayPal doesn't work ( and doesn't necessarily
throw an
exception telling you has gone wrong!)

Can anyone suggest what might be happening. It isn't a show-stopper, but
it
is inconvenient.

Here is a list of the jars I have added:

activation.jar
bcmail-jdk14-128.jar
bcprov-jdk14-128.jar
commons-codec-1.3.jar
commons-discovery-0.2.jar
commons-httpclient-3.0.1.jar
commons-logging-1.0.4.jar
jaxrpc.jar
junit.jar
log4j-1.2.8.jar
log4j.properties
mailapi.jar
paypal_base.jar
paypal_junit.jar
saaj.jar
sax2.jar
xalan.jar
xerces.jar
xercesImpl.jar
xml-apis.jar
xpp3-1.1.3.4d_b4_min.jar
xstream-1.1.3.jar

And here are some of the errors:

{ERROR} startup.TldConfig  Exception processing TLD
META-INF/spring-form.tldin JAR at resource path C:\Tomcat
6.0\webapps\ROOT\WEB-INF\lib\spring-webmvc.jar in context
java.lang.NullPointerException
    at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1111).....

{ERROR} startup.TldConfig  Exception processing TLD META-INF/spring.tld
in
JAR at resource path C:\Tomcat
6.0\webapps\ROOT\WEB-INF\lib\spring-webmvc.jar in context
java.lang.NullPointerException
    at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1111)....

{ERROR} startup.TldConfig  Exception processing TLD
META-INF/c-1_0-rt.tld in
JAR at resource path C:\Tomcat 6.0\webapps\ROOT\WEB-INF\lib\standard.jar
in
context
java.lang.NullPointerException
    at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1111)...

{ERROR} startup.TldConfig  Exception processing TLD
META-INF/fmt-1_0-rt.tldin JAR at resource path C:\Tomcat
6.0\webapps\ROOT\WEB-INF\lib\standard.jar in context
java.lang.NullPointerException
    at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1111)...

etc for all the tld files hidden within the jar files

plus

{ERROR} startup.ContextConfig  Parse error in default web.xml
java.lang.NullPointerException
    at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1111)

{ERROR} startup.ContextConfig  Parse error in application web.xml file
at
jndi:/localhost/WEB-INF/web.xml
java.lang.NullPointerException
    at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1111)

TIA,

John

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org