System crashing from JSP call

Has anybody tried calling 'System.exit(0)' from a JSP in WebLogic? Well,
          it crashes. Is it a bug, a feature, or is my system a bit misconfigured? How
          can I fix it?
          Bluemark
          [email protected]
          

Crashes? Do you mean sigbus or gpf or random exception or security
          exception?
          Why are you calling System.exit(0) from a JSP? (Please say that you are not
          doing that as part of an application.) Are you trying to turn that
          capability off? (Please say yes.)
          I would suggest removing all System.exit(0) calls from your JSPs ;-),
          however I could imagine that you are an ISP and trying to set up a shared
          hosting environment using WebLogic or something like that so you are trying
          to make the environment a little more idiot-proof. Am I close?
          Peace.
          Cameron Purdy
          [email protected]
          http://www.tangosol.com
          WebLogic Consulting Available
          "Pablo Marco" <[email protected]> wrote in message
          news:[email protected]..
          > Has anybody tried calling 'System.exit(0)' from a JSP in WebLogic? Well,
          > it crashes. Is it a bug, a feature, or is my system a bit misconfigured?
          How
          > can I fix it?
          >
          > Bluemark
          > [email protected]
          >
          >
          >
          

Similar Messages

  • Re: System crashing from JSP call

    Pablo Marco <[email protected]> wrote:
              >> Crashes? Do you mean sigbus or gpf or random exception or security
              >> exception?
              > No, it doesn't throw any exception. It just dies silently.
              This means that System.exit() actually worked ;-)))
              Dimitri
              http://dima.dhs.org
              

    Crashes? Do you mean sigbus or gpf or random exception or security
              exception?
              Why are you calling System.exit(0) from a JSP? (Please say that you are not
              doing that as part of an application.) Are you trying to turn that
              capability off? (Please say yes.)
              I would suggest removing all System.exit(0) calls from your JSPs ;-),
              however I could imagine that you are an ISP and trying to set up a shared
              hosting environment using WebLogic or something like that so you are trying
              to make the environment a little more idiot-proof. Am I close?
              Peace.
              Cameron Purdy
              [email protected]
              http://www.tangosol.com
              WebLogic Consulting Available
              "Pablo Marco" <[email protected]> wrote in message
              news:[email protected]..
              > Has anybody tried calling 'System.exit(0)' from a JSP in WebLogic? Well,
              > it crashes. Is it a bug, a feature, or is my system a bit misconfigured?
              How
              > can I fix it?
              >
              > Bluemark
              > [email protected]
              >
              >
              >
              

  • System crash at second call

    Hello,
    the code below works ok the first time I make a call, but the second time leads to system crash, see error message below. What do I do wrong?? If I take away the marked line in the code, it works ok...
    Thanks in advance!
    JNIEXPORT void JNICALL Java_thermod3_jtc_1phconst
    (JNIEnv *env, jobject obj, jstring ph){
    int nofs, nofcon[5], llen = 8;
    const jbyte *str;
    str = (*env)->GetStringUTFChars(env,ph,NULL);
    if(str == NULL)
         return;
    nofs = phase_constituents(str,nofcon,constnames,llen); // <---
    (*env)->ReleaseStringUTFChars(env,ph,str);
    return;
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : 11 occurred at PC=0x400215D0
    Function=pthread_getspecific+0x94
    Library=/lib/libpthread.so.0
    Current Java thread:
    Dynamic libraries:
    08048000-0804e000 r-xp 00000000 00:09 458006 /usr/local/j2sdk1.4.2_01/bin/java
    0804e000-0804f000 rw-p 00005000 00:09 458006 /usr/local/j2sdk1.4.2_01/bin/java
    40000000-40015000 r-xp 00000000 03:02 4559 /lib/ld-2.2.3.so
    40015000-40016000 rw-p 00014000 03:02 4559 /lib/ld-2.2.3.so
    40017000-40025000 r-xp 00000000 03:02 4579 /lib/libpthread-0.9.so
    40025000-4002d000 rw-p 0000d000 03:02 4579 /lib/libpthread-0.9.so
    4002d000-40030000 r-xp 00000000 03:02 4567 /lib/libdl-2.2.3.so
    40030000-40031000 rw-p 00002000 03:02 4567 /lib/libdl-2.2.3.so
    40031000-40138000 r-xp 00000000 03:02 4562 /lib/libc-2.2.3.so
    40138000-4013e000 rw-p 00106000 03:02 4562 /lib/libc-2.2.3.so
    40142000-4053c000 r-xp 00000000 00:09 865989 /usr/local/j2sdk1.4.2_01/jre/lib/i386/client/libjvm.so
    4053c000-40558000 rw-p 003f9000 00:09 865989 /usr/local/j2sdk1.4.2_01/jre/lib/i386/client/libjvm.so
    4056a000-4057b000 r-xp 00000000 03:02 4570 /lib/libnsl-2.2.3.so
    4057b000-4057d000 rw-p 00010000 03:02 4570 /lib/libnsl-2.2.3.so
    4057f000-405a0000 r-xp 00000000 03:02 4568 /lib/libm-2.2.3.so
    405a0000-405a1000 rw-p 00020000 03:02 4568 /lib/libm-2.2.3.so
    405a1000-405a9000 r-xp 00000000 00:09 702782 /usr/local/j2sdk1.4.2_01/jre/lib/i386/native_threads/libhpi.so
    405a9000-405aa000 rw-p 00007000 00:09 702782 /usr/local/j2sdk1.4.2_01/jre/lib/i386/native_threads/libhpi.so
    405aa000-405b4000 r-xp 00000000 03:02 4571 /lib/libnss_compat-2.2.3.so
    405b4000-405b6000 rw-p 00009000 03:02 4571 /lib/libnss_compat-2.2.3.so
    405b6000-405ba000 rw-s 00000000 03:02 61954 /tmp/hsperfdata_lina/448
    405ba000-405ca000 r-xp 00000000 00:09 702789 /usr/local/j2sdk1.4.2_01/jre/lib/i386/libverify.so
    405ca000-405cc000 rw-p 0000f000 00:09 702789 /usr/local/j2sdk1.4.2_01/jre/lib/i386/libverify.so
    405cc000-405ec000 r-xp 00000000 00:09 702790 /usr/local/j2sdk1.4.2_01/jre/lib/i386/libjava.so
    405ec000-405ee000 rw-p 0001f000 00:09 702790 /usr/local/j2sdk1.4.2_01/jre/lib/i386/libjava.so
    405ee000-40602000 r-xp 00000000 00:09 702792 /usr/local/j2sdk1.4.2_01/jre/lib/i386/libzip.so
    40602000-40605000 rw-p 00013000 00:09 702792 /usr/local/j2sdk1.4.2_01/jre/lib/i386/libzip.so
    40605000-41f9d000 r--s 00000000 00:09 702849 /usr/local/j2sdk1.4.2_01/jre/lib/rt.jar
    41fe7000-41ffd000 r--s 00000000 00:09 702814 /usr/local/j2sdk1.4.2_01/jre/lib/sunrsasign.jar
    41ffd000-420d8000 r--s 00000000 00:09 702846 /usr/local/j2sdk1.4.2_01/jre/lib/jsse.jar
    420d8000-420e9000 r--s 00000000 00:09 702815 /usr/local/j2sdk1.4.2_01/jre/lib/jce.jar
    420e9000-42642000 r--s 00000000 00:09 702847 /usr/local/j2sdk1.4.2_01/jre/lib/charsets.jar
    446ea000-446ed000 r--s 00000000 00:09 392707 /usr/local/j2sdk1.4.2_01/jre/lib/ext/dnsns.jar
    446ed000-446ef000 r-xp 00000000 00:08 538715 /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2
    446ef000-446f0000 rw-p 00001000 00:08 538715 /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2
    4c770000-4c78c000 r--s 00000000 00:09 392706 /usr/local/j2sdk1.4.2_01/jre/lib/ext/sunjce_provider.jar
    4c78c000-4c799000 r--s 00000000 00:09 392709 /usr/local/j2sdk1.4.2_01/jre/lib/ext/ldapsec.jar
    4c799000-4c855000 r--s 00000000 00:09 392770 /usr/local/j2sdk1.4.2_01/jre/lib/ext/localedata.jar
    4c855000-4cb20000 r-xp 00000000 00:09 702800 /usr/local/j2sdk1.4.2_01/jre/lib/i386/libawt.so
    4cb20000-4cb36000 rw-p 002ca000 00:09 702800 /usr/local/j2sdk1.4.2_01/jre/lib/i386/libawt.so
    4cb5b000-4cbae000 r-xp 00000000 00:09 702799 /usr/local/j2sdk1.4.2_01/jre/lib/i386/libmlib_image.so
    4cbae000-4cbaf000 rw-p 00052000 00:09 702799 /usr/local/j2sdk1.4.2_01/jre/lib/i386/libmlib_image.so
    4cbaf000-4cbb5000 r-xp 00000000 00:08 98053 /usr/X11R6/lib/libXp.so.6.2
    4cbb5000-4cbb6000 rw-p 00006000 00:08 98053 /usr/X11R6/lib/libXp.so.6.2
    4cbb6000-4cbfa000 r-xp 00000000 00:08 98182 /usr/X11R6/lib/libXt.so.6.0
    4cbfa000-4cbfd000 rw-p 00044000 00:08 98182 /usr/X11R6/lib/libXt.so.6.0
    4cbfe000-4cc0a000 r-xp 00000000 00:08 98136 /usr/X11R6/lib/libXext.so.6.4
    4cc0a000-4cc0b000 rw-p 0000b000 00:08 98136 /usr/X11R6/lib/libXext.so.6.4
    4cc0b000-4cc0f000 r-xp 00000000 00:08 98057 /usr/X11R6/lib/libXtst.so.6.1
    4cc0f000-4cc10000 rw-p 00003000 00:08 98057 /usr/X11R6/lib/libXtst.so.6.1
    4cc10000-4ccc4000 r-xp 00000000 00:08 98072 /usr/X11R6/lib/libX11.so.6.2
    4ccc4000-4ccc7000 rw-p 000b4000 00:08 98072 /usr/X11R6/lib/libX11.so.6.2
    4ccc7000-4ccce000 r-xp 00000000 00:08 98068 /usr/X11R6/lib/libSM.so.6.0
    4ccce000-4cccf000 rw-p 00007000 00:08 98068 /usr/X11R6/lib/libSM.so.6.0
    4cccf000-4cce2000 r-xp 00000000 00:08 98046 /usr/X11R6/lib/libICE.so.6.3
    4cce2000-4cce3000 rw-p 00012000 00:08 98046 /usr/X11R6/lib/libICE.so.6.3
    4cce5000-4cd9f000 r-xp 00000000 00:09 702803 /usr/local/j2sdk1.4.2_01/jre/lib/i386/libfontmanager.so
    4cd9f000-4cdb9000 rw-p 000b9000 00:09 702803 /usr/local/j2sdk1.4.2_01/jre/lib/i386/libfontmanager.so
    4cdba000-4cdc3000 r-xp 00000000 03:02 4574 /lib/libnss_files-2.2.3.so
    4cdc3000-4cdc4000 rw-p 00008000 03:02 4574 /lib/libnss_files-2.2.3.so
    4cdc4000-4cdc7000 r-xp 00000000 03:02 4573 /lib/libnss_dns-2.2.3.so
    4cdc7000-4cdc8000 rw-p 00002000 03:02 4573 /lib/libnss_dns-2.2.3.so
    4cdc8000-4cdd5000 r-xp 00000000 03:02 4580 /lib/libresolv-2.2.3.so
    4cdd5000-4cdd7000 rw-p 0000c000 03:02 4580 /lib/libresolv-2.2.3.so
    4cdd9000-4cde0000 r-xp 00000000 00:08 98131 /usr/X11R6/lib/libXcursor.so.1.0
    4cde0000-4cde1000 rw-p 00007000 00:08 98131 /usr/X11R6/lib/libXcursor.so.1.0
    4cde1000-4cde7000 r-xp 00000000 00:08 98181 /usr/X11R6/lib/libXrender.so.1.2
    4cde7000-4cde8000 rw-p 00006000 00:08 98181 /usr/X11R6/lib/libXrender.so.1.2
    4cde8000-4ce01000 r-xp 00000000 00:08 538718 /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2
    4ce01000-4ce03000 rw-p 00019000 00:08 538718 /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2
    4ce03000-4ce04000 r-xp 00000000 00:0d 3932325 /tcg_2/lina/bosse/ownlib/libjtc.so
    4ce04000-4ce05000 rw-p 00000000 00:0d 3932325 /tcg_2/lina/bosse/ownlib/libjtc.so
    4ce05000-4d0b4000 r-xp 00000000 00:0d 3932330 /tcg_2/lina/bosse/ownlib/libtc.so
    4d0b4000-4d0ee000 rw-p 002ae000 00:0d 3932330 /tcg_2/lina/bosse/ownlib/libtc.so
    4e89e000-4e8a1000 r-xp 00000000 00:0d 3932324 /tcg_2/lina/bosse/ownlib/jtcrut.o
    4e8a1000-4e8a2000 rw-p 00002000 00:0d 3932324 /tcg_2/lina/bosse/ownlib/jtcrut.o
    Heap at VM Abort:
    Heap
    def new generation total 576K, used 349K [0x446f0000, 0x44790000, 0x44bd0000)
    eden space 512K, 57% used [0x446f0000, 0x44739df8, 0x44770000)
    from space 64K, 83% used [0x44770000, 0x4477d620, 0x44780000)
    to space 64K, 0% used [0x44780000, 0x44780000, 0x44790000)
    tenured generation total 1408K, used 873K [0x44bd0000, 0x44d30000, 0x486f0000)
    the space 1408K, 62% used [0x44bd0000, 0x44caa648, 0x44caa800, 0x44d30000)
    compacting perm gen total 5120K, used 4953K [0x486f0000, 0x48bf0000, 0x4c6f0000)
    the space 5120K, 96% used [0x486f0000, 0x48bc6760, 0x48bc6800, 0x48bf0000)
    Local Time = Wed Oct 29 08:09:06 2003
    Elapsed Time = 7
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_01-b06 mixed mode)
    # An error report file has been saved as hs_err_pid448.log.
    # Please refer to the file for further information.

    From the docs, here are the two (C vs C++) ways of using JNI, so I think I misled you slightly.
    jdouble Java_pkg_Cls_f__ILjava_lang_String_2 (
         JNIEnv *env,        /* interface pointer */
         jobject obj,        /* "this" pointer */
         jint i,             /* argument #1 */
         jstring s)          /* argument #2 */
         /* Obtain a C-copy of the Java string */
         const char *str = (*env)->GetStringUTFChars(env, s, 0);
         /* process the string */
         /* Now we are done with str */
         (*env)->ReleaseStringUTFChars(env, s, str);
         return ...
    Note that we always manipulate Java objects using the interface pointer env . Using C++, you can write a slightly cleaner version of the code, as shown in Code Example 2-2:
    Code Example 2-2 Implementing a Native Method Using C++
    extern "C" /* specify the C calling convention */ 
    jdouble Java_pkg_Cls_f__ILjava_lang_String_2 (
         JNIEnv *env,        /* interface pointer */
         jobject obj,        /* "this" pointer */
         jint i,             /* argument #1 */
         jstring s)          /* argument #2 */
         const char *str = env->GetStringUTFChars(s, 0);
         env->ReleaseStringUTFChars(s, str);
         return ...

  • Work from command line but did not work from JSP call

    I have a test class that should perform Triple DES. When I run it from command line work ok, but when runs from JSP it give me an error:
    Exception:
    ======================================
    javax.crypto.IllegalBlockSizeException: Input length not multiple of 8 bytes
    put 3 check points inside the code, and run it from command line and here is the result:
    C:\Documents and Settings\salasadi\Desktop\DigitalMailer>java TDESStringEncrypto
    r 123456781234567812345678 "CID=103&A
    this is pass 3
    this is pass 1
    this is pass 2
    here is the class:
    import javax.crypto.*;
    import javax.crypto.spec.*;
    import java.security.*;
    import java.io.*;
    public class TDESStringEncryptor
    static final int DATA_STRING_LENGTH = 64;
    public static void main(String[] args)
    try
    TDESStringEncryptor enc = new TDESStringEncryptor();
    String value = enc.Encrypt(args[0], args[1]);
    System.err.println(value);
    catch (Exception ex)
    System.err.println(ex);
    public String Encrypt(String inkey, String data)
    throws Exception
    // convert key to byte array and get it into a key object
    byte[] rawkey = inkey.getBytes();
    DESedeKeySpec keyspec = new DESedeKeySpec(rawkey);
    SecretKeyFactory keyfactory = SecretKeyFactory.getInstance("DESede");
    SecretKey key = keyfactory.generateSecret(keyspec);
    Cipher cipher = Cipher.getInstance("DESede/ECB/NoPadding");
    cipher.init(Cipher.ENCRYPT_MODE, key);
    byte[] out = cipher.doFinal( padString(data).getBytes( ) );
    System.out.println("this is pass 1");
    return byteArrayToHexString( out );
    private String byteArrayToHexString(byte in[])
    byte ch = 0x00;
    int i = 0;
    if ( in == null || in.length <= 0 )
    return null;
    String pseudo[] = {"0", "1", "2", "3", "4", "5", "6", "7", "8",
    "9", "A", "B", "C", "D", "E", "F"};
    StringBuffer out = new StringBuffer( in.length * 2 );
    while ( i < in.length )
    ch = (byte) ( in[i] & 0xF0 );
    ch = (byte) ( ch >>> 4 );
    ch = (byte) ( ch & 0x0F );
    out.append( pseudo[ (int) ch] );
    ch = (byte) ( in[i] & 0x0F );
    out.append( pseudo[ (int) ch] );
    i++;
    String rslt = new String( out );
    System.out.println("this is pass 2");
    return rslt;
    private String padString( String s )
    StringBuffer str = new StringBuffer( s );
    int strLength = str.length();
    for ( int i = 0; i <= DATA_STRING_LENGTH ; i ++ )
    if ( i > strLength ) str.append( ' ' );
    System.out.println("this is pass 3");
    return str.toString();
    And here is the JSP call:
    TDESStringEncryptor encryptz = new TDESStringEncryptor();
    String cryptodata1 = encryptz.Encrypt(Keyz,cryptodata);
    Thanks

    Please use [ code ] tags when posting code.
    Please indicate the line that causes the exception.
    Please indicate what Keyz and cryptodata is.

  • System crash from hard drive

    Hey all,
    I've got a problem when i plug in my firewire drive to my new MBP. It gives me the grey curtain of death. I've tried doing the usual like PVRAM and the PMU settings.
    It started when I was trying to add a partition to the drive using disk utility. It got 90% of the way through and i got the curtain of death.
    I've tried booting in Safe mode which won't appear to load, even after about 5 mins. I've tried booting of the CD, but when I plug the drive back in it just crashes again.
    Basically I'd like to be able to stop it mounting so I can access it from the disk utility and try a repair. Failing that, a straight format.
    Any suggestions welcome. Thanks in advance
    Here is the error report:
    Tue Dec 2 00:46:15 2008
    panic(cpu 1 caller 0x001F9314): "jnl: mod block start: bufsize 512 not a multiple of block size 4096\n"@/SourceCache/xnu/xnu-1228.8.30/bsd/vfs/vfs_journal.c:2282
    Backtrace (CPU 1), Frame : Return Address (4 potential args on stack)
    0x2a3cb2a8 : 0x12b4c9 (0x45aaac 0x2a3cb2dc 0x1335ba 0x0)
    0x2a3cb2f8 : 0x1f9314 (0x46c084 0x200 0x1000 0x0)
    0x2a3cb348 : 0x332719 (0x4595d10 0x2bd46c30 0x0 0x200)
    0x2a3cb3e8 : 0x33bb5c (0x6037804 0x1 0x0 0x2a3cb778)
    0x2a3cb7a8 : 0x334123 (0x6037804 0x476e804 0x0 0x0)
    0x2a3cb8b8 : 0x335b8b (0x0 0x60459a4 0x0 0x0)
    0x2a3cb9a8 : 0x1f5c6e (0x4e5b260 0x6cd7510 0xbffffdd4 0x0)
    0x2a3cb9f8 : 0x1df3e8 (0x4e5b260 0x6cd7510 0xbffffdd4 0x0)
    0x2a3cbf28 : 0x1dfaa9 (0x4e8804c 0x2a3cbf48 0x60458e4 0x1)
    0x2a3cbf78 : 0x3df09b (0x4e8804c 0x60458a0 0x60458e4 0x0)
    0x2a3cbfc8 : 0x1a0767 (0x5c738c0 0x0 0x1a30b5 0x5c738c0)
    No mapping exists for frame pointer
    Backtrace terminated-invalid frame pointer 0xbffffe28
    BSD process name corresponding to current thread: mount_hfs
    Mac OS version:
    9F2114
    Kernel version:
    Darwin Kernel Version 9.5.1: Fri Sep 19 16:19:24 PDT 2008; root:xnu-1228.8.30~1/RELEASE_I386
    System model name: MacBookPro5,1 (Mac-F42D86C8)

    How about booting into the Leopard DVD and accessing the drive?
    Have you tried a different cable?
    Single user mode?

  • Returning System Messages From A Called Routine In Dynamic Actions

    I am triggering a call to a custom ABAP program from a Dynamic Action.  This program is doing updates and the user was asking me if I could return any system messages back so that the person doing the action would see them.   I've done some looking and can't seem to find an answer so I've come to the experts.  Any help is appreciated.

    Problem solved.

  • System crash when DAQmx call to USB DAQ device is powered off

    My PC crashes when I attempt communication with a NI DAQPad 6015 USB device which is in the powered off state. I am attempting to add error handling to my LabView application to cover the above condition, however, instead of receiving a error message, my PC crashes. When the device is powered on, my LabView routine works properly. I created the vi using the DAQmx DAQ assistant for a simple analog read from the device. I want to add the potential error handling condition to cover the case in which a user may attempt to run the software without turning on the device. When I attempted to run my vi twice with the device powered off, my PC crashed both times. The 2nd time, during reboot, I discovered that MAX was corrupted and had to repair using the installation CD.
    I am using LabView 7.1 with DAQ 7.4 on Windows 2000.
    Is there a known fix or workaround to this issue? Or is there a way to detect the presence of the device first before trying a DAQ read?
    Thanks,
    Joel

    Thanks very much for both your responses. I tried it again, but as you suggested, I used one of the example vi's. I chose the following:
    Acq&GraphVoltage-IntClk.vi found within: Hardware Input and Output >> DAQmx >> Analog Measurements >> Voltage
    I first tested the example vi with my DAQPad-6015 powered on. The vi successfully ran without error. I then turned the DAQPAd power off and ran the vi again. My system immediately crashed leaving me with a blank screen (with streaky lines) and forcing me to reboot. After reboot, I discovered that I can no longer open any of the DAQmx examples that are compatible with the DAQPad-6015. All are corrupted. Curiously, MAX was not corrupted again. I will have to re-install all examples and possibly LabView itself.
    Based on your feedback, I am guessing you will tell me that repeating the above on your system will simply produce an error message, as expected. It appears that I may have a fundamental incompatibility between my specific system hardware and DAQmx/LabView.
    Regards,
    Joel

  • Jrun 4.x with jdk 1.4 in eclipse java page not recognising from jsp call

    hi all,
    I have developed 1 web app. which includes JRUN 4.x, eclipse 6.6 and jdk 1.4.
    I have deployed the app. in IIS server also. and in config tool also.
    But when i run the application, it is not recognising the java page so, it is giving an error.
    it is sample page i am sending.
    i called the bean page directly also, but still same problem.
    my appl. strutucture
    ==============
    webRoot : test.jsp
    src : testbean.java
    test.jsp
    =====
    <%@ page language="java" import="java.util.*,testpack.*" %>
    <%!
    testbean test1 = new testbean();
    %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    </head>
    <body>
    This is my JSP page. <br>
    <%
    String s=test1.test();
    out.println("testing string="+s);
    %>
    </body>
    </html>
    java page
    ======
    package testpack;
    public class testbean {
         public String test(){
    return "test sucess";
    error
    ===
    500
    Translator.CompilationFailedExceptionCompiler errors:
    Found 1 semantic error compiling "C:/JRun4/servers/default/default-ear/default-war/WEB-INF/jsp/jrun__test2ejsp9.java":
    6. import testpack.*;
    <------>
    *** Error: Could not find package "testpack" in:
    C:\JRun4\servers\default\default-ear\default-war
    C:\JRun4\servers\default\default-ear\default-ejb
    C:\JRun4
    C:\JRun4\servers\default
    C:\j2sdk1.4.1_02\lib\tools.jar
    C:\JRun4\lib\jrun.jar
    C:\JRun4\lib\webservices.jar
    C:\JRun4\lib\macromedia_drivers.jar
    C:\JRun4\lib\mysql-connector-java-commercial-5.0.5-bin.jar
    C:\JRun4\lib\java2wsdl.jar
    C:\JRun4\lib\jrun-xdoclet.jar
    C:\JRun4\lib\jrun-ant-tasks.jar
    C:\JRun4\lib\jrunwizard.jar
    C:\JRun4\lib\jrunwizard-installer.jar
    C:\JRun4\lib\jspc.jar
    C:\JRun4\lib\migrate.jar
    C:\JRun4\lib\oem-xdoclet.jar

    On 07/20/2015 06:35 AM, Itzhak Hovav wrote:
    > hi
    > [snip]
    > [root@p22 eclipse]# cat eclipse.ini -startup
    > plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
    > --launcher.library
    > plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20120913-144807
    >
    > -showsplash
    > org.eclipse.platform
    > --launcher.XXMaxPermSize
    > 256m
    > --launcher.defaultAction
    > openFile
    > -vmargs
    > -Xms40m
    > -Xmx512m
    > [snip]
    Try this: http://wiki.eclipse.org/Eclipse.ini. You should have read the
    sticky posts at forum's top for getting started help.

  • System crash RFC destination

    Hi,
    When creating projects it fails with the messages:-
    1) System crash RFC destination , Call TMW_VERSION_TEST: User SAPSYS has no RFC authorization for function group TMW_TRACKING .
    2) System crash RFC destination , Call TMW_VERSION_TEST: Name or password is incorrect. Please re-enter.
    3) RFC destination error SM_PRDCLNT000_READ: RFC task PRD:000:TMW_GET_FULL_LIST already open.
    It is my understanding that 1 and 2 are related. The question I have is: How do I assign auhtorisation for SAPSYS to the function group TWM_TRACKING?
    Regards

    Hi Ferrandi,
    See if these notes are relevant to your scenario:
    Note 896042 - RFC access from satellite systems generates dump
    Note 920805 - Correction of the FM TMW_VERSION_TEST in Note 804198
    Also Which user do you use to generate the RFC`s??? Check the authorization for that user to generate RFC`s.&#12288;&#65332;&#65352;&#65349;&#12288;&#65345;&#65365;&#65364;&#65352;&#12288;&#65359;&#65346;&#65354;&#65349;&#65347;&#65364;&#12288;S_RFCACL and S_RFC which is not a part of SAP_ALL profile should be assigned to the user.
    Hope this is helpful.
    Regards,
    P. Kumaravel.
    Ps: Award points for helpful answers.

  • Trackpad gesture causes system crash

    Hello,
    In some cases a multifinger swipe gesture on the trackpad causes a total system crash. This problem is reproduceable when VLC video player is running. When I first minimize VLC and then make a 3-finger-gesture downwards the computer crashes. This also happens with at least the iOs simulator used by Xcode.
    I recently upgraded from Snow Leopard to Yosemite. This probably did not create the actual problem, because these crashes also occured from time to time in a more random way. Now they are just more regular.
    These are the specs of my Mac and a crash report. Reports are by the way just create in a few cases. I can also post some log entries close to the crash, if that would help. But I'm not totally sure if they have anything to do with that.
    Thanks for your help
    MacBook Pro (15-inch, Mid 2010)
    2,53 GHz Intel Core i5
    4 GB 1067 MHz DDR3
    Intel HD Graphics 288 MB
    300GB free disk space
    OS X Yosemite 10.10
    Crash Report while running VLC
    Thu Nov 13 13:30:38 2014
    *** Panic Report ***
    panic(cpu 2 caller 0xffffff7fa0bb7f63): "GPU Panic: [<None>] 5 3 7f 0 0 0 0 3 : NVRM[0/1:0:0]: Read Error 0x00000100: CFG 0xffffffff 0xffffffff 0xffffffff, BAR0 0xc0000000 0xffffff80c5bd5000 0x0a5480a2, D0, P3/4\n"@/SourceCache/AppleGraphicsControl/AppleGraphicsControl-3.7.21/src/Apple MuxControl/kext/GPUPanic.cpp:127
    Backtrace (CPU 2), Frame : Return Address
    0xffffff80b3b6aca0 : 0xffffff801df3a811
    0xffffff80b3b6ad20 : 0xffffff7fa0bb7f63
    0xffffff80b3b6ae00 : 0xffffff7f9eccdb9f
    0xffffff80b3b6aec0 : 0xffffff7f9ed9718e
    0xffffff80b3b6af00 : 0xffffff7f9ed971fe
    0xffffff80b3b6af70 : 0xffffff7f9f016056
    0xffffff80b3b6b0a0 : 0xffffff7f9edba82d
    0xffffff80b3b6b0c0 : 0xffffff7f9ecd45f1
    0xffffff80b3b6b170 : 0xffffff7f9ecd20fc
    0xffffff80b3b6b370 : 0xffffff7f9ecd3a4b
    0xffffff80b3b6b440 : 0xffffff7fa01897aa
    0xffffff80b3b6b520 : 0xffffff7fa0186a7c
    0xffffff80b3b6b5a0 : 0xffffff7fa0187631
    0xffffff80b3b6b620 : 0xffffff7fa0187e56
    0xffffff80b3b6b760 : 0xffffff7fa01888fb
    0xffffff80b3b6b890 : 0xffffff7fa01bbbce
    0xffffff80b3b6b8d0 : 0xffffff7fa01bc923
    0xffffff80b3b6b910 : 0xffffff7fa01b634c
    0xffffff80b3b6ba70 : 0xffffff7fa01b6c5c
    0xffffff80b3b6bab0 : 0xffffff7fa01b2213
    0xffffff80b3b6bae0 : 0xffffff7fa01953a4
    0xffffff80b3b6bb30 : 0xffffff801e501c92
    0xffffff80b3b6bb60 : 0xffffff801e502859
    0xffffff80b3b6bbc0 : 0xffffff801e500003
    0xffffff80b3b6bd00 : 0xffffff801dfea517
    0xffffff80b3b6be10 : 0xffffff801df3e91c
    0xffffff80b3b6be40 : 0xffffff801df235a3
    0xffffff80b3b6be90 : 0xffffff801df33e8d
    0xffffff80b3b6bf10 : 0xffffff801e00a142
    0xffffff80b3b6bfb0 : 0xffffff801e03ac66
    Kernel Extensions in backtrace:
    com.apple.nvidia.classic.NVDAResmanTesla(10.0)[796AE430-39FB-3255-8161-D52AFA28E E2B]@0xffffff7f9ec7d000->0xffffff7f9eee6fff
    dependency: com.apple.iokit.IOPCIFamily(2.9)[766FC23F-452C-3B74-951C-598BB17BCF06]@0xffffff 7f9e724000
    dependency: com.apple.iokit.IONDRVSupport(2.4.1)[F4738C55-B507-3627-A9CA-3D29A5230A03]@0xff ffff7f9ec6d000
    dependency: com.apple.iokit.IOGraphicsFamily(2.4.1)[6D99A3BE-D531-3780-880B-13F2FC894A4A]@0 xffffff7f9ec26000
    com.apple.nvidia.classic.NVDANV50HalTesla(10.0)[7FE40648-F15F-3E18-91E2-FDDDF4CD A355]@0xffffff7f9eef1000->0xffffff7f9f19afff
    dependency: com.apple.nvidia.classic.NVDAResmanTesla(10.0.0)[796AE430-39FB-3255-8161-D52AFA 28EE2B]@0xffffff7f9ec7d000
    dependency: com.apple.iokit.IOPCIFamily(2.9)[766FC23F-452C-3B74-951C-598BB17BCF06]@0xffffff 7f9e724000
    com.apple.GeForceTesla(10.0)[67CD214F-0F26-3BEF-BAD0-CF0F83C2616D]@0xffffff7fa01 58000->0xffffff7fa0225fff
    dependency: com.apple.iokit.IOPCIFamily(2.9)[766FC23F-452C-3B74-951C-598BB17BCF06]@0xffffff 7f9e724000
    dependency: com.apple.iokit.IONDRVSupport(2.4.1)[F4738C55-B507-3627-A9CA-3D29A5230A03]@0xff ffff7f9ec6d000
    dependency: com.apple.iokit.IOGraphicsFamily(2.4.1)[6D99A3BE-D531-3780-880B-13F2FC894A4A]@0 xffffff7f9ec26000
    dependency: com.apple.nvidia.classic.NVDAResmanTesla(10.0.0)[796AE430-39FB-3255-8161-D52AFA 28EE2B]@0xffffff7f9ec7d000
    com.apple.driver.AppleMuxControl(3.7.21)[32B7E2DE-1F9D-3555-B687-7A76A62B81D2]@0 xffffff7fa0ba9000->0xffffff7fa0bbcfff
    dependency: com.apple.driver.AppleGraphicsControl(3.7.21)[62689710-EEA7-307A-AC83-B8F25DA88 A6A]@0xffffff7fa0ba1000
    dependency: com.apple.iokit.IOACPIFamily(1.4)[70E2B65E-A91A-3522-A1A0-79FD63EABB4C]@0xfffff f7f9eb4b000
    dependency: com.apple.iokit.IOPCIFamily(2.9)[766FC23F-452C-3B74-951C-598BB17BCF06]@0xffffff 7f9e724000
    dependency: com.apple.iokit.IOGraphicsFamily(2.4.1)[6D99A3BE-D531-3780-880B-13F2FC894A4A]@0 xffffff7f9ec26000
    dependency: com.apple.driver.AppleBacklightExpert(1.1.0)[0183904C-6A16-32C4-9405-EEFD7F820B 02]@0xffffff7fa0ba4000
    BSD process name corresponding to current thread: WindowServer
    Mac OS version:
    14A389
    Kernel version:
    Darwin Kernel Version 14.0.0: Fri Sep 19 00:26:44 PDT 2014; root:xnu-2782.1.97~2/RELEASE_X86_64
    Kernel UUID: 89E10306-BC78-3A3B-955C-7C4922577E61
    Kernel slide:
    0x000000001dc00000
    Kernel text base: 0xffffff801de00000
    __HIB  text base: 0xffffff801dd00000
    System model name: MacBookPro6,2 (Mac-F22586C8)
    System uptime in nanoseconds: 196154267663
    last loaded kext at 54479935154: com.apple.driver.AudioAUUC    1.70 (addr 0xffffff7fa0440000, size 32768)
    last unloaded kext at 172341790590: com.apple.driver.AppleUSBUHCI    656.4.1 (addr 0xffffff7f9f348000, size 65536)
    loaded kexts:
    com.apple.driver.AudioAUUC    1.70
    com.apple.driver.AppleHWSensor    1.9.5d0
    com.apple.driver.AGPM    100.14.37
    com.apple.filesystems.autofs    3.0
    com.apple.iokit.IOBluetoothSerialManager    4.3.0f10
    com.apple.driver.AppleOSXWatchdog    1
    com.apple.driver.AppleMikeyHIDDriver    124
    com.apple.driver.AppleMikeyDriver    266.5
    com.apple.driver.AppleHDA    266.5
    com.apple.driver.AppleIntelHDGraphics    10.0.0
    com.apple.iokit.IOUserEthernet    1.0.1
    com.apple.Dont_Steal_Mac_OS_X    7.0.0
    com.apple.driver.AppleHWAccess    1
    com.apple.driver.AppleLPC    1.7.3
    com.apple.driver.AppleSMCLMU    2.0.4d1
    com.apple.driver.AppleHV    1
    com.apple.driver.AppleMuxControl    3.7.21
    com.apple.driver.AppleIntelHDGraphicsFB    10.0.0
    com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport    4.3.0f10
    com.apple.GeForceTesla    10.0.0
    com.apple.driver.AppleUpstreamUserClient    3.6.1
    com.apple.driver.AppleMCCSControl    1.2.10
    com.apple.driver.AppleSMCPDRC    1.0.0
    com.apple.driver.ACPI_SMC_PlatformPlugin    1.0.0
    com.apple.driver.SMCMotionSensor    3.0.4d1
    com.apple.driver.AppleUSBTCButtons    240.2
    com.apple.driver.AppleUSBCardReader    3.5.0
    com.apple.driver.AppleUSBTCKeyboard    240.2
    com.apple.driver.AppleIRController    327.5
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless    1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib    1.0.0d1
    com.apple.BootCache    35
    com.apple.iokit.SCSITaskUserClient    3.7.0
    com.apple.driver.XsanFilter    404
    com.apple.iokit.IOAHCIBlockStorage    2.6.5
    com.apple.driver.AirPort.Brcm4331    800.20.24
    com.apple.driver.AppleUSBHub    705.4.1
    com.apple.iokit.AppleBCM5701Ethernet    10.1.2b3
    com.apple.driver.AppleAHCIPort    3.0.7
    com.apple.driver.AppleFWOHCI    5.5.2
    com.apple.driver.AppleUSBEHCI    705.4.14
    com.apple.driver.AppleSmartBatteryManager    161.0.0
    com.apple.driver.AppleACPIButtons    3.1
    com.apple.driver.AppleRTC    2.0
    com.apple.driver.AppleHPET    1.8
    com.apple.driver.AppleSMBIOS    2.1
    com.apple.driver.AppleACPIEC    3.1
    com.apple.driver.AppleAPIC    1.7
    com.apple.driver.AppleIntelCPUPowerManagementClient    218.0.0
    com.apple.nke.applicationfirewall    161
    com.apple.security.quarantine    3
    com.apple.security.TMSafetyNet    8
    com.apple.driver.AppleIntelCPUPowerManagement    218.0.0
    com.apple.AppleGraphicsDeviceControl    3.7.21
    com.apple.kext.triggers    1.0
    com.apple.iokit.IOSerialFamily    11
    com.apple.driver.DspFuncLib    266.5
    com.apple.kext.OSvKernDSPLib    1.15
    com.apple.iokit.IOAudioFamily    200.6
    com.apple.vecLib.kext    1.2.0
    com.apple.iokit.IOSurface    97
    com.apple.iokit.IOFireWireIP    2.2.6
    com.apple.driver.AppleSMBusPCI    1.0.12d1
    com.apple.driver.AppleGraphicsControl    3.7.21
    com.apple.driver.AppleBacklightExpert    1.1.0
    com.apple.iokit.IOBluetoothHostControllerUSBTransport    4.3.0f10
    com.apple.iokit.IOBluetoothFamily    4.3.0f10
    com.apple.driver.AppleHDAController    266.5
    com.apple.iokit.IOHDAFamily    266.5
    com.apple.nvidia.classic.NVDANV50HalTesla    10.0.0
    com.apple.driver.AppleSMBusController    1.0.13d1
    com.apple.nvidia.classic.NVDAResmanTesla    10.0.0
    com.apple.iokit.IONDRVSupport    2.4.1
    com.apple.iokit.IOGraphicsFamily    2.4.1
    com.apple.iokit.IOUSBUserClient    705.4.0
    com.apple.driver.IOPlatformPluginLegacy    1.0.0
    com.apple.driver.IOPlatformPluginFamily    5.8.0d49
    com.apple.driver.AppleSMC    3.1.9
    com.apple.iokit.IOSCSIBlockCommandsDevice    3.7.0
    com.apple.iokit.IOUSBMassStorageClass    3.7.0
    com.apple.driver.AppleUSBMultitouch    245.2
    com.apple.iokit.IOUSBHIDDriver    705.4.0
    com.apple.driver.CoreStorage    471
    com.apple.iokit.IOSCSIMultimediaCommandsDevice    3.7.0
    com.apple.iokit.IOBDStorageFamily    1.7
    com.apple.iokit.IODVDStorageFamily    1.7.1
    com.apple.iokit.IOCDStorageFamily    1.7.1
    com.apple.driver.AppleUSBMergeNub    705.4.0
    com.apple.driver.AppleUSBComposite    705.4.9
    com.apple.iokit.IOAHCISerialATAPI    2.6.1
    com.apple.iokit.IOSCSIArchitectureModelFamily    3.7.0
    com.apple.iokit.IO80211Family    700.52
    com.apple.iokit.IOEthernetAVBController    1.0.3b3
    com.apple.driver.mDNSOffloadUserClient    1.0.1b8
    com.apple.iokit.IONetworkingFamily    3.2
    com.apple.iokit.IOAHCIFamily    2.7.0
    com.apple.iokit.IOFireWireFamily    4.5.6
    com.apple.iokit.IOUSBFamily    705.4.14
    com.apple.driver.AppleEFINVRAM    2.0
    com.apple.driver.AppleEFIRuntime    2.0
    com.apple.iokit.IOHIDFamily    2.0.0
    com.apple.iokit.IOSMBusFamily    1.1
    com.apple.security.sandbox    300.0
    com.apple.kext.AppleMatch    1.0.0d1
    com.apple.driver.AppleKeyStore    2
    com.apple.driver.AppleMobileFileIntegrity    1.0.5
    com.apple.driver.AppleCredentialManager    1.0
    com.apple.driver.DiskImages    389.1
    com.apple.iokit.IOStorageFamily    2.0
    com.apple.iokit.IOReportFamily    31
    com.apple.driver.AppleFDEKeyStore    28.30
    com.apple.driver.AppleACPIPlatform    3.1
    com.apple.iokit.IOPCIFamily    2.9
    com.apple.iokit.IOACPIFamily    1.4
    com.apple.kec.Libm    1
    com.apple.kec.pthread    1
    com.apple.kec.corecrypto    1.0
    Model: MacBookPro6,2, BootROM MBP61.0057.B0C, 2 processors, Intel Core i5, 2.53 GHz, 4 GB, SMC 1.58f16
    Graphics: Intel HD Graphics, Intel HD Graphics, Built-In, 288 MB
    Graphics: NVIDIA GeForce GT 330M, NVIDIA GeForce GT 330M, PCIe, 256 MB
    Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1067 MHz, 0x80CE, 0x4D34373142353637334648302D4346382020
    Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1067 MHz, 0x80CE, 0x4D34373142353637334648302D4346382020
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x93), Broadcom BCM43xx 1.0 (5.106.98.100.24)
    Bluetooth: Version 4.3.0f10 14890, 3 services, 19 devices, 1 incoming serial ports
    Network Service: AirPort, AirPort, en1
    Serial ATA Device: TOSHIBA MK5055GSXF, 500,11 GB
    Serial ATA Device: MATSHITADVD-R   UJ-898
    USB Device: Hub
    USB Device: Internal Memory Card Reader
    USB Device: Apple Internal Keyboard / Trackpad
    USB Device: BRCM2070 Hub
    USB Device: Bluetooth USB Host Controller
    USB Device: Hub
    USB Device: IR Receiver
    USB Device: Built-in iSight
    Thunderbolt Bus:

    Hi busrardn,
    If you are having intermittent but reproducible system crashes from specific trackpad inputs on your MacBook Pro, you may find the troubleshooting steps outlined in the following article helpful (apologies if you have already seen it):
    OS X: When your computer spontaneously restarts or displays "Your computer restarted because of a problem." - Apple Support
    Regards,
    - Brenden

  • Anyone know the way to call SQLLoader utility or similar from JSP/Servlet?

    Anyone know the way to call SQLLoader utility or similar from JSP or Servlet?
    i would like to make a big data load from web interface, using SQL Loader or similar, because this utility allows a great performance.
    I think that i can make a JSP or Servlet to open file, and create insert statement into a loop, but the performance is very bad for 30000 inpuits.
    Help me please
    Thanks
    Note: my english is very bad. Sorry.

    Hi there,
    I tried this codes into a Bean like this:
    package com.tuxedo.beans;
    import java.io.*;
    public class TuxTest
         public void RunTest()
              try{
                   Runtime rt = Runtime.getRuntime();
                   Process pr = rt.exec("command /k c:\test.bat");
              } catch (IOException e) {
                   System.err.println("Error: " + e.getMessage());
    }and call it with a JSP like this:
    <html>
    <head><title>Tuxedo Test</title></head>
    <body>
    To run a test on local batch file
    <jsp:useBean id="test1 " class="com.tuxedo.beans.TuxTest"/>
    <jsp: RunTest name="test1"/>
    </body>
    </html>i had created folder %tomcat%\webapps\ROOT\WEB-INF\classes\com\tuxedo\beans to store the bean.
    Yet the JSP file executed, but i dun see any response by calling the batch file, anyone have any idea?
    the batch file is like this:
    @echo off
    echo
    echo Hello World!
    echo
    pausePlease help!

  • Call Unix Script from JSP.

    Hi,
    I need to run a unix script from a JSP page.
    JSP pages reside on a different machine.
    How can i call the unix script resides on different machine from JSP.
    Thanks,
    Narendra

    yah. I can access that machine telnet and having all credentials of that system.
    Can you please share the code needed for this.
    Thanks,
    Narendra

  • Calling abap rfc FM from jsp programming

    hi friends,
        I am having a requirement to call abap function module from jsp page. can any one help me please?
    thanks
    Medoyi C

    Hi Medoyi,
    Please follow the below steps
    1. Are you using NWDS or any other IDE? Create your Web Project.
    2. In any of the case download JCO3.0 jar files and add to these librarries to you IDE.
    3. Create a connection class in write a code here and you should have host, port and userid/password of the ECC system from where you are calling your RFC.
    4. After making a connection then write a code to pass import parameters and execute.
    5. After execution of RFC you will get export parameter, table or structure.
    6. Display this data now as a respose.
    Please reply back if any more information is required.
    Thanks,
    Hamendra

  • Can't create DeliveryBean when call bpel from jsp

    Can't create DeliveryBean when call bpel from jsp
    /*** code ********************************/
    Properties props = new java.util.Properties();
    java.net.URL url = ClassLoader.getSystemResource("context.properties");
    props.load(url.openStream());
    Locator locator = new Locator(domain, "bpel", props);
    IDeliveryService deliveryService = (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME);
    NormalizedMessage nm = new NormalizedMessage();
    String convId = GUIDGenerator.generateGUID();
    nm.setProperty(NormalizedMessage.CONVERSATION_ID, convId);
    nm.addPart("payload", xml);
    NormalizedMessage res = deliveryService.request(processID,operationName, nm);
    /*** code ********************************/
    This code works well in java , but when I use it in jsp on tomcat server,
    the following exception ocured:
    Can not create "ejb/collaxa/system/DeliveryBean" bean; exception reported is: "javax.naming.NameNotFoundException: Name ejb is not bound in this Context at org.apache.naming.NamingContext.lookup(NamingContext.java:768) at org.apache.naming.NamingContext.lookup(NamingContext.java:151) at org.apache.naming.SelectorContext.lookup(SelectorContext.java:136) at javax.naming.InitialContext.lookup(InitialContext.java:351) at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:279) at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:250) at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:83) at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:53) at workflow.bpel.BpelProcessHelper.invokeSyncBpel(BpelProcessHelper.java:54) at
    Will anyone to tell me where "ejb/collaxa/system/DeliveryBean" bean is?
    Which jar file is this class in ?
    Thanks

    did you try including bpel/lib/orabpel.jar & bpel/system/server/j2ee/ob_ejb_engine.jar in your tomcat classpath.

  • Calling an EJB from jsp - ServletException

    I am unable to call an EJB from jsp, unless I put the actuall classes of
              the EJB into the classpath. Is this the right way to do it?
              The exception is:
              Servlet failed with ServletException
              javax.servlet.ServletException: Servlet class: 'jsp_servlet._result'
              could not be loaded - the requested class wasn't found in the
              classpath:
              '/local/apps/bea/wlserver6.0/config/gmodomain/applications/.wl_temp_do_not_delete/wl_local_comp34107.war:/local/apps/bea/wlserver6.0/./config/gmodomain/applications/.wl_temp_do_not_delete/WEB-INF/_tmp_war_gmo_gmo_webwar:/local/apps/bea/wlserver6.0/config/gmodomain/applications/.wl_temp_do_not_delete/WEB-INF/_tmp_war_gmo_gmo_webwar'
              at
              weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:532)
              at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:191)
              at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:148)
              at
              weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:306)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:208)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:246)
              at
              weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:1265)
              at
              weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1622)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              where result.jsp is the jsp page calling the EJB. I did an import of the
              EJB classes in the jsp.
              like i said, it works if I put the bean classes in the classpath. But is
              it right?
              if I have these in the exploded format, do I need to put anything in the
              application web.xml under:
              wlserver6.0/config/gmodomain/applications/DefaultWebApp_gmo/WEB-INF ?
              redhat 6.2, wl6.0sp1
              here are the xml files:
              web.xml:
              <?xml version="1.0"?>
              <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
              2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
              <!--
              $Id: web.xml,v 1.2 2001/03/14 22:23:03 jeff Exp $
              $Source:
              /usr/local/cvsroot/JUnitEE/example/components/web-war/WEB-INF/web.xml,v
              $
              -->
              <web-app>
              <display-name>My Web Application</display-name>
              <description>none</description>
              <ejb-ref>
              <ejb-ref-name>MyWeb</ejb-ref-name>
              <ejb-ref-type>Session</ejb-ref-type>
              <home>com.blah.ejb.myweb.WyWebHome</home>
              <remote>com.blah.ejb.myweb.MyWeb</remote>
              </ejb-ref>
              </web-app>
              weblogic.xml:
              <!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web
              Application 6.0//EN"
              "http://www.bea.com/servers/wls600/dtd/weblogic-web-jar.dtd">
              <weblogic-web-app>
              <jsp-descriptor>
              <jsp-param>
              <param-name>
              pageCheckSeconds
              </param-name>
              <param-value>
              1
              </param-value>
              </jsp-param>
              <jsp-param>
              <param-name>
              verbose
              </param-name>
              <param-value>
              true
              </param-value>
              </jsp-param>
              <jsp-param>
              <param-name>compileCommand</param-name>
              <param-value>/local/apps/jdk1.3.0_02/bin/javac</param-value>
              </jsp-param>
              </jsp-descriptor>
              <reference-descriptor>
              <ejb-reference-description>
              <ejb-ref-name>MyWeb</ejb-ref-name>
              <jndi-name>MyWeb</jndi-name>
              </ejb-reference-description>
              </reference-descriptor>
              </weblogic-web-app>
              thanks,
              Gary
              

    Did you package your JSPs in a WAR and your EJBs in a JAR and package the
              WAR and JAR in an EAR? That is how to do it in 6.0. Works well.
              Peace,
              Cameron Purdy
              Tangosol, Inc.
              http://www.tangosol.com
              +1.617.623.5782
              WebLogic Consulting Available
              "gmo" <[email protected]> wrote in message
              news:[email protected]...
              > I am unable to call an EJB from jsp, unless I put the actuall classes of
              > the EJB into the classpath. Is this the right way to do it?
              > The exception is:
              > Servlet failed with ServletException
              > javax.servlet.ServletException: Servlet class: 'jsp_servlet._result'
              > could not be loaded - the requested class wasn't found in the
              > classpath:
              >
              '/local/apps/bea/wlserver6.0/config/gmodomain/applications/.wl_temp_do_not_d
              elete/wl_local_comp34107.war:/local/apps/bea/wlserver6.0/./config/gmodomain/
              applications/.wl_temp_do_not_delete/WEB-INF/_tmp_war_gmo_gmo_webwar:/local/a
              pps/bea/wlserver6.0/config/gmodomain/applications/.wl_temp_do_not_delete/WEB
              -INF/_tmp_war_gmo_gmo_webwar'
              >
              > at
              >
              weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav
              a:532)
              >
              > at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:191)
              >
              > at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:148)
              >
              > at
              >
              weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:30
              6)
              >
              > at
              >
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :208)
              >
              > at
              >
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :246)
              >
              > at
              >
              weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
              ntext.java:1265)
              >
              > at
              >
              weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
              :1622)
              >
              > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
              >
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >
              > where result.jsp is the jsp page calling the EJB. I did an import of the
              > EJB classes in the jsp.
              > like i said, it works if I put the bean classes in the classpath. But is
              > it right?
              > if I have these in the exploded format, do I need to put anything in the
              > application web.xml under:
              > wlserver6.0/config/gmodomain/applications/DefaultWebApp_gmo/WEB-INF ?
              >
              > redhat 6.2, wl6.0sp1
              >
              > here are the xml files:
              > web.xml:
              >
              > <?xml version="1.0"?>
              > <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
              > 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
              >
              > <!--
              > $Id: web.xml,v 1.2 2001/03/14 22:23:03 jeff Exp $
              > $Source:
              > /usr/local/cvsroot/JUnitEE/example/components/web-war/WEB-INF/web.xml,v
              > $
              > -->
              >
              > <web-app>
              > <display-name>My Web Application</display-name>
              > <description>none</description>
              > <ejb-ref>
              > <ejb-ref-name>MyWeb</ejb-ref-name>
              > <ejb-ref-type>Session</ejb-ref-type>
              > <home>com.blah.ejb.myweb.WyWebHome</home>
              > <remote>com.blah.ejb.myweb.MyWeb</remote>
              > </ejb-ref>
              > </web-app>
              >
              > weblogic.xml:
              >
              > <!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web
              > Application 6.0//EN"
              > "http://www.bea.com/servers/wls600/dtd/weblogic-web-jar.dtd">
              > <weblogic-web-app>
              > <jsp-descriptor>
              > <jsp-param>
              > <param-name>
              > pageCheckSeconds
              > </param-name>
              > <param-value>
              > 1
              > </param-value>
              > </jsp-param>
              > <jsp-param>
              > <param-name>
              > verbose
              > </param-name>
              > <param-value>
              > true
              > </param-value>
              > </jsp-param>
              > <jsp-param>
              > <param-name>compileCommand</param-name>
              > <param-value>/local/apps/jdk1.3.0_02/bin/javac</param-value>
              > </jsp-param>
              > </jsp-descriptor>
              > <reference-descriptor>
              > <ejb-reference-description>
              > <ejb-ref-name>MyWeb</ejb-ref-name>
              > <jndi-name>MyWeb</jndi-name>
              > </ejb-reference-description>
              > </reference-descriptor>
              > </weblogic-web-app>
              >
              > thanks,
              >
              > Gary
              >
              >
              

Maybe you are looking for