Re: response.reset() and forward() ... problematic? DBCP related?

2003-12-10 Thread Antonio Fiol Bonnín
Answer included in your text, and at the end. Anthony Presley wrote: [...] and I'm having a lot of errors, which scale based on the number of users. For instance, assuming I have around 10 people working on the system, I will have no errors. As that number scales, it becomes a huge problem, and

Re: Best JVM for Tomcat

2003-12-10 Thread Tomcat User
> How does this work ? I've had trouble with jRockit on Linux, plus > there's the new Posix threads reportedly causing problems. > Maybe Fedora + new JRockits would help, but hard data would be useful. > Are you using TC standalone ? Does the VM ever crash ? I have never had problems using jrock

Re: ThreadPool logFull

2003-12-10 Thread Tomcat User
On Thu, Dec 04, 2003 at 03:52:39PM -0200, L.Karam wrote: > I have Tomcat 4.1.24 + IIS 5 + JK2. After Tomcat had been running for about > 22 hours, Tomcat stop responding to HTTP request. Even when I type > http://localhost:8080/, it is not responding. The only log error is in > stderr log file: >

Re: jsp page loading problem during startup

2003-12-10 Thread Bill Barker
This is a traditional Tomcat bug that comes back from the dead from time to time ;-). AFAIK, the load-on-startup wasn't working in 4.0.1 for JSPs. You'll need to upgrade your Tomcat version to have this working correctly. "Romeo Dickason" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED

jsp page loading problem during startup

2003-12-10 Thread Romeo Dickason
Hi We are facing a problem in Apache Tomcat 4.0.1. We want to load a jsp during the load of the web application. So, we have specified that particular jsp page in web.xml and given load-on-startup as 1. This is executing fine in Tomcat 3.2.3 but not in 4.0.1. The Tomcat 4.0.1 is not loading that p

Re: How to get session in Session Bean ?

2003-12-10 Thread Ben Souther
I'm not sure what you're trying to do. Can you post some code? What do you mean by a stateless session bean? Are you running an EJB container? On Wednesday 10 December 2003 10:10 pm, you wrote: > Hi, > I am using sevlet and stateless Session Bean , > I want to get session in session bean

How to get session in Session Bean ?

2003-12-10 Thread Chirs Wahl
Hi, I am using sevlet and stateless Session Bean , I want to get session in session bean to get user info (such as user ID), but I can not transfer request to session bean , because can not transfer a parameter of request by sessionbeanHome.create(), i.e. sessionbeanHome.create(req, ...), Cou

RE: How to bind to multiple IP addresses?

2003-12-10 Thread Ryan Golhar
I managed to get Tomcat to listen on 2 (out of 3) IP address. When I try to start IIS on the third IP address, it says its already in use, but I don't think it is. Has anyone ever run into this? I have one web app developed using Tomcat for JSP pages and recently am forced to put another web

Re: context

2003-12-10 Thread Jerald Powel
Hi, Yes, they are all (3) running on different ports. All of them running apps quite happily. This particular one is running a single WAR OK, and my app - not OK. (HTTP Status 500 - No Context configured to process this request). I haven't played with the root context. Manager app?! Like

Re: Default context for web app

2003-12-10 Thread Kent Boogaart
Wow - thanks for all the help people. Just thought I'd update you on how I resolved this. Firstly, I removed all elements from "conf/server.xml" except my own. Then I set "autoDeploy" to "false" on the element. This almost got everything working as required. However, the admin and manager web a

Re: Uninstalling Tomcat

2003-12-10 Thread Oscar Carrillo
Additionally, after you find the package, you can see what files a package has installed, by doing something like this: rpm -qlp tomcat On Wed, 10 Dec 2003, Ben Souther wrote: > Try querying the rpm database to see if it's in there. > I think you need to be root. > rpm -qa | grep tomcat > > If

AW: GlobalNamingResources

2003-12-10 Thread Pfingstl Gernot
> > Pfingstl Gernot wrote: > > If I define a resource in (in server.xml) I > > can use this resource in my web-application only if I use > > in my context. So it seems to me it isn't possible to > > use a resource defined in unless I permit the > > use

response.reset() and forward() ... problematic? DBCP related?

2003-12-10 Thread Anthony Presley
Hi all, Decided to move my discussion from Commons to Tomcat, as the bug-tracking process appears that this is a more relevant place to post. I'm not using a MVC implementation (ala Struts), but I do have about 100K lines of servlets and JSP's, and I'm having a lot of errors, which scale based on

Re: Can large upload cause tomcat hanging?

2003-12-10 Thread Cunningham Emmett
Increase your maxHeap in the JVM instance running tomcat. --- Zsolt Koppany <[EMAIL PROTECTED]> wrote: > Hi, > > I uploaded a 70Mb file using struts-1.1. The JVM > process (jre-1.2.4_02, > Linux, SuSe-8.1) got much larger and a couple of > hours later tomcat didn't > react to the most of the ev

RE: IIS redirector works first time then fails - fixed

2003-12-10 Thread Januski, Ken
After altering various permissions on IIS I finally got this working again. I wish I could say which ones I changed so that others might find it useful but I changed too many. The most important one though was to allow only integrated Windows authentication for the Default Web Site. That may have b

Re: GlobalNamingResources

2003-12-10 Thread Remy Maucherat
Pfingstl Gernot wrote: If I define a resource in (in server.xml) I can use this resource in my web-application only if I use in my context. So it seems to me it isn't possible to use a resource defined in unless I permit the use with a in the context or the engine. Is this right?? Indeed. You c

RE: IIS redirector works first time then fails

2003-12-10 Thread Januski, Ken
stderr.log shows that connection is being closed and I wonder if that may be the cause of problem and how I might get around it? WARN common.ChannelSocket - server has closed the current connection (-1) -Original Message- From: Januski, Ken [mailto:[EMAIL PROTECTED] Sent: Wednesday, Dece

GlobalNamingResources

2003-12-10 Thread Pfingstl Gernot
If I define a resource in (in server.xml) I can use this resource in my web-application only if I use in my context. So it seems to me it isn't possible to use a resource defined in unless I permit the use with a in the context or the engine. Is this right?? Because I didn't find a sentenc

Re: jsp page with enctype="MULTIPART/FORM-DATA"

2003-12-10 Thread Ben Souther
If that's the one that you're going to use, yes. Read the documentation for that project. On Wednesday 10 December 2003 05:26 pm, FTP Admin wrote: > Thanks for your reply. > > I supose that you mean the following: > > org.apache.commons.fileupload.MultipartStream > > concerning the apache file-up

Re: jsp page with enctype="MULTIPART/FORM-DATA"

2003-12-10 Thread FTP Admin
Thanks for your reply. I supose that you mean the following: org.apache.commons.fileupload.MultipartStream concerning the apache file-upload library? Ben Souther wrote: It sends them. You'll need to read the documentation for the libraries that you are using (O'Reilly, ASF, etc..) to learn how

Re: jsp page with enctype="MULTIPART/FORM-DATA"

2003-12-10 Thread Ben Souther
It sends them. You'll need to read the documentation for the libraries that you are using (O'Reilly, ASF, etc..) to learn how to retrieve them. On Wednesday 10 December 2003 04:40 pm, FTP Admin wrote: > Kilic, Hakan wrote: > > Sorry, I'm using the FTP account. My name is Nick! > > So, there i

RE: IIS redirector works first time then fails

2003-12-10 Thread Januski, Ken
Just to confirm that I'm not hallucinating I checked to make sure that uriworkermap.properties said "/examples/*=ajp13". Then I restarted both Tomcat and IIS. The HelloWorldExample in servlets worked. So I hit refresh. Same problem: Page cannot be found. -Original Message- From: Januski,

Re: jsp page with enctype="MULTIPART/FORM-DATA"

2003-12-10 Thread FTP Admin
Kilic, Hakan wrote: Sorry, I'm using the FTP account. My name is Nick! So, there is no way to get these values with another method? This means that multipart/form-data doesn't send them at all? I actually did intend to use the apache file-upload and got into this problem cause multipart/form-d

RE: jsp page with enctype="MULTIPART/FORM-DATA"

2003-12-10 Thread Kilic, Hakan
Hi FTP (nice name), multipart/form-data doesn't send the value as query string parameters (not a normal post such as application/url-encoded). You can't just do a request.getParameter("someparameter") for a multipart/form-data POST. Try checking out various file upload libraries (oreilly.com has

RE: Uninstalling Tomcat

2003-12-10 Thread Luc Foisy
Can't say I am sure as to what the tomcat.conf file is for myself, so I can't advise you on it. What we did was create a shell script in /etc/init.d (which is mirrored in /etc/rc.d/init.d automatically I belive) Then created symbolic links in each of the runtime levels where tomcat would start o

IIS redirector works first time then fails

2003-12-10 Thread Januski, Ken
Hi, This error originally started on ArcIMS 4.01 with Tomcat 4.112 and IIS 5.0. But I now realize that it affects all servlets not just those used with ArcIMS. Though all attempts to myServer:8080 work fine attempts to myServer work once at most. After that they give a 404 error. So the example fi

jsp page with enctype="MULTIPART/FORM-DATA"

2003-12-10 Thread FTP Admin
Hi, Hi there, when I add the following: enctype="MULTIPART/FORM-DATA" in a FORM element in a jsp page, then the values of the FORM parameters doesn't get propagated to the action servelet The servlet receives nulls only!!! If i skip the enctype="MULTIPART/FORM-DATA" in the FORM, everythin

Re: Tomcat 5.0.16 : manager-app access

2003-12-10 Thread Adam Hardy
On 12/10/2003 05:49 PM Dirk Griesbach wrote: hello folks, a question on datasource realms and the manager app: When I installed TC 5.0.16 'out-of-the-box' I could start the manager-app. Then I deployed our webapp (manually), configured a DataSourceRealm using mysql for authentification, configur

Re: Tomcat 5 and oracle

2003-12-10 Thread Paul
i have tomcat4 running with Oracle8i with jdk1.4. Because it is jdk 1.4, need to use the oracle9i drivers to access the oracle8i db. I use the following two drivers, obtained from Oracle, which work fine: ojdbc14.jar ocrs12.jar i think your problem is more likely to do with server.xml, placeme

RE: Uninstalling Tomcat

2003-12-10 Thread Nadia Kunkov
I have Tomcat 4.1.29 and there is nothing in /etc/rc.d/init.d/ or /etc/init.d/ All I have is catalina.sh and startup.sh in $TOMCAT_HOME/bin. What should I put in the above directories? A shell script? Which one or what kind of script should I wright? In both of those directories or just one? A

RE: Memory Use Creeping Up In Steady-State

2003-12-10 Thread Shapira, Yoav
Howdy, >I was mistaken--the increase is actually about 1-2KB/s. I arrive at >this by "eyeballing" the graph (which is updated once a second). Still >seems rather high, though. Eyeballing is not exactly a precise measure. If there's any way to come up with an accurate measurement, e.g. by addi

RE: Memory Use Creeping Up In Steady-State

2003-12-10 Thread Dhruva B. Reddy
I was mistaken--the increase is actually about 1-2KB/s. I arrive at this by "eyeballing" the graph (which is updated once a second). Still seems rather high, though. I'm not sure I understand your question, Yoav. When I say steady-state, I mean that Tomcat is running, all applications have init

RE: Uninstalling Tomcat

2003-12-10 Thread Luc Foisy
Check to see if you have a runtime call for that tomcat instance. Make sure it works from the command line first. Make sure all environment variables needed have been set. Check the tomcat logs. Does this particular tomcat install automatically create something in the runtime area (/etc/rc.d/init

RE: Uninstalling Tomcat

2003-12-10 Thread Nadia Kunkov
Thanks for all your thoughts! Now, Tomcat doesn't start at boot time anymore after I upgraded my JDK and Tomcat. How can I fix it? Thanks in advance. N.K. -Original Message- From: Luc Foisy [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 10, 2003 3:02 PM To: Tomcat Users List Subje

RE: Uninstalling Tomcat

2003-12-10 Thread Luc Foisy
could use find / -name "tomcat*" that will show where tomcat has been installed (including the one you know about and the one you don't) if you want to see if it was installed with an rpm from there you could use rpm -qf /[path to unknown tomcat install]/[some file in that tomcat install] If n

Re: Running tomcat on Solaris. Stops when exiting the console

2003-12-10 Thread Bill Barker
Tomcat is still in the same session as your console. You should be ok if you use 'csh' or if you 'nohup' the process. A service launcher like jsvc (which ships with TC 5) can also help. - Original Message - From: "Donie Kelly" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECT

possible to configure JDO PersistenceManagerFactory via JNDI in Tomcat?

2003-12-10 Thread Jacob Kjome
I'm wondering if anyone has configured a javax.jdo.PersistenceManagerFactory binding to JNDI in Tomcat? Is it possible? Eg. Something like this... factory kodo.jdbc.runtime.JDBCPersistenceManagerFactory ... ... ...

Re: Uninstalling Tomcat

2003-12-10 Thread Ben Souther
Try querying the rpm database to see if it's in there. I think you need to be root. rpm -qa | grep tomcat If it is you can use rpm -e PACKAGE_NAME to remove it. On Wednesday 10 December 2003 02:27 pm, Nadia Kunkov wrote: > It was not installed by me and I don't seem to find an rpm Most

RE: Uninstalling Tomcat

2003-12-10 Thread Nadia Kunkov
It was not installed by me and I don't seem to find an rpm Most likely it was an RPM, though. I have installed a new version of Tomcat to a new location and need to get rid of the old one. Also, I set up Java_home in ~/.bashrc file and even after I dot execute it I get a message that Java

Re: Uninstalling Tomcat

2003-12-10 Thread Ben Souther
How did you install it? On Wednesday 10 December 2003 02:16 pm, Nadia Kunkov wrote: > HI, > > Sorry for a stupid question. Just wanted to make sure that to uninstall > Tomcat all I have to do is to delete the directory where it's installed. > Is that right or there are other steps? > > Thanks >

Uninstalling Tomcat

2003-12-10 Thread Nadia Kunkov
HI, Sorry for a stupid question. Just wanted to make sure that to uninstall Tomcat all I have to do is to delete the directory where it's installed. Is that right or there are other steps? Thanks N.K. - To unsubscribe, e-m

Re: question on manager application

2003-12-10 Thread Rhino
I'm not sure I understand your question. I deploy WAR files regularly to a remote Tomcat4 and it's very easy: 1. Go to the Manager application in your remote Tomcat. 2. If there is already an old version of the servlet on your remote Tomcat, remove the old version of the servlet using the Remove c

Re: Access Apache server variables from Tomcat code?

2003-12-10 Thread Tim Funk
But you must also configure the to allow the REMOTE_USER variable to be accepted from apache. (tomcatAuthentication="false") -Tim Shapira, Yoav wrote: Howdy, How about request.getRemoteUser() ? ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: William R Briggs [mail

RE: Can large upload cause tomcat hanging?

2003-12-10 Thread Koes, Derrick
If the file is in memory, then that might explain the memory expansion. Try increasing tomcat startup memory parameters. Also, you should look at how the file data is being handled, i.e. is it all in memory at once? -Original Message- From: Zsolt Koppany [mailto:[EMAIL PROTECTED] Sen

RE: Can large upload cause tomcat hanging?

2003-12-10 Thread Shapira, Yoav
Howdy, The most likely reason is that java ran out of memory. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Zsolt Koppany [mailto:[EMAIL PROTECTED] >Sent: Wednesday, December 10, 2003 1:58 PM >To: Tomcat Users List >Subject: Can large upload cause tomcat hanging? >

Can large upload cause tomcat hanging?

2003-12-10 Thread Zsolt Koppany
Hi, I uploaded a 70Mb file using struts-1.1. The JVM process (jre-1.2.4_02, Linux, SuSe-8.1) got much larger and a couple of hours later tomcat didn't react to the most of the events. What can be the reason? Additionally I found strange the tomcat didn't create the localhost_log... files since the

RE: Tomcat 5 and oracle

2003-12-10 Thread Koes, Derrick
I assume you've checked the state of the ds object. Is it valid after you've gotten it from the lookup? In other words cast down to an Object and perform getClass, etc. to determine it is a valid object. If it's not chances are your XML configuration is not good (server.xml or web.xml). Upon f

Can large upload cause tomcat hanging?

2003-12-10 Thread Zsolt Koppany
Hi, I uploaded a 70Mb file using struts-1.1. The JVM process (jre-1.2.4_02, Linux, SuSe-8.1) got much larger and a couple of hours later tomcat didn't react to the most of the events. What can be the reason? Additionally I found strange the tomcat didn't create the localhost_log... files since the

Re: Access Apache server variables from Tomcat code?

2003-12-10 Thread Jacob Kjome
request.getRemoteUser(); Jake Quoting William R Briggs <[EMAIL PROTECTED]>: > Hi all, > > A somewhat random question that I have been unable to find the answer to - > I have a setup using Tomcat 5.0.16 w/ Apache 1.3.28. I am using a custom > Apache module that is internal to my company in ord

RE: Access Apache server variables from Tomcat code?

2003-12-10 Thread Shapira, Yoav
Howdy, How about request.getRemoteUser() ? ;) Yoav Shapira Millennium ChemInformatics >-Original Message- >From: William R Briggs [mailto:[EMAIL PROTECTED] >Sent: Wednesday, December 10, 2003 1:41 PM >To: [EMAIL PROTECTED] >Subject: Access Apache server variables from Tomcat code? > >Hi

Access Apache server variables from Tomcat code?

2003-12-10 Thread William R Briggs
Hi all, A somewhat random question that I have been unable to find the answer to - I have a setup using Tomcat 5.0.16 w/ Apache 1.3.28. I am using a custom Apache module that is internal to my company in order to perform user authentication. This module exports certain values into the server

question on manager application

2003-12-10 Thread T C K
I am in need to deploy a WAR file to a remote Tomcat4 and need to have the WAR file expanded. Any pointers as to what the URL to the manager app would look like (i.e the 'war' parameter - btw, what's the difference between file:/.../foo.war and jar:file:/.../foo.war!/ ???) and to expand the archiv

RE: Tomcat 5 and oracle

2003-12-10 Thread Ryan Golhar
You shouldn't have to rename it. There is a classes12.jar file in \oracle\ora92\jdbc\lib Make sure you have a resource link and environment entry set up correctly...that's where I had the most trouble... Ryan -Original Message- From: Jonathan Drnek [mailto:[EMAIL PROTECTED] Sent: Wedne

java.lang.IllegalStateException

2003-12-10 Thread Luc Foisy
What would cause this error? 2003-12-10 09:52:18 HttpProcessor[8080][1] process.invoke java.lang.IllegalStateException: Current state = FLUSHED, new state = CODING_END at java.nio.charset.CharsetEncoder.throwIllegalStateException(CharsetEncoder.java:933) at java.nio.charset.Chars

RE: Tomcat 5 and oracle

2003-12-10 Thread Jonathan Drnek
Classes12.zip didn't work either, even after I renamed it to classes12.jar Actually, DataSource ds = (DataSource)envContext.lookup("jdbc/ordt"); Connection conn = ds.getConnection(); Still didn't work and DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver()); Connection conn =

RE: Tomcat 5 and oracle

2003-12-10 Thread Koes, Derrick
I'm not 100% certain, but does Oracle even offer an 8.1.7/JDK 1.4 ojdbc14.jar file? I think it is only offered for 9.2. You are stuck with classes12.zip. I would try that. The common/lib directory is the correct place. http://otn.oracle.com/software/tech/java/sqlj_jdbc/htdocs/jdbc817.html

RE: Tomcat 5 and oracle

2003-12-10 Thread Asif Chowdhary
Deploy these two files in share/common/lib directory oracle-8.1.7nls_charset12.jar oracle-8.1.7classes12.jar -Original Message- From: John Sidney-Woollett [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 10, 2003 12:25 PM To: Jonathan Drnek Cc: [EMAIL PROTECTED] Subject: Re: Tomcat 5 a

Re: Tomcat 5 and oracle

2003-12-10 Thread John Sidney-Woollett
Try using the thin driver - it's jar file is classes12.jar Place it in [TOMCAT_HOME]/common/lib John Sidney-Woollett Jonathan Drnek said: > I am having a problem setting up a data source in tomcat. I seem to > remember having this problem last time I played with it several moths > ago but I don

Re: Manager context reload behavior difference in TC 5 vs 4

2003-12-10 Thread David Rees
Remy Maucherat wrote: David Rees wrote: When reloading an app in TC 4 with the Manager app, it had the nice behavior of blocking any new requests until the app was reloaded. TC 5 seems to return blank pages while a context is reloading. The behavior of TC 4 is preferred since that way if someo

Re: How to bind to multiple IP addresses?

2003-12-10 Thread Tim Funk
You *should* (not that i've tried) be able to use multiple connectors. For example, binding to 3 different rfc1918 addresses: -Tim Ryan Golhar wrote: If been searching around for this and can't seem to find the answer. I know the Coyote connecter can bind to a particular address

Re: JK2 and IIS 4.0 performance issue

2003-12-10 Thread Cunningham Emmett
I have been using Tomcat 4 with JK2 connecting to IIS on Win2K and have had little or no performance loss when compared to using iPlanet. There is a small hit when compared to accessing Tomcat directly. But that is a *small* hit. One developer I know has also been using XP to support this configu

RE: very basic winNT question

2003-12-10 Thread Edson Alves Pereira
My file system is NTFS > -- > De: Ostad, James[SMTP:[EMAIL PROTECTED] > Responder:Tomcat Users List > Enviada: quarta-feira, 10 de dezembro de 2003 14:11 > Para: Tomcat Users List > Assunto: RE: very basic winNT question > > just curious, is it a FAT instal

How to bind to multiple IP addresses?

2003-12-10 Thread Ryan Golhar
If been searching around for this and can't seem to find the answer. I know the Coyote connecter can bind to a particular address, but if I need it to bind to more than one IP address (but not all), how can I specify multiple IP addresses? I tried adding multiple connectors, but that didn't work.

RE: very basic winNT question

2003-12-10 Thread Ostad, James
just curious, is it a FAT installation or NTFS? -Original Message- From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 10, 2003 12:49 PM To: 'Tomcat-User List' Subject: very basic winNT question Hello folks, i know, this a list for Java and Tomcat, but i

Re: To the list administrator.

2003-12-10 Thread Graham Reeds
I tried emailing my home address earlier and no message from Autoresponder. I then tried emailing my other works account. That too doesn't provoke a response. Only emailing the mailing list using this account causes autoresponder to send a message. G. --

RE: To the list administrator.

2003-12-10 Thread Giuliano Gavazzi
Yoav, I am the one affected by emails involving the address [EMAIL PROTECTED] and I can say for sure that there are no viruses, trojans or what else on my network... I incorrectly reported only the [EMAIL PROTECTED] address though, that is only the envelope sender of the Symantec bounces. The

RE: mapping different JKMounts to same Tomcat context

2003-12-10 Thread Vijay Kandy
Thank you but the doc doesnt describe mapping to same context. If I have one worker per Tomcat instance, they work fine e.g: JKMount /abc/* WORKER1 JKMount /xyz/* WORKER2 where WORKER1 and WORKER2 are two different instances - this setup works fine. But I would like to do: JKMount /abc/* WORKE

very basic winNT question

2003-12-10 Thread Edson Alves Pereira
Hello folks, i know, this a list for Java and Tomcat, but i´m facing a problem that is a P.A., does anybody here know how can i change winNT command line limit? That´s ´cause my CLASSPATH grew bigger and now my Java tools are complaining about it. Regards, Edson

Tomcat 5.0.16 : manager-app access

2003-12-10 Thread Dirk Griesbach
hello folks, a question on datasource realms and the manager app: When I installed TC 5.0.16 'out-of-the-box' I could start the manager-app. Then I deployed our webapp (manually), configured a DataSourceRealm using mysql for authentification, configured SSL, form based LogIn and ... the webapp w

RE: mapping different JKMounts to same Tomcat context

2003-12-10 Thread Michael Cardon
You can look at my HOW-TO file at http://www.cardon.biz/docs/tomcat/ and see if this helps you... -Original Message- From: Vijay Kandy [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 10, 2003 8:35 AM To: 'Tomcat Users List' Subject: mapping different JKMounts to same Tomcat context

Re: servlet-mapping like mod_rewrite?

2003-12-10 Thread David Evans
req.getRequestDispatcher("path/To/servlet") On Wed, 2003-12-10 at 10:46, Marten Lehmann wrote: > Hello, > > > What about using one centralized servlet that parses > > req.getPathInfo(), sets the language as request attribute > > and forwards to the real servlet(s) ? > > how is a request-forwar

mapping different JKMounts to same Tomcat context

2003-12-10 Thread Vijay Kandy
Hello all, I am not able to find a solution in the archives to my issue. I would like to mount different requests to the same context in Tomcat e.g: Lets say I have a context called /test in Tomcat (v4.1.27) I would like to map requests starting with www.abc.net/foo to /test www.abc.net/bar to /

Re: XSL-T migration stylesheet [was: RE: TC5 + SSL: Keystore password bound to default "changeit"?]

2003-12-10 Thread Jeanfrancois Arcand
Baer Peter Christoph Alexander wrote: Hi Jeanfrancois, not that I want to deny my responsibility. If I felt being able to do one of the patches, I would not hesitate. I wouldn't post my thoughts here, but the ready-made patches instead, of course. ;-) But: I think the only persons who really ha

Re: strange output in localhost_log

2003-12-10 Thread Jeanfrancois Arcand
Luc Foisy wrote: It wasn't actually the exception I was concerned about. It was the fact that it appears that tomcat is shuting down (is that what it looks like?) when its completely not expected to. Are you running with a security manager? Tomcat die or shutdown properly? As well I was conc

RE: LifecycleException

2003-12-10 Thread Jeremy Whitlock
I had this same problem yesterday and it was because the manager.xml file was looking in the wrong directory for "webapps" and once I modified it to work properly, manager loaded and I didn't get the LifecycleException error. There should be another error before the LifecycleException to tell you

RE: servlet-mapping like mod_rewrite?

2003-12-10 Thread Ralph Einfeldt
Sorry not much time, try searching for request dispatcher and forward > -Original Message- > From: Marten Lehmann [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 10, 2003 4:46 PM > To: Tomcat Users List > Subject: Re: servlet-mapping like mod_rewrite? > > > Hello, > > > What about

AW: Tomcat 5 and oracle

2003-12-10 Thread Ullrich, Ralf
have you tried with classes111.jar instead? cheers, ralf -Ursprüngliche Nachricht- Von: Jonathan Drnek [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 10. Dezember 2003 16:59 An: Tomcat Users List Betreff: RE: Tomcat 5 and oracle I'm not sure how that got removed, but I put it back in an

RE: Tomcat 5 and oracle

2003-12-10 Thread Jonathan Drnek
I'm not sure how that got removed, but I put it back in and it did not help. I can do the following: DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver()); Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@holl302h:1521:ORDT","ordl ine","junk"); So I assume that I

Re: servlet-mapping like mod_rewrite?

2003-12-10 Thread Marten Lehmann
Hello, Have a session variable that tracks what language they're using. I'm not looking for a different solution, but one, that solves my question. I definitely cannot do anything else than the /de/ or /en/ thing. Regards Marten ---

RE: linux user

2003-12-10 Thread Shapira, Yoav
Howdy, The server user executes the command. If you want to do fancier stuff, look at java.security.AccessController#doPrivileged methods. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] >Sent: Wednesday, December 10, 2003

Re: servlet-mapping like mod_rewrite?

2003-12-10 Thread Marten Lehmann
Hello, What about using one centralized servlet that parses req.getPathInfo(), sets the language as request attribute and forwards to the real servlet(s) ? how is a request-forwarding done? Regards Marten - To unsubscribe, e-mail

RE: To the list administrator.

2003-12-10 Thread Shapira, Yoav
Howdy, This list is automatic and moderated. I approve/reject messages from people not on the list who try to send to the list. The two cases you cite are not affecting anyone except you -- it's more likely to be spam viruses on your local machine or network. Yoav Shapira Millennium ChemInforma

Re: To the list administrator.

2003-12-10 Thread Graham Reeds
I think that this list is automatic. In the the event that it isn't have a check to see if radgametools autoresponder is and why it is that only I get the email. This address is used solely for the purpose of the mailing list. I don't get anything off administrator2ATledsDOTcom but then again pe

linux user

2003-12-10 Thread alberto . savoini
I 've installed Tomcat 4.1 on a linux ( redhat 8 ) machine and I need to run unix commands and scripts using jsp/java : I use , for example, Runtime.getRuntime().exec( command ) where command is a script or a linux command. Which user executes the command and may I change it ? Thank you, Alb

Re: To the list administrator.

2003-12-10 Thread Ben Souther
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Look on the bottom of any of the list email messages. On Wednesday 10 December 2003 10:35 am, Giuliano Gavazzi wrote: > Please remove [EMAIL PROTECTED] from the subscribers. > > Sorry, but I cannot fin

RE: To the list administrator.

2003-12-10 Thread Stuart Stephen
You can do this yourself easily by reading the footer of every email on the list. I quote: "-" "To unsubscribe, e-mail: [EMAIL PROTECTED] " "For additional commands, e-mail: [EMAIL PROTECTED] " -Original Message- From:

request.getUserprincipal() and my custom Principal

2003-12-10 Thread Hamidene, Anis Ben
Hi, I am using JBoss 3.2.1 with Tomcat 4. I am developping a secure web-application based on JAAS. The problem is that I want to use my own custom Principal. I made the necessary changes in JBoss and EJBContext.getUserprincopal delivers the right Implementation. But when I call request.getUserpri

To the list administrator.

2003-12-10 Thread Giuliano Gavazzi
Please remove [EMAIL PROTECTED] from the subscribers. Sorry, but I cannot find the admin address. Thanks Giuliano -- H U M P H || ||| software Java & C++ Server/Client/Human Interface applications on MacOS - MacOS X http://www.humph.com/ --

RE: changing the manager password

2003-12-10 Thread Luc Foisy
thanks :) -Original Message- From: Sleeper, Jesse [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 10, 2003 10:22 AM To: Tomcat Users List Subject: RE: changing the manager password You can modify roles and passwords with the admin module in Tomcat: http://localhost:8080/admin Jeste

RE: Like..

2003-12-10 Thread Patrick Ale
Nope! I didnt get any bounces or whatsoever :-) My thought is that someone has setup a anti-spam server which automaticly forwards spam to spamcop or something. Which isnt very cool when you're on a high-trafic mailing list. Patrick Ale System administrator Freeler B.V Email: [EMAIL PROTECTED]

RE:THANKS: getting j_username from form

2003-12-10 Thread Ostad, James
I want to wish you and the rest of the crew on this list a very merry Christmas. I don't think I would have finished my project without your helps. thank, James -Original Message- From: Andoni [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 10, 2003 10:25 AM To: Tomcat Users List Sub

RE: Like..

2003-12-10 Thread Giuliano Gavazzi
Have you also received something like: (I wonder if there is some idiotic redirection set up by somebody) Return-path: <[EMAIL PROTECTED]> Envelope-to: my address Delivery-date: Wed, 10 Dec 2003 12:39:53 + Received: from exch.leadingedgedesign.com ([64.80.178.148] helo=ledspo3.leadingedge.le

RE: Tomcat 5 and oracle

2003-12-10 Thread Knight, Digby
You may need the following in your server.xml ResourceParams: factory org.apache.commons.dbcp.BasicDataSourceFactory It's described in more detail in: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-how to.html

RE: changing the manager password

2003-12-10 Thread Sleeper, Jesse
You can modify roles and passwords with the admin module in Tomcat: http://localhost:8080/admin Jester -Original Message- From: Luc Foisy [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 10, 2003 9:55 AM To: Tomcat User List (E-mail) Subject: changing the manager password Any way t

Vedr.: Re: Tomcat 5: Public JRE nessecary?

2003-12-10 Thread Thomas Nybro Bolding
Yes set that to D:\APP\j2sdk1.4.2_03 where the SDK resides... Thx for the reply btw. /Thomas Ben Souther <[EMAIL PROTECTED]> 10-12-03 16:22 Besvar venligst til "Tomcat Users List" Til:"Tomcat Users List" <[EMAIL PROTECTED]> cc: Vedr.: Re: Tomcat 5: Public JRE

Re: Tomcat 5: Public JRE nessecary?

2003-12-10 Thread Ben Souther
Is your JAVA_HOME evironment variable pointing to the j2sdk? On Wednesday 10 December 2003 10:15 am, Thomas Nybro Bolding wrote: > Having played around with Tomcat 5 recently I discovered it apparently > used the jvm.dll installed as part of the public JRE. > I uninstalled the public JRE (leaving

Re: getting j_username from form

2003-12-10 Thread Andoni
try String loginfo = (String)req.getRemoteUser(); Andoni. - Original Message - From: "Ostad, James" <[EMAIL PROTECTED]> To: "Tom (E-mail)" <[EMAIL PROTECTED]> Sent: Wednesday, December 10, 2003 3:01 PM Subject: getting j_username from form I am trying to get the j_username from the f

Tomcat 5: Public JRE nessecary?

2003-12-10 Thread Thomas Nybro Bolding
Having played around with Tomcat 5 recently I discovered it apparently used the jvm.dll installed as part of the public JRE. I uninstalled the public JRE (leaving the SDK including its JRE intact) and learned Tomcat would neither start nor was configurable. I tried various setting in the Windows

RE: Default context for web app

2003-12-10 Thread Shapira, Yoav
Howdy, Don't worry about getting me exasperated -- the first "how do I increase heap memory" or "I can't log into the manager webapp" or "can I share sessions between webapps" question of the week, usually promptly delivered by 9am Monday morning, already takes care of my overly idealistic hopes f

Re: Default context for web app

2003-12-10 Thread Adam Hardy
At risk of getting you totally exasperated :0 , I beg to differ. If I have no context entries in server.xml or in CATALINA_HOME/conf/Catalina/localhost then whatever is in ROOT becomes the root context. On 12/10/2003 03:09 PM Shapira, Yoav wrote: Howdy, It's deployed twice if you also have auto

  1   2   >