need help on mod-jk.conf

2007-01-30 Thread Maulik S
Hi, I am using sun one web server 6.1 and JBoss as App server. I have two doubts. (1) I want load balancing feature from http point of view. My workers.properties lookes like as below : worker.list=traveldev,jkstatus worker.node1.port=61097 worker.node1.host=192.122.220.31 worker.node1.type=a

Re: meanings of "-lapr-0 -lgcc -lc -lsocket -lnsl" in Makefile while building nsapi_redirector.so

2007-01-30 Thread Zack Grafton
Maulik, In the line: LD_SHAREDCMD=ld -G -fPIC -lapr-0 -lgcc -lc -lsocket -lnsl I can't tell which one is bold, but anyway, that line specifies which linker command to use, and the -l options specify the loading of a library. You should check the man page for 'ld'. And in the line: CC_CMD= g

meanings of "-lapr-0 -lgcc -lc -lsocket -lnsl" in Makefile while building nsapi_redirector.so

2007-01-30 Thread Maulik S
Hi, I am trying to build nsapi_redirector.so from Makefile.solaris. when I tried to use make command it not works. Then i had copied to Makefile and made some changes as I found by googling. One of the important thing that I found was - LD_SHAREDCMD=ld -G -fPIC -lapr-0 -lgcc -lc -lsocket -lnsl

Re: Session timeout during method execution

2007-01-30 Thread Muneendra
Hi 'Christopher Schultz, I'm sorry for late reply, i was away from work. Yes, setting session timeout -1 didn't work. We are using TC 5.0.16. I will check with TC 5.5 as you suggested. Christopher Schultz-2 wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Muneen

Re: Session timeout during method execution

2007-01-30 Thread Muneendra
Hi Nehoff, I'm sorry for late reply, i was away from work. I can not modify the session timeout at web.xml because this modification is effects comeplete application but i need long session only at one or two places JNeuhoff wrote: > > Have you inserted this into your web.xml? > > >

Re: session hijacking again

2007-01-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mitchell, Fisher, Mitchell L wrote: >> Without SSL, though, remember that anyone who is capable of hijacking >> the session is probably also capable of sniffing your users' >> credentials. What are the implications of that? If it is unacceptable > to

RE: session hijacking again

2007-01-30 Thread Fisher, Mitchell L
> Without SSL, though, remember that anyone who is capable of hijacking > the session is probably also capable of sniffing your users' > credentials. What are the implications of that? If it is unacceptable to > have your credentials go over the network in cleartext, then you will > simply have to

Re: session hijacking again

2007-01-30 Thread John Caron
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John, John Caron wrote: We plan on using SSL to do the initial authentication, but then use session ids without SSL for the data transfer. Okay, thanks for clarifying that. This is definitely a good thing to do, and

Re: tracking user logins

2007-01-30 Thread Pid
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bret, Bret Davies wrote: I want to be able to track who (by user defined name) logs in and when. Can you help me out or point me in the right direction. I'm assuming that you are using container-manager security -- tha

RE: Apache module to accept encrypted query string.

2007-01-30 Thread Jason Pyeron
Explain encrpyted query string please? And why are you not using post w/ ssl? -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Sr. Consultant

Apache module to accept encrypted query string.

2007-01-30 Thread Shekar Tippur
Hi Folks, I was wondering if there is any module in Apache that will accept an encrypted query string. I appreciate any inputs.Thanks, Shekar

Re: tracking user logins

2007-01-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bret, Bret Davies wrote: > I want to be able to track who (by user defined name) logs in and > when. Can you help me out or point me in the right direction. I'm assuming that you are using container-manager security -- that is, Tomcat is enforcing t

tracking user logins

2007-01-30 Thread Bret Davies
I have a question that I hope you can help me with. We are running tomcat 4.1 and have defined user roles for login on our web page. http://gis.co.juneau.wi.us/pvweb22/index.htm we currently have about 30 registered users. I want to be able to track who (by user defined name) logs in an

problem when using log4j within a Tomcat web app

2007-01-30 Thread Eqbal
Hi, I have configured a web application to use log4j for logging information (using log4j.properties). I am using the commons logging API calls in my class files. I am using %F and %L in my pattern layout. When I run my class file as stand alone in Eclipse I get proper logging information with the

Re: Return values in wrong sort order

2007-01-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sascha, Sascha Wehnert wrote: > As soon as the familiy name starts with a special character, the name > gets listed at the bottom of the output and not in alphabetical > order. > > If I run the same query on the database the values returned look > pre

AW: datasource-realm troubles

2007-01-30 Thread Walter, Oliver (BR/ICI3)
Thanks Chuck, i followed your suggestion and it works fine. Maybe you can help me with another problem i stuck. Right now i can use RealmDataSource to authenticate the user. But want/have to go bit deeper in authorization, e.g. build up a dynamic navigation based on the users roles. I investig

Re: AW: datasource-realm troubles

2007-01-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Walter, Walter, Oliver (BR/ICI3) wrote: > Problem solved. > > The missing glue is, if you define Realm and DataSource inside the Context, > don`t forget to > specify > > localDataSource="true" > > When the realm is nested inside a Con

Re: session hijacking again

2007-01-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, Martin Gainty wrote: > SE seems definitely O/T This is not off-topic. > so please email me offline on this topic of Social Engineering This is not a question about social engineering. > Perhaps this is a project which the government never

RE: IE Issues with JSPWiki & JCIFS!!

2007-01-30 Thread Caldarale, Charles R
> From: ICT Department [mailto:[EMAIL PROTECTED] > Subject: RE: IE Issues with JSPWiki & JCIFS!! > > For some reason I don't have the startup.bat file in my 'bin' folder - > perhaps I don't have tomcat installed in the correct way You most likely installed it from the .exe download, which, for s

JMXproxy and Jconsole

2007-01-30 Thread Matteo Turra
Is it possible connect jconsole with jmxproxy provided by tomcat manager? Thanks in advance, Matteo.

RE: IE Issues with JSPWiki & JCIFS!!

2007-01-30 Thread ICT Department
Thanks for your help! But it seems setting it as a user environment variable doesn't do the job unfortunatyl For some reason I don't have the startup.bat file in my 'bin' folder - perhaps I don't have tomcat installed in the correct way..could I just drag this file into there for it to work or wou

RE: datasource-realm troubles

2007-01-30 Thread Caldarale, Charles R
> From: Walter, Oliver (BR/ICI3) [mailto:[EMAIL PROTECTED] > Subject: AW: datasource-realm troubles Now that you've got the main problem sorted, some additional info for you: > The file is named "context.xml" and it is stored in the > war`s META-INF directory. > > reloadable="true" crossContex

Re: mod_jk - connection_pool_size and connection_pool_minsize

2007-01-30 Thread Rainer Jung
Henk Fictorie wrote: Thanks for the clarification. The documentation for connection_pool_minsize however creates confusing (for me at least). The sentence This property is used only when the connection_pool_size is specified. could be removed from the documentation as it does not give any help.

Re: mod_jk - connection_pool_size and connection_pool_minsize

2007-01-30 Thread Henk Fictorie
Mladen Turk wrote: > > Henk Fictorie wrote: >> From reading the documentation I understand that connection_pool_size is >> set >> to its default value, the ThreadsPerChild setting from Apache. >> According to the documentation the connection_pool_minsize is only used >> when >> the connection_po

Re: HP-UX Tomcat refuses connections after boot

2007-01-30 Thread Orlando Reis
Try to check your startup profile/.bashrc variables, i never used HP-UX but it should be something like this. To make it work for the time being try adding some default bin dir's to your system path directly on catalina.sh. Don't you have other problems besides this one with your system? Orland

AW: datasource-realm troubles

2007-01-30 Thread Walter, Oliver (BR/ICI3)
Problem solved. The missing glue is, if you define Realm and DataSource inside the Context, don`t forget to specify localDataSource="true" When the realm is nested inside a Context element, this allows the realm to use a DataSource defined for the Context rather than a global

Rückruf: REALM and JNDI configuration

2007-01-30 Thread Walter, Oliver (BR/ICI3)
Walter, Oliver (BR/ICI3) möchte die Nachricht "REALM and JNDI configuration" zurückrufen.

AW: REALM and JNDI configuration

2007-01-30 Thread Walter, Oliver (BR/ICI3)
Hi Alessandro, i try using exactly the same setup, but i get a > -Ursprüngliche Nachricht- > Von: Alessandro Ilardo [mailto:[EMAIL PROTECTED] > Gesendet: Dienstag, 30. Januar 2007 12:34 > An: users@tomcat.apache.org > Betreff: REALM and JNDI configuration > > I'm having some trouble

AW: Return values in wrong sort order

2007-01-30 Thread Sascha Wehnert
Hi David, thanks for your response. > -Ursprüngliche Nachricht- > Von: David Delbecq [mailto:[EMAIL PROTECTED] > Gesendet: Dienstag, 30. Januar 2007 14:43 > An: Tomcat Users List > Betreff: Re: Return values in wrong sort order > > Looks to me liek a problem of the webapp, not a proble

Re: REALM and JNDI configuration

2007-01-30 Thread Mikolaj Rydzewski
Alessandro Ilardo wrote: url="jdbc:mysql://127.0.0.2:3306/test?autoReconnect=true" Are you sure about the IP address? Maybe it should be 127.0.0.1? Answer in the logs you will find... -- Mikolaj Rydzewski <[EMAIL PROTECTED]> smime.p7s Description: S/MIME Cryptographic Signature

REALM and JNDI configuration

2007-01-30 Thread Alessandro Ilardo
I'm having some trouble when I attempt to authenticate myself into my web application using the REALM. I always get the error login page. Would you have a look on my configuration reported belowe as for the first time I'm trying to connect it to the database via JNDI. Thanks in advance for you

Re: mod_jk - connection_pool_size and connection_pool_minsize

2007-01-30 Thread Rainer Jung
Hi Henk, From reading the documentation I understand that connection_pool_size is set to its default value, the ThreadsPerChild setting from Apache. According to the documentation the connection_pool_minsize is only used when the connection_pool_size is specified. Since I didn't specify the c

[OT] Email change

2007-01-30 Thread Mladen Turk
I had to change my Tomcat users list email from mladen_dot_turk_at_jboos_dot_com to mladen_dot_turk_at_gmail_dot_com Sorry for the noise :) Regards, Mladen. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscrib

Re: Return values in wrong sort order

2007-01-30 Thread David Delbecq
Looks to me liek a problem of the webapp, not a problem of tomcat. The oracle thin driver have, i already noticed, to default to america.american. You webapp will probably need to issue a few alter session to enable special sorting rule. It is probably working on your sqlplus client because it is s

Return values in wrong sort order

2007-01-30 Thread Sascha Wehnert
Hi folks, we encountered a problem (for us) in how Tomcat 5.5.20 returns requested data. In our case we selected user data ordered by family name containing special polish characters from an Oracle database. As soon as the familiy name starts with a special character, the name gets list

Re: TCP Connection Aborted problems

2007-01-30 Thread JNeuhoff
Here is the continuation of the thread dump: [2007-01-30 12:24:02] [info]at java.lang.Object.wait(Unknown Source) [2007-01-30 12:24:02] [info]at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:656) [2007-01-30 12:24:02] [info]- locked <0x09516170> (a org.

RE: How to get UTF-8 decoded parameters from request - Chinese Characters

2007-01-30 Thread PATTUS, Jean-Philippe
Hi the list, finally i have found what is the problem. I've had a filter in order to set the character encoding on the request ( request.setCharacterEncoding("UTF-8");). But this filter was not called in first in the filter list defined in the web.xml. If the parameters have been read before reque

Re: FW: IE Issues with JSPWiki & JCIFS!!

2007-01-30 Thread David Delbecq
depends on your OS :) have a look at startup.sh or startup.bat depending on your OS. You might also prefer to define a user environment variable JAVA_OPTS instead of adding it to startup script. En l'instant précis du 01/30/07 13:46, ICT Department s'exprimait en ces termes: > > OK this is going

AW: datasource-realm troubles

2007-01-30 Thread Walter, Oliver (BR/ICI3)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Chris, i followed your suggestion and removed the from web.xml and the good news is, that hibernate using the datasource is still working, but ... i still run into the same error 83743 [http-8080-Processor25] ERROR org.apache.catalina.core.Con

Re: mod_jk - connection_pool_size and connection_pool_minsize

2007-01-30 Thread Mladen Turk
Henk Fictorie wrote: I have a question on the connection_pool_size and connection_pool_minsize. We use apache 2.0, mod_jk 1.2.19 with the worker MPM, we haven't specified any of these two properties. From reading the documentation I understand that connection_pool_size is set to its default va

FW: IE Issues with JSPWiki & JCIFS!!

2007-01-30 Thread ICT Department
OK this is going to sound silly but, where do I change the Tomcat startup script? Is it the web.xml file in the "conf" folder? Also, I am using the latest version..jcifs1.2.13! This should be ok, shouldn't it? Regards Chris ICT Department St. Edward's School Cheltenham, UK -Original Mess

mod_jk - connection_pool_size and connection_pool_minsize

2007-01-30 Thread Henk Fictorie
I have a question on the connection_pool_size and connection_pool_minsize. We use apache 2.0, mod_jk 1.2.19 with the worker MPM, we haven't specified any of these two properties. >From reading the documentation I understand that connection_pool_size is set to its default value, the ThreadsPerChil

Re: IE Issues with JSPWiki & JCIFS!!

2007-01-30 Thread David Delbecq
Looks like a JCIFS problem, not a tomcat one. The code page 850 encoding is only supported on some windows based JVM. Unfortunately, if your client (internet explorer) wants to speak cp850, it's problematic as cp850 is not a character encoding jvm are mandated to support. However, browsing a bit go

RE: Issues with JSPWiki & JCIFS

2007-01-30 Thread ICT Department
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris, ICT Department wrote: > Hi there, we have a problem running JSPWiki under Tomcat, when using > Internet Explorer. It's fine in Firefox and doesn't display any > exceptions as shown below! [snip] > java.io.UnsupportedEncodingException: Cp850

Re: Apache2, Tomcat5.5, mod_jk and HTTP content-type

2007-01-30 Thread Joe Pemberton
Nevermind, I believe I found the issue. My web application isn't actually setting the content-type on any responses, so apache tries to guess what the correct content-type is. Sorry for the trouble, -Joe On 1/30/07, Rainer Jung <[EMAIL PROTECTED]> wrote: Hi Joe, what is your configuration? 1

Piped logging

2007-01-30 Thread Stuart Fox
Hi all Is there a way to use piped logging with tomcat? For example, in apache's httpd.conf you can do ErrorLog "/usr/bin/something", is this possible? Cheers Stuart This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to w

Re: TCP Connection Aborted problems

2007-01-30 Thread Rainer Jung
The thread dump basically tells us, that your tomcat is idle. Nothing is in progress there. This is in contrast to mod_jk having problems to connect to tomcat. I can see from your thread dump, that you are using the native apr connector. Since we had a couple of bug fix releases for apr, it wo

Re: Apache2, Tomcat5.5, mod_jk and HTTP content-type

2007-01-30 Thread Rainer Jung
Hi Joe, what is your configuration? 1) If Tomcat serves the request (i.e. mod_jk forwards it), the jsessionid should not be a problem, because tomcat should generate the Content-Type header. 2) If Apache serves the request, you should get a "Not Found", because it doesn't strip the jsession

Re: session hijacking again

2007-01-30 Thread Pid
Martin Gainty wrote: John and Peter SE seems definitely O/T so please email me offline on this topic of Social Engineering..Perhaps this is a project which the government never discloses? Admittedly I have no information as to the definition and or implications of such a plan eh? Thanks,