[J-T-C] 1 second for crash (core)

2001-06-20 Thread francesco.casalena

Hi Pier,
I found a core in my /:

-
[root@localhost /]# gdb core core
GNU gdb 19991004
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-redhat-linux...
 
/core: not in executable format: File format not recognized
 
Core was generated by `/usr/local/apache/bin/httpd'.
Program terminated with signal 11, Segmentation fault.
#0  0x40494774 in ?? ()
(gdb) 
--

So httpd produces a segmentation fault error.
Apache works properly without TC4 connector.

Any idea?

Hi, ciao
Francesco
 

Francesco Casalena
L.U.G. Il Pinguino
--
Virgilio Mail - Il tuo indirizzo E-mail gratis
http://mail.virgilio.it




Apache - Tomcat4 connector conf

2001-06-09 Thread francesco.casalena

Hi,
I'm running a Red Hat 6.2 host with:
JDK 1.3.1
Jakarta-Tomcat 4.0 m5
Apache 1.3.19
Cocoon 2.0 b1

My scenario:I run Catalina and Apache so:

lynx http://localhost:8080 returns Catalina's home page

lynx http://localhost returns Apache's home page

I linked Catalina and Apache with mod_webapp.so (I've
compiled source files), so I added next raws to httpd.conf:

-
WebAppConnection infoConnection info
WebAppConnection warpConnection warp localhost:8008
WebAppMount examples warpConnection /examples/
-

Now I would say if link between Apache and Catalina works
properly.
This is nmap (port scanner) output:

-
[root@localhost nmap-2.12]# ./nmap localhost -sT -p 10-1

Starting nmap V. 2.12 by Fyodor ([EMAIL PROTECTED], www.insecure.org/nmap/)
Interesting ports on localhost (127.0.0.1):
PortState   Protocol  Service
21  opentcpftp
23  opentcptelnet
25  opentcpsmtp
79  opentcpfinger
80  opentcphttp
98  opentcplinuxconf
513 opentcplogin
514 opentcpshell
515 opentcpprinter
3306opentcpunknown
6000opentcpX11
8005opentcpunknown
8008opentcpunknown
8080opentcpunknown
8081opentcpunknown


You can see 8080 and 8081 port for Catalina and
8005 and 8008 for mod_webapp (as doc says).

This is catalina.out file:


 Starting service Tomcat-Standalone
Apache Tomcat/4.0-m5
Starting service Tomcat-Apache
Apache Tomcat/4.0-m5
[org.apache.catalina.connector.warp.WarpConnectionHandler]
New instance created
[org.apache.catalina.connector.warp.WarpConnectionHandler]
Setting connection
[org.apache.catalina.connector.warp.WarpConnectionHandler]
Setting Request ID 0
[org.apache.catalina.connector.warp.WarpConnectionHandler]
New instance created
[org.apache.catalina.connector.warp.WarpConnectionHandler]
Setting connection
[org.apache.catalina.connector.warp.WarpConnectionHandler]
Setting Request ID 0
[org.apache.catalina.connector.warp.WarpConnectionHandler]
New instance created
[org.apache.catalina.connector.warp.WarpConnectionHandler]
Setting connection
[org.apache.catalina.connector.warp.WarpConnectionHandler]
Setting Request ID 0
[org.apache.catalina.connector.warp.WarpConnectionHandler]
New instance created
[org.apache.catalina.connector.warp.WarpConnectionHandler]
  Setting connection
[org.apache.catalina.connector.warp.WarpConnectionHandler]
Setting Request ID 0
[org.apache.catalina.connector.warp.WarpConnectionHandler]
New instance created
[org.apache.catalina.connector.warp.WarpConnectionHandler]
Setting connection
[org.apache.catalina.connector.warp.WarpConnectionHandler]
Setting Request ID 0
[org.apache.catalina.connector.warp.WarpConnectionHandler]
Host localweb has ID=0
[org.apache.catalina.connector.warp.WarpConnectionHandler]
Host localweb has ID=0
[org.apache.catalina.connector.warp.WarpConnectionHandler]
Host localweb has ID=0
[org.apache.catalina.connector.warp.WarpConnectionHandler]
Host localweb has ID=0
[org.apache.catalina.connector.warp.WarpConnectionHandler]
Host localweb has ID=0
[org.apache.catalina.connector.warp.WarpConnectionHandler]
Application examples mapped in localweb/examples/ has ID 1
[org.apache.catalina.connector.warp.WarpConnectionHandler]
Application examples mapped in localweb/examples/ has ID 1
[org.apache.catalina.connector.warp.WarpConnectionHandler]
Application examples mapped in localweb/examples/ has ID 1
[org.apache.catalina.connector.warp.WarpConnectionHandler]
Application examples mapped in localweb/examples/ has ID 1
[org.apache.catalina.connector.warp.WarpConnectionHandler]
Application examples mapped in localweb/examples/ has ID 1

---

It seems ok, but read apache_log now:

---

2001-06-09 11:56:23 WarpHost[localweb]: Deploying web application at context path  
from URL file:/usr/local/jakarta-tomcat-4.0-m5/webapps/ROOT
2001-06-09 11:56:23 WarpContext[]: Starting
2001-06-09 11:56:23 WarpContext[]: Configuring default Resources
2001-06-09 11:56:23 WarpContext[]: Configuring default Loader
2001-06-09 11:56:23 WarpContext[]: Configuring default Manager
2001-06-09 11:56:23 WarpContext[]: Processing standard container startup
2001-06-09 11:56:23 WarpContext[]: Setting deployment descriptor public ID to '-//Sun 
Microsystems, Inc.//DTD Web Application 2.3//EN'
2001-06-09 11:56:25 WarpContext[]: Setting deployment