It really is a Null Pointer Exception.

Maybe I don't have JBoss connecting to Oracle properly ?  If I do 
JMX Console/Service=JNDIView/List Invoke, Java:Namespace has an OracleDS entry.

but the only thing I see in the JBoss run log is : 

20:25:45,504 INFO  [OracleDS] Bound connection factory for resource adapter for 
ConnectionManager 'jboss.jca:service=LocalTxCM,name=OracleDS to JNDI name 'java:
/OracleDS'

and various of the docs I have seen suggest there ought to be a lot more
messages about connecting to Oracle.  The database is there, it's up, and  I can
do a SPECJAppServer run with WebLogic, so I think that end of it is okay.

Files in jboss-3.2.5-src/build/output/jboss-3.2.5/server :


  jboss32-log4j.xml : 
    copied to specj/conf/log4j.xml, no changes
  
  jboss32-mysql-ds.xml :
    ignored 

  jboss32-service.xml
    copied to specj/conf/jboss-service.xml, no changes

  jboss32-standardjboss.xml
    copied to specj/conf/standardjboss.xml
  
    jboss32-oracle-ds.xml
    copied to specj/deploy/oracle-ds.xml
  
    diffs :
    <     <jndi-name>DefaultDS</jndi-name>
    >     <jndi-name>OracleDS</jndi-name>
 
    <     <connection-url>jdbc:oracle:oci:@SPEC</connection-url>
    >     <connection-url>jdbc:oracle:thin:@carl:1521:wheel</connection-url>
 
    <     <user-name>spec</user-name>
    <     spec
    >     <user-name>specjb1</user-name>
    >     specjb1
  
  Changes to specj/conf/login-config.xml :
  
    ( What should principal be ?  I've tried user and SID )
    
    diff login-config.xml login-config.xml.original
    47c47
    <              <module-option name = "dsJndiName">java:/OracleDS</module-opt
ion>
    ---
    >              <module-option name = "dsJndiName">java:/DefaultDS</module-op
tion
    >
    67,82d66
    < 
    <     <!-- Security domains for testing new jca framework -->
    <     <application-policy name = "OracleDbRealm">
    <        
    <           <login-module code = "org.jboss.resource.security.ConfiguredIden
tity
    LoginModule"
    <              flag = "required">
    <              <module-option name = "principal">specjb1</module-option>
    <              <module-option name = "userName">specjb1</module-option>
    <              <module-option name = "password">specjb1</module-option>
    <              <module-option name = "managedConnectionFactoryName">jboss.jc
a:se
    rvice=LocalTxCM,name=OracleDS</module-option>
    <           </login-module>
    <        
    <     </application-policy>
    <

  Changes to specj/conf/standardjaws.xml
    16,17c16,17
    <    java:/OracleDS
    <    <type-mapping>Oracle9i</type-mapping>
    ---
    >    java:/DefaultDS
    >    <type-mapping>Hypersonic SQL</type-mapping>


 Changes to specj/conf/standardjbosscmp-jdbc.xml
  17,18c17,18
  <       java:/OracleDS
  <       <datasource-mapping>Oracle9i</datasource-mapping>
  ---
  >       java:/DefaultDS
  >       <datasource-mapping>Hypersonic SQL</datasource-mapping>

  No changes to server/specj/conf/
    jboss-minimal.xml
    jbossmq-state.xml
    jndi.properties
    server.policy





View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849046#3849046

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849046


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to