Réf. : RE: Réf. : RE: dbcp pool size

2003-11-12 Thread meissa . Sakho
Not sure you won't get it. Because I'm getting it in any way. Specifiying it or not. This parameter is implicit. Meissa Sakho NATEXIS ASSET MANAGEMENT Direction de l'organisation Tel. : 01 58 19 45 71 http://www.assetmanagement.natexis.fr Shapira, Yoav [EMAIL PROTECTED] 10/11/2003 15:47

Re: Using Apache/mod_ssl certificate and private key with Tomcat/keytool

2003-11-12 Thread Bill Barker
At the moment, only MemoryRealm supports CLIENT-CERT auth (at least from the Tomcat ships-with Realms). There are patches for JNDIRealm and JDBCRealm floating around in Bugzilla, that should be fine if you are using Sun's JVM. (The Sun dependencies are basically why they are still floating :).

Re: Redirecting HTTP requests to HTTPS

2003-11-12 Thread Bill Barker
Like I said, TC 3.x doesn't support auto-redirect. Raghu Karamel [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I did that... now I'm getting a message h1SSL required to access this page/H1 when I try to use HTTP. I thought it will automatically get redirected HTTPS. Am I missing

Re: Hello regarding web.xml file ...

2003-11-12 Thread Bill Barker
Tomcat includes the DTD for Servlet 2.3. It automagically tells the XML parser to use it's shipped-with DTD when parsing your web.xml file. sanjay paithankar [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, I installed tomcat4.1.24 on a standalone machine ( not connected to

Apache + Tomcat5 + SSL

2003-11-12 Thread Eric Chow
Hello, I can configure Tomcat5 to support SSL, if I make the Tomcat5 as a stand alone server. But now I want to use Apache + JK2 as the Load Balance media. How can I also allow the Apache to pass all the .jsp to be handled by Tomcat in HTTPS mode? Eric == If you know

Re: lbfactor and weighted load balancing

2003-11-12 Thread David Rees
On Tue, November 11, 2003 at 9:26 pm, David OBrien wrote: Just a quick question on the lbfactor setting... If I have say four quad processor machines and two dual processor machines in a cluster would setting the lbfactor for the quad machines to say 4 and the lbfactor for the dual machines

RE: Problem with ConnectionPool on Linux

2003-11-12 Thread Veselin Kovacevic
Now, everything working fine. :) Thanks Jon. -Original Message- From: Jon Wingfield [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2003 4:50 PM To: Tomcat Users List Subject: Re: Problem with ConnectionPool on Linux MySql times out idle connections. If your pool

RE: Problem with ConnectionPool on Linux

2003-11-12 Thread Veselin Kovacevic
We using MySQL for some features in application (login, roles, look and feel...) not for data. Before we use Oracle for all, but now we try to seperate features data from real data for better performance. It's corporate application, so nobody use them at night and we have not any job or activity

Re: Problem with ConnectionPool on Linux

2003-11-12 Thread Kwok Peng Tuck
The new version of DBCP should be able to cope with this as well. I tested it with MaxDB and it works ok. Veselin Kovacevic wrote: Now, everything working fine. :) Thanks Jon. -Original Message- From: Jon Wingfield [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2003 4:50 PM

RE: Problem with ConnectionPool on Linux

2003-11-12 Thread Veselin Kovacevic
You think DBCP 1.1? I try to install Tomcat 4.1.29 but I get some error with connection pool. Is there some changes in server.xml settings? -Original Message- From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 9:13 AM To: Tomcat Users List Subject: Re:

Re: Problem with ConnectionPool on Linux

2003-11-12 Thread Kwok Peng Tuck
Actually I took the nightly build of DBCP a week before it went into release, built it on my own and replaced the one that shipped with tomcat (since I couldn't find a pre-built binary). I think you do need to change commons-pool as well. You also probably need testOnBorrow as well for this

Peculiar problem

2003-11-12 Thread Magne Skjeret
Hi Just wanted to report a peculiar sighting. I had to test my server from a external machine, and the sys admin set it up.. But the only port he opened for me was 443. So I set my http port to 443 (yes, I did not use ssl). Peculiar setup, I admit that, but when accessing the server with this

Re: Peculiar problem

2003-11-12 Thread Magne Skjeret
Magne Skjeret wrote: Forgot to say it was on tomcat 4.0.4 magne Hi Just wanted to report a peculiar sighting. I had to test my server from a external machine, and the sys admin set it up.. But the only port he opened for me was 443. So I set my http port to 443 (yes, I did not use ssl).

RE: tomcat 4.1.27 with jvm 1.4.2_02=crashes

2003-11-12 Thread adriacom6340
tks Scrive David Muller [EMAIL PROTECTED]: We have removed the environment variable export LD_ASSUME_KERNEL=2.2.5 since it didn't seem to solve the problem upon further scrutiny of the release notes may not even be applicable to our case (not using glibc 2.2). and are now deleting the

Mulitple webapps vs. multiple instances

2003-11-12 Thread Thomas Reiter
Hi, We are running apache serving multiple virtual hosts. Some of the domains are combined with a java webapp. For now we have the following structure for this {TOMCAT_HOME}/webapps/customer_1 {TOMCAT_HOME}/webapps/customer_2 The applications are mapped via mod_jk to the coresponding

clustering question for newbie ???

2003-11-12 Thread Eric Chow
Hello, I setup an environment to make two Tomcat servers in clustering and with the Apache for Load Balance. All the configuration is no problem. when one Tomcat crashed, it can switch to another one. But I wonder if the new one can keep the session attributes ? For example, An application

Problem with IIS tomcat 4.1 jk2 connector

2003-11-12 Thread Stéphane Brogi
Hi First sorry for my english. We have a web server with tomcat 4.1.12 running with JK2 connector (isapi2_redirector.dll). The configuration works fine except for one link redirection calling a jsp. This problem appears only when using the jk2 connector because if we use the port 8080 with the

RE: Problem with IIS tomcat 4.1 jk2 connector

2003-11-12 Thread Andy Eastham
Stéphane, Your English is perfect - no need to apologise. I've looked at my config (which is for 4.0.18 with jk2) and the only obvious difference is that I don't have a leading / in my context path, So try: Context path=java docBase= debug=0 privileged=true reloadable=true/ rather than:

RE: help for tomcat

2003-11-12 Thread Anton Modaresi
Hello, Put your driver in common/lib configure server.xml with your database's username/password/driverclass/driveruri also look into the stacktrace to know why the exception is thrown. regards /anton -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: den 11

Setting up a data source resource reference using a JNDI property file

2003-11-12 Thread Adrian Beech
G'day folks, I was wondering if it is possible to set up a data source resource reference using a JNDI property file? If this is possible then does anyone have a sample sort of file that will show how to set up a connection pool to an Oracle DB? I have been successful thus far whilst

FORM based authentication pages

2003-11-12 Thread Ricardo García
I have setup Tomcat 4.1 to use FORM based auth, but I've found myself replicating login and error pages in every context I want to protect. The problem is that the path that point to the pages in the login-config tag in the web.xml file of the context is relative to the context.

how to set up tomcat to generate mod_jk.conf-auto

2003-11-12 Thread Omkar Joshi
Hi, can some body help me. I need to configure tomcat for mod_jk.auto file help me _ Enjoy shopping online? Get this e credit card. http://server1.msn.co.in/features/amex/ It cuts cost adds value!

Sessions - SSL

2003-11-12 Thread Duncan
Would one loose their session when switching from non-ssl to ssl (ie. changing connectors)? Thanks in advance Duncan Smith Decker Telecom Ltd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Setting up Tomcat

2003-11-12 Thread S.Gokul
Hi, I have been using TOMCAT 4.1 version . Is there any way by which we can instruct tomcat to automatically update the Java Beans when i recompile them. For now i have to restart tomcat to make the changes effective. Kindly help, Regards, S.Gokul

RE: Setting up Tomcat

2003-11-12 Thread Ricardo García
You can try with the reloadable=true attribute of the Context configuration. Context ... reloadable=true -Mensaje original- De: S.Gokul [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 12 de noviembre de 2003 12:02 Para: Tomcat Users List Asunto: Setting up Tomcat Hi, I have been

RE: Setting up Tomcat

2003-11-12 Thread Simon Allen
I've found this doesn't always work, though -Original Message- From: Ricardo Garcia [SMTP:[EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 11:07 AM To: Tomcat Users List Subject:RE: Setting up Tomcat You can try with the reloadable=true attribute of the Context

fully embedded tocmat

2003-11-12 Thread Holger Klawitter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, as far as I can see, using an embedded tomcat still exposes several ports to the outside world. So running several applications using embedded tomats will have to sort out port issues. Is there documentation on how to deal with this

Re: Hello regarding web.xml file ...

2003-11-12 Thread srevilak
wbarker Tomcat includes the DTD for Servlet 2.3. It automagically wbarker tells the XML parser to use it's shipped-with DTD when wbarker parsing your web.xml file. Yes, Tomcat will resolve the DTD to a local copy. One thing that you should note: callme_sanjay !DOCTYPE web-app PUBLIC -//Sun

Tomcat as a service

2003-11-12 Thread Andrea Stefanini
I tried to start Tomcat3.3.1a as a service on a Windows2000 Professional . I followed the instructionsin the page 'http://jakarta.apache.org/tomcat/tomcat-3.3-doc/NT-Service-howto.html'. I had no problem until point 3. Executing the command specified at point 4 (jk_nt_service -S name of

Re: Apache + Tomcat5 + SSL

2003-11-12 Thread Tim Funk
One of these links should cover this: http://jakarta.apache.org/tomcat/faq/connectors.html -Tim Eric Chow wrote: Hello, I can configure Tomcat5 to support SSL, if I make the Tomcat5 as a stand alone server. But now I want to use Apache + JK2 as the Load Balance media. How can I also allow the

Re: Mulitple webapps vs. multiple instances

2003-11-12 Thread Tim Funk
It depends. The one jvm scenario has the possibility of hurting other customers since one webapp could (try to) hurt another via starvation, resource hogging etc. But even in diferent jvms, this could be an issue, but possibly easier to manage. Personally, I would put each customer in their

Re: FORM based authentication pages

2003-11-12 Thread Tim Funk
Sorry, tomcat doesn't provide that functionality. A simple workaround is to keep those pages in a shared area then on site build (I hope your using ant), copy those files into your webapp. -Tim Ricardo García wrote: I have setup Tomcat 4.1 to use FORM based auth, but I've found myself

Tomcat Settings advice on long-running process.

2003-11-12 Thread Elankath, Tarun (Cognizant)
Hi list, We have a long running process (all in java, not external) that is initiated from struts action class, (does a lot of file I/O, etc) The browser apparently timesout after about 20 minutes or whereabouts, and then suddenly the process do stops bang in the middle as soon as this

Re: Tomcat Settings advice on long-running process.

2003-11-12 Thread Tim Funk
During the middle of processing, the browser drops the socket. This casues the next write by tomcat to fail with a Socket exception (Actually ClientAbort or similar). One workaround is to put the long running operation in its own thread (carefully) and have the thread update a status object

RE: Tomcat Authenticates to AD. How do I access AD variables?

2003-11-12 Thread Robyne Vaughn
Tim, Thanks for your reply.I do mean attributes. I don't know much about JNDI. (excuse me if I don't know the correct wording). I do have one little JNDI program which I copied and altered. It hits active directory with an authorized connection name and OU and etc. All of which are

RE: Tomcat as a service

2003-11-12 Thread Tom Lyle
Err.. why are you using Tomcat 3.3.1a? You can install Tomcat 4 as a service by using the version packaged as a windows installer or you could use the Tomcat service manager which you can find here: http://web.bvu.edu/staff/david/index.jsp?subsection=tcservcfgpage=overview -Original

[OT] Re: Tomcat Authenticates to AD. How do I access AD variables?

2003-11-12 Thread Tim Funk
From the user id that tomcat returns, you'll need to determine the DN. In which you can do (I think) this way: 1) When constructing your context, use follow, which makes it nice when you are using a forrest of domains (if thats the right term) for example: env.put(Context.REFERRAL, follow);

Rouge tomcat processes

2003-11-12 Thread Chris Haskins
Hi, We have a problem in that tomcat processes are taking up 100% CPU. We're just upgraded the JVM to jdk1.4.2_02 to try and fix this, as per the FAQ at apache.org and this hasn't changed anything. We don't know what is causing this and wondered if there is any way to match the pid's with Tomcat

Re: Tomcat Settings advice on long-running process.

2003-11-12 Thread Rodrigo Ruiz
Elankath, Tarun (Cognizant) wrote: Hi list, We have a long running process (all in java, not external) that is initiated from struts action class, (does a lot of file I/O, etc) The browser apparently timesout after about 20 minutes or whereabouts, and then suddenly the process do stops bang in

Issue with Tomcat 4.1.29 default Character Encoding

2003-11-12 Thread SMcGarrity
Hi All, We are having an issue with the latest version of Tomcat and how the Content Type header is being set by it now - in particular with PDFs generated by our application. The following is taken straight from the RequestDumperValve: OLD (Tomcat 4.1.24) 2003-11-11 16:11:19

Re: Rouge tomcat processes

2003-11-12 Thread Tim Funk
Nope. Your best chance is to perform some thread dumps. (Google on how to do a thread dump) From the thread dumps get some when things are good, and multiple ones when things are bad. With luck your see a pattern in the dumps. You'll notice a lot of stuff waiting and sleeping that have

RE: Tomcat Settings advice on long-running process.

2003-11-12 Thread Elankath, Tarun (Cognizant)
Hmm. thanks people. I was just scouting for an quick-and-dirty fix, that's all. But I guess, the background-thread and progress page seems to be the only suitable fix. Unfortunately the process is part of some existing java code that is being maintained by us. So I am not allowed (literally) to

RE: [OT] Re: Tomcat Authenticates to AD. How do I access AD variables?

2003-11-12 Thread Robyne Vaughn
Thanks, Tim. That's a lot of help. Robyne -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 8:04 AM To: Tomcat Users List Subject: [OT] Re: Tomcat Authenticates to AD. How do I access AD variables? From the user id that tomcat returns,

RE: Issue with Tomcat 4.1.29 default Character Encoding

2003-11-12 Thread Chris Haskins
Hi, I had the same problem recently and found there is a bug in IE that ignores the mime header, just not sure why. But the only way I could find to get round this was to append '.pdf' at the end of the page name, i.e. if you call 'showpdf.jsp' call it with a param like 'showpdf.jsp?.pdf' I know

Apache 1.3+mod_jk2 and Tomcat 4.1.24 problem

2003-11-12 Thread Jrg Werner
Hi! I'm trying to access a webapp (cocoon) through apache 1.3 and mod_jk. This is not working properly. What I can do is access http://localhost/cocoon/ but not any paths below the cocoon directory (e.g. http://localhost/cocoon/ docs/), for those I get an Error 404. What is going wrong? My

Re: Issue with Tomcat 4.1.29 default Character Encoding

2003-11-12 Thread Remy Maucherat
[EMAIL PROTECTED] wrote: Hi All, We are having an issue with the latest version of Tomcat and how the Content Type header is being set by it now - in particular with PDFs generated by our application. The following is taken straight from the RequestDumperValve: OLD (Tomcat 4.1.24) 2003-11-11

Re: Sessions - SSL

2003-11-12 Thread Adam Hardy
On 11/12/2003 11:51 AM Duncan wrote: Would one loose their session when switching from non-ssl to ssl (ie. changing connectors)? No, not at all. Adam -- struts 1.1 + tomcat 5.0.12 + java 1.4.2 Linux 2.4.20 RH9 - To

Tomcat + jk + IIS

2003-11-12 Thread Marco Shimomoto
Hello, I want to get running a test server with Tomcat (4.x) and IIS on a Windows 2000. Ive read all JK documentation at Jakarta, tried unsuccessfully to get them working. Does anybody know another source of information guide on doing this? Thanks in advance, Marco

Container based authentication and session persistence with Tomca t 4.1.29

2003-11-12 Thread Andreas Mohrig
Hello, [ What I'm trying to do ] I'm trying to use container based authentication while having session persistence provided by a PersistentManager (with FileStore) with Tomcat 4.1.29 (running under Windows XP for development purposes). [ What works ] Form-based authentication via a

Re: JBoss Mapping

2003-11-12 Thread Fred Pope
You could try to run your jboss server by doing a $JBOSS_HOME/bin/run.sh and then tail -f $JBOSS_HOME/jboss.log and you should see whether or not the jboss server starts up correctly. Then you should be able to get to http://your.domain.extension:8080/jmx-console/ Good luck. I need to know how

How to tune Tomcat and Java?

2003-11-12 Thread Jens Ove Lillegraven
Hi, We have a problem in that the Tomcat (java) process is the bottleneck and is using only one CPU. There will be high load on the server when it is put online, so we are stress testing it offline now. Using the top command in Linux during the stress test, it seems that java is the bottleneck of

RE: How to tune Tomcat and Java?

2003-11-12 Thread Peter Guyatt
Hi There, Java and Tomcat are both multi-threaded applications. So they are both using more than one CPU. If it is using 50% of one processor then it is using 100% CPU on that processor, since its 50% of the actual processing capacity. Thanks Pete -Original Message- From: Jens

Re: FORM based authentication pages

2003-11-12 Thread Christopher Schultz
Ricardo, Is there a way to put those two pages in a location that is accessible by any context? If there is, how do I setup my web.xml file? You want the login pages for every webapp to look the same? If that's what you really want to do, I think you'll have to use symbolic links on the

Re: How to tune Tomcat and Java?

2003-11-12 Thread Christoph Gaffga
Compaq ProLiant 6000, 2 x PII Xeon 400MHz, 1,3GB RAM Why not using a dual Xeon 2.8, they become quite cheap. Christoph P.S.: As I see in my setup java uses all available processors. - To unsubscribe, e-mail: [EMAIL

RE: How to tune Tomcat and Java?

2003-11-12 Thread Peter Guyatt
Hi There sorry sent the last one before it was ready ;-) Java and Tomcat are both multi-threaded applications. So they are both using more than one CPU (if available). If it is using 50% of one processor then it is using 100% CPU on that processor, since its 50% of the actual

Re: Sessions - SSL

2003-11-12 Thread Harry Mantheakis
Hello No, not at all. I found that if I redirect a client from SSL to non-SSL I lose the session. Harry Mantheakis London, UK - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Tomcat + jk + IIS

2003-11-12 Thread Tom Lyle
http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html -Original Message- From: Marco Shimomoto [mailto:[EMAIL PROTECTED] Sent: 12 November 2003 15:52 To: Tomcat Users List Subject: Tomcat + jk + IIS Hello, I want to get running a test server with Tomcat (4.x) and IIS on a Windows

Re: Container based authentication and session persistence with Tomca t 4.1.29

2003-11-12 Thread Christopher Schultz
Andreas, I looked up the documentation for org.apache.catalina.realm.GenericPrincipal (which stores the user information) and noticed that it is not serializable, i.e. it does not implement the java.io.Serializable interface. But being serializable is a prerequisite for beeing written to a

PersitenetManager in production

2003-11-12 Thread Francois JEANMOUGIN
Hi all, In the doc, I can read : Persistent Manager Implementation WARNING - Use of this Manager implementation has not been thoroughly tested, and should be considered experimental! Wel, well, well. Is the documentation outdated or may I use it blindly? What sort of DB could anyone advice

AW: Sessions - SSL

2003-11-12 Thread Andreas Mohrig
Hallo, others have commented on this, but first of all: From a security point of view it is a bad design if a session gets switched from SSL to non-SSL or vice-versa. The sessionid is always part of any request. So anyone observing a non-SSL-request can obtain the sessionid and thereby hijack a

AW: Container based authentication and session persistence with T omca t 4.1.29

2003-11-12 Thread Andreas Mohrig
Hello Christoper, thank you for your answer. I observed the same thing as you: Also note that the GenericPrincipal nbever actually goes into the session. After login, snoop the session -- there's nothing in there. I believe that Tomcat keeps a table of session ids - Principal objects,

Re: Other ports Tomcat grabs

2003-11-12 Thread dhay
1099, sound like webtrends ... ick. :-( $TOMCAT_HOME/conf/server.xml should have all the ports tomcat is binding to. If not, there may be some custom code in a webapp (ex: some XML-RPC admin listener?) trying to open extra ports. Ahhh, okay, it's my connection pool to Firebird. Anyone know

Re: Using Apache/mod_ssl certificate and private key with Tomcat/keytool

2003-11-12 Thread Michael Jeffrey Tucker
Hi, Thanks for your help. I was wondering if anyone has any suggestions for the following problem: I would like Tomcat to accept any SSL connection where it recognizes the CA for the client certificate and then provide my webapp access to this certificate. It turns out that I don't think I want

just a debug matter

2003-11-12 Thread Edson Alves Pereira
Hello folks, i usually use JDB to debug my servlets, and some times when i tried to display a result from a static method i get this error: Thread-9[1] print Thread.currentThread() com.sun.tools.example.debug.expr.ParseException: Name unknown: Thread.currentThread Thread.currentThread()

Re: AW: Container based authentication and session persistence with T omca t 4.1.29

2003-11-12 Thread Christopher Schultz
Andreas, Concerning my intentions, I do not want to preserve the session-state between two logins or between more than one session for a given user. I want to preserve the session-state between server-restarts in case of necessary (but normally fast) maintenance operations (changes on certain

RE: just a debug matter

2003-11-12 Thread Edson Alves Pereira
Hey folks, i known the answer, it just to put the full class´s name, like: java.lang.Thread.currentThread( ).toString( ) -- De: Edson Alves Pereira[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada: quarta-feira, 12 de novembro de 2003 14:29 Para:

AW: AW: Container based authentication and session persistence wi th Tomcat 4.1.29

2003-11-12 Thread Andreas Mohrig
Hello Christoper, Oh, okay. That makes more sense. :) Thank you ;-) ! I'm in a very early experimental state concerning this application. There is nothing in the session but a single String (for testing). And you're right, the same sessionid is comming from the client, but tomcat has forgotten

Re: Sessions - SSL

2003-11-12 Thread Harry Mantheakis
Hello Andreas if you only want to protect the data that the user sends to the server... I was getting users to log in using SSL, and then switching to non-SSL in order to avoid the SSL overheads. (When I decided I could not 'hang on' to the same session, I decided to stick with SSL

AW: Sessions - SSL

2003-11-12 Thread Andreas Mohrig
Hello Harry, I was getting users to log in using SSL, and then switching to non-SSL in order to avoid the SSL overheads. (When I decided I could not 'hang on' to the same session, I decided to stick with SSL permanently.) So you achieve to protect the password (which would otherwise be sent

Problem w/JK connector

2003-11-12 Thread John_Cunningham
John Cunningham Lead Software Engineer 617.519.2453 - Forwarded by John Cunningham/BOSTON/IDX1 on 11/12/03 12:29 PM - John Cunningham 11/12/03 10:34 AM To: [EMAIL PROTECTED] cc: Subject:Problem w/JK connector Get following msg when trying to

Re: Sessions - SSL

2003-11-12 Thread Harry Mantheakis
Hello Andreas So maybe it would be a good idea to stick to SSL for that reason alone (and 'accidentally' save yourselve the trouble of having to solve your current problem). Yes, okay, I take your point. I would still like to know, for the record, whether or not sessions are meant to be

How to read org.apache.jasper.JasperException tracebacks

2003-11-12 Thread Nicholas Piper
Hi All, I'm getting a JasperException when I try and run some JSP code. The main problem with fixing it is that I've no idea how to read the traceback. It doesn't seem to give many clues as to what's going wrong. The full thing is at http://www.hellaweb.com/hellabot/415 I guess there should be

Re: How to read org.apache.jasper.JasperException tracebacks

2003-11-12 Thread Tim Funk
Typically there are 2 (or more exceptions shown). Usually the bottom most exception is the one your most interested in since that what through the real exception. The reason is because the JSP catches an exception, wraps it in a JSPException, and throws it where it is caught by the servlet

AW: Sessions - SSL

2003-11-12 Thread Andreas Mohrig
Hello Harry, sorry, I did not want to press this point too much. And for the record: My tomcat works that way. Anything placed in session-scope remains present between different requests made with http and https, even the authenticated user. The only thing I noticed has been a caching issue,

How to get mod_jk 2.0 for redhat

2003-11-12 Thread Michel Cote
Hello, I'm looking for the BINARY distribution of the Tomcat web server connector (mod_jk 2.0) for Linux RedHat On the mirror sites i can connect on, i only find windows or solaris release. I tried to build from the source distribution but as i'm not a developper, i didn't manage... Thank

Re: How to get mod_jk 2.0 for redhat

2003-11-12 Thread Mark Eggers
Michel, Check out www.jpackage.org. I don't know how good these RPM's are since I build the connectors from source. /mde/ . . . . just my two cents --- Michel Cote [EMAIL PROTECTED] wrote: Hello, I'm looking for the BINARY distribution of the Tomcat web server connector (mod_jk 2.0)

Re: AW: AW: Container based authentication and session persistence wi th Tomcat 4.1.29

2003-11-12 Thread Christopher Schultz
Andreas, I'm in a very early experimental state concerning this application. There is nothing in the session but a single String (for testing). And you're right, the same sessionid is comming from the client, but tomcat has forgotten which user/principal is associated with the session (which is

Re: Problem w/JK connector

2003-11-12 Thread Christopher Schultz
John, Get following msg when trying to invoke Apache: Syntax error on line 4 of /usr/local/Tomcat/jakarta-tomcat-4.1.27/conf/auto/mod_ jk.conf: Cannot load /usr/local/apache/modules/mod_jk.so into server: What do you get when you: $ ls -l /usr/local/apache/modules/mod_jk.so Also, is there

RE: Win2k+Apache+Tomcat Problems

2003-11-12 Thread Goehring, Chuck Mr., RCI - San Diego
Steve, Tomcat has to be started first because it generates a conf file that Apache will read. Note that on the referenced link there are two (different) items that contain the word ApacheConfig. They both need to be in there. This causes the config file to be generated. Tomcat may take a

JASPER always recompiles

2003-11-12 Thread dhay
Hi, I have an ANT script which builds my webapp. Before changing to the new JASPER, we could run the rebuild target, and it would only precompile the JSPs that had changed. However, since then, it always re-precompiles ALL JSPs no matter what. Does anyone have any ideas why, and how to fix

Re: How to get mod_jk 2.0 for redhat

2003-11-12 Thread Kevin Williams
Michel, I strongly recommend building the connector from source. The reason for this is that the connector depends on the version of Apache you are using (at least that's my conclusion after many failed binary installs). I tried using binary versions, but wasn't able to. I finally did a source

SSL - Tomcat

2003-11-12 Thread J.W. Koelewijn
Hello, First of all I want to excuse if this question was raised before, but I'm new on the mailinglist. Now on to the question: I want to work with SSL on my tomcat, to protect the content sent to it and from it. By what I've read so far, I understand that SSL certificates are sent from the

Re: Problem w/JK connector

2003-11-12 Thread John_Cunningham
Hi Chris, # ls -l /usr/local/apache/modules/mod_jk.so -rwxr-xr-x 1 root system449550 Nov 11 15:59 /usr/local/apache/modules/ mod_jk.so so prot is 755 like it should be. Unfortunately, there's no other useful error log info that I can see. Thanks, John Cunningham Lead Software

How to redirect http request to a secure SSL site?

2003-11-12 Thread Raghava Rao
Hi, I have jakarta-4.1.24 installed. I have enabled both HTTP, running on port 80 and HTTPS, running on 443 on my tomcat server. So, my HTTP site can be reached at http://localhost/index.jsp and my secure site can be reached at https://localhost/index.jsp I need help in: 1. When a user browses

help w/ tag issue

2003-11-12 Thread Bryan LaPlante
I have looked everywhere for a solution. My custom tag displays it's content once multiplied by the number of times the page has been refreshed. I when looking for the reason and the closest mention concerns tag pooling. I don't know if turning it off will solve this problem but I can not figure

Signal 11 causing Tomcat crash

2003-11-12 Thread Jim Goodspeed
Really hoping that someone might be able to help us with this. We are experiencing Signal 11 crashes on our tomcat server. We have tried almost every configuration that I can think of and we are still getting these crashes at least once a week, sometimes twice a day. Unfortunately we can not

XSL Transform Problem: Seeing SAXParseException: Content is not allowed in prolog

2003-11-12 Thread Dan Barron
Hello, I'm seeing an SAXParseException when I am trying to do a simple xml transform inside a simple jsp file. I see the exception: SAXParseException: Content is not allowed in prolog I have checked the prolog in both the xml and xsl files and there are no extra characters. I can run the

Odgovori: SSL - Tomcat

2003-11-12 Thread kovi.adsl
On your servlet side include following code: X509Certificate[] certs = (X509Certificate []) request.getAttribute(javax.servlet.request.X509Certificate); X509Certificate clientCert = certs[0]; Client certificate that is sent from client side is always on index 0. Best regards, Kovi Od:

Re: help w/ tag issue

2003-11-12 Thread Christopher Schultz
Bryan, I have looked everywhere for a solution. My custom tag displays it's content once multiplied by the number of times the page has been refreshed. I when looking for the reason and the closest mention concerns tag pooling. I don't know if turning it off will solve this problem but I can not

Re: help w/ tag issue

2003-11-12 Thread Bryan LaPlante
no database, the tag is just formatting some JavaScript on the page. I have extended the BodyTagSupport and I am use SKIP_BODY in the doEndTag. The tag works fine on Weblogic, it only acts this way in TC. - Original Message - From: Christopher Schultz [EMAIL PROTECTED] To: Tomcat Users

Re: Using Apache/mod_ssl certificate and private key with Tomcat/keytool

2003-11-12 Thread Michael Jeffrey Tucker
Hi, Some more digging revealed that what I have done so far is what is/was intended. Back in 2000, Craig McClanahan wrote that: If all you want to do is make sure the client has a valid certificate, you don't need to use a security constraint at all -- just set the clientAuth property on the

Datasource in JSP

2003-11-12 Thread Thyago Lisboa Mota
I have a datasource configured with the name 'jdbc/TestDB' as in http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html. I wanna use this datasource in a JSP test using 'jakarta/dbtags' taglib. What is the name I should use for the 'dataSource' attribute of the

Re: Datasource in JSP

2003-11-12 Thread Christopher Schultz
I have a datasource configured with the name 'jdbc/TestDB' as in http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html. I wanna use this datasource in a JSP test using 'jakarta/dbtags' taglib. What is the name I should use for the 'dataSource' attribute of the

Re: XSL Transform Problem: Seeing SAXParseException: Content is not allowed in prolog

2003-11-12 Thread Christopher Schultz
Dan, //~~~ setup stream reader and writer ~~~ StringReader stream = new StringReader(/usr/www/barronfamily.net/charlineanddan/xml/test.xml); You aren't reading the file /usr/www/barronfamily.net/charlineanddan/xml/test.xml. Instead, you are reading the string

Re: WinNT service problem

2003-11-12 Thread ArcherDaPunk
I never seem to know exactly which lib directory I'm meant to put it in, so I put it in absolutly every lib directory, including my j2sdk dir. I konw it's not the code because I'm using the same driver and code as I was before I reformatted my computer. Jake - Original Message - From:

getUserPrincipal and custom realm

2003-11-12 Thread Xavier Deheul
I wrote my custom Realm for a form-based-authentication and everything is successfull (I declare the realm in my context in the server.xml file, I gives the mbean descriptor and the librairies file to the server) However I still have a last problem after the user-form authentication when I call

mod_jk or mod_jk2

2003-11-12 Thread Dionisio Ruiz de Zarate
Hello i must to put one server with apache 2.0.47 and tomcat 4.1.29 in production. what is better for use in production state? mod_jk or mod_jk2? which is more stable? thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: getUserPrincipal and custom realm

2003-11-12 Thread Christopher Schultz
Xavier, However I still have a last problem after the user-form authentication when I call the request.getUserPrincipal. When I cast the class to my principal, there is a jasperException : PS : I have also a little question : Why must I declare the jar librairies in the server lib directory if

Tomcat Service crashes in Tomcat Via IIS environment...

2003-11-12 Thread Bond
Hello Everyone, I have a on going problem with our application, and I can't seem to find any reason for the strange behavior of tomcat. My Enviroment: I have Tomcat 4.1.X installed on a Windows 2000 server. I have connected this instance of Tomcat to the machine's IIS server. On IIS, I

Re: How to get mod_jk 2.0 for redhat

2003-11-12 Thread inaminute
Quoting Kevin Williams [EMAIL PROTECTED]: Same apply for me. I am not a developper neither and was reluctant to spend time with that mesterious build thing. Finally I dowloaded both Apache and mod jk2 sources and got it running, thanks to this mailing list :), on RedHat 9.0 Here is my answer

  1   2   >