Re: where to store user-generated files?

2007-02-21 Thread John Pedersen
Looks like roll your own then! A few thoughts on the matter - maybe someone could add to them? It should be easy to map requests for images to a servlet, which can then find the appropriate image file wherever it might be ( within or outside the server ). Like this in the web.xml file:

Re: [OT] Rough hint about server sizing Apache/Tomcat

2007-02-21 Thread www.sizinglounge.com
Hello Sacha, http://www.sizinglounge.com http://www.sizinglounge.com is a free online sizing tool for any kind of software. It allows you to perform sizings up to 2000 concurrent users. For even higher web server sizings, please visit http://apache.sizinglounge.com

java.lang.OutOfMemoryError: PermGen space .

2007-02-21 Thread Muruganantham
hi, I am using RHEL 4 and Tomcat. I have restarted my tomcat. After restarting my Tomcat server i am getting the following error while i try to view some jsp pages *java.lang.OutOfMemoryError: PermGen space* . Please any one help me. Thanks, M.Muruganantham. -- Regards,

Re: [OT] RE: Found a product for running Tomcat off CDROM -have anybody tried it?

2007-02-21 Thread David Wishnie
Hello, According to this page (select Tomcat in the left pane): http://stunnix.com/ws-ui-saws/ui.xpl/1/project.showprops Tomcat seems to be 5.5.20 but here they state that one can add support for any version of Tomcat to it (here: http://stunnix.com/prod/aws/tomcat-cdrom.shtml ) As for use of

Re: Found a product for running Tomcat off CDROM -have anybody tried it?

2007-02-21 Thread David Wishnie
Hello, On 2/20/07, Stephen Souness [EMAIL PROTECTED] wrote: Interesting that the Stunnix website appears to make no mention of who is actually behind it the product. Also interesting that you have posted a very similar message to a python mailing list, subject: Found a product for running

RE: java.lang.OutOfMemoryError: PermGen space .

2007-02-21 Thread Peter Crowther
From: Muruganantham [mailto:[EMAIL PROTECTED] *java.lang.OutOfMemoryError: PermGen space* . http://tomcat.apache.org/faq/memory.html - search for MaxPermSize. - Peter - To start a new topic, e-mail:

Specifying -Djava.library.path when tomcat is running as a service

2007-02-21 Thread Sriram Saroop
Hi, I am running tomcat 4.1.34 as a Windows Service by using service.bat My application uses JNI and the required libraries exist in 3 folders: C:\f1,C:\f2,C:\f3 When I add the these folders in -Djava.library.path: %EXECUTABLE% //US//%SERVICE_NAME% ++JvmOptions -Djava.library.path=C:\f1

Re: overlapped parameters between sessions

2007-02-21 Thread Paul Singleton
Caldarale, Charles R wrote: From: WILLIAM PARRA [mailto:[EMAIL PROTECTED] Subject: overlapped parameters between sessions When passing parameters with get metod, with many users (about 200); some parameters, are overlapped between sessions. If you're speaking of parameters taken from a URL,

Re: overlapped parameters between sessions

2007-02-21 Thread WILLIAM PARRA
Hi I understood that the sessions were of each user. isn't it? I understood that One session to one Navegator to one user. isn't it? I don't understand because the parameter can be overwritten by the value from another request. The object request is not part of the session? Greetings and

Re: overlapped parameters between sessions

2007-02-21 Thread WILLIAM PARRA
My aplication is a system of inscription for aspirings to the university. Therefore, it has concurrent connections. that I do? William Enrique Parra Alba Ingeniero De Sistemas Universidad Pedagógica y Tecnológica de Colombia /\ /\ / //\\ \ \ \\// / / / \ \ \/\/ - Mensaje

http://tomcat.apache.org/faq/misc.html#externalJndi

2007-02-21 Thread Marc Farrow
http://tomcat.apache.org/faq/misc.html#externalJndi I noticed from the above link that you cannot access Tomcat's JNDI provider outside of Tomcat at this time. Is there plans to include it with Tomcat 6? -- Marc Farrow

Re: [OT] mod_jk configuration for production

2007-02-21 Thread nuka
I've read the documentation and my question is : - socket_timeout = 2s but reply_timeout is 0 meaning that the webserver is waiting forever. Which of them is used for timeout ajp connection? nuka wrote: Hello, I am facing to a problem concerning apache-tomcat configuration via mod_jk

Re: [OT] mod_jk configuration for production

2007-02-21 Thread nuka
I've read the documentation and my question is : - socket_timeout = 2s but reply_timeout is 0 meaning that the webserver is waiting forever. Which of them is used for timeout ajp connection? Rainer Jung-3 wrote: Then start reading on

Re: java.lang.OutOfMemoryError: PermGen space .

2007-02-21 Thread Mohan Wickramasinghe
try setting in JVM paramerter MaxPermSize=256m (if using linux) hi, I am using RHEL 4 and Tomcat. I have restarted my tomcat. After restarting my Tomcat server i am getting the following error while i try to view some jsp pages *java.lang.OutOfMemoryError: PermGen space* . Please any

XML parser issue while defining a Realm

2007-02-21 Thread Serlet Jean-Claude
Hello My environment : Windows 2003 server Tomcat 5.5.12 What i tried : userSearch=(amp;(uid={0})(|(dncomp=ou=Oneorgunit)(dencomp=ou=AnOtherOU))) while defining a Realm using an LDAP directory I gave a xml parser error when i started the Tomcat Instance : org.xml.sax.SAXParseException: The

RE: overlapped parameters between sessions

2007-02-21 Thread Caldarale, Charles R
From: WILLIAM PARRA [mailto:[EMAIL PROTECTED] Subject: Re: overlapped parameters between sessions I understood that the sessions were of each user. isn't it? There may be multiple sessions per user, depending on the browser, number of windows open, etc. I understood that One session to

RE: where to store user-generated files?

2007-02-21 Thread Williams, Allen
I'm new at this, so bear with me here for a moment... The servlet mapping seems to me to tell tomcat anytime you have a request for a URI with .jpg extension, deliver the request to this servlet, but that doesn't give any information about where in the real file system said jpeg is stored, does

RE: where to store user-generated files?

2007-02-21 Thread Caldarale, Charles R
From: Williams, Allen [mailto:[EMAIL PROTECTED] Subject: RE: where to store user-generated files? Doesn't there have to be a mapping or alias somewhere (server.xml, web.xml,...?) that resolves, or translates ThisTypeofFileName.ext into /real/path/in/OS/ThatTypeOfFileName.oxt? Yes.

Re: Expression Language in JSP and JasperException

2007-02-21 Thread Piotr Kiraga
Hi David, Ok forgive me now, but this is getting confusing. Where does result come into this picture? Were you expecting actionBean to be an instance of a different class? You aren't offering a lot to go on here. Sorry for mixup. I've just thought that it is just about some option in

Re: XML parser issue while defining a Realm

2007-02-21 Thread David Delbecq
Hi 1) This is not an ldap or filter error, this is an xml wellformness error. That mean tomcat can not parse your xml file 2) You say you can cut and paste it inside and ldap browser and it work? Are you sure it is amp; that is inside your search rule? I mean your ldap browser most probably do

Posting Xml

2007-02-21 Thread Dima Retov
Hello, Is that good idea to POST XML data to Tomcat? I wish to make HTTP request to servlet in Tomcat. Method POST Content Type: text/xml Content would be non encoded XML file. Is it good idea in general. My tomcat handles such requests now. Is it expected that it will work in future? Is

RE: where to store user-generated files?

2007-02-21 Thread Williams, Allen
Gotcha. So, servlets can access the file system just like any other java or C++ program? I was thinking they were restricted, but now that I'm thinking about it I think I was confusing that with applets. If tomcat is running as user tomcat55, do the servlets run as the same user, so you can set

Re: where to store user-generated files?

2007-02-21 Thread David Smith
I'm sure this is horribly insufficient, so I would recommend reading the servlet spec. It's not all that bad a read as far as specifications go and you can learn a lot about how tomcat operates. If you have a servlet mapping all *.jpg to some servlet myServlet in web.xml, web.xml also has

Tomcat/mod_jk/Apache - up to date - matching versions?

2007-02-21 Thread Sharon French
We are configuring a new server for use in a production environment, we would like to maintain a similar setup to our other servers (apache + mod_jk + tomcat) but would like to upgrade to the latest appropriate versions. We are running on Red Hat Linux (kernel 2.6.9-5) with the 1.5.0_11 JVM -

RE: XML parser issue while defining a Realm

2007-02-21 Thread Serlet Jean-Claude
Sorry I made a mistake The .war with an erronous context.xml stays under the webbapps directory while i tried to modify the context.xml under the application directory Now it works fine Jean-Claude -Message d'origine- De : Serlet Jean-Claude Envoyé : mercredi 21 février 2007 14:44 À :

RE: where to store user-generated files?

2007-02-21 Thread Caldarale, Charles R
From: Williams, Allen [mailto:[EMAIL PROTECTED] Subject: RE: where to store user-generated files? So, servlets can access the file system just like any other java or C++ program? Yes - they're just part of the Tomcat process. If tomcat is running as user tomcat55, do the servlets run

Get rid of 8080 port in Tomcat 3.3

2007-02-21 Thread Frank Nguyen
Hi, We’re still running 3.3.1 – We’d like to get rid of specifying the port 8080 in the http request like HYPERLINK http://www.something.com:8080/http://www.something.com:8080 and have it default to 80 (HYPERLINK http://www.somehting.com/http://www.somehting.com only) but could not find any

Re: Get rid of 8080 port in Tomcat 3.3

2007-02-21 Thread EDMOND KEMOKAI
80 is a privileged port on *nix systems, you'll need to run tomcat as root (generally not recommended). May I ask why you're still running tomcat circa version 3? On 2/21/07, Frank Nguyen [EMAIL PROTECTED] wrote: Hi, We're still running 3.3.1 – We'd like to get rid of specifying the port

RE: where to store user-generated files?

2007-02-21 Thread Williams, Allen
Got it. I'll also get the spec. Thanks to you and Dave! -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 21, 2007 10:51 AM To: Tomcat Users List Subject: RE: where to store user-generated files? From: Williams, Allen [mailto:[EMAIL

RE: Connection pool problem DBCP - 4.1.3

2007-02-21 Thread Propes, Barry L [GCG-NAOT]
I wonder...would I get mixed results trying to implement JNDI maing in my server.xml file, but only trying to (on a page by page basis, with an existing servlet and/or JSP) utilize the naming context method? In other words, I test out DBCP with one dedicated servlet or JSP, and perhaps it

Re: Expression Language in JSP and JasperException

2007-02-21 Thread David Smith
Ok. I'm not overly familiar with Stripes, so you'll have to bear with me a little. I can think of a few ways to handle this. First, look at what makes a request from calculator.jsp unique. You could use the referrer header, the value of a submit button, or the presence of the equation request

Re: Get rid of 8080 port in Tomcat 3.3

2007-02-21 Thread David Smith
I haven't tried it on such an old version of tomcat, but I would think jsvc from the commons-daemon project would work here. http://jakarta.apache.org/commons/daemon It essentially allows you to start tomcat as a privileged user long enough to grab the port and then drop back to a low privilege

Re: Posting Xml

2007-02-21 Thread David Delbecq
Hi, tomcat does not care what is in the body of request, it just look at url to map it to a servlet and headers to create context and request objects. The rest is entierly up to servlet to manager. For your information, slide is a webdav servlet working under any J2EE compliant webapp container

Re: where to store user-generated files?

2007-02-21 Thread John Pedersen
I have something that works: in web.xml: servlet servlet-nameimageServlet/servlet-name servlet-classImageServlet/servlet-class load-on-startup2/load-on-startup /servlet servlet-mapping servlet-nameimageServlet/servlet-name url-pattern/users/image/*/url-pattern

Help with tomcat installation

2007-02-21 Thread Pranathi
Note: forwarded message attached. Speed is good only when wisdom leads the way. -James Poe - Don't be flakey. Get Yahoo! Mail for Mobile and always stay connected to friends.---BeginMessage--- Hi, I am a new user of tomcat. I have successfully downloaded

Re: Get rid of 8080 port in Tomcat 3.3

2007-02-21 Thread Stefan
Frank Nguyen schrieb: Hi, We’re still running 3.3.1 – We’d like to get rid of specifying the port 8080 in the http request like HYPERLINK http://www.something.com:8080/http://www.something.com:8080 and have it default to 80 (HYPERLINK http://www.somehting.com/http://www.somehting.com only)

RE: Connection Pooling Question

2007-02-21 Thread Tim Lucia
-Original Message- From: Marc Farrow [mailto:[EMAIL PROTECTED] Sent: Monday, February 19, 2007 3:56 PM To: tomcat-users Subject: Connection Pooling Question Slightly off topic, but the core of what I want is being done in the source code of Tomcat. I am trying to use the Apache

Compiling mod-jk plugin for SunOne on Solaris

2007-02-21 Thread Kirk
There was a thread from February 1st on this same issue. I am having the same problem that person did, but I tried everything in the thread and still no luck. After I get mod_jk compiled I get this on server startup: failure: CORE3170: Configuration initialization failed: Error running init

authentication security constraint error

2007-02-21 Thread Propes, Barry L [GCG-NAOT]
Hi, I've been using versions 4.0 and 4.1.3 with a security constraint with no problems. However, when I added info in my server.xml file to try and attempt DBCP, I get a warning in my logs about something being defined in in an auth-constraint without being in a security role. Maybe not too

RE: authentication security constraint error

2007-02-21 Thread Caldarale, Charles R
From: Propes, Barry L [GCG-NAOT] [mailto:[EMAIL PROTECTED] Subject: authentication security constraint error However, when I added info in my server.xml file to try and attempt DBCP, I get a warning in my logs about something being defined in in an auth-constraint without being in a

RE: authentication security constraint error

2007-02-21 Thread Propes, Barry L [GCG-NAOT]
ok, thanks, Chuck. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 21, 2007 5:02 PM To: Tomcat Users List Subject: RE: authentication security constraint error From: Propes, Barry L [GCG-NAOT] [mailto:[EMAIL PROTECTED] Subject:

RE: authentication security constraint error

2007-02-21 Thread Propes, Barry L [GCG-NAOT]
Yeah, I had them in there. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 21, 2007 5:02 PM To: Tomcat Users List Subject: RE: authentication security constraint error From: Propes, Barry L [GCG-NAOT] [mailto:[EMAIL PROTECTED]

Re: Compiling mod-jk plugin for SunOne on Solaris

2007-02-21 Thread Rainer Jung
Option 1) (Quick and dirty): Deploy libgcc_s.so. It's *not* the compiler. The lib contains some machine specific runtime routines, for which appropriate machine statements are not available. Option 2): Compiling statically. If you've got good control over the compilation process you can add

JVM per web App in Tomcat 5 possiable

2007-02-21 Thread jerrythenoob
Hi guys a noob question, my application uses a thrid-party native lib which will bring down tomcat if the internet connectivity is lost after a couple of attempts. Is there a way to start another JVM for that web app alone ? or does anyone have any suggestion for my situation ? Thanks --

RE: Get rid of 8080 port in Tomcat 3.3

2007-02-21 Thread Steffen Heil
Hi That's the way You should go: http://www.linux.org.mt/article/tomcat-ports I totally disagree. First, it would surely be best to update to 6.0 and run it using jsvc However, let's look at the solution in the link above. 1. The Apache solution. (Which should be called the httpd

RE: authentication security constraint error

2007-02-21 Thread Caldarale, Charles R
From: Propes, Barry L [GCG-NAOT] [mailto:[EMAIL PROTECTED] Subject: RE: authentication security constraint error Yeah, I had them in there. Are they in the right order relative to the other elements? The web-app schema is rather picky about how things are arranged. The web.xml files for

RE: authentication security constraint error

2007-02-21 Thread Propes, Barry L [GCG-NAOT]
now I'll double check that part. That could be an issue. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 21, 2007 5:35 PM To: Tomcat Users List Subject: RE: authentication security constraint error From: Propes, Barry L [GCG-NAOT]

RE: JVM per web App in Tomcat 5 possiable

2007-02-21 Thread Caldarale, Charles R
From: jerrythenoob [mailto:[EMAIL PROTECTED] Subject: JVM per web App in Tomcat 5 possiable my application uses a thrid-party native lib which will bring down tomcat if the internet connectivity is lost after a couple of attempts. Hope you didn't pay money for that. Is there a way to

RE: JVM per web App in Tomcat 5 possiable

2007-02-21 Thread Rutherford, Michael
I had a similar problem (native exceptions propagating out and killing the JVM and thereby Tomcat). My quick and dirty solution was to wrap the calls with a main() and run them as a separate java app in its own JVM. Any problems therefore killed the subordinate JVM not the one running Tomcat. I'm

RE: Get rid of 8080 port in Tomcat 3.3

2007-02-21 Thread Frank Nguyen
Great article! Yes, this is the way to do it! Many thanks. Frank Nguyen -Original Message- From: Stefan [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 21, 2007 10:43 AM To: Tomcat Users List Subject: Re: Get rid of 8080 port in Tomcat 3.3 Frank Nguyen schrieb: Hi, We’re

RE: JVM per web App in Tomcat 5 possiable

2007-02-21 Thread jerrythenoob
Thanks for the help : ) I'll try that Caldarale, Charles R wrote: From: jerrythenoob [mailto:[EMAIL PROTECTED] Subject: JVM per web App in Tomcat 5 possiable my application uses a thrid-party native lib which will bring down tomcat if the internet connectivity is lost after a couple

RE: Maximum single threaded moldel servlets

2007-02-21 Thread Caldarale, Charles R
From: James McIntosh [mailto:[EMAIL PROTECTED] Subject: Maximum single threaded moldel servlets I am trying to find out how to limit the number of Single Threaded Model servlets which get created by the StandardWrapper. I suspect there's not much interest in this aspect of the servlet

System property use in web.xml?

2007-02-21 Thread Martin . X . Zaidel
I've inherited a webapp which includes a system property reference (ie., region) in its web.xml (BTW, this context-param is used to lookup a Spring context file---e.g. /WEB-INF/jmsContext-eur.xml) context-param param-namecontextConfigLocation/param-name param-value

How can I set tomcat 5.5 NOT Case Sensitive

2007-02-21 Thread mukesh sriwastava
Hello, Sir i have a problem . Actually i am using tomcat 5.5, and i want that when i run jsp file on the server it will be case insensitive. means case sensitive free. as when I write in browser's 'http://localhost/test.html' equals to

Mysql timouts...

2007-02-21 Thread Jacob Rhoden
I am having the seemingly common Broken pipe to mysql problem with tomcat. All i could find was some info about a maxideltime setting and idleconnectiontestperiod where can I find out info about tuning to make sure tomcat doesn't serve out stale database connections? The following settings

Re: System property use in web.xml?

2007-02-21 Thread Bill Barker
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I've inherited a webapp which includes a system property reference (ie., region) in its web.xml (BTW, this context-param is used to lookup a Spring context file---e.g. /WEB-INF/jmsContext-eur.xml) context-param

Pls help : How to make case insensitive URL(JSP) on Tomcat 5.5

2007-02-21 Thread Bhandari
Hi, I have an intranet based JSP application on Tomcat 5.5. i have rolled it out. but the problem my JSP application users are facing is ' URL of application' is case sensetive. CAN ANYBODY TELL me a way to make my URL CASE INSENSITIVE? I need a step by step guide. Pls help. Thanks and

RE: Pls help : How to make case insensitive URL(JSP) on Tomcat 5.5

2007-02-21 Thread Caldarale, Charles R
From: Bhandari [mailto:[EMAIL PROTECTED] Subject: Pls help : How to make case insensitive URL(JSP) on Tomcat 5.5 CAN ANYBODY TELL me a way to make my URL CASE INSENSITIVE? I need a step by step guide. Read the doc: http://tomcat.apache.org/tomcat-5.5-doc/config/context.html

How can I realize server side GUI??

2007-02-21 Thread wang suya
Hello I want to make a server side GUI application that draw senveral Rectanges and when mouse drag the bottom of Rectange, the rectange extends. Do anybody know how I can realize this appication. Thank you at advance. Wang suya wang suya