Error connecting MDM system from XI through Java proxies-standard component

Dear Friends
We are trying to connect to the MDM system from XI through Java proxies(i.e standard components),in relation to that we have done the following:
1)registered the interfaces
a)http://XIserver:port/ProxyServer/register?ns=http://sap.com/xi/GDSConsole&interface=GDS_Data_Import_In&bean=localejbs/sap.com/GDS/DataImport&method=gDSDataImportIn
b)http://XIserver:port/ProxyServer/register?ns=http://sap
.com/xi/GDSConsole&interface=GDS_DP_In&bean=localejbs/sap.com/GDS/Dat
aPoolIn&method=gDSDPIn
2)Deployed the ears within Build10.zip, i.e
a)GDS_1.0.6.1_Build10.ear and
b)GDS_ExternalValidations_1.0.6.1_build10.ear
3)set the sap.application.global.properties file inside the  GDS_1.0.6.1_Build10.ear
as follows:
SAP application properties
#!Path to GDS folder containing the configuration files
ConfigurationFilesLocation=/usr/sap/P70/DVEBMGS00/j2ee/cluster/server0/apps/sap.com/GDS
#!External validation modules (EJB names) delimited by semicolon character.
ExternalValidationModules=ExternalValidations_EJBs
#!IP or server name of MDM server
MDM.server=172.18.139.200
#!MDM repository port as appears in MDM console
MDM.port=2000
#!MDM repository name as appears in MDM console
MDM.repositoryName=GDS_1
#!version of MDM server and connector
MDM.version=5.5.42.103
#? secure=true
#! MDM Admin user password
MDM.AdminPassword=
#!Data pool name - should match a remote system defined in MDM console
DestinationDataPoolName=
#!Data pool 13 digits GLN
DestinationDataPoolGln=
#!Provider 13 digits GLN
ProviderGln=
#!Provider time zone e.g. EST
ProviderTimeZone=
#!Data pool schema URL
SchemaLocation=
#!Message Timeout
MessageTimeout=10
#!Backend import client system - should match a remote system defined in MDM console.
ImportData.ClientSystem.Name=R3
!# The format that dates will appear in the UI
#Available date formats:      MM/dd/yyyy
#                     dd/MM/yyyy
#                     MM-dd-yyyy
#                     dd-MM-yyyy
#                     dd-MMM-yyyy
#                     dd/MMM/yyyy
#                     MMM dd, yyyy
Where MM=1-12, MMM=Jan,Feb,Mar,etc.
Note: Extreme caution should be taken when choosing to use month names,
#          since different regional settings on the client and server machines
#          will cause dates to be uninterpretable.
#          It is strongly advised to use numeric month format, eg. MM-dd-yyyy, etc.
DateFormat=dd/MM/yyyy
DEBUG.SaveIncomingMessagesToFile=false
#!defines if incoming message will be saved in arc folder
DEBUG.ImportData.SaveArchive=false
#!defines if outgoing message will be saved
DEBUG.SaveOutgoingMessagesToFile=false
But still we are getting errors as:
a)com.sap.aii.af.ra.ms.api.MessagingException: com.sap.mdm.gds.proxy.dataimport.GDSConsole_Message_Exception: : com.sap.aii.proxy.xiruntime.core.ApplicationFaultException: com.sap.mdm.gds.proxy.dataimport.GDSConsole_Message_Exception
inside SXMB_MONI
when we trigger an Idoc and try to send the data inside the MDM GDS system.
and
b)Failed to send message,reason:Exception on method gDSDPOut
when we try to register something,even after the data is validated by the system.
Can anybody help??
It is of urgent requirement.
Edited by: Arjun Ghose on Jul 15, 2008 4:36 PM

Hi ,
   I found a document which says that MDM4J is the legacy API and is considered deprecated .The MDM Java API is the new one .I have both of them in the java build path . I am not sure if this is that cause of the problem .
Now I had a look at the javadoc for the new API but I am not able to locate the class to obtain a connection to the MDM server from a custom application being built in Netweaver Developer Studio . Can someone help me out with the same ?What would be the code to obtain the connection to the MDM server with the new JAVA API ?
Regards
DeepaK Singh

Similar Messages

  • How to connect informix database from informatica through JDBC instead of ODBC

    How to connect informix database from informatica through JDBC instead of ODBC.

    Hi mate,
    You may get fast reply for this in informatica forums.
    Thanks
    http://mkashu.blogspot.com

  • How to migrate  the data flow from DB CONNECT sourse system from 3.5 to BI

    Hi
    can any one tell me how to migrate the data flow from DB CONNECT sourse system from 3.5 to BI 7.

    Hi,
    Go to Infoprovider to which your DB connect DS feeds and Right Click on Data source-> Then Migrate-> With Export---> You have to build new 7.0 Transformations and DTP's etc.
    ~AK

  • Can I connect to Oracle server7.1  through Java-JDBC using the latest thin drivers???

    Hey Gurus,
    Please help me .
    MY Current requirement is to connect to multiple oracle 7.1( and other variants) servers running on different operating systems, through Java/JDBC.
    My FIrst question is, can i connect to older versions of database using latest drivers?
    I could connect to the server running on SCO-oracle 7.1 using SQLNet8.1.7 under windows. But the same is not happening when the client is on Linux.But I need to connect from linux
    It says ORA-03113 - End of communication channel.
    What may be th problem.
    If any one could show some pointers where I can get more information about this problem would be helpfull
    THanks
    Lokesh

    I tried the classpath suggestion above (not the one modifying the .xml file) , but it didnt work for me , I am using WLI 10.3.1 and trying to connect DB on 8.1.7 V . I downloaded the classes12.jar and the ojdbc14.jar file from the oracle and placed in lib and the even included the classpath , but i again got the same exception .
    All this while i was selecting the option Oracle Driver Thin from the DataBase Driver when creating the connection pool from console . I tried with "BEA Oracle Driver (Type 4)" and it worked for me .. Although the option "BEA Oracle Driver (Type 4)" lists only the DBs from 9.0.1 to 11 G , but in my case using this driver i am able to connect to Oracle DB 8.1.7 . So all you guys if it classpath doesnt fix the issue try out by selecting Driver , "BEA Oracle Driver (Type 4)" .
    Manoj , this will fix the Connection pool part of the ques, but for the java part Try to load the Driver class "weblogic.jdbc.oracle.OracleDriver" before connecting to DB with Class.forName.
    Thx
    Yatin Mehta

  • Error connecting to database from Crystal Report

    Hi,
    I am using Crystal report 2008, .NET 3.5 on Windows Server 2008 + SQL Server 2008
    I have a batch that generates report (via export) then this batch will send the exported report via email.
    I am encountering this error when reading report from BO Server
    Error: CrystalDecisions.CrystalReports.Engine.LogOnException: Database logon failed. ---> System.Runtime.InteropServices.COMException (0x8004100F): Database logon failed.
       at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)
       at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
    While when trying to read the report from physical file within the server, it will give me this error
    Error: CrystalDecisions.CrystalReports.Engine.InternalException: Failed to retrieve data from the database.
    Details:  [Database Vendor Code: 2812 ]
    Failed to retrieve data from the database.
    Error in File IAREPORT {92DFCAFC-58AC-4CB3-B9DD-A9565E07088D}.rpt:
    Failed to retrieve data from the database.
    Details:  [Database Vendor Code: 2812 ] ---> System.Runtime.InteropServices.COMException (0x800002D3): Failed to retrieve data from the database.
    Details:  [Database Vendor Code: 2812 ]
    Failed to retrieve data from the database.
    Error in File IAREPORT {92DFCAFC-58AC-4CB3-B9DD-A9565E07088D}.rpt:
    Failed to retrieve data from the database.
    Details:  [Database Vendor Code: 2812 ]
       at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)
       at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
    The report is working in our SIT environment but it is not working in our UAT environment.
    I have tried the following:
    1) running the batch (that generates the report) in SIT environment to call SIT database
    Working fine
    2) running the batch (that generates the report) in SIT environment to call UAT database
    Will give the above error
    3) running the batch (that generates the report) in UAT environment to call UAT database
    Will give the above error
    4) running the batch (that generates the report) in UAT environment to call SIT database
    Working fine
    For reading report from BO Server, I have tried viewing the report directly and scheduling the report directly from BO Server and it works fine.
    Also I have tried to 'verify database' on the UAT report, but it seems it didn't solve the issue.
    Does anyone have any idea how to solve this? Or what could cause this?
    Appreciate your help.
    Thanks.

    Here's how I connect to the database
    when reading report from bo server:
    Dim enterpriseSession As CrystalDecisions.Enterprise.EnterpriseSession
                Dim enterpriseService As CrystalDecisions.Enterprise.EnterpriseService
                Dim infoObjects As CrystalDecisions.Enterprise.InfoObjects
                Dim infoObject As CrystalDecisions.Enterprise.InfoObject
                Dim infoStore As CrystalDecisions.Enterprise.InfoStore
                Dim query As String = ""
                query = "SELECT * FROM CI_INFOOBJECTS WHERE SI_PROGID = 'CrystalEnterprise.Report' AND SI_NAME LIKE '" & reportName & "'"
                'Create a session manager
                Dim sessionMgr As New CrystalDecisions.Enterprise.SessionMgr
                'Log into BusinessObjects Enterprise
                enterpriseSession = sessionMgr.Logon(cu.BOXIUser, cu.BOXIPwd, cu.BOXIServer, cu.BOXIAuthentication)
                'Create the infostore object
                enterpriseService = enterpriseSession.GetService("InfoStore")
                infoStore = New CrystalDecisions.Enterprise.InfoStore(enterpriseService)
                infoObjects = infoStore.Query(query)
                If (infoObjects.Count > 0) Then
                    infoObject = infoObjects(1)
                    crDoc.Load(infoObject, enterpriseSession)
                    crDoc.SetParameterValue("@batchID", batchID)
                    Dim CrExportOptions As ExportOptions
                    Dim CrDiskFileDestinationOptions As New DiskFileDestinationOptions()
                    Dim CrPDFFormatOptions As New PdfRtfWordFormatOptions
                    Dim CrExcelFormatOptions As New ExcelFormatOptions
                    CrDiskFileDestinationOptions.DiskFileName = reportFile
                    CrExportOptions = crDoc.ExportOptions
                    With CrExportOptions
                        .ExportDestinationType = ExportDestinationType.DiskFile
                        .ExportFormatType = IIf(reportFormat = IAConstant.PDF, _
                                                ExportFormatType.PortableDocFormat, _
                                                IIf(FINRptFormat = IAConstant.EXCELONLY, _
                                                ExportFormatType.ExcelRecord, ExportFormatType.Excel))
                        .DestinationOptions = CrDiskFileDestinationOptions
                        .FormatOptions = IIf(reportFormat = IAConstant.PDF, _
                                             CrPDFFormatOptions, CrExcelFormatOptions)
                    End With
                    crDoc.Export()
                Else
                    Throw New ApplicationException(Constant.APP_ERR & " - Report not found")
                End If
    The error is thrown when trying to export --> crDoc.Export()
    The username and password are correct because it is the same username and password that the batch used to extract the data in the initial stage.
    Here's how my batch works:
    1) Extract and massage data directly from .net SP (this is working fine)
    2) Obtain the report then use the same connection string (for physical path report) or use the report connection string (for bo server report), this report is using Stored Procedure (the problem starts here)
    For reading report from bo server, I have also checked that the connection from the report itself is correct, because we can schedule/view the report from bo server successfully.
    SQL Driver, is it the SQL Native Client you are saying? It's SQL Native Client 10.
    I think we are using Business Objects Enterprise XI 3.1 Client Tools SP2 in our apps server.

  • Problem in connecting to database from webdynpro for java

    Hi
    I have a problem in connecting to database from webdynpro application
    I am using oracle 10 express edition as database and was able to connect to database from a java application.But  was unable to connect from a webdynpro for java.
    <b>I guess webdynpro for java uses open sql instead of vendor sql(I looked in the visual admin ,DB is using open sql) so unable to connect to database.Am i right.?</b>
    Do i need to make any settings in the visual admin to make it work?
    How to solve this problem.Please give me pointers
    Thanks
    Bala

    Hi,
    For connecting to Oracle, either you can use the normal JDBC connectivty code directly which is given below :
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@Oracle_server_ip:Oracle port:SID of the Database","user_name","password");
    Statement stmt = conn.createStatement();
    ResultSet rs = stmt.executeQuery("your query");
    In case you want to fetch data through ejbs, these are the steps to be followed :
    1) Open the J2EE perspective
    2) Create an EJB Module project
    3) Right click on ejbModule, create a new EJB (select your EJB type)
    4) While creating the ejb itself, you can add business methods by clicking ‘Next’ in the UI. Another option is after creating the ejb, write the method in the bean, then select the method from ejb-jar.xml -> <bean name> ->method. Right click and select ‘propogate to local & remote’.
    5) Double click on ejb-j2ee-engine.xml. select your bean and specify a Jndi name for eg: “MyJndi”.
    6) Right click on the EJB project and add ‘classes12.zip’ file (provided by Oracle) to it’s build path. (under libraries tab). Also check the same file under ‘Order & Export’.
    7) Create an Enterprise Application project.
    8) Right click on the EJB module project and select add to EAR project, then select the created EAR project.
    9) Right click on the EJB project, select ‘Build EJB Archive’
    10) Right click on the EAR project, select ‘Build Application Archive’
    11) Open the WebDynpro perspective, open a new project, right click on the project ->properties. Do the following configurations :-
    • Java Build path - select the EJB project from ‘projects’ , check the selected project under ‘Order & Export’
    • Project references – select the EAR project
    • WebDynpro references – select ‘sharing references’ tab, click add & make an entry as : <vendor>/<EAR project name without .ear extension>
    You can find the vendor name under ‘application-j2ee-engine.xml’ file of the EAR project. By default it is ‘sap.com’. So if my EAR project’s name is ABC, my entry would look like ‘sap.com/ABC’
    12) Now the configurations are over and the EJB can be invoked by writing the client code inside the webdynpro component. Like:
    InitialContext context = new InitialContext();
    Object obj = context.lookup("MyJndi");
    MyEJBHome home = MyEJBHome)PortableRemoteObject.narrow(obj,MyEJBHome.class);
    MyEJB mybean = home.create();
    int a = 0;
    a= mybean.add(10,15);
    wdContext.currentContextElement().setSum(a);
    where ‘MyEJB’ is my EJB name and ‘MyJndi’ is my JNDI name
    To connect to Oracle , you can write the usual Java code (given below) as a business methos of the ejb (similar to add() method in the example). And access it like mybean.<businessMethodName>().
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@Oracle_server_ip:Oracle port:SID of the Database","user_name","password");
    Statement stmt = conn.createStatement();
    ResultSet rs = stmt.executeQuery("your query");
    Extracted from Re: Webdynpro and Oracle
    http://help.sap.com/saphelp_webas630/helpdata/en/b0/6e62f30cbe9e44977c78dbdc7a6b27/frameset.htm
    May be of use to understand the VA Conf /people/varadharajan.krishnasamy/blog/2007/02/27/configuring-jdbc-connector-service-to-perform-database-lookups
    Regards
    Ayyapparaj

  • Error connecting to Oracle from when running SSIS Package on Windows 64-bit

    Hi.
    I have an SSIS (SQL Server Integration Services) Package that reads a view on Oracle and loads data into table in SQL Server 2005. This is on a Windows 2008 Server (64-bit). SQL Server 2005 with SP3. Oracle Client 11g (32 bit & 64 bit) Runtime Version installed on server. The server has been rebooted since installing OracleClient.
    I get the following error when run as a SQLAgent job 64 Bit (Execution type SQL Server Integration Services Package)...
    Started: 9:29:24 AM
    Error: 2010-01-04 09:29:25.37
    Code: 0xC0202009
    Source: SADM_CURR_Address_and_Cell_Phone-Oracle Connection manager "Oracle/PeopleSoft"
    Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040154.
    An OLE DB record is available. Source: "Microsoft OLE DB Service Components" Hresult: 0x80040154 Description: "Class not registered".
    End Error
    Error: 2010-01-04 09:29:25.37
    Code: 0xC020801C
    Source: DFT-Oracle to SS2005 OLE DB Source [1]
    Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "Oracle/PeopleSoft" failed with error code 0xC0202009. There may be error messages posted before this with more information on why the AcquireConnection method call failed.
    End Error
    Error: 2010-01-04 09:29:25.37
    Code: 0xC0047017
    Source: DFT-Oracle to SS2005 DTS.Pipeline
    Description: component "OLE DB Source" (1) failed validation and returned error code 0xC020801C.
    End Error
    Error: 2010-01-04 09:29:25.37
    Code: 0xC004700C
    Source: DFT-Oracle to SS2005 DTS.Pipeline
    Description: One or more component failed validation.
    End Error
    Error: 2010-01-04 09:29:25.37
    Code: 0xC0024107
    Source: DFT-Oracle to SS2005
    Description: There were errors during task validation.
    End Error
    DTExec: The package execution returned DTSER_FAILURE (1).
    Started: 9:29:24 AM
    Finished: 9:29:25 AM
    Elapsed: 1.108 seconds
    When I execute this same exact package as a SQLAgent job 32-bit (type Operating System CmdExec) it runs successfully. When I run the package using the Execute Package Utility, it runs successfully. When I am editting the package in BIDS I can connect to Oracle. For both 64 and 32 bit, I use a dtsconfig file which specifies the Oracle connection string and password.
    Someone mentioned on another forum that maybe there is no Oracle ODBC driver for 64-bit Windows. I would assume that the OracleClient 64-bit would include that.
    I hope I have included all info needed. Please let me know if you may have a resolution to this problem.
    Thanks.
    John

    I was trying to transfer data from oracle to sql server 2008 on a daily basis.
    I have very hard time connecting to oracle from ssis package on windows server 2008. I am almost dead and cannot find any help. i was able to connect to oracle using import/export 64 bit feature of SQL Server 2008 using Oracle provider for OLEDB. But I am not sure why the same does not work with BIDS?
    Here's the environment info:
    1. Oracle Client 10g
    2. SQL Server 2008
    3. Windows Server 2008
    Appreciate your help. Please save me.
    Thanks,

  • Connecting to iFS from a WF Java External function

    People,
    I have an external Java function activity. From within it, I want to make a connection to iFS using the iFS Java API. But I am getting the following error:
    java.lang.UnsatisfiedLinkError: getRefHashCode
    The iFS Java code is:
    LibraryService service = new LibraryService();
    CleartextCredential cred = new CleartextCredential(
    vUsername, vPassword);
    ConnectOptions options = new ConnectOptions();
    options.setLocale(Locale.getDefault());
    options.setServiceName(vServiceName);
    options.setServicePassword(vServicePassword);
    LibrarySession oSession = service.connect(cred, options);
    I wonder that I have to put something more into the classpath of the Oracle Workflow Java Function Activity Agent, but I don't know what. Here is what I am calling:
    C:\oracle\ora81\wf\admin>jre -classpath ";C:\oracle\ora81\wf\JRE11\lib\rt.jar;c:\oracle\ora81\wf\java;c:\oracle\ora81\wf\java\oracle\apps\fnd\wf\jar\wfjava.jar;c:\oracle\ora81\wf\xml\java\lib\xmlparserv2.jar;c:\oracle\ora81\wf\java\oracle\a
    pps\fnd\wf\jar\wfapi.jar;c:\oracle\ora81\jdbc\lib\classes111.zip;c:\oracle\ora81\wf\java\oracle\apps\fnd\wf\jar\fndbalishare.jar;c:\oracle\ora81\wf\java\oracle\apps\fnd\wf\jar\fndewt.jar;c:\oracle\ora81\wf\oracle\java\apps\fnd\wf\jar\fndswing.jar;C:\oracle\ora81\ifs1.1\lib\adk.jar;C:\oracle\ora81\ifs1.1\lib\email.jar;C:\oracle\ora81\ifs1.1\lib\release.jar;C:\oracle\ora81\ifs1.1\lib\repos.jar;C:\oracle\ora81\ifs1.1\lib\utils.jar;C:\oracle\ora81\ifs1.1\custom_classes;C:\oracle\
    ora81\ifs1.1\settings;C:\oracle\ora81\lib;C:\oracle\ora81\sqlj\lib\runtime.zip;C:\oracle\ora81\sqlj\lib\runtime11.zip;" -nojit oracle.apps.fnd.wf.WFFALsnr user/password@db
    I'm using Oracle 8.1.7.0, Workflow 2.6.0 and iFS 1.1.9 on W2K.
    Thanks for any help,
    Daniel Viero

    See
    http://technet.oracle.com:89/ubb/Forum36/HTML/000173.html

  • Error connecting to Essbase from Analyzer 7.0

    Hi,We have just installed Analyzer 7.0.1 with Essbase 6.5.5. on Windows 2003 servers. Everything seem to be working fine except when I try to define a new Essbase connection in Administrator Tools, I get this error."[1033]Native:2001 Essbase Error;nested exception is:com.hyperion.apAPException:[1033]Native:2001 Essbase Error"I'm able to connect to Essbase from Excel-Addin, no problem.Any ideas?Thanks for your help.Peter

    I would try installing the Essbase 6.5.4.2 runtime on your Analyzer server. If this is the same server as Essbase don't worry as it shouldn't effect the operation of the server process. This certainly worked with Analyzer 7.0 and 6.5.1.Hope this helps.Paul Armitagewww.analitica.co.uk

  • Error during Homogenous System copy of ABAP+JAVA stack

    Hi All,
    I'm trying to do a homogeneous system copy of an XI system NW04s on Windows 2k3 and Oracle database to another windows 2k3 machine. SCS and Database went on fine but during CI installation on the target system I'm stuck at "Run ABAP Reports" phase.
    I'm getting an error:
    MUT-03025 Caught ERfcExcept in Modulecall: Exception condition "WRITE_FAILED" raised..
    runRADDBDIF was executed with status ERROR
    The ABAP stack is however up and when I login to 000 client using DDIC user and try to execute the report RADDBDIF, I get a runtime error RAISE_EXCEPTION with Exception condition "WRITE_FAILED" raised.
    A RAISE statement in the program "SAPLSUGI" raised the exception condition "WRITE_FAILED".
    If anyone has encountered similar problem, kindly help me.
    Regards,
    Sameer

    Hi Juan,
    I've already checked dev_disp and dev_ms but didn't find any errors. However, I got some errors in dev_w0. I'm pasting the same for your reference.
    trc file: "dev_w0", trc level: 1, release: "700"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, MJ

    B Mon Jan 07 18:45:15 2008
    B  create_con (con_name=R/3)
    B  Loading DB library 'F:\usr\sap\COP\DVEBMGS04\exe\dboraslib.dll' ...
    B  Library 'F:\usr\sap\COP\DVEBMGS04\exe\dboraslib.dll' loaded
    B  Version of 'F:\usr\sap\COP\DVEBMGS04\exe\dboraslib.dll' is "700.08", patchlevel (0.107)
    B  New connection 0 created
    M sysno      04
    M sid        COP
    M systemid   560 (PC with Windows NT)
    M relno      7000
    M patchlevel 0
    M patchno    111
    M intno      20050900
    M make:      multithreaded, Unicode, optimized
    M pid        2148
    M
    M  kernel runs with dp version 229000(ext=109000) (@(#) DPLIB-INT-VERSION-229000-UC)
    M  length of sys_adm_ext is 576 bytes
    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 2148) [dpxxdisp.c   1301]
    I  MtxInit: 30000 0 0
    M  DpSysAdmExtCreate: ABAP is active
    M  DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active

    M Mon Jan 07 18:45:16 2008
    M  DpShMCreate: sizeof(wp_adm)          10056     (1436)
    M  DpShMCreate: sizeof(tm_adm)          4232256     (21056)
    M  DpShMCreate: sizeof(wp_ca_adm)          24000     (80)
    M  DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    M  DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064
    M  DpShMCreate: sizeof(comm_adm)          528064     (1048)
    M  DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    M  DpShMCreate: sizeof(slock_adm)          0     (96)
    M  DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    M  DpShMCreate: sizeof(file_adm)          0     (72)
    M  DpShMCreate: sizeof(vmc_adm)          0     (1536)
    M  DpShMCreate: sizeof(wall_adm)          (38456/34360/64/184)
    M  DpShMCreate: sizeof(gw_adm)     48
    M  DpShMCreate: SHM_DP_ADM_KEY          (addr: 05EC0040, size: 4883696)
    M  DpShMCreate: allocated sys_adm at 05EC0040
    M  DpShMCreate: allocated wp_adm at 05EC2090
    M  DpShMCreate: allocated tm_adm_list at 05EC47D8
    M  DpShMCreate: allocated tm_adm at 05EC4808
    M  DpShMCreate: allocated wp_ca_adm at 062CDC48
    M  DpShMCreate: allocated appc_ca_adm at 062D3A08
    M  DpShMCreate: allocated comm_adm at 062D5948
    M  DpShMCreate: system runs without slock table
    M  DpShMCreate: system runs without file table
    M  DpShMCreate: allocated vmc_adm_list at 06356808
    M  DpShMCreate: allocated gw_adm at 06356848
    M  DpShMCreate: system runs without vmc_adm
    M  DpShMCreate: allocated ca_info at 06356878
    M  DpShMCreate: allocated wall_adm at 06356880
    X  EmInit: MmSetImplementation( 2 ).
    X  MM global diagnostic options set: 0
    X  <ES> client 0 initializing ....
    X  Using implementation view
    X  <EsNT> Using memory model view.
    M  <EsNT> Memory Reset disabled as NT default
    X  ES initialized.
    M  ThInit: running on host hydhtc24738
    M  calling db_connect ...
    C  Prepending F:\usr\sap\COP\DVEBMGS04\exe to Path.

    C Mon Jan 07 18:45:18 2008
    C  Oracle Client Version: '10.2.0.1.0'
    C  Client NLS settings: AMERICAN_AMERICA.UTF8
    C  Logon as OPS$-user to get SAPSR3's password
    C  Connecting as /@COP on connection 0 (nls_hdl 0) ... (dbsl 700 250407)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 UTF8                                                      1   0649D5C8   064A2B64   064A23EC
    C  Attaching to DB Server COP (con_hdl=0,svchp=064A2338,srvhp=064B3F34)
    C  Starting user session (con_hdl=0,svchp=064A2338,srvhp=064B3F34,usrhp=064FFA98)
    C  Now '/@COP' is connected (con_hdl 0, nls_hdl 0).
    C  Got SAPSR3's password from OPS$-user
    C  Disconnecting from connection 0 ...
    C  Closing user session (con_hdl=0,svchp=064A2338,usrhp=064FFA98)
    C  Now I'm disconnected from ORACLE
    C  Connecting as SAPSR3/<pwd>@COP on connection 0 (nls_hdl 0) ... (dbsl 700 250407)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 UTF8                                                      1   0649D5C8   064A2B64   064A23EC
    C  Starting user session (con_hdl=0,svchp=064A2338,srvhp=064B3F34,usrhp=064FFA98)
    C  Now 'SAPSR3/<pwd>@COP' is connected (con_hdl 0, nls_hdl 0).
    C  Database NLS settings: AMERICAN_AMERICA.UTF8
    C  DB instance COP is running on HYDHTC24738 with ORACLE version 10.2.0.1.0 since JAN 07, 2008, 15:34:24
    B  Connection 0 opened (DBSL handle 0)
    B  Wp  Hdl ConName          ConId     ConState     TX  PRM RCT TIM MAX OPT Date     Time   DBHost         
    B  000 000 R/3              000000000 ACTIVE       NO  YES NO  000 255 255 20080107 184516 HYDHTC24738    
    M  db_connect o.k.
    M  ICT: exclude compression: .zip,.cs,.rar,.arj,.z,.gz,.tar,.lzh,.cab,.hqx,.ace,.jar,.ear,.war,.css,.pdf,.js,.gzip,.uue,.bz2,.iso,.sda,.sar,.gif

    I Mon Jan 07 18:45:22 2008
    I  MtxInit: 0 0 0
    M  SHM_PRES_BUF               (addr: 0AB50040, size: 4400000)
    M  SHM_ROLL_AREA          (addr: 788A0040, size: 61440000)
    M  SHM_PAGING_AREA          (addr: 0AF90040, size: 32768000)
    M  SHM_ROLL_ADM               (addr: 0CEE0040, size: 615040)
    M  SHM_PAGING_ADM          (addr: 0CF80040, size: 525344)
    M  ThCreateNoBuffer          allocated 544152 bytes for 1000 entries at 0D010040
    M  ThCreateNoBuffer          index size: 3000 elems
    M  ThCreateVBAdm          allocated 12160 bytes (50 server) at 0D0A0040
    X  EmInit: MmSetImplementation( 2 ).
    X  MM global diagnostic options set: 0
    X  <ES> client 0 initializing ....
    X  Using implementation view
    X  ES initialized.
    B  db_con_shm_ini:  WP_ID = 0, WP_CNT = 7, CON_ID = -1
    B  dbtbxbuf: Buffer TABL  (addr: 10CD00C8, size: 30000000, end: 1296C448)
    B  dbtbxbuf: Buffer TABLP (addr: 129700C8, size: 10240000, end: 133340C8)
    B  dbexpbuf: Buffer EIBUF (addr: 133400D0, size: 4194304, end: 137400D0)
    B  dbexpbuf: Buffer ESM   (addr: 137500D0, size: 4194304, end: 13B500D0)
    B  dbexpbuf: Buffer CUA   (addr: 13B600D0, size: 3072000, end: 13E4E0D0)
    B  dbexpbuf: Buffer OTR   (addr: 13E500D0, size: 4194304, end: 142500D0)

    M Mon Jan 07 18:45:23 2008
    M  CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.

    S Mon Jan 07 18:45:26 2008
    S  *** init spool environment
    S  initialize debug system
    T  Stack direction is downwards.
    T  debug control: prepare exclude for printer trace
    T  new memory block 1965E820

    S Mon Jan 07 18:45:27 2008
    S  spool kernel/ddic check: Ok
    S  using table TSP02FX for frontend printing
    S  1 spool work process(es) found
    S  frontend print via spool service enabled
    S  printer list size is 150
    S  printer type list size is 50
    S  queue size (profile)   = 300
    S  hostspool list size = 3000
    S  option list size is 30
    S      found processing queue enabled
    S  found spool memory service RSPO-RCLOCKS at 1D8C00A8
    S  doing lock recovery
    S  setting server cache root
    S  found spool memory service RSPO-SERVERCACHE at 1D8C02B0
    S    using messages for server info
    S  size of spec char cache entry: 297028 bytes (timeout 100 sec)
    S  size of open spool request entry: 2236 bytes
    S  immediate print option for implicitely closed spool requests is disabled

    A  -PXA--
    A  PXA INITIALIZATION
    A  System page size: 4kb, total admin_size: 4888kb, dir_size: 4856kb.
    A  Attached to PXA (address 688A0040, size 150000K)
    A  abap/pxa = shared protect gen_remote
    A  PXA INITIALIZATION FINISHED
    A  -PXA--

    A  ABAP ShmAdm attached (addr=57A1C000 leng=20955136 end=58E18000)
    A  >> Shm MMADM area (addr=57E91D98 leng=126176 end=57EB0A78)
    A  >> Shm MMDAT area (addr=57EB1000 leng=16150528 end=58E18000)
    A  RFC Destination> destination hydhtc24738_COP_04 host hydhtc24738 system COP systnr 4 (hydhtc24738_COP_04)
    A  RFC Options> H=hydhtc24738,S=04,d=2,
    A  RFC FRFC> fallback activ but this is not a central instance.
    A   
    A  RFC rfc/signon_error_log = -1
    A  RFC rfc/dump_connection_info = 0
    A  RFC rfc/dump_client_info = 0
    A  RFC rfc/cp_convert/ignore_error = 1
    A  RFC rfc/cp_convert/conversion_char = 23
    A  RFC rfc/wan_compress/threshold = 251
    A  RFC rfc/recorder_pcs not set, use defaule value: 2
    A  RFC rfc/delta_trc_level not set, use default value: 0
    A  RFC rfc/no_uuid_check not set, use default value: 0
    A  RFC rfc/bc_ignore_thcmaccp_retcode not set, use default value: 0
    A  RFC Method> initialize RemObjDriver for ABAP Objects
    M  ThrCreateShObjects          allocated 7406 bytes at 0FFB0040
    N  SsfSapSecin: putenv(SECUDIR=F:\usr\sap\COP\DVEBMGS04\sec): ok

    N  =================================================
    N  === SSF INITIALIZATION:
    N  ===...SSF Security Toolkit name SAPSECULIB .
    N  ===...SSF trace level is 0 .
    N  ===...SSF library is F:\usr\sap\COP\DVEBMGS04\exe\sapsecu.dll .
    N  ===...SSF hash algorithm is SHA1 .
    N  ===...SSF symmetric encryption algorithm is DES-CBC .
    N  ===...sucessfully completed.
    N  =================================================

    N Mon Jan 07 18:45:28 2008
    N  MskiInitLogonTicketCacheHandle: Logon Ticket cache pointer retrieved from shared memory.
    N  MskiInitLogonTicketCacheHandle: Workprocess runs with Logon Ticket cache.
    M  JrfcVmcRegisterNativesDriver o.k.
    W  =================================================
    W  === ipl_Init() called
    B    dbtran INFO (init_connection '<DEFAULT>' [ORACLE:700.08]):
    B     max_blocking_factor =   5,  max_in_blocking_factor      =   5,
    B     min_blocking_factor =   5,  min_in_blocking_factor      =   5,
    B     prefer_union_all    =   0,  prefer_join                 =   0,
    B     prefer_fix_blocking =   0,  prefer_in_itab_opt          =   1,
    B     convert AVG         =   0,  alias table FUPD            =   0,
    B     escape_as_literal   =   1,  opt GE LE to BETWEEN        =   0,
    B     select *            =0x0f,  character encoding          = STD / <none>:-,
    B     use_hints           = abap->1, dbif->0x1, upto->2147483647, rule_in->0,
    B                           rule_fae->0, concat_fae->0, concat_fae_or->0
    W    ITS Plugin: Path dw_gui
    W    ITS Plugin: Description ITS Plugin - ITS rendering DLL
    W    ITS Plugin: sizeof(SAP_UC) 2
    W    ITS Plugin: Release: 700, [7000.0.111.20050900]
    W    ITS Plugin: Int.version, [33]
    W    ITS Plugin: Feature set: [14]
    W    ===... Calling itsp_Init in external dll ===>
    W  === ipl_Init() returns 0, ITSPE_OK: OK
    W  =================================================
    E  Enqueue Info: rdisp/wp_no_enq=1, rdisp/enqname=<empty>, assume hydhtc24738_COP_04
    E  Replication is disabled
    E  EnqCcInitialize: local lock table initialization o.k.
    E  EnqId_SuppressIpc: local EnqId initialization o.k.
    E  EnqCcInitialize: local enqueue client init o.k.
    M  MBUF info for hooks: MS component UP
    M  ThSetEnqName: set enqname by server list
    M  ThISetEnqname: enq name = >hydhtc24738_COP_04                      <

    E  *************** EnqId_EN_ActionAtMsUpHook ***************
    E  Hook on upcoming Ms (with EnqSrv), get auth EnqId and check it locally

    E  *************** ObjShMem_CheckAuthoritativeEnqId ***************
    E  Checking authoritative EnqId from EnqSrv into ObjShMem
    E  ObjShMem_CheckAuthoritativeEnqId: ObjShMem ...
    E  EnqId.EnqTabCreaTime    = -999
    E  EnqId.RandomNumber      = -999
    E  ReqOrd.TimeInSecs       = -999
    E  ReqOrd.ReqNumberThisSec = -999
    E  ObjShMem_CheckAuthoritativeEnqId: ObjShMem ...
    E  EnqId.EnqTabCreaTime    = -999
    E  EnqId.RandomNumber      = -999
    E  ReqOrd.TimeInSecs       = -999
    E  ReqOrd.ReqNumberThisSec = -999
    E  ObjShMem_CheckAuthoritativeEnqId: EnqId is initial in ShMem
    E  ObjShMem_CheckAuthoritativeEnqId: Overwrite incoming auth EnqId, continue
    E  EnqId inscribed into initial ObjShMem: (ObjShMem_CheckAuthoritativeEnqId)
    E  -SHMEM--
    E  EnqId:          EnqTabCreaTime/RandomNumber    = 07.01.2008 18:45:27  1199711727 / 1692
    E  ReqOrd at Srv:  TimeInSecs/ReqNumberThisSec    = 07.01.2008 18:45:28  1199711728 / 1
    E  ReqOrd at Cli:  TimeInSecs/ReqNumberThisSec    = 07.01.2008 18:45:28  1199711728 / 1
    E  Status:         STATUS_OK
    E  -
    M  ThActivateServer: state = STARTING
    L  BtcSysStartRaise: Begin
    L  Raise event SAP_SYSTEM_START with parameter <hydhtc24738_COP_04  >
    L  BtcSysStartRaise: End

    S Mon Jan 07 18:45:36 2008
    S  server @>SSRV:hydhtc24738_COP_04@< appears or changes (state 1)
    M  SecAudit(RsauShmInit): WP attached to existing shared memory.
    M  SecAudit(RsauShmInit): addr of SCSA........... = 05E90040
    M  SecAudit(RsauShmInit): addr of RSAUSHM........ = 05E907A8
    M  SecAudit(RsauShmInit): addr of RSAUSLOTINFO... = 05E907E0
    M  SecAudit(RsauShmInit): addr of RSAUSLOTS...... = 05E907EC

    S Mon Jan 07 18:45:44 2008
    S  server @>SSRV:hydhtc24738_COP_04@< appears or changes (state 1)

    B Mon Jan 07 18:47:27 2008
    B  dbmyclu : info : my major identification is 3244494858, minor one 4.
    B  dbmyclu : info : Time Reference is 1.12.2001 00:00:00h GMT.
    B  dbmyclu : info : my initial uuid is DCBD22E36FC346F1BF890002E339BE1E.
    B  dbmyclu : info : current optimistic cluster level: 0
    B  dbmyclu : info : pessimistic reads set to 2.

    A Mon Jan 07 18:47:55 2008
    A  TH VERBOSE LEVEL FULL
    A  ** RABAX: level LEV_RX_PXA_RELEASE_MTX entered.
    A  ** RABAX: level LEV_RX_PXA_RELEASE_MTX completed.
    A  ** RABAX: level LEV_RX_COVERAGE_ANALYSER entered.
    A  ** RABAX: level LEV_RX_COVERAGE_ANALYSER completed.
    A  ** RABAX: level LEV_RX_ROLLBACK entered.
    A  ** RABAX: level LEV_RX_ROLLBACK completed.
    A  ** RABAX: level LEV_RX_DB_ALIVE entered.
    A  ** RABAX: level LEV_RX_DB_ALIVE completed.
    A  ** RABAX: level LEV_RX_HOOKS entered.
    A  ** RABAX: level LEV_RX_HOOKS completed.
    A  ** RABAX: level LEV_RX_STANDARD entered.
    A  ** RABAX: level LEV_RX_STANDARD completed.
    A  ** RABAX: level LEV_RX_STOR_VALUES entered.
    A  ** RABAX: level LEV_RX_STOR_VALUES completed.
    A  ** RABAX: level LEV_RX_C_STACK entered.

    A Mon Jan 07 18:48:02 2008
    A  ** RABAX: level LEV_RX_C_STACK completed.
    A  ** RABAX: level LEV_RX_MEMO_CHECK entered.
    A  ** RABAX: level LEV_RX_MEMO_CHECK completed.
    A  ** RABAX: level LEV_RX_AFTER_MEMO_CHECK entered.
    A  ** RABAX: level LEV_RX_AFTER_MEMO_CHECK completed.
    A  ** RABAX: level LEV_RX_INTERFACES entered.
    A  ** RABAX: level LEV_RX_INTERFACES completed.
    A  ** RABAX: level LEV_RX_GET_MESS entered.
    A  ** RABAX: level LEV_RX_GET_MESS completed.
    A  ** RABAX: level LEV_RX_INIT_SNAP entered.
    A  ** RABAX: level LEV_RX_INIT_SNAP completed.
    A  ** RABAX: level LEV_RX_WRITE_SYSLOG entered.
    A  ** RABAX: level LEV_RX_WRITE_SYSLOG completed.
    A  ** RABAX: level LEV_RX_WRITE_SNAP entered.

    A Mon Jan 07 18:48:03 2008
    A  ** RABAX: level LEV_SN_END completed.
    A  ** RABAX: level LEV_RX_SET_ALERT entered.

    A Mon Jan 07 18:48:04 2008
    A  ** RABAX: level LEV_RX_SET_ALERT completed.
    A  ** RABAX: level LEV_RX_COMMIT entered.
    A  ** RABAX: level LEV_RX_COMMIT completed.
    A  ** RABAX: level LEV_RX_SNAP_SYSLOG entered.
    A  ** RABAX: level LEV_RX_SNAP_SYSLOG completed.
    A  ** RABAX: level LEV_RX_RESET_PROGS entered.
    A  ** RABAX: level LEV_RX_RESET_PROGS completed.
    A  ** RABAX: level LEV_RX_STDERR entered.
    A  Mon Jan 07 18:48:04 2008

    A  ABAP Program SAPLSUGI                                .
    A  Source LSUGIU08                                 Line 77.
    A  Error Code RAISE_EXCEPTION.
    A  Module  $Id: //bas/700_REL/src/krn/runt/abfunc.c#10 $ SAP.
    A  Function ab_jfune Line 2561.
    A  ** RABAX: level LEV_RX_STDERR completed.
    A  ** RABAX: level LEV_RX_RFC_ERROR entered.
    A  ** RABAX: level LEV_RX_RFC_ERROR completed.
    A  ** RABAX: level LEV_RX_RFC_CLOSE entered.
    A  ** RABAX: level LEV_RX_RFC_CLOSE completed.
    A  ** RABAX: level LEV_RX_IMC_ERROR entered.
    A  ** RABAX: level LEV_RX_IMC_ERROR completed.
    A  ** RABAX: level LEV_RX_DATASET_CLOSE entered.
    A  ** RABAX: level LEV_RX_DATASET_CLOSE completed.
    A  ** RABAX: level LEV_RX_RESET_SHMLOCKS entered.
    A  ** RABAX: level LEV_RX_RESET_SHMLOCKS completed.
    A  ** RABAX: level LEV_RX_ERROR_SAVE entered.
    A  ** RABAX: level LEV_RX_ERROR_SAVE completed.
    A  ** RABAX: level LEV_RX_ERROR_TPDA entered.
    A  ** RABAX: level LEV_RX_ERROR_TPDA completed.
    A  ** RABAX: level LEV_RX_PXA_RELEASE_RUDI entered.
    A  ** RABAX: level LEV_RX_PXA_RELEASE_RUDI completed.
    A  ** RABAX: level LEV_RX_LIVE_CACHE_CLEANUP entered.
    A  ** RABAX: level LEV_RX_LIVE_CACHE_CLEANUP completed.
    A  ** RABAX: level LEV_RX_END entered.
    A  ** RABAX: level LEV_RX_END completed.
    A  ** RABAX: end no http/smtp
    A  ** RABAX: end RX_GOTO_RABAX
    A  Exception condition "WRITE_FAILED" raised..


    S Mon Jan 07 18:53:35 2008
    S  found spool memory service RSPO-ACTIONS at 1D8C9978

    B Mon Jan 07 20:31:35 2008
    B  table logging switched off for all clients
    Regards,
    Sameer

  • Error connecting KM system to external server.

    Hello All,
    I am trying to connect to an external server from Portal (KM system - webDAV)
    can any one help me in resloving the below error
    Error
    2008-10-27T13:42:15Z: PROPFIND /webdavtest: com.sapportals.wcm.WcmException: sending request to: http://10.aaa.bb.cc/ request uri: /webdav Connection timed out:could be due to invalid address (java.net.SocketException: Connection timed out:could be due to invalid address)
    thanks-
      sk

    Hello Experts.
    I get the following error when connecting to external server from Portal (KM), PROPFIND /webdavtest: 401 Unauthorized. I donu2019t use SSO, i use the option of user mapping in portal and in virtual directory at external, i have not given any user and password.
    I have some questions, which user id and password I need to give when creating an HTTP system in portal, is it required, even if i give the external servers user id and password, it takes some default password.
    Any suggestions are appreciated with points...
    Thanks-
    sk

  • Error while Shell executing from Oracle Using java proc

    Hi All,
    After a long time I'm here again.
    I'm facing one strange problem.
    SQL>
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0      Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    Elapsed: 00:00:00.01
    SQL>
    SQL>And, the purpose of this procedure is to execute shell command from PL/SQL application.
    It seems that this procedure is able to execute shell commands like *'pwd'*.
    But, when it comes to other commands like *'ls -lrt'* or *'sqlldr'* it throws error.
    Kindly find the following details -
    SQL> declare
      2    err_cd   number;
      3    err_desc varchar2(500);
      4  begin
      5   dbms_java.set_output(1000000);
      6   host(p_command => '/a/mis/Sqlloader_script/loader_command/ST_det.sh');
      7   dbms_output.put_line('Successfully Executed SQL Loader Command');
      8  exception
      9      when others then
    10        err_cd := 1;
    11        err_desc := substr(sqlerrm,1,500);
    12        dbms_output.put_line(err_desc);
    13  end;
    14  /
    Process err :/a/mis/Sqlloader_script/loader_command/ST_det.sh: line 19: sqlldr: No such file or directory
    Successfully Executed SQL Loader Command
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.11
    SQL>
    SQL> declare
      2    err_cd   number;
      3    err_desc varchar2(500);
      4  begin
      5   dbms_java.set_output(1000000);
      6   host(p_command => 'pwd');
      7   dbms_output.put_line('Successfully Executed SQL Loader Command');
      8  exception
      9      when others then
    10        err_cd := 1;
    11        err_desc := substr(sqlerrm,1,500);
    12        dbms_output.put_line(err_desc);
    13  end;
    14  /
    Process out :/home/oracle/app/oracle/product/11.2.0/dbhome_1/dbs
    Successfully Executed SQL Loader Command
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.11
    SQL>But, the file exists in the following path -
    SQL> !ls -lrt /a/mis/Sqlloader_script/loader_command/ST_det.sh
    -rwxrwxr-x 1 oracle root 1315 Apr 13 13:40 /a/mis/Sqlloader_script/loader_command/ST_det.shAny idea?
    Where is the privileges that i need to give to the current user?
    When i directly execute the Sql Loader from the oracle o/s - it ran successfully.
    [oracle@pult loader_command]$ /a/mis/Sqlloader_script/loader_command/ST_det.sh
    SQL*Loader: Release 11.2.0.1.0 - Production on Fri Apr 13 14:59:19 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    Commit point reached - logical record count 64
    Commit point reached - logical record count 128
    Commit point reached - logical record count 192
    Commit point reached - logical record count 256
    Commit point reached - logical record count 320
    Commit point reached - logical record count 384
    Commit point reached - logical record count 448
    Commit point reached - logical record count 512
    Commit point reached - logical record count 576
    Commit point reached - logical record count 640
    Commit point reached - logical record count 704
    Commit point reached - logical record count 732
    Succesful execution of Loading.
    [oracle@pult loader_command]$
    [oracle@pult loader_command]$Thanks in advance.

    This is a generic java proc.
    It works well with windows.
    But, facing this problem in Linux.
    Procedure looks like -
    create or replace and compile java source named host as
    import java.io.*;
    public class Host {
      public static void executeCommand(String command) {
        try {
          String[] finalCommand;
          if (isWindows()) {
            finalCommand = new String[4];
            finalCommand[0] = "C:\\windows\\system32\\cmd.exe";  // Windows XP/2003
            finalCommand[1] = "/y";
            finalCommand[2] = "/c";
            finalCommand[3] = command;
          else {
            finalCommand = new String[3];
            finalCommand[0] = "/bin/bash";
            finalCommand[1] = "-c";
            finalCommand[2] = command;
          final Process pr = Runtime.getRuntime().exec(finalCommand);
          pr.waitFor();
          new Thread(new Runnable(){
            public void run() {
              BufferedReader br_in = null;
              try {
                br_in = new BufferedReader(new InputStreamReader(pr.getInputStream()));
                String buff = null;
                while ((buff = br_in.readLine()) != null) {
                  System.out.println("Process out :" + buff);
                  try {Thread.sleep(100); } catch(Exception e) {}
                br_in.close();
              catch (IOException ioe) {
                System.out.println("Failed to print.");
                ioe.printStackTrace();
              finally {
                try {
                  br_in.close();
                } catch (Exception ex) {}
          }).start();
          new Thread(new Runnable(){
            public void run() {
              BufferedReader br_err = null;
              try {
                br_err = new BufferedReader(new InputStreamReader(pr.getErrorStream()));
                String buff = null;
                while ((buff = br_err.readLine()) != null) {
                  System.out.println("Process err :" + buff);
                  try {Thread.sleep(100); } catch(Exception e) {}
                br_err.close();
              catch (IOException ioe) {
                System.out.println("Process error.");
                ioe.printStackTrace();
              finally {
                try {
                  br_err.close();
                } catch (Exception ex) {}
          }).start();
        catch (Exception ex) {
          System.out.println(ex.getLocalizedMessage());
      public static boolean isWindows() {
        if (System.getProperty("os.name").toLowerCase().indexOf("windows") != -1)
          return true;
        else
          return false;
    };Looking for your reply.

  • Facing Error when BPEL Process is invoked through java code

    Hi,
    I wrote a BPEL process (HelloWorld) and deployed it on BPEL Process Server and running fine,even tested from console,it's working fine,but I am trying to invoke this process with java code from Jdeveloper10g.When this file is being run ,it's throwing following error:
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/ejb/EJBException
         at com.oracle.bpel.client.util.ExceptionUtils.handleServerException(ExceptionUtils.java:88)
         at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:303)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:85)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:55)
         at com.wips.TestClass.main(TestClass.java:26)
    Process exited with exit code 1.
    I have required jar in classpath.
    and my java code is as below:
    import com.oracle.bpel.client.Locator;
    import com.oracle.bpel.client.NormalizedMessage;
    import com.oracle.bpel.client.ServerException;
    import com.oracle.bpel.client.dispatch.IDeliveryService;
    import java.rmi.RemoteException;
    import java.util.Map;
    public class TestClass {
    public static void main(String[] args) throws ServerException,
    RemoteException {
    // String xml = "<ns1:input>, India</ns1:input>";
    String xml = "<ns1:HelloWorldProcessRequest><ns1:input>India</ns1:input></ns1:HelloWorldProcessRequest>" ;
    Locator locator = new Locator("default","bpel");
    IDeliveryService deliveryService = (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME );
    NormalizedMessage nm = new NormalizedMessage( );
    nm.addPart("payload", xml);
    NormalizedMessage res = deliveryService.request("HelloWorld", "process", nm);
    Map payload = res.getPayload();
    System.out.println("HelloWorld Service Response is:"+payload.get("payload"));
    Could you figure out ,what might I missing over here..........
    Please help me out !
    Regards......
    Shaily

    Very-very thanks raphel,but still facing problem
    I did following changes in my code
    String xml = "<ns1:HelloWorldProcessRequest><ns1:input>India</ns1:input></ns1:HelloWorldProcessRequest>";
    Properties props=new Properties();
    props.setProperty("orabpel.platform","ias_10g");
    props.setProperty("java.naming.factory.initial","com.evermind.server.rmi.RMIInitialContextFactory");
    props.setProperty("java.naming.provider.url","opmn:ormi://localhost:9700/home/orabpel");
    props.setProperty("java.naming.security.principal","oc4jadmin");
    props.setProperty("java.naming.security.credentials","welcome1");
    props.setProperty("dedicated.rmicontext", "true");
    Locator locator = new Locator("default","bpel",props);
    IDeliveryService deliveryService = (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME );
    NormalizedMessage nm = new NormalizedMessage( );
    nm.addPart("payload", xml);
    NormalizedMessage res = deliveryService.request("HelloWorld", "initiate", nm);
    // deliveryService.post("HelloWorld", "initiate", nm);
    Map payload = res.getPayload();
    System.out.println("HelloWorld Service Response is:"+payload.get("payload"));
    and response is herewith :
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/ias/opmn/optic/OpticException
         at com.oracle.bpel.client.util.ExceptionUtils.handleServerException(ExceptionUtils.java:94)
         at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:303)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:85)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:55)
         at com.wips.TestClass.main(TestClass.java:39)
    Caused by: java.lang.NoClassDefFoundError: oracle/ias/opmn/optic/OpticException
         at com.evermind.util.OpmnHelper.<clinit>(OpmnHelper.java:24)
         at com.evermind.server.rmi.RmiServerLookupStrategy$StandardOpmnServerAccess.getOc4jServers(RmiServerLookupStrategy.java:160)
         at com.evermind.server.rmi.RmiServerLookupStrategy$OpmnLookupStrategy.getAvailableServers(RmiServerLookupStrategy.java:120)
         at com.evermind.server.rmi.RMIClientContext.establishLookupConnections(RMIClientContext.java:139)
         at com.evermind.server.rmi.RMIClientContext.establishRemoteConnections(RMIClientContext.java:165)
         at com.evermind.server.rmi.RMIInitialContext.get(RMIInitialContext.java:62)
         at oracle.j2ee.rmi.RMIInitialContextFactory.getInitialContext(RMIInitialContextFactory.java:59)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
         at javax.naming.InitialContext.init(InitialContext.java:223)
         at javax.naming.InitialContext.<init>(InitialContext.java:197)
         at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:277)
         at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:299)
         ... 3 more
    Process exited with exit code 1.
    Regards,
    Shaily

  • Error Connecting or Deploying from JDEV to BPEL Server

    Hi,
    I am using BPEL PM 10.1.2 installed on a UNIX box.
    I am unable to connect from JDEV to the BPEL server installed in a UNIX server. I get the following error when trying to test the connection
    org.apache.soap.SOAPException:Unsupported response content type "text/plain", must be: "text/xml". Response was:
    <html><head><title>Error instantiating web-application</title></head><bodyError instantiating web-application
    No application named &apos;hw_services&apos; found in the server<br>
    java.lang.InstantiationException: No application named &apos;hw_services&apos; found in the server<br>     at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:705)<br>     at com.evermind.server.http.HttpSite.getApplication(HttpSite.java:426)<br>     at com.evermind.server.http.AJPRequestHandler.initAJP(AJPRequestHandler.java:694)<br>     at com.evermind.server.http.AJPRequestHandler.initRequest(AJPRequestHandler.java:430)<br>     at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:188)<br>     at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:127)<br>     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)<br>     at java.lang.Thread.run(Thread.java:534)<br>
    </body></html>
    This has been working fine until recently.
    I am still able to test processes from the BPEL console.
    Please let me know if anyone has come across this error earlier.

    Hi,
    change the named connection in JDeveloper to not use localhost reference but the data server host reference. The data sources are created from the available named connections.Alternatively you can switch off the automatic datasource creation in Jdeveloper and create them manually
    Frank

  • Portal Runtime Error connecting MDM (Employee repository)

    Hi
    I'm having difficulty getting our MDM repository (Employee). I keep getting a portal exception when trying to view the repository using iView.
    I am able to connect to MDM Customers. I call Result Set of customers using an iView. I tried doing same for Employees, but it is not working and throwing an exception.
    The following exception is logged:
    Exception ID:12:07_06/06/07_0086_17794650
    [EXCEPTION]
    com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
    Component : pcd:portal_content/com.sap.pct/specialist/com.sap.pct.mdm.appl.mdm_550/com.sap.pct.mdm.appl.templates/com.sap.pct.mdm.appl.templates.iviews/com.sap.pct.mdm.appl.result_set_editor
    Component class : com.sap.pct.mdm.tech.editors.ResultSetEditor
    User : Administrator
    at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:969)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:343)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: java.lang.NullPointerException
    at com.sapportals.htmlb.Container.addComponent(Container.java:49)
    at com.sapportals.admin.wizardframework.components.Group.getGroup(Group.java:39)
    at com.sapportals.admin.wizardframework.components.Group.getDisplay(Group.java:45)
    at com.sap.portal.admin.editor.ui.EditorGroup.getDisplay(EditorGroup.java:46)
    at com.sapportals.admin.wizardframework.components.GridContainer.getGrid(GridContainer.java:182)
    at com.sapportals.admin.wizardframework.components.GridContainer.getDisplay(GridContainer.java:210)
    at com.sap.portal.admin.editor.ui.PELayout.doLayout(PELayout.java:145)
    at com.sap.portal.admin.editor.pane.OutPane.doBeforeDisplay(OutPane.java:96)
    at com.sap.portal.admin.editor.pane.EditorPaneWrapper.myDoBeforeDisplay(EditorPaneWrapper.java:95)
    at com.sapportals.admin.wizardframework.components.FlowContainer.doBeforeDisplay(FlowContainer.java:124)
    at com.sapportals.admin.wizardframework.core.WizardInstance.doPre(WizardInstance.java:305)
    at com.sapportals.admin.wizardframework.core.WizardInstance.doWizard(WizardInstance.java:242)
    at com.sap.portal.admin.editor.Editor.doWizard(Editor.java:605)
    at com.sap.portal.admin.editor.Editor.run(Editor.java:150)
    at com.sap.portal.admin.editor.AbstractEditorComponent.doContent(AbstractEditorComponent.java:59)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    ... 29 more

    Hi
    I am getting the same error. Please let know if you were able to resolve this error?
    Regards
    Aruna

Maybe you are looking for