Women in Technology

Hear us Roar



Article:
  Wiring Your Web Application with Open Source Java
Subject:   Proxool Provider unable to load JAXP
Date:   2004-10-11 02:30:32
From:   Makeurownrules
Hi ,
I am unable to run the example


2004-10-11 15:00:08,036 FATAL hibernate.connection.ProxoolConnectionProvider:127
-> Proxool Provider unable to load JAXP configurator file: D:/tools/jakarta-to
mcat-5.0.25/webapps/wiring/WEB-INF/proxool.xml
2004-10-11 15:00:08,052 ERROR web.context.ContextLoader:91 -> Context initializ
ation failed
org.springframework.beans.factory.BeanCreationException: Error creating bean wit
h name 'myTransactionManager' defined in resource [/WEB-INF/applicationContext-h
ibernate.xml] of ServletContext: Can't resolve reference to bean 'mySessionFacto
ry' while setting property 'sessionFactory'; nested exception is org.springframe
work.beans.factory.BeanCreationException: Error creating bean with name 'mySessi
onFactory' defined in resource [/WEB-INF/applicationContext-hibernate.xml] of Se
rvletContext: Initialization method of bean failed; nested exception is net.sf.h
ibernate.HibernateException: Proxool Provider unable to load JAXP configurator f
ile: D:/tools/jakarta-tomcat-5.0.25/webapps/wiring/WEB-INF/proxool.xml
org.springframework.beans.factory.BeanCreationException: Error creating bean wit
h name 'mySessionFactory' defined in resource [/WEB-INF/applicationContext-hiber
nate.xml] of ServletContext: Initialization method of bean failed; nested except
ion is net.sf.hibernate.HibernateException: Proxool Provider unable to load JAXP
configurator file: D:/tools/jakarta-tomcat-5.0.25/webapps/wiring/WEB-INF/proxoo
l.xml
net.sf.hibernate.HibernateException: Proxool Provider unable to load JAXP config
urator file: D:/tools/jakarta-tomcat-5.0.25/webapps/wiring/WEB-INF/proxool.xml
at net.sf.hibernate.connection.ProxoolConnectionProvider.configure(Proxo
olConnectionProvider.java:128)
at net.sf.hibernate.connection.ConnectionProviderFactory.newConnectionPr
ovider(ConnectionProviderFactory.java:83)
at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.ja
va:64)
at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1
119)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.
java:748)
at org.springframework.orm.hibernate.LocalSessionFactoryBean.newSessionF
actory(LocalSessionFactoryBean.java:400)
at org.springframework.orm.hibernate.LocalSessionFactoryBean.afterProper
tiesSet(LocalSessionFactoryBean.java:339)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:644)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:170)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:142)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.resolveReference(AbstractAutowireCapableBeanFactory.java:585)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.resolveValueIfNecessary(AbstractAutowireCapableBeanFactory.java:553)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:506)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.populateBean(AbstractAutowireCapableBeanFactory.java:361)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:150)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:142)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.
preInstantiateSingletons(DefaultListableBeanFactory.java:159)
at org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:268)
at org.springframework.web.context.support.XmlWebApplicationContext.refr
esh(XmlWebApplicationContext.java:111)
at org.springframework.web.context.ContextLoader.createWebApplicationCon
text(ContextLoader.java:139)
at org.springframework.web.context.ContextLoader.initWebApplicationConte
xt(ContextLoader.java:79)
at org.springframework.web.context.ContextLoaderServlet.init(ContextLoad
erServlet.java:64)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
java:1019)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:86
2)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
t.java:3991)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
335)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:823)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:80
7)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)


at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDep
loyer.java:277)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:613
)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:431
)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:964)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:349)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)


at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)


at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478
)
at org.apache.catalina.core.StandardService.start(StandardService.java:4
76)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:229
8)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:284)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:422)
Oct 11, 2004 3:00:08 PM org.apache.catalina.core.StandardHostDeployer install

Full Threads Oldest First

Showing messages 1 through 8 of 8.

  • makeurownrules from rentacoder ?
    2007-08-08 19:35:49  lsarna [View]

    My name is Lalit sarna. I am teh founder and CTO of actonme.com Iam trying to get in touch with makeyourownrules from rentacoder.com
    if this is him please do contact me back at lalit.sarna at actonme dot com
    • makeurownrules from rentacoder ?
      2008-10-21 06:45:07  makeurownrules.com [View]

      Hi Lalit,

      We have account makeurownrules on RAC. Can I know why you are looking for us? You can check www.makeurownrules.com for more information.

      Cheers,
      Kapil
  • Proxool Provider unable to load JAXP
    2004-10-11 03:55:38  meagle [View]

    Please look at the solutions in the thread 'Unable to locate config file'. If you are using Hibernate 2.1.6 then you do not need to specify the path to Proxool anymore because it is found in the classpath.

    Mark
    • Proxool Provider unable to load JAXP
      2006-02-08 22:20:26  lhq [View]

      after finished the steps listed in readme file, I start the tomcat server, this error happened, how to fixed the problem?
      javax.servlet.ServletException: サーブレット SpringContextServlet のServlet.init()が例外を投げました
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:962)
      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:821)
      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3420)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:3608)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
      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:2189)
      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:585)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
      ----- Root Cause -----
      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mySessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext-hibernate.xml]: Initialization of bean failed; nested exception is net.sf.hibernate.HibernateException: Proxool Provider unable to load JAXP configurator file: D:\testSpring\WEB-INF/proxool.xml
      net.sf.hibernate.HibernateException: Proxool Provider unable to load JAXP configurator file: D:\testSpring\WEB-INF/proxool.xml
      at net.sf.hibernate.connection.ProxoolConnectionProvider.configure(ProxoolConnectionProvider.java:128)
      at net.sf.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:83)
      at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:64)
      at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1119)
      at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:748)
      at org.springframework.orm.hibernate.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:543)
      at org.springframework.orm.hibernate.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:477)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1058)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:363)
      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
      at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:269)
      at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:318)
      at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
      at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:230)
      at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:156)
      at org.springframework.web.context.ContextLoaderServlet.init(ContextLoaderServlet.java:81)
      at javax.servlet.GenericServlet.init(GenericServlet.java:256)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:934)
      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:821)
      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3420)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:3608)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
      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:2189)
      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:585)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

      2006-02-09 14:11:49 StandardWrapper[/sandbox:action]: サーブレット action を利用不可能にマークします
      2006-02-09 14:11:49 StandardContext[/sandbox]: サーブレット /sandbox が、load()例外を投げました
      javax.servlet.ServletException: サーブレットクラス org.apache.struts.action.ActionServlet を初期化中にエラーが発生しました
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:911)
      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:821)
      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3420)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:3608)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
      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:2189)
      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:585)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
      ----- Root Cause -----
      java.lang.NoClassDefFoundError: org/apache/commons/beanutils/Converter
      at java.lang.Class.getDeclaredConstructors0(Native Method)
      at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
      at java.lang.Class.getConstructor0(Class.java:2640)
      at java.lang.Class.newInstance0(Class.java:321)
      at java.lang.Class.newInstance(Class.java:303)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:902)
      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:821)
      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3420)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:3608)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
      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:2189)
      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:585)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
    • Proxool Provider unable to load JAXP
      2005-04-04 10:36:51  akenny [View]

      Please, i have same problems and i am trying to put the file proxool.xml to my classpath.
      I don't find the solution of my problem. I use Hibernate 2.1.6.
      Think for your help
    • Proxool Provider unable to load JAXP
      2004-10-11 09:08:06  Makeurownrules [View]

      Hi Mark,
      I have done the same thing,but error is the same.

      kapil
      • Proxool Provider unable to load JAXP
        2004-10-11 09:36:07  Makeurownrules [View]

        Hi Mark,

        Actually this error comes whenever there is some exceptional characters are before the So I just copy the content of proxool.xml in new file and it work :).

        It was wonderful tutorial :) and I hope more see more tutorials of thing kind from our developers :)

        Kapil
        • Proxool Provider unable to load JAXP
          2004-12-22 05:50:39  jhliang90us [View]

          I tried everything I can think of, including change proxool.xml file to something else. It still does not work. Could you give some details on how did you fix the problem. Such as what file name did you changed to and code scraches. Thanks.