[jboss-user] [JNDI and Naming] - javax.naming.NameNotFoundException: IPC_DB not bound

Aurel Sandu do-not-reply at jboss.com
Thu Nov 24 08:19:41 EST 2011


Aurel Sandu [http://community.jboss.org/people/aurelsandu] created the discussion

"javax.naming.NameNotFoundException: IPC_DB not bound"

To view the discussion, visit: http://community.jboss.org/message/638145#638145

--------------------------------------------------------------
Hello all of you,
I work with jboss 4.2.1 , jdk 6 and oracle XE 10g
I put in oracle_ds.xml following :
<?xml version="1.0" encoding="UTF-8"?>
<datasources>
    <xa-datasource>
        <jndi-name>IPC_DB</jndi-name>
        <track-connection-by-tx>true</track-connection-by-tx>
        <isSameRM-override-value>false</isSameRM-override-value>
        <xa-datasource-class>oracle.jdbc.xa.client.OracleXADataSource</xa-datasource-class>
        <xa-datasource-property name="URL">jdbc:oracle:thin:@192.168.10.164:1521:XE</xa-datasource-property>
        <xa-datasource-property name="User">ipc</xa-datasource-property>
        <xa-datasource-property name="Password">ipc</xa-datasource-property>
        <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
        <no-tx-separate-pools/>
        <min-pool-size>5</min-pool-size>
        <max-pool-size>50</max-pool-size>
        <metadata>
            <type-mapping>Oracle10g</type-mapping>
        </metadata>
    </xa-datasource>
    <mbean code="org.jboss.resource.adapter.jdbc.vendor.OracleXAExceptionFormatter" name="jboss.jca:service=OracleXAExceptionFormatter">
        <depends optional-attribute-name="TransactionManagerService">jboss:service=TransactionManager</depends>
    </mbean>
</datasources>
but I get the following:
Caused by: javax.naming.NameNotFoundException: IPC_DB not bound
Any ideea what is happed?
TIA,
Aurel
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/638145#638145]

Start a new discussion in JNDI and Naming at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2083]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111124/6b66d79d/attachment.html 


More information about the jboss-user mailing list