Tuxedo Runtime issues.

I am attempting to create a replicated environment of tuxedo on aix. However facing two errors i am not sure if they are different from each other or same:
1) When i attempt buildtms using buildtms -r Oracle_XA -o EPTMS
i get the following errors and create the file:
cc: unrecognized option '-brtl'
cc: unrecognized option '-qstaticinline'
cc: unrecognized option '-brtl'
cc: unrecognized option '-qstaticinline'
2) When i tmboot processes it gives errors on most of the processes as follows:
CMDTUX_CAT:819: INFO: Process id=1400908 Assume started (pipe).
exec TxGetHostData -A -s atux_TxGet:TxGetHostData -- -U :
Could not load program TxGetHostData:
rtld: 0712-001 Symbol strcat was referenced
from module TxGetHostData(), but a runtime definition
of the symbol was not found.
rtld: 0712-001 Symbol strcpy was referenced
from module TxGetHostData(), but a runtime definition
of the symbol was not found.
rtld: 0712-001 Symbol strcmp was referenced
from module TxGetHostData(), but a runtime definition
of the symbol was not found.
rtld: 0712-001 Symbol strncpy was referenced
from module TxGetHostData(), but a runtime definition
of the symbol was not found.
rtld: 0712-001 Symbol log was referenced
from module TxGetHostData(), but a runtime definition
of the symbol was not found.
Any suggestions?
Thanks in advance
Salman

Hi Salman,
What version of Tuxedo are you using? What version of AIX are you using? What compiler are you using? I'm guessing from the errors that you are likely using an unsupported compiler, either the wrong version of the IBM AIX compiler or perhaps the GNU compiler which isn't supported on AIX.
Oh, one other question: Have you been able to build and run any Tuxedo application with the environment that you've set up such as the Tuxedo simpapp sample application?
Regards,
Todd Little
Oracle Tuxedo Chief Architect

Similar Messages

  • Tuxedo runtime licensing

    Hi Friends, I have a question about the Tuxedo runtime licensing.
    Does the Tuxedo runtime license can cover the Oracle Tuxedo software? As I know Tuxedo runtime is an add-on product for Oracle Tuxedo. Thank you:)

    Hi Kenny,
    I see that you have Tuxedo licenses from BEA. Are you upgrading to Oracle Tuxedo 10.3 or later version from BEA Tuxedo?
    Licenses you have cover Oracle Tuxedo as long as use of Tuxedo has not changed. For example, you have BEA Tuxedo Runtime Concurrent User Perpetual license. You can use these licenses with Oracle Tuxedo once you upgrade as long as number of concurrent users do not exceed what you are licensed for.
    A SDK developer license is assigned to an individual developer. This individual can use Tuxedo to develop/test Tuxedo applications.
    Hope this helps,
    Deepak

  • Dynamic class loading at runtime issues

    Hi,
    my system works by loading lots of classes located in numerous jars at runtime, it works ok but there are a few things i would like to resolve.
    1. When i come to implement an interface that is located in a jar with my IDE, the names of method variables are lost. So instead of the method having the inputs I set such as "String name, String type", i see "String s1, String s2". This is inconvinient and very error prone!
    2. If an exception is thrown in one of my dynamically loaded classes, the line at which the exception occoured at is lost. So instead of saying "some.package.FautlyClass.method(FautlyClass.java:39)" in an exception it says " some.package.FautlyClass.method(Unkown Source)". This even happens when i output a log from the class from which the exception is thrown.
    If anyone has any help/advice/solutions with these issues it would be much appreciated.
    Ck

    Most IDE's have an option, usually in the compiler preferences or project area, to "save local variable names". That should remove the "unknown source" message, but it will depend vastly on your IDE's options.
    Which IDE are you using? I've never heard of one dynamically renaming variables on the fly, unless you are specifically asking it to obfuscate your code.
    - Saish
    "My karma ran over your dogma." - Anon

  • Portal runtime issue while starting up

    Hi Friends,
    We are getting the following error while stating portal
    http://<HN>:50000/irj/portal
    error msg "500: Internal server error. Application error occurred during request processing. Details: java.lang.NullPointerException: null".
    Whereas can able to login to http://<HN>/50000/index.html  and able to look in NWA tools.
    1)Navigating to the portal results in the error msg "500: Internal server error. Application error occurred during request processing. Details: java.lang.NullPointerException: null". However this error does not seem to be reflected in the portal logs . However J2EE engine seems to be working as NWA is working. Only the Portal Run time seems to be failing.
    2) Changes to prtCentral.properties file is not picked up after a portal restart. It should be renamed by the system to prtCentral.properties.bak after the changes have been updated into the DB. This does not happen.
    3) The following errors found in dispatcher logs std_server0.out during server restarts:
              com.sap.portal.prt.runtime [SAPEngine_Application_Thread[impl:3]_3] Fatal: [Portal.init] Application Broker - initialization failed
              com.sap.portal.prt.sapj2ee.error [SAPEngine_System_Thread[impl:5]_75] Fatal: Exception while starting: sap.com/com.sap.netweaver.bc.rf
              com.sap.portal.prt.sapj2ee.error [SAPEngine_System_Thread[impl:5]_75] Fatal: Exception while starting: sap.com/com.sap.netweaver.bc.sf.service
    4) Following fatal SSL errors also found during restart:
              Severity:  fatal;Source: ; Description: SSL transport supplier registered; Consequences: <event>; Countermeasures:<event>
              Severity:  fatal; Source: ; Description: Unregistering SSL transport supplier; Consequences: <event>; Countermeasures:<event>
    5)Many many similar errors about not being able to find path of various log files. Example below:
    java.lang.Exception: .\log\applications\sap.com\com.sap.tc.lm.ctc.cul.webservice\common.log.0 (The system cannot find the path specified)
    at com.sap.tc.logging.FileLogInfoData.getEOLLength(FileLogInfoData.java:432)
    Can you please some light on this issue..
    Thanks
    Venkat

    Hi,
    Can't find anything special in the logs.
    jcmon is showing
    jcmon:
    Idx
    Name
    PID
    State
    Error
    Restart
    0
    dispatcher
    4763794
    Running
    0
    yes
    1
    server0
    2367676
    Running
    0
    yes
    2
    SDM
    2158744
    Running
    0
    yes
    nevertheless, for example after a server remove, we are getting the problem. Sub-Directory delete helps, but always a Sub-Directory remove after each UNIX server reboot or password changes ...
    spaces between directories: Spaces between UNIX directories?
    We are using a SeOS UNIX security tool. I did different tests and found, that SeOS in warning mode with a UNIX server reboot made no portal problems. SeOS in Live mode, we got the portal problems. The securtiy team found nothing related to SeOS.
    I am aware about the Portal problem, since I did a SP18 update, maybe we had it before, but I was not aware about it.
    After reviewing a trace, the portal startup failure is the missing coreapplication.xml file. Which seems to be sometimes available and sometimes not.
    Bernd

  • ADF Application Runtime issue in StandAlone Weblogic Server

    Hi All,
    I tried deploying my ADF Mobile Browser Application in a StandAlone Weblogic Server. The application was targeted to Admin Server and everything worked fine.
    But when Targeted to Managed Server the login page alone was rendered (without CSS). Tried loging in with correct as well as wrong passwords but there was no response from the page. (Login button acted like a dummy one)
    Even the managed server log had no error messages.
    DataSource where configured correctly and targeted both to Admin n Managed Server.
    I tried deploying the same in Client's Testing Environment and the same problem occured even in Admin Server.
    I couldnt figure out wats the issue.
    PS:
    Weblogic Server Version : 10.3.6
    ADF Runtime:11.1.1.6
    JDeveloper Version : 11.1.2.1
    The App Contains ADF Authentication Security. Will that cause any issue?
    Two Cents
    Karthick

    Your jdev version and the adf runtime on the wls have to match. Check http://tompeez.wordpress.com/2011/09/14/jdeveloper-versions-vs-weblogic-server-versions/ for a list of matching versions.
    Timo

  • Tuxedo Production Issue:LIBTUX_CAT:5005

    Dear friends,
    Problem : We getting the Tuxedo Error LIBTUX_CAT:5005 , in our Production Environment , frequently .
    The Impact : Tuxedo Is not at all responding , even tmadmin/tmipcrm/tmshutdown commands are not responding .
    Please help us to identify the root cause for this issue.
    Here is the Details of our Tuxedo Production environment
    TUXEDO MACHINE DETAILS
    Tuxedo Version : TUXEDO 8.0
    Patch : No Patch Applied
    Operating System : AIX Version 5.3 level 04
    oslevel -r : 5300-04
    Oracle client : SQL*Plus: Release 9.2.0.3.0 - Production on Sat May 12 19:25:18 2007
    System Model: IBM,9119-590
    Processor Type: PowerPC_POWER5
    Processor Clock Speed: 1654 MHz
    CPU Type: 64-bit
    Kernel Type: 64-bit
    Firmware Version: IBM,SF235_206
    Paging Space Information
    Total Paging Space: 4096MB
    DATABASE MACHINE DETAILS .
    Oracle Version : 10.2.0.3 (10g release2 patch 2 )
    Operating System : AIX Version 5.3 level 04
    oslevel -r -> 5300-04
    System Model: IBM,9119-590
    Processor Type: PowerPC_POWER5
    Processor Clock Speed: 1654 MHz
    CPU Type: 64-bit
    Kernel Type: 64-bit
    Firmware Version: IBM,SF235_206
    Paging Space Information
    Total Paging Space: 10240MB
    Entry details from ULOG .
    63924.mware02!bnatrx.11628728.1.0: Starting service BNATRX [Key = 0220B472201108A1A00000000000040000805402000000000180000000000000000.000000003241163925051268200000000588845     7132160032410376    BNAQTF4803550376            ]
    163924.mware02!bnatrx.11628728.1.0: NAZIM - Before calling stored procedure --- INPUT-FIELDS = [0220B472201108A1A00000000000040000805402000000000180000000000000000.000000003241163925051268200000000588845 7132160032410376 BNAQTF4803550376 QATIF 0151003|5001|10001SARSAR1040248100 1040248100 0001175.75 002008010810000000000000000000]
    163924.mware02!bnatrx.11628728.1.0: DEBUG: Just before bna_caller [Key = 0220B472201108A1A000000000000400008]
    163924.mware02!bnatrx.11628728.1.0: JUN B - Reply of bna_caller OUTPUT-FIELDS = [ATMFINUPD0320070512163925B003241             000000001001001000000000000000000000000000000025   BNA0376                         555500000000000000NOR66660000864UBCH2007051220070512SAR0000000000180.000000000000180.00BNA SEC Bill  # 1040248100              48              /025                    00000000000000000000SAR0000000000000.0001.00000020070512N      00000000000000000000SAR0000000000000.0001.00000020070512N      SAR0000000000000.0000000000000000000000SAR0000000000000.0000000000000000000000                    163925         000000         000000NNNNNNNNNN      085000000000000000                          NN1040248100     04        00C0001            0000000000000000000000000180.000020080108]
    163924.mware02!op2trx.14397630.1.0: DEBUG: About to call service 'GFCUPD'
    163937.mware02!BBL.4866204.1.0: LIBTUX_CAT:5005: WARN: USEM[0] lock appears stuck: held by pid=4096190
    163944.mware02!sddtrx.12288238.1.0: Entering service SDDTRX: [Key = BDSFININQ1120070512163944878800    ]
    163944.mware02!sddtrx.12288238.1.0: SDDTRX: TranCode/Numentries is SDDTRX01 0
    163944.mware02!sddtrx.12288238.1.0: DEBUG: Forward to GFCINQ: [BDSFININQ1120070512163944878800              000000001001001000000000000000000000000000000067   02BSF7690                       555500000000000000NOR6666000002901        26577893       03  ]
    163944.mware02!sddtrx.12288238.1.0: Entering service SDDTRX: [Key = BDSFININQ1120070512163944878805    ]
    163944.mware02!sddtrx.12288238.1.0: SDDTRX: TranCode/Numentries is SDDTRX01 0
    163944.mware02!sddtrx.12288238.1.0: DEBUG: Forward to GFCINQ: [BDSFININQ1120070512163944878805              000000001001001000000000000000000000000000000067   02BSF7690                       555500000000000000NOR6666000002901        26577893       03  ]
    163947.mware02!BBL.4866204.1.0: LIBTUX_CAT:5005: WARN: USEM[0] lock appears stuck: held by pid=4096190
    163948.mware02!sddtrx.12288238.1.0: Entering service SDDTRX: [Key = BDSFINUPD0320070512163947878810    ]
    163948.mware02!sddtrx.12288238.1.0: SDDTRX: TranCode/Numentries is SDDTRX01 0
    163948.mware02!sddtrx.12288238.1.0: DEBUG: Forward to GFCUPD: [BDSFINUPD0320070512163947878810              000000001001001000000000000000000000000000000067   02BSF7690                       555500000000000000NOR66660000864UBCH2007051220070512SAR0000000000703.450000000000703.45STC Bill Bill # 265778933                                                       00000000000000000000SAR0000000000000.0001.00000020070512N      00000000000000000000SAR0000000000000.0001.00000020070512N      SAR0000000000000.00                    SAR0000000000000.00                                        163947         000000         000000NNNNNNNNNN      022000000000000000                          NN265778933      01        00C03            0000000000000000000000000703.450020070415                 000000002007041520000000000000.0000   00000000000            00                                                                                                                        ]
    163957.mware02!BBL.4866204.1.0: LIBTUX_CAT:5005: WARN: USEM[0] lock appears stuck: held by pid=4096190
    164007.mware02!BBL.4866204.1.0: LIBTUX_CAT:5005: WARN: USEM[0] lock appears stuck: held by pid=4096190
    164017.mware02!BBL.4866204.1.0: LIBTUX_CAT:5005: WARN: USEM[0] lock appears stuck: held by pid=4096190
    164027.mware02!BBL.4866204.1.0: LIBTUX_CAT:5005: WARN: USEM[0] lock appears stuck: held by pid=4096190
    164037.mware02!BBL.4866204.1.0: LIBTUX_CAT:5005: WARN: USEM[0] lock appears stuck: held by pid=4096190
    164047.mware02!BBL.4866204.1.0: LIBTUX_CAT:5005: WARN: USEM[0] lock appears stuck: held by pid=4096190
    164057.mware02!BBL.4866204.1.0: LIBTUX_CAT:5005: WARN: USEM[0] lock appears stuck: held by pid=4096190
    164107.mware02!BBL.4866204.1.0: LIBTUX_CAT:5005: WARN: USEM[0] lock appears stuck: held by pid=4096190
    164117.mware02!BBL.4866204.1.0: LIBTUX_CAT:5005: WARN: USEM[0] lock appears stuck: held by pid=4096190
    Thanks In Advance for your help and support
    Nadeer
    Edited by nadeer78 at 05/13/2007 2:49 AM

    Hi Lin,
    I do know there was a problem with the Tuxedo 8.1 restart server under certain conditions (mostly related to having to restart large numbers of servers in a short period of time) that might have caused a problem like you are seeing.
    I suggest you contact BEA support and open a case with them. They'll have access to the best information regarding this type of a problem and will be able to help you get this resolved.
    Regards,
    Todd Little
    BEA Tuxedo Chief Architect

  • Tuxedo domain issue

    There is a very strange case here in my application. The GWTDOMAIN always terminated
    abnormally and restarted again. I checked the core dump file it generated and
    it showed me that it happened in '_tmrunserver()'. I do not know why.

    Folks,
    Hello. I am confusing !
    There are 3 options ( sysdba, sysoper and sysasm ) for the command SQLPLUS.
    Let me explain the commands one by one as below:
    First, the command  $./sqlplus AccessId/myPwd cannot connect with SQL> and then we cannot start up Database Instance HRCS90 !
    Second, I run sysdba option in the following order:
    $./sqlplus AccessId/myPwd as sysdba
    SQL>startup
    SQL>@/opt/PT8.53/scripts/rel853.sql
    SQL> select OPERPSDWSALT from AccessId.PSOPRDEFN;
    Its output: OPERPSWDSALT: invalid identifier. I have checked the field is not created into table PSOPRDEFN.
    Third, I run sysoper option in the following order:
    SQL>shutdown immediate;
    SQL>exit
    $./sqlplus AccessId/myPwd as sysoper
    SQL>startup
    SQL>@/opt/PT8.53/scripts/rel853.sql
    When run rel853.sql, I saw many insufficient priviledges regarding Create Tables.
    SQL> select OPERPSWDSALT from AccessId.PSOPRDEFN;
    Its output: OPERPSWDSALT : invalid identifier. This error is the same with option sysdba.
    Fourth, I run sysasm option as below:
    SQL>shutdown immediate;
    SQL>exit
    $./sqlplus AccessId/myPwd as sysasm
    It returns: Logon denied.
    As we see above, I have tried 3 options(sysdba, sysoper, sysasm) to run the command sqlplus AccessId/myPwd but the result of script rel853.sql  is not right.
    My question is:
    Can any folk tell me the correct order and commands to run the script rel853.sql ?
    Thanks.
    Folks,
    Hello. All of the above 3 options are wrong. I have done below:
    $./sqlplus / as sysdba
    SQL>show user;
    USER is "SYS"
    SQL>startup
    SQL>connect AccessId/myPwd
    SQL>show USER;
    USER is "AccessId"
    SQL>@/opt/PT8.53/scripts/rel853.sql
    Script completed.
    Application Designer login into Database HRCS90 successfully now.
    Tuxedo Application Server boot domain HRCS90 with 8 processes started.
    The issue is solved. Thank you all very much.

  • KEEP_STATE/Tuxedo buildserver issue

    Hello, I became familiar with KEEP_STATE a few months ago.  It seems to work great... however, the Tuxedo buildserver utility seems to be tripping it up.   I must be doing something obviously wrong here, because I can seem to find any other's sharing this experience anywhere here or elsewhere on the web.. and I assume there plenty of other folks out there who are running buildserver from a makefile.
    The problem seems to be... the temporary stub main module (BS-*.c) that buildserver generates.   Each one of these is getting added to the .make.state file, and seems to trigger a re-build of the target executable. So, it just keeps re-running buildserver over and over again, as each new BS-*.c file is generated.
    I think a simple fix... would be a buildserver command line option to enable one to explicitly specify the name of the stub module, but I can find no such option.
    Before I begin sharing makefile content, etc... I'll just throw this out there, see if there are any immediate answers.
    Is there anything I can do to prevent KEEP_STATE from picking up each of these new BS-*.c files as they're created?
    Thanks in advance for any insights,
    Jeff

    Hi Jeff,
    Thank you very much for your report. I'm RE for dmake, and I'll be happy to help you in this investigation.
    Can you file a bug against dmake for this issue?
    Here is an example of a bug report:
    https://bug.oraclecorp.com/pls/bug/webbug_edit.edit_info_top?rptno=17990242&rptno_count=1&pos=1&report_title=&query_id=-1
    It would be great to have a small test case, but if it is difficult to create, we can use your real build process to investigate the problem.
    Thanks.
    Nik

  • Adobe Air 3.7 Runtime issue

    Application Overview: The application is a digital book in which the user has a set of tools like pen, eraser, highlight and so on... The user can create annotations using the tools on top of the digital book and can save the annotations created to user local system.
    Requirement: The application is expected to work fine with the latest Adobe Air runtime 3.7 as how it was working with the previous runtimes.
    Problem: The application is getting crashed when we create some annotation and exit the application in “Adobe air run time 3.7”, and also this occurs only in some systems irrespective of any windows OS( XP, windows 7 ) tested. But the application works fine if we have the “Adobe air run time 2.6”. Please find the error details that we got when the application got crashed.
    Problem signature:
      Problem Event Name: APPCRASH
      Application Name:         test.exe
      Application Version:     0.0.0.0
      Application Timestamp:              4d7a7dd4
      Fault Module Name:    Adobe AIR.dll
      Fault Module Version: 3.7.0.1860
      Fault Module Timestamp:          51817f6f
      Exception Code:             c0000005
      Exception Offset:           001ad406
      OS Version:      6.0.6000.2.0.0.256.6
      Locale ID:           1033
      Additional Information 1:           4ec5
      Additional Information 2:           ef785832683e1b4fae1b2e480d9b0736
      Additional Information 3:           ba57
      Additional Information 4:           89efb5c517e1b2fb1203cf77a6175804
    Read our privacy statement:
      http://go.microsoft.com/fwlink/?linkid=50163&clcid=0x0409
    Regards,
    Basker D

    Same here. This has only started happening since using the AIR 3.7 runtime and debugger.
    Problem signature:
      Problem Event Name:    APPCRASH
      Application Name:    RCMS Desktop 3.exe
      Application Version:    0.0.0.0
      Application Timestamp:    51a69f23
      Fault Module Name:    Adobe AIR.dll
      Fault Module Version:    3.7.0.2090
      Fault Module Timestamp:    51a6a3cb
      Exception Code:    c0000005
      Exception Offset:    001ad866
      OS Version:    6.1.7601.2.1.0.256.1
      Locale ID:    2057
      Additional Information 1:    0a9e
      Additional Information 2:    0a9e372d3b4ad19135b953a78882e789
      Additional Information 3:    0a9e
      Additional Information 4:    0a9e372d3b4ad19135b953a78882e789

  • Java mapping runtime issue

    Hi,
    I have currently created a java mapping which unzips files and transforms plain text/falt files to xml according to a specific structure... So far so good. This stuff works perfectly when testing interface mapping in the repository. However at runtime it does not work, and this is where you clever guys come into the picture:-)
    It should be mentioned that the zip-file is dropped on a MQ-queue and picked up in XI and passed on to a BPM - the only thing the BPM does is to perform the java mapping and afterwards send one of the messages to R/3 and the other to CRM.
    The concrete error given at runtime in the PE is:
    Error handling for work item 000000718016
    Work item 000000718016: Object CL_SWF_XI_MSG_BROKER method CALL_TRANSFORMATION cannot be executed
    Parsing error before mapping: unexpected end-of-file (line 1, column 1)
    Hope somone can help me on this matter,
    Best regards,
    Daniel
    PS: In case it is of interest/use the java code used is this:
    package dk.post.xi.unzipAndConvert;
    import java.io.*;
    import java.util.Map;
    import java.util.HashMap;
    import java.util.zip.ZipEntry;
    import java.util.zip.ZipInputStream;
    import com.sap.aii.mapping.api.MappingTrace;
    import com.sap.aii.mapping.api.StreamTransformation;
    import com.sap.aii.mapping.api.StreamTransformationConstants;
    import com.sap.aii.mapping.api.StreamTransformationException;
    public class UnzipMain implements StreamTransformation {
         private MappingTrace mappingTrace = null;
         private Map param = null;
         private StringBuffer currentXmlRecord = new StringBuffer();
        private StringBuffer currentPlainRecord = new StringBuffer();
        private int[][] dataRanges = null;
        private char[] charsInCurrentRange = new char[650];
         private String[] xmlTagNames = null;
         /* (non-Javadoc)
    @see com.sap.aii.mapping.api.StreamTransformation#setParameter(java.util.Map)
    Method must be implemented when class is implementing streamTransformation
           public void setParameter(Map param) {
            this.param = param;
            if (param == null) {
               this.param = new HashMap();
    (non-Javadoc)
    @see com.sap.aii.mapping.api.StreamTransformation#execute(java.io.InputStream, java.io.OutputStream)
    Main function -- called by XI to start execution of java mapping
           public final void execute(InputStream in, OutputStream out)
                throws StreamTransformationException
                //if no input, then cancel program execution
                if (in == null) {
                     throw new RuntimeException("Something wrong with input zip file - is null");
                //input <> null. Begin upzip operation
                try {
                     //test is only relevant outside of XI
                     if (param != null) {
                          mappingTrace = (MappingTrace) param.get(StreamTransformationConstants.MAPPING_TRACE );
                  ZipInputStream zip = null;
                     try {
                          zip = new ZipInputStream(in);
                          ZipEntry ze = null;
                          out.write("<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?><ns0:Messages xmlns:ns0=\"http://sap.com/xi/XI/SplitAndMerge\">".getBytes());
                          while ((ze = zip.getNextEntry()) != null) {
                               writeDebugInfo("File: " + ze.getName() + " with compressed size: " + ze.getCompressedSize());
                               scrutinize(zip,(ZipEntry) ze, out);
                          out.write("</ns0:Messages>".getBytes());
                     finally {
                          if (zip != null)
                               zip.close();
                          out.flush();
                          out.close();
                } catch (Exception e) {
                     throw new RuntimeException(e + "\nSomething went wrong...");
           //Unzip flat files and convert to xml
           private void scrutinize(ZipInputStream inStream,ZipEntry zipEntry, OutputStream outstream) throws Exception {
                long start = System.currentTimeMillis();
              InputStreamReader inStreamReader = null;
              BufferedReader buffReader = null;
              byte[] xmlBytes = null;
              try {
                   inStreamReader = new InputStreamReader(inStream);
                   buffReader = new BufferedReader(inStreamReader);
                 boolean masterData = zipEntry.getName().equals("PD-01-STAMDATA.DAT");
                 boolean creditData = zipEntry.getName().equals("PD-02-KREDITVURDERING.DAT");
                 String currentLine = null;
                 if (masterData) {
                      writeDebugInfo("- Begin reading and converting every line of MasterData...");     //out-comment this outside of XI, or compilation will fail (functionality is only available in XI)
                      outstream.write("<ns0:Message1><ns1:masterData_MT xmlns:ns1=\"http://pdk/xi/kob/importDataToSap\">".getBytes());
                        while ((currentLine = buffReader.readLine()) != null) {
                           //convert one line of credit data plain into an xml record structure
                           makeXmlRecord(currentLine,true);
                           //Write record XML to XI's outputstream (appends)
                           xmlBytes = currentXmlRecord.toString().getBytes();
                           outstream.write(xmlBytes);
                      outstream.write("</ns1:masterData_MT></ns0:Message1>".getBytes());
                      writeDebugInfo("- Finished reading and converting every line of MasterData...");     //out-comment this outside of XI, or compilation will fail (functionality is only available in XI)
                 if (creditData) {
                      writeDebugInfo("- Begin reading and converting every line of CreditData...");
                      outstream.write("<ns0:Message2><ns1:creditData_MT xmlns:ns1=\"http://pdk/xi/kob/importDataToSap\">".getBytes());
                      while ((currentLine = buffReader.readLine()) != null) {
                           //convert one line of credit data plain into an xml record structure
                           makeXmlRecord(currentLine,false);
                           //Write record XML to XI's outputstream (appends)
                           xmlBytes = currentXmlRecord.toString().getBytes();
                           outstream.write(xmlBytes);
                      outstream.write("</ns1:creditData_MT></ns0:Message2>".getBytes());
                      writeDebugInfo("- Finished reading and converting every line of CreditData...");
              } finally {
                   long timeUsed = System.currentTimeMillis() - start;
                   writeDebugInfo(zipEntry.getName() + "  - Write took: " + timeUsed + " ms");
                   writeDebugInfo("Final statement entered...\n");
           //check for invalid xml chars (plus a few other strange chars) in a plain text record and if any are found update the ranges of so they correspond to the new length of a record
           private int[][] checkRange(String currentPlainLine, boolean isMasterData) {
                int counter = 0;
                int beginRange = 0;
                int endRange = 0;
                //populate array with proper data ranges/intervals according to how data is to be split
                dataRanges = isMasterData ? new int[][] {{0,2},{2,12},{12,44},{44,47},{47,50},{50,295},{295,298},{298,356},{356,426},{426,496},{496,499},{499,506},{506,510},{510,518},{518,540},{540,546},{546,552},{552,558},{558,564},{564,570},{570,576},{576,582},{582,588},{588,594},{594,604}} : new int[][] {{0,2},{2,12},{12,20},{20,23},{23,26},{26,29},{29,44}};
                //ensure stringbuffer is empty
                currentPlainRecord.delete(0,currentPlainRecord.length());
                //insert the current plain text line into stringbuffer
                currentPlainRecord.append(currentPlainLine);
              //loop through outer array (array of ranges)
              for (int i = 0; i <= (dataRanges.length-1); i++) {
                   beginRange = dataRanges<i>[0];
                   counter = beginRange;
                   endRange = dataRanges<i>[1];
                   //loop through stringbuffer, based on the value-pairs of ranges/intervals in array of arrays
                   while (counter < endRange) {
                        switch (currentPlainRecord.charAt(counter)) {
                             case '&':
                                  currentPlainRecord.insert(counter+1,"amp;");          //insert 'amp;' after '&', so that syntax conforms to xml syntax requirements (&amp;)
                                  counter += 5;                                                   //increment counter so that it continues after insertet characters
                                  updateRange(counter,4);                                        //update the array of ranges so that is corresponds to the new range
                                  break;
                             case '\'':
                                  currentPlainRecord.replace(counter,counter+1,"&");     //replace '\'' with '&'
                                  currentPlainRecord.insert(counter+1,"apos;");          //insert 'apos;' after '\'', so that syntax conforms to xml syntax requirements (&apos;)
                                  counter += 6;                                                   //increment counter so that it continues after insertet characters
                                  updateRange(counter,5);                                        //update the array of ranges so that is corresponds to the new range
                                  break;
                             case '"':
                                  currentPlainRecord.replace(counter,counter+1,"&");     //replace '"' with '&'
                                  currentPlainRecord.insert(counter+1,"quot;");          //insert 'quot;' after '"', so that syntax conforms to xml syntax requirements (&quot;)
                                  counter += 6;                                                   //increment counter so that it continues after insertet characters
                                  updateRange(counter,5);                                        //update the array of ranges so that is corresponds to the new range
                                  break;
                             case '<':
                                  currentPlainRecord.replace(counter,counter+1,"&");     //replace '<' with '&'
                                  currentPlainRecord.insert(counter+1,"lt;");               //insert 'lt;' after '&', so that syntax conforms to xml syntax requirements (&lt;)
                                  counter += 4;                                                   //increment counter so that it continues after insertet characters
                                  updateRange(counter,3);                                        //update the array of ranges so that is corresponds to the new range
                                  break;
                             case '>':
                                  currentPlainRecord.replace(counter,counter+1,"&");     //replace '>' with '&'
                                  currentPlainRecord.insert(counter+1,"gt;");               //insert 'gt;' after '&', so that syntax conforms to xml syntax requirements (&gt;)
                                  counter += 4;                                                   //increment counter so that it continues after insertet characters
                                  updateRange(counter,3);                                        //update the array of ranges so that is corresponds to the new range
                                  break;
                             case 0x7F:
                                  currentPlainRecord.replace(counter,counter+1," ");     //replace 0x7F with ' '
                                  writeDebugInfo("-- Corrected the character 0x7F ('') to ' '");
                                  counter++;
                                  break;
                             case '‘':
                                  currentPlainRecord.replace(counter,counter+1," ");     //replace 0x91 ('‘') with ' '
                                  writeDebugInfo("-- Corrected the character '‘' to ' '");
                                  counter++;
                                  break;
                             case '›':
                                  currentPlainRecord.replace(counter,counter+1," ");     //replace 0x9B ('›') with ' '
                                  writeDebugInfo("-- Corrected the character 0x9B to ' '");                              counter++;
                                  break;
                             case '†':
                                  currentPlainRecord.replace(counter,counter+1," ");     //replace '†' with ' '
                                  writeDebugInfo("-- Corrected the character '†' to ' '");
                                  counter++;
                                  break;
                             default :
                                  counter++;
                                  break;
                return dataRanges;
           //update array of ranges so that is corresponds to the new range
           private void updateRange(int currentRange, int updateRangeBy) {
              for (int k = currentRange; k < dataRanges.length; k++) {
                   if (k != currentRange) {     //never update begin interval for the current range - only for the remaining intervals
                             dataRanges[k][0] += updateRangeBy;
                   dataRanges[k][1] += updateRangeBy;     //always update end intervals
           //convert one flat record line to a xml record structure
         private void makeXmlRecord(String currentPlainLine,boolean isMasterData) {
              dataRanges = checkRange(currentPlainLine,isMasterData);
              //clear StringBuffer
              currentXmlRecord.delete(0,currentXmlRecord.length());
              //get the correct set of xml tags to be used when performing mapping between plain text and xml
              if (isMasterData) {
                   xmlTagNames = new String[] {"dum1","kob_no","dum2","corp_status","legal_form","dum3","pr_protec_code","dum4","uri","email","emp_no_grp_code","exact_no_emp","dum5","founding_date","dum6","main_industry_code","industry_code1","industry_code2","industry_code3","industry_code4","industry_code5","industry_code6","industry_code7","industry_code8","dum7"};
              } else {
                   xmlTagNames = new String[] {"dum1","kob_no","rating_date","rating_value","risc_grp_code","currency","max_credit"};
              //copy all chars in stringBuffer to the specified char[]
              currentPlainRecord.getChars(0,currentPlainRecord.length(),charsInCurrentRange,0);
              //populate XML record structure
              currentXmlRecord.append("<record>");
              for (int i = 0; i < xmlTagNames.length; i++) {
                   currentXmlRecord.append("<" + xmlTagNames<i> + ">");
                   currentXmlRecord.append(charsInCurrentRange,dataRanges<i>[0],(dataRanges<i>[1])-(dataRanges<i>[0]));
                   currentXmlRecord.append("</" + xmlTagNames<i> + ">");
              currentXmlRecord.append("</record>");
         //write debug information to correct "place"
         private void writeDebugInfo(String debugInfo) {
              if (mappingTrace == null) {
                   System.out.println("Debug: " + debugInfo);
              } else {
                   mappingTrace.addInfo("Debug: " + debugInfo);

    Hi Alex,
    Thanks for your reply. First of all I was wondering if I missed something somewhere in my generel understanding of XI and BPM's!? - I kind of sense some irony/sarkasm in beginning of your reply:-) As far as I know BPM should have no trouble receing non-xml (in my case zip-files)!?
    Anyways here goes:
    1. Yes, this is also my impression that is should be possible somehow (we do currently run sp14). However, I havent yet figured out how to do it in this case. When trying to create interface mapping between the three involved software components, I get a 'MESS_MULTI_MAP_IF_WRONG_SWCV' three times. I've searched around without being able to find any information on the error. I does seem, though, like the problem is that all objects aren't in the same software component!! But this approach is of course the prefered one...
    2. Well - you got me there. Kind of expected someone to point that out:-) This is of course something to be looked into also in order to "improve"/"enhance" the program - though it, as already pointed out, works perfectly as is.
    3. This part I have also thought about - though quickly moved away from the idea, but that is only due to lacking insight/knowhow on the subject. Interesting weblog you have written, something so I will investigate further when  time allows for it:-)
    Best regards,
    Daniel

  • Multi-Mapping runtime issue

    Hi, Friend:
    We are using BPM to collect two type of message (Msg1 and Msg2) and map to target message (Msg3),
                              ------Receive1-------
    Start --Fork(start)                            Fork(stop) ---Transformation--Send
                              ------Receive2-------
    When we created all the messages from scratch, the process works, the process worked.
    After we use external definition (xsd), it always fails on transformation step.
    However,if we put the payload to test in message mapping, it success.
    Any thoughts ?
    Thanks
    Liang

    Hi, Praba:
    We have tested in both multi-mapping, and also interface mapping by using the same payload the causes error in runtime, they are all fine.
    The error happens on tranformation step: some nodes have very simple mapping like one to one, it can not create target node (see attached part of trace).
    Once we change the complained node mapping from a constant value, the next test shows next target node can not be produced.
    If the node is attribute, only required attribute complains, if the node is element, the node with min occurence of 1 complains
    <?xml version="1.0" encoding="utf-8" ?>
    - <MappingTrace>
      <Trace level="1" type="T">Mapping-Namespace:http://xmlfile2xmlfile</Trace>
      <Trace level="1" type="T">Mapping-Name:Im_PBC_Audit</Trace>
      <Trace level="1" type="T">Mapping-SWCV:64968F80768C11DCC184FCEB0A01071F</Trace>
      <Trace level="1" type="T">Mapping-Step:1</Trace>
      <Trace level="1" type="T">Mapping-Type:JAVA</Trace>
      <Trace level="1" type="T">Mapping-Program:com/sap/xi/tf/_PBC_Request_Response_AuditMapping_</Trace>
      <Trace level="3" type="T">Multi mapping required.</Trace>
      <Trace level="3" type="T">Creating Java mapping com/sap/xi/tf/_PBC_Request_Response_AuditMapping_.</Trace>
      <Trace level="3" type="T">Load 64968f80-768c-11dc-c184-fceb0a01071f, http://xmlfile2xmlfile, -1, com/sap/xi/tf/_PBC_Request_Response_AuditMapping_.class.</Trace>
      <Trace level="3" type="T">Search com/sap/xi/tf/_PBC_Request_Response_AuditMapping_.class (http://xmlfile2xmlfile, -1) in swcv 64968f80-768c-11dc-c184-fceb0a01071f.</Trace>
      <Trace level="3" type="T">Loaded class com.sap.xi.tf._PBC_Request_Response_AuditMapping_</Trace>
      <Trace level="2" type="T">Call method execute of the application Java mapping com.sap.xi.tf._PBC_Request_Response_AuditMapping_</Trace>
      <Trace level="1" type="T">RuntimeException during appliction Java mapping com/sap/xi/tf/_PBC_Request_Response_AuditMapping_</Trace>
      <Trace level="1" type="T">com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Cannot produce target element /ns0:Messages/ns0:Message1/ns1:BenefitEnrollment. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd
    Thanks
    Liang

  • VO runtime issue on jdev11.6

    HI
    I am using the one bind variable on VO and when i run the application or AM , i am getting the below error as '(java.sql.SQLException) Missing IN or OUT parameter at index:: 1'
    Vo query as below:
    SELECT Employees.EMPLOYEE_ID,
    Employees.FIRST_NAME,
    Employees.LAST_NAME,
    Employees.EMAIL,
    Employees.PHONE_NUMBER,
    Employees.HIRE_DATE,
    Employees.JOB_ID,
    Employees.SALARY,
    Employees.COMMISSION_PCT,
    Employees.MANAGER_ID,
    Employees.DEPARTMENT_ID
    FROM EMPLOYEES Employees
    WHERE Employees.DEPARTMENT_ID =:depId
    i have tried by providing the default bind variable value ,still getting the same error ?
    issue comes only when bind variable applies.
    please suggest any thing wrong , i am trying to understand the issue

    Re-check the bind Variable you have created..seems like its not getting the value for it at the time of running the query..

  • Flex SDK and AIR Runtime issue

    Hello,
    Please somebody answer my Question.i.e,
    For Instance, I downloaded an Application(AIR application) which is developed with Flex SDK 3.0 and AIR Runtime version 2.5. But I have AIR Runtime version 2.0 installed in my machine. What will happen if i install the application? whether it will be installed completely or Any warning will be shown up regarding the AIR Runtime discrepancies? or will the application be obsolete even after it's successful installation?
    Did anyone experience it?
    Regards,
    venks.

    Thanks for your help, Flex harUI,
    The first impression that comes to mind is that FP version is indeed only for the web browser plugin. Then, why does the official Flex 4.6 mobile development documentation have a link to that page that only speaks about the supported FP version in mobiles under the title "AIR requirements"??
    This makes it way too confusing.
    Do you know whether there is something like an equivalent matrix/list of mobile devices with their supported AIR runtime versions?  I went a great deal in trying to keep my original app under 400kb... I didn't know that in the end it would end up weighing 9.5Mb... :S
    Thanks again,

  • Runtime issue

    hi all,
    the below statement is giving me a runtime error.
    In the shortdumb I got the messages as
    ->The maximum size of an SQL statement has been exceeded.
    ->The statement contains too many input variables.
    ->the space needed for the input data exceeds the available memory.
    Can some one please suggest me a best replacement for this.
    Also when I checked in ST05 this was taking higher time than any other statement and was in red highlight
    SELECT vkdfsvkorg vkdfsvbtyp vkdfsvbeln tvkobukrs
             vkdfsfkdat VKDFSSPART                            
             into (t_vkdfs-vkorg, t_vkdfs-vbtyp, t_vkdfs-vbeln,
                   t_vkdfs-bukrs, t_vkdfs-fkdat, T_VKDFS-SPART)
          FROM vkdfs join tvko on ( vkdfsvkorg = tvkovkorg )
                     JOIN VBAK ON ( VKDFSSPART = VBAKSPART )         
          WHERE fkdat IN s_wadat
            AND vkdfs~vkorg IN s_vkorg AND
                VKDFS~SPART IN S_SPART AND                         
                vkdfs~vbtyp <> 'C'.
    Thank you.

    Here
    SELECT vkdfsvkorg vkdfsvbtyp vkdfsvbeln tvkobukrs
    vkdfsfkdat VKDFSSPART
    into (t_vkdfs-vkorg, t_vkdfs-vbtyp, t_vkdfs-vbeln,
    t_vkdfs-bukrs, t_vkdfs-fkdat, T_VKDFS-SPART)
    FROM vkdfs join tvko on ( vkdfsvkorg = tvkovkorg )
    JOIN VBAK ON ( VKDFSSPART = VBAKSPART )
    WHERE fkdat IN s_wadat
    AND vkdfs~vkorg IN s_vkorg AND
    VKDFS~SPART IN S_SPART AND
    vkdfs~vbtyp <> 'C'.
    I will suggest -
    1. Dont do the join on VBAK. you can get the document type in VKDFS-VBTYP if u r seraching for Sales Orders.
    2. You arenot selecting into tables. So i guess it ends with an ENDSEELCT. Dont select into variables and then process. Declare an internal table and do the SELECT in one shot.
    SELECT fld1 fld2 .......fldn
    into        TABLE t_itab
    from       some_table
    where    -
    Ur code between SELECT and ENDSELECT ( ABAP4 processing) is making the DB Select to take a very longer period of time.

  • InDesign CS5.5, legacy Java SE 6 runtime issues

    I need help with InDesign CS5.5, loaded Java SE 8 Runtime, but InDesign is still asking for legacy Java SE 6?
    My Mac, when re-directed to link, shows nothing? HELP!!!

    You need to install this: Apple Java 2014-001.

Maybe you are looking for

  • Adobe air installer wont do anything

    today i got an error message saying that adobe air wasent working so i unistalled it and downloaded it fresh from the site but when i try to run the installer nothing happends it just sits there in the prosses list in that task manager here the adobe

  • This photo was adjusted using an earlier version of Apple's RAW processing

    It is May 16 2012. A couple of days ago there was an update to OSX. I am now at 10.7.4. My Aperture version is 3.2.3. Digital Camera Raw 3.12.0 build 615 and a bunch of zeros. Last night when I imported a slew of photos, everything seemed to go well,

  • Excel file upload

    Hi All, I have a requirement wherein I will have to upload an Excel file into an internal table. This excel file is coming from LLS. I used the GUI_UPLOAD FM... But this FM does not work. I also used TEXT_CONVERT_XLS_TO_SAP FM... But this FM does not

  • Release Code In Release Strategy

    Dear Experts, We have configured the release strategy for PR on Devlopment Client. 1. I have created necessary Characteristics and Classes  on devlopmnt client and configured the startegy and it has been applied succesfully on Dev client. Now i want

  • Sliding pages

    I would like to create dynamic sliding pages for my web page. I have 4 Buttons... Home, Services, Contacts, and About Us what i would like to do, is have dynamic information for each of these pages slide in and out of the flash window. For Example On