Subject: HOWTO: Apache + Tomcat + mod_jk OR mod_jk2 even IIS

2003-12-31 Thread Lenny Sorey
For those seeking a solution to Integrating the following:

Tomcat 4(or 5) and mod_jk2 (Tomcat/Jk2Generic) 
Tomcat 4.1.x and Apache 2.0.x on Linux with mod_jk2 and IP sockets (LinuxJK2) 
Tomcat 4.1.x and Apache 2.0.x on Linux with mod_jk and IP sockets (LinuxJK) 
Tomcat 4.1.x and IIS on Windows/2000 Professional with mod_jk and IP sockets 
(WinJKIIS) 
Tomcat 4.1.x and IIS on Windows/2000 Professional with mod_jk2 and IP sockets 
(WinJK2IIs) 
Tomcat 4.1.x and Apache 2.0.x on Windows/2000 Professional with mod_jk and IP sockets 
(WinJKApache) 
Tomcat 4.1.x and Apache 2.0.x on Windows/2000 Professional with mod_jk2 and IP sockets 
(WinJK2Apache) 

I found the following site very helpful: I used this site to help me get up and going 
with Tomcat 4.1.29 + Apache 2.0.48 + mod_jk2


http://nagoya.apache.org/wiki/apachewiki.cgi?TomcatWeb


Happy New Year and Good Luck!!


Lenny Sorey



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



It's Working !!!!! - Need Help - JDBC MySQL Apache 2.0.48 + Tomcat 4.1.29 + Mod_jk2 + Windows 2000 Server ( No IIS)

2003-12-29 Thread Lenny Sorey

Please disregard my last 12/28/2003 request for help.

I now have  Windows 2000 Server ( No IIS), Tomcat 4.1.29,  Apache 2.0.48,  Mod_jk2 and
MySQL 4.1.0 working together in concert.

Man, it's pretty cool when everything works together.

I'd like to thanks everyone who answered my requests and offered great suggestions and
solid solutions.

Happy Holidays,

Regards,

Lenny Sorey












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



Fwd: Need Help - JDBC MySQL + Velocity - Apache 2.0.48 + Tomcat 4.1.29 + Mod_jk2 + Windows 2000 Server ( No IIS)

2003-12-28 Thread Lenny Sorey
I couldn't tell if this email went through on 12/27/2003 when I sent it.
If it did, please accept my apologies.

Thanks for your help.

Lenny Sorey


==BEGIN FORWARDED MESSAGE==
From: Lenny Sorey [EMAIL PROTECTED]
To: Tomcat Users Group [EMAIL PROTECTED]
Cc: Apache HTTP Users List [EMAIL PROTECTED]
Date: Sat, 27 Dec 2003 19:02:11 -0600
Priority: Normal
X-Mailer: PMMail 2000 Professional (2.20.2717) For Windows 2000 (5.0.2195;3)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
Subject: Need Help - JDBC MySQL  + Velocity - Apache 2.0.48 + Tomcat 4.1.29 + Mod_jk2 
+ Windows 2000 Server ( No IIS)


I currently have Apache 2.0.48 + Tomcat 4.1.29 + Mod_jk2 + Windows  2000 Server ( No 
IIS) partially working. I get the static 
content served via http://mysite. This displays the index.jsp which has not database 
connection.

First of all, I will have to share two web sites with one IP address.

The problem starts when I try to connect to a page that connect to a 4.1 MySQL 
database table. I can access everything normally when I use 
http://mysite:8080/mscarloans/index.jsp as well as when I use 
http://mysite:8080/mscarloans/creditapp.jsp.

I can access the index.jsp, testamonies.jsp static pages from http://mysite/index.jsp 
or http://mysite/testamonies.jsp.

I cannot access any of the jsp pages that have a database connection. I keep getting a 
org.apache.jasper.JasperException: IO Problems

Is there some additional configuration in workers2.properties for a jdbc connection. I 
am currently connecting to MySQL
4.1 thought a properties file with the following jdbc:mysql://mysite/mscarcredit.


In addition, on bannersite, I cannot connect at all when I use http://bannersite, I 
can connect when I use http://bannersite:8080. 
I have a jsp that redirects index.jsp to login.vm. Is there a special configuration in 
workers2.properties where Velocity is used. 
I have many *.vm templates that are used in this site. In addition, I am using Mysql 
4.10 where I'm using mysql-connector-java-3.0.9-stable-bin.jar 
to connect to my Mysql database via Hibernate.

I realize that I've furnished my configuration many times, but I feel with each answer 
I get back that I'm coming that much closer to success.

Thanks for all y'alls help.

Lenny Sorey



Here's the platform that I am using:

Windows 2000 Server - no IIS
Tomcat 4.1.29
Apache Http Server 2.0.48
Mod_jk2 or jakarta-tomcat-connectors-jk2.0.2-win32-apache2.0.43.zip
J2SDK 1.4.2
MySQL 4.1.0
mysql-connector-java-3.0.9-stable-bin.jar


Here's my configuration for my server:

jk2.properties - located in d:/java/Tomcat41/conf
***
*

#
# Socket configuration
#
handler.list=request,container,channelSocket
#
# socket configuration
#
channelSocket.port=8009
channelSocket.address=127.0.0.1
channelSocket.maxPort=port+10

***
**
end - jk2.properties



workers2.properties - located in d:/java/Apache2/conf
***
**

#
# basic workers2.properties file
#
#
# shared memory
#
[shm]
file=D:/java/Apache2/logs/shm.file
size=1048576

[workerEnv:]
info=Global server options
timing=1
debug=0

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

#
# define the ajp13 worker
#
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009

#
# Uri mapping examples - jsp files only
#
#[uri:/examples/*.jsp]
#worker=ajp13:localhost:8009

#
# Uri mapping examples - all servlets
#
#[uri:/examples/servlet/*]
#worker=ajp13:localhost:8009

[uri:mysite/]
info=Example webapp in the default context.
context=/mscarloans
debug=0

[uri:mysite/*.jsp]
worker=ajp13:localhost:8009
info=Extension mapping

[uri:mysite/*]
info=Map the whole webapp

[uri:mysite/webapp/*]
  info=mysite data
  
#
#
[uri:bannersite/]
info=Example webapp in the default context.
context=/bs
debug=0

[uri:bannersite/*.jsp]
worker=ajp13:localhost:8009
info=Extension mapping

[uri:bannersite/*.vm]
worker=ajp13:localhost:8009
info=Map the whole webapp

[uri:bannersite/*.do]
worker=ajp13:localhost:8009
info=Map the whole webapp

[uri:bannersite/*]
worker=ajp13:localhost:8009
info=Map the whole webapp

[uri:bannersite/script]
info=Map the whole webapp

[uri:bannersite/click]
info=Map the whole webapp

[uri:bannersite/banner]
info=Map the whole webapp

[status:status]

[status:]
info=Status worker,displays run time informations

[uri:/jkstatus/*]
info=Display status information and checks the config file for changes

Need Help - JDBC MySQL + Velocity - Apache 2.0.48 + Tomcat 4.1.29 + Mod_jk2 + Windows 2000 Server ( No IIS)

2003-12-27 Thread Lenny Sorey
I currently have Apache 2.0.48 + Tomcat 4.1.29 + Mod_jk2 + Windows  2000 Server ( No 
IIS) partially working. I get the static 
content served via http://mysite. This displays the index.jsp which has not database 
connection.

First of all, I will have to share two web sites with one IP address.

The problem starts when I try to connect to a page that connect to a 4.1 MySQL 
database table. I can access everything normally when I use 
http://mysite:8080/mscarloans/index.jsp as well as when I use 
http://mysite:8080/mscarloans/creditapp.jsp.

I can access the index.jsp, testamonies.jsp static pages from http://mysite/index.jsp 
or http://mysite/testamonies.jsp.

I cannot access any of the jsp pages that have a database connection. I keep getting a 
org.apache.jasper.JasperException: IO Problems

Is there some additional configuration in workers2.properties for a jdbc connection. I 
am currently connecting to MySQL
4.1 thought a properties file with the following jdbc:mysql://mysite/mscarcredit.


In addition, on bannersite, I cannot connect at all when I use http://bannersite, I 
can connect when I use http://bannersite:8080. 
I have a jsp that redirects index.jsp to login.vm. Is there a special configuration in 
workers2.properties where Velocity is used. 
I have many *.vm templates that are used in this site. In addition, I am using Mysql 
4.10 where I'm using mysql-connector-java-3.0.9-stable-bin.jar 
to connect to my Mysql database via Hibernate.

I realize that I've furnished my configuration many times, but I feel with each answer 
I get back that I'm coming that much closer to success.

Thanks for all y'alls help.

Lenny Sorey



Here's the platform that I am using:

Windows 2000 Server - no IIS
Tomcat 4.1.29
Apache Http Server 2.0.48
Mod_jk2 or jakarta-tomcat-connectors-jk2.0.2-win32-apache2.0.43.zip
J2SDK 1.4.2
MySQL 4.1.0
mysql-connector-java-3.0.9-stable-bin.jar


Here's my configuration for my server:

jk2.properties - located in d:/java/Tomcat41/conf


#
# Socket configuration
#
handler.list=request,container,channelSocket
#
# socket configuration
#
channelSocket.port=8009
channelSocket.address=127.0.0.1
channelSocket.maxPort=port+10

*
end - jk2.properties



workers2.properties - located in d:/java/Apache2/conf
*

#
# basic workers2.properties file
#
#
# shared memory
#
[shm]
file=D:/java/Apache2/logs/shm.file
size=1048576

[workerEnv:]
info=Global server options
timing=1
debug=0

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

#
# define the ajp13 worker
#
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009

#
# Uri mapping examples - jsp files only
#
#[uri:/examples/*.jsp]
#worker=ajp13:localhost:8009

#
# Uri mapping examples - all servlets
#
#[uri:/examples/servlet/*]
#worker=ajp13:localhost:8009

[uri:mysite/]
info=Example webapp in the default context.
context=/mscarloans
debug=0

[uri:mysite/*.jsp]
worker=ajp13:localhost:8009
info=Extension mapping

[uri:mysite/*]
info=Map the whole webapp

[uri:mysite/webapp/*]
  info=mysite data
  
#
#
[uri:bannersite/]
info=Example webapp in the default context.
context=/bs
debug=0

[uri:bannersite/*.jsp]
worker=ajp13:localhost:8009
info=Extension mapping

[uri:bannersite/*.vm]
worker=ajp13:localhost:8009
info=Map the whole webapp

[uri:bannersite/*.do]
worker=ajp13:localhost:8009
info=Map the whole webapp

[uri:bannersite/*]
worker=ajp13:localhost:8009
info=Map the whole webapp

[uri:bannersite/script]
info=Map the whole webapp

[uri:bannersite/click]
info=Map the whole webapp

[uri:bannersite/banner]
info=Map the whole webapp

[status:status]

[status:]
info=Status worker,displays run time informations

[uri:/jkstatus/*]
info=Display status information and checks the config file for changes.
worker=status:status

[uri:/status/*]
worker=status:status

***
end - workers2.properties




Begin - http.conf located in d:/java/Apache2/conf
**

ServerRoot D:/java/Apache2

PidFile logs/httpd.pid

Timeout 300

KeepAlive

Need Help - Apache 2.0.48 + Tomcat 4.1.29 + Mod_jk2 + Windows 2000 Server ( No IIS)

2003-12-26 Thread Lenny Sorey
I've got problems with Apache 2.0.48 + Tomcat 4.1.29 + Mod_jk + Windows 2000 Server.

I keep getting errors started Apache 2.0.48 when I have JKMount /mysite/ * .jsp within 
VirtualHost section of http.conf.

I've used mod_jk with past versions of Tomcat, Apache and Windows 2000 without any 
problems.

So, I've decided to move on to Mod_jk2.

Questions that I have regarding Mod_jk2 with Win2K.

1. Do I have to use Tomcat 4.1.29 LE? I prefer to use the full blown version of Tomcat 
4.1.29.

All I have found regarding with Windows 2000 is to use Tomcat 4.1.29 LE.

If I have to Tomcat LE, what benefits do I gain by using Tomcat LE?

Does anyone have an Example of the configuration I need for Windows 2000 with no IIS 
regarding the following.

1. Worker2.properties to be located in my D:\java\Apache2\conf directory
2. jk2.properties located in my D:\java\Tomcat41\conf directory
3. http.conf
4. server.xml

Items 3  4 if there is anything different from mod_jk set up.

I've tried all the examples I can find regarding Apache 2.0.48 + Tomcat 4.1.29 + 
Mod_jk2 + Windows 2000 Server
and I cannot get anything working.

Reading on the Tomcat User List regarding mod_jk2, for those who have mod_jk2 working, 
it seems that those
folks are very satisfied with mod_jk2 over mod_jk.

I have couple of Tomcat 4.1.29 applications that I desperately need to get working 
either mod_jk or Mod_jk2.

I need to deploy two websites on one server sharing one ip address.

Here's the platform that I am using:

Windows 2000 Server - no IIS
Tomcat 4.1.29
Apache Http Server 2.0.48
Mod_jk or Mod_jk2
J2SDK 1.4.2
MySQL 4.1.0

Many thanks to anyone who can help me.

Happy Holidays to all.






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



Fwd: Help, only viewing source of my index.jsp page - Apache 2.0.48 Tomcat 4.1.29 mod_jk_1.2.5_2.0.47.dll

2003-12-22 Thread Lenny Sorey
If someone would please take a look at my http.conf , server.xml and worker.properties 
files below and let me know if you see anything 
wrong, I would sure appreciate it very much.  

First my platform:
Windows 2000 Server -  -  (No IIS - don't flame me on this please, this is a customer 
requirement. Thanks.)
J2SDK 1.4.2
Apache Http Server 2.0.48
Tomcat 4.1.29
mod_jk_1.2.5_2.0.47.dll  renamed as mod_jk
MySQL 4.1.0

My problem is that when I enter www.mysite.com the source from my index.jsp is 
displayed.
It appears that the virtualhost setup in my http.conf is finding the mysite directory 
in Tomcat,
but for some reason cannot display the index page as it should. I have index.jsp setup 
in my web.xml
as my welcome page.

I've just progressed from viewing the directory of webapps in Tomcat to now viewing 
the source of my index.jsp.

In addition, please take a look and see if my configuration is sufficient to handle 
another virtualhost in http.conf and 
host /host in Tomcat.

This is my first attempt to use Apache Http Server and Tomcat together via 
mod_jk_1.2.5_2.0.47.dll outside of the default
setup of localhost with mod_jk connector.

Thanks,

Lenny sorey






worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13 




End workers.properties in Tomcat/conf/jk subdirectory




==
=

ServerRoot D:/java/Apache2

PidFile logs/httpd.pid

Timeout 300

KeepAlive On

MaxKeepAliveRequests 100

KeepAliveTimeout 15


IfModule mpm_winnt.c
ThreadsPerChild 250
MaxRequestsPerChild  0
/IfModule


Listen 80

#
# Dynamic Shared Object (DSO) Support
#
LoadModule access_module modules/mod_access.so
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule asis_module modules/mod_asis.so
LoadModule auth_module modules/mod_auth.so
#LoadModule auth_anon_module modules/mod_auth_anon.so
#LoadModule auth_dbm_module modules/mod_auth_dbm.so
#LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule autoindex_module modules/mod_autoindex.so
#LoadModule cern_meta_module modules/mod_cern_meta.so
LoadModule cgi_module modules/mod_cgi.so
#LoadModule dav_module modules/mod_dav.so
#LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule dir_module modules/mod_dir.so
LoadModule env_module modules/mod_env.so
#LoadModule expires_module modules/mod_expires.so
#LoadModule file_cache_module modules/mod_file_cache.so
#LoadModule headers_module modules/mod_headers.so
LoadModule imap_module modules/mod_imap.so
LoadModule include_module modules/mod_include.so
#LoadModule info_module modules/mod_info.so
LoadModule isapi_module modules/mod_isapi.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule mime_module modules/mod_mime.so
#LoadModule mime_magic_module modules/mod_mime_magic.so
#LoadModule proxy_module modules/mod_proxy.so
#LoadModule proxy_connect_module modules/mod_proxy_connect.so
#LoadModule proxy_http_module modules/mod_proxy_http.so
#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule negotiation_module modules/mod_negotiation.so
#LoadModule rewrite_module modules/mod_rewrite.so
LoadModule setenvif_module modules/mod_setenvif.so
#LoadModule speling_module modules/mod_speling.so
#LoadModule status_module modules/mod_status.so
#LoadModule unique_id_module modules/mod_unique_id.so
LoadModule userdir_module modules/mod_userdir.so
#LoadModule usertrack_module modules/mod_usertrack.so
#LoadModule vhost_alias_module modules/mod_vhost_alias.so
#LoadModule ssl_module modules/mod_ssl.so

ServerAdmin [EMAIL PROTECTED]

ServerName 123.456.789.123:80   - I will have One IP servring two VirtualHost 
sites in Tomcat

UseCanonicalName Off

# DocumentRoot D:/java/Apache2/htdocs
DocumentRoot D:/java/Tomcat41/webapps

# First, we configure the default to be a very restrictive set of 
# features.  
#
Directory /
Options FollowSymLinks
AllowOverride None
/Directory

# This should be changed to whatever you set DocumentRoot to.
#
##Directory D:/java/Apache2/htdocs
Directory D:/java/Tomcat41/webapps

Options Indexes FollowSymLinks

AllowOverride None

Order allow,deny
Allow from all

/Directory

UserDir My Documents/My Website

DirectoryIndex index.html index.html.var

AccessFileName .htaccess

Files ~ ^\.ht
Order allow,deny
Deny from all
/Files

TypesConfig conf/mime.types

DefaultType text/plain

IfModule mod_mime_magic.c
MIMEMagicFile conf/magic
/IfModule

HostnameLookups Off

ErrorLog logs/error.log

LogLevel warn

LogFormat %h %l %u %t \%r\ %s %b \%{Referer}i\ \%{User-Agent}i\ combined
LogFormat %h %l %u %t \%r\ %s %b common
LogFormat %{Referer}i - %U referer
LogFormat %{User-agent}i agent

CustomLog logs/access.log common

ServerTokens Full

ServerSignature On


Alias /icons/ D:/java/Apache2/icons/

Directory D:/java/Apache2/icons

Apache 2.0.48 Virtualhost with Tomcat

2003-12-17 Thread Lenny Sorey

I have two  Apache 2.0.48 / Tomcat 4.1.29 where I have 
both servers running with JK/2 connector.

The server is a W2K server (No IIS)

I can bring up both local Tomcat sites respectively with the following:

http://localhost/thegoodsite

and

http://localhost/therealgoodsite



Both websites will share the same IP address.

My webapp are located in the following directories

D:\java\Tomcat41\webapps\thegoodsite

D:\java\Tomcat41\webapps\therealgoodsite

My question is how do I define the DocumentRoot
reference in each VirtualHost section and do I need to reference 
JKMOUNT for each VirtualHost?

I don't have any html's in Apache. Nothing but all jsp's
in Tomcat webapps

Thanks in advance for your help.

Lenny Sorey




NameVirtualHost 172.20.30.40

VirtualHost 172.20.30.40

DocumentRoot /www/example1
ServerName www.thegoodsite.com

/VirtualHost

VirtualHost 172.20.30.40

DocumentRoot /www/example2
ServerName www.therealgoodsite.com

/VirtualHost



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



Re: Problem in Integrating Tomcat with Apache

2003-08-14 Thread Lenny Sorey

Lance,

I've used John Turners method for Windows 2000 many times without a problem.

One thing you might want to do if you have followed all the instructions is to add the 
following
to the bottom of your Apache conf file:



JkWorkersFile d:\java\Tomcat41\conf\jk\workers.properties -  change to what 
ever your Tomcat reference is
JkLogFile d:\java\Tomcat41\logs\mod_jk.log  -  change 
to what ever your Tomcat reference is
Include d:/java/Tomcat41/conf/auto/mod_jk.conf -  change to 
what ever your Tomcat reference is

JkMount /myapp ajp13   
 -  change myapp to whatever your app is in the Tomcat webapp directory
JkMount /myapp/*  ajp13


Restart Tomcat and Apache

Hopes this helps.

Lenny Sorey




JkWorkersFile d:\java\Tomcat41\conf\jk\workers.properties
JkLogFile d:\java\Tomcat41\logs\mod_jk.log
Include d:/java/Tomcat41/conf/auto/mod_jk.conf

JkMount /wilsondodge ajp13
JkMount /wilsondodge/*  ajp13




On Sun, 10 Aug 2003 14:25:25 -0400, Xingqun Jiang wrote:

Hi, Mike

I followed this article to do the set-up:

http://www.johnturner.com/howto/winxp-howto.html

But the problem still exists. I cannot open the jsp page from another
computer, without adding port number. :-(

The article you forwarded to me is for Linux, Is there any for WindowsXP?
Thanks

Lance
- Original Message - 
From: Mike Millson [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Sunday, August 10, 2003 1:51 PM
Subject: Re: Problem in Integrating Tomcat with Apache


 On Sun, 2003-08-10 at 13:31, Xingqun Jiang wrote:
  Hi, Mike
 
  Thanks a lot!!! I also searched some documents online. One of them said,
  when we install the Apache, we need to set the domain name and server
  name as localhost. I simply left them in default values. So I am
  reinstalling the apache. Do you think that will make difference?

 If you see the Apache default install page when you type
 http://localhost in your browser then apache is working and there's no
 need to reinstall it, just set up the configuration to achieve what you
 want.

 What operating system are you using?

 
  I will check out the artiles you forwarded. Thanks!
 
 
  Lance
 
 
  - Original Message - 
  From: Mike Millson [EMAIL PROTECTED]
  To: Tomcat Users List [EMAIL PROTECTED]
  Sent: Sunday, August 10, 2003 1:27 PM
  Subject: Re: Problem in Integrating Tomcat with Apache
 
 
   No, it doesn't appear you have integrated tomcat. When you access
tomcat
   via port 8080, you are accessing tomcat directly. When you are
accessing
   tomcat through apache, apache communicates w/ tomcat via port 8009.
  
   I think the best way to approach integrating tomcat w/ apache for the
   1st time is to forget about all the examples and config files that
come
   w/ tomcat and start w/ a bare bones approach. This document may prove
   helpful:
  
   pdf:
   http://www.meritonlinesystems.com/docs/howto_apache_tomcat.pdf
  
   OpenOffice doc:
   http://www.meritonlinesystems.com/docs/howto_apache_tomcat.sxw
  
   Mike
  
  
   On Sat, 2003-08-09 at 23:27, Xingqun Jiang wrote:
Hi,
   
I tried to integrate Tomcat (on port 8080) with Apache (on port 80).
  When I tested on the local machine(192.168.2.3), the following two urls
  pointed to the same page:
http://localhost/examples/jsp/dates/date.jsp
http://localhost:8080/examples/jsp/dates/date.jsp
   
However, when I tested on another computer, only this url works:
http://192.168.2.3:8080/examples/jsp/dates/date.jsp
   
The other address:
http://192.168.2.3/examples/jsp/dates/date.jsp says page cannot be
  found
   
Did I sucessfully intergrate Tomcat with Apache? Help me!
   
Lance
  
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]


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



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





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



Log4j-1.2.5

2002-07-11 Thread Lenny Sorey

Let me rephrase my question:

After some research through the Jakarta Commons Logging site,
I've come to the conclusion that it is going to be very involved to set up 
Log4j-1.2.5 with Tomcat 4.1.3!!!

If someone using Tomcat 4.1.*  has already successfully set up and is using any 
versions of Log4j
under Tomcat 4.1.* with along Commons Logging jars, would you please forward
an example of how you set up to me.

I've read just about everything I could find regarding log4j and commons logging 
and I still cannot figure out how to set them up to work together.

Any resonse would be greatly appreciated.

Please excuse the multiple posts, but I'm am really looking for a solution to this my 
problem.


Thanks,

Lenny Sorey





Where exactly should the log4j-1.2.5.jar be located in order to get it to work 
within Tomcat 4.1.3?

I can get log4j to work with log4j.properties while I run it as a separate servlet
by starting it from a command line with java after I compile it the servlet alone.

I still can't get it to work with Tomcat 4.1.3

My JSP's currently run find and retrieve data.  I really need to place some log4j 
statement to debug
in some servlets. Any help would certainly be appreciated.

Oh Yeah, The folks from the Loggers4J Users group suggested that I asked this group 
for help regarding
using log4j with Tomcat.

Platform again:

Windows 2000 Professional
Tomcat 4.1.3
J2SDK 1.4.0
Log4j-1.2.5
Turbine 2.1
velocity-1.2-dev
MySQL 4.0.1-alpha-max-nt

Thanks,

Lenny Sorey



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




log4j-1.2.5.jar

2002-07-10 Thread Lenny Sorey

Quick Question:

Where exactly should the log4j-1.2.5.jar be located in order to get it to work 
within Tomcat 4.1.3?

I can get log4j to work with log4j.properties while I run it as a separate servlet
by starting it from a command line with java after I compile it the servlet alone.

I still can't get it to work with Tomcat 4.1.3

My JSP's currently run find and retrieve data.  I really need to place some log4j 
statement to debug
in some servlets. Any help would certainly be appreciated.

Oh Yeah, The folks from the Loggers4J Users group suggested that I asked this group 
for help regarding
using log4j with Tomcat.

Platform again:

Windows 2000 Professional
Tomcat 4.1.3
J2SDK 1.4.0
Log4j-1.2.5
Turbine 2.1
velocity-1.2-dev
MySQL 4.0.1-alpha-max-nt

Thanks,

Lenny Sorey






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




log4j:ERROR No appenders could be found for category (org.apache.commons.digester.Digester).

2002-07-09 Thread Lenny Sorey


The following error is shown in Tomcat 4.1.3 Stderr.log 

log4j:ERROR No appenders could be found for category 
(org.apache.commons.digester.Digester).
log4j:ERROR Please initialize the log4j system properly.


*
log4j.properties under the WEB-INF Subdirectory is as follows:

# Set root category priority to DEBUG and its only appender to A1.
log4j.rootCategory=DEBUG, A1
  
# A1 is set to be a ConsoleAppender. 
log4j.appender.A1=org.apache.log4j.ConsoleAppender
  
# A1 uses PatternLayout.
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n

*
   

Anyone got any suggestions as why log4j is not initializing properly?

Platform is as follows:

Windows 2000 Professional
J2SDK 1.4.0
Tomcat 4.1.3
Log4j Version 1.1.3
Turbine 2.1b4
Velocity -1-2 dev jar

Thanks In Advance

Lenny Sorey



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