Error in my message encryption

Hi all.
I have been trying to use bouncycastle jars to help me encrypt messages.
I found an example in the net that helps me to do it.
I tried but an exception is impeding me from having the results. This exception is:
java.security.NoSuchProviderException: No provider configured for S/MIME
Does anyone know how to set the providers in the META-INF/javamail-crypto.providers ?
The examples come from this site
http://ydn.krugle.com/files/cvs/cvs.sourceforge.net/javamail-crypto/javamail-
crypto/examples/src/net/suberic/crypto/examples/.
Please help.
Ousmane

Thank you very much for ur quick reply....Thanks, but I would prefer you had actually read it, instead of just repeating all the mistakes I just pointed out.
But in encryption o/p is in byte[] form which is as follow
[B@1a0c10fI don't know why you're repeating that when I have just told you it isn't true. You did this:
System.out.println("encrypted as byte array================ " encrypted);which prints the result of encrypted.toString(). That is not+ the contents of the byte array. I would write the byte array to a file.
Now i have to pass same byte[] as input for decryption method.Read it from the file you just wrote as per my suggestion above.
Now, my problem is m getting this byte[] data as String .No it isn't. See above. Don't do it.
Now, how i convert it into byte[].You don't. You keep the original byte array.
Really I have already just said all this.

Similar Messages

  • GP_CAT:1304: ERROR: An error occurred in the encryption subsystem code (40) error

    Hi,
    my name is Zdenek Svoboda. I'm using WLE 5.1 on Solaris 2.6. I'm trying to
    run an XA enabled Java CORBA objects in the WLE, so I need to create a JDBC
    pool. I developed everything on Windows 2000 and it works fine. I'm trying
    to move the code to Solaris and I'm getting these weird errors when
    constructing the JDBC pool:
    153542.hafnium!RTSJavaServerXA.24817: 10-16-2000: TUXEDO Version
    6.5forWLE5.1
    153542.hafnium!RTSJavaServerXA.24817: LIBTUX_CAT:262: INFO: Standard main
    starting
    153542.hafnium!RTSJavaServerXA.24817: IJINFRA_CAT:2: INFO: Starting JVM
    153542.hafnium!RTSJavaServerXA.24817: srvid = 7, svrgrp = APP_GRP
    153542.hafnium!RTSJavaServerXA.24817: njars = 1
    153542.hafnium!RTSJavaServerXA.24817: IJINFRA_CAT:318: INFO: Static jar
    management in effect
    153544.hafnium!RTSJavaServerXA.24817: main: JTA_CAT:20: INFO:
    ConnectionPoolDataSource created for JDBC driver:
    weblogic.jdbc20.oci815.Driver
    153544.hafnium!RTSJavaServerXA.24817: main: JDBC_CAT:4: INFO: Driver:
    weblogic.jdbc20.oci815.Driver loaded
    153544.hafnium!RTSJavaServerXA.24817: GP_CAT:1304: ERROR: An error occurred
    in the encryption subsystem code (40)
    153544.hafnium!RTSJavaServerXA.24817: main: JTA_CAT:9: WARN: Cannot create
    minimum number of JDBC connections for the JDBC connection pool:
    RTS_SEQUENCE_POOL. Total created: 0.
    My environment is following:
    APPDIR=/home/fu597/work/rts/bin
    CALLBACK_PORT=2458
    CLASSPATH=/local/wlec/udataobj/java/jdk/m3.jar:/local/wlec/udataobj/java/jdk
    /weblogicaux.jar:/local/wlec/udataobj/java/jdk/wleclient.jar:/local/wlec/loc
    ale/java/M3:/net/lyricle/local/bin/rv6.2/java/rvjpro.jar:/local/jdk1.2.2_05a
    /jre/lib/sunrsasign.jar:.
    COBDIR=/opt/tools/cobol/cobolv4
    COBLIB=/opt/tools/cobol/drivers
    FSCONFIG=/home/fu597/work/rts/bin/TLOG
    JAVA_HOME=/net/lyricle/local/bin/jdk1.3
    JAVA_LIBRARY_PATH=/local/jdk1.2.2_05a/jre/lib/sparc:/net/lyricle/local/bin/r
    v6.2/lib:/opt/oracle/product8.1.6.1/lib:/local/wlec/lib:.
    LD_LIBRARY_PATH=/local/jdk1.2.2_05a/jre/lib/sparc:/net/lyricle/local/bin/rv6
    .2/lib:/opt/oracle/product8.1.6.1/lib:/local/wlec/lib:.
    ORACLE_HOME=/opt/oracle/product8.1.6.1
    ORACLE_SID=ORACLE8I
    PATH=/opt/oracle/product8.1.6.1/bin:/local/bin/netbeans/bin:/local/jdk1.2.2_
    05a/bin:/local/jdk1.2.2_05a/jre/bin:/local/jdk1.2.2_05a/jre/bin/classic:/net
    /lyricle/local/bin/rv6.2/bin:/local/wlec:/local/wlec/bin:/local/wlec/weblogi
    cob/bin:.:/usr/bin:/etc:/usr/openwin/bin:/usr/sbin:/usr/ccs/bin:/usr/local/b
    in:/usr/atria/bin:/vobstore/dsk5/trigger_scripts:/vobstore/dsk5/misc_scripts
    :/home/fu597/bin:/home/fu597/script:/opt/tools/tss_root/rel_s4_53/local_chan
    ges/script:/opt/tools/tss_root/rel_s4_53/local_changes/bin:/opt/tools/tss_ro
    ot/rel_s4_53/script:/opt/tools/tss_root/rel_s4_53/bin:/opt/tools/Workshop/SU
    NWspro/bin:/opt/tools/SUNWspro/bin:/opt/tools/pure:/usr/devl/Dev/script.1.Ma
    r.97:/usr/devl/Rel/script_rel.1.Mar.97:/opt/tools/ab/sys:/opt/tools/frame/bi
    n:/opt/oracle/product7.3.4/bin:/opt/oracle/product7.3.4/proc:/opt/tools/tss_
    root/ob/bin:/opt/tools/tss_root/rv.4.2/bin:/opt/tools/SUNprint/bin:/opt/tool
    s/gnu/bin:/opt/tools/java/bin:/opt/tools/netscape:/opt/tools/cobol/cobolv4:/
    opt/tools/tss_root/hawk/bin:/opt/tools/sudo.v1.5.4/bin:.
    PROJECT=/home/fu597/work/rts
    PWD=/home/fu597/work/rts/bin
    RV_HOME=/net/lyricle/local/bin/rv6.2
    THREADS_FLAG=native
    TOBJADDR=//hafnium:2468
    TUXCONFIG=/home/fu597/work/rts/bin/tuxconfig
    TUXDIR=/local/wle
    WL_HOME=/local/wlec
    I use following UBBCONFIG file:
    *RESOURCES
    IPCKEY 55432
    DOMAINID RTS
    MASTER MSTR
    MODEL SHM
    LDBAL N
    *MACHINES
    "hafnium"
    LMID=MSTR
    APPDIR="/home/fu597/work/rts/bin"
    TUXCONFIG="/home/fu597/work/rts/bin/tuxconfig"
    TUXDIR="/local/wle"
    TLOGDEVICE="/home/fu597/work/rts/bin/TLOG"
    TLOGNAME=TLOG
    TLOGSIZE=200
    ULOGPFX="/home/fu597/work/rts/bin/ULOG"
    MAXACCESSERS=100
    MAXWSCLIENTS=50
    *GROUPS
    SYS_GRP
    LMID=MSTR
    GRPNO=1
    APP_GRP
    LMID=MSTR
    GRPNO=2
    OPENINFO="Oracle8_XA:Oracle_XA+Acc=P/hidden/hidden+SesTm=10000+LogDir=/home/
    fu597/work/rts/bin+SqlNet=ORACLE8I+DbgFl=0x7+MaxCur=15+Threads=true"
    CLOSEINFO=""
    TMSNAME=TMS_RTS
    TMSCOUNT=2
    *SERVERS
    DEFAULT:
    RESTART=Y
    MAXGEN=5
    TMSYSEVT
    SRVGRP=SYS_GRP
    SRVID=1
    TMFFNAME
    SRVGRP=SYS_GRP
    SRVID=2
    CLOPT="-A -- -N -M"
    TMFFNAME
    SRVGRP=SYS_GRP
    SRVID=3
    CLOPT="-A -- -N"
    TMFFNAME
    SRVGRP=SYS_GRP
    SRVID=4
    CLOPT="-A -- -F"
    ISL
    SRVGRP=SYS_GRP
    SRVID=5
    CLOPT="-A -- -n //hafnium:2468"
    cns
    SRVGRP=SYS_GRP
    SRVID=6
    CLOPT="-A -- "
    RTSJavaServerXA
    SRVGRP=APP_GRP
    SRVID=7
    SRVTYPE=JAVA
    CLOPT="-A -- -M 100 -jdbclog"
    RESTART=N
    RTSJavaServerXA
    SRVGRP=APP_GRP
    SRVID=8
    SRVTYPE=JAVA
    CLOPT="-A -- -M 100 -jdbclog"
    RESTART=N
    *MODULES
    RTS_BACKEND
    SRVGRP=APP_GRP
    SRVID=7
    FILE="/home/fu597/work/rts/lib/rts_backend.jar"
    RTS_INTF
    SRVGRP=APP_GRP
    SRVID=8
    FILE="/home/fu597/work/rts/lib/rts_intf.jar"
    *SERVICES
    *JDBCCONNPOOLS
    RTS_SEQUENCE_POOL
    SRVGRP=APP_GRP
    SRVID=7
    DRIVER="weblogic.jdbc20.oci815.Driver"
    URL="jdbc:weblogic:oracle:ORACLE8I"
    PROPS="user=hidden;password=hidden;server=ORACLE8I"
    ENABLEXA=N
    INITCAPACITY=2
    MAXCAPACITY=10
    CAPACITYINCR=1
    CREATEONSTARTUP=Y
    RTS_SERVER_POOL
    SRVGRP=APP_GRP
    SRVID=7
    DRIVER="weblogic.jdbc20.oci815.Driver"
    URL="jdbc:weblogic:oracle:ORACLE8I"
    PROPS="user=hidden;password=hidden;server=ORACLE8I"
    ENABLEXA=Y
    INITCAPACITY=2
    MAXCAPACITY=10
    CAPACITYINCR=1
    CREATEONSTARTUP=Y
    RTS_CLIENT_POOL
    SRVGRP=APP_GRP
    SRVID=8
    DRIVER="weblogic.jdbc20.oci815.Driver"
    URL="jdbc:weblogic:oracle:ORACLE8I"
    PROPS="user=hidden;password=hidden;server=ORACLE8I"
    ENABLEXA=Y
    INITCAPACITY=2
    MAXCAPACITY=10
    CAPACITYINCR=1
    CREATEONSTARTUP=Y
    Could you please help me to resolve this issue?
    Thanks
    Zdenek

    I'd make an educated guess, based on the error message, that the problem lies in the PHP/MySQL on the Gracenote site and it ISN'T an iTunes or Apple problem. What you're seeing is similar to a 503 error in a web browser. That's ALWAYS on the server end. Gracenote may work it out or not, but I doubt it's anything you (on your end) or Apple can fix.

  • Import Error The document is encrypted and can't be opened.i am able to open the file on my windows computer at work. there is no password needed.

    I am unable to open an xls file. I get the message: Import Error The document is encrypted and can’t be opened.
    I am able to open the file on my windows computer at work. there is no password needed.

    See note 2 in Troubleshooting issues with iTunes for Windows updates for starters...
    tt2

  • Sapwebdispatcher: ERROR: Connection to message server failed

    Hi Team,
    We have been facing an issue on the webdispatcher. Web-disaptcher is notable to communicate with the Message Server[PRD-XI].
    =====================
    Environment: Set-up =
    =====================
    1. The Webdispatcher is in DMZ. We have opened the port 8100 at the firewall.
    ==========================================================================
    ERROR MESSAGE
    ==========================================================================
    [Thr 2058] Fri Jan 11 18:53:27 2008
    [Thr 2058] *** ERROR => NiBufIConnect: non-buffered connect pending after
    5000ms (hdl 4;10.1.10.56:8100) [nibuf.cpp 4611]
    [Thr 2058] *** ERROR => Connection request from (-1/65535/0) to host:
    10.1.10.56, service: 8100 failed (NIECONN_REFUSED)
    [icxxconn_mt.c 2738]
    [Thr 2058] *** ERROR => IcmConnClientRqCreate() failed (rc=-8)
    [icrxx_mt.c 5100]
    [Thr 2058] *** ERROR => Could not connect to SAP Message Server at
    10.1.10.56. URL=/msgserver/text/logon?version=1.2 [icrxx_mt.c 2459]
    [Thr 2058] *** ERROR => rc=-1, HTTP response code: 0 [icrxx_mt.c 2460][Thr 2058] *** ERROR => see also OSS note 552286 [icrxx_mt.c 2461]
    ==========================================================================
    SAPWEBDISPATCHER VERSION DETAILS:
    ==========================================================================
    wd011:wpiadm 73> sapwebdisp -v
    SAP Web Dispatcher Version 7.00.10, multithreaded, ASCII, 64 BIT
    kernel information
    system name =
    kernel release = 700
    database library =
    compiled on = AIX 2 5 005DD9CD4C00
    compile time = May 19 2007 01:59:47
    update level = 0
    patch number = 110
    source id = 0.111
    supported environment
    operating system
    AIX 1 5
    AIX 2 5
    AIX 3 5
    =============================================================================
    TEST OUTPUT
    ==========================================================================
    wd011:wpiadm 71> sapwebdisp -bootstrap
    SAP Web Dispatcher Bootstrap
    ============================
    This bootstrap will perform the following steps:
    1. create profile file "sapwebdisp.pfl"for SAP Web Dispatcher (if not
    already existing)
    2. create user for web based administration in file "icmauth.txt"(if notalready exisiting)
    3. start SAP Web Dispatcher with the created profile
    After the bootstrap you can use the web based administration
    Generating Profile "sapwebdisp.pfl"
    Hostname of Message Server (rdisp/mshost): 10.1.10.56
    HTTP Port of Message Server (ms/http_port): 8100
    Checking connection to message server...
    ERROR: Connection to message server failed: NIECONN_REFUSED
    Do you want to continue with these settings? no
    ==========================================================================
    BACK-END APPLICATION MESSAGE SERVER DETAILS: SID: PPI [PI/XI]
    ==========================================================================
    icm/server_port_0 PROT=HTTP,PORT=80$$
    ms/server_port_0 PROT=HTTP,PORT=81$$
    trc file: "dev_ms", trc level: 1, release: "700"
    [Thr 1] Thu Jan 3 15:31:05 2008
    [Thr 1] WLM Tag 'PPI/MSG' successfully set for this process
    [Thr 1] MsSSetTrcLog: trc logging active, max size = 20971520 bytes
    systemid 324 (IBM RS/6000 with AIX)
    relno 7000
    patchlevel 0
    patchno 110
    intno 20050900
    make: multithreaded, Unicode, 64 bit, optimized
    pid 2519162
    [Thr 1] ***LOG Q01=> MsSInit, MSStart (Msg Server 1 2519162)
    [msxxserv_mt. 1824]
    [Thr 1] SigISetDefaultAction : default handling for signal 20
    [Thr 1] load acl file = /usr/sap/PPI/SYS/global/ms_acl_info
    [Thr 1] MsGetOwnIpAddr: my host addresses are :
    [Thr 1] 1 : [10.1.10.56] pi100 (HOSTNAME)
    [Thr 1] 2 : [127.0.0.1] loopback (LOCALHOST)
    [Thr 1] 3 : [10.1.99.4] pi100v (NILIST)
    [Thr 1] MsHttpInit: full qualified hostname = pi100
    [Thr 1] HTTP logging is switch off
    [Thr 1] set HTTP state to LISTEN
    [Thr 1] ms/icf_info_server : deleted
    [Thr 1] *** I listen to port sapmsPPI (3600) ***
    [Thr 1] *** I listen to internal port 3900 (3900) ***
    [Thr 1] *** HTTP port 8100 state LISTEN ***
    [Thr 1] CUSTOMER KEY: >R1306811094<
    [Thr 1] Thu Jan 3 15:31:28 2008
    [Thr 1] MsHttpReadUrl2: H-1 url = /sap/public/icf_info/urlprefix (403
    Forbidden)
    [Thr 1] MsHttpReadUrl2: H-1 url = /sap/public/icf_info/logon_groups (403
    Forbidden)
    ======================+++++++++++++++++++++++++++==============================
    Please find the attached file for a better understanding of the trace file.
    A quick action on this would be much appreciated.
    Please let me know for any information required.
    Thank you.
    Regards,
    ~sagar

    Vipin,
    I don't have access to our firewall myself to confirm what ports and services we opened (I worked with our Network Operations team to get this done), but if I recall correctly, it was pretty limited, just http and https over tcp ports 80, 443, 8100, and 8101.  Probably could even restrict that to just https over 443 and 8101.  However, from your configuration, you don't yet have your web dispatcher configured to talk to your message server over https, only http.  I would recommend that you get the web dispatched completely configured and working in as close to your final desired configuration as possible while keeping it inside your firewall, not your dmz.  Then move it to the dmz and see what breaks, and that way you know it's just the firewall that needs configuration at that point.
    To configure the SSL termination, the following are the parameters required and the way that I configured them in our scenario (which terminates incoming SSL requests and re-encrypts them when sending them on to the backend, and also uses SSL for message server communication):
    rdisp/mshost = mshost.domain.org
    ms/https_port = 8101
    wdisp/server_info_protocol = https
    wdisp/group_info_protocol = https
    wdisp/url_map_protocol = https
    icm/server_port_1 = PROT=HTTPS,PORT=443,TIMEOUT=30,PROCTIMEOUT=600
    icm/server_port_2 = PROT=HTTPS,PORT=8101,TIMEOUT=30,PROCTIMEOUT=600
    icm/host_name_full = wdhost.domain.org     (note, use the externally visible name as registered on your SSL certificate for web dispatcher here; does not need to match the actual machine hostname, but must be resolvable in external DNS)
    icm/HTTP/admin_0 = PREFIX=/sap/admin,DOCROOT=\usr\sap\RW1\W00\data\icmanroot/admin,AUTHFILE=\usr\sap\RW1\SYS\global\security\data\icmauth.txt,PORT=8101
    ssl/ssl_lib = $(DIR_EXECUTABLE)\sapcrypto.dll
    ssl/server_pse = $(DIR_INSTANCE)\sec\SAPSSLS.pse
    ssl/client_pse = $(DIR_INSTANCE)\sec\SAPSSLC.pse
    wdisp/ssl_encrypt = 2
    wdisp/ssl_auth = 1
    is/HTTP/show_detailed_errors = FALSE
    wdisp/permission_table = $(DIR_INSTANCE)\sec\ptab
    On the backend host I have the following parameters:
    sec/libsapsecu = \usr\sap\RP1\DVEBMGS00\exe\sapcrypto.dll
    ssl/ssfapi_lib = \usr\sap\RP1\DVEBMGS00\exe\sapcrypto.dll
    ssl/ssl_lib = \usr\sap\RP1\DVEBMGS00\exe\sapcrypto.dll
    ssf/name = SAPSECULIB
    icm/server_port_2 = PROT=HTTPS,PORT=443,PROCTIMEOUT=-1
    ms/server_port_1 = PROT=HTTPS,PORT=8101
    Naturally, a server certificate is configured on the backend that the web dispatcher trusts (it can be an internally generated certificate; the outside public just needs to trust the web dispatcher's certificate, so that one should come from a recognized CA).  Port 8101 is NOT open from the outside, just from the dmz and only to/from the web dispatcher host (this does allow me to use the webadmin interface from the inside).  The https service also has to be activated on the backend in SMICM.
    There's good advice about security setup for the web dispatcher in Note 870127, and troubleshooting advice in the Note mentioned in your tracefile output, 552286.  Fairly complete documentation is in the online help at http://help.sap.com/saphelp_nw70/helpdata/en/de/89023c59698908e10000000a11402f/frameset.htm.  Note 538405 is also good, more for performance configuration than security.
    I hope you find this helpful.
    --Matt

  • Error while downloading. message on E71 GPS USA Ma...

    “Error while downloading” message on E71 with updated GPS USA Maps
    I’m sure I’m not the only one having this problem but I recently updated my maps on my Straight Talk Nokia E71. The phone says I have map download V 3.03 10wk bo4 Mw Open GL LM MN, Map version 0.1.25.114.and I’m using Nokia Ovi Suite 2.2.1.23. After I installed V3.03, I installed it and download the 1.46GB USA map file and the three turn by turn files. But when I first started the GPS app I started getting the following error “Error while downloading”(This is on phone only)
    I have tried to factory reset the phone, re-format the 8GB memory card, remove City data and GF files and even unloaded OVI Suite and reload it. But every time I select GPS app and start to find places or my position, I get "Error while downloading" message. I’m new to this phone and didn’t get a respectable book from Straight Talk. So I don’t know much about this phone or Nokia OS. What is this error and how do I fix it. Also when I try to sync from the phone I get the response "system error". Ovi suite on the PC says I have downloaded all the USA maps and English voice  with street names. Please help I’m at a lost.
    Computer specs
    I am running Win-Vista, with a Broadband connection. 3 GB Ram, 2 gig Pentium dual core.
    Tran’s flash card has plenty room left on card over 5 gigs left.
    If I need to delete a file on the phone please tell me the exact file name because I’m not sure which one to remove from the apps folder.
    Solved!
    Go to Solution.

    @Action_Jackson
    Welcome to the forum!
    Whilst easy for me to say as keep very little data on device, I would suggest backup essential data then delete E:\cities + ,qf file followed by resetting device to "Out of box" state by keying in #7370# then 12345 (default Nokia lock code unless altered by yourself). At this point you would need to open OVI Maps application on device to re-initialise application and re-define necessary folder structure on memory card for device to be recognised by OVI Suite > Maps to re-download your regional mapping.
    Happy to have helped forum with a Support Ratio = 42.5

  • Service desk error creating support message "help- create support message"

    Hi
    I'm customizing SM 7.0 SP Stack 15 service desk scenario. I'm in a VAR SAP, so It's a mandatory scenario.
    I've done all basic settings from General Settings, Connection to SAP, Online Documentation, ...,
    Business Partners, iBase, Basic BC-Sets for Configuration, Number Ranges. After them , for Scenario-Specific Settings-> Service Desk->Service Provider I've done all these steps. At SAP System Solution Manager, I've created solutions at dswp transaction and EW Alert are centralized these steps works. Transaction notif_create works and iBase are well mantained.
    The problem is when I try create a support message from satellite SAP system. I logged With a SAP user which is BP, key user and has authorizations in a satellite system and I choose help->create support message, so a pop-up appears and I fill the fields, and I press button (Save/Send). An error appears:
    Error in Local Message System: Access via 'NULL' object reference not possible. Message was Not Created
    In order solve the error I review:
    - The satellite SAP system is at the iBase installed components.
    - I've Assign Number Range for ABA notifications at SLF1 transaction.
    - I've Checked number range for Service Desk Message at SLFN transaction.
    - I've configured ABA Message transaction DNO_CUST01, transaction DNO_CUST04
    - (satellite system) Transaction sm30, table BCOS_CUST:
       Appl.            +       Dest.                                  +                     +
       OSS_MSG   W     SM_SMGCLNT010_BACK    CUST620          1.0
       TST_CUS                                                        0120009939
       RFC SM_SMGCLNT010_BACK works, SM recollects EW Alert from this satellite system
    - (satellite system) I logged with a SAP user with these roles:
      SAP_SUPPDESK_CREATE
      SAP_BC_CUS_CUSTOMIZER  according SAP NOTE 834534
      SAP_BC_CUS_ADMIN       according SAP NOTE 834534
      SAP_SV_FDB_NOTIF_BC_CREATE
      SAP_SV_FDB_NOTIF_BC_ADMIN
      All these roles are mantained.
    - I've review SAP Notes 834534, 864195, 621927(I haven't applied this SAP Note because it's older)
    Please could you help me?
    Thanks and Regards
    Raul

    Hi,
    When I try create a SAP message via help->create suuport message, I get the same error so I run help->create support message in a satellite system so I run help->create support message in Solution Manager
    system. Also, a dump is generated in Solution Manager when I try create support message or from satellite or from solution manager.
    ========================================================================
    Runtime Errors         OBJECTS_OBJREF_NOT_ASSIGNED
    Date and Time          10.07.2008 10:17:26
    Short text
        Access via 'NULL' object reference not possible.
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "CL_BOR_SERVICE_PPF============CP" had to be
         terminated because it has
        come across a statement that unfortunately cannot be executed.
    Error analysis
        You attempted to use a 'NULL' object reference (points to 'nothing')
        access a component (variable: " ").
        An object reference must point to an object (an instance of a class)
        before it can be used to access components.
        Either the reference was never set or it was set to 'NULL' using the
        CLEAR statement.
    How to correct the error
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "OBJECTS_OBJREF_NOT_ASSIGNED" " "
        "CL_BOR_SERVICE_PPF============CP" or "CL_BOR_SERVICE_PPF============CM004"
        "PROFILE_CONTAINS_PARTNERDEP"
        If you cannot solve the problem yourself and want to send an error
        notification to SAP, include the following information:
    Information on where terminated
        Termination occurred in the ABAP program "CL_BOR_SERVICE_PPF============CP" -
         in "PROFILE_CONTAINS_PARTNERDEP".
        The main program was "SAPMSSY1 ".
        In the source code you have the termination point in line 41
        of the (Include) program "CL_BOR_SERVICE_PPF============CM004".
    =========================================================================
    Thanks and Regards
    Raul

  • Can't get firefox sync to work. I keep getting 'Error While Syncing' message

    I am on Mac OS X 10.6.4, Snow Leopard on a Mini Mac a year old.
    I got a message from X Marks telling me they were shutting down.
    As I use my bookmarks every day and have thousands of them all sorted into folders I definitely never want to lose them or lose access to them if my house burns down or my computer is stolen!
    I was using Firefox 3.6 and followed X Marks advise and downloaded Firefox Sync...but...won't work....kept giving me the 'Error While Syncing' message after trying to sync for a while. I looked at the blog and tried a few things like resetting password, restarting computer, checking my setting etc., but no deal. So, as the Firefox Sync download page told me that if I was using Firefox 4 beta the feature was built in and I didn't need the download, I then downloaded Firefox 4....which has removed my X Marks option, which was at least viable till after Xmas! and I still have the 'Error While Syncing' message beside the Sync button on my status bar....so now I am completely at a loss. The only thing I can do if I can't fix it up is go back to 3.6 and go on using X Marks while it is still available and pray that you get this sorted out before they dissappear.
    I also like to be able to get my updated bookmarks on the other browsers I use, like Chrome and IE, so I would really appreciate it if you would include this cross browser sync capability as soon as you can. I have pledged X Marks that I would even pay for their service to continue as it seems they are so ahead of anyone else in their service and it is a large pain in the you know where that they can't keep going.
    Thanks. and I hope you can help. From the blogs it seems that I am not the only one having this problem of getting the Firefox Sync working

    @globaltruth
    Thank you for your suggestion. I tried it. Unfortunately, the error message still sits on my statusbar, right after the Firefox Sync image.

  • Error while processing message to remote system

    Hi,
    I am trying to load the data from flat file to R/3. I am using the file adapter to pick the file and RFC adapter to transfer into R/3. I am getting the success status in the sxmb_moni and adapter framework(green for both the adapters). But when i check the status in the RWB message monitoring, I am getting the error.
    I am using the message interface defined in the software component for R/3 system which has a different namespace. When i am trying to upload data, i am getting the error as namespace missing in RWB. The detailed error in RWB is as follows:
    Exception caught by adapter framework: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: could not get functionname from XML requst: com.sap.aii.af.rfc.RfcAdapterException: failed to read funtionname from XML document: missing namespace declara
    Delivery of the message to the application using connection AFW failed, due to: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: could not get functionname from XML requst: com.sap.aii.af.rfc.RfcAdapterException: failed to read funtionname from XML document: missing namespace declara.
    The previous thread relating this is:
    Process Integration (PI) & SOA Middleware
    Requesting for a solution.
    Regards,
    Raghavendra

    Hi,
    >>><i>So i tried creating a RFC(using sm59)in the R/3,
    When i try to import the RFC i have created, I am not able to see the one i have created.</i>
    In your R/3 system, go to se38, enter your RFC name. Go to attributes tab, and click on the radio button named "remote enabled"
    This will enable your RFC to be called by an application outside the R/3 system.
    >>><i>Can you please let me know as to what is it that it is connecting to the R/3(destination) and why am i not able to find my RFC.</i>
    You are tyring to log on to your R/3 system, from xi, in order to import the RFC that you have created. Hence you are asked for user id and password.
    You are not able to find your RFC since it has not been remotely enabled or has not been activated.
    Regards,
    Smitha.

  • File to RFC - error while processing message to remote system:com.sap.aii.

    Hi
    i m working on File to RFC scenario. the records are getting displayed in sender CC and receiver CC. But in receiver CC i m also getting the following error:
    Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: JCO.Exception while calling ZRFC in remote system (RfcClient[CC_RIS_STC_PIMASTER_RECEIVER]):com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE:      Screen output without connection to user.    
    Error in processing caused by: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: JCO.Exception while calling ZRFC in remote system (RfcClient[CC_RIS_STC_PIMASTER_RECEIVER]):com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE:      Screen output without connection to user.   
    It was working fine few hours earlier but showing this error now. i was giving a SUBMIT program , but stopped that now.
    But still facing the same problem. and in SXMB_MONI its showing recorded for Outbound processing.
    could anyone help.

    Hi
    I am Facing  Following Error When I am trying to call SAP Screen through JCO.jar
    com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: Screen output without connection to user
    Please Guide Whethere it is possible to call SAP screen Through JCO.jar  ot NOT
    Please HELP if it is possible to Call SAP screen through JCO.jar with step and Code
    Thanks
    Vivek

  • Error in Seeburger Message Monitoring

    Hi ,
    I m using Seeburger as Sender R/3 System.and the receiver is Xi.as an idoc file.
    I m getting error in seeburger message monitoring with status as "Could not send ansynchrone MDN to partner - url not set!". can anybody tell me whats the reason behind it,where it went wrong.

    Really didn't understand your scenario. That sentence makes no sense:
    "I m using Seeburger as Sender R/3 System.and the receiver is Xi.as an idoc file."
    But what I understand from the error message you have provided...................
    if you are using Seeburger AS2 adapter as Receiver Comm Channel..........then there is definitely some cofig error is settings for MDN acknowledgement.
    Under Parameters Tab:
    You must have set the following parameter
    MDN Mode = "ASYNC"
    And has not provided the following parameter just below it :
    Receipt Delivery Address
    This parameter should have value: the URL of your own AS2
    server where the asynchronous MDNs are
    to be delivered.
    Hope this solves your problem.
    Regards,
    Suddha

  • Oracle List of Error codes and messages

    Hi,
    In our application we are planning to use sqlloader to load a huge amount of data into the database. However, to parse the log file we need a list of Oracle error codes and messages that are commonly encountered while loading data using sqlloader. Does anyone know where to get such a list?
    Thanks

    In our application we are planning to use sqlloader to load a huge amount of data into the database. However, to parse the log file we need a list of Oracle error codes and messages that are commonly encountered while loading data using sqlloader. Does anyone know where to get such a list?I don't know where to get such a list, but for a start you could search the log for the words "Error" and "ORA-"

  • While downloading apps from app store I'm getting unknown error has occurred message

    Hi
    I'm seeing the below problem from today morning..
    I am using iPhone 4 unlocked (direct from apple store ). I am getting 'A unknown error has ovcurred' message while trying to download free apps from AppStore.
    I am connected to wi-fi while doing this.
    I used to download without any issues earlier. Please advise on what could be the problem. Thank muvh

    Same problem here in Brazil.
    It seems to be a problem with logging in App Store in the Mac (Yosemite 10.10.2).
    When I tried the very same userid and password I was able to login in to use my iCloud account from the same computer and also from my iPhone.

  • Jdev11.1.1.6.0-Error while translating message to native format-FileWrite

    Im reading a file from a service and transforming the data and writing them into a file through the external reference using a Mediator component.
    I have no problem while building or deploying.
    But while executing I get an error as follows:
    Non Recoverable System Fault :
    Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'WriteAppointmentRequestInLogFile' failed due to: Translation Error. Translation Error. Error while translating message to native format. Please make sure that the payload for the outbound interaction conforms to the schema. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.
    My input is a File Adpater Read operation and output is File Adapter Write operation.
    The schemas are as below:
    Input schema:
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
    xmlns:tns="http://stmatthews.hospital.com/ReadFileDoctorsAppointmentRequest"
    targetNamespace="http://stmatthews.hospital.com/ReadFileDoctorsAppointmentRequest"
    elementFormDefault="qualified"
    attributeFormDefault="unqualified"
    nxsd:version="NXSD"
    nxsd:stream="chars"
    nxsd:encoding="US-ASCII"
    <xsd:element name="doctorAppointmentRequestRoot"><xsd:complexType>
    <xsd:sequence>
    <xsd:element name="doctorAppointmentRequest" minOccurs="1" maxOccurs="unbounded">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="C1" type="xsd:int" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C2" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C3" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C4" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C5" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C6" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C7" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C8" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C9" type="xsd:int" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C10" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C11" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C12" type="xsd:int" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C13" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C14" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C15" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="${eol}" nxsd:quotedBy="&quot;" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    Output Schema:
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
    xmlns:tns="http://stmatthews.hospital.com/LogDoctorAppointmentRequests"
    targetNamespace="http://stmatthews.hospital.com/LogDoctorAppointmentRequests"
    elementFormDefault="qualified"
    attributeFormDefault="unqualified"
    nxsd:version="NXSD"
    nxsd:stream="chars"
    nxsd:encoding="US-ASCII"
    <xsd:element name="AppointmentRequestsLog"><xsd:complexType>
    <xsd:sequence>
    <xsd:element name="AppointmentRequest" minOccurs="1" maxOccurs="unbounded">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="C1" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C2" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C3" type="xsd:int" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C4" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C5" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C6" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C7" type="xsd:int" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C8" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
    <xsd:element name="C9" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="${eol}" nxsd:quotedBy="&quot;" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    <!--NXSDWIZ:C:\SOAHandbook\DoctorsAppointmentRequestProcessor\DoctorAppointmentRequestProcessor\samples\Logged_DoctorsAppointmentRequestFile.txt:-->
    <!--USE-HEADER:false:-->
    Transformation XSL used in Mediator:
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsl:stylesheet version="1.0"
    xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/file/DoctorsAppointmentRequestProcessor/DoctorAppointmentRequestProcessor/ReadFileDoctorsAppointmentRequest"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:pc="http://xmlns.oracle.com/pcbpel/"
    xmlns:bpm="http://xmlns.oracle.com/bpmn20/extensions"
    xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:socket="http://www.oracle.com/XSL/Transform/java/oracle.tip.adapter.socket.ProtocolTranslator"
    xmlns:mhdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.mediator.service.common.functions.MediatorExtnFunction"
    xmlns:oraext="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:imp1="http://stmatthews.hospital.com/ReadFileDoctorsAppointmentRequest"
    xmlns:dvm="http://www.oracle.com/XSL/Transform/java/oracle.tip.dvm.LookupValue"
    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:med="http://schemas.oracle.com/mediator/xpath"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
    xmlns:ns1="http://stmatthews.hospital.com/LogDoctorAppointmentRequests"
    xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:xdk="http://schemas.oracle.com/bpel/extension/xpath/function/xdk"
    xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:bpmn="http://schemas.oracle.com/bpm/xpath"
    xmlns:ns0="http://xmlns.oracle.com/pcbpel/adapter/file/DoctorsAppointmentRequestProcessor/DoctorAppointmentRequestProcessor/LogDoctorAppointmentRequests"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    exclude-result-prefixes="xsi xsl tns pc plt wsdl imp1 jca xsd ns1 ns0 xp20 bpws bpel bpm ora socket mhdr oraext dvm hwf med ids xdk xref bpmn ldap">
    <xsl:template match="/">
    <ns1:AppointmentRequestsLog>
    <ns1:AppointmentRequest>
    <ns1:C1>
    <xsl:value-of select="xp20:current-date()"/>
    </ns1:C1>
    <ns1:C2>
    <xsl:value-of select='substring-before("doctor1234_20120926_helloworld","_")'/>
    </ns1:C2>
    <ns1:C4>
    <xsl:value-of select="concat(/imp1:doctorAppointmentRequestRoot/imp1:doctorAppointmentRequest/imp1:C2,/imp1:doctorAppointmentRequestRoot/imp1:doctorAppointmentRequest/imp1:C3)"/>
    </ns1:C4>
    <ns1:C5>
    <xsl:value-of select="/imp1:doctorAppointmentRequestRoot/imp1:doctorAppointmentRequest/imp1:C4"/>
    </ns1:C5>
    <ns1:C6>
    <xsl:value-of select="/imp1:doctorAppointmentRequestRoot/imp1:doctorAppointmentRequest/imp1:C5"/>
    </ns1:C6>
    <ns1:C7>
    <xsl:value-of select="/imp1:doctorAppointmentRequestRoot/imp1:doctorAppointmentRequest/imp1:C12"/>
    </ns1:C7>
    <ns1:C8>
    <xsl:value-of select="/imp1:doctorAppointmentRequestRoot/imp1:doctorAppointmentRequest/imp1:C14"/>
    </ns1:C8>
    <ns1:C9>
    <xsl:value-of select="/imp1:doctorAppointmentRequestRoot/imp1:doctorAppointmentRequest/imp1:C15"/>
    </ns1:C9>
    </ns1:AppointmentRequest>
    </ns1:AppointmentRequestsLog>
    </xsl:template>
    </xsl:stylesheet>
    Just in case if you are aware, Im trying the example in Lucas Jellema's book Chapter 7 and Im getting the error there in the first example project.
    I have seen few very old threads on this problem in the forum but none of them had any answers so opening up a new one.
    Thanks.

    Your transformation with for-each look is incorrect.
    This is what you have right now:
    <ns1:AppointmentRequestsLog>
    <xsl:for-each select="/imp1:doctorAppointmentRequestRoot/imp1:doctorAppointmentRequest">
    <ns1:AppointmentRequest>
    <ns1:C1>
    <xsl:value-of select="xp20:current-date()"/>
    </ns1:C1>
    <ns1:C2>
    <xsl:value-of select='substring-before("doctor1234_20120926_helloworld","_")'/>
    </ns1:C2>
    <ns1:C3>
    <xsl:value-of select="/imp1:doctorAppointmentRequestRoot/imp1:doctorAppointmentRequest/imp1:C2"/>
    </ns1:C3>This is the correct way to write for-each within XSLT:
    <ns1:AppointmentRequestsLog>
    <xsl:for-each select="/imp1:doctorAppointmentRequestRoot/imp1:doctorAppointmentRequest">
    <ns1:AppointmentRequest>
    <ns1:C1>
    <xsl:value-of select="xp20:current-date()"/>
    </ns1:C1>
    <ns1:C2>
    <xsl:value-of select='substring-before("doctor1234_20120926_helloworld","_")'/>
    </ns1:C2>
    <ns1:C3>
    <xsl:value-of select="imp1:C2"/>
    </ns1:C3>Also, check the flow trace in the EM console for the instance which errored out and paste here the data which is being sent to the FileWrite Adapter. Also, you need to ensure that any elements which are defined as xs:int should not have empty string as values. For example in your write schema C3 has int. So you should map C3 in XSLT like following:
    <xsl:choose>
    <xsl:when test="imp1:C2 and string-length(imp1:C2) > 0">
    <ns1:C3>
    <xsl:value-of select="imp1:C2"/>
    </ns1:C3>
    </xsl:when>
    <xsl:otherwise>
    <ns1:C3>0</ns1:C3>
    </xsl:otherwise>
    </xsl:choose>

  • INVALID_QUEUE_NAME :  Error while scheduling message using qRFC

    Hello SDNers
    We are currently performing our PI 7.1 upgrade and one of our scenario uses a Sender SOAP of the type EOIO. We tried executing this scenario in PI 7.1 XID environment and in it worked fine without any errors but in our PI 7.1 QA environment it is giving the following errors
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Message Split According to Receiver List
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">SCHEDULE_ERROR</SAP:Code>
      <SAP:P1>XBQOC___*</SAP:P1>
      <SAP:P2>INVALID_QUEUE_NAME</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>Error while scheduling message using qRFC (queue name = XBQOC___*, exception = INVALID_QUEUE_NAME)</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Can you please exaplian what could be the issue we are facing.
    Thanks.
    Kiran
    Edited by: Kiran Sakhardande on Oct 22, 2008 4:08 PM

    HI Kiran,
    Have gone throgh the following link?
    INVALID_QUEUE_NAME
    Regards
    Sridhar Goli

  • Error while processing message payload Element 'CategoryCode&#39

    Hi Experts,
    I am trying to integrate SAP ECC with TM. I have transferred the sales order from ECC to TM, but its not triggering order based transportation requirement (OTR) instead giving an error Error while processing message payload Element &#39;CategoryCode&#39 and all the xml messages are stuck in inbound queue. The screen shot of the issue is as appended herewith. Please advise.
    Thanks & Regards,
    Aunkur De

    Hi Aunkur,
    The issue will generally  come when a mandatory field in XML which you are not sending either or missed.
    Please check if all mandatory fields are mapped properly.
    Best regards,
    Rohit

Maybe you are looking for