Re: Microsoft Certificate Services

2003-11-17 Thread Bill Barker
I am getting so tired of this ;-). I'm sure that MCS can export to pkcs12 format. Simply use the exported file as your keystore. For an Apache example to work from, look at the Tomcat 5 "ssl-howto". Of course, if you get a recipe for doing this with MCS, please post it so that I can include

Re: https --> http session problem

2003-11-17 Thread Bill Barker
"Adam Hardy" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On 11/17/2003 05:15 PM Andrew Mottaz wrote: > >>Also, as far as I can see, the java community has decided that once you > >>start a secure session, you should stay in a secure session, for various > >>security reasons. Are

Re: Tomcat 3.3 & Tomcat 4.1...

2003-11-17 Thread Bill Barker
When I did this, there were a couple of gotyas ;-). The biggest one was that in Tomcat 3.3, JSP files under the Context-root are given the default package (and so can reference Beans in the default package without an explicit import). This is no longer true in TC 4.1.x. Otherwise, TC 4.1.x fully

Re: RedHat 9 & tomcat

2003-11-17 Thread satou hotmail
RedHat9 is not considered that thread is process. But RedHat8 and RedHat7.x is thread is process. If you perform "ps -m ",Your problem will be solved. This issue(Redhat7-8) http://www.onlamp.com/pub/a/onlamp/2002/11/07/linux_threads.html On Mon, 17 Nov 2003 22:36:32 -0500 Christopher Schultz

RE: jndi + dbcp [SOLUTION]

2003-11-17 Thread [EMAIL PROTECTED]
My problem with the DBCP is that the tomcat manager will not install the database connection for a pooled datasource. Each time I add a new Context or Host, I must stop and restart the entire tomcat app. This is not fun and takes more than 5 minutes. To install a new app in the manager I use

Java core w TC 4.1.24

2003-11-17 Thread J D
Hi Folks, Any pointers on this? RedHat 7.3 Tomcat 4.1.24 Java 1.4.1_02 Thanks - An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC

Re: jndi + dbcp [SOLUTION]

2003-11-17 Thread Christopher Schultz
Brent, Marc Thanks..! Do you know if the global link is necessary...or what it does? Apparently, GlobalNamingResources is a misnomer. What it really means is "global pool of available resources". If you want to make one available to a Context, you'll need a element. Note that you'll also need

Re: RedHat 9 & tomcat

2003-11-17 Thread Christopher Schultz
Santos, basically I have a singleton which has a synchronized method. I was expecting that each thread that access this method will be able to complete it without getting pre emptied. From my log I can see such thing does not exist. So, are you saying that you can observe two threads in the same

Re: RedHat 9 & tomcat

2003-11-17 Thread Chong Yu Meng
Red Hat 9 uses the New Posix Thread Library (NPTL), and has been known to even break some Java SDK's (for example, if you're using IBM's Java 2 SDK 1.3.1, you'll need to put in an environment variable LD_ASSUME_KERNEL=2.2.5 or you'll get a segmentation fault). I know I'll probably get flamed fo

Re: RedHat 9 & tomcat

2003-11-17 Thread Santos Jha
basically I have a singleton which has a synchronized method. I was expecting that each thread that access this method will be able to complete it without getting pre emptied. From my log I can see such thing does not exist. I tried to use sun's jdk 1.4.2 and I also used IBM jdk 1.4 when I coul

Re: RedHat 9 & tomcat

2003-11-17 Thread Tim Funk
http://marc.theaimsgroup.com/?t=10650119334&r=1&w=2 might help. -Tim Santos Jha wrote: Hello All, Today I tired to port my application which was running fine on Redhat 8 to redhat 9. My Application spawns multiple threads. What I found interesting was thread were not behaving as they were

Re: Is it Tomcat 5.0.14 or is it my tag handler?

2003-11-17 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/classnotfound.html (Anywhere it says 4.1, its valid for 5 too) -Tim Derek Mahar wrote: Why doesn't my tag handler, HelloWorldSimpleTag, work unless it is in a package? Is it Tomcat 5.0.14 (on Windows XP) or is it the tag handler? Tomcat generates the error m

Re: automate login to other opensource apps

2003-11-17 Thread Tim Funk
There are already non free software that can facilitate SSO across multiple servers. There are also free ones too. Each has its limitations and to use them will probably require some (minor) spec deviation. -Tim Gary Hardy wrote: Adam, I think single-sign-on above and beyond tomcat SSO is in

Re: JDBCRealm through a firewall

2003-11-17 Thread Tim Funk
Oops, that patch is in tomcat5 and wasn't backported to 4.1. -Tim Holger de Wall wrote: Hallo, How can we force the Servlet-Engine to establish a new Realm-Connection to the Database without a restarting the complete Tomcat-Server ? I think 4.1.29's JDBCRealm tried to reconnect on failure. it w

RE: RedHat 9 & tomcat

2003-11-17 Thread Darian Shimy
What were you expecting to happen? What JDK versions were in 8 and 9 (java -version)? > -Original Message- > From: Santos Jha [mailto:[EMAIL PROTECTED] > Sent: Monday, November 17, 2003 4:33 PM > To: Tomcat Users List > Subject: RedHat 9 & tomcat > > > Hello All, > Today I tired to po

RedHat 9 & tomcat

2003-11-17 Thread Santos Jha
Hello All, Today I tired to port my application which was running fine on Redhat 8 to redhat 9. My Application spawns multiple threads. What I found interesting was thread were not behaving as they were supposed to. I am not sure do I have to do anything special about RedHat 9? Please let me kno

RE: [OT] Re: UNSUBSCRIBE!!!

2003-11-17 Thread Goehring, Chuck Mr., RCI - San Diego
Jens, I think I couldn't see it when I had MS Outlook Express. They have since upgraded me to regular Outlook so I can't test for it now. From the UNSUBSCRIBE messages we get on the list, it seams like some can't see it. Chuck -Original Message- From: Jens Skripczynski [mailto:[EMA

Re: Tomcat/JVM heap dump

2003-11-17 Thread Deepak Parbhoo
I found the problem. In my case it actually had something to do with LDAP. So the problem was in the LDAP libraries (libnss_ldap.so). Check this link out: http://developer.java.sun.com/developer/bugParade/bugs/4630104.html David Muller wrote: Any more info on this? What libs? What rpm? -Dav

Re: Tomcat/JVM heap dump

2003-11-17 Thread Sunitha Kumar
Apparently, JVM requires /proc. Once this was available, this error no longer happened. David Muller wrote: Any more info on this? What libs? What rpm? -Dave -Original Message- From: Deepak Parbhoo [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 3:22 PM To: Tomcat Users List Su

RE: Tomcat/JVM heap dump

2003-11-17 Thread David Muller
Any more info on this? What libs? What rpm? -Dave -Original Message- From: Deepak Parbhoo [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 3:22 PM To: Tomcat Users List Subject: Re: Tomcat/JVM heap dump I recall a similar problem on redhat 8.0. It had something to do with t

[OT] Re: UNSUBSCRIBE!!!

2003-11-17 Thread Jens Skripczynski
Hi, it might be good, to investigate that. Many lists rely on the bottom line. If a / some MUA hides it, it will be no use to those using it... Hopefully it is a 'user' error... Goehring, Chuck Mr., RCI - San Diego: > Jean , > > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional comman

Re: automate login to other opensource apps

2003-11-17 Thread Gary Hardy
Adam, > I think single-sign-on above and beyond tomcat SSO is in the pipeline > for the long term though. That'll be quite the trick... in the long term... meaning "a super container" could spam multiple web app servers, ejb containers, databases, directory servers... transparently passing securit

Re: https --> http session problem

2003-11-17 Thread Adam Hardy
On 11/17/2003 11:58 PM Kevin Williams wrote: I read this post and have a question...and maybe I'm not understanding https correctly, but why is your login PAGE secure? I wouldn't care if someone sees an empty page with a prompt for the username and password. The post should be secure though... I

Re: https --> http session problem

2003-11-17 Thread Andrew Mottaz
You are correct -- it is a user perception issue -- that makes my argument a bit less persuasive -- but -- I still say give the developer control. Andrew > I read this post and have a question...and maybe I'm not understanding > https correctly, but why is your login PAGE secure? I wouldn't care

Re: Tomcat/JVM heap dump

2003-11-17 Thread Deepak Parbhoo
I recall a similar problem on redhat 8.0. It had something to do with the libs. The issue was fixed on RH9 though. Sunitha Kumar wrote: RedHat-> Linux Deepak Parbhoo wrote: What OS are you using? Sunitha Kumar wrote: Hey folks, Any pointers on this? thanks, Using CATALINA_TMPDIR: /jakarta-

Re: Tomcat/JVM heap dump

2003-11-17 Thread Sunitha Kumar
RedHat-> Linux Deepak Parbhoo wrote: What OS are you using? Sunitha Kumar wrote: Hey folks, Any pointers on this? thanks, Using CATALINA_TMPDIR: /jakarta-tomcat-4.1.29/temp Using JAVA_HOME: /opt/j2sdk_nb/j2sdk1.4.2 # # HotSpot Virtual Machine Error, Internal Error # Please report this err

RE: UNSUBSCRIBE!!!

2003-11-17 Thread Goehring, Chuck Mr., RCI - San Diego
Jean , To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] I think some email clients don't show this (at the bottom of the emails) for some reason. Chuck -Original Message- From: Jean B. Denis [mailto:[EMAIL PROTECTED] Sent: Monday, November 17

RE: UNSUBSCRIBE!!!

2003-11-17 Thread Goehring, Chuck Mr., RCI - San Diego
ArcherDaPunk, To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] I think some email clients don't show this for some reason. Chuck -Original Message- From: ArcherDaPunk [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 2:46 PM To: Tomcat

Re: UNSUBSCRIBE!!!

2003-11-17 Thread Ubqtous
Jean, On 11/17/2003 at 18:50, you wrote: JBD> Me t To unsubscribe, e-mail: [EMAIL PROTECTED] ~ Ubqtous ~ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: https --> http session problem

2003-11-17 Thread Kevin Williams
I read this post and have a question...and maybe I'm not understanding https correctly, but why is your login PAGE secure? I wouldn't care if someone sees an empty page with a prompt for the username and password. The post should be secure though... In other words... can't you have a page http:/

RE: UNSUBSCRIBE!!!

2003-11-17 Thread Hart, Justin
Read the bottom of your email... Justin -Original Message- From: Jean B. Denis [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 6:50 PM To: 'Tomcat Users List' Subject: RE: UNSUBSCRIBE!!! Me t -Original Message- From: ArcherDaPunk [mailto:[EMAIL PROTECTED] Sent: M

RE: UNSUBSCRIBE!!!

2003-11-17 Thread Jean B. Denis
Me t -Original Message- From: ArcherDaPunk [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 4:46 PM To: Tomcat Users List Subject: UNSUBSCRIBE!!! UNSUBSCRIBE ME PLEASE! OR TELL ME HOW!! - To unsubscribe

UNSUBSCRIBE!!!

2003-11-17 Thread ArcherDaPunk
UNSUBSCRIBE ME PLEASE! OR TELL ME HOW!! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat/JVM heap dump

2003-11-17 Thread Deepak Parbhoo
What OS are you using? Sunitha Kumar wrote: Hey folks, Any pointers on this? thanks, Using CATALINA_TMPDIR: /jakarta-tomcat-4.1.29/temp Using JAVA_HOME: /opt/j2sdk_nb/j2sdk1.4.2 # # HotSpot Virtual Machine Error, Internal Error # Please report this error at # http://java.sun.com/cgi-bin/bug

Re: automate login to other opensource apps

2003-11-17 Thread Adam Hardy
If you are using CMS then you must realise that the realm and the login info from j_username etc are held seperately in tomcat from your app. In the realm implementation that is run by tomcat at login, you have no access to the request or the session (although you could stick it in a hashmap in

Tomcat/JVM heap dump

2003-11-17 Thread Sunitha Kumar
Hey folks, Any pointers on this? thanks, Using CATALINA_TMPDIR: /jakarta-tomcat-4.1.29/temp Using JAVA_HOME: /opt/j2sdk_nb/j2sdk1.4.2 # # HotSpot Virtual Machine Error, Internal Error # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Java VM: Java HotSpot(TM) Clien

Re: [OT] java 1.3 and Fedora

2003-11-17 Thread Ben Ricker
We had the same problem while installing Oracle on a Redhat 9 box. They had us add the LD_ASSUME_KERNEL to 2.4. HTH, Ben Ricker Wellinx, Inc. On Mon, 2003-11-17 at 15:54, Christopher Schultz wrote: > Mark, > > I am working on an old project using Sun JDK 1.3. I get an error > > message while

Microsoft Certificate Services

2003-11-17 Thread Hart, Justin
I'm having a bear of a time getting certificates from Microsoft Certificate Services into my java keystore. Has anyone else had this problem? Does anybody have a relatively good/simple solution? No matter what I do, keytool says that my certificate file is not in the correct format. Justin

Re: tomcat 4.1.29+azpache2+mod_jk2. help me please

2003-11-17 Thread Christopher Schultz
Dionisio, But if one user, using ftp, creates one dir, i must to edit the apache conf file? this is one great problem. Huh? How often will users be creating directories in your webapp deployment directory? i sed mod_jk and there wan't problem with this but with the mod_jk2 i cannot resolv it I'm

Re: [OT] java 1.3 and Fedora

2003-11-17 Thread Christopher Schultz
Mark, I am working on an old project using Sun JDK 1.3. I get an error message while using ant. The error is listed below: Error occurred during initialization of VM Unable to load native library: /usr/local/jdk1.3.1_08/jre/lib/i386/libjava.so: symbol __libc_wait, version GLIBC_2.0 not define

Re: Managing DB connections via HttpSessionListener

2003-11-17 Thread Morten
Thanks for the proposals. The using a pool manager sounds like what I need, only it's a little ' overkill taking the size of the application into consideration. As users can specify new DB URI's themselves, I cannot use multiple datasources either (unless I create/maintain them programmatically,

RE: jndi + dbcp [SOLUTION]

2003-11-17 Thread [EMAIL PROTECTED]
Marc Thanks..! Do you know if the global link is necessary...or what it does? Brent -Original Message- From: Marc Dugger [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 12:56 PM To: [EMAIL PROTECTED]; 'Tomcat Users List' Subject: RE: jndi + dbcp [SOLUTION] I had defined th

RE: jndi + dbcp [SOLUTION]

2003-11-17 Thread Marc Dugger
I had defined the resource at the global level, but failed to link it to the context. before: after: > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Monday, November 17, 2003 2:29 PM > To: 'Tomcat Users List'; [EMAIL PROTECTED] > Subject:

one great problem with mod_jk2 and workers2.properties

2003-11-17 Thread Dionisio Ruiz de Zarate
I have configure the tomcat + apache2 + mod_jk2 but i have find one great problem (error?) and is this: if i have this web structure: / |-index.jsp |-images/ | |-image.gif | |-otherimage.gif |-js/ | |-file.js |-otherdirectory/ | |-file1.htm |

RE: jndi + dbcp [SOLUTION]

2003-11-17 Thread [EMAIL PROTECTED]
Hey Mark, Can you post your context solution...I am not sure about the ResourceLink Thanks Brent -Original Message- From: Marc Dugger [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 12:26 PM To: Tomcat Users List Subject: RE: jndi + dbcp [SOLUTION] missing inside > --

RE: jndi + dbcp [SOLUTION]

2003-11-17 Thread Marc Dugger
missing inside > -Original Message- > From: Marc Dugger [mailto:[EMAIL PROTECTED] > Sent: Monday, November 17, 2003 12:56 PM > To: [EMAIL PROTECTED] > Subject: jndi + dbcp > > > My resource parameters are not being passed correctly to a JDBC resource > factory causing this stack trace: >

[OT] java 1.3 and Fedora

2003-11-17 Thread Mark W. Webb
I am working on an old project using Sun JDK 1.3. I get an error message while using ant. The error is listed below: Error occurred during initialization of VM Unable to load native library: /usr/local/jdk1.3.1_08/jre/lib/i386/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in f

Tomcat crash from catalina.bat, but not from starting as NT Servi ce

2003-11-17 Thread Wendell Holmes
I have an app that causes a Tomcat crash when I start Tomcat5 from the command line with 'catalina run'. I get a native code exception that follows this explanation. When I start Tomcat 5 as an NT service (chosen during install), the app runs okay. What's causing the difference. I've tried foll

Re: Running & debugging servlets on Linux

2003-11-17 Thread Eric MacAdie
--- Harry Mantheakis <[EMAIL PROTECTED]> wrote: > The Tomcat log files are located in the > CONTAINER_HOME/logs directory. > > To print out debugging statements in Servlets use > the GenericServlet.log() > method. Within HttpServlets all you have to do is > call "log(...)". Here is > an example wh

Re: [Tomcat 5.0.14] JSP 2.0 XML syntax and EL expressions bug.

2003-11-17 Thread Tim Funk
To get this fixed the quickest, please submit a bug report (http://nagoya.apache.org/bugzilla/) with the following: - File where it works (non-xml syntax) - File where it doesn't works (xml syntax) - Your explanation below. - And if your daring (a PATCH, or the code where jasper2 is incorrect) -T

Tomcat 5.0.14 + JSTL: SAX Exception

2003-11-17 Thread Leo Lipelis
I simply put this line in a page: <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"; %> And I get this exception when trying to load it: org.apache.jasper.JasperException: Validation error messages from TagLibraryValidator for c null: org.xml.sax.SAXParseException: The content of elem

jndi + dbcp

2003-11-17 Thread Marc Dugger
My resource parameters are not being passed correctly to a JDBC resource factory causing this stack trace: 2003-11-17 12:42:59,281 [main] FATAL com.socotech.loanauditor.dao.TorqueDomainTypeDAO - Cannot create JDBC driver of class '' for connect URL 'null' org.apache.commons.dbcp.SQLNestedException

RE: Unique error message when starting Tomcat 4.1.27

2003-11-17 Thread Shapira, Yoav
Howdy, Not a problem, glad to help. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Dean Searle [mailto:[EMAIL PROTECTED] >Sent: Monday, November 17, 2003 1:39 PM >To: Tomcat Users List >Subject: RE: Unique error message when starting Tomcat 4.1.27 > > >Yoav, > >That

Re: i18n problem

2003-11-17 Thread Rhino
Do you mean to say that when the language is changed the pages are *NOT* reflecting the changes? Otherwise, I don't see your problem ;-) Rhino - Original Message - From: "Fernandez Angil Marian" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 17, 2003 11:24 AM Subject:

RE: Unique error message when starting Tomcat 4.1.27

2003-11-17 Thread Dean Searle
Yoav, That worked. I put JAVA_OPTS=-Djava.net.preferIPv4Stack="true" for run,start and stop in my catalina.sh and now it starts. Thank you very much Dean -Original Message- From: Dean Searle Sent: Mon 11/17/2003 10:04 To: Tomcat Users List Cc: Subject:RE: Unique e

[Tomcat 5.0.14] JSP 2.0 XML syntax and EL expressions bug.

2003-11-17 Thread Alexey Naidyonov
Hi. It appears that certain JSP 2.0 EL expressions may or may not work depending on choosen JSP syntax. E.g., the expression ${param['foo']} is ok for standard syntax, but will result into org.apache.jasper.JasperException: /test.jsp() Unterminated ${ tag exception with XML syntax page. I bel

Is it Tomcat 5.0.14 or is it my tag handler?

2003-11-17 Thread Derek Mahar
Why doesn't my tag handler, HelloWorldSimpleTag, work unless it is in a package? Is it Tomcat 5.0.14 (on Windows XP) or is it the tag handler? Tomcat generates the error message shown below when I attempt to execute HelloWorldSimpleTag with HelloWorldSimpleTag.class in WEB-INF/classes, but works fi

Re: Tracking sessions in JSPs

2003-11-17 Thread Christopher Schultz
Andoni, I am trying to find out if I can create a JSP which does not create a session (that bit's easy) and yet can use sessions if it decides that one doesn't exist already. What a coincidence... I just answered this in another thread: <[EMAIL PROTECTED] session="false" import="javax.servlet.

Re: automate login to other opensource apps

2003-11-17 Thread Gary Hardy
jack: I noticed you haven't received any responses yet. I was kinda waiting to see is anyone had any bright ideas regarding... catching j_username/j_password for later use within a webapp. I posted a somewhat related question in "Subject: application security gone mad". Someone (please!) correct

Re: Increase The Heap

2003-11-17 Thread Christoph Gaffga
> In catalina.sh do: > JAVA_OPT=-mx512m > > if you want it to be 512M of memory, as an example. > > I put mine in the very beginning of catalina.sh, right after the comments. Because you are running Windows, catalina.bat of course.

RE: Increase The Heap

2003-11-17 Thread Darian Shimy
http://www.mail-archive.com/[EMAIL PROTECTED]/msg08705.html > -Original Message- > From: Scott Purcell [mailto:[EMAIL PROTECTED] > Sent: Monday, November 17, 2003 9:09 AM > To: [EMAIL PROTECTED] > Subject: Increase The Heap > > Hello, > > I am running Tomcat 4.06 on Windows, and had ru

Re: Increase The Heap

2003-11-17 Thread James Black
Scott Purcell wrote: As a baseline, I would like to increase the JVM memory on tomcat 4.06 (running as a service). I am having trouble isolating where this is done. I have searched through the config directory for jmx but found nothing. In catalina.sh do: JAVA_OPT=-mx512m if you want it to be 5

Re: https --> http session problem

2003-11-17 Thread Adam Hardy
On 11/17/2003 05:15 PM Andrew Mottaz wrote: Also, as far as I can see, the java community has decided that once you start a secure session, you should stay in a secure session, for various security reasons. Are you doing a secure login and then redirecting back to http afterwards? Imagine the follo

Increase The Heap

2003-11-17 Thread Scott Purcell
Hello, I am running Tomcat 4.06 on Windows, and had run into an problem that I am trying to figure out. I have created a download application that enables end-users to gather images, zip them up and let them download them. Pretty simple. All is happy during testing if three users download at th

Tracking sessions in JSPs

2003-11-17 Thread Andoni
Hello, I am trying to find out if I can create a JSP which does not create a session (that bit's easy) and yet can use sessions if it decides that one doesn't exist already. Any ideas anyone? Thanks. Andoni.

RE: End of Session Event?

2003-11-17 Thread Hart, Justin
Heh, works for me. Thanks. Justin -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 11:56 AM To: Tomcat Users List Subject: Re: End of Session Event? Justin, > Is there an event listener or something that can detect when Tomcat > de

RE: Important- Tomcat 4.1.24 with mutiple database

2003-11-17 Thread Tom Lyle
You should have a look at the DAO pattern if you're planning on supporting multiple databases http://java.sun.com/blueprints/corej2eepatterns/Patterns/DataAccessObject.ht ml > -Original Message- > From: N.B.Bopanna [mailto:[EMAIL PROTECTED] > Sent: 17 November 2003 09:38 > To: [EMAIL PROT

Re: End of Session Event?

2003-11-17 Thread Christopher Schultz
Justin, Is there an event listener or something that can detect when Tomcat decides to close a session with a user? IE this would hit both explicit logoff and incidental (the user closes the browser, and cookies expire and good things like that). Uhh... how about javax.servlet.http.HttpSessionLis

Re: tomcat 4.1.29+azpache2+mod_jk2. help me please

2003-11-17 Thread Dionisio Ruiz de Zarate
But if one user, using ftp, creates one dir, i must to edit the apache conf file? this is one great problem. i sed mod_jk and there wan't problem with this but with the mod_jk2 i cannot resolv it thanks > Dionisio, >> 2.-the second: >> the tomcat and apache works with the mod_jk2, the system retu

RE: Testing] Am I blacklisted?

2003-11-17 Thread Hart, Justin
Well, it is the start of Winter in North America, perhaps all of us are experiencing seasonal depression ;-) Justin -Original Message- From: Januski, Ken [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 11:46 AM To: Tomcat Users List Subject: RE: Testing] Am I blacklisted? Mus

Re: Tomcat Settings and Performance

2003-11-17 Thread Christopher Schultz
Jonathan, I could cluster multiple copies of Tomcat on seperate machines with a simple load balancer on the front end? I'd ratehr not go that route yet though and see if I can get it so that single machine can handle up to 250 - 300 simultaneous requests. Is there any point in clustering instances

RE: Testing] Am I blacklisted?

2003-11-17 Thread Januski, Ken
Must be a slow-starting work week. -Original Message- From: Hart, Justin [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 9:20 AM To: Tomcat Users List Subject: RE: Testing] Am I blacklisted? Ahh, that would explain why the traffic has been so light t

End of Session Event?

2003-11-17 Thread Hart, Justin
Is there an event listener or something that can detect when Tomcat decides to close a session with a user? IE this would hit both explicit logoff and incidental (the user closes the browser, and cookies expire and good things like that). Justin

Re: Instead of mod_jk2 can you use a hardware solution for load balancing

2003-11-17 Thread Christopher Schultz
Asif, Has anyone on tried using a Cisco Load balancer or any other hardware device for load balancing instead of mod_jk2. Any Pros and Cons. Although I don't know anything about them, I know that BigIPs are often used. Pros: handle lots of load, very *very* configurable. Cons: $$ -chris

RE: Failure to load listener path dependent?

2003-11-17 Thread Kenneth LaFrance
That was it - thank you. -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 11:40 To: Tomcat Users List Subject: Re: Failure to load listener path dependent? Kenneth, > As soon as I > add a listener I get a "NoClassDefFoundError". Here

Re: Can I find out if there is an active session from my JSP?

2003-11-17 Thread Christopher Schultz
Andoni, On reading more closely I find that this directive does not allow me to use sessions at all. This does not wok as the "off-switch" in the <[EMAIL PROTECTED] part is permanent. <%@ page session="false" %><% // If this user has an active session... USE IT! if(null != request.getSession(fal

Re: tomcat 4.1.29+azpache2+mod_jk2. help me please

2003-11-17 Thread Christopher Schultz
Dionisio, 2.-the second: the tomcat and apache works with the mod_jk2, the system returns me the jsp pages, but if the page has some things (images, css files )into diferents directories (/images/, /js/...) i must to declare them (the directories) into the workers2.properties file. Is this norm

Re: Failure to load listener path dependent?

2003-11-17 Thread Christopher Schultz
Kenneth, As soon as I add a listener I get a "NoClassDefFoundError". Here is a snippet from the java.lang.NoClassDefFoundError: com/jspbook/SiteLogger (wrong name: SiteLogger) Your SiteLogger.java file is missing a "package" declaration at the top of the file. That's why it can find the file, but

Re: Interesting problem on doPost in proxy implementation...

2003-11-17 Thread Christopher Schultz
Guillermo, You can see the relevant information [for Netscape 7] in SECTION ONE below. In the case of Microsoft Internet Explorer 6, [see this:] 00 0d 28 22 71 7f 00 10 dc ea a4 58 08 00 45 00 ..("q..X..E. 0010 03 89 4f 66 40 00 80 06 a6 8d 8c 5d c0 3f c1 fc [EMAIL PROTECTED] 0020

i18n problem

2003-11-17 Thread Fernandez Angil Marian
Hi Friends, I am using jakarta i18n taglib with tomacat 4.1, it seems that when the language is changed the pages are reflecting the changes. Any solutions or work-around? Thanks and awaiting a positive reply - To unsubscribe

Re: Important- Tomcat 4.1.24 with mutiple database

2003-11-17 Thread Christopher Schultz
Bopanna, I am designing a product for my company which will be sold to multiple clients. The clients may have any database (MYSQL,MS SQL Server , oracle). Can i design in such a way that the product will work on any database? This should be pretty much no problem. I would like to use type4 jdbc d

RE: Running & debugging servlets on Linux

2003-11-17 Thread Wade Chandler
Find under logs catalina.out. You can change the launch script to give you the output on the command line by removing > catalina.out from the script, or you can just view the file. You can also use JDB and attach to the running process...even remotely and debug your code. Wade -Original Mes

Instead of mod_jk2 can you use a hardware solution for load balancing

2003-11-17 Thread Asif Chowdhary
Hi, Has anyone on tried using a Cisco Load balancer or any other hardware device for load balancing instead of mod_jk2. Any Pros and Cons. Thanks Asif Chowdhary System Analyst x.eye incorporated Phone: (905) 624-6608 ext. 280 mailto:[EMAIL PROTECTED] www.xeye.com

Re: https --> http session problem

2003-11-17 Thread Andrew Mottaz
> On 11/17/2003 06:32 AM Andrew Mottaz wrote: >>> http://nagoya.apache.org/bugzilla. However, there aren't very many >>> developers who like the idea of allowing you to hang yourself :). >>> >> Thanks much for the tip -- I have to disagree about this not being a >> necessary change. There are pl

RE: Debugging JSSE

2003-11-17 Thread Phillip Qin
Hi, I had removed myself from tomcat-user list so I have to email you personally. When you start tomcat, add an option to JAVA_OPT to enable jsse debugging. It is stated in j2sdk documentation under security then jsse. I used it months ago. But I removed it after my connections were tested OK. So

RE: Tomcat Settings and Performance

2003-11-17 Thread Ben Ricker
On Mon, 2003-11-17 at 06:21, Jonathan Holloway wrote: > I could cluster multiple copies of Tomcat on seperate machines with a simple load > balancer on the front end? I'd ratehr not go that route yet though and see if I can > get it so that single machine can handle up to 250 - 300 simultaneous

automate login to other opensource apps

2003-11-17 Thread Jack Bakker
I have several Struts apps with a form-based single signon using a JNDIRealm with md5 passwords in openldap. I'm looking to pass username/password used in Java login to other apps like horde, dotproject, among others for user convenience. Sync of user account info between db stores used by other pr

Re: Can I find out if there is an active session from my JSP?

2003-11-17 Thread Andoni
On reading more closely I find that this directive does not allow me to use sessions at all. What I want is to be able to turn them off to start, or at least not create a new one if there is one in existence already, then turn them on when I need them. See if this bit of code helps explain what I

[Fwd: Replicated sessions problem (logs included)]

2003-11-17 Thread Antonio Fiol Bonnín
Hello, I re-send the following message because I did not receive it from the list. Thank you. Antonio Fiol --- Begin Message --- Dear Filip, and others of course, Following the thread that started on saturday, we installed TC5 with your patch. Behaviour seems somehow better. I am not sure whe

Re: JDBCRealm through a firewall

2003-11-17 Thread Holger de Wall
Hallo, > > How can we force the Servlet-Engine to establish a new Realm-Connection > > to the Database without a restarting the complete Tomcat-Server ? > > I think 4.1.29's JDBCRealm tried to reconnect on failure. it wasn't the solution :-( Holger de Wall

Re: Can I find out if there is an active session from my JSP?

2003-11-17 Thread Harry Mantheakis
Hello > What worries me is people who will bookmark the login screen, I would like to > be able to check if they have an existing session and if so then forward them > to the next .jsp (the main menu). Unfortunately the login screen is a .jsp so > it automatically creates a new session if there i

Re: Can I find out if there is an active session from my JSP?

2003-11-17 Thread Andoni
Sorry, just found this in the page directive <%@ page session=false %> I assume it will solve my problems. Thanks, Andoni. - Original Message - From: "Andoni" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Monday, November 17, 2003 3:23 PM Subject: Can I find out

Can I find out if there is an active session from my JSP?

2003-11-17 Thread Andoni
Hello, I have recently moved my web-app to Form-based container managed logins. I like very much the side effect that this has which is that if you go off to another site and come back you are not given the login screen again. What worries me is people who will bookmark the login screen, I woul

RE: Unique error message when starting Tomcat 4.1.27

2003-11-17 Thread Dean Searle
ok, sorry I didn't see that in the error message until I reread it. I'll use the flag -Djava.net.preferIPv4Stack=true and see if that helps. Thank you again, Dean -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Mon 11/17/2003 09:02 To: Tomcat Users List C

RE: JDBC type 4 Driver for MSSQL Server

2003-11-17 Thread Wade Chandler
The free driver from Microsoft can be downloaded by going to www.microsoft.com and then going to the SQL Server section and choosing JDBC in the downloads section. Wade -Original Message- From: epyonne [mailto:[EMAIL PROTECTED] Sent: Sunday, November 16, 2003 1:31 AM To: Tomcat Users Lis

RE: Managing DB connections via HttpSessionListener

2003-11-17 Thread Wade Chandler
Adding another idea, Use a pool manager with an API for adding a database to the manager. I'm sure Tomcat has an api as well to hook into the DataSources of a running instance and edit them...look at the tomcat admin source. So, setup your pools to your different database dynamically as they are

JK2 question

2003-11-17 Thread jakarta
I have read the docs on JK2 and cant seem to find what I am looking for. I want to map only jsp pages and servlets, but don't know if that is posible (as how would apache know what was a servlet request vs any other request) but if there is a way can you let me know. Thanks, John --

RE: Testing] Am I blacklisted?

2003-11-17 Thread Hart, Justin
Ahh, that would explain why the traffic has been so light these days ;-) Justin -Original Message- From: Francois JEANMOUGIN [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 9:08 AM To: Tomcat Users List Subject: RE: Testing] Am I blacklisted? It exists, but you're probably bla

tomcat 4.1.29+azpache2+mod_jk2. help me please

2003-11-17 Thread Dionisio Ruiz de Zarate
Hello. I have two great problems with tomcat+apache2+mod_jk2 1.- the first is i must to have in the apache home (/srv/www) one conf dir with the workers2.properties file. if i dont create this dir with the file the systems doesn't find the workers2.properties file. Why the system doesn't find it?

RE: Testing] Am I blacklisted?

2003-11-17 Thread Francois JEANMOUGIN
It exists, but you're probably blacklisted on it :) > -Message d'origine- > De : Hart, Justin [mailto:[EMAIL PROTECTED] > Envoyé : lundi 17 novembre 2003 15:03 > À : Tomcat Users List > Objet : RE: Testing] Am I blacklisted? > > Could I suggest the formation of such a list? > > > > Jus

  1   2   >