Web app under a name vhost on Apache2/Tomcat?

2003-01-31 Thread Eulogio Robles
We are trying to use Apache2 + Tomcat 4 on Tru64, (HP Secure Webserver).
It uses Warp connector, and we have a problem :

The web server will run several name virtual hosts, but only one of them 
will run a web application (JSP and servlets), starting under its root 
context (i.e, there are pages like www.domain.com/lookup.jsp).

The problem is, we have been unable to make it work. How do I configure 
it in Apache httpd.conf, Tomcat server.xml, etc etc?

Please, any help will be appreciated.

Best regards,

E. Robles


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



Re: jk2 documentation

2003-03-19 Thread Eulogio Robles
Better yet, post it here, please. I'm having the same problem.

Best regards,

E. Robles

Herbert G. Fischer wrote:

I did not received the attach. I think the list-serv removed it. 
Please, send to [EMAIL PROTECTED]

Thanks!

Chris Dodunski wrote:

I managed to get JK2 working last weekend, despite the poor 
documentation.
I kept a diary of what I did, so next time it wouldn't be such an 
extended
exercise of trial and error.  I've attached it as a DRAFT procedure.  It
isn't too detailed at present, but you're welcome to test it.  Let me 
know
where you find it lacking.

Chris.

-Original Message-
From: Herbert G. Fischer [mailto:[EMAIL PROTECTED]
Sent: Thursday, 20 March 2003 9:23 a.m.
To: Tomcat-Users
Subject: jk2 documentation
Hi,

I'm trying to migrate Tomcat 4.0.x + WebApp to Tomcat 4.1.21 + JK2, but
I'm having some difficult. First, I tryed to compile jk2 without sucess.
Now I'm using pre-built binaries fo jk2 and it's not working.
Jk2's documentation is so confuse and incomplete. I'm trying some things
like Jk's documentation, but it not works too.
Does anyone have a HOW-TO or documentation more complete for this setup?

Thanks,

Herbert

-
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]


cannot get Remote User

2003-06-25 Thread Eulogio Robles
I'm running Apache + Tomcat (latest versions), mod_jk2, and Apache is 
using SSL.

I have some password protected pages, using normal Apache directives. 
However, my JSP pages are unable to get the rmote username : 
request.getRemoteUser() always returns "null", and the the browser does 
ask for login/password before displaying the page.

Any ideas?

E. Robles
Metropolis Intercom
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: cannot get Remote User

2003-06-26 Thread Eulogio Robles
I am using Basic authentication with Apache, creating login and 
passwords with $APACHE_HOME/bin/htpasswd. The browser displays the 
standard authentication dialog.

Richey, Clark wrote:

What exactly are you doing to prompt for login/password?

	-Original Message- 
	From: Eulogio Robles [mailto:[EMAIL PROTECTED] 
	Sent: Wed 6/25/2003 6:46 PM 
	To: [EMAIL PROTECTED] 
	Cc: 
	Subject: cannot get Remote User
	
	

I'm running Apache + Tomcat (latest versions), mod_jk2, and Apache is
using SSL.

I have some password protected pages, using normal Apache directives.
However, my JSP pages are unable to get the rmote username :
request.getRemoteUser() always returns "null", and the the browser does
ask for login/password before displaying the page.

Any ideas?

E. Robles
Metropolis Intercom


-
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]


Re: cannot get Remote User

2003-06-26 Thread Eulogio Robles
I had added the attribute some weeks ago. Some kind soul over here 
commented it out and did not inform. My falut, I did not check it before.

Regards,

E. Robles

Bill Barker wrote:

I'm assuming that you've set:
request.tomcatAuthentication=false
in your jk2.properties file.

"Eulogio Robles" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
 

I'm running Apache + Tomcat (latest versions), mod_jk2, and Apache is
using SSL.
I have some password protected pages, using normal Apache directives.
However, my JSP pages are unable to get the rmote username :
request.getRemoteUser() always returns "null", and the the browser does
ask for login/password before displaying the page.
Any ideas?

E. Robles
Metropolis Intercom
   





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




Jetspeed from Apache/Tomcat

2003-06-30 Thread Eulogio Robles
I'm beginning some tests with Jetspeed. Howver, we must use Apache as 
web server, and Jetspeed does not work. I made an Alias to map /jetspeed 
to the uncompressed Jetspeed directory, amd I get the splash screen. 
However, when I login or try to display any other screen, I get an 
Apache "Not Found" page. It seems I should map /jetspeed/portal also, 
but I'm clueless about the destination. What should I do? I did not find 
any  pointer on any FAQ or doc.

Thanks,

Eulogio Robles

(Sorry if I am on the wrong list, but *please* do not make me subscribe 
on yet *another* mailing list :-)

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


Problems with mailer taglib

2003-07-10 Thread Eulogio Robles
I have two pages (mailer1.jsp and mailer2.jsp). Both are almost 
identical : they receive four parameters (to, from, subject and 
message), and generate an email message using Javamail.

mailer1.jsp uses a JSP scriplet, invoking standard Java Mail API calls 
to send the message.
mailer2.jsp uses taglib-mailer and taglib-request and a JNDI mail 
session resource.

When I use mailer1, all messages go out without problems.

The problem is, when I use mailer2.jsp, the first message goes out to 
the intended recipient. Any message that is sent from there, even from 
other users on different PC's, go to the same first recipient, no matter 
what address is specified by each user. All the rest (subject and 
message body) is different for each message. Only the original first 
recipient is "shared" by all sessions.

The JNDI resource is defined on the application context on server.xml, 
as follows :

//it was "shareable", same result
   
 
   mail.smtp.host
   my-mail-host
 
   

and this is the taglib sender code on mailer2.jsp :

<[EMAIL PROTECTED] uri="/WEB-INF/taglibs-mailer.tld" prefix="mt"%>
<[EMAIL PROTECTED] session="true" isThreadSafe="true" errorPage="/errorpage.jsp" 
isErrorPage="false"%>
<[EMAIL PROTECTED] uri="/WEB-INF/taglibs-request.tld" prefix="req"%>

   
   
 
   
   
 
   
   
 
   
   
 
   
   
 
   
   
 The following errors occured
 
   
 
 Please back up a page, fix the error and resubmit.
   


I first noticed the problem, because I have a page (a form) that calls a 
second page that must generate two separate mail messages, with 
different texts for two separate recipients. It calls mailerX.jsp twice, 
via two separate  directives. When I include mailer2, both 
messages are delivered to whatever user first invoked it (mailer2) on 
some session. Both messages are indeed different, each one with its own 
subject and body. On the other hand, mailer1.jsp correctly delivers each 
message to each intended user.

I am using Apache 2 and Tomcat  4 (all latest versions).

Any ideas?

Thanks in advance,

Eulogio Robles

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


Problems with mailer taglib

2003-07-12 Thread Eulogio Robles
I have two pages (mailer1.jsp and mailer2.jsp). Both are almost
identical : they receive four parameters (to, from, subject and
message), and generate an email message using Javamail.
mailer1.jsp uses a JSP scriplet, invoking standard Java Mail API calls
to send the message.
mailer2.jsp uses taglib-mailer and taglib-request and a JNDI mail
session resource.
When I use mailer1, all messages go out without problems.

The problem is, when I use mailer2.jsp, the first message goes out to
the intended recipient. Any message that is sent from there, even from
other users on different PC's, go to the same first recipient, no matter
what address is specified by each user. All the rest (subject and
message body) is different for each message. Only the original first
recipient is "shared" by all sessions.
The JNDI resource is defined on the application context on server.xml,
as follows :
 //it was "shareable", same result

  
mail.smtp.host
my-mail-host
  

and this is the taglib sender code on mailer2.jsp :

<[EMAIL PROTECTED] uri="/WEB-INF/taglibs-mailer.tld" prefix="mt"%>
<[EMAIL PROTECTED] session="true" isThreadSafe="true" errorPage="/errorpage.jsp"
isErrorPage="false"%>
<[EMAIL PROTECTED] uri="/WEB-INF/taglibs-request.tld" prefix="req"%>



  


  


  


  


  


  The following errors occured
  

  
  Please back up a page, fix the error and resubmit.

 
I first noticed the problem, because I have a page (a form) that calls a
second page that must generate two separate mail messages, with
different texts for two separate recipients. It calls mailerX.jsp twice,
via two separate  directives. When I include mailer2, both
messages are delivered to whatever user first invoked it (mailer2) on
some session. Both messages are indeed different, each one with its own
subject and body. On the other hand, mailer1.jsp correctly delivers each
message to each intended user.
I am using Apache 2 and Tomcat  4 (all latest versions).

Any ideas?

Thanks in advance,

Eulogio Robles

-
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]


Re: Oracle connection pooling

2003-08-11 Thread Eulogio Robles
I am having these exact problems with DBCP. How do you configure a JNDI database connection pool on Tomcat using these 
libs?

Best regards,

Eulogio Robles
Metropolis Intercom
On Sat, 09 Aug 2003 11:11:29 -0400
 Mark <[EMAIL PROTECTED]> wrote:
For what it's worth... in a webapp I wrote for my company we had flaky connection problems when using 
oracle.jdbc.pool.OracleConnectionPoolDataSource against 8i. I switched to oracle.jdbc.pool.OracleConnectionCacheImpl 
and all the problems magically disappeared (much to the delight of our dba's).

http://otn.oracle.com/doc/oracle8i_816/java.816/a81354/samapp9.htm

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


Re: Oracle connection pooling

2003-08-14 Thread Eulogio Robles
How do you use these from Tomcat, instead of DBCP? Is there any how-to?

Regards,

E. Robles

On Sat, 09 Aug 2003 11:11:29 -0400
 Mark <[EMAIL PROTECTED]> wrote:
For what it's worth... in a webapp I wrote for my company we had flaky connection problems when using 
oracle.jdbc.pool.OracleConnectionPoolDataSource against 8i. I switched to oracle.jdbc.pool.OracleConnectionCacheImpl 
and all the problems magically disappeared (much to the delight of our dba's).

http://otn.oracle.com/doc/oracle8i_816/java.816/a81354/samapp9.htm



At 8/8/2003 11:50 PM, you wrote:
We are running a fairly large ecommerce site consisting of 3 apache
2.0.48 servers being balanced between using UltraMonkey/ldirector and 2
tomcat servers with AJP1.3. Everything is Linux except the back end
which is a fairly hefty and firewalled Sun running Oracle8i.
The webapps build a connection pool to oracle via the oracle.jdbc.pool.*
connection pool. The pool instantiates fine and everything is great, but
gradually the pool begins to break down. Idle connections are closed by
Oracle (not sure if its oracle itself or the fw..), but the oracle pool
doesn't figure it out. If someone happens to get the dead connection,
Tomcat completely hangs on all threads until the session-timeout
expires. Even the session replication code stops and the apache servers
and the other tomcat in the cluster mark it offline. During the peak
traffic it isn't so bad but at the end of the day after load goes back
down, it's a big problem.
We initially used DBCP but it didn't work for crap with Oracle. Is there
a better pool to use with Oracle and Tomcat in a cluster environment and
if not, is there a way we can get the Oracle pool to recycle some of
these bad connections without blowing up the server?
Thanks,

Cris Daniluk

-
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]


Problems with Javamail and taglib on Tomcat

2003-08-14 Thread Eulogio Robles
I have two pages (mailer1.jsp and mailer2.jsp). Both are almost identical : they receive four parameters (to, from, 
subject and message), and generate an email message using Javamail.

mailer1.jsp uses a JSP scriplet, invoking standard Java Mail API calls to send the 
message.
mailer2.jsp uses taglib-mailer and taglib-request and a JNDI mail session resource.
When I use mailer1, all messages go out without problems.

The problem is, when I use mailer2.jsp, the first message goes out to the intended recipient. Any message that is sent 
from there, even from other users on different PC's, go to the same first recipient, no matter what address is 
specified by each user. All the rest (subject and message body) is different for each message. Only the original first 
recipient is "shared" by all sessions.

The JNDI resource is defined on the application context on server.xml, as follows :

//it was 
"shareable", same result
   
 
   mail.smtp.host
   my-mail-host
 
   
and this is the taglib sender code on mailer2.jsp :

<[EMAIL PROTECTED] uri="/WEB-INF/taglibs-mailer.tld" prefix="mt"%>
<[EMAIL PROTECTED] session="true" isThreadSafe="true" errorPage="/errorpage.jsp" 
isErrorPage="false"%>
<[EMAIL PROTECTED] uri="/WEB-INF/taglibs-request.tld" prefix="req"%>

   
   
 
   
   
 
   
   
 
   
   
 
   
   
 
   
   
 The following errors occured
 
   
 
 Please back up a page, fix the error and resubmit.
   

I first noticed the problem, because I have a page (a form) that calls a second page that must generate two separate 
mail messages, with different texts for two separate recipients. It calls mailerX.jsp twice, via two separate 
 directives. When I include mailer2, both messages are delivered to whatever user first invoked it 
(mailer2) on some session. Both messages are indeed different, each one with its own subject and body. On the other 
hand, mailer1.jsp correctly delivers each message to each intended user.

I am using Apache 2 and Tomcat 4 (all latest versions).

Any ideas?

Thanks in advance,

Eulogio Robles

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


Sticky sessions on Apache/JK2

2004-04-01 Thread Eulogio Robles
I'm trying to set up sticky sessions on Apache/Tru64, using JK2 latest 
version. I'm using both Apache 2.0.49, and the version distributed by HP 
on its Secure Web Server 6.1.1 (2.0.47).

According to JK2 documentation, I should use a sentence like this on my 
workers2.properties file :

[lb:lb]
stickySession=1
However, I get these messages :

[Thu Apr 01 17:01:04 2004] [notice] config.update(): done logger
[Thu Apr 01 17:01:04 2004] [notice] config.update(): done config:
[Thu Apr 01 17:01:04 2004] [notice] config.setAttribute() Error setting lb:lb 
stickySession 1
[Thu Apr 01 17:01:04 2004] [notice] config.update(): done lb:lb
[Thu Apr 01 17:01:04 2004] [notice] config.update(): done channel.socket:localhost:8009
[Thu Apr 01 17:01:04 2004] [notice] config.update(): done ajp13:localhost:8009
[Thu Apr 01 17:01:04 2004] [notice] config.update(): done uri:/*.jsp
I see that my requests are being load balanced for the same session. I am trying
2 Tomcats, and later, 2 JBoss servers, and in both cases I see that all requests from the 
same session are being attended in both servers (50-50).



Best regards,

Eulogio Robles

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


Re: Sticky sessions on Apache/JK2

2004-04-02 Thread Eulogio Robles
The "stickySession" line is not recognized on Linux either.  Where can I 
find the correct method to implement sticky sessions?

Best regards,

E. Robles

Eulogio Robles wrote:

I'm trying to set up sticky sessions on Apache/Tru64, using JK2 latest 
version. I'm using both Apache 2.0.49, and the version distributed by 
HP on its Secure Web Server 6.1.1 (2.0.47).

According to JK2 documentation, I should use a sentence like this on 
my workers2.properties file :

[lb:lb]
stickySession=1
However, I get these messages :

[Thu Apr 01 17:01:04 2004] [notice] config.update(): done logger
[Thu Apr 01 17:01:04 2004] [notice] config.update(): done config:
[Thu Apr 01 17:01:04 2004] [notice] config.setAttribute() Error 
setting lb:lb stickySession 1
[Thu Apr 01 17:01:04 2004] [notice] config.update(): done lb:lb
[Thu Apr 01 17:01:04 2004] [notice] config.update(): done 
channel.socket:localhost:8009
[Thu Apr 01 17:01:04 2004] [notice] config.update(): done 
ajp13:localhost:8009
[Thu Apr 01 17:01:04 2004] [notice] config.update(): done uri:/*.jsp

I see that my requests are being load balanced for the same session. I 
am trying
2 Tomcats, and later, 2 JBoss servers, and in both cases I see that 
all requests from the same session are being attended in both servers 
(50-50).



Best regards,

Eulogio Robles

-
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]


Blocking SNMP calls?

2004-03-03 Thread Eulogio Robles
I have an app. that uses Adventnet SNMP classes. If I perform a 
snmpSet() call from inside a Tomcat or JBoss server, my application gets 
a timeout error (I mean, the application is unable to communicate with a 
remote network device via SNMP and the SNMP error is "Request Timed Out 
to w.x.y.z"). But if I run the exact same class I wrote, as a Java 
console application, from the same host, it works perfectly.

Any ideas?

Best regards,

E. Robles



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


Tomcat/JBoss problems with SNMP apps

2004-03-04 Thread Eulogio Robles
I have a very strange problem with an application  running on Apache + 
Tomcat/JBoss :

I have several classes that use AdvnetNet SNMP packages. One of them 
sends snmpSet() to several remote devices. If I run the class from a 
console Java application, it works ok (running on the save host where 
Tomcat is residing). But If I call it from a JSP page, the snmpSet() 
returns a "timeout trying to communicate with IP w.x.y.z" error. I tried 
a workaround : instead of using the Adventnet class, I used a 
Runtime.getRuntime().exec() call to execute a command line 
"/usr/bin/snmpset" command. Again, if I run the snmpset command from a 
shell prompt, it works ok. But if I run it from a JSP page, I get a 
communication timeout (cannot reach the remote IP). I wrote a small Perl 
CGI script that runs the same snmpset command, and it works just fine on 
the same host.

So, the problem is, why is Tomcat blocking or re-routing the SNMP SET calls?

Best regards,

E. Robles

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


Compile jk2 2.0.4 connector on Tru64

2004-03-30 Thread Eulogio Robles
I'm trying to compile a JK2 connector on Tru64 :

I cd to /usr/local/src/jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2
./configure --with-apxs2=/usr/local/apache2/bin/apxs
make
I get this :

/bin/ksh /usr/local/apache2/build/libtool --silent  --mode=compile cc  
-g -pthread-DOSF1   -I../../include -I/usr/local/apache2/include 
-I/usr/local/src/httpd-2.0.44/srclib/apr-util/include 
-I/usr/local/src/httpd-2.0.44/srclib/apr/include   -DCHUNK_SIZE=4096 
-DUSE_APACHE_MD5   -c ../../common/jk_logger_file.c -o 
../../../build/jk2/apache2/jk_logger_file.lo
cc: Error: ../../common/jk_logger_file.c, line 196: In this statement, 
"args" has a struct type, which is not scalar. (needscalar)
   if (!file || !args)
-^
make[1]: *** [../../../build/jk2/apache2/jk_logger_file.lo] Error 1
make[1]: Leaving directory 
`/usr/local/src/jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/server/apache2'
make: *** [jk2-build] Error 1

What I'm missing?

Best regards,

E. Robles
Metropolis
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Compile jk2 2.0.4 connector on Tru64

2004-03-31 Thread Eulogio Robles
You are right, it worked... almost :-)

I get this error :

libtool: install: warning: remember to run `libtool --finish 
/usr/local/apache2/modules'
/sbin/cp 
../../../build/jk2/apache2//usr/local/apache2/modules/mod_jk2.so 
../../../build/jk2/apache2/mod_jk2.so
cp: ../../../build/jk2/apache2//usr/local/apache2/modules/mod_jk2.so: No 
such file or directory
make[1]: *** [../../../build/jk2/apache2/mod_jk2.so] Error 1
make[1]: Leaving directory 
`/usr/local/src/jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/server/apache2'
make: *** [jk2-build] Error 1
# find ../.. -name "*.so" -print
../../jk/build/jk2/apache2/usr/local/apache2/modules/libmod_jk2.so
../../jk/build/jk2/apache2/.libs/libmod_jk2.so

Anyway, I used the resulting libmod_jk2.so with my Apache server and it 
worked without problems

Best regards,

E. Robles

Nikola Milutinovic wrote:

Eulogio Robles wrote:

I'm trying to compile a JK2 connector on Tru64 :


Hello, "blood brother" :-) I compiled it on Tru64 UNIX 4.0D
You're not missing anything. The JK2 code is making an assumption of 
what "va*" (variable argument list) implementation looks like. It 
could be that on most other systems (or should I say, C compiler 
environments) it is a pointer.

On DEC CC it is not - it is a structure.

The correction I have found to work or, at least, looks good - havent 
tested mod_jk2, yet - is:

  if (!file || !(args._a0))

Everything else should slide smoothly. If you have any more problems, 
call.

Nix.



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


Apache auth on JBoss 3.2.4

2004-07-01 Thread Eulogio Robles
I am migrating an application from Tomcat 4 to JBoss 4.2.4. It is being used from with 
Apache 2/JK2.
However it is failing because request.getRemoteUser() is returning null in some 
password protected pages. All the auth configuratoion (login and passwords) is based 
on Apache.
The problem was solved in Tomcat4 by adding a line on $tomcat_home/conf/jk2.properties 
(request.tomcatAuthentication=false), but I have been unable to get the same result on 
JBoss.
Please any hint?
Thanks in advance,
E. Robles
Metropolis Intercom
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Apache auth on JBoss 3.2.4

2004-07-02 Thread Eulogio Robles
There is no "jk2.config" or "jk2.properties" file on any JBoss 
directory. Where should it be located?

(Apache does communicate with JBoss over port 8009 for all JSP requests 
and they are displayed correctly).

regards,
E. Robles
Nikola Milutinovic wrote:
Eulogio Robles wrote:
I am migrating an application from Tomcat 4 to JBoss 4.2.4. It is 
being used from with Apache 2/JK2.
However it is failing because request.getRemoteUser() is returning 
null in some password protected pages. All the auth configuratoion 
(login and passwords) is based on Apache.

The problem was solved in Tomcat4 by adding a line on 
$tomcat_home/conf/jk2.properties 
(request.tomcatAuthentication=false), but I have been unable to get 
the same result on JBoss.

Please any hint?

Is JBoss/Tomcat seeing your "jk2.config"? It might be in a different 
place with JBoss' as a wrapper.

Test it - add some garble to "jk2.config" and see if Tomcat complains.
Nix.
-
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]