ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
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


1 to 2 of 2
1 to 2 of 2