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 03:55:38
From:   meagle
Response to: Proxool Provider unable to load JAXP

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

Full Threads Oldest First

Showing messages 1 through 5 of 5.

  • 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.