Cisco Prime NAM 5.1 Data Sources

Hi!,
Im having a bit of a problem configuring the Data Sources for the NAM to monitor.
I have a ISR G2 Router 2911 with a SRE-NAM module with Cisco Prime NAM 5.1 installed. It's up and running.
The Router has 3 interfaces which Ive configured the "analysis module monitoring" so that it can send all the traffic to the NAM module.
However, one of the interfaces is connected to a Switch 6500 which has many ports in use carrying vlans. It has a lot of traffic going on.
I want to send that traffic to the NAM Module so that i can monitor it using the software.
Ive configured in the switch a ERSPAN session with the ... monitor session commands. Ive assigned as sources all of its connected ports and as destination the port that is connected to the 2911.
Then when i go back to the Software, and in Data Sources i create the ERSPNA session, it doesnt work. it doesnt see the traffic.
Is there anything else i should configure both in the switch and in the router??
Please i would appriciate all the help i can get.
Thank you very much
Sincerely,
Dante Verastegui

Alfroj,
I downloaded the NAM 5.1 software to be installed on a SRE Module.
I was wondering if you could help me out with an error.
When i configure the module and then try to install the files from a ftp server, it doesnt work.
It loads all the files and when its installing, theres a crash and the system reboots. It does this all the time. Just keeps rebooting and rebooting.
Im attaching the messages I get
I would appriciate if you could help me out
Thanks in advance
Sincerely,
Dante Verastegui

Similar Messages

  • Traffic Analyzer is rare with Cisco Prime NAM

    Hi,
    we see any rare with Traffic Analyzer, see that ip source configured X.X.X.X/24 is as destination X.X.X.X. Where see that source is Y.Y.Y.Y. If we configure as destination X.X.X.X wihout source about Cisco Prime NAM, will have that appear in traffic analyzer as ip Destination correctly, but is backwards.
    have a card NAM-2 with last patch (WS-SVC-NAM-2), Version 5.1(2)). We configure about Cisco Prime Network Analisis Module Web where
    choose  Capture > Packet/Capture Decode > Sessions
    Configure Capture Session paramaters correctly, below:
    with a Name "Prueba"
    Capture Sourceis Data Ports with DATA PORT 1 and DATA PORT 2. (see attach file Configure Capture Session.jpg)
    Configure Software Filter Dialog parameters correctly, below:
    with a Name "Prueba"
    Destination Address / Mask: X.X.X.X/24
    select Both Directions
    Application or Port: None
    (see attach file Software Filter Dialog.jpg)
    w
    When have all configured about Cisco NAM, we see in Analyzer Packet that ip configure as destination appear as source, and as source other address. We see that is not correctly
    (see attach file Nam Traffic Analyzer Packet Decoder.jpg)
    It´s normal or is an issue real?
    Best Regards.

    Alfroj,
    I downloaded the NAM 5.1 software to be installed on a SRE Module.
    I was wondering if you could help me out with an error.
    When i configure the module and then try to install the files from a ftp server, it doesnt work.
    It loads all the files and when its installing, theres a crash and the system reboots. It does this all the time. Just keeps rebooting and rebooting.
    Im attaching the messages I get
    I would appriciate if you could help me out
    Thanks in advance
    Sincerely,
    Dante Verastegui

  • Cisco Prime NAM 5.1

    Hi!!
    I have a question!!
    I want to build a small demo with the new Cisco Prime NAM 5.1; however, I only have a NM-NAM module for a Cisco Router 2811.
    I've read the data sheets and I've come across info that the NAM 5.1 software can be installed on the NME-NAM module which is the replacement for the previous one. Nevertheless, it doesnt say that its not supported on the NM-NAM.
    Therefore, my question is, can I install the NAM 5.1 image on a NM-NAM module??
    Please I would appriciate your repply. ASAP, the Networkers is coming up and we are deploying a NAM demo!
    Thank you very much!!
    Sincerely,
    Dante Verastegui

    Alfroj,
    I downloaded the NAM 5.1 software to be installed on a SRE Module.
    I was wondering if you could help me out with an error.
    When i configure the module and then try to install the files from a ftp server, it doesnt work.
    It loads all the files and when its installing, theres a crash and the system reboots. It does this all the time. Just keeps rebooting and rebooting.
    Im attaching the messages I get
    I would appriciate if you could help me out
    Thanks in advance
    Sincerely,
    Dante Verastegui

  • Using Cisco Prime NAM as Netflow collector

    Hi everybody,
    I would like to know if it's possible to use a Cisco Prime Network Analysis Module for ISR G2  as a NetFlow collector.  A draft of architecture is attached. What I need to do is monitor Gi0/0 and Gi0/2 and produce reports about the total amount of traffic to/from two groups of server in the remote data center. My customer doesn't want to use it's NMS neither wants to use a netflow collector. My company can't install and/or operate any kind of new software or hardware to do this job.  VRF is not a problem, I can monitor them one at a time.
    Reading documentation it seems me that it's possible configuring Netflow as a data source.
    Has any body any experience in tis kind of  config ?
    Thx,
    Enrico

    The detailed view of the CDR based dashlets displays the CDR or CMR data only for the last 30 days.
    The call details of the endpoints prior to 30 days is not displayed by the dashlets, however, the aggregation
    of CDR or CMR data for the endpoints is available for the time period of one year.
    http://www.cisco.com/c/en/us/td/docs/net_mgmt/prime/collaboration/10-0/analytics/guide/Cisco_Prime_Collaboration_Analytics_Guide_10.pdf

  • How to find Table Name and Field Names given a Data Source

    Hi,
    I tried ROOSOURCE table in R/3 to find the Extract Structure and Extractor names for a specific data source, let us say 2LIS_02_ITM (PO Item Level).
    I know the extract structure for this data source is MCO2M_0ITM
    I am not able to find where this structure is extracting the data for every field.. I wanted to know the corresponding table name and the respective field names.. Both the existing and Appended fields..
    Thanks,
    Naren

    Hi,
    Check in in LBWE and Click on Maintenance and see the table names
    EKKO
    EKPA
    EKPO
    Tables are use for this DS
    Eg:
    MCEKKO  BEDAT  Document Date
    MCEKKO  BSART  Document Type
    MCEKKO  BSTYP  Doc. Category
    MCEKKO  BUDAT  Accounting date
    MCEKKO  EBELN  Purchasing Doc.
    MCEKKO  EKGRP  Purch. Group
    Note: here EKKO is table
    https://wiki.sdn.sap.com/wiki/display/BI/BW%20SD%20MM%20FI%20DATASOURCES
    thanks
    Reddy
    Edited by: Surendra Reddy on Mar 10, 2010 8:18 AM
    Edited by: Surendra Reddy on Mar 10, 2010 8:19 AM

  • How to specify dataschema name for oracle data source?

    hi all,
    I've a following problem:
    we have specified 2 Oracle dataschemas into a one Oracle SID, choosing of dataschema depends on user login name. So, if I use SQL/Plus then I successful connect with proeprietary database schema, and when I specify this user in "data-sources.xml" for datasource definition, however connection estabished with a default dataschema.
    And so question: how can I choose proeprietary database schema defined in one Oracle SID? There is any settings for this purpose in data-sources.xml?
    thanx in advance,
    Val.

    sorry, it works! was my error.

  • How to transform node name in XML data source for SSIS

    I have the following xml file; I want to change the node name of Emp.location to Emp_location, Edu.location to Edu_location, Addr.location to Addr_location as it was not supported by SSIS. I have multiple files like that. I  am thinking to use SSIS XML
    task with  XLST file to transform it. Can anybody help it?
    Thank you
    <?xml version="1.0" encoding="utf-8"?>
    <Resumes>
    <Resume>
      <Name>
        <Name.Prefix />
        <Name.First>Shai</Name.First>
        <Name.Middle />
        <Name.Last>Bassli</Name.Last>
        <Name.Suffix />
      </Name>
      <Skills>
        I am an experienced and versatile machinist who can operate a range of machinery personally
    as well as supervise the work of other machinists. I specialize in diagnostics and precision inspection, have expertise in reading blueprints, and am able to call on strong interpersonal and communication skills to guide the work of other production machinists
    whose work I am called upon to inspect.
        My degree in mechanical engineering affords me a better theoretical understanding and mathematical
    background than many other candidates in the machinist trade.
      </Skills>
      <Employment>
        <Emp.StartDate>2000-06-01Z</Emp.StartDate>
        <Emp.EndDate>2002-09-30Z</Emp.EndDate>
        <Emp.OrgName>Wingtip Toys</Emp.OrgName>
        <Emp.JobTitle>Lead Machinist</Emp.JobTitle>
        <Emp.Responsibility>
          Supervised work of staff of four machinists. Coordinated all complex assembly and tooling
    activities, including production of tricycles and wagons.
          Developed parts fabrication from sample parts, drawings and verbal orders.Worked with
    ISO9000 implementation.
        </Emp.Responsibility>
        <Emp.FunctionCategory>Production</Emp.FunctionCategory>
        <Emp.IndustryCategory>Manufacturing</Emp.IndustryCategory>
        <Emp.Location>
          <Location>
            <Loc.CountryRegion>US </Loc.CountryRegion>
            <Loc.State>MI </Loc.State>
            <Loc.City>Saginaw</Loc.City>
          </Location>
        </Emp.Location>
      </Employment>
      <Employment>
        <Emp.StartDate>1996-11-15Z</Emp.StartDate>
        <Emp.EndDate>2000-05-01Z</Emp.EndDate>
        <Emp.OrgName>Blue Yonder Airlines</Emp.OrgName>
        <Emp.JobTitle>Machinist</Emp.JobTitle>
        <Emp.Responsibility>
          Repaired and maintained a variety of production and fabrication machine tools.
          Set up and operated machines to close tolerances. Used and wrote CNC machine programs.
    Trained extensively in computer-aided manufacturing.
        </Emp.Responsibility>
        <Emp.FunctionCategory>Production</Emp.FunctionCategory>
        <Emp.IndustryCategory>Manufacturing</Emp.IndustryCategory>
        <Emp.Location>
          <Location>
            <Loc.CountryRegion>US </Loc.CountryRegion>
            <Loc.State>IL </Loc.State>
            <Loc.City>Chicago</Loc.City>
          </Location>
        </Emp.Location>
      </Employment>
      <Employment>
        <Emp.StartDate>1994-06-10Z</Emp.StartDate>
        <Emp.EndDate>1996-07-22Z</Emp.EndDate>
        <Emp.OrgName>City Power and Light</Emp.OrgName>
        <Emp.JobTitle>Assistant Machinist</Emp.JobTitle>
        <Emp.Responsibility>
          Performed centerless grinding. Received training in manual mill and lathe machines,
    as well as micrometers and calipers.
          Owned complete toolset.Worked extensive overtime on request.
        </Emp.Responsibility>
        <Emp.FunctionCategory>Production</Emp.FunctionCategory>
        <Emp.IndustryCategory>Manufacturing</Emp.IndustryCategory>
        <Emp.Location>
          <Location>
            <Loc.CountryRegion>US </Loc.CountryRegion>
            <Loc.State>IA </Loc.State>
            <Loc.City>Des Moines</Loc.City>
          </Location>
        </Emp.Location>
      </Employment>
      <Education>
        <Edu.Level>Bachelor</Edu.Level>
        <Edu.StartDate>1990-09-15Z</Edu.StartDate>
        <Edu.EndDate>1994-05-10Z</Edu.EndDate>
        <Edu.Degree>Bachelor of Science</Edu.Degree>
        <Edu.Major>Mechanical Engineering</Edu.Major>
        <Edu.Minor />
        <Edu.GPA>3.2</Edu.GPA>
        <Edu.GPAScale>4</Edu.GPAScale>
        <Edu.School>Midwest State University</Edu.School>
        <Edu.Location>
          <Location>
            <Loc.CountryRegion>US </Loc.CountryRegion>
            <Loc.State>IA </Loc.State>
            <Loc.City>Ames</Loc.City>
          </Location>
        </Edu.Location>
      </Education>
      <Address>
        <Addr.Type>Home</Addr.Type>
        <Addr.Street>567 3rd Ave</Addr.Street>
        <Addr.Location>
          <Location>
            <Loc.CountryRegion>US </Loc.CountryRegion>
            <Loc.State>MI </Loc.State>
            <Loc.City>Saginaw</Loc.City>
          </Location>
        </Addr.Location>
        <Addr.PostalCode>53900</Addr.PostalCode>
        <Addr.Telephone>
          <Telephone>
            <Tel.Type>Voice</Tel.Type>
            <Tel.IntlCode>1</Tel.IntlCode>
            <Tel.AreaCode>276</Tel.AreaCode>
            <Tel.Number>555-0114</Tel.Number>
          </Telephone>
          <Telephone>
            <Tel.Type>Fax</Tel.Type>
            <Tel.IntlCode>1</Tel.IntlCode>
            <Tel.AreaCode>276</Tel.AreaCode>
            <Tel.Number>555-0132</Tel.Number>
          </Telephone>
        </Addr.Telephone>
      </Address>
      <EMail>[email protected]</EMail>
      <WebSite />
    </Resume>
    </Resumes>

    See if these posts help: http://blogs.msdn.com/b/mattm/archive/2007/12/15/xml-source-making-things-easier-with-xslt.aspx
    http://simonlv.blogspot.ca/2012/08/ssis-step-by-step-6-use-xslt-to.html
    Arthur My Blog

  • 11g bi publisher data model generic columns names for obiee data source?

    I'm just trying to figure out if this is a bug, expected behavior or installation problem. When I select an Oracle BI Analysis to add to the data model diagram the column names are not copied over. Instead they are all renamed as Column0-ColumnNN.
    Thanks
    Edited by: user13087422 on Apr 7, 2011 9:49 AM

    I'm facing this same issue. Can you solve that? What's the problem with it?
    Regards,
    Ariel

  • How to Find out the Name of the Table in Data Sources

    Hi All,
    How Can i find out the table names used in data Sources.
    For EX. Suppose I want to find out the table Names  in R3 Used In GL Data Source 0FI_GL_4.
    Thanks in Advance.
    Vaibhav A

    Hi,
    Usefull link:
    https://wiki.sdn.sap.com/wiki/display/BI/BW%20SD%20MM%20FI%20DATASOURCES
    Regards.

  • Problem while displaying all the table names from a MS Access Data Source.

    I started preparing a small Database application. I want to display all the Table Names which are in the 'MS Access' Data Source.
    I started to executing by "Select * from Tab" as if in SQL.
    But i got an error saying that "Not able to resolve Symbol 'Tab' in the query".
    Please let me know how can i display all the table Names in the MS Access Dats Source.

    Here i am developing the application in Swing using JDBC for accessing the database.
    I want to display all the Table names from the data source in a ListBox for easy selection of tables to view their details.

  • 5508 pair show "Down" as data sources for Netflow

    I've setup my 5508s to monitor and export netflow to Cisco Prime Infrastructure but no data populates in the expected tabs.  When I check Admin-> Data Sources they show up as "down", while other netflow exporters (ASA1000s I used to test) show as "up".  I verified in the WLC CLI that they are exporting flows.  Thoughts?
    WLC show flow exporter stat:
    Exporter-name: CiscoPrime
      Total Flows Sent: 69536
      Total Pkts Sent: 4021
      Total Pkts Dropped: 0
      Last Sent Time: Thu Aug 15 15:24:29 2013

    Hi Marcin,
    You are most welcome my friend I think the great NetPros in this thread
    offer some excellent tips and strategies for this plan as well as the restrictions
    you will encounter moving forward. You will likely want to make the 5508 the
    primary controller with an eye on moving away from the 4400 at some point
    due to it's EoL and inability to run the latest code versions.
    Cheers!
    Rob
    "Show a little faith, there's magic in the night" - Springsteen

  • OSB: Cannot acquire data source error while using JCA DBAdapter in OSB

    Hi All,
    I've entered 'Cannot acquire data source' error while using JCA DBAdapter in OSB.
    Error infor are as follows:
    The invocation resulted in an error: Invoke JCA outbound service failed with application error, exception: com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/DBAdapter1/RetrievePersonService [ RetrievePersonService_ptt::RetrievePersonServiceSelect(RetrievePersonServiceSelect_inputParameters,PersonTCollection) ] - WSIF JCA Execute of operation 'RetrievePersonServiceSelect' failed due to: Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException
    Exception Description: Cannot acquire data source [jdbc/soademoDatabase].
    Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.soademoDatabase'. Resolved 'jdbc'; remaining name 'soademoDatabase'.
    ; nested exception is:
    BINDING.JCA-11622
    Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    JNDI Name for the Database pool: eis/DB/soademoDatabase
    JNDI Name for the Data source: jdbc/soademoDatabase
    I created a basic DBAdapter in JDeveloper, got the xsd file, wsdl file, .jca file and the topLink mapping file imported them into OSB project.
    Then I used the .jca file to generate a business service, and tested, then the error occurs as described above.
    Login info in RetrievePersonService-or-mappings.xml
    <login xsi:type="database-login">
    <platform-class>org.eclipse.persistence.platform.database.oracle.Oracle9Platform</platform-class>
    <user-name></user-name>
    <connection-url></connection-url>
    </login>
    jca file content are as follows:
    <adapter-config name="RetrievePersonService" adapter="Database Adapter" wsdlLocation="RetrievePersonService.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
    <connection-factory location="eis/DB/soademoDatabase" UIConnectionName="Connection1" adapterRef=""/>
    <endpoint-interaction portType="RetrievePersonService_ptt" operation="RetrievePersonServiceSelect">
    <interaction-spec className="oracle.tip.adapter.db.DBReadInteractionSpec">
    <property name="DescriptorName" value="RetrievePersonService.PersonT"/>
    <property name="QueryName" value="RetrievePersonServiceSelect"/>
    <property name="MappingsMetaDataURL" value="RetrievePersonService-or-mappings.xml"/>
    <property name="ReturnSingleResultSet" value="false"/>
    <property name="GetActiveUnitOfWork" value="false"/>
    </interaction-spec>
    </endpoint-interaction>
    </adapter-config>
    RetrievePersonService_db.wsdl are as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <WL5G3N0:definitions name="RetrievePersonService-concrete" targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/KnowledeMgmtSOAApplication/AdapterJDevProject/RetrievePersonService" xmlns:WL5G3N0="http://schemas.xmlsoap.org/wsdl/" xmlns:WL5G3N1="http://xmlns.oracle.com/pcbpel/adapter/db/KnowledeMgmtSOAApplication/AdapterJDevProject/RetrievePersonService" xmlns:WL5G3N2="http://schemas.xmlsoap.org/wsdl/soap/">
    <WL5G3N0:import location="RetrievePersonService.wsdl" namespace="http://xmlns.oracle.com/pcbpel/adapter/db/KnowledeMgmtSOAApplication/AdapterJDevProject/RetrievePersonService"/>
    <WL5G3N0:binding name="RetrievePersonService_ptt-binding" type="WL5G3N1:RetrievePersonService_ptt">
    <WL5G3N2:binding style="document" transport="http://www.bea.com/transport/2007/05/jca"/>
    <WL5G3N0:operation name="RetrievePersonServiceSelect">
    <WL5G3N2:operation soapAction="RetrievePersonServiceSelect"/>
    <WL5G3N0:input>
    <WL5G3N2:body use="literal"/>
    </WL5G3N0:input>
    <WL5G3N0:output>
    <WL5G3N2:body use="literal"/>
    </WL5G3N0:output>
    </WL5G3N0:operation>
    </WL5G3N0:binding>
    <WL5G3N0:service name="RetrievePersonService_ptt-bindingQSService">
    <WL5G3N0:port binding="WL5G3N1:RetrievePersonService_ptt-binding" name="RetrievePersonService_ptt-bindingQSPort">
    <WL5G3N2:address location="jca://eis/DB/soademoDatabase"/>
    </WL5G3N0:port>
    </WL5G3N0:service>
    </WL5G3N0:definitions>
    Any suggestion is appricated .
    Thanks in advance!
    Edited by: user11262117 on Jan 26, 2011 5:28 PM

    Hi Anuj,
    Thanks for your reply!
    I found that the data source is registered on server soa_server1 as follows:
    Binding Name: jdbc.soademoDatabase
    Class: weblogic.jdbc.common.internal.RmiDataSource_1033_WLStub
    Hash Code: 80328036
    toString Results: ClusterableRemoteRef(8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1 [8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1/291])/291
    Binding Name: jdbc.SOADataSource
    Class: weblogic.jdbc.common.internal.RmiDataSource_1033_WLStub
    Hash Code: 92966755
    toString Results: ClusterableRemoteRef(8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1 [8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1/285])/285
    I don't know how to determine which server the DBAdapter is targetted to.
    But I found the following information:
    Under Deoloyment->DBAdapter->Monitoring->Outbound Connection Pools
    Outbound Connection Pool Server State Current Connections Created Connections
    eis/DB/SOADemo AdminServer Running 1 1
    eis/DB/SOADemo soa_server1 Running 1 1
    eis/DB/soademoDatabase AdminServer Running 1 1
    eis/DB/soademoDatabase soa_server1 Running 1 1
    The DbAdapter is related to the following files:
    C:\ Oracle\ Middleware\ home_11gR1\ Oracle_SOA1\ soa\ connectors\ DbAdapter. rar
    C:\ Oracle\ Middleware\ home_11gR1\ Oracle_SOA1\ soa\ DBPlan\ Plan. xml
    I unzipped DbAdapter.rar, opened weblogic-ra.xml and found that there's only one data source is registered:
    <?xml version="1.0"?>
    <weblogic-connector xmlns="http://www.bea.com/ns/weblogic/90">
    <enable-global-access-to-classes>true</enable-global-access-to-classes>
    <outbound-resource-adapter>
    <default-connection-properties>
    <pool-params>
    <initial-capacity>1</initial-capacity>
    <max-capacity>1000</max-capacity>
    </pool-params>
    <properties>
    <property>
    <name>usesNativeSequencing</name>
    <value>true</value>
    </property>
    <property>
    <name>sequencePreallocationSize</name>
    <value>50</value>
    </property>
    <property>
    <name>defaultNChar</name>
    <value>false</value>
    </property>
    <property>
    <name>usesBatchWriting</name>
    <value>true</value>
    </property>
    <property>
    <name>usesSkipLocking</name>
    <value>true</value>
    </property>
    </properties>
              </default-connection-properties>
    <connection-definition-group>
    <connection-factory-interface>javax.resource.cci.ConnectionFactory</connection-factory-interface>
    <connection-instance>
    <jndi-name>eis/DB/SOADemo</jndi-name>
              <connection-properties>
                   <properties>
                   <property>
                   <name>xADataSourceName</name>
                   <value>jdbc/SOADataSource</value>
                   </property>
                   <property>
                   <name>dataSourceName</name>
                   <value></value>
                   </property>
                   <property>
                   <name>platformClassName</name>
                   <value>org.eclipse.persistence.platform.database.Oracle10Platform</value>
                   </property>
                   </properties>
              </connection-properties>
    </connection-instance>
    </connection-definition-group>
    </outbound-resource-adapter>
    </weblogic-connector>
    Then I decided to use eis/DB/SOADemo for testing.
    For JDeveloper project, after I deployed to weblogic server, it works fine.
    But for OSB project referencing wsdl, jca and mapping file from JDeveloper project, still got the same error as follows:
    BEA-380001: Invoke JCA outbound service failed with application error, exception:
    com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/DBAdapterTest/DBReader [ DBReader_ptt::DBReaderSelect(DBReaderSelect_inputParameters,PersonTCollection) ] - WSIF JCA Execute of operation 'DBReaderSelect' failed due to: Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException
    Exception Description: Cannot acquire data source [jdbc/SOADataSource].
    Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.SOADataSource'. Resolved 'jdbc'; remaining name 'SOADataSource'.
    ; nested exception is:
    BINDING.JCA-11622
    Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException
    Exception Description: Cannot acquire data source [jdbc/SOADataSource].
    Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.SOADataSource'. Resolved 'jdbc'; remaining name 'SOADataSource'.
    You may need to configure the connection settings in the deployment descriptor (i.e. DbAdapter.rar#META-INF/weblogic-ra.xml) and restart the server. This exception is considered not retriable, likely due to a modelling mistake.
    It almost drive me crazy!!:-(
    What's the purpose of 'weblogic-ra.xml' under the folder of 'C:\Oracle\Middleware\home_11gR1\Oracle_OSB1\lib\external\adapters\META-INF'?
    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

  • Error in generating data source from planning area

    Hi experts! I have an error while making data source from planning area:
    after the screen when i fill in the data source name (Window name: Generate export data source) i have the SYNTAX_ERROR Message:
    Syntax error in program /sapapo/cl_im_extract_ex======cp
    the main reason: the type /BI0/9A0IVWKNDGD is unknown
    what you can suggest to solve this problem?
    Thanks.

    Dear Andrey Kudriavzev,
    The reason is the program is trying to use the datatype '/BI0/9A0IVWKNDGD' which does not exist in the system.
    Go SE11 to cross check if it exists. Check dataelement radiobutton -> enter /BI0/9A0IVWKNDGD -> Choose display option. You would need to create this datatype in the system. I feel there must some OSS Note related to this.
    Search for an OSS Note. Raise one if you cannot find the relevant notes.
    Regards,
    Naveen.

  • ORA-06550/PLS-00201 error while configuring data source

    Hi,
    My development platform is Visual Studio 2005, ODAC11g Release 1 (11.1.0.6.20), and Oracle 10g Release 2 database.
    I tried to setup a sqlDatasource in my web page using drag and drop features
    When I configure the sqlDatasource to use a stored procedure inside a package,
    I notice that odp.net uses #0# as separator (instead of .) between package name and procedure name in Configure Data Source dialog box. Then when I clcik the Test Query button, I got following error.
    There was an error executing the query. Please check the syntax of the command and if present, the types and values of the parameters and ensure they are correct.
    ORA-06550: line 1, column 7:
    PLS-00201: identifier 'PK_LOOKUP_TABLE#0#P_LIST' must be declared
    ORA-06550: line 1, column 7
    PL/SQL: Statement ignored
    It looks like odp.net cannot locate PK_LOOKUP_TABLE#0#P_LIST.
    Is there any workaround ?
    Below is the stored procedure code. It compiles and runs without problem.
    PACKAGE BODY pk_lookup_table
    AS
    /* Get a list of lookup table name */
    PROCEDURE P_LIST (
    O_CURSOR OUT sys_refcursor )
    IS
    l_cur sys_refcursor;
    BEGIN -- executable part starts here
    OPEN l_cur FOR
    SELECT table_name
    FROM all_tab_comments u
    WHERE u.comments LIKE '%Lookup Table%'
    ORDER BY 1;
    o_cursor := l_cur;
    END P_LIST;
    END "PK_LOOKUP_TABLE";
    On the sqlDataSource property sheet, if I click the Select Query property, the Command and Parameter Editor will open, then I can change the select command name to PK_LOOKUP_TABLE.P_LIST. Then if I run the application, I get another error.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: Oracle.DataAccess.Client.OracleException: ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'P_LIST'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    Seems that it can locate the procedure.
    In the Command and Parameter Editor dialog, I can add output parameter, but data type is restricted. There is no REF CURSOR datatype in the dropdown list.
    How can I add output parameter with REF CURSOR type via IDE ?
    Thanks for the time looking into this issue.
    Mansion

    Hi
    Even I faced this problem while connecting to RMAN . But I feel your problem is different .
    My issue was like this
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04005: error from target database:
    ORA-06550: line 1, column 7:
    PLS-00201: identifier 'DBMS_BACKUP_RESTORE.SET_CHARSET' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    RMAN-04015: error setting target database character set to WE8MSWIN1252
    Solution :
    execute catproc.sql;

  • JPA with MySQL-Data-Source

    Hello Forum,
    I have a question regarding usage of a MySQL-Data-Source in combination with JPA
    on the SAP NetWeaver Application Server, Java ™ EE 5 Edition.
    I have setup a custom datasource like explained in paper:
    "Working with Database Tables, DataSources and JMS Resources"
    - registered the database driver via telnet (Using mysql-connector-java-5.0.3-bin.jar)
    - created the data-sources.xml file underneath the META-INF dir of the EAR project
    [code]
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE data-sources SYSTEM "data-sources.dtd" >
    <data-sources>
      <data-source>
        <data-source-name>titan_cruises_ds</data-source-name>
        <driver-name>mysql-connector-java-5.0.3-bin.jar</driver-name>
         <init-connections>1</init-connections>
         <max-connections>10</max-connections>
         <max-time-to-wait-connection>60</max-time-to-wait-connection>
         <expiration-control>
              <connection-lifetime>600</connection-lifetime>
              <run-cleanup-thread>60</run-cleanup-thread>
         </expiration-control>
         <sql-engine>native_sql</sql-engine>
        <jdbc-1.x>
          <driver-class-name>com.mysql.jdbc.Driver</driver-class-name>
          <url>jdbc:mysql://ourHost.internal.com:3306/practise_titan_cruises</url>
          <user-name>myUser</user-name>
          <password>myPass</password>
        </jdbc-1.x>
      </data-source>
    </data-sources>
    [/code]
    After that I manually created the persistence.xml underneath the META-INF dir of the EJB project.
    [code]
    <persistence xmlns="http://java.sun.com/xml/ns/persistence" version="1.0">
         <persistence-unit name="titan_cruises_pu">
              <jta-data-source>titan_cruises_ds</jta-data-source>
         </persistence-unit>
    </persistence>
    [/code]
    After that I created the Entity named "Cabin" and the corresponding table within the db.
    Entity code:
    [code]
    package de.collogia.beans.pojo.ship;
    import java.io.IOException;
    import java.io.Serializable;
    import javax.persistence.Column;
    import javax.persistence.Entity;
    import javax.persistence.GeneratedValue;
    import javax.persistence.Id;
    import javax.persistence.Table;
    This persisted POJO class models the cabin data.
    <p>
    In this class persistence annotations are placed on the getter methods
    of the attributes. This tells the persistence manager to access them
    via the corresponding get- and set-Methods.</p>
    (Unfortunately this does not work on NetWeaver and I had to place them
    on field level aggain...)
    @author Henning Malzahn ([email protected])
    svn-revision:         $Rev:: 670                                           $:
    svn-lasted-edited-by: $Author:: henning                                    $:
    svn-last-changed:     $Date:: 2007-02-21 21:49:51 +0100 (Wed, 21 Feb 2007) $:
    @Entity
    @Table(name = "cabin")
    public class Cabin implements Serializable {
        /** The generated serial version UID used for serialization. */
        private static final long serialVersionUID = -8522497314498903378L;
        /** The actual version number of this class used for serialization. */
        private static int actualVersion = 1;
        /** The cabin's id. */
        @Id
        @GeneratedValue
        @Column(name = "id")
        private long id;
        /** The cabin's name */
        @Column(name = "name")
        private String name;
        /** The cabin's deck level */
        @Column(name = "deck_level")
        private int deckLevel;
        /** The cabin's ship id */
        @Column(name = "ship_id")
        private int shipId;
        /** The cabin's bed count */
        @Column(name="bed_count")
        private int bedCount;
    /---- Serialization/ Deserialization methods -/
    Method that is responsible for deserialization of the object.
    @param in The <code>ObjectInputStream</code> object to read
              the data from.
    @throws IOException That may occur when reading from the
                        <code>ObjectInputStream</code> object
    @throws ClassNotFoundException That may occur when invoking the default
                                   deserialization mechanism.
        private void readObject(final java.io.ObjectInputStream in)
            throws IOException, ClassNotFoundException {
            /* Invoke default deserialization mechanism. */
            in.defaultReadObject();
            /* Read the actual version number of the class. */
            actualVersion =  in.readInt();
        } // End of readObject()
    Method that is responsible for serialization of the object.
    @param out The <code>ObjectOutputStream</code> object to write
               the data to.
    @throws IOException That may occur when writing to the
                        <code>ObjectOutputStream</code> object.
        private void writeObject(final java.io.ObjectOutputStream out)
            throws IOException {
            /* Invoke default serialization mechanism. */
            out.defaultWriteObject();
            /* Write the actual version number of the class. */
            out.writeInt(actualVersion);
        } // End of writeObject()
    /---- Defining constructors -/
    Private default constructor.
        private Cabin() {
        } // End of default constructor
    Full constructor.
    @param name The cabin's name.
    @param deckLevel The cabin's deck level.
    @param shipId The cabin's ship id.
    @param bedCount The cabin's bed count.
        public Cabin(final String name,
                     final int deckLevel,
                     final int shipId,
                     final int bedCount) {
            this.name = name;
            this.deckLevel = deckLevel;
            this.shipId = shipId;
            this.bedCount = bedCount;
        } // End of full constructor
    /---- Overridden class methods -/
    Returns a string representation of the cabin's data.
    @see java.lang.Object#toString()
        @Override
        public String toString() {
            StringBuffer strBuf = new StringBuffer();
            strBuf.append(this.name);
            strBuf.append("\n");
            strBuf.append(this.deckLevel);
            strBuf.append("\n");
            strBuf.append(this.shipId);
            strBuf.append("\n");
            strBuf.append(this.bedCount);
            return strBuf.toString();
        } // End of toString()
    /---- Defining instance methods -/
    Get method for the member "<code>id</code>".
    @return Returns the id.
        public long getId() {
            return this.id;
    Set method for the member "<code>id</code>".
    HTDODO hm: Check whether it is possible to have setId method
    using private accesss level with NetWeaver JPA-Provider!
    @param id The id to set.
        private void setId(final long id) {
            this.id = id;
    Get method for the member "<code>name</code>".
    @return Returns the name.
        public String getName() {
            return this.name;
    Set method for the member "<code>name</code>".
    @param name The name to set.
        public void setName(final String name) {
            this.name = name;
    Get method for the member "<code>deckLevel</code>".
    @return Returns the deckLevel.
        public int getDeckLevel() {
            return this.deckLevel;
    Set method for the member "<code>deckLevel</code>".
    @param deckLevel The deckLevel to set.
        public void setDeckLevel(final int deckLevel) {
            this.deckLevel = deckLevel;
    Get method for the member "<code>shipId</code>".
    @return Returns the shipId.
        public int getShipId() {
            return this.shipId;
    Set method for the member "<code>shipId</code>".
    @param shipId The shipId to set.
        public void setShipId(final int shipId) {
            this.shipId = shipId;
    Get method for the member "<code>bedCount</code>".
    @return Returns the bedCount.
        public int getBedCount() {
            return this.bedCount;
    Set method for the member "<code>bedCount</code>".
    @param bedCount The bedCount to set.
        public void setBedCount(final int bedCount) {
            this.bedCount = bedCount;
    } // End of class Cabin
    [/code]
    After that I created the TravelAgentBean, a Stateless Session Bean, implementing
    a remote interface that allows construction and persisting of new Cabin objects:
    [code]
    package de.collogia.beans.session.stateless;
    import javax.ejb.Stateless;
    import javax.persistence.EntityManager;
    import javax.persistence.PersistenceContext;
    import de.collogia.beans.pojo.ship.Cabin;
    Class that implements the <code>TravelAgentRemote</code> interface
    and defines the business methods of the TravelAgent service.
    @author Henning Malzahn ([email protected])
    svn-revision:         $Rev:: 670                                           $:
    svn-lasted-edited-by: $Author:: henning                                    $:
    svn-last-changed:     $Date:: 2007-02-21 21:49:51 +0100 (Wed, 21 Feb 2007) $:
    @Stateless
    public class TravelAgentBean implements TravelAgentRemote {
        /** The <code>Log</code> object for this class. */
    //    private static final Log LOGGER;
        /** The <code>PersistenceManager</code> object. */
        @PersistenceContext(unitName = "titan_cruises_pu")
        EntityManager em;
    /---- Static initializer -/
    //    static {
    //        LOGGER = LogFactory.getLog(TravelAgentBean.class);
    //    } // End of static initializer block
    /---- Implementing remote interface methods -/
    {@inheritDoc}
        public void createCabin(final Cabin cabin) {
            this.em.persist(cabin);
        } // End of createCabin()
    } // End of class TravelAgentBean
    [/code]
    After that I created a Controller class containing a main method that looks up the remote
    interface of the TravelAgentBena like explained in document "Accessing Enterprise JavaBeans Using JNDI
    in SAP NetWeaver Application Server, Java ™ EE 5 Edition" written by Validimir Pavlov of SAP NetWeaver
    development team.
    Unfortunately I receive an Exception after invoking the createCabin(...) method.
    On the console of the NWDS I receive:
    [code]
    javax.ejb.EJBException: Exception in getMethodReady() for stateless bean sap.com/test2Earannotation|test2Ejb.jarannotation|TravelAgentBean;
    nested exception is: com.sap.engine.services.ejb3.util.pool.PoolException: javax.ejb.EJBException: Cannot perform injection over bean instance
    Caused by: java.lang.RuntimeException: The persistence unit is inconsistent:
    The entity >>de.collogia.beans.pojo.ship.Cabin<< is mapped to the table >>cabin<<, which does not exist.
    [/code]
    But if I look at the log file located in "C:\NWAS_JAVAEE5\JP1\JC00\j2ee\cluster\server0\log\defaultTrace.0.trc"
    I see the real reason is:
    [code]
    [EXCEPTION]
    #6#1064#42000#You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax
    to use near '"cabin"' at line 1#collnx02.collogia.de:3306:null:practise_titan_cruises#select * from "cabin"#com.mysql.jdbc.exceptions.MySQLSyntaxErrorException:
    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"cabin"' at line 1
         at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
         at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2870)
         at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1573)
         at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1665)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:3124)
         at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1149)
         at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1262)
         at com.sap.sql.jdbc.basic.BasicPreparedStatement.executeQuery(BasicPreparedStatement.java:99)
         at com.sap.sql.jdbc.direct.DirectPreparedStatement.executeQuery(DirectPreparedStatement.java:307)
         at com.sap.sql.jdbc.direct.DirectPreparedStatement.executeQuery(DirectPreparedStatement.java:264)
         at com.sap.engine.services.dbpool.wrappers.PreparedStatementWrapper.executeQuery(PreparedStatementWrapper.java:274)
    [/code]
    My goodness - what a long post - sorry for this - I hope I provided all information
    necessary to deal with the issue.
    Am I thinking in the right direction to blame attribute [code]<sql-engine>native_sql</sql-engine>[/code]
    of file data-sources.xml for the beaviour? Are there any other argument options than native_sql?
    Thanks in Advance!
    Henning Malzahn

    Hi Henning,
    > Despite the fact it's working now I have to do some
    > changes to my code currently
    > developed using JBoss/ Hibernate combination.
    > Hibernate allows you to have the
    > default no-arg constructor with private visibility -
    > any special reason for the fact that
    > only protected is allowed on NetWeaver?
    Here we strictly implemented the checks according to the requirements of the JPA specification. Technically, we could do with private constructors as well. But the JPA specifications requires the constructor to be protected to allow a JPA implementation to subclass entities if needed.
    > The entities in the project are final classes
    > so declaring a ctor protected doesn't really make
    > sense...
    For the same reason, your entities should not be final. Are we missing a check here ?
    > Also the persistence.xml parameter
    >
    hibernate.hbm2ddl.auto
    with the value of
    > create-drop is very useful while
    > developing the app - everytime you deploy the project
    > you get a fresh database.
    > Is there a comparable option for NetWeaver?
    No, unfortunately, there is no comparable option in SAP JPA (yet). We understand that there is a need for forward mapping. We would have liked to delegate this task to the JPA design time (i.e. Dali). However, we had to discover that Dali does not perform this task properly and we can't recommend using it any more.
    Consequently, there is no automatic schema generation in SAP JPA 1.0.
    >
    > Another thing is the extra TMP_SEQUENCE table which
    > isn't necessary using JBoss and
    > Hibernate - what's the reason for that?
    With Hibernate Entity Manager, the id generation strategy in use with GenerationType.AUTO depends on the database dialect. This means that depending on the database dialect, IDENTITY columns, SEQUENCES or generator tables (TableHiLo) are required. As Hibernate has the before mentioned schema generation property this fact can be hidden to the user.
    In SAP JPA, we are always using a table generator if GenerationType.AUTO is used. This allows for better portability across databases. It requires the table TMP_SEQUENCE. As we unfortunately do not have a schema generation capability, the user must create this table.
    Best regards,
    Adrian

Maybe you are looking for