----------------------------------------------------
Please read the FAQ at <http://java.apache.org/faq/>
It has a search feature and all the answers!
----------------------------------------------------

Yes. It runs now. If not completely, it atleast runs.
Following is the real problem I have/had with all
versions of JServ. (1.0, 1.1b1, 1.1b2).

I have a shared object file that generates some cookie
strings. The c++ code for this shared object file is not
available because it is vendor properiatory. I wrote a Java
JNI wrapper for it and used it in my servlet/JSP web application.
I tested the application out with Weblogic 4.0.3. 
It all works fine and everybody is happy. 
Now we decided to deploy this application on apache/Jserv
platform. I successfully deployed it there except for 1 crashing problem.
JServ crashes after using one of the native methods from the shared object
file.
Apache then brings up Jserv after few seconds. I see a core dump in error log
with following errors.

Apache error_log
------------------------

SIGBUS    10*  bus error
    si_signo [10]: SIGBUS    10*  bus error
    si_errno [0]: Error 0
    si_code [0]: SI_USER [pid: 7558, uid: 60001]
        stackbase=EFFFF4E8, stackpointer=EFFFDE64

Full thread dump:
    "Thread-95" (TID:0xed699aa0, sys_thread_t:0x2538f0, state:R, thread_t:
t@100
, sp:0x0 threadID:0xef153e00, stack_base:0xef153d94, stack_size:0x22000)
prio=5
        java.lang.String.equals(Compiled Code)
signal fault in critical section
signal number: 10, signal code: 1,                  fault address: 0x47,
pc: 0xe
f227cec, sp: 0xefffdbb8
ABORT: core dump
[Wed Oct 13 16:22:54 1999] [error] [client 170.149.162.10] Premature end of
scri
pt headers: (null)    

Jserv.log
------------
[13/10/1999 16:21:42:756 EDT]
_jsp._backupweb._local._apache._htdocs._regi._Acco
untCreated_2ejsp: init
[13/10/1999 16:22:54:500] (EMERGENCY) ajp12: cannot scan servlet headers
(500)
[13/10/1999 16:22:54:501] (ERROR) an error returned handling request via
protoco
l "ajpv12"  .

Does anyone know how to fix this ?

Thanks
Rupali


At 11:21 AM 10/14/99 -0700, you wrote:
>----------------------------------------------------
>Please read the FAQ at <http://java.apache.org/faq/>
>It has a search feature and all the answers!
>----------------------------------------------------
>
>> 
>> Okay I figured it out. It was a problem created by cut
>> and paste in a telnet window. A extra new line good added
>> after cut and paste causing the LD_LIBRARY_PATH string to
>> break.
>>
>> Thanks for the help
>> Rupali
>
>so, is it working now?
>
>-jon
>
>
>
>--
>--------------------------------------------------------------
>Please read the FAQ! <http://java.apache.org/faq/>
>To subscribe:        [EMAIL PROTECTED]
>To unsubscribe:      [EMAIL PROTECTED]
>Archives and Other:  <http://java.apache.org/main/mail.html>
>Problems?:           [EMAIL PROTECTED]
> 



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to