AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem with 1.4.1 SR1

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> ibm.software.java.linux
View previous topic :: View next topic  
Author Message
m.colom@barcelo.com
Guest





PostPosted: Wed Nov 26, 2003 10:04 am    Post subject: Problem with 1.4.1 SR1 Reply with quote



Hello

Our web application works well with 1.4.1, but with 1.4.1 SR1 we get the
following exception:

[2003/11/26 10:57:23] Provider null could not be instantiated:
java.lang.NullPointerException
javax.xml.parsers.FactoryConfigurationError: Provider null could not be
instantiated: java.lang.NullPointerException
at
javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:145)
at
org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:644)
at
org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616)
at
org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:584)
at
org.apache.log4j.xml.XMLWatchdog.doOnChange(DOMConfigurator.java:815)
at
org.apache.log4j.helpers.FileWatchdog.checkAndConfigure(FileWatchdog.java:80)
at
org.apache.log4j.helpers.FileWatchdog.<init>(FileWatchdog.java:49)
at
org.apache.log4j.xml.XMLWatchdog.<init>(DOMConfigurator.java:807)
at
org.apache.log4j.xml.DOMConfigurator.configureAndWatch(DOMConfigurator.java:574)
at com.ourcompany.util.log4j.Log4jUtil.configureLog4J(Unknown
Source)
at com.ourcompany.util.log4j.Log4jInitServlet.init(Unknown Source)
at javax.servlet.GenericServlet.init(GenericServlet.java:82)
at
com.caucho.server.http.Application.createServlet(Application.java:2755)
at
com.caucho.server.http.Application.loadServlet(Application.java:2711)
at
com.caucho.server.http.Application.initServlets(Application.java:1763)
at com.caucho.server.http.Application.init(Application.java:1698)
at com.caucho.server.http.VirtualHost.init(VirtualHost.java:645)
at
com.caucho.server.http.ServletServer.initHosts(ServletServer.java:641)
at
com.caucho.server.http.ServletServer.initInternal(ServletServer.java:515)
at
com.caucho.server.http.ServletServer.init(ServletServer.java:366)
at com.caucho.server.http.ResinServer.init(ResinServer.java:407)
at com.caucho.server.http.ResinServer.main(ResinServer.java:959)
at com.caucho.server.http.HttpServer.main(HttpServer.java:92)
[2003/11/26 10:57:23] can't load servlet `log4j-init'

and the website doesn't work. I guess there has been some internal
change in the XML parsers of 1.4.1SR1 but we still are unable to find a
solution for this issue.

We would like to stress test SR1 as soon as possible to use it in
production servers.

Any tips?

Best regards

Miquel Colom

Back to top
Neil Masson
Guest





PostPosted: Thu Nov 27, 2003 3:29 pm    Post subject: Re: Problem with 1.4.1 SR1 Reply with quote



The following properties files have changed between 1.4.1 GA and
1,4,1 SR1:
sdk/jre/lib/jaxp.properties
sdk/jre/lib/xerces.properties

Try uncommenting the lines at the bottom of these file.

Neil

[email]m.colom (AT) barcelo (DOT) com[/email] wrote:

Quote:
Hello

Our web application works well with 1.4.1, but with 1.4.1 SR1 we get the
following exception:

[2003/11/26 10:57:23] Provider null could not be instantiated:
java.lang.NullPointerException
javax.xml.parsers.FactoryConfigurationError: Provider null could not be
instantiated: java.lang.NullPointerException
at

javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:145)
at
org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:644)
at
org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616)
at
org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:584)
at
org.apache.log4j.xml.XMLWatchdog.doOnChange(DOMConfigurator.java:815)
at

org.apache.log4j.helpers.FileWatchdog.checkAndConfigure(FileWatchdog.java:80)
at
org.apache.log4j.helpers.FileWatchdog.<init>(FileWatchdog.java:49)
at
org.apache.log4j.xml.XMLWatchdog.<init>(DOMConfigurator.java:807)
at

org.apache.log4j.xml.DOMConfigurator.configureAndWatch(DOMConfigurator.java:574)
at com.ourcompany.util.log4j.Log4jUtil.configureLog4J(Unknown
Source)
at com.ourcompany.util.log4j.Log4jInitServlet.init(Unknown
Source) at
javax.servlet.GenericServlet.init(GenericServlet.java:82) at
com.caucho.server.http.Application.createServlet(Application.java:2755)
at
com.caucho.server.http.Application.loadServlet(Application.java:2711)
at
com.caucho.server.http.Application.initServlets(Application.java:1763)
at com.caucho.server.http.Application.init(Application.java:1698)
at com.caucho.server.http.VirtualHost.init(VirtualHost.java:645)
at
com.caucho.server.http.ServletServer.initHosts(ServletServer.java:641)
at
com.caucho.server.http.ServletServer.initInternal(ServletServer.java:515)
at
com.caucho.server.http.ServletServer.init(ServletServer.java:366)
at com.caucho.server.http.ResinServer.init(ResinServer.java:407)
at com.caucho.server.http.ResinServer.main(ResinServer.java:959)
at com.caucho.server.http.HttpServer.main(HttpServer.java:92)
[2003/11/26 10:57:23] can't load servlet `log4j-init'

and the website doesn't work. I guess there has been some internal
change in the XML parsers of 1.4.1SR1 but we still are unable to find a
solution for this issue.

We would like to stress test SR1 as soon as possible to use it in
production servers.

Any tips?

Best regards

Miquel Colom


Back to top
m.colom@barcelo.com
Guest





PostPosted: Thu Nov 27, 2003 6:31 pm    Post subject: Re: Problem with 1.4.1 SR1 Reply with quote



Hello Neil

Thank you very much!! It's working smoothly with these changes.

Best regards

Neil Masson wrote:
Quote:
The following properties files have changed between 1.4.1 GA and
1,4,1 SR1:
sdk/jre/lib/jaxp.properties
sdk/jre/lib/xerces.properties

Try uncommenting the lines at the bottom of these file.

Neil

[email]m.colom (AT) barcelo (DOT) com[/email] wrote:


Hello

Our web application works well with 1.4.1, but with 1.4.1 SR1 we get the
following exception:

[2003/11/26 10:57:23] Provider null could not be instantiated:
java.lang.NullPointerException
javax.xml.parsers.FactoryConfigurationError: Provider null could not be
instantiated: java.lang.NullPointerException
at


javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:145)

at
org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:644)
at
org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616)
at
org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:584)
at
org.apache.log4j.xml.XMLWatchdog.doOnChange(DOMConfigurator.java:815)
at


org.apache.log4j.helpers.FileWatchdog.checkAndConfigure(FileWatchdog.java:80)

at
org.apache.log4j.helpers.FileWatchdog.<init>(FileWatchdog.java:49)
at
org.apache.log4j.xml.XMLWatchdog.<init>(DOMConfigurator.java:807)
at


org.apache.log4j.xml.DOMConfigurator.configureAndWatch(DOMConfigurator.java:574)

at com.ourcompany.util.log4j.Log4jUtil.configureLog4J(Unknown
Source)
at com.ourcompany.util.log4j.Log4jInitServlet.init(Unknown
Source) at
javax.servlet.GenericServlet.init(GenericServlet.java:82) at
com.caucho.server.http.Application.createServlet(Application.java:2755)
at
com.caucho.server.http.Application.loadServlet(Application.java:2711)
at
com.caucho.server.http.Application.initServlets(Application.java:1763)
at com.caucho.server.http.Application.init(Application.java:1698)
at com.caucho.server.http.VirtualHost.init(VirtualHost.java:645)
at
com.caucho.server.http.ServletServer.initHosts(ServletServer.java:641)
at
com.caucho.server.http.ServletServer.initInternal(ServletServer.java:515)
at
com.caucho.server.http.ServletServer.init(ServletServer.java:366)
at com.caucho.server.http.ResinServer.init(ResinServer.java:407)
at com.caucho.server.http.ResinServer.main(ResinServer.java:959)
at com.caucho.server.http.HttpServer.main(HttpServer.java:92)
[2003/11/26 10:57:23] can't load servlet `log4j-init'

and the website doesn't work. I guess there has been some internal
change in the XML parsers of 1.4.1SR1 but we still are unable to find a
solution for this issue.

We would like to stress test SR1 as soon as possible to use it in
production servers.

Any tips?

Best regards

Miquel Colom




Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> ibm.software.java.linux All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.