Error while connecting for Java to SAP

Hi All,
I am encountering the following error while connecting from Java to SAP through JCO:
RFC_ERROR_LOGON_FAILURE: You are not authorized to logon to the target system
I have checked the connection string and everything appears to be fine.
Please let me know what the problem is.
Regards,
Rupesh.

Hi rupesh,
See this thread:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f3f93ee7-0c01-0010-2593-d7c28b5377c2
Regards, Suresh KB

Similar Messages

  • Error While connecting for ABAP Proxy

    Hi All,
    i am getting the connection error while creating the proxy connection from PI server to R3 System . I have checked the SLD configuration but did not find any wrong parameters there.
    I am getting the below error.
    "Error while reading ID of own business system from the SLD for system UDX and client 200", Also the software component of PI box is not getting reflected in SPROXY transaction of R3 system

    Hi,
    Do you see RFC created for /rep of desired PI system?This could be potential issue in your case:
    Please check this:
    In order to connect to an ESR, you have to maintain the RFC destination "SAP_PROXY_ESR". This RFC destination will then be used by proxy generation / Transaction SPROXY. It has to be set up using transaction SM59 and should look like this:
    RFC Destination: SAP_PROXY_ESR
    Connection Type: G  (HTTP Connection to External Serv)
    Description1: ESR for Proxy Generation
    Target Host: esr_host
    Service No: 1080
    Path Prefix: /rep
    Logon and Security:
    Basic Authentication: active
    User: esr_user
    Password: esr_password
    Regards,
    Ashutosh

  • Error while connecting microsoft Excel to sap business objects

    Hi,
    I am trying to connect sap business objects to Microsoft Excel using Power Query add in but i am getting  Proxy time out connection error  when adding
    Credentials, As per the SAP documents i am using SAP Restful Web service URL when connecting to Business objects
    Details are as follows:
    Opearting System-:Windows 7
    SAP BO Platform-:BO 4.0 SP 6 (OS-Windows server 2008 R2)
    Excel Version-:Microsoft Excel 2013
    ADD IN-:Power Query
    Please check attach  Error Screen-Shot for Detail information
    Regards,
    Rupesh

    Hi,
    please be aware that you need SAP BI 4.1 SP2 at least for using Power Query
    So maybe this error results in a non suported Environment.
    Regards
    -Seb.

  • Error while Connecting Crystal 2008 to SAP.

    Hi Experts,
    We have a trial version of crystal 2008 installed (The SAP integration Kit is also installed) and I am trying to connect to SAP and develop a report on the SAP Cubes. But when I try to make a Connection to SAP, I get the following error:
    Database Connector Error: 'The License key does not include use of the BW Query Driver. Please Contact Business objects for information on how to obtain such a license key.'
    Is this a licensing issue with SAP integration kit or Crystal?
    Please let me know what would be the probable problem and solution for it.
    Thanks for your help in advance!
    Phani.

    hi,
    for SAP Integration Kit license kay updation; follow the steps
    Go to windows start menu>Run>type regedit> HKEY_LOCAL_MACHINE>Softwares>Business Objects>Suite 12.0>SAP>keycode.

  • Installing Java Dialog Instance - Error while connecting to DB

    We would like to add a dialog instance to our production Portal server.  We installed Portal as stand-alone on the central instance.  We have another server we would like to setup to serve as a Portal dialog instance.
    So far I have installed Windows 2003 Server Standard.  Installed MSSQL server client tools (database is mssql server).  Installed jdk 1.4.62.  Set java home and path environmental variables.  I'm now installing the Java dialog instance (I can't find any documentation on this).  From Netweaver installation CD> SAP NetWeaver '04 Support Release 1> Java System> MS SQL Server> Dialog Instance Installation>
    SAP System ID: (sid) ES2
    Central Host: SAPEPS02
    Path to JAVA DVD supplied> JDK Directory confirmed> Domain paramaters confirmed> domain<sid> account passwords supplied> domain<service><sid> account password supplied> Instance number confirmed>
    Installation started> It gets to step 8 and fails stating "Error while connecting to DB".  I looked through all the log files and couldn't come up with anything (i'm very thorough).
    I tried adding the users to the database as dbowners (no luck).  I installed SQL server 2000 with SP4.  No where during this installation did I get prompted for database parameters?
    Is there something basic i'm missing?  Does this scenario not work?  Any help would be greatly appreciated.  Pointing me in the right direction of the correct documentation would also be appreciated.  Thank you in advance.
    Sincerely,
    Brad Dridi

    Hi Brad,
    I am facing the same problem. I hope by now you must have got the solution for this.
    Can you please let me know how did you overcome this situation?
    Thank you!!
    Regards,
    Abhijeet Bhagat

  • Error while Connecting report Best Practices v1.31 with SAP

    Hello experts,
    I'm facing an issue while trying to connect some of my reports from Best Practices for BI with SAP.
    It only happens when it's about info sets, the other ones that are with SAP tables go smoothly without a problem.
    The most interesting is I have already one of the reports connected to SAP info sets.
    I have already verified the document of steps of creation of additional database that comes with BP pack. They seem ok.
    Here goes what Crystal Reports throws to me after changing the data source to SAP:
    For report "GL Statement" one of the Financial Analysis one which uses InfoSet: /KYK/IS_FIGL_I3:
    - Failed to retrieve data from the database; - click ok then...
    - Database connector error: It wasn't indicated any variant for exercise (something like this after translating) - click ok then
    - Database connector error: RFC_INVALID_HANDLE
    For report "Cost Analysis: Planned vs. Actual Order Costs" one of the Financial Analysis one which uses InfoSet: ZBPBI131_INFO_ODVR and ZBPBI131_INFO_COAS; and also the Query CO_OM_OP_20_Q1:
    - Failed to retrieve data from the database; - click ok then...
    - Database connector error: check class for selections raised errors - click ok then
    - Database connector error: RFC_INVALID_HANDLE
    Obs.: Those "Z" infosets are already created in SAP environment.
    The one that works fine is one of the Purchasing Analysis reports:
    - Purchasing Group Analysis -> InfoSet: /KYK/IS_MCE1
    I'm kind of lost to solve this, because I'm not sure if it can be in the SAP JCO or some parameter that was done wrongly in SAP and I have already check possible solutions for both.
    Thanks in advance,
    Carlos Henrique Matos da Silva - SAP BusinessObjects BI - Brazil.

    I re-checked step 3.2.3 - Uploading Crystal User Roles (transaction PFCG) - of the manual where it talks about CRYSTAL_ENTITLEMENT and CRYSTAL_DESIGNER roles, I noticed in the Authorizations tab that the status was saying it hadn't been generated and I had a yellow sign, so then that was what I did (I generated) as it says in the manual.
    Both statuses are now saying "Authorization profile is generated" and the sign is now green on the tab.
    I had another issue in the User tab (it was yellow as Authorizations one before generating)....all I needed to do to change to green was comparing user (User Comparison button).
    After all that, I tried once more to refresh the Crystal report and I still have the error messages being thrown.
    There's one more issue in one of the tabs of PFCG transaction, it is on the Menu one where it is with a red sign, but there's nothing talking about it in the manual. I just have a folder called "Role menu" without anything in it.
    Can it be the reason why I'm facing errors when connecting the report to SAP infoSets? (remember one of my reports which is connected to an infoSet works good)
    Thanks in advance,
    Carlos Henrique Matos da Silva - SAP BusinessObjects BI - Brazil.

  • Getting the error while connection to SAP Server

    Hi,
        I am getting the below mentioned error while connection to SAP Sever using SAP.Net Connector.   What could be the possible reason?
    "<i>
    <b>Connect to SAP gateway failed
    Connect_PM  GWHOST=ia2-ms.boi.hp.com, GWSERV=sapgw01, ASHOST=ia2-ms.boi.hp.com, SYSNR=01
    LOCATION    CPIC (TCP/IP) on local host
    ERROR       partner not reached (host 15.78.80.31, service 3301)
    TIME        Fri Feb 02 11:10:35 2007
    RELEASE     640
    COMPONENT   NI (network interface)
    VERSION     37
    RC          -10
    MODULE      nixxi_r.cpp
    LINE        8716
    DETAIL      NiPConnect2
    SYSTEM CALL SiPeekPendConn
    ERRNO       10061
    ERRNO TEXT  WSAECONNREFUSED: Connection refused
    COUNTER</b>
    </i>"

    Hi
    The gateway monitor is used to analyze and administer the SAP Gateway from outside the SAP System.  The profile you assign to it must be the same as for the gateway. This process has different names:
    UNIX: gwmon
    Windows: gwmon.exe
    more on this.. please go thru  ..
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/bb/9f13c24b9b11d189750000e8322d00/frameset.htm
    hope this info helps!
    with regards,
    raj.
    <i>pls, award points</i>

  • Error while connecting to DB's - java.lang.NullPointerException

    I am getting this error while connecting to any db using SQL dev.
    1. I was able to connect to all before something happaned (unrealted install/uninstalls)
    2. I also have two errors in the "Logging Page- Log" window
    I have seen this errors in other threads, but dont think thay have a resolution to this.
    Let me know if any other info is required and I will append to this thread.
    -MAIN ERROR-
    java.lang.NullPointerException
         at oracle.dbtools.raptor.conntypes.RaptorClassLoader.findClassLoader(RaptorClassLoader.java:48)
         at oracle.dbtools.raptor.conntypes.RaptorConnectionWrapper.createConnectionImpl(RaptorConnectionWrapper.java:213)
         at oracle.dbtools.raptor.conntypes.RaptorConnectionWrapper.createConnection(RaptorConnectionWrapper.java:171)
         at oracle.dbtools.raptor.conntypes.RaptorConnectionWrapper.getJdbcConnection(RaptorConnectionWrapper.java:202)
         at oracle.dbtools.raptor.conntypes.RaptorConnectionWrapper.getPresentation(RaptorConnectionWrapper.java:68)
         at oracle.dbtools.raptor.utils.Connections$ConnectionInfo.createConnection(Connections.java:1004)
         at oracle.dbtools.raptor.utils.Connections$ConnectionInfo$ConnectRunnable.doWork(Connections.java:876)
         at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:553)
         at java.lang.Thread.run(Thread.java:619)
    -Two ERRORs in the log window-
    1 ------------------
    SEVERE     88     0     oracle.jdbc.driver.OracleDriver     Error while registering Oracle JDBC Diagnosability MBean.
    2---------------
    SEVERE     95     63     oracle.ideimpl.extension.AddinManagerImpl     Failed to create addin oracle.report.addin.ReportAddin
    Thanks
    -SJ

    Interestingly when I go to Preferences/Database I get this error:
    Internal Error when attempting to create this panel: - Do you think I should just reinstall the whole thing?
    java.lang.NullPointerException
         at oracle.dbtools.raptor.config.AdvancedInfo.onEntry(AdvancedInfo.java:40)
         at oracle.ide.panels.MDDPanel.enterTraversableImpl(MDDPanel.java:921)
         at oracle.ide.panels.MDDPanel.enterTraversable(MDDPanel.java:894)
         at oracle.ide.panels.MDDPanel.mav$enterTraversable(MDDPanel.java:104)
         at oracle.ide.panels.MDDPanel$Tsl.updateSelectedNavigable(MDDPanel.java:1343)
         at oracle.ide.panels.MDDPanel$Tsl.updateSelection(MDDPanel.java:1211)
         at oracle.ide.panels.MDDPanel$Tsl.actionPerformed(MDDPanel.java:1205)
         at javax.swing.Timer.fireActionPerformed(Timer.java:271)
         at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:177)
         at java.awt.Dialog$1.run(Dialog.java:1045)
         at java.awt.Dialog$3.run(Dialog.java:1097)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.awt.Dialog.show(Dialog.java:1095)
         at java.awt.Component.show(Component.java:1422)
         at java.awt.Component.setVisible(Component.java:1375)
         at java.awt.Window.setVisible(Window.java:806)
         at java.awt.Dialog.setVisible(Dialog.java:985)
         at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
         at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
         at oracle.ide.dialogs.WizardLauncher.runDialog(WizardLauncher.java:55)
         at oracle.ide.panels.TDialogLauncher.showDialog(TDialogLauncher.java:202)
         at oracle.ide.config.IdeSettings.showDialog(IdeSettings.java:795)
         at oracle.ide.config.IdeSettings.showDialog(IdeSettings.java:580)
         at oracle.ide.cmd.IdeSettingsCommand.doit(IdeSettingsCommand.java:47)
         at oracle.ide.controller.CommandProcessor.invoke(CommandProcessor.java:265)
         at oracle.ide.controller.IdeAction.performAction(IdeAction.java:571)
         at oracle.ide.controller.IdeAction$2.run(IdeAction.java:804)
         at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:823)
         at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:521)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1220)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1261)
         at java.awt.Component.processMouseEvent(Component.java:6041)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
         at java.awt.Component.processEvent(Component.java:5806)
         at java.awt.Container.processEvent(Container.java:2058)
         at java.awt.Component.dispatchEventImpl(Component.java:4413)
         at java.awt.Container.dispatchEventImpl(Container.java:2116)
         at java.awt.Component.dispatchEvent(Component.java:4243)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
         at java.awt.Container.dispatchEventImpl(Container.java:2102)
         at java.awt.Window.dispatchEventImpl(Window.java:2440)
         at java.awt.Component.dispatchEvent(Component.java:4243)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

  • JCONTROL - dies with Error while connecting to DB

    Hi....Experts
    DB : Oracle 10.2.0.4.0
    OS ; AIX 5.3
    NW : 7.0 SP22
    UT  : EP
    Yesterday the above server got rebooted by a power failure. after that
    The server's DB is coming up as ora<sid> user, listener is also up
    But as <sid>adm user - when i am starting . The jcotnrol dies and in thee work directory
    ....log_bootstrap_ID1168012.0.log fiel shows the below messages in the tail end,
    ================================================================
    ERROR-1 : OBSERVED
    ================================================================
    ==[ Caused by: ]==----
    com.sap.engine.frame.core.configuration.ConfigurationException: Error while connecting to DB.
         at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:365)
         at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:130)
         at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandler.<init>(PersistenceHandler.java:38)
         at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.<init>(ConfigurationCache.java:149)
         at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:236)
         at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>(ConfigurationManagerBootstrapImpl.java:49)
         at com.sap.engine.bootstrap.Synchronizer.<init>(Synchronizer.java:74)
         at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:473)
         at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:146)
         at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:971)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
         at java.lang.reflect.Method.invoke(Method.java:391)
         at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    Caused by: java.sql.SQLException: Io exception: There is no process to read data written to a pipe.
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:420)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
         at com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection(NativeConnectionFactory.java:215)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.createPooledConnection(OpenSQLDataSourceImpl.java:608)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.getPooledConnection(OpenSQLDataSourceImpl.java:285)
         at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:307)
         ... 15 more
    [Feb 10, 2012 4:46:28 PM ] [Bootstrap module]> Problem occurred while performing synchronization.
    ================================================================
    ERROR-2 : OBSERVED
    ================================================================
    also i see error in work directory ...sapcpe.log as below
    Host:d45adm> more sapcpe.log
    2012/02/10 19:01:45
    sapcpe version UC: @(#) $Id: //bas/700_REL/src/ccm/sapstart/sapxxcpe.c#20 $ SAP
    Command line:
      0: /usr/sap/D45/SYS/exe/run/sapcpe
      1: name=D45
    Trace level (profile): 1
    INFO:    Try to find file table sapcpeft (default:sapcpeft)
    INFO:    Try to find file table in the central directory /usr/sap/D45/SYS/exe/ctrun/sapcpeft
    INFO:    not found any file table.
    source: /usr/sap/D45/SYS/exe/ctrun
    target: /usr/sap/D45/SYS/exe/run
    ERROR: sapcpe: find <src> /usr/sap/D45/SYS/exe/ctrun failed, 2, No such file or directory, [sapxxcpe.c:1464]
    sapcpe.log: END
    ================================================================
    any thoughts & advises, clues ???
    Rgds
    PR

    ISSUE  - RESOLVED
    ####Summary######################################
    Key Word of this Issue :
    Exception in thread "main" java.sql.SQLException: Io exception: There is no process to read data written to a pipe.
    Reason
    Name resolution by conflict / failure by netsvc.conf even we have hostfile & ping works with host name for Every user.
    Solution
    Adjusted netsvc.conf file to use the hostfile.
    DETAILS OF RESOLUTION
    OSS Experts asked me to copy the results
    SAP Note No. 867176: FAQ: Oracle JDBC (JdbcCheckup) - Point 10
    01. I copied JdbcCheckup.sar to location /home/sidadm/867176-jdbchkup/
    02. Extracted the same in same foler with command : SAPCAR -xvf JdbcCheckup.sar
    03. Now folder contained 2 files ""JdbcCheckup.java""  and "" JdbcCheckup.sar""
    04. my JDBC driver file ojdbc14.jar is in location /oracle/client/10x_64/instantclient/
    05. To determine the JDBC driver version issued the below command as per note
    $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
    $Command : java -classpath /oracle/client/10x_64/instantclient/ojdbc14.jar:. JdbcCheckup
    $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
    Please enter information to test connection to the database
    user: SAPSR3DB
    password: PASSWORD
    database(a TNSNAME entry): SID
    Hostname: portalserver
    Port (1521): 1527
    Connecting to the database...Connecting...
    jdbc:oracle:thin:@portalserver:1527:SID, SAPSR3DB, PASSWORD
    Exception in thread "main" java.sql.SQLException: Io exception: There is no process to read data written to a pipe.
            at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
            at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
            at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)
            at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
            at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:441)
            at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
            at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
            at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
            at java.sql.DriverManager.getConnection(DriverManager.java:559)
            at java.sql.DriverManager.getConnection(DriverManager.java:189)
            at JdbcCheckup.main(JdbcCheckup.java:128)
    portalserver:sidadm>
    $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
    06. Immediately id did google with above Syntax of error.
    """java.sql.SQLException: Io exception: There is no process to read data
    written to a pipe"""
    https://forums.oracle.com/forums/thread.jspa?threadID=1320173
    which was referring about netsvc.conf
    With UNIX Team discussions, adjusted the host file as first name
    resolution source and DNS servers list followed in same(netsvc.conf)  file. which
    fixed the issue and "JdbcCheckup" passed.
    07. JdbcCheckup Command - Passed output.
    $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
    $Command :  java -classpath /oracle/client/10x_64/instantclient/ojdbc14.jar:. JdbcCheckup
    $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
    Command :  java -classpath /oracle/client/10x_64/instantclient/ojdbc14.jar:. JdbcCheckup
    Please enter information to test connection to the database
    user: SAPSR3DB
    password: PASSWORD
    database(a TNSNAME entry): SID
    Hostname: portalserver
    Port (1521): 1527
    Connecting to the database...Connecting...
    jdbc:oracle:thin:@portalserver:1527:SID, SAPSR3DB, PASSWORD
    connected.
    =============
    Database Product Name is ... Oracle
    Database Product Version is  Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, Data Mining and Real Application Testing options
    =============
    JDBC Driver Name is ........ Oracle JDBC driver
    JDBC Driver Version is ..... 10.2.0.4.0
    =============
    Hello World
    Your JDBC installation is correct.
    portalserver:sidadm>
    $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
    BIG THANK TO EVERYONE !!!!!!!!!!!!!!!!
    REGARDS
    PR

  • Dialog Instance Installation - Error while connecting to DB

    Hi All,
    We have installed a WAS 640 SP15 and successfully running a Portal EP6.0 (SP15) on the same. Now, we wish to install a dialog instance on the same for load balancing the Portal on the same Hardware/Server.
    During the DI installation in the phase "Configuring J2EE Engine", the installation fails with the error "Error while connecting to DB".
    I tried to restart the installation by replacing the JDBC and OS_LIB of the new instance with the JDBC and OS_LIB of the already running CI instance but it didnt help either.
    Any pointers in this direction will be appreciated.
    Thank you!!
    Regards,
    Abhijeet

    We have the same issue.  We have a NW04 SP19 J2EE standalone WAS and are using the SP19 SAPINST to add a second dialog instance on the same host as the central instance.
    We restarted the Oracle listener  ... to no avail
    The error in the Oracle batchconfig log is given below.
    Thanks for any insight that you can provide.
    Cheers .... Bart
    com.sap.engine.frame.core.configuration.ConfigurationException: Error while connecting to DB.
         at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection
    (DBConnectionPool.java:360)
         at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:125)
         at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandler.<init>
    (PersistenceHandler.java:38)

  • Error: while generating SQL.java.rmi.ServerException:

    Hi:
    I tried the JGuru's "MusicStore" example. HOwever at Task 6 and 7 I am getting the following error:
    Error: while generating SQL.java.rmi.ServerException:
    RemoteException occured in server thread; nested exception is:
    * java.rmi.RemoteException: Error connecting to database;
    nested exception is:
    * SQL Exception: Failed to start database 'MusicStoreDB', see
    the next exception for details.
    Please make sure the database name/user/password is valid
    and the J2ee server and database are running.
    However when i check my database it is running perfectly:
    E:\>%j2ee_home%\bin\cloudscape -start
    Sun Feb 16 12:48:11 PST 2003: [RmiJdbc] Starting Cloudscape RmiJdbc Server Version
    Sun Feb 16 12:48:14 PST 2003: [RmiJdbc] COM.cloudscape.core.JDBCDriver registered i
    Sun Feb 16 12:48:14 PST 2003: [RmiJdbc] Binding RmiJdbcServer...
    Sun Feb 16 12:48:14 PST 2003: [RmiJdbc] No installation of RMI Security Manager...
    Sun Feb 16 12:48:14 PST 2003: [RmiJdbc] RmiJdbcServer bound in rmi registry
    Server:
    J2EE server listen port: 1050
    Naming service started:1050
    Binding DataSource, name = jdbc/DB2, url = jdbc:cloudscape:rmi:CloudscapeDB;crea
    te=true
    Binding DataSource, name = jdbc/Cloudscape, url = jdbc:cloudscape:rmi:Cloudscape
    DB;create=true
    Binding DataSource, name = jdbc/InventoryDB, url = jdbc:cloudscape:rmi:Cloudscap
    eDB;create=true
    Binding DataSource, name = jdbc/DB1, url = jdbc:cloudscape:rmi:CloudscapeDB;crea
    te=true
    Binding DataSource, name = jdbc/MusicStore, url = jdbc:cloudscape:rmi:MusicStore
    DB;create=false
    Binding DataSource, name = jdbc/XACloudscape, url = jdbc/XACloudscape__xa
    Binding DataSource, name = jdbc/XACloudscape__xa, dataSource = COM.cloudscape.co
    re.RemoteXaDataSource@1d88db7
    Starting JMS service...
    Initialization complete - waiting for client requests
    Binding: < JMS Destination : jms/Topic , javax.jms.Topic >
    Binding: < JMS Destination : jms/Queue , javax.jms.Queue >
    Binding: < JMS Cnx Factory : TopicConnectionFactory , Topic , No properties >
    Binding: < JMS Cnx Factory : QueueConnectionFactory , Queue , No properties >
    Binding: < JMS Cnx Factory : jms/QueueConnectionFactory , Queue , No properties
    >
    Binding: < JMS Cnx Factory : jms/TopicConnectionFactory , Topic , No properties
    >
    Starting web service at port: 8000
    Starting secure web service at port: 7000
    J2EE SDK/1.3.1
    Starting web service at port: 9191
    J2EE SDK/1.3.1
    J2EE server startup complete.
    Can anyone suggest me a way out..plz

    what type of persistent u r using also post ur query if bmp and check with another example with cmp.

  • Deserialization Error while connecting to web service

    I am getting a deserialization error while connecting to a web service.
    Deserializing parameter 'ScheduleReceiveService': could not find deserializer for type {http://www.w3.org/2001/XMLSchema}anyType...
    There are two methods ex
    UserDefinedClass1 methodA(java.lang.Object ) and
    UserDefinedClass2 methodB(UserDefinedClass3)
    And when i generate java files using WSDL2Java using apache axis the UserDefinedClass is generated as follows.
    public class UserDefinedClassA implements java.io.Serializable {
    private java.lang.Object _return;
    // There are other methods for setting the attributes,hashCode,equals etc
    Now when i try to invoke the method from the client i get this as an error ?
    Deserializing parameter 'UserDefinedClass': could not find deserializer for type {http://www.w3.org/2001/XMLSchema}anyType
    Appreciate any suggestion.

    Hi Manohara,
    To download the file from SharePoint, I recommend to use the credential for a user who can access the file in SharePoint in the client object model.
    NetworkCredential credentials = new NetworkCredential(“username”, “pwd”, “domain”);
    ClientContext context = new ClientContext(“http://thesitecollection”);
    context.Credentials = credentials;
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Runtime error while connecting to Coherence server

    Hi,
    I am facing runtime exception while connection from java client to coherence server. I am trying to get named cache object, please find below cliend and server logs, any
    help would be helpful :
    Client logs :
    2012-07-25 11:25:49.735/19.240 Oracle Coherence GE 3.7.1.0 <D5> (thread=Invocation:Management, member=4): Service Management joined the cluster with senior service member 1
    2012-07-25 11:25:51.033/20.538 Oracle Coherence GE 3.7.1.0 <D5> (thread=DistributedCache, member=4): Service DistributedCache joined the cluster with senior service member 1
    2012-07-25 11:25:51.033/20.538 Oracle Coherence GE 3.7.1.0 <Error> (thread=DistributedCache, member=4): An exception (java.lang.RuntimeException) occurred reading Message MemberWelcome Type=-2 for Service=PartitionedCache{Name=DistributedCache, State=(SERVICE_STARTED), Not initialized}
    2012-07-25 11:25:51.033/20.538 Oracle Coherence GE 3.7.1.0 <Error> (thread=DistributedCache, member=4): Terminating PartitionedCache due to unhandled exception: java.lang.RuntimeException
    2012-07-25 11:25:51.033/20.538 Oracle Coherence GE 3.7.1.0 <Error> (thread=DistributedCache, member=4):
    java.lang.RuntimeException: Service DistributedCache was unable to instantiate MessageType=1882023278
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.instantiateMessage(Grid.CDB:14)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$MemberWelcome.read(PartitionedCache.CDB:20)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.deserializeMessage(Grid.CDB:19)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:31)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.PartitionedService.onNotify(PartitionedService.CDB:3)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onNotify(PartitionedCache.CDB:3)
         at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
         at java.lang.Thread.run(Thread.java:662)
    2012-07-25 11:25:51.050/20.555 Oracle Coherence GE 3.7.1.0 <D5> (thread=DistributedCache, member=4): Service DistributedCache left the cluster
    2012-07-25 11:25:51.066/20.571 Oracle Coherence GE 3.7.1.0 <Error> (thread=main, member=4): Error while starting service "DistributedCache": (Wrapped: Failed to start Service "DistributedCache" (ServiceState=SERVICE_STOPPED)) java.lang.RuntimeException: Service DistributedCache was unable to instantiate MessageType=1882023278
         at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.start(Service.CDB:38)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.start(Grid.CDB:6)
         at com.tangosol.coherence.component.util.SafeService.startService(SafeService.CDB:39)
         at com.tangosol.coherence.component.util.safeService.SafeCacheService.startService(SafeCacheService.CDB:5)
         at com.tangosol.coherence.component.util.SafeService.ensureRunningService(SafeService.CDB:27)
         at com.tangosol.coherence.component.util.SafeService.start(SafeService.CDB:14)
         at com.tangosol.net.DefaultConfigurableCacheFactory.ensureServiceInternal(DefaultConfigurableCacheFactory.java:1105)
         at com.tangosol.net.DefaultConfigurableCacheFactory.ensureService(DefaultConfigurableCacheFactory.java:937)
         at com.tangosol.net.DefaultConfigurableCacheFactory.ensureCache(DefaultConfigurableCacheFactory.java:919)
         at com.tangosol.net.DefaultConfigurableCacheFactory.configureCache(DefaultConfigurableCacheFactory.java:1296)
         at com.tangosol.net.DefaultConfigurableCacheFactory.ensureCache(DefaultConfigurableCacheFactory.java:297)
         at com.tangosol.net.CacheFactory.getCache(CacheFactory.java:204)
         at com.tangosol.net.CacheFactory.getCache(CacheFactory.java:181)
         at com.limited.esb.test.LoadStore.main(LoadStore.java:10)
    Caused by: java.lang.RuntimeException: Service DistributedCache was unable to instantiate MessageType=1882023278
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.instantiateMessage(Grid.CDB:14)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$MemberWelcome.read(PartitionedCache.CDB:20)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.deserializeMessage(Grid.CDB:19)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:31)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.PartitionedService.onNotify(PartitionedService.CDB:3)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onNotify(PartitionedCache.CDB:3)
         at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
         at java.lang.Thread.run(Thread.java:662)
    Server logs :
    2012-07-25 11:25:49.345/8475.657 Oracle Coherence GE 3.7.1.0 <D5> (thread=Cluste
    r, member=1): Member(Id=4, Timestamp=2012-07-25 11:25:49.173, Address=10.136.33.
    168:8090, MachineId=52816, Location=site:,machine:KETTIBCOD04,process:3876, Role
    =LimitedEsbTestLoadStore) joined Cluster with senior member 1
    2012-07-25 11:25:49.751/8476.063 Oracle Coherence GE 3.7.1.0 <D5> (thread=Cluste
    r, member=1): Member 4 joined Service Management with senior member 1
    2012-07-25 11:25:51.050/8477.362 Oracle Coherence GE 3.7.1.0 <D5> (thread=Cluste
    r, member=1): Member 4 left service DistributedCache with senior member 1
    Thanks..

    Can you paste your clients cache configs and override xml

  • Error while connecting to DB, when checking installation type of NW04S-Inst

    Hi,
    i installed a new netweaver 04s - system on sles10sp2 as distributed system.
    SCS is ok, Database DB6 installation is also successfull.
    Now i install the central instance, but when sapinst checks the installation type (i select nothing), the installation failed with:
    Execution of the command "/usr/lib64/jvm/java/bin/java -classpath /tmp/sapinst_instdir/NW04S/SYSTEM/DB6/DISTRIBUTED/AS/CI/install/sharedlib/launcher.jar -showversion com.sap.engine.offline.OfflineToolStart com.sap.inst.jsourcecheck.JSourceCheck /tmp/sapinst_instdir/NW04S/SYSTEM/DB6/DISTRIBUTED/AS/CI/install/lib/iaik_jce.jar:/mnt/sapcd/NW04S_SR2n/BS_2005_SR2_SAP_Installation_Master/IM_LINUX_X86_64/COMMON/INSTALL/jsourcecheck.jar:/tmp/sapinst_instdir/NW04S/SYSTEM/DB6/DISTRIBUTED/AS/CI/install/lib:/tmp/sapinst_instdir/NW04S/SYSTEM/DB6/DISTRIBUTED/AS/CI/install/sharedlib:/home_sap/db2i33/sqllib/java/db2jcc.jar:/home_sap/db2i33/sqllib/java/db2jcc_license_cu.jar -systemName I33 -ssPropFile /usr/sap/I33/SYS/global/security/data/SecStore.properties -ssKeyFile /usr/sap/I33/SYS/global/security/data/SecStore.key -trace all" finished with return code 101. Output:
    java version "1.4.2"
    Java(TM) 2 Runtime Environment, Standard Edition (build 2.2)
    IBM J9SE VM (build 2.2, J2RE 1.4.2 IBM J9 2.2 Linux amd64-64 j9xa64142-20080130 (JIT enabled)
    J9VM - 20071205_1933_LHdSMr
    JIT  - r7_level20071016_1845)
    PerfTimes : loadNativeLayer: loading jperflib failed. jperflib (Not found in java.library.path)
    com.sap.engine.frame.core.configuration.ConfigurationException: Error while connecting to DB.
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
            at java.lang.reflect.Method.invoke(Method.java:391)
            at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    Caused by: com.ibm.db2.jcc.b.SqlException: [ibm][db2][jcc][t4][2013][11249] Connection authorization failure occurred.  Reason: User ID or Password invalid.
            at com.ibm.db2.jcc.c.b.i(b.java:2002)
            at com.ibm.db2.jcc.c.b.c(b.java:1657)
            at com.ibm.db2.jcc.c.bb.r(bb.java:792)
    I see the reason, but i don't know which user is mean ?
    Can anyone help me ?
    Best Regards,
    Tom

    This issue (and solution) is described in ML Doc 577905.1 (Error While Connecting To Database Via Workflow Builder)
    HTH
    Srini

  • Error while connecting to HTTPS WebService through Jdev

    I am having issues while trying to connect to a webservice that require SSL. Has anybody seen similar exception below or any suggestion/best practice docs of how to setup the cert?
    WARNING: Unable to connect to URL: https://itsolutions/AppIntegration/org/test/sendRequest.jpd due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    java.rmi.RemoteException: ; nested exception is:
         HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

    Dear All,I am getting this error while connecting to ASDM Please help.Your ASA Image has a version number 8.2.1 which is not supported by ASDM 6.1(3)Show Version.....User Access VerificationPassword:
    Type help or '?' for a list of available commands.
    ASA-PT> en
    Password:ASA-PT# show verCisco Adaptive Security Appliance Software Version 8.2(1)
    Device Manager Version 6.1(3)Compiled on Tue 05-May-09 22:45 by builders
    System image file is "disk0:/asa821-k8.bin"
    Config file at boot was "startup-config"ASA-PT up 12 days 0 hoursHardware:   ASA5520, 512 MB RAM, CPU Pentium 4 Celeron 2000 MHz
    Internal ATA Compact Flash, 256MB
    BIOS Flash M50FW080 @ 0xffe00000, 1024KBEncryption hardware device : Cisco ASA-55x0 on-board accelerator (revision 0x0)
                                 Boot microcode   : CN1000-MC-BOOT-2.00
                                 SSL/IKE microcode: CNLite-MC-SSLm-PLUS-2.03
                                 IPSec microcode  : CNlite-MC-IPSECm-MAIN-2.04
    0: Ext: GigabitEthernet0/0  : address is 0024.14d2.1582, irq 9
    1: Ext: GigabitEthernet0/1  : address is 0024.14d2.1583, irq 9
    2: Ext: GigabitEthernet0/2  : address is 0024.14d2.1584, irq 9
    3: Ext: GigabitEthernet0/3  : address is 0024.14d2.1585, irq 9
    4: Ext: Management0/0       : address is 0024.14d2.1581, irq 11
    5: Int: Internal-Data0/0    : address is 0000.0001.0002, irq 11
    6: Int: Internal-Control0/0 : address is 0000.0001.0001, irq 5
    <--- More --->ThanksTabrez
    Hi Tabrez,
    ASA5520 version 8.2.1 is supported with  ASDM 6.2(1 and above). Recommended: 6.2(3).check out the below link hope that c;ear out your query !!
    http://www.cisco.com/en/US/docs/security/asa/compatibility/asamatrx.html
    If helpful do rate the post
    Ganesh.H

Maybe you are looking for

  • HT1320 Apple iPod classic will not charge or turn on

    How can I get my iPod classic to turn on or charge as it froze turned off can not get it to turn on

  • Subscreen Problems

    Hi, experts. I have a problem with subscreen. PROCESS BEFORE OUTPUT.   MODULE status_100.   CALL SUBSCREEN z_subscreen INCLUDING sy-repid number. PROCESS AFTER INPUT.   MODULE cancel AT EXIT-COMMAND.   CALL SUBSCREEN z_subscreen.   MODULE user_comman

  • Itunes from desktop to laptop

    my desktop has crash and now i purchase a laptop. what i want to do is beable to listen to my muisc on my laptop like i did with my desktop with out having to keep plugging in my desktop to get the library up. so is there a way that this can be done

  • Updated to 1.4 and can't install any apps.

    I upgraded to 1.4 and everything seems to work correctly, except that I can't install any apps on the phone. All of my previously downloaded apps are missing. If I check in the My Application section of the App Catalog, it says "You have no applicati

  • Can someone please tell me why I am getting an error when using my Liquify tool?

    I am receiving an "error"window when using my Liquify tool in Filters. I receive a "delayed write failed" window also...I heard a loud honking sound and then my ability to use the tool is frozen. A little help please?