JDBC Configuration

Hi All,
How can I configure Connection Pool for the following case :
1. Machine IOTA has weblogic Server 6.1 installed on Windows 2000
2. Machine COSTEL has ORACLE installed on windows NT with default database
name as SANSKRUT
What all i have to do for accessing database on COSTEL from a JSP page using
DataSource deployed on IOTA ?
I want to use Weblogic jDriver for Oracle.
I have done :
1. Connection Pool :
Name costelPool
Targets myserver
URL jdbc:weblogic:oracle
DriverClassname weblogic.jdbc.oci.Driver
Initial Capacity 0
MaxCapacity 5
CapacityIncrement 1
Properties user=scott;password=tiger; server=localdb >>>>>
shall I hvae to give COSTEL here ?
if not where i have to mention the COSTEL AND THE DATABASE NAME IN
CONNECTION POOL ?
2. Set up Datasource using the above connection pool
Thanks in advance.
Bhavin Raichura

see my answers inline.
sree
"Bhavin Raichura" <[email protected]> wrote in message
news:[email protected]..
Hi All,
How can I configure Connection Pool for the following case :
1. Machine IOTA has weblogic Server 6.1 installed on Windows 2000
2. Machine COSTEL has ORACLE installed on windows NT with default database
name as SANSKRUT
What all i have to do for accessing database on COSTEL from a JSP pageusing
DataSource deployed on IOTA ?
I want to use Weblogic jDriver for Oracle.
I have done :
1. Connection Pool :
Name costelPool
Targets myserver
URL jdbc:weblogic:oracle
DriverClassname weblogic.jdbc.oci.Driver
Initial Capacity 0
MaxCapacity 5
CapacityIncrement 1
Properties user=scott;password=tiger; server=localdb >>>>>
shall I hvae to give COSTEL here ?server should be the service name you use in tnsnames.ora file. You shoudl
have a tnsnames.ora file in the oracle client install on IOTA. make sure
localdb is defined in tnsnames.ora file.
>
if not where i have to mention the COSTEL AND THE DATABASE NAME IN
CONNECTION POOL ?
2. Set up Datasource using the above connection pool
make sure you associate the Connection Pool and DataSource to a target
server.
Thanks in advance.
Bhavin Raichura

Similar Messages

  • JCA / JDBC Configured for non-XA Attempting XA Transaction Commit

    I am attempting to create simple BPEL SOA composites in SOA 11.1.1.5 that use a DbAdapter to execute a stored procedure in an 11g database. The database task being performed only involves a single database and does not require transaction support. I have carefully stepped through the creation of the DataSource and JCA pointing through the DbAdapter to the JDBC DataSource so XA transaction support is disabled, the JCA pool sets the transaction mode to "No transaction" and the JCA pool uses the dataSource value to point to the JNDI name of the JDBC pool rather than the xADataSource value.
    Visually,
    DataSource definition:
    name = jdbc/myserviceDataSource
    driver = oracle.jdbc.xa.client.OracleXADataSource
    url = jdbc:oracle:thin:@mydbhost.myfirm.com:1521:GENERIC
    use XA DataSource = unchecked
    set XA timeout = unchecked
    Keep XA connection until transaction complete = checked
    keep connection after local transaction = checked
    JCA definition:
    name = eis/DB/myserviceDataSource
    dataSourceName = jdbc/myserviceDataSource
    xADataSourceName = (blank)
    platform class name = org.eclipse.persistence.platform.database.Oracle10Platform
    Transaction | Transaction Support: no transaction
    This configuration works on one sandbox server and I got it working in a second sandbox server. However, after deleting the JDBC and JCA pools to go through the process one more time to document the procedure on the second server, I am unable to get the configuration working again. The WebLogic domain appears to be resurrecting portions of an old configuration that still references the JNDI name of the JDBC pool in the xADataSourceName parameter. I have unpacked the DbAdapter.rar archive for the DbAdapter and verified the contents of the ./META-INF/weblogic-ra.xml file don't use the xADataSouceName parameter. The Deployment Plan for the DbAdapter (named DbAdapterPlan.xml in $SOA_HOME/soa/connectors ) also explicitly configures the JCA pool using the dataSourceName value leaving the xADataSourceName value blank.
    However, executing the SOA service using this JCA connection results in this error:
    java.sql.SQLException: Cannot call Connection.commit in distributed transaction.
    Again, I know the theoretical answer to this question is to disable transactions in the JCA and JDBC configurations and don't use the xADataSourceName element of the JCA configuration to point to the JDBC pool. However, after validating those elements and restarting the pools or performing an Update on the DbAdapter deployment, WebLogic seems to still create connections through the JDBC pool with transactions enabled.
    Any suggestions?
    Should I just completely undeploy the DbAdapter and redeploy it from the SOA binary installation directory? These are just lab machines right now so that's obviously not a good long term answer for production use but may help start over with refining a better procedure for doing this.

    You should use a non-xa driver for your data source...
    From the weblogic docs...
    Configure Transaction Options
    When you configure a JDBC data source using the Administration Console, WebLogic Server automatically selects specific transaction options based on the type of JDBC driver:
    For XA drivers, the system automatically selects the Two-Phase Commit protocol for global transaction processing.
    For non-XA drivers, local transactions are supported by definition, and WebLogic Server offers the following options ...
    http://docs.oracle.com/cd/E23943_01/web.1111/e13737/jdbc_datasources.htm#autoId8
    Cheers,
    Vlad

  • JDBC configuration in 9.2.0.1

    Hi,
    In trying to use JDBC xa semantics in 9.2.0.1 i get a Resource Manager error during a xaresource.start(). Our Oracle configuration is customized in that we don't package components that are not needed. (We just need the database, jdbc and replication)
    If i install 9.2.0.1 from the Oracle supplied CD it works fine.
    What are the things i need to look at for JDBC configuration?
    I have looked at the ojdbc14.jar, the shared lib for OCI driver and some init.ora parameters like java_shared_pool.
    They are similar in both configurations.
    Any help appreciated.
    -giriraj

    Not having access to a 9i R2 database I have not been able to try this for myself. However, you may find this OTN article helpful: http://otn.oracle.com/oramag/webcolumns/2003/techarticles/poess_tablecomp.html
    Cheers, APC

  • Request for File to JDBC configuration steps.

    Hi XI Forum,
    I have 2 years of exp.in ABAP.I am new to XI. I know file-to-file scenario configuration. And would request you send me configuration document or  step-by-step procedure.
    Thanks in advance.
    Best regards
    Krish

    Hi,
    Check out this links
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    Check out this for JDBC configuration
    http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/content.htm
    Thanks,
    Prakash

  • Oracle 9i JDBC configuration failure?

    I am testing some Java servlet (run over tomcat container) which needs to access the Oracle DB installed on the same Solaris server.
    It works well with Oracle 8i, and we then install the program on another Oracle 9i server.
    when we set up the DB and use SQL *Plus to access the DB it works-- and when running netstat on Solaris-- the port 1521 is not open-- that is the default port for JDBC, and it should be open.
    My java program shows the following error
    java.sql.SQLException
    : Io exception: The Network Adapter could not establish the connection
    As port 1521 is not open at all so the servlet running on the same machine can't access it.
    Could you kindly help give advice --- on 9i, how shall I check the setting to make sure JDBC is well configured and ready for use? A thousand thanks

    Hi Li,
    You don't have to do a netstat to check for the port. Use the lsnrctl utility. Its found in ORACLE_HOME/bin directory.
    Listener is the program which recieves all the requests to database and sends it to Oracle for processing, and returns the results back.
    $lsnrctl status
    -- this will show if the Listener is running or not
    $lsnrctl start
    -- this will start the listener in the port specified in ORACLE_HOME/network/admin/listener.ora
    $lsnrctl stop
    -- stop the listener
    If your listener is not running, start the listener and try connecting.
    If your listener is not running, then you cann't connect even using sqlplus.
    Elango.

  • Urgent- Jdbc configuration settings (mysql)

    Hi,
    I do want to do a scenario like File to jdbc.
    I have installed mysql in my laptop. can anybody tell me how do I configure the driver settings prior to the doing the same.
    And also let me know, how do I find the driver and connection parameters for the same.
    cheers.,
    Stallin

    Hi Stallin
    check this pdf
    <b>How To Install and Configure External Drivers for JDBC & JMS Adapters</b>
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70ffd890-0201-0010-708f-d5dad2dfcf3a
    also check
    Otther option is download JDBC Driver from Microsoft Website
    http://www.microsoft.com/downloads/details.aspx?FamilyID=6D483869-816A-44CB-9787-A866235EFC7C&displaylang=en
    and deploy the JDBC driver using SDM.
    <b>JDBC Driver Deployment Guide...</b>
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70ffd890-0201-0010-708f-d5dad2dfcf3a
    <b>
    how to configure drivers:</b>
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10
    also http://www.oracle.com/technology/software/tech/windows/odbc/index.html
    Help Required on File to JDBC scenario
    JDBC Driver?
    Thanks
    Regards
    Abhishek Agrahari

  • Production server JDBC configuration

    Anybody knows what is the way to configure the JDBC pooling parameters such as init & max capacity
    for production server? Any references for this?
    Thanks

    Shiye Qiu wrote:
    Joe,
    We use WLS 8.1SP4, Oracle 10g, no firewall at all.
    I could recall that I saw some guidelines from BEA
    somewhere sometime ago but I could not find it
    Thanks
    QiuAnd how is the pool used? Generated EJBs or hand-written JDBC?
    Will every user of WebLogic need pool access?
    Typically a user will want one pool connection per invoke,
    and typically the connection is reserved, used, and returned
    to the pool during each server-invoke from a user. However, no
    matter how many concurrent users there may be, the server only
    has a set number of threads that will handle user calls, so
    the pool ideally needs only N connections for an N-thread server.
    If you have a refresh time set for the pool (so it asynchronously
    tests idle connections) add 1.
    I would have the pool make all the connections at startup,
    so I would recommend initial capacity = max capacity = (N + 1).
    I would have test-on-reserve true, and no other testing. I
    would set the statement cache to hold all the prepared statements
    the application would use, and for Oracle I would make sure the
    DBMS is configured to allow a connection to have as many cursors
    as the statement cache would require, at least. If performance
    was tested and found to be necessarily better with test-on-reserve
    false, I would consider using the new secondsToTrustAnIdlePoolConnection
    to allow test-on-reserve to go back to true, but skip some testing
    with recently used connections. Thsi depends on how tolerant the application
    might be to occasionally getting a bad connection and how reliable the
    DBMS is etc.
    Joe
    Joe

  • Problems with jdbc configuration  in the config.cfg file

    Hi to all,
    I need to change my oracle database ucm user from idc_orcl to idc_oracle for example but i dont know how to generate the encrypted password of the user in the config.cfg file
    if I let the configuration like below (plain text password and JdbcPassword commnetend) it works.
    But it is not an accepted solution for me, leaving the password in plain text.
    +#Database Variables+
    JdbcDriver=oracle.jdbc.OracleDriver
    JdbcConnectionString=jdbc:oracle:thin:@localhost:1521:ucm
    JdbcUser=idc_oracle
    JdbcPassword=idc_oracle
    +#JdbcPasswordEncoding=Intradoc+
    +#DatabasePreserveCase=1+
    Is there any doc or example related.
    Thanks in advance
    Soni

    Resolved using the following link
    http://www.docs.hvacpartners.com/idc/help/troubleshooting/wwhelp/wwhimpl/common/html/wwhelp.htm?context=troubleshooting&file=page_05_12.htm
    Hope it helps someone in the future!

  • SQL 2005 and Weblogic :  JDBC configuration error

    All.
    What files do I need to modify with classpath, to use SQL 2005 drive. Is this the only I need to modify with classpath: startWebLogic.sh or do I need to modify other files?
    Thanks for you help.
    I am getting following error :
    <Oct 29, 2008 10:34:37 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <Oct 29, 2008 10:34:37 AM EDT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    <Oct 29, 2008 10:45:02 AM EDT> <Error> <Console> <BEA-240003> <Console encountered the following error java.lang.ClassNotFoundException: Cannot load driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
    at com.bea.console.utils.jdbc.JDBCUtils.testConnection(JDBCUtils.java:500)
    at com.bea.console.actions.jdbc.datasources.createjdbcdatasource.CreateJDBCDataSource.testConnectionConfiguration(CreateJDBCDataSource.java:369)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870)
    at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)
    at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)
    at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306)
    at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336)
    at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:52)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:97)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2044)
    at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java
    Thank you
    Sayef

    In old release, you should update CLASSPATH variable in setWLSEnv.sh or setWLSEnv.cmd.
    In 9.x or 10.x, you should update setDomainEnv.sh or setDomainEnv.cmd.
    Simon

  • JDBC Configuration Error -- Please Help!!!!! any SAP WebAS folks

    Hi,
      Being a newbie to SAP WebAs i'm seeking some help from this forum for the issue which's driving me crazy. I'm trying to configure a Oracle data source to access a local oracle database on a WebAs server hosted part of EP6.
    The WebAs is 6.4 w/ kernal 6.3(this thing is confusing me..), whenever i configure a datasource(after adding driver), it's bombs with a error message on the J2EE console.. I tried many times before trying to find help outside(like this group)
    I have spent many years developing J2EE apps using various vendor products including WebAS6.0, this thing is crazy.. help please..
    V
    the error is pasted below
    java.rmi.RemoteException: Error occurred while starting application in whole cluster and wait.; nested exception is:
    com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Complex error : server ID 3811650:
    Cannot start DataSource "CUSTOMERTRANSACTIONREF".
    at com.sap.engine.services.deploy.server.DeployCommunicatorImpl.startApplicationAndWait(DeployCommunicatorImpl.java:678)
    at com.sap.engine.services.deploy.server.DeployCommunicatorImpl.startApplicationAndWait(DeployCommunicatorImpl.java:660)
    at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.startApplication(DataSourceManagerImpl.java:562)
    at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.deploy(DataSourceManagerImpl.java:261)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:58)
    at com.sap.pj.jmx.mbeaninfo.AdditionalInfoProviderMBean.invoke(AdditionalInfoProviderMBean.java:289)
    at com.sap.pj.jmx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:944)
    at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.invoke(MBeanServerWrapperInterceptor.java:288)
    at com.sap.engine.services.jmx.CompletionInterceptor.invoke(CompletionInterceptor.java:400)
    at com.sap.engine.services.jmx.RedirectInterceptor.invoke(RedirectInterceptor.java:340)
    at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:330)
    at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.invoke(MBeanServerSecurityWrapper.java:287)
    at com.sap.engine.services.jmx.MBeanServerInvoker.invokeMbs(MBeanServerInvoker.java:157)
    at com.sap.engine.services.jmx.ClusterInterceptor.invokeMbs(ClusterInterceptor.java:220)
    at com.sap.engine.services.jmx.ClusterInterceptor.invoke(ClusterInterceptor.java:803)
    at com.sap.engine.services.jmx.MBeanServerInterceptorInvoker.invokeMbs(MBeanServerInterceptorInvoker.java:102)
    at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImpl.invokeMbs(P4ConnectorServerImpl.java:61)
    at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImplp4_Skel.dispatch(P4ConnectorServerImplp4_Skel.java:64)
    at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:292)
    at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)
    at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:118)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)

    Hi,
    I'm not sure what the problem is, but I can give you some basic suggestions about what you could do.
    First of all, check if there are more detailed error messages available in the defaultTrace.trc file. You can open the file using LogViewer service in Visual Administrator.
    Also, check the settings for Database URL, and make sure you have set the SQL Engine option in the Additional tab to "Native SQL".
    Best regards,
    Zornitsa

  • JDBC Configuration with Multi Datasource

    Hi all,
    We're using Weblogic 9.2 and has configured Multi Datasource with Failover algorithm. All is working well, but our DBA has reported that some requests were randomly still going to the 2nd node although he was sure that nothing was wrong with the 1st node. Is this an expected behavior with the Failover algorithm.
    Any help would be greatly appreciated.
    Thanks & Regards,
    Besetya

    Some of the application-level work? I think you can configure an MDS to 'fail over' if the first pool is
    simply at capacity and unable to deliver another connection. You can check that, and make sure the
    first pool is big enough. Than, also configure the backup pool with an initial capacity of 0, so it
    never even makes a connection unless the MDS fails over to it.

  • JDBC configurations

    Hi,
    where can I find the below .zip files!
    classes12.zip
    com.ibm.mq.jar
    com.ibm.mqjms.jar
    msbase.jar
    mssqlserver.jar
    msutil.jar
    Cheers.,
    Stallin

    try these links:
    http://www.microsoft.com/downloads/details.aspx?familyid=6D483869-816A-44CB-9787-A866235EFC7C&displaylang=en
    http://www.knowledgestorm.com/search/keyword/Mssqlserver.jar%20Download/GAWFEB07/Mssqlserver.jar%20Download/secname,ad/ad2,i/ad3,g/ad5,g/ad6,i
    these will be the connection parameter
    com.microsoft.sqlserver.jdbc.SQLServerDriver
    And the URL is slightly different as well:
    jdbc:sqlserver://host:1433;DatabaseName=name
    Click on this link and down the page click on download the setup.exe file and then install it
    http://www.microsoft.com/downloads/details.aspx?FamilyID=4F8F2F01-1ED7-4C4D-8F7B-3D47969E66AE&displaylang=en

  • Jdbc configuration time frame

    Hi,
    I have a bigggg problem with saveing the local time in TIMESTAMP(6) column type.
    The saved value equals to the machine time, not with the "new" time zone :)
    How to solved this problem? I don't whant to use with longs.
    I need Oracle + MS SQL databases,
    Thank's,
    Yael

    I don't understand. Why not simply adjust the date for the desired time zone or adjust it when you display it (if that's a better solution). I cannot be sure of the best way for you to solve this as I know nothing about your project.

  • Help: Connecting Tomcat to CA-IDMS Using JDBC Type 4 Drivers (JNDI)

    Hi there,
    I have a rather interesting / complex problem......creating a connection to CA-IDMS from Tomcat using JDBC type 4 drivers (CA provide the type 4 driver).
    We have a zSeries 9 IBM mainframe running CA-IDMS r16.1, and I need to connect to the IDMS from Tomcat (running on Linux) using the JDBC Type 4 drivers provided by CA.
    At this stage I am struggling with the actual setup and configuration of Tomcat’s server.xml and web.xml files. These are the files where the JDBC configuration is set (I think). I have to setup the CA-IDMS part of the configuration, but that is a different problem. Basically there is a TCP/IP listener on the IDMS, waiting for incoming connections from the JDBC type 4 driver.
    I set up a Tomcat to MySQL connection using MySQL Connector / J, which is a similar kind of process to what I am trying to achieve with IDMS. MySQL connector / J came with a jar file which is placed in Tomcat’s lib folder, and then the JDBC setup for the web application is created in Tomcat's server.xml and web.xml files. You can then connect to the MySQL database using JSP and the configured JDBC driver / connection. The CA-IDMS Server comes with an idmsjdbc.jar file, which I think is the JDBC typr 4 driver. I think it needs to be placed in the Tomcat /lib folder, but I don’t know how to set up the configuration.
    There is a JDBC DriverManager which allows JDBC drivers to connect to CA-IDMS. The DriverManager recognises the following syntax:
    jdbc:idms://hostname:port/database
    This allows the JDBC driver running within Tomcat to connect to the IDMS which is running on the IDM mainframe. CA IDMS r16 supports direct connections from the Type 4 JDBC driver to the Central Version on IDMS. "hostname" is the DNS name or IP address of the machine where the CV is running, and "port" is the IP port that was specified for the listener PTERM (setup on the IDMS side).
    There is a caidms.properties file for the JDBC driver, which is used to specify user ID, password, and optional accounting information. It can also be used to specify physical connection information, allowing an application to connect to a CA-IDMS database without requiring the definition of an ODBC style data source. However, I don’t know where to place this file within the Tomcat setup.
    There is also an IdmsDataSource class. I don’t know where to configure this or how to set it up; the CA-IDMS Server manual states the following:
    This class implements the JDBC DataSource interface. It is used with an application server (Tomcat) providing Java Naming and Directory Interface (JNDI) naming service to establish a connection to a CA IDMS database. IdmsDataSource properties conform to the Java Beans naming conventions and are implicitly defined by public “setter” and “getter” methods. For example, the “description” property, which is required for all DataSource implementations, is set using the setDescription(String) method. The application server may use the java.lang.reflection methods to discover DataSource properties and provide an interface to set them, or may simply require that they are defined in some configuration file. IdmsDataSource properties are used to specify the connection parameters. These properties are the equivalent of the DriverPropertyInfo attributes described in the previous section and can be used to completely define the parameters needed to connect to a database. Like a URL, an IdmsDataSource object can also reference an “ODBC” style data source name, where the connection parameters are defined in the configuration file on Linux.
    Is there anyone that can try to point me in the right direction to setting up the JDBC connection? I am totally new to Java and so the instructions are not making much sense at the moment. Any help, hints, tips…..anything will be greatly appreciated as I have just hit a brick wall here. I can't find much to do with setting up the CA-IDMS Server JDBC type 4 driver online either....if anyone can point me to some resources that would also be extremely useful.
    Kind regards
    Jp

    You say you've managed to get the JDBC driver working
    in an application but not in a JSP. You also say that
    the error you get is
    "com.microsoft.jdbc.sqlserver.SQLServerDriver".
    I'd be willing to bet that the exception that you have
    got is a ClassNotFoundException. I.E. your application
    server hasn't found the JDBC driver classes. The
    application server probably doesn't use your current
    CLASSPATH to look for classes. It will be setup within
    the application server in some way and you'll need to
    check your app server documentation to see how it is
    done.
    Try replacing
    e.printStackTrace();with
    e.printStackTrace(out);to get a full stack trace of your error.
    ColTried it. Got this error when I tried to run the JSP.
    Incompatible type for method. Can't convert javax.servlet.jsp.JspWriter to java.io.PrintWriter.
              e.printStackTrace(out);
    I'm currently using Apache Tomcat 4.0.3 as my JSP/Servlet Container.
    I'm also using Type 4 MS SQL Server 2000 JDBC driver version 2.0 on my NT4.0 Server.
    Do I need to set my JDBC driver in my container? if so, how do I do that?

  • SAP R/3 -- PI -- Oracle DB SYNC (JDBC)

    What is the best approach to handle the following request:
    We need to develop a synchonous call that will pass information from SAP R/3 through PI to an Oracle database can return the data.
    For instance, we want to pass a material number from SAP R./3, and have all the related information stored in the Oracle DB returned immediately.
    The data stored in Oracle will be retrieved via a JDBC connection.   If possible can you provide an example....thx

    >> Just a simple query, no updating is required.
    >>>  select f1 f2 f3....from ms_tbl where part = inbound-part
    Then you dont need sql stored procedure . We can easily handle at pi side.
    Step 1) create data type for proxy as per your need
    Step 2)  Create the data type for  jdbc request side as similar below ...
    <stmt>
        <Customers action="SQL_QUERY">
          <access> SELECT f1,f2,f3 from ms_tbl  WHERE PART ='$KEYFIELD$';</access>
          <key>
              <KEYFIELD>inbound-part</KEYFIELD>
          </key>
        </Customers>
      </stmt>
    Note: use constant to populate values for action and access field in mapping area.
    Step 3)
    create data type for the  jdbc response side as below
    <stmt_response>
    <row>
    <f1>
    <f2>
    <f3>
    </row>
    </stmt_response>
    Step 4)
    Then create Proxy response data type
    Step 5) create message types and Service Interface.(outbound synchronous and inbound synchronous)
    step 6)first map: Map step 1 messg type with step2 mesg type
    step 7) second map:  Map step 3 mesg type to step 4 mesg type
    Integration Directory: configure Jdbc reciever. Rest are all same.
    That's  it.
    Please follow this link ...
    Jdbc structure :
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
    Jdbc configure (comm channel)
    http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/content.htm

Maybe you are looking for

  • Virtual Interface IP address

    Hi, In all Cisco documentation 1.1.1.1 is always specified as Virtual Interface IP address. Here is my concern. When wireless client gets an IP address (through DHCP), 1.1.1.1 is entered as DHCP server which means that at 50% lease time client will a

  • How to add push button in alv list

    Dear all,      I am doing ALV report, in that i have some requirements as mentioned below 6.     In the main report screen, each row should have a selection button at the left end. The entire row should be selectable by clicking on this button. By cl

  • Paging ResultSet Data from SQL Server

    Hi all, I have a serious problem and am calling on all the java guru's who have experience in databases. I have a large table in SQL Server 2000 with thousands of rows. I wish to return 50 rows at a time (0 - 50, 50 - 100, etc...) I am creating a pag

  • HT1349 I HAVE DOWNLOADED ITUNES BUT ITS NOT ON MY DESKTOP OR OPENING WHEN I FINALLY FIND IT IN MY FILES

    i have downloaded itunes but its not on my desktop and i cant get it to open when i finally find the files

  • ASA 8.6 und nat

    Hey, in the LAN have a Mail Server ! No Mails come's from the Internet ! What is wrong ? object network srv-ex host 10.104.1.9 object service mail-serv service tcp source eq smtp destination eq smtp nat (inside,outside) source static any any destinat