I have just changed my dev. and production platform from
Windows NT to Linux (RedHat 6.1) and experience different
problems when running my servlets.

My platform was:
    Windows NT
    Netscape Enterprise Server 3.0 for Windows
    JRun Servlet Engine (JCP) v2.3 from LiveSoftware for Windows
                                (supports Java Servlets API 2.1)
    Java2 JDK 1.2
    JSDK2.0 (and Java Servlets API 2.1)

My platform is:
    RedHat Linux v.6.1
    Apache 1.3.9
    JServ 1.1.2 for Apache
    Java2 JDK 1.2.2 (Blackdown 1.2.2_RC4)
    Java2 JSDK 2.1 (Java Servlets API 2.0???; servlets-2.0.jar)
-------------------------------------------------------------------------

First problem is that I can not manage to use just one instance
of my main servlet with JServ. Each request

    http://host_name/mount_point/servlet_alias_name?param1&param2...

starts up a new servlet:

    [17/02/2000 13:56:25:518 CET] org.apache.jserv.JServ: started
    [17/02/2000 13:57:07:541 CET] HelloWorld: started
    [17/02/2000 13:57:23:714 CET] servlet_alias_name/my_servlet_class:
started
    [17/02/2000 13:58:27:951 CET] servlet_alias_name/my_servlet_class:
started
    [17/02/2000 13:59:32:145 CET] servlet_alias_name/my_servlet_class:
started
    .....

On NT platform I could initialize my servlet just once and use it to
manage all
requests until JRun was token down:
    26 july 1999 13:46:54: my_servlet_class.init(): Done. // first
request to servlet
    26 july 1999 14:45:37: my_servlet_class.destroy(): Done. // stoped
JRun
-------------------------------------------------------------------------------------

The behavior of my servlet using JServ seems to crash Blackdown Java
1.2.2_RC4:

SIGSEGV   11*  segmentation violation
        si_signo [11]: SIGSEGV   11*  segmentation violation
        si_errno [0]: Success
        si_code [0]: SI_USER [pid: 0, uid: 0]
        stackpointer=0xbe7ff894

Full thread dump Classic VM (Linux_JDK_1.2.2_RC4, native threads):
    "Thread-7" (TID:0x40e80670, sys_thread_t:0x44832868, state:CW,
native ID:0x2c0c) prio=5
     at java.lang.Thread.sleep(Native Method)............
     .....
---------------------------------------------------------------------------------------

In mod_jserv.log the following can be found (among others):

[18/02/2000 08:08:34:694] (EMERGENCY) ajp12: can not connect to host
127.0.0.1:8007
[18/02/2000 08:08:34:694] (EMERGENCY) ajp12: connection fail
[18/02/2000 08:08:34:694] (ERROR) an error returned handling request via
protocol "ajpv12"
-------------------------------------------------------------------------------------------

In addition there are periodical requests (5 minutes) with the
URL the servlet engine (JServ) was first requested.

Has anybody experienced smth. like these problems?
We had no problems when running our servlets on NT
and would like to get them work on Linux.

janis

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to