JDBC adaptor error
Hi,
I got some error in JDBC adaptor CC "no Adaptor registered for this channel "
in adaptor monitoring it shows JDBC in all adaptor list, but after selecting
only installed and started it is disappearing.
we installed ojdbc14,downloded from database provider site, and it's deployment shows successfully deployed.
regards,
Hi, Senthil:
I suggest that you search SAP notes based on your database vendor. When deloy driver on Java stack, deploy successfully does not guarentee that it works. I came cross the situation and found the notes solve the problem.
Good luck
Liang
Similar Messages
-
Error Handling in JDBC Adaptor - Without BPM
Hi friends,
My problem is like this. Scenario is File -> Xi -> JDBC.
here i didn't used BPM at all.
My interface is working fine.
right now i am not doing any error handling for 'Primary key violation, refrential intigrity etc.. '.
if this type errors encountered i going to adapter monitoring and looking out the issue.
Now the client requirment is
whenever this type of errors occured Client should be notified Via email along with error description.
Is there anyway to do this ?Hi Suresh,
You can setup the Alerting framework of XI to trigger alerts. Alert rules can be set to raise alerts in case of JDBC Adapter Errors.
Check these links....
http://help.sap.com/saphelp_nw04/helpdata/en/3f/81023cfa699508e10000000a11402f/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm
Thanks & Regards,
Renjith
An addition to what i just said...You have to be on SP14 for this...
Message was edited by: Renjith Andrews -
SELECT,UPDATE, DELETE With JDBC Adaptor
Dear All,
I need to execute few Select, update and Delete statement by using JDBC Adaptor.
Suppose While select statement no records selected.
During Update no records exsist with specified key so no update possible.
During delete if no record found with specified key so no deletion possible.
In above cases do I get any error, any where in XI . Either in SXMB_MONI or in RWB.
Regards,
RaghvendraHi
You will be getting SQL error in RWB and not processed flag in SXMB_MONI
Along with this you can use OS level command STDOUT and STDERR to write out the trace.
using JDBC you can even use following Isolated setting.
· Default (default setting of the respective database)
· None
· read_uncommitted (weakest setting)
· read_committed
· repeatable_read
· serializable (strongest setting)
You must only lower the isolation level where necessary and as far as necessary. To avoid data inconsistencies in the database when the isolation level is lowered, ensure that multiple database transactions cannot access the database simultaneously.
With this Do not set Auto Commit enabled indicator if the JDBC driver supports transactions.
Thanks
Gaurav Bhargava -
Custom adaptor error??? in SQL Server
When i work on Custom Adaptor for Ms. SQL Server, i am not able to configure sucess fully, i am giving the following parameter???
Host Name --- Server HostName --- my Windows 2003 Server Name or i used localhost because SQL Server is Installed on Same OS/Maschine
TCP-PORT --- 1433
User Name --- Windows Authentication User Name or id MS SQL Server is with out Authentication mode then no need to user name and password
Password --- *********
JDBC Driver --- com.microsoft.sqlserver.jdbc.SQLServerDriver ( I have all the three driver i.e msbase.jar / mssqlserver.jar / msutil.jar ( Because i am using MS SQL
Server 2000 on Service Pack 1 or 2003 Windows Server
JDBC URL Template ---- jdbc:sqlserver://imserver1:1433/master.mdf ( Host Name - IMSERVER1: Port Number / 1433 , Database Name ( currently i am using one test Databasein MS Sql Server for Test Purpose that i have created manually)
When i test the configuration it will show this error
Test connection failed for resource(s):
MSSQLServer: ==> java.lang.ClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver
**ERRORS**
XPRESS <invoke> exception:
Can't call method listDatabaseNames on class com.waveset.ui.web.resources.wizard.SQLServerUtil ==> com.waveset.util.WavesetException: ==> java.sql.SQLException: No suitable driver found for jdbc:sqlserver://imserver1:1433/idmtest_Data.mdf
XPRESS <invoke> exception:
Can't call method listDatabaseNames on class com.waveset.ui.web.resources.wizard.SQLServerUtil ==> com.waveset.util.WavesetException: ==> java.sql.SQLException: No suitable driver found for jdbc:sqlserver://imserver1:1433/idmtest_Data.mdf
XPRESS <invoke> exception:
Can't call method listDatabaseNames on class com.waveset.ui.web.resources.wizard.SQLServerUtil ==> com.waveset.util.WavesetException: ==> java.sql.SQLException: No suitable driver found for jdbc:sqlserver://imserver1:1433/idmtest_Data.mdf
please reply if you have face the same solution and you have got the answer??????
will thankfullHi,
java.lang.ClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver that error means it does not find the classes for microsoft jdbc in the classpath of the idm webapp.
copy the microsoft jdbc driver jar (e.g. sqljdbc.jar) to the WEB-INF/lib folder of your application servers webapp directory. for example:
/tomcat/webapps/idm/WEB-INF/lib -
ADF: Gracefully handling JDBC connection errors? Part II
Hi gang
I while back I posted a forum post to find a solution to "display a specific web page when the JDBC connection drops out on our ADF application, specifically the following error: oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection"
...you can see the original post here:
Re: ADF: Gracefully handling JDBC connection errors?
For the life of me I can't get this to work now. It appears I can't redirect to another page during the call to reportException. I've had a play with different methods of redirecting, as seen in the following code sample:
public class ErrorHandlerImpl extends DCErrorHandlerImpl {
public ErrorHandlerImpl() {
super(true);
@Override
public void reportException(DCBindingContainer dCBindingContainer, Exception exception) {
// try {
String message = exception.getMessage();
if (message.indexOf("JBO-26061") >= 0) {
// Method 1
FacesContext fc = FacesContext.getCurrentInstance();
UIViewRoot viewRoot =
fc.getApplication().getViewHandler().createView(fc, "faces/errorPage.jspx");
fc.setViewRoot(viewRoot);
fc.renderResponse();
// Method 2
// FacesContext fc = FacesContext.getCurrentInstance();
// fc.getApplication().getNavigationHandler().handleNavigation(fc, null, "goError");
// fc.responseComplete();
// Method 3 - required IOExcepition handler
// FacesContext.getCurrentInstance().getExternalContext().redirect("faces/errorPage.jspx");
} else
super.reportException(dCBindingContainer, exception);
// } catch (IOException e) {
}... with no success.
Has anyobody any other solutions or advice on getting this to work?
Your help appreciated.
Thanks & regads,
CM.
PS. JDev 11gR1 ADF BC + ADF Faces RCHi Frank
Yep, I' tried redirect, that was method 3 (you can see all 3 methods I've attempted, last 2 are commented out).
With the declarative ADFc exception handler, problem is it's a catch all, not specifically for JBO-26061. Can you think of a way I can tailor fit it for JBO-26061 with a custom message "Database down"?
In addition the exception handler is not consistently called. As example, if you're moving between pages rather than operating on 1 page, the standard af:messages error dialog is shown if the db connection has been dropped, rather than navigating to the exception handler page. As such it seems the DCErrorHandlerImpl.reportExceptions is the better chokepoint to work from.
Cheers,
CM. -
TNS 12560 -Protocol Adaptor Error
Platform : windows 2000
Oracle: 10g
when i stop all services of oracle, and going to connect as sysdba, it returns me TNS Protocol adaptor error,
i thought when we connect as sysdba , oracle authenticate its password from password file and then connect with idle instance.
kindlt guide me where i m wronge
thanksThis behaviour is Windows specific , service OracleService<SID> must be up and running.
-
Oracle 9i Database gives the error "ORA-12560: TNS: Protocol Adaptor Error"
Hi
I am working on Oracle9i Database, but from few days there is a problem, I can not enter in the database using SQL*PLUS or any other tool. When I give the user name and password it give the error message, that is given below:
"ORA-12560: TNS: Protocol Adaptor Error"
Please help me regarding this error.
Gul Bahar OadA bit generic .... In SqlPlus are you connecting from the server or from a Client ?
Did you check if the listener is running ?
Did you try tnsping ?
What is your OS ? -
I am trying to access a procedure returning refcursor. It works great in TOAD.
Except when I try to access JDBC driver throws wierd error stating. This error shows at the execute statement
java.lang.StringIndexOutOfBoundsException: String index out of range: 37
at java.lang.String.charAt(String.java:444)
at oracle.jdbc.driver.OracleSql.handleODBC(OracleSql.java:1123)
I had turned the debug on and the messages give very little information.
Here is the sample
OracleCallableStatement stmt =
(OracleCallableStatement)connection.prepareCall(
"{call my_test1.process_orders(?)"; );
stmt.registerOutParameter(1, oracle.jdbc.OracleTypes.CURSOR);
stmt.execute();
Thanks for your replies
Message was edited by:
saro28
Hi,
Is this line of code correct?
"{call my_test1.process_orders(?)"; );It should read something like:
"{call my_test1.process_orders(?)}" );The code shown here is missing the closing brace and has an extra semi-colon.
- Mark
Hi,
Is this line of code correct?
"{call my_test1.process_orders(?)"; );It should read something like:
"{call my_test1.process_orders(?)}" );The code shown here is missing the closing brace and has an extra semi-colon.
- Mark
Hi All,
We have an interface that XI picked the data from sender side and need to post into database, here at database side my client is having 5 diff plants so we designed a BPM in that based on plant num BPM deceides to send data to respected plant. out of 5 plants 4 plants data inserting is executing sucessfully, but for one plant its failing to insert data and getting timedout error irrespective of data volume ..i mean one day its sucessfully exectuing insertion for large volume but next day its failing to insert the less volume data compare to last days large volume....
waiting for ur valuable suggestions to overcome this jdbc timeedout error.
rgrds
sri
Edited by: sri_rambo on Jul 24, 2009 8:58 AM
Hi Sri,
Kindly Refer for the following SAP Note 831162 - FAQ: XI 3.0 / PI 7.0 / PI 7.1 JDBC Adapter
https://service.sap.com/sap/support/notes/831162 (Page No.12, Q.No.28)
For setting the Maximum Concurrencies & Pool Waiting Time;
This will be solved your issue immediately.
Regards
Venkat Rao .G
Hello,
I've downloaded MySQL Connector/J 3.0 zip file for the windows box.when I unzipped, had a directory, mysql-connector-java-3.0.10-stable and inside it I had this mysql-connector-java-3.0.10-stable-bin.jar file.I copied this file to j2sdk1.4.1_02/jre/lib/ext and when i try to run the following program, it throws me with error.Any ideas???
Thanks in advance.
public class test {
public static void main(String[] args) {
try {
Class.forName("com.mysql.jdbc.Driver").newInstance();
System.out.println("Good to go");
} catch (Exception E) {
System.out.println("JDBC Driver error");
I'm guessing it can't find the class, although your code doesn't print any details of the exception. Run a program containing this line of code:System.out.println(System.getProperties().getProperty("java.ext.dirs"));That will tell you where you need to put the jar file.
GetConnection-- Network Adaptor Error
Hello there
I am running many client thread calling methods in EJB beans. I get Network Adaptor Error when trying to get connection. This only happens when many clients running concurrently.
I wonder whether other people have come accross the same problem.
If this is a driver's bug, will it be fixed soon?
Thanks,
Shuping
Hello there
I am running many client thread calling methods in EJB beans. I get Network Adaptor Error when trying to get connection. This only happens when many clients running concurrently.
I wonder whether other people have come accross the same problem.
If this is a driver's bug, will it be fixed soon?
Thanks,
Shuping
Hi all, I need your help.
I'm using forms 10g on an oralce 10g database, the program is successfully compiled but when running it, it gives me the 12560 error "TNS: Protocol Adaptor Error"
does anybody have any idea?
Hi ,
The Oracle Doc says to take the following action in this situation:
'Check addresses used for proper protocol specification. Before reporting this error, look at the error stack and check for lower level transport errors. For further details, turn on tracing and reexecute the operation. Turn off tracing when the operation is complete'.
Simon
Ora 12560 - TNS Protocol Adaptor Error
Hi .
I have downloaded Oracle 11 g from Oracle .com
After installation i started Command line for oracle
Used c:\> sqlplus
After entering username and password which i set at the time on installation
I got error
ORA 12560 : TNS Protocol Adaptor error
Any idea....
Thanks
Hello,
You may set the ORACLE_SID first:
set ORACLE_SID=XE
sqlplus user/passwordElse, check for the Service OracleServiceXE in the Control Pannel. It should be started.
Hope this help.
Best Regards,
Jean-Valentin
A jdbc transaction error occur
Hi Everybody
A jdbc transaction error occur when I deploy the application on the server .
Below is the stack trace
#SAP J2EE Engine JTA Transaction : [03bfffffffd3a000ffffffc0]####Application [13]##0#0#Error#1#/System/Audit#Java###Exception #1#com.sap.engine.services.dbpool.exceptions.BaseSQLException: Cannot commit transaction from this connection of "YTSQLS2K" DataSource. This resource participates in a local or distributed transaction.
#SAP J2EE Engine JTA Transaction : [03bfffffffd3a000ffffffc0]####Application [13]##0#0#Error#1#/System/Audit#Java###Exception #1#com.sap.engine.services.dbpool.exceptions.BaseSQLException: Cannot initiate transaction from a connection of "YTSQLS2K" DataSource. Local or distributed transaction has already started.
#SAP J2EE Engine JTA Transaction : [03bfffffffd3a000ffffffc0]####Application [13]##0#0#Error#1#/System/Audit#Java###Exception #1#com.sap.engine.services.dbpool.exceptions.BaseSQLException: Cannot commit transaction from this connection of "YTSQLS2K" DataSource. This resource participates in a local or distributed transaction.
Any idea about it
I use the jdbc version in datasource <jdbc-1.x>
is there a need to replace it with <jdbc-2.0>
Thank You
Syed Saifuddin
Hibernate allows you to choose transaction manager. As Nikolay pointed out, in a JEE envirnment it's prefferable to use JTA transactions. All you need to do is to configure hibernate to use a JTA transaction manager. It is all written in the Hibernate documentations. See
http://www.hibernate.org/hib_docs/v3/reference/en/html_single/#configuration-j2ee
and
http://www.hibernate.org/42.html#A5 .
The relevant properties that need to be set in the configuration are:
hibernate.transaction.factory_class=org.hibernate.transaction.JTATransactionFactory
and
hibernate.transaction.manager_lookup_class=<Class that knows how to lookup>
You need to implement a class that knows how to lookup user transaction in SAP J2EE Egnine.
The class must extend org.hibernate.transaction.JNDITransactionManagerLookup and only override its abstract method getName (simply returning the lookup string). Then provide the fully qualified name as value of the property and make sure that Hibernate can load the class.
That should work.
HTH
-Georgi
Message was edited by:
Georgi Pavlov
Pre requisites in JDBC adaptor
hi gurus,
what are the pre requisites in JDBC Adaptor,
Regards,
priya
hi
we need to install and configure the drivers
check this document
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f04ce027-934d-2a10-5a8f-fa0b1ed4d88f
JDBC connection set up for different DATABASE
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/jdbcConnectionSetup
regards
kummari
Maybe you are looking for
-
Share library between MAC accounts
I have an iMac with three user accounts, how do we share common items such as photo's in iPhoto and songs/videos in iTunes in such a way that maintains iPhoto event structures and iTunes playlists. Michael,
-
Ipod Touch 4th generation 32G not turning on, not charging. I have used multiple cords on both computer USB and wall USB converters. I let it sit there for over 20 min with each attempt. It is not being detected by Itunes or my Windows 7 64bit OS. I
-
I cannot install an application in the Applications folder without removing it first
For some time now, I have noticed that I cannot install an application into the application folder without first removing it from the folder. If I try to install it by dragging the icon to the application folder, I get a warning that the application
-
I have been getting a pattern of errors on my DC. I have two pair of eyes on these errors, but everything seems to running ok. The only issue we've had is our workstations were putting out the "Trust domain relationship failed..." error. We were able
-
How to elimate duplicates in Check tables?
Is it possible to disallow duplicate records when creating search help drop downs on the selection screen? Thanks! Jeff