mod_jk problem

2002-10-21 Thread Jean-Baptiste Onofré
Hello all, 

my mod_jk don't work and i don't know why.

I'am under linux debian with apache 1.3.26 (from debian deb), j2sdk
1.4.1, tomcat 4.0.6, mod_jk 1.2.
I have compiled mod_jk from source with :
./configure --with-apxs=/usr/bin/apxs --enable-EAPI

I have copied the binary mod_jk.so.0.0.0 in
/usr/lib/apache/1.3/mod_jk.so.

In my apache httpd.conf i have just add at the end :
Include /usr/local/tomcat/conf/jk/mod_jk.conf

In my tomcat server.xml, i have :
82   
(i have delete the warp connector).

In the mod_jk.conf, i have :
1 # Load mod_jk
2 LoadModule jk_module /usr/lib/apache/1.3/mod_jk.so
3 #AddModule mod_jk.c
4 
5 # Configure mod_jk
6 JkWorkersFile /usr/local/tomcat/conf/jk/workers.properties
7 JkLogFile /var/log/apache/mod_jk.log
8 JkLogLevel debug
9 JkLogStampFormat "[%a %b %d %H:%M:%S %Y]"
10 
11 # Mount jakarta
12 JkMount /*.jsp * nanthrax
13 JkMount /servlet/* nanthrax
14 JkMount /examples/* nanthrax
15 JkMount /tomcat-docs nanthrax
16 JkMount /tomcat-docs/* nanthrax

and in my workers.properties :
1 workers.tomcat_home=/usr/local/tomcat
2 workers.java_home=/usr/local/j2sdk1.4.1
3 ps=/
4 workers.list=ajp13
5 
6 worker.ajp13.port=9009
7 worker.ajp13.host=localhost
8 worker.ajp13.type=ajp13

I start apache and tomcat.

In tomcat log, the ajp connector launch :
2002-10-21 09:37:15 Ajp13Connector[9009] Starting background thread
2002-10-21 09:37:15 Ajp13Processor[9009][0] Starting background thread
2002-10-21 09:37:15 Ajp13Processor[9009][1] Starting background thread
2002-10-21 09:37:15 Ajp13Processor[9009][2] Starting background thread
2002-10-21 09:37:15 Ajp13Processor[9009][3] Starting background thread
2002-10-21 09:37:15 Ajp13Processor[9009][4] Starting background thread

when i try to access to http://localhost/tomcat-docs
i always have an Internal Server Error.
In the mod_jk log, i have :
[lun oct 21 09:43:45 2002] [jk_uri_worker_map.c (368)]: Attempting to
map URI '/tomcat-docs'
[lun oct 21 09:43:45 2002] [jk_uri_worker_map.c (381)]:
jk_uri_worker_map_t::map_uri_to_worker, Found an exact match nanthrax ->
/tomcat-d
ocs
[lun oct 21 09:43:45 2002] [jk_worker.c (123)]: Into
wc_get_worker_for_name nanthrax
[lun oct 21 09:43:45 2002] [jk_worker.c (127)]: wc_get_worker_for_name,
done did not found a worker

I have try any mod_jk (from binary, from source) and it's the same
result :(

Someone has an idea ???
Please help me 

Best regards
-- 
Jean-Baptiste Onofré (Nanthrax)
Membre fondateur de phpFR.org
http://www.phpfr.org
[EMAIL PROTECTED]
Membre fondateur du LUG Béziers
http://www.lug-beziers.org
[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>




Re: mod_jk problem

2002-10-21 Thread Jean-Baptiste Onofré
Re,

I have find the problem !!

In my workers.properties, i have :
workers.list=ajp13

and not :
worker.list=ajp13

Thanks for your help :)

Excuse me for big messages,

Best regards
-- 
Jean-Baptiste Onofré (Nanthrax)
Membre fondateur de phpFR.org
http://www.phpfr.org
[EMAIL PROTECTED]
Membre fondateur du LUG Béziers
http://www.lug-beziers.org
[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>




Which versions ????

2002-10-09 Thread Jean-Baptiste Onofré

Hello all,

i use Tomcat 4.0.4 with Apache 1.3.26 using mod_jk.

On a new developpement computer, can i install Tomcat 4.1.12 with Apache
1.3.26 using mod_jk2 ?
What's the differences/improves between Tomcat 4.0.4 and Tomcat 4.1.12
and between mod_jk and mod_jk2 ?

Thanks for your help,
Best regards
-- 
Jean-Baptiste Onofré (Nanthrax)
Membre fondateur de phpFR.org
http://www.phpfr.org
[EMAIL PROTECTED]
Membre fondateur du LUG Béziers
http://lug-beziers.org
[EMAIL PROTECTED]

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




Multiple Realms and JSP tags

2002-09-19 Thread Jean-Baptiste Onofré

Hello all,

i have two questions :

- how can i define a Realm foreach webapps ? Example :
i have a PostgreSQL JDBC Realm used by webapp A
i would like to have another MySQL JDBC Realm used by webapp B
- where can i find documentation about all standard JSP tags
(jsp:include, etc) ?

Best regards
-- 
Jean-Baptiste Onofré (Nanthrax)
Membre fondateur de phpFR.org
http://www.phpfr.org
[EMAIL PROTECTED]
Membre fondateur du LUG Béziers
http://lug-beziers.org
[EMAIL PROTECTED]

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




Re: New to Tomcat 4.1.10

2002-09-19 Thread Jean-Baptiste Onofré

Thanks for your answer, wait for new binaries :)
-- 
Jean-Baptiste Onofré (Nanthrax)
Membre fondateur de phpFR.org
http://www.phpfr.org
[EMAIL PROTECTED]
Membre fondateur du LUG Béziers
http://lug-beziers.org
[EMAIL PROTECTED]

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




New to Tomcat 4.1.10

2002-09-18 Thread Jean-Baptiste Onofré

Hello all,

yesterday i have Apache 1.3.26 + mod_jk1 + Tomcat 4.0.3

All works fine.

I would like to update to Tomcat 4.1.10 with mod_jk2.
Someone can help me (send me url, documentation and config file) ?

Thanks,
Best regards
-- 
Jean-Baptiste Onofré (Nanthrax)
Membre fondateur de phpFR.org
http://www.phpfr.org
[EMAIL PROTECTED]
Membre fondateur du LUG Béziers
http://lug-beziers.org
[EMAIL PROTECTED]

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




Mod_jk on Debian, i have find

2002-09-18 Thread Jean-Baptiste Onofré

Hello all,

for information i have a problem with mod_jk on Debian (systematic
Internal Server Error).

I have find the solution of the problem. The Ajp13 connector port is the
8009. But this port seems to be use by another process.
So i have change this port to 9000 (in server.xml from Tomcat and in my
workers.properties) and all be good.

It's just information for people that have the same problem.

Best regards
-- 
Jean-Baptiste Onofré (Nanthrax)
Membre fondateur de phpFR.org
http://www.phpfr.org
[EMAIL PROTECTED]
Membre fondateur du LUG Béziers
http://lug-beziers.org
[EMAIL PROTECTED]

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




Mod_jk on Debian

2002-09-17 Thread Jean-Baptiste Onofré

Hello,

is anyone use mod_jk and tomcat binaries on debian using the apache
packaged.

Contact me please
-- 
Jean-Baptiste Onofré (Nanthrax)
Membre fondateur de phpFR.org
http://www.phpfr.org
[EMAIL PROTECTED]
Membre fondateur du LUG Béziers
http://lug-beziers.org
[EMAIL PROTECTED]

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




Problem with Apache and mod_jk on Debian

2002-09-17 Thread Jean-Baptiste Onofré

Re,

some precisions.
I have Apache 1.3.26 and not 1.3.16 (it's a typing mistake).

In logs i have :
in error.log from apache :
[Tue Sep 17 13:01:26 2002] [notice] Apache/1.3.26 (Unix) Debian
GNU/Linux mod_jk
/1.1.0 PHP/4.1.2 configured -- resuming normal operations
[Tue Sep 17 13:01:26 2002] [notice] suEXEC mechanism enabled
(wrapper: /usr/lib/
apache/suexec)
[Tue Sep 17 13:01:26 2002] [notice] Accept mutex: sysvsem (Default:
sysvsem)
[Tue Sep 17 13:14:16 2002] [notice] caught SIGTERM, shutting down

no special things in tomcat log

-- 
Jean-Baptiste Onofré (Nanthrax)
Membre fondateur de phpFR.org
http://www.phpfr.org
[EMAIL PROTECTED]
Membre fondateur du LUG Béziers
http://lug-beziers.org
[EMAIL PROTECTED]

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




Problem with Apache and mod_jk on Debian

2002-09-17 Thread Jean-Baptiste Onofré

Hello all,

firstly, excuse for my english but i'm french :)

I have a problem with Apache 1.3.16 (Debian package) and mod_jk (eapi).
You have all configuration files (httpd.conf, mod_jk.conf,
workers.properties and server.xml) in attach file.

When i try to acces to a Tomcat manage URL (for exemple /klo/), i have :
Internal Server Error.

I hava verified tomcat is OK (i can access klo by 8080 port). I think
that it's a problem in httpd.conf but i don't know where :(

Can you help me please ?
Best regards
-- 
Jean-Baptiste Onofré (Nanthrax)
Membre fondateur de phpFR.org
http://www.phpfr.org
[EMAIL PROTECTED]
Membre fondateur du LUG Béziers
http://lug-beziers.org
[EMAIL PROTECTED]


##
## httpd.conf -- Apache HTTP server configuration file
##

#
# 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://www.apache.org/docs/> 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.  
#
# After this file is processed, the server will look for and process
# /etc/apache/srm.conf and then /etc/apache/access.conf
# unless you have overridden these with ResourceConfig and/or
# AccessConfig directives here.
#
# 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 "/usr/local/apache" will be interpreted by the
# server as "/usr/local/apache/logs/foo.log".
#

### 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.
#

#
# ServerType is either inetd, or standalone.  Inetd mode is only supported on
# Unix platforms.
#
ServerType standalone

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

#
# The LockFile directive sets the path to the lockfile used when Apache
# is compiled with either USE_FCNTL_SERIALIZED_ACCEPT or
# USE_FLOCK_SERIALIZED_ACCEPT. This directive should normally be left at
# its default value. The main reason for changing it is if the logs
# directory is NFS mounted, since the lockfile MUST BE STORED ON A LOCAL
# DISK. The PID of the main server process is automatically appended to
# the filename. 
#
LockFile /var/lock/apache.lock

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

#
# ScoreBoardFile: File used to store internal server process information.
# Not all architectures require this.  But if yours does (you'll know because
# this file will be  created when you run Apache) then you *must* ensure that
# no two invocations of Apache share the same scoreboard file.
#
ScoreBoardFile /var/run/apache.scoreboard

#
# In the standard configuration, the server will process this file,
# srm.conf, and access.conf in that order.  The latter two files are
# now distributed empty, as it is recommended that all directives
# be kept in a single file for simplicity.  The commented-out values
# below are the built-in defaults.  You can have the server ignore
# these files altogether by using "/dev/null" (for Unix) or
# "nul" (for Win32) for the arguments to the directives.
#
#ResourceConfig /etc/apache/srm.conf
#AccessConfig /etc/apache/access.conf

#

Re: Trying to compile the servlet

2002-07-25 Thread Jean-Baptiste Onofré

Hello,

the servlet lib is not include in JSDK. You must add the servlet.jar in
your CLASSPATH to have the javax hierarchy.

You can find the servlet.jar in the /common/lib of Tomcat.

Bye
-- 
Jean-Baptiste Onofré (Nanthrax)
Membre fondateur de phpFR.org
http://www.phpfr.org
[EMAIL PROTECTED]
Membre fondateur du LUG Béziers
http://lug-beziers.org
[EMAIL PROTECTED]

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




Re: Question about servlets

2002-07-22 Thread Jean-Baptiste Onofré

Hello,

with get method you're limited to 255 chars.
In post, no limit.

-- 
Jean-Baptiste Onofré (Nanthrax)
Membre fondateur de phpFR.org
http://www.phpfr.org
[EMAIL PROTECTED]
Membre fondateur du LUG Béziers
http://lug-beziers.org
[EMAIL PROTECTED]

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