geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepesh d <deepesh...@yahoo.co.in>
Subject Error in connecting to oracle
Date Tue, 16 Aug 2005 11:38:29 GMT

Hi ,

    I am a new user to Geronimo .

     I have an application[.ear ]

    I have a database plan which as follows

   <?xml version="1.0"?>
<connector
xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector"
  version="1.5"
  configId="OracleDS"
  parentId="org/apache/geronimo/Server">

<dependency>
  <uri>oracledb/classes12.jar</uri>
</dependency>

<resourceadapter>
  <outbound-resourceadapter>
    <connection-definition>
     
<connectionfactory-interface>javax.sql.DataSource</connectionfactory-interface>
      <connectiondefinition-instance>
        <name>OracleDS</name>
        <config-property-setting
name="UserName">YARD</config-property-setting>
        <config-property-setting
name="Password">YARD</config-property-setting>
        <config-property-setting
name="Driver">oracle.jdbc.driver.OracleDriver</config-property-setting>
        <config-property-setting name="ConnectionURL">
          <!--jdbc:mysql://localhost/geronimo-->
          jdbc:oracle:thin:@10.237.9.4:1521:VYARDMS
        </config-property-setting>
        <config-property-setting
name="CommitBeforeAutocommit">
           false
        </config-property-setting>
        <config-property-setting
name="ExceptionSorterClass">
          
org.tranql.connector.NoExceptionsAreFatalSorter
        </config-property-setting>

        <connectionmanager>
          <local-transaction/>
          <single-pool>
             <max-size>10</max-size>
             <min-size>0</min-size>
             <blocking-timeout-milliseconds>
                5000
              </blocking-timeout-milliseconds>
              <idle-timeout-minutes>
                30
              </idle-timeout-minutes>
              <match-one/>
          </single-pool>
        </connectionmanager>

       
<global-jndi-name>jdbc/OracleDS</global-jndi-name>

      </connectiondefinition-instance>
    </connection-definition>
  </outbound-resourceadapter>
</resourceadapter>
</connector>


wheni try to deploy the ear i get deployed but get
following errors


javax.naming.AuthenticationException: Cannot open
object input stream to server: ; nested exception is:
        java.io.EOFException


any body can provide a solution for this

regards
Deepesh


	

	
		
____________________________________________________
Send a rakhi to your brother, buy gifts and win attractive prizes. Log on to http://in.promos.yahoo.com/rakhi/index.html

Mime
View raw message