on 05-19-2009 9:34 AM
Hi All,
I am trying to hit people soft server using JDBC communication channel. XI Version is 3.0...i am using below parameters as the backend of peoplesoft is ORACLE,
JDBC Driver : oracle.jdbc.driver.OracleDriver
Connecttion : jdbc:oracle:thin:@localhost:1521:database name
User Name : xxx
Password : xx
Attempt to establish database connection failed with SQL error Cannot establish connection to URL 'jdbc:oracle:thin:@localhost:1521:database name': SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=169870080)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
Later changed the default port from 1521 to 12345 as suggested by people soft team and got the below error.
I am getting "Attempt to establish database connection failed with SQL error Cannot establish connection to URL 'jdbc:oracle:thin:@localhost:12345:database name': SQLException: Io exception: Got minus one from a read call"
I tried out various possibilities by using local host name as server name once and next IP address also..but getting the above errors.
Kindly suggest me with the appropriate solution.
Thanks,
Goutham
Hi,
In your Receiver JDBC adapter there is an option Disconnect From Database After Processing Each Message.
Select this option and you will not face the issue further.
If this will not solve your problem then follow below things
please refer below discussion and try to follow those settings to aviod the time out
set parameters
- make sure the parameter resource_limit = false in
init<sid>.ora , in order to switch off the idle time limit. Afterwards restart the
database. OR
- if you want to set resource_limit = true, then set IDLE_TIME = unlimited
Regards
Abhishek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check the DB connection string.which oracle server peoplesoft using.
Oracle OCI 8i
jdbc:oracle:oci8:@<SID>
oracle.jdbc.driver.OracleDriver
Oracle OCI 9i
jdbc:oracle:oci:@<SID>
oracle.jdbc.driver.OracleDriver
Oracle Thin
jdbc:oracle:thin:@<HOST>:<PORT>:<SID>
oracle.jdbc.driver.OracleDriver
If oracle thin server then check the drivers installed for connectivity.Like,
Oracle 10g drivers:
[http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/htdocs/jdbc_10201.html]
Regards,
Prakasu.M
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
No other drivers needed.Try it out.Go to visual admin.Create a new driver with ojdbc14.jar.Create a external data source and use the driver.Give the connection string.It should connect to the system.If not then check with your network team Ip or port is bloged in firewall.
Regards,
Prakasu.M
Hi,
Go to visual admin.Select Jdbc connector.In the resources Select Drivers and create new.Fill the driver name and give the jar file.Select the data source and create new.Give the driver name as you created.Give the connection string which you maintained in the communication channel.If connection string wrong or class wrong then you will get a error.After that go to DB intialization tag.Execute the command line.
Regards,
Prakasu.M
Hi Michal,
We already deployed drivers and hitting successfully for other DOT NET servers with ORACLE as backend. Facing the problem with peoplesoft server only. Kindly suggest.
Thanks,
Goutham.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
1. download the latest jdbc drivers for oracle - deploy them to XI
2. then use this
JDBC Driver : oracle.jdbc.driver.OracleDriver
Connecttion : jdbc:oracle:thin:@localhost:1521:database name
User Name : xxx
Password : xx
once more and check if the error is gone now
Regards,
Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.