Datasource or Datasource 3.x

We are starting out on a new BW project. We have BW 7.0 installed and R/3 4.7 although we are going to upgrade shortly to NW2005. I want to turn on BC and have a play with that. So I have linked to a source system in our development environment. I've then chosen to replicate datasources and I get a Pop Up with the otion to create objects as Datasources or as a Datasource 3.x. Which should I choose and why? I'm guessing that I want Datasource rather than Datasource 3.x but does this have any impact on BC etc? Any help is greatly appreciated.

am I right in thinking that BC is not as advanced  - yes you are right, the Business content still has the 3.x dataflow.
and needs the 3.x datasources - not necessarily.
You can replicate ur datasources as 7.0 ones and manually design the transformations and DTP's. the other way around is to install them as the way they are and start migrating them one by one, update rules, transfer rules to transformations, create DTP's and then atlast migrate the 3.x datasource to 7.0.... if for some reason if you want to recover the 3.x datasource you can always do it from Tcode RSDS - menu  - datasource  - recovery 3.X Ds, but the pre req would be that you should have migrated the DS with option - "with export"

Similar Messages

  • DataSource - Bad Datasource Offset

    Hai to all,
           I designed one form using UDO.All add,update working fine.My problem is in header part i have CFL one one text box. If i click the choose the item in the CFL automatically the items will be filled in the grid. But my problem is if i click the first row and click the second row the error is showing :
    "DataSource - Bad Datasource Offset"
    Does anyone have idea........
    Reply me as possible..........
    Regards,
    Anitha

    I solved the problem

  • No key field found for creation of DataSource - Classification Datasource

    Hello,
    While trying to create a clasiffication datasource based on 0PLANT_ATTR, when i assign a characteristic and push the DataSource button, i get the following message:
    No key field found for creation of DataSource
    Diagnosis
    During generation of a classification or configuration DataSource, only those key fields for the object table (field "Obj.Tabelle") that are already present in the basis DataSource transferred to the extract structure.  This is the case when none of the key fields of the object table were found in the structure of the basis DataSource.
    System response
    A DataSource cannot be created without key fields. The action was cancelled.
    Procedure
    Check whether you have selected the correct basis DataSource and object table. For more information, please see SAP Note 569849.
    Do you know what can be the problem?
    Thank you and regards

    Hi Alberto,
    plants are a special case. The key which is used for the classification 
    of plants (object type BETR) is not the same as the key which is used in
    datasource 0PLANT_ATTR.
    BETR has key LOCNR (Site). That's a customer related to a plant. The    
    customer number will be extracted in field LOCNR.
    0PLANT_ATTR extracts the plant in its key field WERKS.
    Transaction CTBW and the generic extraction program for classifications 
    don't know the relationship between LOCNR and WERKS. So they cannot map     
    them.
    I do recommend a solution which would add the mapping between
    LOCNR and WERKS:
    1. Create please the classification datasource as intended, but use     
    datasource 0RT_LOC_MGR_ATTR as basis datasource. It's the only          
    datasource of the content where LOCNR is a key field. So                
    0RT_LOC_MGR_ATTR is used as a dummy here, to allow transaction CTBW to  
    create the classification datasource. It's not necessary to extract     
    data with datasource 0RT_LOC_MGR_ATTR.
    2. Extend please the extract structure of the created classification    
    datasource. Add please field WERKS using component type WERKS_D. Make   
    this field visible.
    3. Fill field WERKS in the extractor user exit EXIT_SAPLRSAP_002. WERKS 
    can be read from table KNA1 by using the customer number extracted to   
    LOCNR to select on field KNA1-KUNNR.
    4. Transaction CTBW_META on the BW system isn't able to append the      
    characteristics from the classification datasource to infosource        
    0PLANT, because the keys are different. So create please a new info     
    source with CTBW_META. This allows CTBW_META to create the info objects 
    for the characteristics used in the classification datasource.
    5. Add please the characteristics used in the classification datasource 
    to infosource 0PLANT manually. You will find the info object names of   
    the characteristics by looking up the characteristic datasources which  
    are assigned to the classification datasource in transaction CTBW. From 
    these names you can derive the info object names:                       
    1CL_A... -> C_A...
    6. Disconnect the infosource which has been created with CTBW_META from 
    the classification datasource.
    7. Connect please the classification datasource to infosource 0PLANT    
    Use following info object:
    info object   field
    0PLANT       WERKS
    The info object names for the characteristics are explained in step 5.
    8. Add an infopackage to infosource 0PLANT for the classification       
    datasource.
    Now the extraction of classifications of sites should work.
    Best regards,
    Rolf
    P.S. I saw the system messed it up and doesn't display any new and empty lines. Sorry, I hope you still can read it.
    Edited by: Rolf Doersam on Mar 26, 2010 6:56 PM

  • Addition of fields in ODS/Cube till Datasource

    Hi All
    Assuming, I hv a Datasource/copa Datasource replicated and connected till Cube/ODS with data in it,,and Now I am in a need to add extra fields in this pipeline, So plz guide me, on to add these extra fields starting from Datasources,Infosources,Info objects, Transformations(BI 7.0),TransferRules/Update Rules(BW 3.5) if any,,,and then finally Data targets.(ODS & CUBE)??
    THANKS

    Please search in SDN u will get lot of threads which are already discussed about the same....
    Khaja

  • How to create a datasource in CTBW

    Hello Gurus,
    I am asked to create a new datasource 0vendor_attr in tcode CTBW
    I am giving the details such as Basis datasource,class,client type,object table ,datasource type ,A datasource is getting created with naming convention 1CL_OVEN001,i am saving this datasource,I am not able to find this datasource in RSA5 or in RSA6 ,Also I need to add the characteristics to this particular datasource which I created,how do I give them,,
    Kindly suggest
    Waiting for your immediate response.
    thanks

    Hi
    See it for step by step:
    http://affine.co.uk/cms/uploads/How_to_Extract_Classification_Data_into_BW.pdf
    See SAP-OSS Notes:
    Note 1002105 - CTBW: Extracting multiple-value characteristics
    Note 350296  - Multiple value characteristics for the BW System
    Note 535370  - Interval-value and multiple-value characteristics for BW
    Note 588184  - Role of client in data extraction
    Note 306046  - Characters of classifctn - attributes in BW
    After you exported the charactersitic datasources (1CL*) into QA, I reckon you should have to change the client name in CTBW
    and regenerate the datasource.
    Open the client for customizing with help from ever-resourceful basis colleagues, then try and generate the char datasources in QA. 'Normally' there is no deviation from QA onwards, so you may not have to do this in PRD.
    Classification Datasource (CTBW) - Different characteristic onfig. in R/3   " Good One
    Classification Datasource (CTBW) - Different characteristic onfig. in R/3
    Change a Classification Datasource
    Change a Classification Datasource
    Classification Datasource for Equipment
    Re: Classification Datasource for Equipment.
    Thanks
    Reddy
    Edited by: Surendra Reddy on Mar 11, 2010 12:21 PM

  • Error in creating a DataSource inVisual Administrator

    Hi Friends,
    My requirement is to connect to an external oracle database, for which I am trying to create a DATA SOURCE in Visual Administrator.
    the approach I followed is as given in many threads,
    In JDBC Connector service in Visual Admin:
    1. Created a driver using ojdbc.jar
    2. Created a datasource using the above driver,
    but after filling all the values, when I save it, I get following error(some part is displayed here):
    java.rmi.RemoteException: com.sap.engine.services.dbpool.exceptions.BaseRemoteException: Error during start of application "sap.com/DS_ConnectOracle". [id = StartupError]
         at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.startApplication(DataSourceManagerImpl.java:608)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    Also this application name comes from where?
    why it is not able to start the application?
    Just to inform I am successfully able to connect to database using webdynpro application where I have coded the lines to connect to Oracle database.
    But DataSource thng is not working.
    Regards
    Deepak

    just to inform the issue is resolved, I got to know the cause.
    actually I was giving the DataSource Name & DataSource Alias Name as same,
    while they must be different.

  • Error executing a Oracle query when connection is fetched from Datasource

    Hi Folks,
    I am struggling with a rather wierd issue. The DBA of my application has exposed some function based view(not exactly sure what that means) which returns results like any query over a table. I am having a tough time consuming it in my java application. The name of the view is - `networknode_api.get_ftapp_networknode_hrchy` The SQL for it is(syntax might be a bit strange as there is actual word `table` in the query)
    view plaincopy to clipboardprint?
    Note: Text content in the code blocks is automatically word-wrapped
    01.SELECT * FROM table (networknode_api.get_ftapp_networknode_hrchy('19-Feb-2013'));
    SELECT * FROM table (networknode_api.get_ftapp_networknode_hrchy('19-Feb-2013'));
    The query returns a hierarchical result data, provided below is a sample output (ignore the ouput if the formatting is too werid)
    Parent_NODE | Child_NODE | NODE_DISPLAY_NAME | BEGIN_DATE | END_COB_DATE | LVL
    null | CCN | Connent Node | 01/20/2013 | 10/19/2013 | 1
    CCN | AVT | Avg Vol Turn | 01/20/2013 | 10/19/2013 | 2
    AVT | L:2 | L:2 | 01/20/2013 | 10/19/2013 | 3
    AVT | L:6 | L:6 | 01/20/2013 | 10/19/2013 | 3
    CCN | NUT | Nap Up Turn | 01/20/2013 | 10/19/2013 | 2
    I have the following method in my DAO -
    public List<NetworkNodeGroupDTO> fetchNetworkNodeHierarchy(Date cobDate) {
    try {
    InitialContext ic = new InitialContext();
    //DataSource ds1 = (DataSource) ic.lookup("jndiDsFlex");
    //Connection conn = ds1.getConnection();
    /* Using the RmiDataSource class for performance optimizations */
    weblogic.jdbc.common.internal.RmiDataSource ds = (weblogic.jdbc.common.internal.RmiDataSource) ic.lookup("jndiDsNex");
    Connection conn = ds.getConnection();
    Statement stmt = conn.createStatement();
    boolean hasRows = stmt.execute("SELECT * FROM table (networknode_api.get_ftapp_networknode_hrchy('19-Feb-2013'))");
    rs = stmt.getResultSet();
    while(rs.next()) {
    System.out.println(rs.getString("parent_node"));
    System.out.println(rs.getString("child_node"));
    System.out.println(rs.getString("node_display_name"));
    stmt.close(); stmt = null;
    conn.close(); conn = null;
    } catch(Exception ex) {
    ex.printStackTrace();
    return null; // please ignore the return type for now
    Exception is thrown at line - stmt.execute(....)
    java.sql.SQLSyntaxErrorException: ORA-00904: : invalid identifier
    I debugged through the code and noted the driver and connection details that the connection object has embedded. Using that I wrote a sample java jdbc code-
    public static void main(String[] args) throws Exception {
    try {
    //Class.forName("oracle.jdbc.driver.OracleDriver");
    //Class.forName("weblogic.jdbc.rmi.Driver");
    Driver myDriver = (Driver) Class.forName("weblogic.jdbc.jts.Driver").newInstance();
    } catch (ClassNotFoundException e) {
    System.out.println("Where is your Oracle JDBC Driver?");
    e.printStackTrace();
    return;
    Connection connection = null;
    try {
    connection = DriverManager.getConnection(
    "jdbc:oracle:thin:@//ssn20331020-rt.eu.prog.net:1522/NEXSERV",
    "sample",
    "sample1234");
    } catch (SQLException e) {
    System.out.println("Connection Failed! Check output console");
    e.printStackTrace();
    return;
    Statement stmt = connection.createStatement();
    stmt.execute("SELECT * FROM table (flex_compnode_api.get_ftapp_compnode_hrchy('19-Feb-2013'))");
    ResultSet rs = stmt.getResultSet();
    int i = 0;
    while(rs.next()) {
    String pNode = rs.getString("parent_node");
    String cNode = rs.getString("child_node");
    String dName = rs.getString("node_display_name");
    System.out.println("Hello: "+i++);
    The above code works perfectly fine. Also tried the above code using normal Oracle JDBC driver and too works fine. I am baffled; what goes wrong when using the connection from a DataSource object. Does the driver treat SQL statements differently based on how the connection object is obtained? Appreciate your inputs/comments for same.
    The oracle db version is - Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    Application Server - Weblogic 10.3

    Below is the stacktrace and the driver details which are same for both the standalone basic Jdbc program and one where connection is fetched through datasource.
    Driver name: Oracle JDBC driver
    Driver version : 11.2.0.2.0
    Driver major ver: 11
    Driver minor ver: 2
    java.sql.SQLSyntaxErrorException: ORA-00904: : invalid identifier
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:440)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:837)
    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:445)
    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
    at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:523)
    at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:193)
    at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:852)
    at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1153)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1275)
    at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:1890)
    at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1855)
    at oracle.jdbc.driver.OracleStatementWrapper.execute(OracleStatementWrapper.java:304)
    at weblogic.jdbc.wrapper.Statement.execute(Statement.java:458)
    at com.rfs.gs.ggl.nex.persistence.jpa.FlagDao.fetchCompositeNodeHierarchy(FlagDao.java:258)
    at com.rfs.gs.ggl.nex.service.mars.GSServiceBean.searchCompositeNode(GSServiceBean.java:192)
    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:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
    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:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:55)
    at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy119.searchCompositeNode(Unknown Source)
    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:597)
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:73)
    at $Proxy92.searchCompositeNode(Unknown Source)
    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:597)
    at weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker.invoke(WLSInstanceResolver.java:101)
    at weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker.invoke(WLSInstanceResolver.java:83)
    at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:152)
    at com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:264)
    at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:93)
    at weblogic.wsee.jaxws.tubeline.FlowControlTube$FlowControlAwareTube.processRequest(FlowControlTube.java:148)
    at weblogic.wsee.jaxws.tubeline.FlowControlTube.processRequest(FlowControlTube.java:99)
    at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:604)
    at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:563)
    at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:548)
    at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:445)
    at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:275)
    at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:454)
    at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:250)
    at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:140)
    at weblogic.wsee.jaxws.HttpServletAdapter$AuthorizedInvoke.run(HttpServletAdapter.java:319)
    at weblogic.wsee.jaxws.HttpServletAdapter.post(HttpServletAdapter.java:232)
    at weblogic.wsee.jaxws.JAXWSServlet.doPost(JAXWSServlet.java:310)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at weblogic.wsee.jaxws.JAXWSServlet.service(JAXWSServlet.java:87)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3594)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    <Timestamp Fri Feb 22 11:41:19 EST 2013 (1361551279781)>

  • Error executing query using oracle XA datasource

    Hi,
    The following is the error I am getting while trying to access a resource from a datasource. The same code works fine if I use a normal datasource(non-xa datasource)
    Configuration: WSAD 5.1 running over jre ver 1.4 and oracle 8.1.7. I have put classes12.zip in the classpath of the server.
    Code:
    DBSelect sel = new DBSelect();
    sel.setDataSourceName("jdbc/ds1");
    sel.setInitialContextFactory("com.ibm.websphere.naming.WsnInitialContextFactory");
    sel.setProviderUrl("iiop://localhost:2809/");
    sel.setCommand("select 1 from dual");
    sel.execute();
    System.out.println(sel.getConnectionSpec());
    if (sel.onRow()) {
    do {
    System.out.println(sel.getColumnAsString(1));
    } while (sel.next());
    sel.close();
    I have also tried using the beolow mentioned code, which aso fails with a similar exception
              DataSource ds = (DataSource)PortableRemoteObject.narrow(ctx.lookup("jdbc/ds1"), DataSource.class);
              ds.setLogWriter(new PrintWriter(System.out));
              Connection con = ds.getConnection();
              Statement s = con.createStatement();
              ResultSet rs = s.executeQuery("select 1 from dual")
    I will really appreciate if someone can help me here to solve this problem
    Stack trace:
    [5/31/04 14:58:59:625 IST] 22502250 WSRdbXaResour E DSRA0304E: XAException occurred. XAException contents and details are: The cause is : null.
    [5/31/04 14:58:59:625 IST] 22502250 WSRdbXaResour E DSRA0302E: XAException occurred. Error code is: XAER_PROTO. Exception is: <null>
    [5/31/04 14:58:59:625 IST] 22502250 XATransaction E J2CA0027E: An exception occurred while invoking start on an XA Resource Adapter from dataSource jdbc/ds1, within transaction ID {XID: formatId(57415344), gtrid_length(39), bqual_length(28), data(000000000000000300000003ad952b20e108c7e0e2d5482ee84c69877b2dcf5e73657276657231ad952b20e108c7e0e2d5482ee84c69877b2dcf5e0000000336233623)}: javax.transaction.xa.XAException
    at java.lang.Throwable.<init>(Throwable.java)
    at javax.transaction.xa.XAException.<init>(XAException.java:63)
    at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:146)
    at com.ibm.ws.rsadapter.spi.WSRdbXaResourceImpl.start(WSRdbXaResourceImpl.java:927)
    at com.ibm.ejs.j2c.XATransactionWrapper.start(XATransactionWrapper.java:1267)
    at com.ibm.ws.Transaction.JTA.JTAResourceBase.start(JTAResourceBase.java:164)
    at com.ibm.ws.Transaction.JTA.RegisteredResources.startRes(RegisteredResources.java:389)
    at com.ibm.ws.Transaction.JTA.TransactionImpl.enlistResource(TransactionImpl.java:1903)
    at com.ibm.ws.Transaction.JTA.TranManagerSet.enlist(TranManagerSet.java:494)
    at com.ibm.ejs.j2c.XATransactionWrapper.enlist(XATransactionWrapper.java:602)
    at com.ibm.ejs.j2c.ConnectionEventListener.interactionPending(ConnectionEventListener.java:745)
    at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.processInteractionPendingEvent(WSRdbManagedConnectionImpl.java:1446)
    at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.beginTransactionIfNecessary(WSJdbcConnection.java:329)
    at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.getMetaData(WSJdbcConnection.java:1037)
    at com.ibm.db.db.base.DatabaseConnection.getConnectionMetaData(DatabaseConnection.java)
    at com.ibm.db.db.DatabaseConnection.propagateAutoCommit(DatabaseConnection.java)
    at com.ibm.db.db.DatabaseConnection.connect(DatabaseConnection.java)
    at com.ibm.db.db.Statement.connect(Statement.java)
    at com.ibm.db.db.SelectStatement.execute(SelectStatement.java)
    at com.ibm.db.beans.DBSelect.execute(DBSelect.java)
    at com.rajeev.SeqBeanBean.getNextVal(SeqBeanBean.java:18)
    at com.rajeev.EJSRemoteStatelessSeqBean_25304796.getNextVal(EJSRemoteStatelessSeqBean_25304796.java:22)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java)
    at java.lang.reflect.Method.invoke(Method.java)
    at com.ibm.rmi.util.ProxyUtil$4.run(ProxyUtil.java:703)
    at java.security.AccessController.doPrivileged(AccessController.java:189)
    at com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.java:701)
    at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1084)
    at $Proxy1.getNextVal(Unknown Source)
    at com.rajeev._SeqBean_Stub.getNextVal(_SeqBean_Stub.java:257)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java)
    at java.lang.reflect.Method.invoke(Method.java)
    at com.ibm.etools.utc.model.ReflectionMethodModel.invoke(ReflectionMethodModel.java:68)
    at com.ibm.etools.utc.servlet.InvokeServlet.invoke(InvokeServlet.java:110)
    at com.ibm.etools.utc.servlet.InvokeServlet.doPost(InvokeServlet.java:366)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
    at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
    at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
    at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
    at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:974)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:555)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
    at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
    at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
    at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
    at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:114)
    at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:186)
    at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
    at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
    at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
    at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java)
    [5/31/04 14:58:59:656 IST] 22502250 RegisteredRes E WTRN0078E: An attempt by the transaction manager to call start on a transactional resource has resulted in an error. The error code was XAER_PROTO. The exception stack trace follows: javax.transaction.xa.XAException
    at java.lang.Throwable.<init>(Throwable.java)
    at javax.transaction.xa.XAException.<init>(XAException.java:63)
    at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:146)
    at com.ibm.ws.rsadapter.spi.WSRdbXaResourceImpl.start(WSRdbXaResourceImpl.java:927)
    at com.ibm.ejs.j2c.XATransactionWrapper.start(XATransactionWrapper.java:1267)
    at com.ibm.ws.Transaction.JTA.JTAResourceBase.start(JTAResourceBase.java:164)
    at com.ibm.ws.Transaction.JTA.RegisteredResources.startRes(RegisteredResources.java:389)
    at com.ibm.ws.Transaction.JTA.TransactionImpl.enlistResource(TransactionImpl.java:1903)
    at com.ibm.ws.Transaction.JTA.TranManagerSet.enlist(TranManagerSet.java:494)
    at com.ibm.ejs.j2c.XATransactionWrapper.enlist(XATransactionWrapper.java:602)
    at com.ibm.ejs.j2c.ConnectionEventListener.interactionPending(ConnectionEventListener.java:745)
    at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.processInteractionPendingEvent(WSRdbManagedConnectionImpl.java:1446)
    at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.beginTransactionIfNecessary(WSJdbcConnection.java:329)
    at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.getMetaData(WSJdbcConnection.java:1037)
    at com.ibm.db.db.base.DatabaseConnection.getConnectionMetaData(DatabaseConnection.java)
    at com.ibm.db.db.DatabaseConnection.propagateAutoCommit(DatabaseConnection.java)
    at com.ibm.db.db.DatabaseConnection.connect(DatabaseConnection.java)
    at com.ibm.db.db.Statement.connect(Statement.java)
    at com.ibm.db.db.SelectStatement.execute(SelectStatement.java)
    at com.ibm.db.beans.DBSelect.execute(DBSelect.java)
    at com.rajeev.SeqBeanBean.getNextVal(SeqBeanBean.java:18)
    at com.rajeev.EJSRemoteStatelessSeqBean_25304796.getNextVal(EJSRemoteStatelessSeqBean_25304796.java:22)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java)
    at java.lang.reflect.Method.invoke(Method.java)
    at com.ibm.rmi.util.ProxyUtil$4.run(ProxyUtil.java:703)
    at java.security.AccessController.doPrivileged(AccessController.java:189)
    at com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.java:701)
    at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1084)
    at $Proxy1.getNextVal(Unknown Source)
    at com.rajeev._SeqBean_Stub.getNextVal(_SeqBean_Stub.java:257)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java)
    at java.lang.reflect.Method.invoke(Method.java)
    at com.ibm.etools.utc.model.ReflectionMethodModel.invoke(ReflectionMethodModel.java:68)
    at com.ibm.etools.utc.servlet.InvokeServlet.invoke(InvokeServlet.java:110)
    at com.ibm.etools.utc.servlet.InvokeServlet.doPost(InvokeServlet.java:366)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
    at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
    at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
    at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
    at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:974)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:555)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
    at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
    at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
    at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
    at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:114)
    at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:186)
    at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
    at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
    at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
    at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java)
    [5/31/04 14:58:59:656 IST] 22502250 XATransaction E J2CA0030E: Method enlist caught javax.transaction.SystemException: Failed to start the transaction association.
    at java.lang.Throwable.<init>(Throwable.java)
    at java.lang.Throwable.<init>(Throwable.java)
    at javax.transaction.SystemException.<init>(SystemException.java:39)
    at com.ibm.ws.Transaction.JTA.TransactionImpl.enlistResource(TransactionImpl.java:1917)
    at com.ibm.ws.Transaction.JTA.TranManagerSet.enlist(TranManagerSet.java:494)
    at com.ibm.ejs.j2c.XATransactionWrapper.enlist(XATransactionWrapper.java:602)
    at com.ibm.ejs.j2c.ConnectionEventListener.interactionPending(ConnectionEventListener.java:745)
    at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.processInteractionPendingEvent(WSRdbManagedConnectionImpl.java:1446)
    at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.beginTransactionIfNecessary(WSJdbcConnection.java:329)
    at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.getMetaData(WSJdbcConnection.java:1037)
    at com.ibm.db.db.base.DatabaseConnection.getConnectionMetaData(DatabaseConnection.java)
    at com.ibm.db.db.DatabaseConnection.propagateAutoCommit(DatabaseConnection.java)
    at com.ibm.db.db.DatabaseConnection.connect(DatabaseConnection.java)
    at com.ibm.db.db.Statement.connect(Statement.java)
    at com.ibm.db.db.SelectStatement.execute(SelectStatement.java)
    at com.ibm.db.beans.DBSelect.execute(DBSelect.java)
    at com.rajeev.SeqBeanBean.getNextVal(SeqBeanBean.java:18)
    at com.rajeev.EJSRemoteStatelessSeqBean_25304796.getNextVal(EJSRemoteStatelessSeqBean_25304796.java:22)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java)
    at java.lang.reflect.Method.invoke(Method.java)
    at com.ibm.rmi.util.ProxyUtil$4.run(ProxyUtil.java:703)
    at java.security.AccessController.doPrivileged(AccessController.java:189)
    at com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.java:701)
    at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1084)
    at $Proxy1.getNextVal(Unknown Source)
    at com.rajeev._SeqBean_Stub.getNextVal(_SeqBean_Stub.java:257)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java)
    at java.lang.reflect.Method.invoke(Method.java)
    at com.ibm.etools.utc.model.ReflectionMethodModel.invoke(ReflectionMethodModel.java:68)
    at com.ibm.etools.utc.servlet.InvokeServlet.invoke(InvokeServlet.java:110)
    at com.ibm.etools.utc.servlet.InvokeServlet.doPost(InvokeServlet.java:366)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
    at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
    at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
    at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
    at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:974)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:555)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
    at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
    at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
    at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
    at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:114)
    at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:186)
    at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
    at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
    at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
    at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java)
    while trying to enlist resources from datasource jdbc/ds1 with the Transaction Manager for the current transaction, and threw a ResourceException.
    DSRA9002E: ResourceException with error code null: javax.resource.ResourceException: enlist: caught Exception
    at java.lang.Throwable.<init>(Throwable.java)
    at java.lang.Throwable.<init>(Throwable.java)
    at javax.resource.ResourceException.<init>(ResourceException.java:73)
    at com.ibm.ejs.j2c.XATransactionWrapper.enlist(XATransactionWrapper.java:703)
    at com.ibm.ejs.j2c.ConnectionEventListener.interactionPending(ConnectionEventListener.java:745)
    at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.processInteractionPendingEvent(WSRdbManagedConnectionImpl.java:1446)
    at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.beginTransactionIfNecessary(WSJdbcConnection.java:329)
    at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.getMetaData(WSJdbcConnection.java:1037)
    at com.ibm.db.db.base.DatabaseConnection.getConnectionMetaData(DatabaseConnection.java)
    at com.ibm.db.db.DatabaseConnection.propagateAutoCommit(DatabaseConnection.java)
    at com.ibm.db.db.DatabaseConnection.connect(DatabaseConnection.java)
    at com.ibm.db.db.Statement.connect(Statement.java)
    at com.ibm.db.db.SelectStatement.execute(SelectStatement.java)
    at com.ibm.db.beans.DBSelect.execute(DBSelect.java)
    at com.rajeev.SeqBeanBean.getNextVal(SeqBeanBean.java:18)
    at com.rajeev.EJSRemoteStatelessSeqBean_25304796.getNextVal(EJSRemoteStatelessSeqBean_25304796.java:22)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java)
    at java.lang.reflect.Method.invoke(Method.java)
    at com.ibm.rmi.util.ProxyUtil$4.run(ProxyUtil.java:703)
    at java.security.AccessController.doPrivileged(AccessController.java:189)
    at com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.java:701)
    at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1084)
    at $Proxy1.getNextVal(Unknown Source)
    at com.rajeev._SeqBean_Stub.getNextVal(_SeqBean_Stub.java:257)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java)
    at java.lang.reflect.Method.invoke(Method.java)
    at com.ibm.etools.utc.model.ReflectionMethodModel.invoke(ReflectionMethodModel.java:68)
    at com.ibm.etools.utc.servlet.InvokeServlet.invoke(InvokeServlet.java:110)
    at com.ibm.etools.utc.servlet.InvokeServlet.doPost(InvokeServlet.java:366)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
    at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
    at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
    at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
    at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:974)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:555)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
    at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
    at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
    at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
    at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:114)
    at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:186)
    at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
    at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
    at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
    at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java)
    Rgds,
    Dave

    I am facing the same problem..... I always get the answers to my problem by reading the forums.. This time I am really not lucky enough. I am using Oracle 8.1.7. Does it have anything to do with version. I have used both ojdb14.jar and classes12.jar to get the same error output.
    Anybody has answer to it?

  • BI Generic Datasource

    Hi Gurus ,
    I have created the generic datsource called as ZMATERIALINVENTORYPRICE. I believe that once you create the generic datsource you donot have to activate it. once it is saved , it is automatically activated(correct me if i am wrong) when i try to create the transformation between the ODS ZCOPA_O01(copied version of 0COPA_O01)& datsource ZMATERIALINVENTORYPRICE . It is giving me an error saying Source RSDS ZMATERIALINVENTORYPRICE in source system   TCD500-1 does not exist.
    Kindly advise.
    thanks & regards,
    M.S
    Edited by: M.S on Nov 1, 2009 4:40 PM

    Hi ,
    the datasource zmaterialinventoryprice is a customized one, .... it contains the function module ..
    correct me if i am wrong ... if i need to do the data flow by transfer rules then i need to create it as 3.x datsources and if i need to dataflow by transfromation then i need to create the datasource as datasource(RSDS) .
    Kindly advise.
    thanks & regards,
    M.S
    Edited by: M.S on Nov 2, 2009 5:50 AM

  • What's the format of the datasource tag in jbosscmp-jdbc.xml

    Hi,
    I made a CMP when I use Lomboz to generate the classes, and xml files, but I still don't know how to relate my CMP to datasource.
    I thought may be I should configure the jbosscmp-jdbc.xml, because when I look in this file and found:
    <defaults>
    <datasource>PLEASE_MODIFY_THIS</datasource>
    <datasource-mapping>PLEASE_MODIFY_THIS</datasource-mapping>
    <preferred-relation-mapping>PLEASE_MODIFY_THIS</preferred-relation-mapping>
    </defaults>
    But I don't know how to "modify this", What do those tags mean? what are those for? and what are the Formats?
    My database -- mySQL
    datasouce xml file -- test-ds.xml:
    <datasources>
    <local-tx-datasource>
    <jndi-name>jdbc/test</jndi-name>
    <connection-url>jdbc:mysql://devsz-ma3.cn1.belton.com.hk:3306/test?useUnicode=true&characterEncoding=UTF-8</connection-url>
    <driver-class>com.mysql.jdbc.Driver</driver-class>
    <user-name>touchpanel</user-name>
    <password>touchpanel</password>
    </local-tx-datasource>
    </datasources>
    I need help, can you tell me some about that, thanks
    next is my CMP entity bean:
    package ejb.product;
    import java.rmi.RemoteException;
    import javax.ejb.EJBException;
    import javax.ejb.EntityBean;
    import javax.ejb.EntityContext;
    import javax.ejb.RemoveException;
    * @ejb.bean name="Product"
    *     jndi-name="ProductBean"
    *     type="CMP"
    *  primkey-field="productId"
    *  schema="Product"
    *  cmp-version="2.x"
    * This is needed for JOnAS.
    * If you are not using JOnAS you can safely remove the tags below.
    * @jonas.bean ejb-name="Product"
    *     jndi-name="ProductBean"
    * @jonas.jdbc-mapping  jndi-name="jdbc/test" jdbc-table-name="FL_PRODUCT"
    *  @ejb.persistence
    *   table-name="FL_PRODUCT"
    * @ejb.finder
    *    query="SELECT OBJECT(a) FROM Product as a" 
    *    signature="java.util.Collection findAll()" 
    * @ejb.finder
    *       query="SELECT OBJECT(a) FROM Product a where a.NAME = ?1" 
    *       signature="java.util.Collection findByName(java.lang.String name)" 
    * @ejb.finder
    *       query="SELECT OBJECT(a) FROM Product a where a.DESCRIPTION = ?1" 
    *       signature="java.util.Collection findByDescription(java.lang.String desc)" 
    * @ejb.finder
    *       query="SELECT OBJECT(a) FROM Product a where a.BASE_PRICE = ?1" 
    *       signature="java.util.Collection findByBasePrice(double basePrice)" 
    * @ejb.finder
    *       query="SELECT OBJECT(a) FROM Product " 
    *       signature="java.util.Collection findAllProducts()" 
    * @ejb.finder
    *       query="SELECT OBJECT(a) FROM Product a where a.BASE_PRICE > ?1" 
    *       signature="java.util.Collection findExpensiveProduct(double maxPrice)" 
    * * @ejb.finder
    *       query="SELECT OBJECT(a) FROM Product a where a.BASE_PRICE < ?1" 
    *       signature="java.util.Collection findCheapProduct(double minPrice)" 
    * This is needed for JOnAS.
    * If you are not using JOnAS you can safely remove the tags below.
    * @jonas.finder-method-jdbc-mapping  method-name="findAll"
    *     jdbc-where-clause=""
    * @jonas.jdbc-mapping  jndi-name="jdbc/test"
    *     jdbc-table-name="FL_PRODUCT"
    public abstract class ProductBean implements EntityBean {
         protected EntityContext ectx;
          * The  ejbCreate method.
          * @ejb.create-method
         public java.lang.String ejbCreate(String productId, String name, String desc,double basePrice) throws javax.ejb.CreateException {
              // EJB 2.0 spec says return null for CMP ejbCreate methods.
              // TODO: YOU MUST INITIALIZE THE FIELDS FOR THE BEAN HERE.
              // setMyField("Something");
              System.out.println("Entering ProductBean.ejbCreate()");
              setProductId(productId);
              setName(name);
              setDescription( desc);
              setBasePrice(basePrice);
              System.out.println("Leaving ProductBean.ejbCreate()");
              return productId;
          * The container invokes this method immediately after it calls ejbCreate.
         public void ejbPostCreate(String productId, String name, String desc,double basePrice) throws javax.ejb.CreateException {
         * Returns the productId
         * @return the productId
         * @ejb.persistent-field
         * @ejb.persistence
         *    column-name="PRODUCT_ID"
         *     sql-type="varchar"
         * @ejb.pk-field
         * @ejb.interface-method
         * This is needed for JOnAS.
         * If you are not using JOnAS you can safely remove the tags below.
         * @jonas.cmp-field-jdbc-mapping  field-name="productId"
         *     jdbc-field-name="PRODUCT_ID"
         public abstract java.lang.String getProductId();
         * Sets the productId
         * @param java.lang.String the new productId value
         * @ejb.interface-method
         public abstract void setProductId(java.lang.String productId);
         * Returns the name
         * @return the name
         * @ejb.persistent-field
         * @ejb.persistence
         *    column-name="NAME"
         *     sql-type="varchar"
         * @ejb.interface-method
         * This is needed for JOnAS.
         * If you are not using JOnAS you can safely remove the tags below.
         * @jonas.cmp-field-jdbc-mapping  field-name="name"
         *     jdbc-field-name="NAME"
         public abstract java.lang.String getName();
         * Sets the name
         * @param java.lang.String the new name value
         * @ejb.interface-method
         public abstract void setName(java.lang.String name);
         * Returns the description
         * @return the description
         * @ejb.persistent-field
         * @ejb.persistence
         *    column-name="DESCRIPTION"
         *     sql-type="varchar"
         * @ejb.interface-method
         * This is needed for JOnAS.
         * If you are not using JOnAS you can safely remove the tags below.
         * @jonas.cmp-field-jdbc-mapping  field-name="description"
         *     jdbc-field-name="DESCRIPTION"
         public abstract java.lang.String getDescription();
         * Sets the description
         * @param java.lang.String the new description value
         * @ejb.interface-method
         public abstract void setDescription(java.lang.String description);
         * Returns the basePrice
         * @return the basePrice
         * @ejb.persistent-field
         * @ejb.persistence
         *    column-name="BASE_PRICE"
         *     sql-type="double"
         * @ejb.interface-method
         * This is needed for JOnAS.
         * If you are not using JOnAS you can safely remove the tags below.
         * @jonas.cmp-field-jdbc-mapping  field-name="basePrice"
         *     jdbc-field-name="BASE_PRICE"
         public abstract double getBasePrice();
         * Sets the basePrice
         * @param double the new basePrice value
         * @ejb.interface-method
         public abstract void setBasePrice(double basePrice);
         /* (non-Javadoc)
          * @see javax.ejb.EntityBean#ejbActivate()
         public void ejbActivate() throws EJBException, RemoteException {
              System.out.println("ejbActivate() called.");
         /* (non-Javadoc)
          * @see javax.ejb.EntityBean#ejbLoad()
         public void ejbLoad() throws EJBException, RemoteException {
              System.out.println("ejbLoad() called.");
         /* (non-Javadoc)
          * @see javax.ejb.EntityBean#ejbPassivate()
         public void ejbPassivate() throws EJBException, RemoteException {
              System.out.println("ejbPassivate() called.");
         /* (non-Javadoc)
          * @see javax.ejb.EntityBean#ejbRemove()
         public void ejbRemove() throws RemoveException, EJBException, RemoteException {
              System.out.println("ejbRemove() called.");
         /* (non-Javadoc)
          * @see javax.ejb.EntityBean#ejbStore()
         public void ejbStore() throws EJBException, RemoteException {
              System.out.println("ejbStore() called.");
         /* (non-Javadoc)
          * @see javax.ejb.EntityBean#setEntityContext(javax.ejb.EntityContext)
         public void setEntityContext(EntityContext arg0) throws EJBException, RemoteException {
              this.ectx = arg0;
         /* (non-Javadoc)
          * @see javax.ejb.EntityBean#unsetEntityContext()
         public void unsetEntityContext() throws EJBException, RemoteException {
              this.ectx = null;
    }

    you can try this
    <defaults>
    <datasource>java:/jdbc/test</datasource>
    <datasource-mapping>MySQL</datasource-mapping>
    <create-table>false</create-table>
    <remove-table>false</remove-table>
    </defaults>
    JaimeS

  • Error while retriving the connection uisng JNDI and DATASOURCE

    hi guys,
    i had a specifed data source in the the data-sources.xml of CONFIG folder of my application
    <data-source class="oracle.jdbc.pool.OracleConnectionCacheImpl"
    connection-driver="oracle.jdbc.driver.OracleDriver" location="jdbc/OracleDS_native"
    name="OracleDS"
    password="abc"
    url="jdbc:oracle:thin:@BC354321:1521:CRADV1"
    username="xyz"/>
    Here is the program i had written to retrive the datasource
    package javaapplication1;
    import javax.naming.InitialContext;
    import java.sql.*;
    import javax.naming.Context;
    import javax.sql.DataSource;
    public class Main {
    public Main() {
    public static void main(String[] args) {
    Connection con =null;
    try {
    InitialContext context = new InitialContext();
    System.out.println("##########context********"+context);
    DataSource ds = (DataSource)context.lookup("jdbc/OracleDS_native");
    System.out.println("##########DataSource********"+ds);
    con = ds.getConnection();
    catch( Exception exception ) {
    // process exception
    exception.printStackTrace();
    if(con!=null)
    try{ con.close(); }
    catch(SQLException e)
    { e.printStackTrace();}
    ERROR:
    ##########context********javax.naming.InitialContext@2bbd86
    javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:640)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
    at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:280)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at javaapplication1.Main.main(Main.java:35)
    what might be the problem??
    regards
    Phani

    Phani,
    From the contents of your "data-sources.xml" file that you posted, it looks like you are using a pre-10.1.3.x version of OC4J (stand-alone?), so Jason's link may not be helpful.
    Nonetheless, as Jason mentions, you do need to set some properties that need to be passed to the "InitialContext" class constructor. Probably something like the following.
    [Note that the code is uncompiled and untested.]
    Properties prp = new Properties();
    prp.put(Context.INITIAL_CONTEXT_FACTORY,
            "com.evermind.server.rmi.RMIInitialContextFactory");
    prp.put(Context.PROVIDER_URL, "ormi://oc4j_host");
    prp.put(Context.SECURITY_PRINCIPAL, "user");
    prp.put(Context.SECURITY_CREDENTIALS, "password");
    Context ctx = new InitialContext(prp);
    DataSource ds = (DataSource) context.lookup("jdbc/OracleDS_native");And replace "oc4j_host" with the name of your OC4J host machine as well as "user" and "password" with the appropriate values.
    Note that you can probably use the OC4J admin user's details.
    Good Luck,
    Avi.

  • Two nodes under Transport Request for Datasources

    Hi all,
    I need to transport 3.x DataSource  from DEV to PROD.
    Using TRANSPORT CONNECTIONS I have added all required Datasources in my transport request.
    In SE10 I can see 2 nodes under my transport request.
    DataSource Replica
    DataSource (Active Version)
    All Datasources are shown in DataSource Replica but a few of them (not sure why) in DataSource (Active Version).
    I wanted to know the if this is the right way to transport ???
    Will it result in an error while transporting to PROD ???
    Please help me in clearing my doubts.
    Regards
    Shalabh

    Hi,
    U need to transport the Data source replica as well when ever u transport ur DS for the first time.. along with the ur DS...
    So make sure that u have collected IS, DS, DS replica, TR, UR, IO if any and targets.
    Thanks
    Assign points if this helps

  • Error in connecting to database using a datasource in a jsp file

    Dear SDN's,
    I have a program which retreives Data from the Employee table and displays on portal page.
    What i have done is,
    I have created a pageprocessor component, with 2 jsp files one is for data insert and other is for retriving the data from the database table.
    For inserting the records, i have written the code in the Even handling method of Page Proceessor component.
    For retriving the data i have written the following jsp code in the jsp file and this i am calling in PBO of pageprocessor component based on the condition.
    When i try to insert the records it is working fine.But i am getting an error when try to execute the retreving the records in other jsp.
    Please go through the following code and correct me if anything is wrong here.
    <b><%@ page language="java" %>
    <%@ page import ="java.lang.*,java.sql.Connection,javax.sql.DataSource,java.sql.Statement,java.sql.ResultSet,javax.naming.InitialContext" %>
    <body>
    <center>
         <table border="1">
         <tr cellpadding="1">
         <th>Empid</th>
         <th>Name</th>
         <th>City</th>
         </tr>
    <%
         InitialContext initialContext = new InitialContext();
         DataSource ds = (DataSource) initialContext.lookup("jdbc/MyDS");
         Connection conn = ds.getConnection();
         stmt = conn.createStatement();     
         ResultSet rs=stmt.executeQuery("select * from EMP_DETAILS");
         while(rs.next())
              out.println(rs.getString("EMPID"));
              out.println(rs.getString("NAME"));
              out.println(rs.getString("CITY"));
         %>
         <tr cellpadding="1">
              <td><%=rs.getString("EMPID")%></TD>
              <TD><%=rs.getString("NAME")%></td>
              <td><%=rs.getString("CITY")%></td>
              <br>
              </table>
              catch (Exception e) {                    
         e.printStackTrace();
         out.println("Exception" + e);     
              }</b>
    The error what i am getting is.
      Portal Runtime Error
    An exception occurred while processing a request for :
    iView : JSPdbProject.Empjava
    Component Name : JSPdbProject.Empjava
    Error occurs during the rendering of jsp component.
    Exception id: 04:29_16/11/06_0005_507480350
    See the details for the exception ID in the log file

    Hi Sumathi,
    here is the error log.
    #1.5#0017087C79D800760000004700001C000004225B24927786#1163674757780#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#J2EE_ADMIN#10231##OBTDEV15_O50_507480350#J2EE_ADMIN#6afb6760756111dbaf3c0017087c79d8#SAPEngine_Application_Thread[impl:3]_24##0#0#Error#1#/System/Server#Java###Exception ID:04:29_16/11/06_0005_507480350
    [EXCEPTION]
    #1#com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Resource
    Component : JSPdbProject.Empjava
    Component class : Empjava
    User : J2EE_ADMIN
         at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:969)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:444)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
         at com.sapportals.portal.prt.component.AbstractComponentResponse.include(AbstractComponentResponse.java:89)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:232)
         at com.sapportals.portal.htmlb.page.JSPDynPage.doOutput(JSPDynPage.java:76)
         at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:129)
         at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sapportals.portal.prt.component.PortalComponentException: Error occurs during the compilation of java generated from the jsp
         at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:116)
         at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:355)
         at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
         ... 38 more
    Caused by: com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: Error occurs during the rendering of jsp component
         at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:2189)
         at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.compile(JSPCompiler.java:81)
         at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.run(JSPCompiler.java:140)
         at com.sapportals.portal.prt.core.broker.JSPComponentItem.compileJSP(JSPComponentItem.java:291)
         at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:141)
         ... 41 more
    Thanks,
    sireesha.B

  • DataSource Creation for flatfile in BI 7.0

    I am new to BI 7.0. I have worked on BW 3.5. When i rightclick on Appl Comp for creating a datasource in 'Datasources' node, I am not able to find any option except 'Replicate MetaData'. Is there any setting to be made or shall I have to do it differently.
    Please let me know.

    HI
    first create flat file source system under file folder in source system tab
    Go to datasource tab click , click on yellow icon and select ur source sytem
    then u can create ur application component and datasource under that application component.
    http://help.sap.com/saphelp_nw04s/helpdata/en/fc/1251421705be30e10000000a155106/content.htm
    Regards
    Kiran
    Message was edited by:
            ravi kiran naalla

  • Datasource Vs Infosource in BI 7.0

    Hi,
    I have a question .... and we doesn't know answer it.
    In the new  BI version, I suppose that only exist DataSource ( rsa1--datasource).
    The Infosource option is for the 3.X version( rsa1-infosurce )
    Is it correct ?
    Thanks a lot

    Supplementing others..
    Infosource is used in nw2004s for below rationale
    <b>Dataflow using Infosource</b>
    If you are using Multiple DS than would suggest using Infosource for better performance and central administration.
    if you want to connect a number of different DataSources to a target and the different DataSources have the same business rules. In the transformation, you can align the format of the data in DataSource with the format of the data in the InfoSource. The required business rules are applied in the subsequent transformation between the InfoSource and the target. You can make any changes to these rules centrally in this one transformation, as required
    <b>Recommendations different scenarios -</b>
    http://help.sap.com/saphelp_nw04s/helpdata/en/44/0243dd8ae1603ae10000000a1553f6/content.htm
    Hope it Helps
    Chetan
    @CP..

Maybe you are looking for