RE: AJP12 to AJP13

2002-03-08 Thread Ion Larranaga
You will also have to change your JDK, as the Ajp13Connector class uses socket.setKeepAlive(...), which was first included in JDK 1.3. With the correct version of the JDK the only thing that must be done is changing tomcat and mod_jk configurations. Hope it helps, Ion -Mensaje

RE: Apache Tomcat as Service on Win2k

2002-03-08 Thread Chris Pheby
Thanks Andrzej, but I tried setting up a dependency as you suggested. Rather than edit the registry I used Service+ from http://www.activeplus.com/. This proved unsuccessful. Does anyone have experience of sucess with JavaService in Tomcat 4.0.4 beta 1 - I think the problem may be that the old

RealmJDBC question

2002-03-08 Thread RAYMOND Romain
Hello, I would like to implement RealmJDBC to get userrole from my DB, but I have to find the role (and so the associated table's row) from foreign keys depending on others parameters than user login row ... is it clear, and anybody has links or docs about this ? thanks -- To unsubscribe:

RE: Apache Tomcat as Service on Win2k

2002-03-08 Thread Chris Pheby
In answer to my own question, javaservice.exe/tomcat.exe seems to work with the new beta and JDK 1.4 - I wonder why the 4.03 version didn't... Also, setting the dependencies works as expected now as well... Thanks everyone, Chris -Original Message- From: [EMAIL PROTECTED]

Tomcat Memory usage(Urgent!)

2002-03-08 Thread Galbayar
Hello all Here is part of top output. Is it usual that java processes eat all of memory? ? At now there are 50 java processes started that running tomcat and each of them uses 59M memory. There is running apache server with tomcat 4 and mysql. OS is Redhat7.2 x86 . JDK 1.4 is installed. Thx

RE: RealmJDBC question

2002-03-08 Thread Barney Hamish
The queries tomcat uses are hardcoded. Given the way JDBC Realms are implemented on Tomcat you've only got two choices: 1. Modify the existing org.apache.tomcat.request.JDBCRealm to use the query you want it to use. 2. Write your own request interceptor from scratch. Have a look at the source

RE: Tomcat Memory usage(Urgent!)

2002-03-08 Thread Chris Pheby
Each of these processes correlates to a /thread/. The processes are sharing memory for the most part - something that ps or top don't make clear. Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Galbayar Sent: 08 March 2002 09:24 To: Tomcat Users

Re: RealmJDBC question

2002-03-08 Thread RAYMOND Romain
Thanks and have a good day Barney Hamish a écrit : The queries tomcat uses are hardcoded. Given the way JDBC Realms are implemented on Tomcat you've only got two choices: 1. Modify the existing org.apache.tomcat.request.JDBCRealm to use the query you want it to use. 2. Write your own

Problems with resources

2002-03-08 Thread Lenhart Stefan
--- NOTE: Sorry if you recieved this mail earlier today, but I'm not sure whether it has been sent at all... --- Hi everybody! I linked Tomcat 4.0.3 with Apache 1.3.23 using the webapp module. My webapp is running perfectly using Tomcat, i.e. using the url http://myserver:8080/app. When

Newbies Question

2002-03-08 Thread Neo Gigs
Hi there, Is Tomcat 3.3a for Sun is compatible with JDK 1.3.1_02? What are the undocumented steps to setup the Tomcat server? Can that being done together with JDBC driver from Oracle on 7.3.4? Thanks Neo

Re: RealmJDBC question

2002-03-08 Thread Christian Froehler
RAYMOND Romain wrote: Hello, I would like to implement RealmJDBC to get userrole from my DB, but I have to find the role (and so the associated table's row) from foreign keys depending on others parameters than user login row ... is it clear, and anybody has links or docs about this ?

Re: Error Using 4.0.1 Manager

2002-03-08 Thread Jean-Luc BEAUDET
[EMAIL PROTECTED] a Ýcrit : Check if there is a corresponding Context/ element defined for manager in server.xml. There should be a manager under webapps: Context path=/manager docBase=manager debug=0 privileged =true/ Thanks. RS Mike Millson [EMAIL PROTECTED] on

IE 5 on Mac is incompatible with TC 4?

2002-03-08 Thread Anders Rundgren
Hi, I have a Tomcat app using sessions based on cookies (i.e. std way) that works with a huge set of browsers and OSes. But on Mac using IE 5 it does not. The culprit seems to be that session cookies are not compatible in some way as they are not visible in TC. Is this a known problem? BTW,

Re: Tomcat Memory usage(Urgent!)

2002-03-08 Thread Boily Sylvain
hi all , Well how is possible to give back memory ? Because after 2 days the memory is full. thx Chris Pheby wrote: Each of these processes correlates to a /thread/. The processes are sharing memory for the most part - something that ps or top don't make clear. Chris -Original

Re: Tomcat Memory usage(Urgent!)

2002-03-08 Thread David Cassidy
within your program you might want to check out Runtime runtime = Runtime.getRuntime; runtime.freeMemory() vs runtime.totalMemory() This will let you know what it's really using.. But as top says it's only 59M then I'd be looking at other processes in your ps list Hope this helps D Boily

RE: Tomcat Memory usage(Urgent!)

2002-03-08 Thread Arnaud Heritier
Are you sure that there's not old processes. I saw on AIX with TC4.0.1 that when i shutdowned TC, the java process wasn't killed. So I needed to kill it manually. Isn't there the same problem. Do all these processes disappeare when you stop TC ?? Arno -Message d'origine- De: David

RE: Tomcat Memory usage(Urgent!)

2002-03-08 Thread Manish Bhatnagar
We faced this problem some time back. The memory usage seemed to increase to the point where no other application could be started. Many times we had to restart the NT machine itself. We did a thorough code-review and fixed the leaks. But even after that the Tomcat memory usage kept on

SSL: IE 5 on Mac is incompatible with TC 4?

2002-03-08 Thread Anders Rundgren
Now i have digged a little bit further in this. The IE 5 Mac missing session cookie problem only occurs when using SSL. Too bad our app needs SSL. Anders - Original Message - From: Anders Rundgren [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, March 08, 2002

Re: RealmJDBC question

2002-03-08 Thread RAYMOND Romain
yeah thanks it is a good idea which is an ideal solution for my application Christian Froehler a écrit : RAYMOND Romain wrote: Hello, I would like to implement RealmJDBC to get userrole from my DB, but I have to find the role (and so the associated table's row) from foreign keys

AW: IE 5 on Mac is incompatible with TC 4?

2002-03-08 Thread Ralph Einfeldt
I think they best way you can solve this problem, is to use response.encodeUrl() on all links to enable the session tracking by url. -Ursprüngliche Nachricht- Von: Anders Rundgren [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 8. März 2002 13:04 An: Tomcat Users List Betreff: SSL:

Re: IE 5 on Mac is incompatible with TC 4?

2002-03-08 Thread Anders Rundgren
Ralph, Thanx for your advice but this is likely to be a bug in TC 4.0.2 that cannot be too hard to fix. I just found-out that it only affects SSL, which I guess is the reason no one has seen it before. URL rewriting is a possibility but our app will get ugly, so I prefer to launch without Mac.

AW: IE 5 on Mac is incompatible with TC 4?

2002-03-08 Thread Ralph Einfeldt
I got the impression from your previous posts, that the browser is the source not tomcat. -Ursprüngliche Nachricht- Von: Anders Rundgren [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 8. März 2002 13:19 An: Tomcat Users List Betreff: Re: IE 5 on Mac is incompatible with TC 4?

Re: IE 5 on Mac is incompatible with TC 4?

2002-03-08 Thread Anders Rundgren
Ralph, I got the impression from your previous posts, that the browser is the source not tomcat. Well This is matter of taste. As IE 5 is the current Mac release and IE is relatively popular even by Mac-user's, I believe that TC should adopt to IE 5 rather than the revse. A *really*

jar's include ...

2002-03-08 Thread Julien OIX
hi everyone, I'm using these RPM's on a Linux RedHat 7.1 apache-1.3.22-1.7.1 (with mod_throttle-3.1.2-3 mod_put-1.3-2 mod_bandwidth-2.0.3-2) tomcat4-4.0.2-3 servletapi4-4.0.2-1 xerces-j-1.4.4-2 regexp-1.2-5 Before, I used a tomcat4-4.0.1.x RPM's, which included mail.jar and

How can I resolve this IllegalStateException: Response has alrea dy been committed problem?

2002-03-08 Thread lindsay . hamoudi
[TOMCAT-3.3 JDK 1.3.1 WIN 2000] Hi everyone, I have a webapp that consists of various servlets - each of which is associated with one or more JSPs. The way it works is that someone logs in (by calling a servlet which forwards them to the JSP form). This servlet then processes the input and

RE: IE 5 on Mac is incompatible with TC 4?

2002-03-08 Thread Randy Layman
I haven't been following this thread but it seems like you are saying that Tomcat should be modified to work correctly with IE 5. The problem with that is that Tomcat is an reference implementation of a particular spec (JSP/Servlet) which dictates how things have to work - it is the

RE: How can I resolve this IllegalStateException: Response has alrea dy been committed problem?

2002-03-08 Thread Ryan Daigle
So at what point in this process are you getting this error? I'm not sure I understand the flow of the application, but it seems to be the pretty standard jsp to servlet to jsp flow? In my experiences, I usually get this error when I try to perform a redirect within a jsp that has already

Forte user with Tomcat 3.2 installation problem under Linux

2002-03-08 Thread Burt Gildenhuys
Dear Tomcat Community, I am using Tomcat 3.2 which is bundled in with Forte 3.0 for Java. This works fine in the development environment under Mandrake Linux 8.1. Now I want to deploy a web application, for this purpose I have Apache 1.3 running to handle the static pages. For the *.war files I

Re: IE 5 on Mac is incompatible with TC 4?

2002-03-08 Thread Anders Rundgren
Randy, I don't know if Mac IE 5 is doing something *outside* of the cookie-specification (which governs this rather than the servlet specification), but I'm pretty sure that the original Apache-server handles this differently than Tomcat. Do you know any Apache SSL-site using session-cookies

RE: Forte user with Tomcat 3.2 installation problem under Linux

2002-03-08 Thread Martin van den Bemt
You have to untar it on your linux box, because of line conversions in text files. Mvgr, Martin -Original Message- From: Burt Gildenhuys [mailto:[EMAIL PROTECTED]] Sent: Friday, March 08, 2002 14:31 To: [EMAIL PROTECTED] Subject: Forte user with Tomcat 3.2 installation problem

RE: IE 5 on Mac is incompatible with TC 4?

2002-03-08 Thread Joe Laffey
On Fri, 8 Mar 2002, Randy Layman wrote: I haven't been following this thread but it seems like you are saying that Tomcat should be modified to work correctly with IE 5. The problem with that is that Tomcat is an reference implementation of a particular spec (JSP/Servlet) which

RE: How can I resolve this IllegalStateException: Response has a lrea dy been committed problem?

2002-03-08 Thread lindsay . hamoudi
OK here's the sequence of events: [ Note: all forwarding done using RequestDispatcher.forward(req,res) ] 1. User begins by clicking link to Login servlet 2. Login servlet forwards to login.jsp 3. Login.jsp submits request to Login servlet 4. Servlet authorizes user and forwards to Home servlet

RE: How can I resolve this IllegalStateException: Response has a lrea dy been committed problem?

2002-03-08 Thread Ryan Daigle
Are you sure there isn't something in create.jsp that is trying to manipulate the response? I have found that trying to do a jsp:include... after manipulating the session can cause this exception. Is this a possibility? Perhaps you could send the relevant source of create.jsp and the Create

RE: How can I resolve this IllegalStateException: Response has a lrea dy been committed problem?

2002-03-08 Thread lindsay . hamoudi
The exception seems to be occurring because the Home servlet forwards more than once (to different locations) - first to home.jsp, then later to the Create servlet. It is definitely the fact that it is forwarding to more than one place, that is causing the problem. I know this because if I call

RE: How can I resolve this IllegalStateException: Response has a lrea dy been committed problem?

2002-03-08 Thread Wagoner, Mark
Is it possible to change the Create servlet to a simple class that accepts the request as a parameter? Since it does not manipulate the response object, there is no need to pass it. Also, you can then call Create using a regular method invocation, rather than using forward. It may require some

RE: IE 5 on Mac is incompatible with TC 4?

2002-03-08 Thread Justin Rowles
From: Anders Rundgren [mailto:[EMAIL PROTECTED]] Well This is matter of taste. As IE 5 is the current Mac release and IE is relatively popular even by Mac-user's, I believe that TC should adopt to IE 5 rather than the revse. A *really* strange thing is that persistant cookies work.

RE: How can I resolve this IllegalStateException: Response has a lrea dy been committed problem?

2002-03-08 Thread Ryan Daigle
My impression of this situation was that at runtime there was only one request forward happening. The Home servlet may have more than one forward call, but at runtime only one gets executed (per request), right? So within each servlet only one forward happens, but a string of servlets has more

AW: IE 5 on Mac is incompatible with TC 4?

2002-03-08 Thread Ralph Einfeldt
I don't copletly agree with that. As long as you don't break specs it is possible to do something in tomcat to deal with errors in browsers. (Like missbehavior in the headers of a http request) If a browser has a bug that you can't deal with, without breaking the spec there isn't much you can

RE: How can I resolve this IllegalStateException: Response has a lrea dy been committed problem?

2002-03-08 Thread lindsay . hamoudi
OK I am interested in all such solutions. But if the Create servlet is not a servlet, then how can it get/set session attributes, forward to the JSP and also process requests from the JSP. Surely there must be a way for me to have multiple servlets? But how can I fit them all together so as to

RE: How can I resolve this IllegalStateException: Response has a lrea dybeen committed problem?

2002-03-08 Thread rsequeira
Are you sending back any response or setting any session info in Create servlet before forwarding to create.jsp? Thanks. RS [EMAIL PROTECTED] on 03/08/2002 07:25:48 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: RE: How can I resolve this

Re: How can I resolve thisIllegalStateException: Response has a lrea dy been committed problem?

2002-03-08 Thread Attila Szegedi
I guess you JSP is failing with an uncaught exception. At that point, Tomcat would try to send a 500 Internal Server Error response code, but it can't since a 200 OK status code has already been sent (that is, the output committed) to the client. -- Attila Szegedi home: http://www.szegedi.org

RE: How can I resolve this IllegalStateException: Response has a lrea dy been committed problem?

2002-03-08 Thread lindsay . hamoudi
Yep that's right. Only one forward getting done per request. The main controller servlet (e.g. Home) forwards to another more specific controller servlet (e.g. Create), which then forwards to a JSP. Then later, that servlet forwards back (?? Maybe this isn't wise?) to the main controller

RE: How can I resolve this IllegalStateException: Response has a lrea dy been committed problem?

2002-03-08 Thread Wagoner, Mark
You don't need to forward back to the original servlet. Each call is done as a stack, so when the JSP returns, control comes back to the Create servlet. When the Create servlet returns, control comes back to the Home servlet. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: How can I resolve this IllegalStateException: Response has a lrea dy been committed problem?

2002-03-08 Thread lindsay . hamoudi
Don't think JSP is failing. It's quite a simple JSP and has been looked at exhaustively! Yes, I am setting session attributes in Create servlet, for use by create.jsp. I am only using the session object and the request throughout my application. The only time I ever knew I was using the

server.xml - Multiple Contexts for a Single WebApp

2002-03-08 Thread annie . frost
I am trying to duplicate an issue that I am having when I have Apache connected to Tomcat, on Tomcat alone. My Web Application is crashing when I have two entry points into the Application, for example: http://hostname http://hostname/webappname Is there a way to set up two Contexts that point

RE: How can I resolve this IllegalStateException: Response has a lrea dy been committed problem?

2002-03-08 Thread Wagoner, Mark
Actually, the way forward works came as a surprise to me as well. And I only figured it out after a few days of testing and head-scratching. :) Since the session is held in the request object, changes made to it should be available to the original Home servlet by calling request.getSession

Error Starting Tomcat 4.0.1 in AIX

2002-03-08 Thread Andy Soedibjo
Hi All, I've been installed tomcat 4.0.1 for windows successfully. But, now when i try to install tomcat 4.0.1 in AIX, i can start the Tomcat ... but with some error message. I've tried to debug it, but still i can't find why it happens. It's seemed from the error message, the Tomcat can't

RE: How can I resolve this IllegalStateException: Response has a lrea dy been committed problem?

2002-03-08 Thread lindsay . hamoudi
OK. I never knew the forward call actually returned - ever. I will experiment with this. I'm nearly ready to go away and stop pestering you all, but one more question... Say the Home servlet gets the session object from the request. It later forwards the request to the Create servlet, which

RE: How can I resolve this IllegalStateException: Response has a lrea dy been committed problem?

2002-03-08 Thread Ryan Daigle
It should be the same session object. Ryan Daigle Java Developer Health Decisions, Inc. 1512 E. Franklin St, Suite 200 Chapel Hill, NC 27514 (919) 967-2399 ext: 251 [EMAIL PROTECTED] http://www.healthdec.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]

RE: How can I resolve this IllegalStateException: Response has a lrea dy been committed problem?

2002-03-08 Thread Wagoner, Mark
Because the Home servlet holds an object reference to the session, it acts as a pointer to the actual object data. If another servlet obtains a pointer to the same object and modifies the data, the changes will be reflected in the first servlet without having to re-get the reference. However,

RE: How can I resolve this IllegalStateException: Response has a lrea dybeen committed problem?

2002-03-08 Thread jeff . guttadauro
If you are getting any pages back from the server, then you are using the response object! You may not be manipulating it with an explicit reference to it, but, when you have HTML or do an % out.println(STUFF) % or output a JSP expression like %= something % in your JSP pages, you are using the

Re: AW: IE 5 on Mac is incompatible with TC 4?

2002-03-08 Thread Joe Laffey
On Fri, 8 Mar 2002, Ralph Einfeldt wrote: I don't copletly agree with that. As long as you don't break specs it is possible to do something in tomcat to deal with errors in browsers. (Like missbehavior in the headers of a http request) If a browser has a bug that you can't deal with,

Re: IE 5 on Mac is incompatible with TC 4?

2002-03-08 Thread Anders Rundgren
Ralph, at this stage we can just guess as it does not *have* to be a browser bug. Particularly as other web-servers most likely handles this differently. I have verified that IIS does this OK but that was hardly a surprise :-). I will now perform some deeper investigation by writing a small

Re: AW: IE 5 on Mac is incompatible with TC 4?

2002-03-08 Thread David Cassidy
sounds to me that this whole line of conversation could be summed up as If you want users without cookies to use your site then use encodeURL if not tough. This isn't a tomcat issue, it's a lazy ( web site) programmer issue ;-^) (honest not flame bait : D Joe Laffey wrote: On Fri, 8

Re: server.xml - Multiple Contexts for a Single WebApp

2002-03-08 Thread rsequeira
see intermixed. [EMAIL PROTECTED] on 03/08/2002 08:50:14 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: server.xml - Multiple Contexts for a Single WebApp I am trying to duplicate an issue that I am having when I have Apache connected to

RE: IE 5 on Mac is incompatible with TC 4?

2002-03-08 Thread Ed Abrams
I believe that Joe is right: the JSP/Servlet spec is a server-side spec, and the servers serve (forgive the pun) the browser community. A spec that actually excludes even 1% of the browsers is suspect, IMHO. (And I'm not sure I believe that the JSP/Servlet spec could possibly be the culprit --

Repost:Urgent: Trouble starting Tomcat - Unix - omvs

2002-03-08 Thread Brown Bay
Tomcat 4.0.1, JDK 1.3.1, OMVS Unix Os390. When I start Tomcat I get this error. Exception during startup processing java.lang.reflect.InvocationTargetException: javax.xml.parsers.FactoryConfigurationError at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:157)

RE: AW: IE 5 on Mac is incompatible with TC 4?

2002-03-08 Thread Rich Sneiderman
Sorry to jump in on this but I'm not sure that encodeURL will solve the problem. If I understand it correctly, encodeURL will 'ONLY' add session information if it determines that it must be added because cookies are disabled. To quote the JavaDoc for encodeURL: quote The implementation of

Is there a forum for Jboss/Tomcat?

2002-03-08 Thread Xue-Feng Yang
I am looking for a forum for Jboss/Tomcat. If anyone knows a link, please let me know. __ Find, Connect, Date! http://personals.yahoo.ca -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL

Re: IE 5 on Mac is incompatible with TC 4?

2002-03-08 Thread Dave Makower
I've been watching this thread with some interest, because I have had no difficulty using cookie-based sessions on Tomcat 4.0.1 with Mac OS X and IE. Judging from the headers you reproduced in your email, it would appear the Tomcat has been configured in such a way as to treat the session cookie

HP-UX 10.20 Building mod_jk

2002-03-08 Thread emmanuel . delrue
Hi ! I need to build mod_jk on a HP-UX 10.20 server. When I execute the script build-hpux-cc.sh, this error is returned : Building mod_jk cc -DHPUX10 -Aa -Ae -D_HPUX_SOURCE -DNO_DBM_REWRITEMAP -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite +z -DSHARED_MODULE -I/usr/local/apache/include

Re: IE 5 on Mac is incompatible with TC 4?

2002-03-08 Thread Anders Rundgren
Dave, snip The system described above relies on correct behavior of cookies on the Mac in IE, and it works for us. I don't know if any behavior on the Tomcat side has changed since 4.0.1, but I would tend to doubt it. That's nice to hear :-| Why are you using a secure cookie for the session

Trouble with Jsp

2002-03-08 Thread Sergio I. Lima
Hello: I have a Red Hat Linux 7.2 box installed with: IBMJAVA 2-13 and TOMCAT 4.0.2, I Installed the binary rpm versions of this packages . When I try to access any Jsp page (tomcat jsp examples included) show me the following error: Exeption: javax.servlet.ServletExecption:

Tomcat 402 Hanging after a few days

2002-03-08 Thread Jarecsni Jnos
Hi, this week there were some postings regarding $subj. I filed a bug report this afternoon, after our tomcat hung again (it was last restarted on Monday). One of the Catalina processes dies so completely, that it cannot be killed with kill -9. Well so far I thought this can only happen on a

RE: HP-UX 10.20 Building mod_jk

2002-03-08 Thread PELOQUIN,JEFFREY (Non-HP-Boise,ex1)
Is sys/select.h in your PATH? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, March 08, 2002 9:04 AM To: Tomcat Users List Subject: HP-UX 10.20 Building mod_jk Hi ! I need to build mod_jk on a HP-UX 10.20 server. When I execute the script

Re: IE 5 on Mac is incompatible with TC 4?

2002-03-08 Thread Dave Makower
On 3/8/02 11:36 AM, Anders Rundgren [EMAIL PROTECTED] wrote: 2. Actually, we do absolutely nothing but request.getSession() which triggers the session-mechanism according to my fellow developer. I.e. we don't handle cookies ourselves, we rely on Tomcat's handling which has worked fine until

AW: IE 5 on Mac is incompatible with TC 4?

2002-03-08 Thread Ralph Einfeldt
Just to list the possible sources: - Tomcat doesn't send the cookie Unlikely, as it works with other browsers - Tomcat send it in a format that this version of ie doesn't recognize Two variants for this - The header contains/misses something that makes this version of IE fail. -

Re: Trouble with Jsp

2002-03-08 Thread rsequeira
This exception arises because tools.jar isn't visible. You need to set JAVA_HOME to point to your jdk installation (if you haven't already done that). If you have set JAVA_HOME and your servlets run, but jsps don't then you could either: 1) Create a symbolic link between JAVA_HOME/lib/tools.jar

Réf. : RE: HP-UX 10.20 Building mod_jk

2002-03-08 Thread emmanuel . delrue
It seems that there is no select.h on this server ... Do you know how to get it ? PELOQUIN,JEFFREY

Re: Tomcat 402 Hanging after a few days

2002-03-08 Thread Craig R. McClanahan
On Fri, 8 Mar 2002, [iso-8859-2] Jarecsni János wrote: Date: Fri, 8 Mar 2002 17:55:01 +0100 From: [iso-8859-2] Jarecsni János [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat-User [EMAIL PROTECTED] Subject: Tomcat 402 Hanging after a few days Hi, this week

RE: Is there a forum for Jboss/Tomcat?

2002-03-08 Thread Kemp Randy-W18971
Go to the forums at www.jboss.org -Original Message- From: Xue-Feng Yang [mailto:[EMAIL PROTECTED]] Sent: Friday, March 08, 2002 10:00 AM To: Tomcat Users List Subject: Is there a forum for Jboss/Tomcat? I am looking for a forum for Jboss/Tomcat. If anyone knows a link, please let me

RE: Réf. : RE: HP-UX 10.20 Building mod_jk

2002-03-08 Thread PELOQUIN,JEFFREY (Non-HP-Boise,ex1)
On our linux machine I found this: ./usr/i386-glibc20-linux/include/sys/select.h also, this was in a copy of jk_global.h that I got when I downloaded mod_webapp #ifndef NETWARE #include netinet/tcp.h #include arpa/inet.h #include sys/un.h #ifndef _OSD_POSIX

Is Tomcat 3.3rc1 unstable?

2002-03-08 Thread Robert Keddie
It shuts down by itself! What is going on? -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

how not to run servlet as root

2002-03-08 Thread Yako Sanborn
I am trying out Tomcat with apache on linux. I would like the servlets NOT to run as root. Where can I find the instruction how to run servlets without privilege? I suppose this means, how to run tomcat on an ordinary user account or as nobody? Thank you very much, yako sanborn [EMAIL

Re: sent request to servlet from VB

2002-03-08 Thread rsequeira
see intermixed Xie, David (IPCG-NJ) [EMAIL PROTECTED] on 03/08/2002 01:49:34 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] cc: Subject: sent request to servlet from VB Hi all, Does anyone

Re: jar's include ...

2002-03-08 Thread Peter Johnson
I just downloaded the .tar.gz binary and copied them across works fine although I understand that SendMailServlet must be downloaded and compiled separately due to some problem with the build scripts. Peter On 00:01 09-03-2002 Julien OIX wrote: hi everyone, I'm using these

RE: Is Tomcat 3.3rc1 unstable?

2002-03-08 Thread Larry Isaacs
Without more details, it is hard to assess whether this is a problem in Tomcat or a problem with your system, JVM, etc. Most often, this type of problem turned out not to be Tomcat. Cheers, Larry -Original Message- From: Robert Keddie [mailto:[EMAIL PROTECTED]] Sent: Friday, March

Re: directory issues using Tomcat 4.0.2 and Apache 1.3.23 with mod_webapp

2002-03-08 Thread Peter Johnson
Below is what I did, I hope that it helps. I am new to Tomcat and Java in general although I have had to deploy and configure ServletExec. Peter httpd.conf --- # Make sure that you have provided a ServerName and ServerPort

RE: sent request to servlet from VB

2002-03-08 Thread Xie, David (IPCG-NJ)
Where do I look for intermixed? Is it possible to call servlet from COM? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, March 08, 2002 2:59 PM To: Tomcat Users List Subject: Re: sent request to servlet from VB see intermixed Xie, David

Re: Load-on-startup

2002-03-08 Thread Christopher K . St . John
PELOQUIN,JEFFREY (Non-HP-Boise,ex1) wrote: However, I have noticed that if I restart the context using the manager, the servlet are initialized according to their physical order in web.xml, thus ignoring the load-on-startup tag. You might want to just go ahead and report it as a bug. The

Tomcat 4.0.3 ClassLoader Problem

2002-03-08 Thread Dave Makower
My app used to work on Tomcat 4.0.1, but now I get a java.lang.NoClassDefFoundError whenever the application tries to use one of our custom tags: in particular, it's a tag that uses XSLT transformations. The class that is not found is javax.xml.transform.TransformerConfigurationException, which

jsp parameters. Urgent!

2002-03-08 Thread Nancy Crisostomo Martinez
Please I need help,... This is not a Tomcat question, but I know here I can find some JSP experts: Could you tell me all the ways I could send (safe) parameters from a jsp to a jsp file? Please discard the url parameters... I have a jsp (Valida.jsp) which opens a new navigator window

Re: Tomcat 4.0.3 ClassLoader Problem

2002-03-08 Thread Remy Maucherat
My app used to work on Tomcat 4.0.1, but now I get a java.lang.NoClassDefFoundError whenever the application tries to use one of our custom tags: in particular, it's a tag that uses XSLT transformations. The class that is not found is javax.xml.transform.TransformerConfigurationException,

Re: jsp parameters. Urgent!

2002-03-08 Thread Micael Padraig Og mac Grene
From your question, I assume you know nothing about the session object? Take a look at it. At 04:45 PM 3/8/02 -0600, you wrote: Please I need help,... This is not a Tomcat question, but I know here I can find some JSP experts: Could you tell me all the ways I could send (safe) parameters

Re: jsp parameters. Urgent!

2002-03-08 Thread Micael Padraig Og mac Grene
Essentially, the answer is to have whatever page calls a page send the page the parameters, unless you want to store the data in a larger scope. The page that calls the page can be the page itself, of course. Nothing metaphysical about that. Just can be itself. If you mean can a page which

RE: Processing BodyContent in doAfterTag() has no effect

2002-03-08 Thread K Br
Thanks for your help. But I don't think that is causing the problem: (a) for one thing, the other text written to body content show up in the output. Only the stuff inserted into the enclosing writer in doAfterBody() is mysteriously missing. (b) I am writing to the

RE: Processing BodyContent in doAfterTag() has no effect

2002-03-08 Thread rks
The problem is in your doAfterBody(). StringTokenizer never returns the delimiter and hence the block that inserts BR in the enclosing JspWriter never gets executed. Replace StringTokenizer st = new StringTokenizer(x, .); with StringTokenizer st = new StringTokenizer(x, .,true);

RE: Processing BodyContent in doAfterTag() has no effect

2002-03-08 Thread Micael Padraig Og mac Grene
Looks to me like you took all the .s out, so you can hardly expect them to be replaced with anything. If that is not wrong, then you need to put a br in wherever there is a new token. Micael At 10:57 PM 3/8/02 +, you wrote: Thanks for your help. But I don't think that is causing the

RE: Processing BodyContent in doAfterTag() has no effect

2002-03-08 Thread Micael Padraig Og mac Grene
Why don't you use a replace function instead of all this rigamorole? At 10:57 PM 3/8/02 +, you wrote: Thanks for your help. But I don't think that is causing the problem: (a) for one thing, the other text written to body content show up in the output. Only the stuff inserted

RE: Processing BodyContent in doAfterTag() has no effect

2002-03-08 Thread Micael Padraig Og mac Grene
Here is a suggested replace method (sorry for saying function). Cross-language pollution: private String replace(String content, String before, String after) { int cursor = content.indexOf(before); while (cursor -1) { content= content.substring(0,

sent request to servlet from VB

2002-03-08 Thread Xie, David (IPCG-NJ)
Hi all, Does anyone know how to call a servlet from VB code? I want to sent the request from IIS to Tomcat without using isapi_redirect.dll. Is possible to do this? I look forward to your suggestions. thanks, David -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands:

Re: jsp parameters. Urgent!

2002-03-08 Thread Christopher K . St . John
Nancy Crisostomo Martinez wrote: I have a jsp ... please tell me where I can find information. Sun runs a JSP mailing list: http://archives.java.sun.com/archives/jsp-interest.html The list has lots of well informed and helpful subscribers. -- Christopher St. John [EMAIL

HTTPSessions: sessionDestroyed(), attributeRemoved(), etc

2002-03-08 Thread Dion Almaer
Hi guys - I am trying to write some code that listens to HTTPSessions, and when the server is going to destroy it, I want to do something with it first. sessionDestroyed() seems to be called AFTER the session is destroyed, and as soon as one attribute is removed due to invalidation, the

[FAQ] jGuru FAQ Update

2002-03-08 Thread Alex Chaffee
jGuru maintains FAQs and Forums on Servlets, JSP, and Tomcat (as well as many other Java topics). Here is an automated update on recent postings to Tomcat-related FAQs. Please direct flames and feedback to [EMAIL PROTECTED] . - Alex ++ Servlets FAQ: http://www.jguru.com/faq/Servlets Is

Writing my own valve to do extra logging

2002-03-08 Thread Dr. Evil
Hi, I have found that I need to write my own access logging mechanism to work with Tomcat. I need the ability to log to a database and do other things that the built-in mechanism simply can't do. Extremely good database-searchable real-time logging is critical to this project. One way to do

Re: Writing my own valve to do extra logging

2002-03-08 Thread Christopher K . St . John
Dr. Evil wrote: So my solution is to write a valve ... Then I edited bin/catalina.sh so that mylogger.jar was on the java classpath Don't edit bin/catalina.sh to change the classpath on the command line. Just put the jar in the right place (as defined by the classloader howto, it looks

help: logging failed login attempts

2002-03-08 Thread Rob Cartier
I have been searching high and low trying to find a way to catch failed login attempts after form authentication fails. Currently in my web.xml file it just gets re-directed to the errorpage but I want to record it All I want to capture is the username (j_username) that was attempted so I can

Help in JSP

2002-03-08 Thread Neo Gigs
Hi there all, I had a JSP page that talks to a JBeans, but the problem is my Bean is actually doing DB connectivity to a Oracle db, as no result returned from the Bean. As I had tested with the application of the same codes. Could anyone help me to scan thru, whats wrong with this? package

RE: Help in JSP

2002-03-08 Thread Karthikeyan .K.V
Think use the output= statement before u use the close function statement. Karthik -Original Message- From: Neo Gigs [mailto:[EMAIL PROTECTED]] Sent: Friday, March 08, 2002 9:53 PM To: Tomcat Users List Subject: Help in JSP Hi there all, I had a JSP page that talks to a JBeans,

Re: Help in JSP

2002-03-08 Thread Neo Gigs
hi there, thanks for the reminder, yet there is no results return as output. I tried to replace the line: return output; with return + interString; and it return my input value... - Original Message - From: Karthikeyan .K.V [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]

  1   2   >