client disconnect

2004-06-16 Thread Dorel Vaida
Yoav, I understand that the spec says that the container may throw an exception at client disconnection. I understand it and I will cope with that. Wat was unbelievable to me was that even when the other side of the stream is clearly closed you can still write in it and flush it without it

RE: RE: Please introduce a good Tomcat debug tool

2004-06-16 Thread Mariano
NetBeans is also a good IDE for Tomcat 5.0.x development Regards. Mariano López -Mensaje original- De: deepak shripat mane [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 16 de junio de 2004 6:26 Para: Tomcat Users List Asunto: Re: RE: Please introduce a good Tomcat debug tool  

How can I access a file located in WEB-INF

2004-06-16 Thread STOCKHOLM, Raymond
Hi, I need to access a file located in the directory WEB-INF of my web application. In fact, in WEB-INF/conf. How can I open this file in one of my servlet ? Any advise is welcome. - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: high server load

2004-06-16 Thread Jouko Johansson
I configured the fork-setting to true and the load went down from 10 to 1.5 so the configuration helped a lot. Also the server availibility was enhanced. Is there still another configuration parameter which could decrease the load under 1.0 or do we need to buy better hardware ;) So thank you

Re: Setting JAVA_HOME and CATALINA_HOME on XP

2004-06-16 Thread Jason L. West, Sr.
On WinXP you will want to set these in the Environment Variables located under properties of My Computer. You can get there by right clicking on the My Computer icon and selecting properties. When the new window comes up click on the Advance tab and then select the Environment Variables

Re: Setting JAVA_HOME and CATALINA_HOME on XP

2004-06-16 Thread deepak shripat mane
  Hi.. For setting CATALINA_HOME and JAVA_HOME For windows-98 u can open autoexec.bat file for Windows XP/2000 go to control panel select System then select Advanced then select Environment variables u can set JAVA_HOME=installation directory CATALINA_HOME=tomcat installation path Deepak

Re: How can I access a file located in WEB-INF

2004-06-16 Thread deepak shripat mane
  u can define path variable into web.xml file and u can call this path variable into ur servlet file. Deepak On Wed, 16 Jun 2004 STOCKHOLM,Raymond wrote : Hi, I need to access a file located in the directory WEB-INF of my web application. In fact, in WEB-INF/conf. How can I open this file

Embed Tomcat Question

2004-06-16 Thread mzoom
Can an existing web app which use listener and filter etc, be deployed without any changes in a new embedded tomcat enviroment? I'm having troubles with the new embedded tomcat environment. Any guidance? - To unsubscribe,

RE: Apache, tomcat and ajp13

2004-06-16 Thread Sez
I put i httpd.conf this: LocationMatch ^/doc Allow from all /LocationMatch Alias /doc /usr/local/apache2/htdocs Directory usr/local/apache2/htdocs allow from all /Directory LocationMatch (?!^/doc) JkUriSet worker ajp13:localhost:8009 /LocationMatch But, all request go

Error in Building JK2 on HP-UX 11.22/23

2004-06-16 Thread Yuvaraj AP
Hi, Im building Apache and JK2 on multiple platform. I have built successfully on HP-UX11.0, Solaris 8, Debian Linux and Windows. :) However, I'm not able to compile jk2 connector on HP-UX 11.22 itanium. Any one built on HP-UX 11.22? Here is the make output of JK2 Thanks and Regards,

Too many open files on Solaris

2004-06-16 Thread Davor Cengija
My application is hitting that 'too many open files' limit on Solaris. Jun 15, 2004 11:23:01 AM org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocket SEVERE: Endpoint ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8080] ignored exception: java.net.SocketException: Too many open files

JK2: lb_factor

2004-06-16 Thread Weseloh, Nicole
Hello, I've got a cluster with 2 tomcat 2.0.25 on different machines, on one of them also running Apache 2.0.49 with JK2 as a loadbalancer. Requests get redirected to both tomcat instances, but it always ends up with around 1/3 of all requests at the local server and about 2/3 at the remote one,

RE: JK2: lb_factor

2004-06-16 Thread Ralph Einfeldt
The quality of the distribution depends on the worker type of apache. (AFAIK only the 'worker' MPM will work) Nevertheless AFAIK the load balancing in mod_jk is not complete in this area, so I'm not shure if you will get the desired distribution (but it should be closer). -Original

RE: Too many open files on Solaris

2004-06-16 Thread HasanA
I am having similar problem and i am running Tomcat 4.0 on Open vms 7.2. We have increased number of files open by a process to some ridiculous value but this error is still comming up. Can someone also help with this issue? Thanks Ajwat -Original Message- From: Davor Cengija

[OT] Problem unzipping files in servlet with german umlauts in filenames of zipentries.

2004-06-16 Thread Martin Grueneberg
Hello, I hope somebody can help me with this problem. I have a servlet in my application which unzips a uploaded zip archive and stores the contained files. This works fine until the filename of a zipentry contains german umlauts. For example in a zipfile a.zip is an entry äöü.txt. When i get

Apache and Tomcat - Apache.exe application error

2004-06-16 Thread Carl Olivier
Greetings. I am having a problem with Apache 2.0.49 causing an Application Error on Windows. I know this is the tomcat list - but the issue ony crops up when using mod_jk2 with Tomcat - so I am posting here in case anyone has any ideas?! I have also posted a bug report on the HTTPD bugzilla. I

Re: Parameters and where is log

2004-06-16 Thread Asim Ghosh
hello, this is reply to your second query. U have to use Logger tag in server.xml and in code ServletContext context; context.log(); Asim Ghosh Gabi [EMAIL PROTECTED] wrote: Trying to pass from resin to apache, in resin Coonection='jdbc:bla bla...'/ I've put the equivalent in

VIRUS ALERT (mailhub esterni)

2004-06-16 Thread antivirus
ISS Mail Filter (C) 2003 WARNING: VIRUS FOUND IN MESSAGE Subject:Re: documento From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] File: message/documento.pif Virus: [EMAIL PROTECTED] ID: 39580 Date:

Order of WebApp Loading

2004-06-16 Thread Surendra Kumar
Hi Everybody I am using Tomcat 4.1.29 and i have several webapps in my application. I want to set one webapp to load first and the rest of the webapps should be loaded after it. I have tried changing the order in server.xml, but it didn'y help. Is

RE: Parameters and where is log

2004-06-16 Thread Gabi
I've put the context with his own Logger, I can see all the info of this host here, and in the JavaBean code I've put ServletContext context; context=session.getServletContext(); context.log(test message!!!); But I don't see this message in the log. And, there is a global way I can

RE: Configuring JNDI for tomcat

2004-06-16 Thread Dave Bender
Sounds like nothing's running on localhost port 1099. I'm not a Tomcat expert so I don't know if Tomcat is supposed to be exposing its Naming Service on that port. If it is, it isn't there. Dave -Original Message- From: Russ Leong [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 15,

Re: IllegalArgumentException in jsp:forward

2004-06-16 Thread Tim Funk
Use your stack trace. Its being caused by: Root cause: servlets._0002fservlets_0002fshowClientSubmissions_0002ejspshowClientSub missions_jsp_0._jspService(_0002fservlets_0002fshowClientSubmissions_000 2ejspshowClientSubmissions_jsp_0.java:440) In your work directory, look for

Re: How can I access a file located in WEB-INF

2004-06-16 Thread Tim Funk
FAQ http://jakarta.apache.org/tomcat/faq/misc.html#getResourceAsStream -Tim STOCKHOLM, Raymond wrote: Hi, I need to access a file located in the directory WEB-INF of my web application. In fact, in WEB-INF/conf. How can I open this file in one of my servlet ?

RE: How can I access a file located in WEB-INF

2004-06-16 Thread STOCKHOLM, Raymond
Thanks -Message d'origine- De : Tim Funk [mailto:[EMAIL PROTECTED] Envoyé : mercredi 16 juin 2004 13:24 À : Tomcat Users List Objet : Re: How can I access a file located in WEB-INF FAQ http://jakarta.apache.org/tomcat/faq/misc.html#getResourceAsStream -Tim STOCKHOLM, Raymond wrote:

Re: Form data validation

2004-06-16 Thread Keith Hankin
Then can you tell me what is the proper mailing list to ask the question? - Original Message - From: Woodchuck [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, June 15, 2004 5:51 PM Subject: Re: Form data validation wrong mailing list to be asking this ---

RE: Parameters and where is log

2004-06-16 Thread Asim Ghosh
http://jakarta.apache.org/tomcat/faq/misc.html#catalina.out Where does System.out go? How do I rotate catalina.out? Gabi [EMAIL PROTECTED] wrote:I've put the context with his own Logger, I can see all the info of this host here, and in the JavaBean code I've put ServletContext context;

Re: Please introduce a good Tomcat debug tool

2004-06-16 Thread Giuseppe Briotti
== Date: Tue, 15 Jun 2004 12:12:41 -0700 From: Daxin Zuo [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Please introduce a good Tomcat debug tool == I currently run Tomcat 4.1.9 (without apache) to run JSP and ervlet.

RE: Parameters and where is log

2004-06-16 Thread Gabi
That's what I've done, I've created a Context path=... docBase=... Logger className=org.apache.catalina.logger.FileLogger prefix=web_log. suffix=.txt timestamp=true/ I see all the webapp output in web_log file, but not the message from the applicacion, where I use the lines: ServletContext

AW: JK2: lb_factor

2004-06-16 Thread Weseloh, Nicole
Hello Ralph, could you please explain what you mean by that? My Apache has got the following (default?) modules: snip Compiled in modules: core.c mod_win32.c mpm_winnt.c http_core.c mod_so.c /snip So - do I need to use the mpm_worker_module instead of mpm_winnt? (OS of the server is

Re: Too many open files on Solaris

2004-06-16 Thread QM
On Wed, Jun 16, 2004 at 10:59:12AM +0200, Davor Cengija wrote: : My application is hitting that 'too many open files' limit on Solaris. [I just left this line in for the archives/searching. Read on] : but my system administrator simply doesn't want to do that (since it : requires restart).

Re: Order of WebApp Loading

2004-06-16 Thread QM
Please create a *new* message when mailing the list. Responding to an unrelated message makes it difficult to follow the list with a thread-aware mailer. : I am using Tomcat 4.1.29 and i have several webapps in my : application. I want to set one webapp to : load first

RE: JK2: lb_factor

2004-06-16 Thread Ralph Einfeldt
Hi Nicole, I guess it's the mpm_worker_module, that you need. Yes, I was talking about mod_jk2. I guess that it is possible to enable a worker by configuration. (After all they are just modules) Sorry, as I'm neither using apache 2 nor mod_jk*, I can't add much. That was just third hand

RE: Too many open files on Solaris

2004-06-16 Thread Andy Eastham
The first thing that came up in Google was this, which might help: http://support.bea.com/support_news/product_troubleshooting/Too_Many_Open_Fi les_Pattern.html Andy -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Davor Cengija Sent: 16 June 2004 09:59 To:

Anyone have the complied mod_jk for AIX 4.3.3???

2004-06-16 Thread Robert T Donnelly
Hello, we are running Apache 1.3.19.3 and Tomcat 3.2.4 on AIX 4.3.3. We are have trouble compiling the mod_jk and were wondering if anyone already has this compiled and can send the file?? Thanks! -Bob - To unsubscribe,

Re: Too many open files on Solaris

2004-06-16 Thread James Black
HasanA wrote: I am having similar problem and i am running Tomcat 4.0 on Open vms 7.2. We have increased number of files open by a process to some ridiculous value but this error is still comming up. Can someone also help with this issue? If you are opening up database connections or files on

Re: Too many open files on Solaris

2004-06-16 Thread Davor Cengija
QM wrote: On Wed, Jun 16, 2004 at 10:59:12AM +0200, Davor Cengija wrote: : My application is hitting that 'too many open files' limit on Solaris. [I just left this line in for the archives/searching. Read on] Me too :-) Ok, this post might sound a little bit funny. Read below. : but my

RE: Too many open files on Solaris

2004-06-16 Thread Davor Cengija
Andy Eastham wrote: The first thing that came up in Google was this, which might help: http://support.bea.com/support_news/product_troubleshooting/Too_Many_Open_Fi les_Pattern.html This is a good reference. Here's a clickable link: http://tinyurl.com/2acgv Thanks -- Davor Cengija,

problem with context element configuration - need some help

2004-06-16 Thread Guy Katz
hi; regarding the configuration of a Context element. i have an application called 'app' my configuration is currently: Context path=/ docBase=. debug=0 reloadable=true so in order to execute the application i need to type the url 'http://host:port/app i do not want to type the URL with the 'app'

RE: Parameters and where is log

2004-06-16 Thread Shapira, Yoav
Hi, If you can't see System.out/System.err output anywhere, something serious is wrong, such as the server not starting properly: kill it, clean out your logs, start it again and watch the logs carefully. BTW, you don't have to quote anything in web.xml and we generally recommend that you don't.

RE: Parameters and where is log

2004-06-16 Thread Jérôme Duval
Don't know if this will be of any use to you, but if you are using Tomcat 5.0.24, you can define where System.out and System.err are redirected by Configuring Tomcat under the Logging tab. - To unsubscribe, e-mail: [EMAIL

RE: problem with context element configuration - need some help

2004-06-16 Thread Shapira, Yoav
Hi, Change context path=/ to path=. Yoav Shapira Millennium Research Informatics -Original Message- From: Guy Katz [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 9:55 AM To: '[EMAIL PROTECTED]' Subject: problem with context element configuration - need some help hi;

Re: Multiple requests sharing the same Servlet instance

2004-06-16 Thread Keith Hankin
So this means that only one instance of a given Servlet class is every created? How does one do any real work with this? Where do I put my temporary data if not in attributes of the Servlet instance? And what is the reason for having a life cycle of Servlets, with init/destroy methods? I thought

RE: Multiple requests sharing the same Servlet instance

2004-06-16 Thread Shapira, Yoav
Hi, No, it doesn't mean one instance of a servlet class is created. It means the container is free to pool the instances any which way it likes, optionally adjusting for load, destroying unused servlets to save resources, etc. The lifecycle of a servlet is not necessarily related to its

Re: Multiple requests sharing the same Servlet instance

2004-06-16 Thread Keith Hankin
But if a Servlet instance might be used by multiple threads at one time, then what's the point of having Servlet object pooling at all? Why wouldn't all requests just use one instance? I still don't see how I can have variables that are just for storing a single thread's working data. The only way

RE: Configuring JNDI for tomcat

2004-06-16 Thread Benson Margulies
Tomcat does not expose a naming service on any port at all, so far as I know. It just offers an internal API to JNDI in which it populates a namespace. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

RE: problem with context element configuration - need some help

2004-06-16 Thread Guy Katz
thanks, that did it. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 2:55 PM To: Tomcat Users List Subject: RE: problem with context element configuration - need some help Hi, Change context path=/ to path=. Yoav Shapira Millennium

tomcat 4.1.x and RHEL3.0 problem

2004-06-16 Thread Eyup TEKIN
hi is there any bug solution with tomcat 4.1.x and rhel3.0 it gives jdk error sincerely - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Multiple requests sharing the same Servlet instance

2004-06-16 Thread Filip Hanik - Dev
any variable declared inside your service(request,response) method (actually any method) are thread specific, since they are added to a separate thread stack. hence you can have 20 threads executing the same servlet, and your method variables will never be shared. Filip - Original Message

RE: Multiple requests sharing the same Servlet instance

2004-06-16 Thread Shapira, Yoav
Hi, But if a Servlet instance might be used by multiple threads at one time, then what's the point of having Servlet object pooling at all? Why wouldn't It might and it might not. My point was that the Servlet Spec leaves it for the container implementation to decide, and so you should be

RE: Configuring JNDI for tomcat

2004-06-16 Thread Shapira, Yoav
Hi, You're right, and this is in the FAQ: http://jakarta.apache.org/tomcat/faq/misc.html#externalJndi. Yoav Shapira Millennium Research Informatics -Original Message- From: Benson Margulies [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 9:29 AM To: Tomcat Users List; Russ

Re: Too many open files on Solaris

2004-06-16 Thread QM
: : My application is hitting that 'too many open files' limit on Solaris. : [I just left this line in for the archives/searching. Read on] [ yet again ;) ] : Very mission critical. But the problem is that (strange enough) sysadmin : needs to file a formal restart request (!) in

Re: tomcat 4.1.x and RHEL3.0 problem

2004-06-16 Thread QM
On Wed, Jun 16, 2004 at 04:43:18PM +0300, Eyup TEKIN wrote: : is there any bug solution with tomcat 4.1.x and rhel3.0 : it gives jdk error Maybe. Share the error, and someone may share a more thorough answer. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com

Re: tomcat 4.1.x and RHEL3.0 problem

2004-06-16 Thread Eyup TEKIN
hi jdk1.3.x rhel3.0 tomcat4.1.x and mod_jk2 in redhat bugzilla they say that there is a bug.and advice a solution but i coulnt succeed to solve the bug.is there anybody solve it? i dont have a chance to paste error thanks sincerely - Original Message - From: QM [EMAIL PROTECTED] To:

RE: Form data validation

2004-06-16 Thread Mike Curwen
Your answer has more to do with Servlets/JSP programming topics in general, rather than Tomcat in specific. So I'd recommend a forum like: http://saloon.javaranch.com/ pick either the Servlets or JSP forums. -Original Message- From: Keith Hankin [mailto:[EMAIL PROTECTED] Sent:

Re: Too many open files on Solaris

2004-06-16 Thread Davor Cengija
QM wrote: : : My application is hitting that 'too many open files' limit on : : Solaris. : [I just left this line in for the archives/searching. Read on] [ yet again ;) ] Yeah baby! :-)) This may be rectified in a positive way, long-term: matching -- or at least, semi-matching --

Deployment to ROOT context

2004-06-16 Thread Arsen A. Gutsal
Hello all. I have such problem: I'm working on some web-application and I need my servlet change default servlet. So I'm publishing my web-application to default (ROOT) context (/). I'm using NetBeans 3.6 and tomcat 5.0.19. When I try to deploy my web-application automatically I'm getting

Re: Multiple requests sharing the same Servlet instance

2004-06-16 Thread Keith Hankin
Maybe I'm being dumb, but it seems to me that based upon what I'm hearing, there is no benefit of doing Servlet instance pooling since the Servlets aren't true objects; they are merely places to put code, since no local state is useful. - Original Message - From: Shapira, Yoav [EMAIL

RE: Parameters and where is log

2004-06-16 Thread Gabi
With the first solution commented: ServletContext context; context=session.getServletContext(); context.log(test message!!!); I can`t read anything but it's solved, because if i try the original System.out and .err it outputs in catalina.out. Thanks to everubody. Now I've to configure parameters

RE: Deployment to ROOT context

2004-06-16 Thread Shapira, Yoav
Hi, The path for the root context is not /. The directory name ROOT is just a choice: the context whose path is doesn't have to be located at a directory named ROOT. Yoav Shapira Millennium Research Informatics -Original Message- From: Arsen A. Gutsal [mailto:[EMAIL PROTECTED] Sent:

Re: Multiple requests sharing the same Servlet instance

2004-06-16 Thread Tim Funk
It depends on what you mean by state. State can be maintained in many places, each for their own purpose: 1) ServletContext - So all servlets may access the same data 2) Session - User specific state 3) Servlet - resources that are of value only to that servlet. 4) static variables - Available

RE: client disconnect

2004-06-16 Thread Caldarale, Charles R
From: Dorel Vaida [mailto:[EMAIL PROTECTED] Subject: client disconnect Wat was unbelievable to me was that even when the other side of the stream is clearly closed you can still write in it and flush it without it telling to you nada. zip. You may be in a situation where the client only

Problem accessing WEB-INF/lib (Launching Tomcat from Eclipse without any plugins)

2004-06-16 Thread Vladislovas Razas
Hi, I did set up Eclipse to run Tomcat. When I run Tomcat 5 standalone (I mean NOT from Eclipse) I don't have this problem. My application can't access WEB-INF/lib unless I also put all *.jar files in classpath. I know this should not be required and Tomcat would normally access them without

Re: Multiple requests sharing the same Servlet instance

2004-06-16 Thread QM
On Wed, Jun 16, 2004 at 07:53:07PM +0530, Keith Hankin wrote: : Maybe I'm being dumb, but it seems to me that based upon what I'm hearing, : there is no benefit of doing Servlet instance pooling since the Servlets : aren't true objects; they are merely places to put code, since no local : state is

question

2004-06-16 Thread [EMAIL PROTECTED]
Question, please. I have a web application... named matrici/web so i have a tree like this matrici/web/ -many jsp files -WEB-INF/ --web.xml --classes/ --lib/ my application is under $CATALINA_HOME/webapps/ROOT I put my extern class, CreaServizio.class in

Vexing session creation issue

2004-06-16 Thread Frank Zammetti
I sent this to the Struts mailing list as well, but it seems like it could be a Tomcat issue as well (probably just some config option I don't know about)... Argh, this one is hurting my head... I have an application that starts out by returning index.jsp (it's the welcome file). This JSP

RE: Memory Settings On Tomcat

2004-06-16 Thread Endre Stølsvik
On Tue, 15 Jun 2004, Shapira, Yoav wrote: | | Hola, Yo! | | I know - but Sun's VMs surely seems to follow your suggestions! | | They might, and they might not, that's the point. Other VM | implementations can choose to ignore System.gc(), or even Sun | implementations on certain platforms

question

2004-06-16 Thread [EMAIL PROTECTED]
Question, please. I have a web application... named matrici/web so i have a tree like this matrici/web/ -many jsp files -WEB-INF/ --web.xml --classes/ --lib/ my application is under $CATALINA_HOME/webapps/ROOT I put my extern class, CreaServizio.class in

Re: Multiple requests sharing the same Servlet instance

2004-06-16 Thread Ben Souther
since the Servlets aren't true objects A servlet is a true object. It gets instanciated by the container. since no local state is useful. All the variables declared in your service methods (doPost, doGet) are local to a particular request. You also have access to application, session, and page

Setting the Session Id length

2004-06-16 Thread James Maidment
Hi, Fairly recently, methods appeared in org.apache.catalina.session.ManagerBase (setSessionIdLength()) to allow variation of the Session Id length, however I can't find any way of actually calling these methods. Can anyone tell me how this parameter should be set? (I'm using the embedded

RE: Too many open files on Solaris

2004-06-16 Thread McCorkle, Andrea Yeary
We are experiencing the same issue with our application. The application is accessed through a 2K box running Tomcat 4.0. The application itself resides on an AIX 5.21 box. The problem is sporadic. The only way our end users can get around it is to exit the application and log back in.

RE: Vexing session creation issue

2004-06-16 Thread Frank Zammetti
Never mind... as usual, it was a stupid developer trick... Turns out I forgot two JSP's that get loaded, and they didn't have session=false in them, so that explains it. My bad. Frank From: Frank Zammetti [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED]

RE: Vexing session creation issue

2004-06-16 Thread Shapira, Yoav
Hi, The behavior you're seeing is consistent with the servlet specification. If a client chooses not to join a session (which the page session=false directive indicates), the container may still create sessions for the client, just that it will be a new session each time, with a new ID and empty

RE: question

2004-06-16 Thread Shapira, Yoav
Hi, Didn't we discuss this last week? ;) Anyways, don't put your webapp under webapps/ROOT: put it under the webapps folder itself. Put all your classes in packages to establish a good habit. Use explicit imports for your classes unless they're in the same package as the class using the

Re: question

2004-06-16 Thread Giuseppe Briotti
== Date: Wed, 16 Jun 2004 16:35:26 +0200 From: [EMAIL PROTECTED] [EMAIL PROTECTED] To: tomcat-user [EMAIL PROTECTED] Subject: question == Question, please. I have a web application... named matrici/web so i have a tree like this

Re: Multiple requests sharing the same Servlet instance

2004-06-16 Thread Keith Hankin
Yes, those are useful objects, but they can be set at init() time, so there is no point in pooling since only one instance is needed. - Original Message - From: QM [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 8:04 PM Subject: Re: Multiple

tomcat and Apache/mod_security

2004-06-16 Thread tomcatuser
Does anyone have any experience using Tomcat with Apache and the mod_security module? I run a mutual SSL site using Apache and Tomcat, and wonder if anyone has experience with this. thanks in advance.

RE: question

2004-06-16 Thread STOCKHOLM, Raymond
Hi, You need to have the correct package in /classes : If CreaServizio.class is the package org.company you should have : matrici/web/ -many jsp files -WEB-INF/ --web.xml --classes/org/company/CreaServizio.class -Message d'origine- De : [EMAIL PROTECTED]

Re: question

2004-06-16 Thread Tim Funk
Yes. ALl your classes should be ina package: http://jakarta.apache.org/tomcat/faq/classnotfound.html -Tim [EMAIL PROTECTED] wrote: Question, please. I have a web application... named matrici/web so i have a tree like this matrici/web/ -many jsp files -WEB-INF/ --web.xml

Re: Setting the Session Id length

2004-06-16 Thread Tim Funk
In your Host or Context declaration, you'll need to create to add a element to declare your session manager. Then add the property: sessionIdLength=42 or whatever length you'd like. It might be as simple as: Manager sessionIdLength=42/ -Tim James Maidment wrote: Hi, Fairly recently,

Tomcat UserDatabase

2004-06-16 Thread Robert Harper
Is there an accepted way for an application to directly access/manipulate the tomcat-users.xml database? I would like to automate the process of adding users from my servlet but I am having a hard time finding documentation/samples of how to do this. It may just be that I don't know how to grant

Re: question

2004-06-16 Thread QM
On Wed, Jun 16, 2004 at 04:39:28PM +0200, [EMAIL PROTECTED] wrote: : I put my extern class, CreaServizio.class in WEB-INF/classes/ is it right? : do i have to create a package for that class? Did you try to put it in a package? What happened? Yes, it's required. : or do i have to use an

Re: Deployment to ROOT context

2004-06-16 Thread Arsen A. Gutsal
Well, can you please help me to set up tomcat properly. My needs are to have the servlet which handles all requests to server: so, requests like http://myserver.con/somecontextpath/somescript will be handeled as well as http://myserver.con/anothercontextpath/anotherscript. I see that by

Re: Setting JAVA_HOME and CATALINA_HOME on XP

2004-06-16 Thread Bader Qurashi
Hi Jason, Thanks for the inputs I have added the following lines under the system variables Variable name: CATALINA_HOME Variable value: c:\jakarta-tomcat-5.0.19 and my JAVA_HOME is defined in the following way also under system variables as Variable name: JAVA_HOME Variable value :

RE: Vexing session creation issue

2004-06-16 Thread Frank Zammetti
This is what my research is indicating too, but there seems to be quite a bit of confusion over this point, and not just from me, I've seen a number of posts along these lines... If I call request.getSession(false), the javadocs says of the getSession() method: Returns the current HttpSession

Override the system.outs so that no Tomcat Logfile is produced.

2004-06-16 Thread Ben Bookey
Is it possible with a single server.xml (or web.xml) paramter, to overide all the System.out's in my webApp so that no logfile is produced. Many thanks in advance. BB - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: Tomcat UserDatabase

2004-06-16 Thread Shapira, Yoav
Hi, Tomcat-users.xml is a plain file: you can edit it manually or using a programmatic file I/O API. Alternatively, you can use JMX to invoke operations on the MemoryUserDatabase(Factory) classes: for that you code should be within a privileged context (it's a context attribute) and the common

Help moving from a ConnectionBroker to using Tomcats DB Connection pool

2004-06-16 Thread Randy
Hello, I need a little help Hopefully I can give the info needed. My servlets have been using this code I found a long time ago called DbConnectionBroker It works very well. I have been trying to move to the db connection pool of tomcat. They both use org.gjt.mm.mysql.Driver But here is

RE: Setting the Session Id length

2004-06-16 Thread Benjamin Armintor
Setters on Catalina components are usually reflected in attributes in the corresponding server.xml element. Benjamin J. Armintor Operations Systems Specialist ITS-Systems: Mainframe Group University of Texas - Austin tele: (512) 232-6562 email: [EMAIL PROTECTED] -Original Message-

RE: Override the system.outs so that no Tomcat Logfile is produced.

2004-06-16 Thread Shapira, Yoav
Hi, It's possible to redirect System.out/System.err from each webapp to the context's log instead of catalina.out using the Context's swallowOutput attribute. Further, you can add swallowOutput to the DefaultContext element, thereby establishing that for all webapps using one parameter in in

re: DBCP pooling error

2004-06-16 Thread Bliesner, Christopher P
I'm running Tomcat 4.12 and trying to setup the DBCP. I followed everything outlined on the Jakarta/Tomcat site for setting up a DBCP for Oracle 8.1.7 but I'm still receiving the following message: Cannot load JDBC driver class 'null' Any help would be appreciated, thanks! Chris

Re: Deployment to ROOT context

2004-06-16 Thread Arsen A. Gutsal
Well, can you please help me to set up tomcat properly. My needs are to have the servlet which handles all requests to server: so, requests like http://myserver.con/somecontextpath/somescript will be handeled as well as http://myserver.con/anothercontextpath/anotherscript. I see that by

Re: Multiple requests sharing the same Servlet instance

2004-06-16 Thread Keith Hankin
Yes, they're true objects. But if you instantiate more than one of them, each will have identical state. While it's possible to have different state to be set depending on different instances based upon the computing environment at the time that the Servlet object is created, I don't see how this

RE: DBCP pooling error

2004-06-16 Thread David Short
I believe you need to move the Oracle classes12.jar and nls_charset12.jar files into your Tomcat\common\lib directory. -Original Message- From: Bliesner, Christopher P [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 8:34 AM To: Tomcat Users List Subject: re: DBCP pooling error

RE: DBCP pooling error

2004-06-16 Thread Bliesner, Christopher P
Hi David--I have the classes12.jar file there already but never heard of the nls_charset12.jar. What does that help with and where can I get a copy of that. Thx. Chris Bliesner Lead Oracle DBA/Unix admin Wk Phone 915-834-1757 -Original Message- From: David Short [mailto:[EMAIL

Using Tomcat's HTTP processor and SSL

2004-06-16 Thread Jim Kennedy
I am considering using Tomcat alone as my HTTP server as well as my servlet container with SSL configured. I know a lot of people use Apache HTTP Server instead of Tomcat for this and Tomcat is just the servlet container only. Is there any reason why I should not use just Tomcat alone for

RE: How to (Unique value)?

2004-06-16 Thread Andy Eastham
Unique keys are generated by using the AUTO_INCREMENT attribute on an integer column. http://dev.mysql.com/doc/mysql/en/example-AUTO_INCREMENT.html Andy -Original Message- From: A Z [mailto:[EMAIL PROTECTED] Sent: 16 June 2004 12:28 To: [EMAIL PROTECTED] Subject: How to (Unique

Caused by: java.lang.IllegalStateException: Context path  is already in use

2004-06-16 Thread Arsen A. Gutsal
Getting subj during deploying into root () context. Who may help me? -- Sincerely, Arsen A. Gutsal SOFTSKY Cost Effective Software Development http://www.softsky.com.ua - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: Using Tomcat's HTTP processor and SSL

2004-06-16 Thread Gabi
In what I've read people use Apache+Tomcat because better performance in apache serving static content, and the potential to use PHP served by apache for example. In the case that you only use dinamic java code, it's better because it's easier to mantain one service that two!!! But I'ver read too

RE: RE: Please introduce a good Tomcat debug tool

2004-06-16 Thread Daxin Zuo
Deepak, and All, I have JBuilder 9 developer edition. But the version of the embeded Tomcat is 4.1. We want to use Tomcat 5.1.9. Do you have some detail instruction for adding Tomcat 5 to the server configuration in Jbuilder 9 (I am preparing doing it)? Thanks a lot. Also thanks for all the

Classloading in Tomcat

2004-06-16 Thread Vladislovas Razas
I have rewritten my earlier question... Hrm if I start tomcat with: c:\java\jdk\bin\java -Djava.endorsed.dirs=c:\java\tomcat\common\endorsed -classpath c:\java\jdk\lib\tools.jar;c:\java\tomcat\bin\bootstrap.jar -Dcatalina.base=c:\java\tomcat -Dcatalina.home=c:\java\tomcat

  1   2   >