Unable to connect to Salesforce using webservices (SOAP protocol)

Hi Team,
Our requirement is to consume Sales force WSDL (SOAP) with out PI involvement. We are having two WSDL's, one for Login to Salesforce and second one to exchange data.
We have created consumer service and logical port's. A proxy class with few methods is generated as expected.
The first consumer service for login is working fine. When we login, it returns the session ID which is valid for 2 hours. We tried to pass the session ID using the below code and then call the second service. It then gives error 'INVALID_SESSION_ID: Invalid Session ID found in SessionHeader: Illegal Session'.
Could you please let us know what am I missing? Is my approach correct?
Thanks in advance!
I have gone through the below links:
Web Services Security using ABAP Proxies
Consume SOAP WebService by SAP and add custom Header - Java Development - SCN Wiki
DATA:   lr_login            TYPE REF TO zlogin,
        lr_action           TYPE REF TO zexc,
        ls_request          TYPE        zlogin_request,
        ls_response         TYPE        zlogin_response,
        ls_header           TYPE REF TO if_wsprotocol_ws_header,
        lr_system_fault     TYPE REF TO cx_ai_system_fault,
        lr_flight_not_found TYPE REF TO cx_sxidag_flight_not_found,
        lv_name             TYPE        string,
        lv_namespace        TYPE        string,
        lr_ixml             TYPE REF TO if_ixml,
        lr_xml_document     TYPE REF TO if_ixml_document,
        lr_xml_root         TYPE REF TO if_ixml_element,
        lr_xml_element      TYPE REF TO if_ixml_element,
        lr_xml_node         TYPE REF TO if_ixml_node,
        lv_xstring          TYPE        xstring,
        lv_string           TYPE        string,
        ls_disp_req         TYPE        zexc_reque,
        ls_disp_resp        TYPE        zexc_respo.
TRY.
    CREATE OBJECT lr_login
      EXPORTING
        logical_port_name = 'ZLOGIN_PORT'.
  CATCH cx_ai_system_fault INTO lr_system_fault.
ENDTRY.
ls_request-username = 'zzz.abc.com'.
ls_request-password = 'abcde123'.
TRY.
    CALL METHOD lr_login->login
      EXPORTING
        input  = ls_request
      IMPORTING
        output = ls_response.
  CATCH cx_ai_system_fault INTO lr_system_fault.
    WRITE:/ 'System Fault'(sye). WRITE:/ lr_system_fault->errortext. EXIT.
  CATCH zsfcx_login_fault .
    WRITE:/ 'Login Fault'. EXIT.
  CATCH zsfcx_unexpected_error_fault .
    WRITE:/ 'Unexpected Error'. EXIT.
  CATCH zsfcx_invalid_id_fault .
    WRITE:/ 'Invalid Fault'. EXIT.
  CATCH cx_ai_application_fault .
    WRITE:/
  'Application fault'(apf).
    EXIT.
ENDTRY.
IF ls_response-result-session_id IS NOT INITIAL.
  TRY.
* create instance
      CREATE OBJECT lr_action
        EXPORTING
          logical_port_name = 'ZEXC_PORT'.
* get ws_header protocol
      ls_header ?= lr_action->get_protocol('IF_WSPROTOCOL_WS_HEADER').
      CONCATENATE
'<Soap:Header>'
'<ns2:session xmlns:ns2="https://salesforce.com/services/Soap/c/00Dc0000003ue9S">'
'<SessionID>'ls_response-result-session_id'</SessionID>'
'</ns2:session>'
'</Soap:Header>'
       INTO lv_string.
* convert to xstring
      lv_xstring = cl_proxy_service=>cstring2xstring( lv_string ).
      IF NOT lv_xstring IS INITIAL.
* create ixml dom document from xml xstring
        CALL FUNCTION 'SDIXML_XML_TO_DOM'
          EXPORTING
            xml           = lv_xstring
          IMPORTING
            document      = lr_xml_document
          EXCEPTIONS
            invalid_input = 1
            OTHERS        = 2.
        IF sy-subrc = 0 AND NOT lr_xml_document IS INITIAL.
          lr_xml_root = lr_xml_document->get_root_element( ).
          lr_xml_element ?= lr_xml_root->get_first_child( ).
* add header element by element to soap header
          WHILE NOT lr_xml_element IS INITIAL.
            lv_name = lr_xml_element->get_name( ).
            lv_namespace = lr_xml_element->get_namespace_uri( ).
            ls_header->set_request_header( name = lv_name namespace = lv_namespace dom = lr_xml_element ).
            lr_xml_element ?= lr_xml_element->get_next( ).
          ENDWHILE.
        ENDIF.
      ENDIF.
* call outbound
      ls_disp_req-data-account_phone        = '123-456-7890'.
      ls_disp_req-data-billing_city         = 'HOUSTON'.
      ls_disp_req-data-billing_postal_code  = '77070'.
      ls_disp_req-data-billing_state        = 'TX'.
      ls_disp_req-data-billing_street       = 'Willow Chase'.
      ls_disp_req-data-check                = '34567'.
      ls_disp_req-data-reason_code          = 'Test'.
      ls_disp_req-data-salutation           = 'Mr.'.
      ls_disp_req-data-subject              = 'Amount not received'.
      TRY.
          CALL METHOD lr_action->insert_apdispute_case
            EXPORTING
              input  = ls_disp_req
            IMPORTING
              output = ls_disp_resp.
        CATCH cx_ai_system_fault INTO lr_system_fault.
          WRITE:/ 'System Fault'(sye). WRITE:/ lr_system_fault->errortext. EXIT.
        CATCH cx_ai_application_fault .
          WRITE:/
        'Application fault'(apf).
          EXIT.
      ENDTRY.
    CATCH cx_ai_system_fault INTO lr_system_fault.
      WRITE:/ 'System Fault'(sye). WRITE:/ lr_system_fault->errortext. EXIT.
    CATCH cx_ai_application_fault .
      WRITE:/
    'Application fault'(apf).
      EXIT.
  ENDTRY.
ENDIF.
Regards,
Aravind

Hi All, The issue was with the data that is being passed to lv_string using concatenation. These are case sensitive. Replaced SessionID in concatenate statement with sessionId and my issue is resolved.

Similar Messages

  • Error: unable to connect to database using user system. please check privil

    Hi All,
    i have 2 oracle databases in my system (ORCL,RR). i am able to connect both databases i sql prompt. but in ggsci prompt not able to connect rr database due to below error
    dblogin userid system, password tiger.
    Error: unable to connect to database using user system. please check privil
    Can you please help me to connect RR database also in GGSCI promt.
    Thanks
    Raja

    Did you try with RR database tns name or sid while connecting ?
    If No then try this ,
    GGSCI (ATP) 6> DBLOGIN USERID SYSTEM@<tns alias name>
    Password:
    Successfully logged into database.
    HTP
    Annamalai.

  • Error: Unable to connect to database using connection_pool

    Hi experts
    I have created repository and reports on my windows machine using ODBC , Now i have tranfered this to on unix with OCI, But when i am connecting to my dtabase it is showng the error:
    Error: Unable to connect to database using connection_pool
    Please suggest how to resolve this..

    Have you install the Oracle client in your Unix server?

  • I am unable to connect to websites using Firefox. I can connect to websites with Internet Explorer. Please advsie.

    I am unable to connect to websites using Firefox. I can connect to websites with Internet Explorer.
    Please advise.
    Thank you.

    see http://kb.mozillazine.org/Firewalls

  • Unable to connect to DB using the SID

    HI Forum,
    I am unable to connect to DB using the SID i assigned using TOAD, but i am able to connect using the instance name.
    My setup needs that i should use a common name to connect to the DB immaterial of which instance is up.
    Can any one instruct me how to achieve this kind of setup.
    Regards
    Prakash

    Hi Prakash,
    1). Create a file called TestingLoop.java containing following code:
    import java.sql.*;
    public class TestingLoop {
    public static void main(String[] s)throws Exception {
    Class.forName("oracle.jdbc.driver.OracleDriver");
    /* String url="jdbc:oracle:thin:@(DESCRIPTION= (LOAD_BALANCE=on)
    (ADDRESS=(PROTOCOL=TCP)(HOST=a) (PORT=1521))
    (ADDRESS=(PROTOCOL=TCP)(HOST=b)(PORT=1521))
    (ADDRESS=(PROTOCOL=TCP)(HOST=c) (PORT=1521))
    (CONNECT_DATA=(SERVICE_NAME=orcl)))"; */
    String url ="jdbc:oracle:thin:@abc.us.oracle.com:23001:xyz";
    for (int i=0; i<20; i++) {
    try {
    long x= System.currentTimeMillis () ;
    Connection conn = DriverManager.getConnection(url,"scott","tiger");
    long y= System.currentTimeMillis ();
    System.out.println("Connection Succesful "+conn);
    System.out.println("Connection time is "+(y-x)/1000+" ms");
    Statement stmt =conn.createStatement();
    ResultSet res= stmt.executeQuery(" select host_name from v$instance");
    while(res.next()) {
    System.out.println(res.getString(1));
    stmt.close();
    conn.close();
    catch(Exception e) {
    e.printStackTrace();
    2). Compile the file using this command:
    javac TestingLoop.java
    3). Run the java program:
    java TestingLoop
    Single Virtual Ip doesn't make sense... does?
    You will lose failover vip capabilities...
    Regards,
    Rodrigo Mufalani

  • Error connecting to Salesforce using a Web Service Adapter

    Hi,
    I'm working on a connection from Data Services 4.2 to Salesforce using a Web Service Adapter.
    I've setup up the adapter (including JVM parameters to use a HTTP proxy), created a Datastore based on the adapter and built a batch job that calls the login operation and initiates a sessions towards Salesforce.
    When I execute the batch job I get an error message that says:
    Error calling function <login>: <Web Services client unable to create a SOAP request to send to server. Error: The current node has been removed using a method other than Iterator#remove()>.
    The trace log for the Web Service Adapter contains the same error message and has some additional info.
    4/16/15 1:17:25 PM Thread[Thread-10,5,main] Handle request starting for operation: login
    4/16/15 1:17:26 PM Thread[Thread-10,5,main] Entering addDocumentMessage()...
    4/16/15 1:17:26 PM Thread[Thread-10,5,main] Entering addHeadersToEnvelope()...
    4/16/15 1:17:26 PM Thread[Thread-10,5,main] Web Services client unable to create a SOAP request to send to server. Error: The current node has been removed using a method other than Iterator#remove()
    4/16/15 1:17:26 PM Thread[Thread-10,5,main] Remove message listener for message type [adapter.WSAdapter.__STREAM_FUNCTION.1].
    4/16/15 1:17:26 PM Thread[Thread-10,5,main] Stopping web service function call operation
    4/16/15 1:17:26 PM Thread[Thread-10,5,main] Receive message: BrokerMessage(
    _e.ErrorsTo=com.acta.adapter..client.dataAndMetadata_8
    _e.Timestamp=Thu Apr 16 13:17:26 2015
    _e.SourceTimeoutLength=90000
    _e.MessageID=16
    _e.Destination=com.acta.adapter.webservice.adapter.WebServiceAdapter.data_2
    _e.MessageType=MSG_ADAPTER_END_OPER
    _e.ReplyTo=com.acta.adapter..client.dataAndMetadata_8
    _e.CorrelationID=15_com.acta.adapter..client.dataAndMetadata_8
    _a.MSGFIELD_ADAPTER_SESSION_ID=2
    _e.Source=com.acta.adapter..client.dataAndMetadata_8
    _a.MSGFIELD_ADAPTER_OPER_ID=1)
    I've searched for any additional tracing/logging on the server but I haven't found anything relevant. Can anyone help me determining what the cause of this error is so I can solve this?
    Thanks,
    - Ian

    Hi,
    I'm working on a connection from Data Services 4.2 to Salesforce using a Web Service Adapter.
    I've setup up the adapter (including JVM parameters to use a HTTP proxy), created a Datastore based on the adapter and built a batch job that calls the login operation and initiates a sessions towards Salesforce.
    When I execute the batch job I get an error message that says:
    Error calling function <login>: <Web Services client unable to create a SOAP request to send to server. Error: The current node has been removed using a method other than Iterator#remove()>.
    The trace log for the Web Service Adapter contains the same error message and has some additional info.
    4/16/15 1:17:25 PM Thread[Thread-10,5,main] Handle request starting for operation: login
    4/16/15 1:17:26 PM Thread[Thread-10,5,main] Entering addDocumentMessage()...
    4/16/15 1:17:26 PM Thread[Thread-10,5,main] Entering addHeadersToEnvelope()...
    4/16/15 1:17:26 PM Thread[Thread-10,5,main] Web Services client unable to create a SOAP request to send to server. Error: The current node has been removed using a method other than Iterator#remove()
    4/16/15 1:17:26 PM Thread[Thread-10,5,main] Remove message listener for message type [adapter.WSAdapter.__STREAM_FUNCTION.1].
    4/16/15 1:17:26 PM Thread[Thread-10,5,main] Stopping web service function call operation
    4/16/15 1:17:26 PM Thread[Thread-10,5,main] Receive message: BrokerMessage(
    _e.ErrorsTo=com.acta.adapter..client.dataAndMetadata_8
    _e.Timestamp=Thu Apr 16 13:17:26 2015
    _e.SourceTimeoutLength=90000
    _e.MessageID=16
    _e.Destination=com.acta.adapter.webservice.adapter.WebServiceAdapter.data_2
    _e.MessageType=MSG_ADAPTER_END_OPER
    _e.ReplyTo=com.acta.adapter..client.dataAndMetadata_8
    _e.CorrelationID=15_com.acta.adapter..client.dataAndMetadata_8
    _a.MSGFIELD_ADAPTER_SESSION_ID=2
    _e.Source=com.acta.adapter..client.dataAndMetadata_8
    _a.MSGFIELD_ADAPTER_OPER_ID=1)
    I've searched for any additional tracing/logging on the server but I haven't found anything relevant. Can anyone help me determining what the cause of this error is so I can solve this?
    Thanks,
    - Ian

  • Unable to connect to Oracle using OCI Drivers on Linux

    Hi Everyone!
    I am facing a peculiar issue while using Instant Client on Linux ( 64Bit ) running on Red Hat 4.1.
    I have downloaded the instant client version 10.2.0.3(.zip) .so files from the below URL
    http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxx86_64soft.html
    UPloaded all the files to a directory under /opt and changed the .bash_profile file, the latest content looks like
    ORACLE_HOME=/opt/instantclient_10_2
    export ORACLE_HOME
    PATH=$PATH:$ORACLE_HOME
    export PATH
    TNS_ADMIN=/opt/instantclient_10_2
    export TNS_ADMIN
    LD_LIBRARY_PATH=/opt/instantclient_10_2
    export LD_LIBRARY_PATH
    PATH=$PATH:$LD_LIBRARY_PATH
    export PATH
    CLASSPATH=/opt/instantclient_10_2:/opt/instantclient_10_2/ojdbc.jar
    export CLASSPATH
    Java.library.path=/opt/instantclient_10_2
    export Java.library.path
    As i have downloaded the Sqlplus utility as well, i am able to connect to the Oracle FARM via sqlplus.
    On the other hand, i am unable to connect to the same database via the application. It constantly gives me the following exception,
    java.lang.UnsatisfiedLinkError: no ocijdbc10 in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
    at java.lang.Runtime.loadLibrary0(Runtime.java:823)
    at java.lang.System.loadLibrary(System.java:1030)
    at oracle.jdbc.driver.T2CConnection$1.run(T2CConnection.java:3138)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.jdbc.driver.T2CConnection.loadNativeLibrary(T2CConnection.java:3134)
    at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:220)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:438)
    at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:131)
    at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:77)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:752)
    at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:296)
    at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:220)
    at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:164)
    at com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(DSManagedConnectionFactory.java:105)
    at com.sun.enterprise.resource.LocalTxConnectorAllocator.createResource(LocalTxConnectorAllocator.java:68)
    at com.sun.enterprise.resource.AbstractResourcePool.createSingleResource(AbstractResourcePool.java:891)
    at com.sun.enterprise.resource.AbstractResourcePool.createResourceAndAddToPool(AbstractResourcePool.java:1752)
    at com.sun.enterprise.resource.AbstractResourcePool.createResources(AbstractResourcePool.java:917)
    at com.sun.enterprise.resource.AbstractResourcePool.initPool(AbstractResourcePool.java:225)
    at com.sun.enterprise.resource.AbstractResourcePool.internalGetResource(AbstractResourcePool.java:516)
    at com.sun.enterprise.resource.AbstractResourcePool.getResource(AbstractResourcePool.java:443)
    at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:248)
    at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:176)
    at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:327)
    at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:235)
    at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:165)
    at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:158)
    at com.sun.gjc.spi.base.DataSource.getConnection(DataSource.java:108)
    at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:113)
    at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:79)
    at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:922)
    at org.springframework.jdbc.core.JdbcTemplate.call(JdbcTemplate.java:984)
    at org.springframework.jdbc.object.StoredProcedure.execute(StoredProcedure.java:117)
    at com.gecf.uk.pca.dcs.util.SystemParametersDAO$SysParamsStoredProcedure.execute(SystemParametersDAO.java:150)
    at com.gecf.uk.pca.dcs.util.SystemParametersDAO.getSystemParametersList(SystemParametersDAO.java:67)
    at com.gecf.uk.pca.dcs.util.SystemParametersDAO.getSystemParametersMap(SystemParametersDAO.java:94)
    at com.gecf.uk.pca.dcs.util.SystemParameters.loadParameters(SystemParameters.java:44)
    at com.gecf.uk.pca.dcs.util.SystemParameters.<init>(SystemParameters.java:33)
    at com.gecf.uk.pca.dcs.util.SystemParameters.getInstance(SystemParameters.java:72)
    at org.apache.jsp.common.secure.mypayment_jsp._jspService(mypayment_jsp.java from :86)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:364)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
    at com.gecf.uk.pca.dcs.web.util.SessionFilter.doFilter(SessionFilter.java:97)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
    at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    |#]
    I have used the classes12.jar and ojdbc.jar which came with the download and nothing seems to work. A bit surprising when sqlplus works and not the application. I suspect there could be an issue with the driver class. I have been struggling to figure this out for days now...
    Can anyone please share their thoughts if something similar was observed earlier please.
    Any quick help will highly be appreciated.

    ORACLE_HOME=/opt/instantclient_10_2
    export ORACLE_HOMEYou don't set ORACLE_HOME with Instant Client.
    PATH=$PATH:$LD_LIBRARY_PATH
    export PATHThis is unnecessary.
    CLASSPATH=/opt/instantclient_10_2:/opt/instantclient_10_2/ojdbc.jar
    export CLASSPATHThis is wrong.
    It should be:
    CLASSPATH=/opt/instantclient_10_2/ojdbc14.jar:<whatever else you need there>
    Java.library.path=/opt/instantclient_10_2
    export Java.library.pathThis is useless; java.library.path is not an environment variable.
    java.lang.UnsatisfiedLinkError: no ocijdbc10 in java.library.pathThe case is pretty clear. You want to use the OCI driver (your URL starts with "jdbc:oracle:oci:"), so the Java Virtual Machine is looking for libocijdbc10.so in the Java library path but cannot find it.
    What is also clear is that the program does not use the CLASSPATH environment variable you set, because then it would never have found the Oracle Driver.
    So it seems that your program is ignoring the environment you set (which would explain why it also ignores LD_LIBRARY_PATH which you set correctly).
    You must have the environment variables set and exported in the shell that starts the "java" executable.
    Also, check that there is no other ojdbc14.jar on this machine (use "find").
    To help you debug your problem, let me explain how Sun Java sets Java library path on Linux:
    - If you start java with "java -Djava.library.path=/some/dir:/other/dir ...", the Java library path is set to exactly that value.
    - If you do not specify -Djava.library.path, the Java library path is taken from the environment variable LD_LIBRARY_PATH.
    - Directories listed in /etc/ld.so.conf have no influence on the Java library path (which gave me quite a headache in the beginning).
    Do you really need the OCI Driver? If you can do with the Thin Driver (i.e., use an URL that starts with "jdbc:oracle:thin:") you don't need any shared libraries at all.
    Yours,
    Laurenz Albe

  • Unable to connect to OVD using the odsm

    Hi All,
    I was unable to connect to the OVD 11.1.1.3.0 installed using the ODSM, while i was able to connect to the OID happily.
    I tried to connect to the OVD using the adminssl port (8899), non-ssl port (6501), ssl port (7501). I have the user id as cn=orcladmin. i was redirected to some Certificate Trust Validation pop-window and then it was throwing the error to check the log.
    I cant figure out what might be the issue. please help me. i'm copying the content of the log file below.
    [2012-04-16T22:10:42.891+05:30] [wls_ods1] [WARNING] [] [org.apache.myfaces.trinidadinternal.context.RequestContextImpl] [tid: [ACTIVE].ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000JQw1lFf4io95nf5EiZ1FZ42L00005z,0] [APP: odsm#11.1.1.2.0] Could not find partial trigger viewerId from UIHierarchyViewer[UIXFacesBeanImpl, id=hv1] with the supported partialTriggers syntax. The partial trigger was found with the deprecated syntax. Please use the supported syntax.
    [2012-04-16T22:10:42.906+05:30] [wls_ods1] [WARNING] [] [org.apache.myfaces.trinidadinternal.context.RequestContextImpl] [tid: [ACTIVE].ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000JQw1lFf4io95nf5EiZ1FZ42L00005z,0] [APP: odsm#11.1.1.2.0] Could not find partial trigger cmdb1 from UIHierarchyViewer[UIXFacesBeanImpl, id=hv1] with the supported partialTriggers syntax. The partial trigger was found with the deprecated syntax. Please use the supported syntax.
    [2012-04-16T22:10:43.625+05:30] [wls_ods1] [ERROR] [] [oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator] [tid: [ACTIVE].ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000JQw1lFf4io95nf5EiZ1FZ42L00005z,0] [APP: odsm#11.1.1.2.0] Server Exception during PPR, #56[[
    javax.servlet.ServletException: com/octetstring/vde/admin/services/client/VDEAdminServiceSoapBindingStub
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
         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:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:421)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:421)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         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:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.NoClassDefFoundError: com/octetstring/vde/admin/services/client/VDEAdminServiceSoapBindingStub
         at com.octetstring.vde.admin.services.client.ServerMgrServiceLocator.getVDEAdminService(ServerMgrServiceLocator.java:58)
         at oracle.ldap.odsm.model.ovd.APServerProxy.connect(APServerProxy.java:248)
         at oracle.ldap.odsm.model.ovd.APServerProxy.authenticateAs(APServerProxy.java:684)
         at oracle.ldap.odsm.model.ovd.APServerProxy.authenticate(APServerProxy.java:286)
         at oracle.ldap.odsm.model.ovd.APServerProxy.init(APServerProxy.java:216)
         at oracle.ldap.odsm.model.ovd.APServerProxy.<init>(APServerProxy.java:198)
         at oracle.ldap.odsm.model.ovd.OVDRoot.connectOVD(OVDRoot.java:185)
         at oracle.ldap.odsm.ui.common.Connection.connect(Connection.java:120)
         at oracle.ldap.odsm.ui.common.Visit.createConnection(Visit.java:663)
         at oracle.ldap.odsm.ui.common.PopupItem._createConnection(PopupItem.java:1815)
         at oracle.ldap.odsm.ui.common.PopupItem.alwaysAction(PopupItem.java:1763)
         at sun.reflect.GeneratedMethodAccessor316.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1245)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:812)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:292)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         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:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         ... 9 more
    [2012-04-16T22:11:49.094+05:30] [wls_ods1] [NOTIFICATION] [DIP-10580] [oracle.dip] [tid: UpdateThread] [userId: <anonymous>] [ecid: 0000JQvv94D4io95nf5EiZ1FZ42L000036,0] [APP: DIP#11.1.1.2.0] [arg: (&(changenumber>=11222)(|(targetdn=*cn=Profiles,cn=Provisioning,cn=Directory Integration Platform,cn=Products,cn=OracleContext)(targetdn=*cn=event definitions,cn=directory integration platform,cn=products,cn=oraclecontext)(targetdn=*cn=object definitions,cn=directory integration platform,cn=products,cn=oraclecontext)))] changelog filter : (&(changenumber>=11222)(|(targetdn=*cn=Profiles,cn=Provisioning,cn=Directory Integration Platform,cn=Products,cn=OracleContext)(targetdn=*cn=event definitions,cn=directory integration platform,cn=products,cn=oraclecontext)(targetdn=*cn=object definitions,cn=directory integration platform,cn=products,cn=oraclecontext)))

    you need java connector

  • Unable to connect CMS repository using CMIS configuration for P6

    Hello All,
    After providing required configuration of CMIS, I am unable to connect to Documentum CMS repository using CMIS. Getting following error.
    Apr-14-2015 08:03:09 999
    [ACTIVE]       ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'
    ERROR
    com.primavera.infr.srvcs.cr.UniversalContentRepositoryImpl
    Unable to initialize repository
    com.primavera.ucr.UniversalContentRepositoryException: Unable to       retrieve repository dev_general
         at       com.primavera.ucr.cmis.CmisContentRepositoryImpl.init(Unknown Source)      
         at       com.primavera.infr.srvcs.cr.UniversalContentRepositoryImpl.init(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       org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414)      
         at       org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375)      
         at       org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)      
         at       org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)      
         at       org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)      
         at       org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)      
         at       org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)      
         at       org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)      
         at       org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)      
         at       org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)      
         at       org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)      
         at       org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)      
         at       org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)      
         at       org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)      
         at       com.primavera.bre.SubSystemInitializerImpl.init(Unknown Source)      
         at       com.primavera.infr.db.SQLConnectionPoolMgrImpl.c(Unknown Source)      
         at       com.primavera.infr.db.SQLConnectionPoolMgrImpl.getDataSource(Unknown       Source)
         at       com.primavera.bo.services.helper.AutoStarterService.init(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       org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414)      
         at       org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375)      
         at       org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)      
         at       org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)      
         at       org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)      
         at       org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)      
         at       org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)      
         at       org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)      
         at       org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)      
         at       org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)      
         at       org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)      
         at       org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)      
         at       org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)      
         at       org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)      
         at       com.primavera.bre.Initializer.start(Unknown Source)      
         at       com.primavera.bre.Application.start(Unknown Source)      
         at       com.primavera.pvweb.listeners.PVContextListener.contextInitialized(Unknown       Source)
         at       weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)      
         at       weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)      
         at       weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)      
         at       weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)      
         at       weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1870)      
         at       weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3155)      
         at       weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)      
         at       weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:487)      
         at       weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)      
         at       weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)      
         at       weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)      
         at       weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)      
         at       weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)      
         at       weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)      
         at       weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)      
         at       weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)      
         at       weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)      
         at       weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:672)      
         at       weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)      
         at       weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)      
         at       weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)      
         at       weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)      
         at       weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)      
         at       weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)      
         at       weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)      
         at       weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:52)      
         at       weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)      
         at       weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:31)      
         at       weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)      
         at       weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:170)      
         at       weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:124)      
         at       weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:181)      
         at       weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:97)      
         at       weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)      
         at       weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)      
         at       weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Apr-14-2015 08:03:55 172
    [ACTIVE]       ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'
    ERROR
    com.primavera.infr.srvcs.cr.UniversalContentRepositoryImpl
    Unable to login to content repository: null
    java.lang.NullPointerException
         at       com.primavera.ucr.cmis.CmisContentRepositoryImpl.login(Unknown Source)      
         at       com.primavera.infr.srvcs.cr.UniversalContentRepositoryImpl.login(Unknown       Source)
         at       com.primavera.bre.SubSystemFacadeImpl.login(Unknown Source)      
         at       com.primavera.bo.remotable.ContentManagement.login(Unknown Source)      
         at       com.primavera.bo.remotable.qproxy.ContentManagement.login(Unknown Source)      
         at       com.primavera.bo.DBContentManagement.login(Unknown Source)      
         at       com.primavera.bo.common.LoginHelper.login(Unknown Source)      
         at       com.primavera.bo.common.LoginHelper.login(Unknown Source)      
         at       com.primavera.bo.remotable.SessionLifetime.login(Unknown Source)      
         at       com.primavera.bo.remotable.qproxy.SessionLifetime.login(Unknown Source)      
         at       com.primavera.bo.DBSessionLifetime.login(Unknown Source)      
         at       com.primavera.pvweb.main.login.LoginDelegate.login(Unknown Source)      
         at       com.primavera.pvweb.main.login.LoginAction.login(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       org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270)      
         at       org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:187)      
         at       org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)      
         at       com.primavera.pvweb.FrontRequestProcessor.processActionPerform(Unknown       Source)
         at       org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)      
         at       org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)      
         at       org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)      
         at       com.primavera.pvweb.servlet.FrontController.doPost(Unknown Source)      
         at       javax.servlet.http.HttpServlet.service(HttpServlet.java:727)      
         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:301)      
         at       weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)      
         at       weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)      
         at       com.primavera.pvweb.GZIPFilter.doFilter(Unknown Source)      
         at       weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)      
         at       com.primavera.pvweb.XSSFilter.doFilter(Unknown Source)      
         at       weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)      
         at       com.primavera.pvweb.FrontFilter.doFilter(Unknown Source)      
         at       weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)      
         at       com.primavera.pvweb.filters.ApplicationContextInjector.doFilter(Unknown       Source)
         at       weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)      
         at       com.primavera.pvweb.DisableURLEncodingFilter.doFilter(Unknown Source)      
         at       weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)      
         at       weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)      
         at       weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)      
         at       weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)      
         at       weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)      
         at       weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)      
         at       weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)      
         at       weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)      
         at       weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)      
         at       weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)      
         at       weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)      
         at       weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    please provide a screenshot from P6 administrator with the settings you set to integrate with a content repository

  • Unable to connect to DB using OCI

    Hi,
    I am unable to connect using the oci driver to the database. The
    thin driver does not pose any problem
    I compile without a hitch, but when i run it, it gives the
    following dump:
    C:\jdk1.2.2\bin>java orcltest
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no
    ocijdbc8 in java.l
    ibrary.path
    at java.lang.ClassLoader.loadLibrary
    (ClassLoader.java:1249)
    at java.lang.Runtime.loadLibrary0(Runtime.java:470)
    at java.lang.System.loadLibrary(System.java:768)
    at oracle.jdbc.oci8.OCIDBAccess.logon
    (OCIDBAccess.java:202)
    at oracle.jdbc.driver.OracleConnection.<init>
    (OracleConnection.java:156)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance
    (OracleDriver.ja
    va:231)
    at oracle.jdbc.driver.OracleDriver.connect
    (OracleDriver.java:208)
    at java.sql.DriverManager.getConnection
    (DriverManager.java:457)
    at java.sql.DriverManager.getConnection
    (DriverManager.java:137)
    at orcltest.main(orcltest.java:21)
    C:\jdk1.2.2\bin>
    The code I have written is:
    try {
    Class.forName ("oracle.jdbc.driver.OracleDriver");
    } catch (ClassNotFoundException e) {
    System.out.println(e.getMessage());
    try {
    DriverManager.registerDriver( new
    oracle.jdbc.driver.OracleDriver() );
    } catch (SQLException e) {
    System.out.println(e.getMessage());
    Connection conn =
    DriverManager.getConnection("jdbc:oracle:oci8:@:karishma",
    "user", "passwd");
    Karishma is the TNS-service name defined in the tnsnames.ora.
    This is driving me nuts. I have set the path and classpath vars.
    The file oci804jdbc.dll is in [ORA_HOME]\bin, and PATH points to
    that directory.
    Any suggestions are most welcome and badly needed!
    Thanx
    NJ
    null

    I had the same problem before.
    And maybe this is the cure...
    Check that you use the jdbc-drivers(classes111.zip) fwr 8.0.4
    and not the ones for 8.1.5. I think they use different dll's. In
    an 8.1.5 installation there is a file named ocijdbc8.dll and I
    think that the one for 8.0.4. uses the one you mentioned...
    /Stefan Fgersten
    NJ (guest) wrote:
    : Hi,
    : I am unable to connect using the oci driver to the database.
    The
    : thin driver does not pose any problem
    : I compile without a hitch, but when i run it, it gives the
    : following dump:
    : C:\jdk1.2.2\bin>java orcltest
    : Exception in thread "main" java.lang.UnsatisfiedLinkError: no
    : ocijdbc8 in java.l
    : ibrary.path
    : at java.lang.ClassLoader.loadLibrary
    : (ClassLoader.java:1249)
    : at java.lang.Runtime.loadLibrary0(Runtime.java:470)
    : at java.lang.System.loadLibrary(System.java:768)
    : at oracle.jdbc.oci8.OCIDBAccess.logon
    : (OCIDBAccess.java:202)
    : at oracle.jdbc.driver.OracleConnection.<init>
    : (OracleConnection.java:156)
    : at
    oracle.jdbc.driver.OracleDriver.getConnectionInstance
    : (OracleDriver.ja
    : va:231)
    : at oracle.jdbc.driver.OracleDriver.connect
    : (OracleDriver.java:208)
    : at java.sql.DriverManager.getConnection
    : (DriverManager.java:457)
    : at java.sql.DriverManager.getConnection
    : (DriverManager.java:137)
    : at orcltest.main(orcltest.java:21)
    : C:\jdk1.2.2\bin>
    : The code I have written is:
    : try {
    : Class.forName ("oracle.jdbc.driver.OracleDriver");
    : } catch (ClassNotFoundException e) {
    : System.out.println(e.getMessage());
    : try {
    : DriverManager.registerDriver( new
    : oracle.jdbc.driver.OracleDriver() );
    : } catch (SQLException e) {
    : System.out.println(e.getMessage());
    : Connection conn =
    : DriverManager.getConnection("jdbc:oracle:oci8:@:karishma",
    : "user", "passwd");
    : Karishma is the TNS-service name defined in the tnsnames.ora.
    : This is driving me nuts. I have set the path and classpath
    vars.
    : The file oci804jdbc.dll is in [ORA_HOME]\bin, and PATH points
    to
    : that directory.
    : Any suggestions are most welcome and badly needed!
    : Thanx
    : NJ
    null

  • Unable to connect to mysql using JSP servlet

    Respected Sir/Madam
    I have made a jsp application and use tomcat 4 and mysql .Whenever there is a db connection the application tries to connect.but then it throws exception
    java.sql.SQLException: Unable to connect to any hosts due to exception: java.net.ConnectException: Connection timed out: connect
    This error started occuring all of a sudden and i am not getting its root cause...Can anybody help me out of this...?
    I am having intranet. And one thing that amazed me was when I send request for that JSP page from different machine then it connected to db without any error..Only when I request that JSP page from my machine it is giving me this error.
    Please help..
    Waiting for your reply.
    Thanks and Regards

    Microsoft Telnet> open Oracleserver
    Connecting To Oracleserver...Could not open a
    connection to host: Connect failedYou need to run the exact command i gave you from the command line. There may not be a telnet server running on OracleServer, you are trying to connect to port 23 with the command above.
    run 'telnet Oracleserver 3306'
    If this does not work, try the same thing with the IP address instead of 'Oracleserver', you may have a name resolution issue.
    I didnt understood this .I also tried running this
    command from other machines where my application is
    running fine. But there also the same error.
    I gave proper URL and user name and password for mysql
    String dsnString="jdbc:mysql://Oracleserver/test";FYI - this will use the default port, I usually explicitly provide it (OracleServer:3306). Why don't you try the URL in the format I gave you above, including the user id and password?
    -Scott

  • Unable to connect to oracle using type4 driver

    hi
         I was trying to connect to oracle Database using type 4 thin drivers on win98.
         I downloaded the driver from oracle site and also downloaded some more drivers
         from other sites.While connecting to data base I ran into problems I am working
         for about two days on this thing but couldn't succeed.
         I get the following message:
              Connection refused ...........
         The driver is succefully loaded but when it tries to connect using
         conn = DriverManager.getConnection("jdbc:oracle:thin:@server:1521:orcl","userid","password");
         it gives the above message.
         now I think that I am giving the host name incorrect I couldn't find
         any way in oracle to figure out the host name.
         I am giving
                   "jdbc:oracle:thin:@127.0.0.1:1521:orcl"
              I have also tried other options for host name like localhost etc.but it
         didn't resolve.I think that the listener for oracle is not listening at the port 1521.
         I tried telnet to check that but it failed to connect at this port.I tried to do this
         with mysql to connect at port 3306 using telnet it succeeded.
              Second thing is that I tried to create a service name in oracle using TCP/IP protocol
         giving the above mentioned host names at all the attempts it gave the error that it has performed
         an illegal operation .
              I think that there are some settings needed for oracle to listen at this port which
         I dont know or I am giving the host name wrong . I shall be extremely thankful if u help
         me to solve this problem.
                                       Regards
                                                 shAhzad      

    It has been a long time since I tried to run Oracle on Win98 (or Win95) for that matter, but I don't believe that there is a listener in the traditional sense since you would be using Personal Oracle. Your first step should be to make sure you can login to Oracle using the standard client and SQLPLUS. You could then use TNSPING to see if the listener is listening (you will need to setup TNSNAMES.ORA properly but you can use the Net8 Assistant or whatever). Next I would suggest you try using the OCI client instead of the thin client.
    If you can, it would be much better to install Oracle on an NT, Win2K, or Linux machine. Oracle on Win98 is not really the same thing.

  • Unable to connect to wifi using verizon jetpack?

    I am unable to connect my MacBook Pro to a verizon jetpack mifi 4620L?

    Try this -
    When you device is POWERED ON, remove the battery for a minute, and then reinsert the battery. This make a reboot to your device which minor issues with the BlackBerry device.
    tanzim                                                                                  
    If your query is resolved then please click on “Accept as Solution”
    Click on the LIKE on the bottom right if the post deserves credit

  • Unable to connect to Oracle using OS authentication (sqlplus / as sysdba)

    Hello,
    When I try to connect locally ,using OS authentication ( sqlplus / as sysdba ), on a Oracle database, I get "ORA-01031: insufficient privileges" error.
    OS: Windows XP
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod.
    connecting as sysdba using sys/pasword works.
    I have setup :
    -> Log on as a batch job
    -> Log on as a service
    I am also member of ORA_DBA group.
    I mention that connecting "/ as sysdba" worked many months after I've installed the Oracle database. But at some moment in time connecting "/ as sysdba" was no longer possible.
    C:\>sqlplus / as sysdba
    SQL*Plus: Release 10.1.0.3.0 - Production on Wed May 23 11:08:52 2007
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges.
    Thank you for any suggestion.

    Hi,
    I have the same issues from the beginning..
    I have two Oracle homes ( One for earlier installed SOA10g, and another for current installing SOA11g).
    I have the right sqlora.net file. I have removed the old path and reset to point the new oracle home. I have this home entry as the first entry in my Universal installer too.
    I AM ABLE TO CONNECT WITH sys USER AS SYSDBA on THE SAME SYSTEM ( I MEAN WHERE i INSTALLED THE DATABASE) USING THE command prompt.
    But I am not able to connect as the SYSDBA with sys ACCOUNT through the SQLDeveloper tool. or RCU tool? Any help please. Again I am able to connect as a normal user through the SQL developer using the SYSTEM account.
    -- Khaleel

  • Unable to connect to internet using time capsule

    Over the last couple of days I have run into a peculiar problem. I am able to connect to the internet when I connect the ethernet cable directly to my computer. Now when I use time capsule to connect wirelessly, the connection either does not get established or if it gets established fails after a few mins and I am unable to browse the internet. I have noticed this problem especially after Mac OSX 10.6.3 update. I did not have this issue earlier. I am not sure if this is the root cause but would surely like some help.

    This behavior may indicate that you are picking up wireless interference from cordless phones, another wireless network, security system or other electrical device. It's hard to pinpoint the exact cause.
    Suggest that you start by downloading iStumbler and using the application to display your signal strength and noise on your network. What values do you see for each of these?
    Also look at any other networks to see if they might be using the same channel or an adjacent channel as your wireless network. If so, change the channel on your wireless network so that it is as far away as possible from other networks.
    If you have cordless phones, turn them all off for at least an hour when you can to see if your network performance improves.
    Interference robustness often does more harm than good. Try turning it off. However, if you find that your network performs better with it on, that is an almost sure sign that wireless interference is occurring on your network.
    You won't be able to do anything about cordless phones at your neighbors (my neighbor...across the street...can knock me off my wireless network if he is in his front yard with his phone and it rings). Users far underestimate the effect that cordless phones have on their wireless networks.
    Post back with your findings when you have tried a few things.

Maybe you are looking for