RfcGetData crashes under Unix (Solaris) with sunos_sun4u_620/librfccm.so

Hi!
I'm not quite sure if this is the right place to ask and if not, please point me to the right direction!
I wrote a RFC Server program (c code) which works fine under Windows but crashes under Solaris. The command where it crashes is the RfcGetData.
Maybe somebody knows what the problem is...
What is the meaning of:
Tables[0].itmode   = RFC_ITMODE_BYREFERENCE;
with normal client code, it is always something like:
Tables[0].ithandle = thTcFileInfos;
for creating tables!
Here is the function I'm using:
RFC_RC WIN_DLL_EXPORT_FLAGS srv_z_get_tc_viewing_file_url(RFC_HANDLE hRfc)
  unsigned int             row = 0;
  int                      rc = 0;
  char                     rc_char[1024];
  char                     UrlFromSAP[4096];
  char                     seps[] = " ";
  char                    *token;
  char                    *ResultString = NULL;
  char                    *ErrorString  = NULL;
  /* RFC variables */
  RFC_PARAMETER Importing[7];
  RFC_PARAMETER Exporting[2];
  RFC_TABLE Tables[2];
  RFC_RC RfcRc;
  /* param variables */
  BAPI_DOC_AUX_DOCNUMBER iDocumentnumber;
  BAPI_DOC_AUX_DOCPART iDocumentpart;
  BAPI_DOC_AUX_DOCTYPE iDocumenttype;
  BAPI_DOC_AUX_DOCVERSION iDocumentversion;
  BAPI_DOC_FILES iRequestFile;
  INT4 iTimeout;
  BAPIRET2 eReturn;
  ITAB_H thTcFileInfos = ITAB_NULL;
  char xException[256];
  ZT4S_TC_FILE_URLS *tTcFileInfos;
  /* install structures */
  if (handleOfBAPI_DOC_FILES == 0) {
    RfcRc = RfcInstallStructure("BAPI_DOC_FILES",
                               typeOfBAPI_DOC_FILES,
                               ENTRIES(typeOfBAPI_DOC_FILES),
&handleOfBAPI_DOC_FILES);
    //if (RfcRc != RFC_OK) rfc_error("RfcInstallStructure");
  if (handleOfINT4 == 0) {
    RfcRc = RfcInstallStructure("INT4",
                               typeOfINT4,
                               ENTRIES(typeOfINT4),
&handleOfINT4);
    //if (RfcRc != RFC_OK) rfc_error("RfcInstallStructure");
  if (handleOfBAPIRET2 == 0) {
    RfcRc = RfcInstallStructure("BAPIRET2",
                               typeOfBAPIRET2,
                               ENTRIES(typeOfBAPIRET2),
&handleOfBAPIRET2);
   // if (RfcRc != RFC_OK) rfc_error("RfcInstallStructure");
  if (handleOfZT4S_TC_FILE_URLS == 0) {
    RfcRc = RfcInstallStructure("ZT4S_TC_FILE_URLS",
                               typeOfZT4S_TC_FILE_URLS,
                               ENTRIES(typeOfZT4S_TC_FILE_URLS),
&handleOfZT4S_TC_FILE_URLS);
    // if (RfcRc != RFC_OK) rfc_error("RfcInstallStructure");
  /* init export parameters */
  SETCHAR(eReturn.Type,"");
  SETCHAR(eReturn.Id,"");
  SETNUM(eReturn.Number,"");
  SETCHAR(eReturn.Message,"");
  SETCHAR(eReturn.LogNo,"");
  SETNUM(eReturn.LogMsgNo,"");
  SETCHAR(eReturn.MessageV1,"");
  SETCHAR(eReturn.MessageV2,"");
  SETCHAR(eReturn.MessageV3,"");
  SETCHAR(eReturn.MessageV4,"");
  SETCHAR(eReturn.Parameter,"");
  SETINT(&eReturn.Row,"");
  SETCHAR(eReturn.Field,"");
  SETCHAR(eReturn.System,"");
  /* define import params */
  Importing[0].name = "DOCUMENTNUMBER";
  Importing[0].nlen = 14;
  Importing[0].type = TYPC;
  Importing[0].leng = sizeof(BAPI_DOC_AUX_DOCNUMBER);
  Importing[0].addr = &iDocumentnumber;
  Importing[1].name = "DOCUMENTPART";
  Importing[1].nlen = 12;
  Importing[1].type = TYPC;
  Importing[1].leng = sizeof(BAPI_DOC_AUX_DOCPART);
  Importing[1].addr = &iDocumentpart;
  Importing[2].name = "DOCUMENTTYPE";
  Importing[2].nlen = 12;
  Importing[2].type = TYPC;
  Importing[2].leng = sizeof(BAPI_DOC_AUX_DOCTYPE);
  Importing[2].addr = &iDocumenttype;
  Importing[3].name = "DOCUMENTVERSION";
  Importing[3].nlen = 15;
  Importing[3].type = TYPC;
  Importing[3].leng = sizeof(BAPI_DOC_AUX_DOCVERSION);
  Importing[3].addr = &iDocumentversion;
  Importing[4].name = "REQUEST_FILE";
  Importing[4].nlen = 12;
  Importing[4].type = handleOfBAPI_DOC_FILES;
  Importing[4].leng = sizeof(BAPI_DOC_FILES);
  Importing[4].addr = &iRequestFile;
  Importing[5].name = "TIMEOUT";
  Importing[5].nlen = 7;
  Importing[5].type = handleOfINT4;
  Importing[5].leng = sizeof(INT4);
  Importing[5].addr = &iTimeout;
  Importing[6].name = NULL;
  /* define internal tables */
  Tables[0].name     = "TC_FILE_INFOS";
  Tables[0].nlen     = 13;
  Tables[0].type     = handleOfZT4S_TC_FILE_URLS;
  Tables[0].leng     = sizeof(ZT4S_TC_FILE_URLS);
  // This is the generated code
  //Tables[0].itmode   = RFC_ITMODE_BYREFERENCE;
  // But we have always used it like this
  Tables[0].ithandle = thTcFileInfos;
  Tables[1].name = NULL;
THE CRASH HAPPENS HERE:
  RfcRc = RfcGetData(hRfc,Importing,Tables);
  if (RfcRc != RFC_OK) return RfcRc;
  thTcFileInfos = Tables[0].ithandle;
Nachdem wir die Daten von SAP haben, können wir den CALL an T4S absetzen
  GETCHAR(iRequestFile.Docfile,UrlFromSAP);
  // Some work needs to be done here...
  // Don't know why this call is there
  ///* call RFC function */
  //RfcRc = z_get_tc_viewing_file_url(hRfc
  //                  ,&iDocumentnumber
  //                  ,&iDocumentpart
  //                  ,&iDocumenttype
  //                  ,&iDocumentversion
  //                  ,&iRequestFile
  //                  ,&iTimeout
  //                  ,&eReturn
  //                  ,thTcFileInfos
  //                  ,xException);
  if (RfcRc == RFC_EXCEPTION) { RfcRaise(hRfc,xException); RfcListen(hRfc); return RfcRc; }
  /* define export params */
  Exporting[0].name = "RETURN";
  Exporting[0].nlen = 6;
  Exporting[0].type = handleOfBAPIRET2;
  Exporting[0].leng = sizeof(BAPIRET2);
  Exporting[0].addr = &eReturn;
  Exporting[1].name = NULL;
  if (RfcRc == RFC_OK) RfcRc = RfcSendData(hRfc, Exporting, Tables);
  return RfcRc;

Hi!
I'm not quite sure if this is the right place to ask and if not, please point me to the right direction!
I wrote a RFC Server program (c code) which works fine under Windows but crashes under Solaris. The command where it crashes is the RfcGetData.
Maybe somebody knows what the problem is...
What is the meaning of:
Tables[0].itmode   = RFC_ITMODE_BYREFERENCE;
with normal client code, it is always something like:
Tables[0].ithandle = thTcFileInfos;
for creating tables!
Here is the function I'm using:
RFC_RC WIN_DLL_EXPORT_FLAGS srv_z_get_tc_viewing_file_url(RFC_HANDLE hRfc)
  unsigned int             row = 0;
  int                      rc = 0;
  char                     rc_char[1024];
  char                     UrlFromSAP[4096];
  char                     seps[] = " ";
  char                    *token;
  char                    *ResultString = NULL;
  char                    *ErrorString  = NULL;
  /* RFC variables */
  RFC_PARAMETER Importing[7];
  RFC_PARAMETER Exporting[2];
  RFC_TABLE Tables[2];
  RFC_RC RfcRc;
  /* param variables */
  BAPI_DOC_AUX_DOCNUMBER iDocumentnumber;
  BAPI_DOC_AUX_DOCPART iDocumentpart;
  BAPI_DOC_AUX_DOCTYPE iDocumenttype;
  BAPI_DOC_AUX_DOCVERSION iDocumentversion;
  BAPI_DOC_FILES iRequestFile;
  INT4 iTimeout;
  BAPIRET2 eReturn;
  ITAB_H thTcFileInfos = ITAB_NULL;
  char xException[256];
  ZT4S_TC_FILE_URLS *tTcFileInfos;
  /* install structures */
  if (handleOfBAPI_DOC_FILES == 0) {
    RfcRc = RfcInstallStructure("BAPI_DOC_FILES",
                               typeOfBAPI_DOC_FILES,
                               ENTRIES(typeOfBAPI_DOC_FILES),
&handleOfBAPI_DOC_FILES);
    //if (RfcRc != RFC_OK) rfc_error("RfcInstallStructure");
  if (handleOfINT4 == 0) {
    RfcRc = RfcInstallStructure("INT4",
                               typeOfINT4,
                               ENTRIES(typeOfINT4),
&handleOfINT4);
    //if (RfcRc != RFC_OK) rfc_error("RfcInstallStructure");
  if (handleOfBAPIRET2 == 0) {
    RfcRc = RfcInstallStructure("BAPIRET2",
                               typeOfBAPIRET2,
                               ENTRIES(typeOfBAPIRET2),
&handleOfBAPIRET2);
   // if (RfcRc != RFC_OK) rfc_error("RfcInstallStructure");
  if (handleOfZT4S_TC_FILE_URLS == 0) {
    RfcRc = RfcInstallStructure("ZT4S_TC_FILE_URLS",
                               typeOfZT4S_TC_FILE_URLS,
                               ENTRIES(typeOfZT4S_TC_FILE_URLS),
&handleOfZT4S_TC_FILE_URLS);
    // if (RfcRc != RFC_OK) rfc_error("RfcInstallStructure");
  /* init export parameters */
  SETCHAR(eReturn.Type,"");
  SETCHAR(eReturn.Id,"");
  SETNUM(eReturn.Number,"");
  SETCHAR(eReturn.Message,"");
  SETCHAR(eReturn.LogNo,"");
  SETNUM(eReturn.LogMsgNo,"");
  SETCHAR(eReturn.MessageV1,"");
  SETCHAR(eReturn.MessageV2,"");
  SETCHAR(eReturn.MessageV3,"");
  SETCHAR(eReturn.MessageV4,"");
  SETCHAR(eReturn.Parameter,"");
  SETINT(&eReturn.Row,"");
  SETCHAR(eReturn.Field,"");
  SETCHAR(eReturn.System,"");
  /* define import params */
  Importing[0].name = "DOCUMENTNUMBER";
  Importing[0].nlen = 14;
  Importing[0].type = TYPC;
  Importing[0].leng = sizeof(BAPI_DOC_AUX_DOCNUMBER);
  Importing[0].addr = &iDocumentnumber;
  Importing[1].name = "DOCUMENTPART";
  Importing[1].nlen = 12;
  Importing[1].type = TYPC;
  Importing[1].leng = sizeof(BAPI_DOC_AUX_DOCPART);
  Importing[1].addr = &iDocumentpart;
  Importing[2].name = "DOCUMENTTYPE";
  Importing[2].nlen = 12;
  Importing[2].type = TYPC;
  Importing[2].leng = sizeof(BAPI_DOC_AUX_DOCTYPE);
  Importing[2].addr = &iDocumenttype;
  Importing[3].name = "DOCUMENTVERSION";
  Importing[3].nlen = 15;
  Importing[3].type = TYPC;
  Importing[3].leng = sizeof(BAPI_DOC_AUX_DOCVERSION);
  Importing[3].addr = &iDocumentversion;
  Importing[4].name = "REQUEST_FILE";
  Importing[4].nlen = 12;
  Importing[4].type = handleOfBAPI_DOC_FILES;
  Importing[4].leng = sizeof(BAPI_DOC_FILES);
  Importing[4].addr = &iRequestFile;
  Importing[5].name = "TIMEOUT";
  Importing[5].nlen = 7;
  Importing[5].type = handleOfINT4;
  Importing[5].leng = sizeof(INT4);
  Importing[5].addr = &iTimeout;
  Importing[6].name = NULL;
  /* define internal tables */
  Tables[0].name     = "TC_FILE_INFOS";
  Tables[0].nlen     = 13;
  Tables[0].type     = handleOfZT4S_TC_FILE_URLS;
  Tables[0].leng     = sizeof(ZT4S_TC_FILE_URLS);
  // This is the generated code
  //Tables[0].itmode   = RFC_ITMODE_BYREFERENCE;
  // But we have always used it like this
  Tables[0].ithandle = thTcFileInfos;
  Tables[1].name = NULL;
THE CRASH HAPPENS HERE:
  RfcRc = RfcGetData(hRfc,Importing,Tables);
  if (RfcRc != RFC_OK) return RfcRc;
  thTcFileInfos = Tables[0].ithandle;
Nachdem wir die Daten von SAP haben, können wir den CALL an T4S absetzen
  GETCHAR(iRequestFile.Docfile,UrlFromSAP);
  // Some work needs to be done here...
  // Don't know why this call is there
  ///* call RFC function */
  //RfcRc = z_get_tc_viewing_file_url(hRfc
  //                  ,&iDocumentnumber
  //                  ,&iDocumentpart
  //                  ,&iDocumenttype
  //                  ,&iDocumentversion
  //                  ,&iRequestFile
  //                  ,&iTimeout
  //                  ,&eReturn
  //                  ,thTcFileInfos
  //                  ,xException);
  if (RfcRc == RFC_EXCEPTION) { RfcRaise(hRfc,xException); RfcListen(hRfc); return RfcRc; }
  /* define export params */
  Exporting[0].name = "RETURN";
  Exporting[0].nlen = 6;
  Exporting[0].type = handleOfBAPIRET2;
  Exporting[0].leng = sizeof(BAPIRET2);
  Exporting[0].addr = &eReturn;
  Exporting[1].name = NULL;
  if (RfcRc == RFC_OK) RfcRc = RfcSendData(hRfc, Exporting, Tables);
  return RfcRc;

Similar Messages

  • JVM Crash on Unix (Solaris)

    Hi,
    I have an application which works fine on Windows environment. If the ear prepared on Windows is deployed on Unix it works fine. But when the application is build in Unix, the application gets deployed but when accessing the application it crashes.
    I have pasted the crash details below
    0xf9540000      /anfield/opt/bea/wls/8.1sp3/jdk142_04/jre/lib/sparc/libioser12.so
    0xdf650000      /anfield/mqseries1/opt/mqm/java/lib/libmqjbnd05.so
    0xdf610000      /opt/mqm/lib/libmqm.so
    0xdbf80000      /opt/mqm/lib/libmqz.so
    0xdbe00000      /opt/mqm/lib/libmqmcs.so
    0xdf560000      /opt/mqm/lib/libmqmzse.so
    0xdf530000      /anfield/mqseries1/opt/mqm/java/lib/libmqjbdf02.so
    0xdf510000      /anfield/mqseries1/opt/mqm/java/lib/libMQXAi02.so
    Heap at VM Abort:
    Heap
    def new generation total 32768K, used 25924K [0xe4c00000, 0xe6cf0000, 0xe8ea0000)
    eden space 31808K, 81% used [0xe4c00000, 0xe65510f0, 0xe6b10000)
    from space 960K, 0% used [0xe6b10000, 0xe6b10000, 0xe6c00000)
    to space 960K, 0% used [0xe6c00000, 0xe6c00000, 0xe6cf0000)
    tenured generation total 67296K, used 40373K [0xe8ea0000, 0xed058000, 0xf1400000)
    the space 67296K, 59% used [0xe8ea0000, 0xeb60d7c0, 0xeb60d800, 0xed058000)
    compacting perm gen total 40960K, used 40910K [0xf1400000, 0xf3c00000, 0xf9400000)
    the space 40960K, 99% used [0xf1400000, 0xf3bf3818, 0xf3bf3a00, 0xf3c00000)
    Local Time = Tue Feb 21 06:58:18 2006
    Elapsed Time = 207
    # HotSpot Virtual Machine Error : 11
    # Error ID : 4F530E43505002EF 01
    # Please report this error at
    # http://java.sun.com/cgi-bin/bugreport.cgi
    # Java VM: Java HotSpot(TM) Server VM (1.4.2_04-b05 mixed mode)
    # An error report file has been saved as hs_err_pid7291.log.
    # Please refer to the file for further information.
    I think I have localised the crash to a section of the code where there is character comparison done. If I comment out this section, it works fine. I ahve pasted below the section:
    else if (getChar() == '\'' && getOffset() < getBuffer().length())
    { // Start of a Literal - so just copy until the end of the literal
    do
    sb.append(getChar());
    setChar(getNextChar());
    while (getChar() != '\'' && getOffset() < getBuffer().length());
    sb.append(getChar()); // Append the final single quote
    setChar(getNextChar());
    After substituting " ' "for it integer value, I started getting a JVM crash with a different error id.; pasted it below
    [Loaded javax.servlet.http.HttpServletResponseWrapper]
    [Loaded weblogic.servlet.internal.RemoveWrapperOnForward]
    [Loaded weblogic.servlet.jsp.NestedBodyResponse]
    [Loaded weblogic.servlet.jsp.BodyOutputStream]
    [Loaded java.io.CharArrayReader from /anfield/opt/bea/wls/8.1sp3/jdk142_04/jre/lib/rt.jar]
    [Loaded weblogic.servlet.internal.CharChunkOutput]
    [Loaded sun.io.ConversionBufferFullException from /anfield/opt/bea/wls/8.1sp3/jdk142_04/jre/lib/rt.jar]
    [Loaded org.apache.struts.taglib.html.SubmitTag]
    # HotSpot Virtual Machine Error, Internal Error
    # Please report this error at
    # http://java.sun.com/cgi-bin/bugreport.cgi
    # Java VM: Java HotSpot(TM) Server VM (1.4.2_04-b05 mixed mode)
    # Error ID: 4255494C442F4F502D41500E4350500107 01
    # Problematic Thread: prio=5 tid=0x000ea6f0 nid=0xa runnable
    Heap at VM Abort:
    Heap
    def new generation total 25088K, used 1933K [0xe4c00000, 0xe6530000, 0xe8ea0000)
    eden space 24384K, 5% used [0xe4c00000, 0xe4d33408, 0xe63d0000)
    from space 704K, 99% used [0xe6480000, 0xe652fff8, 0xe6530000)
    to space 704K, 0% used [0xe63d0000, 0xe63d0000, 0xe6480000)
    tenured generation total 51432K, used 43087K [0xe8ea0000, 0xec0da000, 0xf1400000)
    the space 51432K, 83% used [0xe8ea0000, 0xeb8b3e90, 0xeb8b4000, 0xec0da000)
    compacting perm gen total 40960K, used 40883K [0xf1400000, 0xf3c00000, 0xf9400000)
    the space 40960K, 99% used [0xf1400000, 0xf3becc48, 0xf3bece00, 0xf3c00000)
    Could you please help me to find out the cause? Also how do you make sense of the details(which I have pasted above) in the logs written at time of crash. Is there anyway to look at the core files other than dbx or gdb?
    Thanks,
    Ragesh

    Hi,
    I have an application which works fine on Windows environment. If the application prepared on Windows is deployed on Unix but when accessing it crashes.
    here by i am pasting the error.
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # SIGSEGV (0xb) at pc=0x2a6f5075, pid=5044, tid=8201
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_10-b03 mixed mode)
    # Problematic frame:
    # j e4p_DecisionMaker.makeDecision(Le4p_InitailArrayContainer;I)I+2668
    --------------- T H R E A D ---------------
    Current thread (0x082a3ed8): JavaThread "Thread-0" [_thread_in_Java, id=5330]
    siginfo:si_signo=11, si_errno=-1071498229, si_code=12, si_addr=0x00000000
    Registers:
    EAX=0x04000000, EBX=0x30797160, ECX=0x00000000, EDX=0x0c800002
    ESP=0xbe5ff960, EBP=0xbe5ff988, ESI=0x30ac7d44, EDI=0xbe5ff9b8
    EIP=0x2a6f5075, CR2=0xc580a700, EFLAGS=0x00010206
    Top of Stack: (sp=0xbe5ff960)
    0xbe5ff960: 2a6e8d43 30ac8950 00000000 be5ff96c
    0xbe5ff970: 30ac7d44 be5ff9b8 30ac80f0 00000000
    0xbe5ff980: 30ac7290 be5ff9b0 be5ff9d8 2a6e8def
    0xbe5ff990: 00000000 00000000 00000000 00000000
    0xbe5ff9a0: 00000000 00000001 00000000 00000000
    0xbe5ff9b0: 00000005 2cd46c58 2c798b58 be5ff9bc
    0xbe5ff9c0: 30a772f7 be5ffa1c 30a81da8 00000000
    0xbe5ff9d0: 30a771a0 be5ffa1c be5ffa3c 2a6e8e9b
    Instructions: (pc=0x2a6f5075)
    0x2a6f5065: 75 e8 8b c2 81 e0 00 00 00 04 0f 84 05 00 00 00
    0x2a6f5075: 3b 01 ff 63 3c 8b 41 04 8b 9c 98 dc 00 00 00 8b
    Stack: [0xbe40e000,0xbe600000), sp=0xbe5ff960, free space=1990k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    j e4p_DecisionMaker.makeDecision(Le4p_InitailArrayContainer;I)I+2668
    j e4p_Schedular.scheduleCaller()V+271
    j e4p_ModuleIterator.run()V+34
    j java.util.TimerThread.mainLoop()V+221
    j java.util.TimerThread.run()V+1
    v ~StubRoutines::call_stub
    V [libjvm.so+0x1a8aa4]
    V [libjvm.so+0x25e605]
    V [libjvm.so+0x1a8cf6]
    V [libjvm.so+0x1a85c6]
    V [libjvm.so+0x1a913f]
    V [libjvm.so+0x203695]
    V [libjvm.so+0x2aaa9a]
    V [libjvm.so+0x2a5f57]
    V [libjvm.so+0x260113]
    C [libpthread.so.0+0x5b85] pthread_detach+0x515
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x082922e8 JavaThread "Thread-5" [_thread_blocked, id=5335]
    0x0825a818 JavaThread "Thread-4" [_thread_blocked, id=5334]
    0x0828e8a0 JavaThread "Thread-3" [_thread_in_native, id=5333]
    0x082553d8 JavaThread "DestroyJavaVM" [_thread_blocked, id=5044]
    0x082a3980 JavaThread "Thread-2" [_thread_blocked, id=5332]
    0x082a3800 JavaThread "Thread-1" [_thread_blocked, id=5331]
    =>0x082a3ed8 JavaThread "Thread-0" [_thread_in_Java, id=5330]
    0x080995d0 JavaThread "CompilerThread0" daemon [_thread_blocked, id=5328]
    0x080987f8 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5327]
    0x080954d8 JavaThread "Finalizer" daemon [_thread_blocked, id=5325]
    0x080939f8 JavaThread "Reference Handler" daemon [_thread_blocked, id=5324]
    Other Threads:
    0x08090880 VMThread [id=5323]
    0x080b45c8 WatcherThread [id=5329]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 576K, used 190K [0x2c790000, 0x2c830000, 0x2cc70000)
    eden space 512K, 24% used [0x2c790000, 0x2c7afbd8, 0x2c810000)
    from space 64K, 100% used [0x2c810000, 0x2c820000, 0x2c820000)
    to space 64K, 0% used [0x2c820000, 0x2c820000, 0x2c830000)
    tenured generation total 1408K, used 1105K [0x2cc70000, 0x2cdd0000, 0x30790000)
    the space 1408K, 78% used [0x2cc70000, 0x2cd845a0, 0x2cd84600, 0x2cdd0000)
    compacting perm gen total 4096K, used 3457K [0x30790000, 0x30b90000, 0x34790000)
    the space 4096K, 84% used [0x30790000, 0x30af0400, 0x30af0400, 0x30b90000)
    Dynamic libraries:

  • Windows Explorer keeps crashing under Win 7 with RH7 and Source Control installed

    This is an "informational" thread in case someone experiences the same problems. We installed RH7 on Windows 7 32-bit and accidentally, Robo Source Control was installed, too, although we do not use it. The latter loads three extensions into the shell that caused the Windows Explorer to crash on a regular basis ("Windows Explorer has stopped working"). After deinstallation of Robo Source, the problem seems to be resolved.

    I would like to tell you that this problem is an issue with RH8, as well.

  • Bug with RMI server under Unix

    I have a server/client apps, and it work under Windows but not under Unix.
    With Unix i have an exception :
    java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
    java.net.ConnectException: Connection refused
    java.net.ConnectException: Connection refused
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:350)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:137)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:124)
    at java.net.Socket.<init>(Socket.java:268)
    at java.net.Socket.<init>(Socket.java:95)
    at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:20)
    at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:115)
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:494)
    at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
    at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:169)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:78)
    at ServeurChatImpl_Stub.connect(Unknown Source)
    at ClientDistantImpl.main(ClientDistantImpl.java:85)
    Why?

    Your question is very vague. Are you running the client and the server on the same machine or not at least it seems so. Are you using UnicastRemoteObject, RemoteObject or Activatable for extension. Also post some of your code and settings only then would somebody be able to help u.

  • Installation BOBJ XI 3 on UNIX ( Sun Solaris ) with Oracle database

    Hi All,
    I want to deploy and install BOBJ XI Enterprise 3.1 on Sun Solaris with oracle database.
    My question is, do we need to add some oracle licenses stuff in BOBJ XI Enterprise server or we just using a connection from Sun Solaris to oracle database ?
    Pls Advise,
    Rgds,
    Denny

    Hi Denny,
    the risk is the same whatever DB server you are using. Once you have a setup where more than one application access the server, overload caused by one application can influence the performance of the other ones. You have to check if your DB vendor offers tools to monitor and limit the load on your DB server. But we are talking hypothetically now. I would recommend to check what's the actual load on your oracle DB server. If the server is not working at the limit (let's over 80% all the time), then I think that you can try to install BOBJ also in an existing oracle instance on the oracle server. You can reduce the risk and make the maintenance easier if you setup a dedicated oracle instance on your DB server just for the BOBJ repository.
    Regards,
    Stratos

  • Pb with compiling form under unix

    Hi
    I tried to compile a form under unix. I got an error saying that it can't find a function which is in a PL SQL library .
    All the Pll's files and the Fmb's are in the same directory. I put this directory in the forms_path ( default.env) but still got the same error
    Is there any configuration file that I should set ?
    Thanks

    the default-env setting is only relevant for the runtime. For compile-time, you should set the environment-variable FORMS_PATH and export it.

  • SAPRFC 1.4.1 / UNIX SOLARIS 32 Bits / RFC_34-20000061.SAR

    Install is OK, but when I test with PHP I Have this error :
    PHP Warning:  Unknown(): Unable to load dynamic library '/opt/rfcsdk/lib/saprfc.so' - ld.so.1: ./php: fatal: relocation error: file /opt/rfcsdk/lib/librfccm.so: symbol __1cG__CrunKpure_error6F_v_: referenced symbol not found in Unknown on line 0
    PHP Warning:  Unknown(): Unable to load dynamic library '/opt/rfcsdk/lib/librfccm.so' - ld.so.1: ./php: fatal: relocation error: file /opt/rfcsdk/lib/librfccm.so: symbol __1cG__CrunKpure_error6F_v_: referenced symbol not found in Unknown on line 0
    <p>debut</p>PHP Fatal error:  Call to undefined function:  saprfc_open() in /export/home/sites/docs_php/BsurI/client.php on line 31
    And Module SAPRFC doesn't appear in phpinfo() ?
    I Have Not found "Non-Unicode SAP RFCSDK 6.20 for compilation under UNIX (if you are SAP customer you can find it on http://service.sap.com/swdc under Patches for SAP WEB AS - SAP WEB AS 6.20 - SAP RFC SDK ) "  and I have download RFCSDK 6.40 Sparc 32 Bits in Additional Components > SAP RFC SDK > SAPRFC SDK 6.40

    SOLVED:
    Disabled ECC in the bios (though Windows and Gentoo Linux show now trouble whatsoever with my ECC memory, solaris doesn't like it)

  • Can I use Solaris with my Home Recording Studio?

    Hello,
    I am currently building a basic home recording studio. I recently assembled a new computer and will be purchasing music recording equipment very soon. Before I purchase the audio recording gear, I was curious about a few things pertaining to the use of Solaris as my possible choice system.
    The data that I store on my hard drives will need to be secure. I had originally considered RAID 5 though recently found out about RAID Z, which appears to be far ahead of the other RAIDs. I am curious to know more about how to set up a RAID Z system.
    The computer will be running Solaris, various Linux or BSD, and Windows Vista. I have 500GB x4 hard drives. I am considering separating one and using it strictly for Vista, and using the remaining 3 with a RAID set-up for nix. If I had a choice, I would put much less hard drive space into Vista (capping it at 150 to 200 GB), though I have yet to come across a RAID system that effectively or efficiently cooperates cross-platform. With that in mind, the majority of the remaining 1.5TB can go into my studio OS - hopefully Solaris - while left-over hard drive space is set aside for various other *nix.
    I've used Solaris 10 before, though haven't really gone into detail on the mechanics of such features as ZFS, zones, now RAID Z, and the many more amazing features that Solaris provides. Likewise, I am not really familiar with how well the system might operate with software/applications that I could use for recording and composing music.
    Beyond the available 2TB (or 1.5TB RAID-ready) space, my computer is running on a new 64-bit quad-core AMD CPU (~2.6GHz) and currently has 4GB 1066MHz RAM. In my search for preparing a computer that suits me for high performance recording - including the editing and mastering of audio - I am attempting to narrow down my options on the software side of things. I have been very satisfied with the general file management of Solaris, though am unsure of how well it might run as the software side of a home recording studio. An additional factor in deciding will be the software's compatbility with audio PCI cards and external recording/audio interfaces. There is always a question of whether or not the necessary drivers, firmware, or similar is available between any given hardware and software components.
    Some other *nix options I have considered - "Ubuntu Studio 64-bit" (though it appears to prefer 32-bit) and "64 Studio" (also Debian-based, though appears to be optimized for 64-bit). Some colleagues have used Gentoo with studio applications, though I don't know of any Linux distributions that offer the versatility, power, stability, and efficiency of Solaris for the operating system that it is.
    If I use something like "64 Studio", I will have the advantage of a system that is ready-built for studio recording purposes as well as a system that I know is compatible with the sound gear that I am considering purchasing. However, those systems are restricted by their file system types, RAID availability and dependability, and the general disadvantages of using the Linux kernel in general. (I enjoy Linux, though I admittedly prefer Unix over it.)
    Can I use Solaris with my home recording studio?
    Thank you!
    Edited by: the_professor on Nov 9, 2008 6:26 PM
    Corrected a typo.
    Edited by: the_professor on Nov 9, 2008 6:30 PM
    Caught another typo.

    I'm not sure what your question is. If you have particular software you want to run, you should see what you can get that package to run under. Sound hw stuff don't tend to be too portable unless it's written on top of OSS (htttp://www.opensound.com). Were I you, I'd consider separating out the storage part and the processing part. Get something like a cheap dell sc440 to be a file server and give the drives to that (unless you actually can get all the components working under solaris).
    -r

  • How to install owb server-side software on UNIX Solaris (SPACR-64)?

    Hi there,
    How to install owb server-side software on UNIX Solaris (SPACR-64)?
    I've read the install guide
    and it mentions
    3. Start the installer by entering the following at the prompt:
    cd mount_point
    ./runInstaller
    I don't have access to any graphical interface on the UNIX box e.g. x-windows nor any cd with the software, just the solaris software downloaded from web - does this include the runinstaller
    and is the runisnatller just a command line interface?
    I hoped I would be able to download the software from oracle website and then simply run the a setup scrip?
    Is it possible to do this? Would I simply substitute cd mount_point to cd <directory I put software)
    I've never ran oracle universall installer on UNIX before.
    Many Thanks
    Edited by: user575470 on Feb 15, 2009 7:54 AM
    Edited by: user575470 on Feb 15, 2009 8:06 AM

    Hi,
    You can install the server-side software from the downloaded software.
    You don't need the CD
    You do need an X-windows client on your computer to connect to the server OR work directly on the server.
    Without X-windows you cannot start the Oracle Universal Installer.
    Maybe there is a command line installation, I have never used this.
    I hope this helps.
    Regards,
    Emile

  • Why is Photoshop CS4 crashing under ...

    ... such seemingly unrelated conditions?:
    When I try to convert an RGB image with layers to CMYK or grayscale
    When I try to delete an adjustment layer or layer w/a vector mask by clicking on the layer palette trashcan (drag/drop, delete key and fly-out options work fine)
    When I try to create/save a new workspace, or select the Basic or What's New in CS4 workspaces (all others are accessible)
    When I try to flatten an RGB image w/multiple layers
    Ocassionally when I close an image file in any way (mouse, menu or key stroke)
    I'm running OS X 10.5.8 on a Mac Pro, Quad-Core Intel Xeon. My other CS4 apps are fine, so far, and I haven't done anything different to the system other than install updates when the updater prompts me. I uninstalled/reinstalled Photoshop five times, uninstalled/reinstalled the whole Creative Suite once, to no avail. I'd greatly appreciate any thoughts or advice ...

    I found 3 crashes under your name.  2 of them are uncommon, but occur in the ExtensisFontManagement plugin and appear to be due to a bug in the plugin.  The first is a crash on quit, and the second is Extensis attempting to override Alerts for some odd reason, and their override fails.
    The third crash cause happens more frequently, cause unknown, but it looks very, very similar to the Extensis Alert override bug.
    So, try disabling the ExtensisFontManagement plugin, and I suspect your Photoshop CS4 experience will be a lot happier.

  • InDesign cs6 crashes when exporting objects with drop shadows to interactive PDF

    I am using the trial version of InDesign CS6 on a mac OSX 10.7.4  I need to export my document as an interactive PDF. I have found that the export works fine so long as none of the objects within my document have a drop shadow. However, if I add a drop shadow to any object (text, images, or video) InDesign will crash when I try to export. I am adding the drop shadow by selecting the object and then choosing Object > Effects > Drop Shadow. Is there another method I should be using to add the shadow if I want to export to an Interactive PDF?

    Hi Peter, thanks for the response. Yes, I have tried creating a new blank project and adding one text object with a drop shadow and then exporting to Interactive PDF, and I experienced  the same result. I tried replacing my preferences as you suggested and found that it did not have any affect.
    I continued developing my InDesign document without using any drop shadows and began to experience the same type of crashing under two more circumstances. 1. When relinking assets in my Links panel. 2. When exporting to interactive PDF with interactive objects that are being clipped (I get a warning telling me I have clipped objects before I export; when I click export I experience the same crash.) I have tried exporting the same file to a print (non-interactive) PDF and experienced no crashing.
    I thought I should mention that I am using a retina display mac book pro with 16GB RAM. Could my graphics cards or the configureation of my machine be causing my issue?
    Thanks so much,

  • Disable commands BUG under Sun-Solaris 10 ?

    <p>If you execute a disable commands while another user is justdoing a "force restructure",</p><p>you got no error and the command "display application"shows the command-flag with false.</p><p> </p><p>But every user can still execute a "force restructer",even if the user log in later.</p><p> </p><p>This behaviour occurs under OS=Sun Solaris with essbase Version9.2.0.1,</p><p>under windows with essbase version 9.2 Build 082 it worksfine.</p><p> </p><p>Is this a known BUG ?</p>

    I can't help you solaris tuning, but some things to look at.
    1. Is the Essbase.cfg file the same on both servers? You might have parallel calculation turned on in one and not the other. Caches could also be set differently
    2. Are the database caches set the same? This could impact performance as well
    3. Are you doing an apples to apples comparison? Is one database loaded and recalculated many times while the other is not (or restructured or reloaded)

  • Oracle 9i and IDS under sun solaris 8

    Need some help on oracle 9i and IDS under sun OS
    i want some clariffication in my project.
    If i develop my application under "sun solaris 8" OS for x86 with "oracle 9i"
    as the backend and "IDS" (internet developer suite) as the front end, Can my
    application be ported to the other environment i.e "SUNFIRE 280R" as the
    server with sun solaris 8 as the OS and the same DB and front-end ?.
    will there be any porting problems ?.
    i am new to this environment.And i don't have SUNFIRE 280R server with me and
    the customer won't supply it.
    can anybody guide me please ?.(i am looking for the suggestions form those who
    really worked on this environment.)
    Murthy

    Andrea...for a faster response, please post this question in the Database - Installation forum:
    Database Installation

  • File comparaison works on win32, not on unix solaris

    Hi all!
    I have the following code comparing 2 files. It works on win2000 but doesnt work on unix solaris.
         private boolean fichierIdentiqueBytePourByte( InputStream in1, InputStream in2 ) throws IOException{
              int a = 0, b = 0;
              while(true){
                // read next byte from both stream
                a = in1.read();
                b = in2.read();
                // if its different then files are different and we are done
                if (a!=b) return false;
                // if both are at eof then all checked must be the same
                if (a==-1&&b==-1) return true;
                // if either are at eof then they are different sizes
                if (a==-1||b==-1) return false;
         }any ideas of what the problem might be?
    Thanks

    418nic wrote:
    Hi all!
    I have the following code comparing 2 files. It works on win2000 but doesnt work on unix solaris.
         private boolean fichierIdentiqueBytePourByte( InputStream in1, InputStream in2 ) throws IOException{
              int a = 0, b = 0;
              while(true){
    // read next byte from both stream
    a = in1.read();
    b = in2.read();
    // if its different then files are different and we are done
    if (a!=b) return false;
    // if both are at eof then all checked must be the same
    if (a==-1&&b==-1) return true;
    // if either are at eof then they are different sizes
    if (a==-1||b==-1) return false;
         }any ideas of what the problem might be?
    ThanksWell, from your code, you only have two traits that this depends on to work--comparing int's and EOF. You have hard coded a -1 for EOF into this, I am not completely familiar with EOF condition on different platforms, but I know int's compare without error on every platform. Do a debug and a breakpoint set to stop just before you think you're going to get an EOF and I think you'll see, that the EOF you are using is the actual problem.

  • Dreamweaver CS4 Crashing under Snow Leopard

    I am having issues with Dreamweaver CS4 and Snow Leopard. Dreamweaver application opens fine, however, when I try to make edits to code on an HTML page, the program crashes.
    Background info:
    A Clean install of Snow Leopard was made on a new hard drive on my Intel Mac G5. (OS 10.5.7 Leopard is still loaded on another hard drive).
    Adobe Creative Suite was then installed on the Snow Leopard drive.
    Any feedback to try and work around this issue will be greatly appreciated.

    I spent the whole holiday weekend troubleshooting this on my MBP. Dreamweaver would crash mostly in system dialogues but sometimes randomly.
    What didn't work initially:
    1. Clean install of SL but when it finished, I migrated my old user account minus apps.
    2. Installed my usual apps and immediately had crashing at system dialogues with Dreamweaver CS4 and a few others.
    3. Hit all troubleshooting blogs and forums including adobe and apple. Tried all the cache flushing, preferences rebuilding, plist deleting til the cows came home. Nothing was working.
    Luckily I had carbon copy cloned my leopard install to a firewire 800 drive for a back up so I always had a way back but figured I would try it again.
    So here's what did work for me:
    1. Wiped my drive, installed SL cleanly, and upon completion I did NOT migrate ANY user settings from other computers or previous systems.
    2. Installed CS4 first thing and tested. It worked straight away so I did a time machine backup and started adding other apps and bringing folders over by hand all while doing intermittent testing and time machine backups in case I hit some snag that started things crashing again.
    3. I had iSynced my mail, address, calendar, bookmarks etc so that helped ease the pain of not migrating somewhat.... so I resynced everything back as a last step.
    4. And Voila. Been enjoying rock solid performance for several days since...  and zero crashing... even under intense use.
    A little manual? Yes. Should it have been necessary to go to this length? Probably not.
    But I will say my MBP is snappier than ever and everything is running tip top. So if you have the time, I still recommend doing it. Plus doing it a little manually helped cull my drive of a lot of crap I don't use or need anymore.
    If you want pure automation and no maintenance maybe wait for an update.

Maybe you are looking for