DO NOT REPLY [Bug 23831] - problem using mod_jk2 connector with Apache and Tomcat

2004-02-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23831>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23831

problem using mod_jk2 connector with Apache and Tomcat

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID



--- Additional Comments From [EMAIL PROTECTED]  2004-02-16 08:37 ---
Thanks to revalidate with latest jk2 CVS and latest TC 4.1.30 (there was fix in
ThreadPools)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 23831] - problem using mod_jk2 connector with Apache and Tomcat

2003-10-15 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23831>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23831

problem using mod_jk2 connector with Apache and Tomcat

[EMAIL PROTECTED] changed:

   What|Removed |Added

   Priority|Other   |High



--- Additional Comments From [EMAIL PROTECTED]  2003-10-15 16:13 ---
Some strange problems with Apache and Tomcat...After some
time and server-stress, Apache doesn't response to requests which are
routed to tomcat...Another ... There're much more java (35 processes) and 
apache (20 proc) processes running on my server ... and with netstat command I 
have almost 20 internet connection to 8009 port

It's strange ... I think that tomcat not release connection after use...is it 
possible ??!

Thanks

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 23831] - problem using mod_jk2 connector with Apache and Tomcat

2003-10-15 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23831>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23831

problem using mod_jk2 connector with Apache and Tomcat





--- Additional Comments From [EMAIL PROTECTED]  2003-10-15 16:08 ---
Some strange problems with Apache and Tomcat...After some
time and server-stress, Apache doesn't response to requests which are
routed to tomcat...Another ... There're much more java (35 processes) and 
apache (20 proc) processes running on my server ... and with netstat command I 
have almost 20 internet connection to 8009 port

It's strange ... I think that tomcat not release connection after use...is it 
possible ??!

Thanks

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 23831] New: - problem using mod_jk2 connector with Apache and Tomcat

2003-10-15 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23831>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23831

problem using mod_jk2 connector with Apache and Tomcat

   Summary: problem using mod_jk2 connector with Apache and Tomcat
   Product: Tomcat 4
   Version: 4.1.27
  Platform: PC
OS/Version: Linux
Status: NEW
  Severity: Critical
  Priority: Other
 Component: Connector:Coyote JK 2
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


I've a problem with mod_jk2 connector (2.0.2) with Apache 2.0.43 and Tomcat 
4.1.27.

After a bit, log file (error_log) writes this lines:

[Wed Oct 15 12:08:32 2003] [error] Error ajp_process_callback - write failed
[Wed Oct 15 12:08:32 2003] [error] ajp13.service() ajpGetReply recoverable 
error 3
[Wed Oct 15 12:08:32 2003] [error] Error ajp_process_callback - write failed
[Wed Oct 15 12:08:32 2003] [error] ajp13.service() ajpGetReply recoverable 
error 3
[Wed Oct 15 12:08:32 2003] [error] ajp13.service() Error  forwarding 
ajp13:localhost:8009 1 0
[Wed Oct 15 12:08:32 2003] [error] mod_jk.handler() Error connecting to tomcat 
3

This's my configuration files:

* BEGIN jk2.properties 
handler.list=apr,channelSocket,request

channelSocket.port=8009

serverRoot=/usr/local/apache

apr.NativeSo = /usr/local/apache/modules/jkjni.so
* ENDjk2.properties 

* BEGIN workers2.properties 
# Shared memory handling.
[shm:]
file=/usr/local/apache/conf/shm.file
size=1048576

[config]
file=/usr/local/apache/conf/workers2.properties
debug=10
debugEnv=10

[channel.socket:localhost:8009]
port=8009
host=127.0.0.1
tomcatId=localhost:8009

[ajp13:localhost:8009]
channel=channel.socket:localhost:8009

# Uri mapping.
[uri:/*]
worker=ajp13:localhost:8009
* END workers2.properties 

* BEGIN server.xml 













* END server.xml 

The strange think is that until a few day ago this server isn't problems.

Please help me

Pier

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



MOD_JK2 Connector possibly corrupting javascript files (mod_jk2-2.0.43.dll)

2003-02-07 Thread Andrew Milkowski
Dear participants of this list.

My environment is:

OS  : Windows XP
Web Server  : Apache 2.0.43
Tomcat  : 4.1.18
Connector   : mod_jk2 (mod_jk2-2.0.43.dll)

I have deployed a sample application, that includes some dhtml javascript
(HM_ScriptDOM.js)
for simplicity I placed this file in the example context

when accessing this javascript by not going thru the connector:
http://127.0.0.1:8080/examples/HM_ScriptDOM.js
behavior is as expected, no corruption occurs and some simple error is
thrown due to undefined variables

However hitting the same uri via a connector:
http://127.0.0.1/examples/HM_ScriptDOM.js seemes to be corrupting
this javascript file

Wonder if this is an environmental error, or indeed a serious defect

Attaching all relevant files that might help diagnose problem, wonder if any
of you came across this problem

for space reasons I couldnt attach HM_ScriptDOM.js, but that readily can be
obtained from
http://helikon.muze.nl/cgi-bin/cvsweb/ariadne/www/widgets/menu/HM_ScriptDOM.
js?sortby=author

regards



#
# Based upon the NCSA server configuration files originally by Rob McCool.
#
# This is the main Apache server configuration file.  It contains the
# configuration directives that give the server its instructions.
# See http://httpd.apache.org/docs-2.0/> for detailed information about
# the directives.
#
# Do NOT simply read the instructions in here without understanding
# what they do.  They're here only as hints or reminders.  If you are unsure
# consult the online docs. You have been warned.  
#
# The configuration directives are grouped into three basic sections:
#  1. Directives that control the operation of the Apache server process as a
# whole (the 'global environment').
#  2. Directives that define the parameters of the 'main' or 'default' server,
# which responds to requests that aren't handled by a virtual host.
# These directives also provide default values for the settings
# of all virtual hosts.
#  3. Settings for virtual hosts, which allow Web requests to be sent to
# different IP addresses or hostnames and have them handled by the
# same Apache server process.
#
# Configuration and logfile names: If the filenames you specify for many
# of the server's control files begin with "/" (or "drive:/" for Win32), the
# server will use that explicit path.  If the filenames do *not* begin
# with "/", the value of ServerRoot is prepended -- so "logs/foo.log"
# with ServerRoot set to "C:/Apache/Apache2" will be interpreted by the
# server as "C:/Apache/Apache2/logs/foo.log".
#
# NOTE: Where filenames are specified, you must use forward slashes
# instead of backslashes (e.g., "c:/apache" instead of "c:\apache").
# If a drive letter is omitted, the drive on which Apache.exe is located
# will be used by default.  It is recommended that you always supply
# an explicit drive letter in absolute paths, however, to avoid
# confusion.
#

### Section 1: Global Environment
#
# The directives in this section affect the overall operation of Apache,
# such as the number of concurrent requests it can handle or where it
# can find its configuration files.
#

#
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
# NOTE!  If you intend to place this on an NFS (or otherwise network)
# mounted filesystem then please read the LockFile documentation (available
# at http://httpd.apache.org/docs-2.0/mod/mpm_common.html#lockfile>);
# you will save yourself a lot of trouble.
#
# Do NOT add a slash at the end of the directory path.
#
ServerRoot "C:/Apache/Apache2"

#
# ScoreBoardFile: File used to store internal server process information.
# If unspecified (the default), the scoreboard will be stored in an
# anonymous shared memory segment, and will be unavailable to third-party
# applications.
# If specified, ensure that no two invocations of Apache share the same
# scoreboard file. The scoreboard file MUST BE STORED ON A LOCAL DISK.
#
#ScoreBoardFile logs/apache_runtime_status

#
# PidFile: The file in which the server should record its process
# identification number when it starts.
#
PidFile logs/httpd.pid

#
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 300

#
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate.
#
KeepAlive On

#
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
#
MaxKeepAliveRequests 100

#
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
#
KeepAliveTimeout 15

##
## Server-Pool Size Regulation (MPM specific)
## 

# WinNT MPM
# ThreadsPerChild: constant number of worker threads in the server process
# MaxRequestsPerChild: maximum  number of requests a serve

Re: mod_jk2 connector

2002-04-28 Thread Michael Delamere

First of all it compiled ok this time!  Brilliant!

Now I´m getting an error when restarting apache:

Cannot load /usr/local/apache2.0.35/modules/mod_jk2.so into server: shared
object not open

Is this because the worker configuration has changed?

regards

Michael


- Original Message -
From: <[EMAIL PROTECTED]>
To: "Tomcat Developers List" <[EMAIL PROTECTED]>
Sent: Sunday, April 28, 2002 3:36 PM
Subject: Re: mod_jk2 connector


> On Sun, 28 Apr 2002, Michael Delamere wrote:
>
>
>   -g -O2 -pthread-DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOU
RC
> >
E -D_SVID_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER  -I../../include -I/usr/lo
>
> I've got it. Sorry, we mostly use ant for development - the Makefile gets
> updated less often. ( the bug was that we didn't pass the JK_CFLAGS to the
> compiler - so it didn't know that we do have and use apr and tried to
> compile the 'transition' layer ).
>
> Costin
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: mod_jk2 connector

2002-04-28 Thread costinm

On Sun, 28 Apr 2002, Michael Delamere wrote:

>   -g -O2 -pthread-DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURC
> E -D_SVID_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER  -I../../include -I/usr/lo

I've got it. Sorry, we mostly use ant for development - the Makefile gets
updated less often. ( the bug was that we didn't pass the JK_CFLAGS to the
compiler - so it didn't know that we do have and use apr and tried to 
compile the 'transition' layer ).

Costin


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




mod_jk2 connector

2002-04-28 Thread Michael Delamere

Hi,

I don´t want to waste your time but I really would like to get mod_jk2
compiled.
Unfortunately, no matter what I try I don´t seem to be able to achieve this.
The instructions in the README read as follows:

* Run "ant". It'll build modules for all the detected containers.

* If your system have a current working version of libtool, run "ant
native".
  This will build the native connectors for the detected servers ( both jk
  and jk2).

The above doesn´t work.

When I try going running "make" manually from the
"connectors/jk/native2/server/apache2" directory I get the following compile
error:

make
mkdir -p ../../../build/jk2/apache2
/usr/local/apache2.0.35/build/libtool  --mode=compile
  -g -O2 -pthread-DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURC
E -D_SVID_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER  -I../../include -I/usr/lo
cal/apache2.0.35/include -I/usr/local/java/j2sdk1.4.0/include -I/usr/local/j
ava/j2sdk1.4.0/include\linux -I/usr/local/java/j2sdk1.4.0/include\hp-ux  -I.
 -I/os/unix -I/server/mpm/prefork -I/modules/http -I/modules/proxy -I/includ
e -I/srclib/apr/include -I/srclib/apr-util/include -I/modules/dav/main -I/IN
STALL/httpd-2.0.35/srclib/apr-util/include -I/INSTALL/httpd-2.0.35/srclib/ap
r-util/xml/expat/lib -prefer-pic -c ../../common/jk_channel_apr_socket.c -o
../../../build/jk2/apache2/jk_channel_apr_socket.lo
rm -f ../../../build/jk2/apache2/.libs/jk_channel_apr_socket.lo
gcc -g -O2 -pthread -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
 -D_SVID_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER -I../../include -I/usr/loca
l/apache2.0.35/include -I/usr/local/java/j2sdk1.4.0/include -I/usr/local/jav
a/j2sdk1.4.0/includelinux -I/usr/local/java/j2sdk1.4.0/includehp-ux -I. -I/o
s/unix -I/server/mpm/prefork -I/modules/http -I/modules/proxy -I/include -I/
srclib/apr/include -I/srclib/apr-util/include -I/modules/dav/main -I/INSTALL
/httpd-2.0.35/srclib/apr-util/include -I/INSTALL/httpd-2.0.35/srclib/apr-uti
l/xml/expat/lib -prefer-pic -c
../../common/jk_channel_apr_socket.c  -fPIC -DPIC -o
../../../build/jk2/apache2/.libs/jk_channel_apr_socket.lo

---
Error:

---
gcc: unrecognized option `-prefer-pic'
In file included from /usr/local/apache2.0.35/include/apr_network_io.h:67,
 from ../../common/jk_channel_apr_socket.c:84:
/usr/local/apache2.0.35/include/apr.h:176: redefinition of `apr_byte_t'
../../include/jk_global.h:164: `apr_byte_t' previously declared here
/usr/local/apache2.0.35/include/apr.h:178: redefinition of `apr_int16_t'
../../include/jk_global.h:165: `apr_int16_t' previously declared here
/usr/local/apache2.0.35/include/apr.h:179: redefinition of `apr_uint16_t'
../../include/jk_global.h:166: `apr_uint16_t' previously declared here
/usr/local/apache2.0.35/include/apr.h:181: redefinition of `apr_int32_t'
../../include/jk_global.h:167: `apr_int32_t' previously declared here
/usr/local/apache2.0.35/include/apr.h:182: redefinition of `apr_uint32_t'
../../include/jk_global.h:168: `apr_uint32_t' previously declared here
In file included from /usr/local/apache2.0.35/include/apr_pools.h:85,
 from /usr/local/apache2.0.35/include/apr_network_io.h:68,
 from ../../common/jk_channel_apr_socket.c:84:
/usr/local/apache2.0.35/include/apr_errno.h:81: redefinition of
`apr_status_t'
../../include/jk_global.h:160: `apr_status_t' previously declared here
In file included from /usr/local/apache2.0.35/include/apr_pools.h:85,
 from /usr/local/apache2.0.35/include/apr_network_io.h:68,
 from ../../common/jk_channel_apr_socket.c:84:
/usr/local/apache2.0.35/include/apr_errno.h:159:1: warning:
"APR_OS_START_USEERR" redefined
../../include/jk_global.h:162:1: warning: this is the location of the
previous definition
/usr/local/apache2.0.35/include/apr_errno.h:177:1: warning: "APR_SUCCESS"
redefined
../../include/jk_global.h:161:1: warning: this is the location of the
previous definition
../../common/jk_channel_apr_socket.c: In function `jk2_channel_apr_close':
../../common/jk_channel_apr_socket.c:385: warning: assignment makes pointer
from integer without a cast
../../common/jk_channel_apr_socket.c:386: warning: return makes integer from
pointer without a cast
make: *** [../../../build/jk2/apache2/jk_channel_apr_socket.lo] Error 1

--

I´ve included the whole output so that you can see what is going on.

PLEASE HELP!

Thank you.

Michael Delamere






--
To unsubscribe, e-mail:   
For additional commands, e-mail: