Juan Carlos Hipolito Castañeda [
http://community.jboss.org/people/juank] created the
discussion
"Re: how can i connect my jboss pool connection with spring web framework"
To view the discussion, visit:
http://community.jboss.org/message/565183#565183
--------------------------------------------------------------
i make this spring.xml
<?
xml version=+"1.0" encoding=+"UTF-8"?><
beans
xmlns=+"http://www.springframework.org/schema/beans"+
xmlns:xsi=+"http://www.w3.org/2001/XMLSchema-instance"+
xmlns:tx=+"http://www.springframework.org/schema/tx"+
xmlns:jee=+"http://www.springframework.org/schema/jee"+
xmlns:context=+"http://www.springframework.org/schema/context"+
xsi:schemaLocation=+"http://www.springframework.org/schema/beans+htt...
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-2.5.xsd"
<!-- Instructs the container to look for beans with @Transactional and decorate them
--
<tx:annotation-driven
transaction-manager=+"transactionManager"/
<!-- Drives transactions in a local Hibernate environment --
<bean id=+"transactionManager"
class=+"org.springframework.jdbc.datasource.DataSourceTransactionManager"
<property name=+"dataSource"
ref=+"dataSource" />++
beans
<
jee:jndi-lookup id=+"dataSource"+
jndi-name=+"java:jdbc/OracleDS"+/
i get the next error:
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException
: Line 22 in XML document from ServletContext resource [/WEB-INF/applicationContext.xml]
is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The
matching wildcard is strict, but no declaration can be found for element
'jee:jndi-lookup'.
++
++
++
+
++
++
++
++
++
++
++
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/565183#565183]
Start a new discussion in Datasource Configuration at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]