Characterstic to be added in Datasource

WE ARE HAVING A REPORT FOR VENDOR OVER DUE ANALYSIS WHICH IS CREATED ON DATA TARGET
0FIAP_C30.
THE USER REQUIRES BUSSINESS AREA  AS ONE OF THE CHARACTERSTIC IN THE REPORT
THE CUBE HAS A DATASOURCE 0FI_AP_30 WHICH IS NOT HAVING THIS characterstic
PLZ
SUGGEST HOW TO FULFILL THE REQUIREMENT

Hi,
I don't know how much you know about enhancing a datasource.
But here's how it goes.
1. Add a field "ZBUS_AREA" in the extraction structure of your datasource.
2. Then you have to write a code to fill in this field.
3. Transaction CMOD. Select your Project. Then "Components". Here you will see 4 rows. Select EXIT_SAPLRSAP_001.
    Double click on ZXRSAU01.  Or Simply in SE38 --> ZXRSAU01.
4. Now I cannot help you to write the entire code but it's very simply really. You have to define an internal table to get values from  BSEG. And then lookup this table for each record that your datasource delivers to find a match and updae the record with BA value.
If you go to ZXRSAU01, you will see some examples how this is done. People can provide you the entire code here but you gotta try.
Please also check what Dennis has mentioned above.
-RMP

Similar Messages

  • Error while adding a datasource to an index

    Hi,
    I am creating an index with a file system repository. I have to create a taxonomy on that index to classify all the documents inside the repository. When i am trying to assign a datasource to the index i am getting the following error
    "The repository needs the properties service to be attached to a classification index"
    Can anybody help me?
    Thanks in Advance
    Prakash

    Hi Prakash,
    what you have to do is to edit the file system repository you want to assign as datasource to the index.
    (Content Management -> Repository Mangers -> File System Repository -> Mark "Your FS Repository" ->  Edit)
    Go through the list of Repository Services (click on Next Page) and activate (mark) the "properties" Repository Service.
    After saving and restarting! the J2EE Engine you should be able to add the datasource to the classification index.
    Hope this helps,
    Robert

  • Adding a Datasource to a running Server ?

    What is the best way to add a new data-source to a running Server ?
    Perviously, I was binding a new DataSource Object into the JNDI Tree from the context of an EJB, with an external process writing the new DataSource into the data-sources.xml file.
    But now I've kicked EJB's out of the application, replacing with POJO's accessed from the servlet tier and the binding of the datasource fails (unusual issue and all my other Objects bind perfectly, I'll continue investigating...)
    Now, I know that the admin.jar file can be used to manually add new data-sources to a server, but is this the best way to add data-sources to an already running server ?
    Could I in some way call into the appropriate Class to add a new data-source.
    e.g. A Server API like this: OC4JServer.addDataSource( Map params ); would be handy
    Cheers,
    Ro

    Hello,
    One way of doing that in OracleAS 10.1.3 will be to use JMX and MBeans.
    The getMBeanServer() returns you an MBean Server connection where you can invoke operations as follow:
    String appBeanName = "oc4j:j2eeType=J2EEApplication,name="+ j2eeAppName +",J2EEServer=standalone";
    ObjectName obj = new ObjectName(appBeanName);
    // invoke the create connection pool and create connection
    // values used to create the connection pool
    Object[] paramsPool = {
    connectionPoolName,
    dataSourceFactory,
    username,
    password,
    url};
    // signature used to create the connection pool
    String[] signaturePool = {
    "java.lang.String",
    "java.lang.String",
    "java.lang.String",
    "java.lang.String",
    "java.lang.String"};
    // Call the connection pool creation operation
    getMBeanServer().invoke(
    obj,
    "createJDBCConnectionPool", //operation
    paramsPool,
    signaturePool);
    // Values used to create the connection
    Object[] paramsConn = {
    connectionName,
    username,
    password,
    "jdbc/"+ connectionName,
    new Integer(30), // timeout
    connectionPoolName,
    "global",
    null};
    // Signature used for the Operation call
    String[] signatureConn = {
    "java.lang.String",
    "java.lang.String",
    "java.lang.String",
    "java.lang.String",
    "java.lang.Integer",
    "java.lang.String",
    "java.lang.String",
    "java.lang.String"
    getMBeanServer().invoke(
    obj,
    "createManagedDataSource",
    paramsConn,
    signatureConn
    Regards
    Tugdual Grall

  • Failed to retrieve data from the database when adding jdbc datasource

    I'm having problems adding some tables to the selected tables list using the database expert.
    I get the error messages "Failed to retrieve data from the database" followed by "Unknown Database Connection Error".
    I thought it may be a permissions issue as it only affects some tables, but I can access the same tables fine using the same user through Oracle SQL Developer.
    The database is Oracle 10g Express Editions
    Crystal version is 12.0.0.683
    Running on Windows XP
    Any suggestions would be much appreciated.

    Hi Stuart
    Please refer SAP note 1218714 for this issue. The link to this article ia as follows:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313338333733313334%7D.do
    You can search for this note on the SDN site.
    Hope this helps.
    Thanks!

  • Adding Text datasource

    Hi,
    i have this situation. there exist flat file datasource that  has the option of loading master data, text and hierarchy.
    right now there is only infopackage for loading master data. I have tried right click - create infopackage for loading text but it only gives me the option of master data.
    I do I get this infopackage for loading the text/description.
    thanks

    Hi Bhat,
    For loading Master data Text follow these steps,
    First double click your dataSource(PC file datsource) , in this trasfer Structure---> select the datasource of Text type over there .
    based on this selection your datasource structure has changed like this ID, 0Langu, 0txtsh. Activate your datasource now.
    Now create a new Infopackage for Text data or use your existing infopackage , select the text datasource and load your Master data Text file.
    Note: Assign points if it helps
    Regards,
    Arun.M.D

  • CPI2.0 RSL #2032 error while adding NAM Datasources

    Hello,
    Despite implemented the RSL-Flash Patch allready, I get into this error when trying to add NAM Datasources
    at Administration > System Settings > Data Sources
    after having the HTTPS credentials for the NAM's configured.
    The RSL-Flash Patch was improving for template assignment and other parts of the CPI GUI, but for NAMs we still get into this error.
    Please help.
    Steffen

    Dear Manikandan P,
    Is there any change and check in stored procedure SBO_SP_TransactionNotification?
    Best Regards
    Jane Jing
    SAP Business One Forums team
    Edited by: Rui Pereira on Dec 23, 2008 3:56 PM

  • "object reference not set to an instance of an object" after update datasource lightswitch

    I'm using Latest Visual Studio 2013 Ultimate (2013.3) and when I attempt to open "update datasource"  it throws an error
    "Object reference not set to instance of an object." 

    It's quite possibly an issue with the data source definition being dependent on a newer version of a lightswitch framework DLL.  When I've hit these kinds of issues I've simply deleted the datasource, run a nuget refresh and added the datasource again.
     If you have any code or queries, save a copy of the code-behind files and jot down the details of the queries before you try this.

  • Problem with Datasource for SQL Server Express

    I have set up a development environment to develop some processes for the HCSO client and have a question.  I have a turnkey install on my laptop with MYSQL.  The liveCycle databases are in MYSQL.  I have also installed SQL Server Express on this machine and created a table to query that will control workflow.  I added a datasource configuration in the adobe-ds.xml configuration file.  That configuration is:
    <local-tx-datasource>
                <jndi-name>HCSO</jndi-name>
                <connection-url>jdbc:sqlserver://localhost:1433;DatabaseName=DBName</connection-url>
                <driver-class>com.microsoft.sqlserver.jdbc.SQLServerDriver</driver-class>
                <user-name>username</user-name>
                <password>password</password>
                <min-pool-size>1</min-pool-size>
                <max-pool-size>30</max-pool-size>
                <blocking-timeout-millis>60000</blocking-timeout-millis>
                <autoReconnect>true</autoReconnect>
                <idle-timeout-minutes>15</idle-timeout-minutes>
                <prepared-statement-cache-size>100</prepared-statement-cache-size>
                <transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
                <new-connection-sql>Select id from HCSOUser.eric</new-connection-sql>
                <check-valid-connection-sql>Select id from HCSOUser.eric</check-valid-connection-sql>
                <metadata>
                      <type-mapping>MS SQLSERVER2000</type-mapping>
                </metadata>
          </local-tx-datasource>
    In SQL Server, I created a user and a schema with the same name in a database.  I created a simple table called "eric" with one column called "id".  The user was given the appropriate default schema and given full permissions on the database and table.
    In workbench, I added a JDBC query single row activity.  I have configured the datasource as java:/HCSO and also tried java:HCSO.  I then entered the query as "Select id from HCSOUser.eric" and hit test.  Nothing appears in the results area.  I see the following in the server.log:
    2009-09-24 14:44:26,437 ERROR [org.jboss.ejb.plugins.LogInterceptor] RuntimeException in method: public abstract java.lang.Object com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterLocal.doBMT(com.ad obe.idp.dsc.transaction.TransactionCallback) throws com.adobe.idp.dsc.DSCException:
    java.lang.RuntimeException: A result set was generated for update.
          at com.adobe.idp.dsc.jdbc.JDBCService.testExecute(JDBCService.java:616)
          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:592)
          at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
          at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
          at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
          at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
          at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doBMT(EjbTran sactionBMTAdapterBean.java:197)
          at sun.reflect.GeneratedMethodAccessor573.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:592)
          at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
          at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:214)
          at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:149)
          at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor. java:54)
          at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
          at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:106)
          at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:1 58)
          at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:62)
          at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:154)
          at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:153)
          at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
          at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:122)
          at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
          at org.jboss.ejb.Container.invoke(Container.java:873)
          at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:415)
          at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:88)
          at $Proxy270.doBMT(Unknown Source)
          at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:95)
          at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
          at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
          at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
          at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
          at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
          at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
          at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:132)
          at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
          at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
          at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
          at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)
          at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:118)
          at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.invoke(AbstractMessageReceiv er.java:315)
          at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invokeCall(SoapSdkEndpoint. java:138)
          at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invoke(SoapSdkEndpoint.java :81)
          at sun.reflect.GeneratedMethodAccessor710.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:592)
          at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
          at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
          at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
          at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
          at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
          at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
          at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
          at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
          at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
          at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:252)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
          at com.adobe.idp.dsc.provider.impl.soap.axis.InvocationFilter.doFilter(InvocationFilter.java :43)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:202)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
          at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:202)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
          at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
          at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja va:159)
          at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11P rotocol.java:744)
          at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
          at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
          at java.lang.Thread.run(Thread.java:595)
    Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: A result set was generated for update.
          at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(Unknown Source)
          at com.microsoft.sqlserver.jdbc.SQLServerStatement.doExecuteStatement(Unknown Source)
          at com.microsoft.sqlserver.jdbc.SQLServerStatement$StatementExecutionRequest.executeStatemen t(Unknown Source)
          at com.microsoft.sqlserver.jdbc.CancelableRequest.execute(Unknown Source)
          at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeRequest(Unknown Source)
          at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeUpdate(Unknown Source)
          at org.jboss.resource.adapter.jdbc.WrappedStatement.executeUpdate(WrappedStatement.java:161)
          at com.adobe.idp.dsc.jdbc.helper.SqlHelper.executeTestUpdate(SqlHelper.java:117)
          at com.adobe.idp.dsc.jdbc.JDBCService.testExecute(JDBCService.java:610)
          ... 82 more

    Thanks fot the tip, but now I got a different message in the "Test" results of "Query Single Row":
    Exception: Could not create connection; - nested throwable: (com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host  has failed. java.net.ConnectException: Connection refused: connect); - nested throwable: (org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host  has failed. java.net.ConnectException: Connection refused: connect))
    My datasource xml is like this:
    <?xml version="1.0" encoding="UTF-8"?>
            <datasources>
            <local-tx-datasource>
            <jndi-name>MSSQL</jndi-name>
            <connection-url>jdbc:sqlserver://localhost:1433;DatabaseName=ADOBE</connection-url>
              <use-java-context>false</use-java-context>
            <driver-class>com.microsoft.sqlserver.jdbc.SQLServerDriver</driver-class>
            <user-name>sa</user-name>
            <password>adobe</password>
              <min-pool-size>10</min-pool-size>
              <max-pool-size>50</max-pool-size>
              <blocking-timeout-millis>60000</blocking-timeout-millis>
              <idle-timeout-minutes>15</idle-timeout-minutes>
              <prepared-statement-cache-size>100</prepared-statement-cache-size>
              <transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
            <check-valid-connection-sql>SELECT 1 FROM sysobjects</check-valid-connection-sql>
            <metadata>
              <type-mapping>MS SQLSERVER2005</type-mapping>
            </metadata>
            </local-tx-datasource>
            </datasources>        
    Where is the problem and how to fix it?
    Thank you.

  • Customer Statement Report converted from PLD to CR - extra datasource issue

    Hi All,
    We've come across an issue where we have used the Crystal Converter to convert a PLD layout of the Customer Statement (Collection) Report to a CR layout (done via CR 2008 using the 8.8 standard integration).
    The layout converted fine and we've got most standard fields working and showing the correct values etc. However we had a requirement to also bring in the Original Document Amount into the layout (which is not a standard PLD field unfortunately!) and we had to do it via an extra datasource based on a pretty straightforward view we created in that company database - which contained columns CardCode, DocName (which was the transaction type + number e.g. IN 12345) and of course, DocTotal.
    We then added the datasource (via ADO connection) and linked the DocName to the Reference field that is already present in the standard layout and contains the same data as our cutom DocTotal - and remarkably, this actually produced the correct results - i.e. we managed to get the Original Document Amount to appear in the lines of the statement together with the open invoice balance, reference, posting date, due date etc - however this seems to affect the other areas of the layout - and we lose the header and footer information completely; whilst retaining only the lines level information.
    We've tried a few things such as linking the CardCode to a header field as well but it doesn't seem to bring the rest of the layout back. So in a nutshell, as soon as we bring that extra field in from the added datasource, we get the correct original document amount appearing in the lines but that's all we see in a print preview - the line level data of the statement. The header and footer information disappears.
    And here is the big question - any thoughts on this and has anybody experienced a similar problem in an integrated CR? We think it may possibly be due to the extra datasource - perhaps the 8.8 - CR integration doesn't know how to handle the additional datasource AND it's own standard datasource (which is referencing the PLD fields) properly yet?
    Thoughts please because I'm sure this will turn into a common issue sometime soon.
    Edited by: Mohsen Qureshi on Jul 2, 2010 11:04 AM

    Hi Mohsen,
    Perhaps you are able to help me.
    I have successfully converted the SAP system 'Customer Collection Report (One Page per Customer)' PLD into Crystal using the Crystal converter. I now run my customer ageing report in SAP, however, when i print preview the Crystal layout, the "detail" section of the report repeatedly displays the "text" label of each field. I'm assuming this is because the system PLD for the collection report, does not use database fields for the detail/repetetive area - instead it uses text fields to pull through fields such as document no etc etc.
    I would have throught that a crystal conversion from an untouched system layout would have worked, but it hasn't.
    My question - Did you have to perform any additional work to the crystal report after the conversion?
    Any suggestions or tips on how to get the system  would be greatly appreciated.
    Thanks in advance,
    George Kantzavelos

  • UCCX 9.0.1 Datasource to IBM iSeries

    I am doing an upgrade from UCCX 7.0.2 to 9.0.1.
    The UCCX 7.0.2 has an ODBC driver connection to an IBM iSeries DB server using an iSeries driver.  I need to replicate this connection on UCCX 9.0.
    On UCCX 9.0 I only have the ability to use a few type of drivers, JDBC DB2 driver being one of them.  I have tried using the following drivers:
    db2jcc.jar
    db2jcc4.jar
    I have also loaded the customer supplied db2jcc_license_cu.jar
    Both of the drivers load successfully under the com.ibm.db2.jcc.DB2Driver class, but when I try to make a Database Source connection within UCCX the test connection always fails.  I have created a new DB account so I have verified that the username and password are correct.
    I have tried these different formats when creating the Database Source.  I don't know what port number I should be using.  I saw 50000 mentioned in a few forums.
    jdbc:db2//10.80.1.100:50000/val
    jdbc:db2//10.80.1.100/val
    No matter the syntax the Test Connection always fails.
    Thanks,
    Brian Corbet

    We recently took a customer from CCX 7.x (Windows based) to 9.x (Cisco UCOS based) and ran into this issue. 
    Problem:
    Connecting via JDBC to an iSeries DB2 database
    description: Getting an error when trying to add an iSeries DB2 DataSource to the CCX server.  Adding the Datasource fails. In the CCX Engine logs, you see something similar to the following:
    [SQLException@185bf33] Message    = [jcc][t4][10509][13454][4.16.53] Connection to the data server failed. The IBM Data Server for JDBC and SQLJ license was invalid
     %MIVR-LIB_JDBC-7-UNK:or was not activated for the DB2 for z/OS subsystem. If you are connecting directly to
    %MIVR-LIB_JDBC-7-UNK:the data server and using DB2 Connect Unlimited Edition for System z, perform the
    %MIVR-LIB_JDBC-7-UNK:activation step by running the activation program in the license activation kit.  
    %MIVR-LIB_JDBC-7-UNK:If you are using any other edition of DB2 Connect, obtain the license file,
    %MIVR-LIB_JDBC-7-UNK:db2jcc_license_cisuz.jar, from the license activation kit, and follow the installation
    %MIVR-LIB_JDBC-7-UNK:directions to include the license file in the class path. ERRORCODE=-4230, SQLSTATE=42968
    Solution:
    1) The customer provided the db2jcc_license_cisuz.jar file, part of the “DB2 Connect” file set, which they purchased from IBM.
    2) I installed the Java SE JDK version 8_20 (not sure that the JDK version actually matters except later when I set my PATH).
    3) I copied the db2jcc4.jar file from the 10.5 driver and the db2jcc_license_cisuz.jar file from the provided DB2 Connect file set to the root of my c: drive.
    4) I ran the following commands in Windows Command Prompt to combine the jar files into a single file:
    PATH=%PATH%;C:\Program Files\Java\jdk1.8.0_20\bin 
    c:
    cd \
    mkdir tmp
    cd tmp
    jar -xf ../db2jcc4.jar
    jar -xf ../db2jcc_license_cisuz.jar
    cd ..
    jar -cvf combined.jar -C tmp .
    5) I browsed in CCX Administration to Subsystems > Database > Drivers, chose my file “combined.jar” file (C:\combined.jar) and selected "com.ibm.db2.jcc.DB2Driver” from the drop down box.  I clicked upload and it accepted it.
    6) I browsed in CCX Administration to Subsystems > Database > Datasource and built my datasource.  I entered my DSN name, username, password, confirmed the password, chose “com.ibm.db2.jcc.DB2Driver” from the drop down box, and entered my JDBC URL - jdbc:db2://<iSeries IP Address>:446/SXXXXXXX - where, SXXXXXXX is the database name. 
    7) I then went into the Datasource and tested.  It tested successfully.
    This allowed us to connect to the customer’s iSeries database.
    Please note that after we fixed this issue, we ran into another one. Here's a description of that issue and how we resolved it.
    Problem:
    Inserting Rows to a non-journaled iSeries DB2 database
    Description: Getting an error when we try to insert or update an iSeries DB2 database, using the DB Write Step.  This was working before in CCX 7.x (Windows based) when the connection was using ODBC. The CCX engine is successfully able to connect to the customer database via JDBC, however, we are seeing something similar to this in the CCX Engine logs when we try to do database writes (DB Write in CCX script):
    %MIVR-LIB_JDBC-7-UNK:com.ibm.db2.jcc.am.SqlException: DB2 SQL Error: SQLCODE=-7008, SQLSTATE=55019, SQLERRMC=DATABASENAME    ;3, DRIVER=4.16.53 
    Solution:
    The key to this problem turned out to be that the customer database was not journaled.  IBM provided useful information in this regard. In particular, the following IBM tech note indicates that they do NOT support manipulating the JDBC driver parameters on the iSeries.  Instead, either the database must be journaled, or you must use “WITH NC” (omitting the quotes) at the end of your INSERT or UPDATE SQL query (at the end of our DB Write step) .  When we use “WITH NC”, the database inserts work without error.
    See this link for more details.
    http://www-01.ibm.com/support/docview.wss?uid=swg21676715

  • Deploying ejb-jar when DataSource is defined

    Hi,
    I have an application that I have been deoploying to ear/ejb-jar/war files for some time. But I have found when I added a DataSource for CMP entity beans deployment of the ejb-jar failes with the following error;
    WARNING: Skipping deployment step with id 'packaging-sequence' because no concrete deployer was found for platform 'JDBC'
    If I remove the data source the deployment works, so it does seem to be the data source not the CMP entity bean that causes the problem.
    Does anyone know what this error means and how to fix it!!!
    Paul

    What does the manual for the OC4J application server have to say about it all?

  • Datasource not replicated in Production Environment

    Hi all,
    I activate a datasource 2lis_04_p_comp in SAP R/3 development environment and replicate it in BW development environment. All works are OK.
    Then I transport this datasource in R/3 production environment a first time, then a second time after several modifications on my datasource. All transports and activation (first and second wave of transport on this datasource) are OK between development and production environment (on R/3).
    2LIS_04_P_COMP is same (on R/3) between development and production environment.
    But when I want replicate 2LIS_04_P_COMP in BW production environment, several fields are not replicated. Only fields wich are transported in first wave are replicated in BW production environment. Fields which are added (after datasource modifications) and transported in second wave of datasource transports, are not replicated (Datasource contains these fields on R/3 development and production environment). Whereas in development environment all fields are correctly replicated.
    I think, my problem stems from replication in BW production environment.
    How can I replicated all fields in my BW production environment ?
    Thanks,
    Rgds,
    Sébastien

    hi,
    Can u check the transport log for 2nd time transport from R/3 Dev to R/3 Prod...
    Did u see all the changes in R/3 prod for DS 2LIS_04_P_COMP ..
    try this again..
    R/3 prod
    RSA6--> Select 2LIS_04_P_COMP Click on Truck icon -->
    BW Prod
    RSA1--> Source Sys tab > Select ur SS> RightClk and Replicate Datasources
    If u still missing some fields .. come back to us
    Thanks

  • Datasource works in Tomcat 5.5.4 but not 5.5.9

    I am encountering a very strange problem when trying to use a datasource in Tomcat. I got Tomcat 5.5.4 to access the datasource by using the following in <TomcatHome>\conf\Catalina\localhost\<webAppContext>.xml
    <Context path="/appName" docBase="appName"
        debug="5" reloadable="true" crossContext="true">
      <Resource name="jdbc/RDM" auth="Container" type="javax.sql.DataSource"
           maxActive="100" maxIdle="30" maxWait="10000"
         username="*hidden*" password="*hidden*" driverClassName="sun.jdbc.odbc.JdbcOdbcDriver"
         url="jdbc:odbc:RDM_CURRENT_11"/>
    </Context>I use this in conjunction with the following in <TomcatHome>\webapps\<appName>\WEB-INF\web.xml:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
        version="2.4">
         <resource-ref>
          <description>RDM</description>
          <res-ref-name>jdbc/RDM</res-ref-name>
          <res-type>javax.sql.DataSource</res-type>
          <res-auth>Container</res-auth>
         </resource-ref>
    </web-app>This works like a dream.
    I tried upgrading to Tomcat 5.5.9. I downloaded and installed the admin application, then added the datasource as follows:
    JNDI Name: RDM
    Datasource URL: jdbc:odbc:RDM_CURRENT_11
    JDBC Driver Class: sun.jdbc.odbc.JdbcOdbcDriver
    Username: hidden
    Password: hidden
    MaxActiveConnections: 100
    MaxIdleConnections: 30
    MaxWaitForConnection: 10000
    Validation Query:
    Now I get the following error:
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Unable to get connection, DataSource invalid: "org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory ([Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.)"
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:848)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)
         org.apache.jsp.gradprofile_jsp._jspService(org.apache.jsp.gradprofile_jsp:171)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory ([Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.)"
         org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.getConnection(QueryTagSupport.java:276)
         org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.doStartTag(QueryTagSupport.java:159)
         org.apache.jsp.gradprofile_jsp._jspx_meth_sql_query_0(org.apache.jsp.gradprofile_jsp:190)
         org.apache.jsp.gradprofile_jsp._jspService(org.apache.jsp.gradprofile_jsp:80)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.9 logs.
    Apache Tomcat/5.5.9I still have 5.5.4 installed, and when I switch back to it, everything works fine. I'd like to work in the most current version, though. Anyone have any ideas about this?

    does the 3rd party have a mailing list/forum?
    if so, you'd be better off putting your question there.
    or try the bug database, and search for the name of the 3rd party

  • Not able to set databinding for dropdown with another list datasource

    Hi
    I have created one dataviewwebpart on the basis of list1.
    Now I want to add one dropdown in one of the column which will display the values of another list.
    So I added link datasource as list2 for another datasource.
    I want to display versionID's  from another list for the item present in the row to this dropdown and when user click on icon I will pass selected version ID and ItemID(available in the row). So the user will able to see the selected version of the
    seleted item in another list.
    But I am not able to select versionID form list2 in "Change databinding" for the dropdown.
    In select a datasource dropdown its not showing the linked datasource of List2.
    What can I do ?
    Is there any other solution ? Am I missing anything?

    Hi,
    I recommend to edit the dropdown control with the code below:
    <SharePoint:DVDropDownList runat="server" id="ff5{$Pos}" DataSourceID="FilteredLookup" DataTextField="Title" DataValueField="Title" SelectedValue="{@MathTeachers}" __designer:bind="{ddwrt:DataBind('u',concat('ff5',$Pos),'SelectedValue','SelectedIndexChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@MathTeachers')}"/>
    Please remember to change the id, DataSourceID, DataTextField, DataValueField and SelectedValue to the value in your page code.
    More reference:
    https://www.mriwm.com/Public/PamBlog/Lists/Posts/Post.aspx?ID=39
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Datasource connection with jboss, need help

    Hi friends,
    I am doing data source connection through Jboss (jboss-4.0.2) with mysql database. I am using java(j2sdk1.4.2_04). I have made all changes given in this link -- http://community.jboss.org/wiki/SetUpAMysqlDatasource
    After making changes I restart jboss properly, but when I am going to attempt to connection through class. it give following error.
    1.ERROR! Shared library ioser12 could not be found.
    Can't find SerialContextProvider
    When a create a diffrent new class, then give me this error.
    2. ERROR! Shared library ioser12 could not be found.
    Cannot get connection: javax.naming.CommunicationException: Can't find SerialContextProvider
    Kindly help me out for this problem.
    Thanks
    Abhishek Jain

    user13428037 wrote:
    ,,, JBoss ... give following error.
    1.ERROR! Shared library ioser12 could not be found.
    Can't find SerialContextProvider
    When a create a diffrent new class, then give me this error.
    2. ERROR! Shared library ioser12 could not be found.
    Cannot get connection: javax.naming.CommunicationException: Can't find SerialContextProviderPlease don't crosspost http://www.javaprogrammingforums.com/jdbc-databases/6353-datsource-connection-mysql-need-help.html#post22533
    The
    ERROR! Shared library ioser12 could not be found.error message has nothing to do with you adding a datasource.
    It would happen even before you made the datasource configuration changes.
    Looks like you added a j2ee.jar to the JBoss classpath.

Maybe you are looking for