Re: Tomcat Performance question

2002-07-08 Thread Henner Zeller
Hi Sean, My problem is that my sys admin person who needs to deploy this system on a production box is concerned that Tomcat cannot be performant enough to satisfy the high volume of requests on the server. He is convinced that Tomcat is loaded every time anyone accesses the html, even

Using tomcat's Realm as the authentication mechanism and access via mod_webapp

2002-07-08 Thread Steve Wong
I find that this setup work if apache is 2.0.36 but not 2.0.39 If for 2.0.39, access via mod_jk will work but not mod_webapp Do anyone experience the same thing and know the reason?? Thx. and Regards. Steve.

Tomcat's servlet container on J2ME-cdc config?

2002-07-08 Thread Brice Roncace
Hello all, I am researching the possibility of using the Java 2 Micro Edition platform in a web-enabled device. Specifically, I am investigating whether the Catalina servlet container can be configured using the c virtual machine (under CDC-foundation profile) instead of relying upon a

Re: Alias question

2002-07-08 Thread Andrea
[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Connection Pooling?

2002-07-08 Thread Jacob Kjome
Try this with Either Tomcat-4.1.3 which I've tested with the instructions at the link below and know it to work. Also, you might try Tomcat-4.1.7 whch just came out. I had tried Tomcat-4.1.6 and it failed so, presumably, the nightly builds around the time of 4.1.6 development were broken as

OutOfMemoryError when using embedded tomcat and client-side SSL

2002-07-08 Thread Morten Jorgensen
All, I am experiencing some problems when enabling client authentication on an SSL connection. The same problem occurs both when using tomcat 4.0.4 standalone and when using embedded tomcat (same version). The parameters I set for my SSL connection are these (same settings are used for both

AW: Tomcat Performance question

2002-07-08 Thread Power-Netz \(Schwarz\)
One more point. These servlets must be in a secure environment. They use a Thawte certificate for security. I thought Tomcat could be configured to use a secure certificate fairly simply, but he says otherwise. Thawte certs can be used with tomcat, just the installation of the cert is

Re: Stopping and Starting Tomcat as part of an Ant script

2002-07-08 Thread Mehmet Birgi
Great, I've been looking for a way to do this for some time now. I tried out your snippets, but when I start tomcat from an ant script, the rest of the script doesn't get executed (the only thing I've changed: I've commented out the catalina_base line, as I don't need multiple instances). Can

JAXM JAX-RPC??? help!!!!

2002-07-08 Thread staginfo-ar
I'm trying deploying web services with JWSDP in tomcat. Is it possible to use WSDL with JAXM ? I know JAX-RPC could do that but JAX-RPC doesn't create the SOAP message ( his runtime convert request into SOAP but I can't edit the message ). Could you explain me the difference into developping

Re: Mac OS X, Tomcat 4.0.4, MySql configuration denies access

2002-07-08 Thread Martin Jacobson
Jack Park wrote: I continue to get the sql exception using the above software and mm.mysql 2.0.8 drivers. MySql is 3.23.51 downloaded from entropy.ch I have granted permission to the program for both localhost (a guess) and localhost.localdomain (which I needed on wintel and linux).

Re: RE: manager does not want my password

2002-07-08 Thread Frederic Barachant
Hello. I get the password request from tomcat, then whatever i give to it, it comes up again. If i cancel it, i of course get a 401.. You can try this url to the server. Actually, nothing is installed, or is modified from the install, except the tomcat-users.xml.

Tomcat, Webapp and PHP

2002-07-08 Thread tomcat
Hi, I'm using Apache 1.3.26 + Tomcat 4.0.3 through mod_webapp. My problem start when someone try to use php or other server_side_NON_jsp/server parsed file. Tomcat do not parse the contents and instead of load the page it ask to be downloaded. The is anyway to do that apache handle only the

memory usage (longish)

2002-07-08 Thread Simon Juden
Got a funny problem with memory usage. Initially assumed likely to be a linux issue. Had the problem on RedHat 6.2, upgraded to RedHat 7.3, still have the problem. Not sure now if it's a linux or tomcat issue. Set-up/environment: Red Hat (now 7.3, with ext3), 1xi686 processor, 1.5Gb memory,

AW: Tomcat, Webapp and PHP

2002-07-08 Thread Ralph Einfeldt
The url's for these resources must be outside the path of the webaplication. (So if you mapped / to a default context all request are handled through mod_webapp) If you can't change this you might switch to mod_jk. With mod_jk you can specify patterns like *.jsp that should be handled through

WARP + SSL + request.isSecure() request.getScheme()

2002-07-08 Thread zaid haque
Hi All, I have a problem of using request.isSecure() request.getScheme()with Apache connected to Tomcat through WARP Connection. Actually it doesn't work as it was intended. When I use request.isSecure() request.getScheme()in the servlet/JSP running under SSL, it suppose to give true https

RE: I fail to get green arrow for filter status.. IIS with Tomca t

2002-07-08 Thread Anoop Kumar V
hi, i am trying to configure IIS with Tomcat, i also get green arrow in filter dialog. but in my isapi.log..i get this error message.. [jk_isapi_plugin.c (560)]: HttpExtensionProc error, could not get a worker for name apj12 and when i give a request for

RE: Ahh Native Library Hell

2002-07-08 Thread Cox, Charlie
The problem is that the classloader that originally loaded the library has been destroyed(by reload) and a new one is created. Since the classloader has been destroyed, its classes are unavailable for access, therefore the library that you loaded is unavailable. This is why you get 'unstaisfied

Re: memory usage (longish)

2002-07-08 Thread JensStutte
I cannot help you on the real problem, but i think both kinds of error are the same. The missing memory in your free output seems to be gone into linux' file system buffers and cache (cache: 1082072, nearly 1GB). So almost every file on your hard drive most likely has been cached ;-). If any

Using MANAGER for servlets in ROOT

2002-07-08 Thread FRANK WELCH
Hi I have spent so much time trying to manage servlets in the ROOT context. I can see servlets, using List and Sessions command in the Examples context, but never see any of MY sessions that run under root. List always says 0 sessions running under context / even when I am quite certain the

New to Tomcat/Mac OS 9

2002-07-08 Thread Aldo Bergamini
Hi all, since the past weekend I am almost a Tomcat 3.x user. 'Almost' means that as I am starting just now to study Tomcat 3.x (I am Mac user still running Mac OS9 = JDK 1.1.8) I have had mixed results so far. Some servlet examples run on T 3.2.4; I could not make 3.3.1 run in any way. Is

How to detect whether Tomcat is running?

2002-07-08 Thread Jack Li
Hi all, I need to detect the Tomcat status on a production server. I was trying to run a detecting program on the development server. If Tomcat is down on the production sever, I would get an email. I wrote the following codes in my detecting program. I tried to connect the main.jsp page on the

AW: How to detect whether Tomcat is running?

2002-07-08 Thread Ralph Einfeldt
If you don't change it, the jsp engine always sends content length = -1, as it don't knows how long the output will get at the time it creates the header. So it is better to read the stream and parse the result for the status code. Note taht the content length may be -1 if an error happens

RE: How to detect whether Tomcat is running?

2002-07-08 Thread Turner, John
Right...a better method than checking the content length would be to create a JSP page that simply outputs a status string such as Application OK or whatever. Then look for that string in the content that comes back. Just checking for content to come back doesn't tell you that everything is

RE: Default Servlet Parameters

2002-07-08 Thread Shapira, Yoav
Howdy, You shouldn't be giving other parameters to tomcat's own DefaultServlet. Your own servlets have no limitations on the number of name of variables: you can have as many init-param tags in your servlet tags as you want. If you want some params common to all the servlets in your web-app,

RE: webapp_module = apache problem when starting

2002-07-08 Thread Ten-Hung Chu
For Apache 2.0.39, you CAN NOT have the line AddModule mod_webapp.c Also, make sure ServerName is defined before LoadModule webapp_module modules/mod_webapp.so Ten -Original Message- From: Gunter D'Hondt [mailto:[EMAIL PROTECTED]] Sent: Monday, July 08, 2002 1:16 AM To: 'Tomcat Users

Re: Default Servlet Parameters

2002-07-08 Thread Mark O'Driscoll
I have a supplementary question to this. Is there any accepted way to pass parameters to servlets/jsps that may be edited? I can see that init-param context-param do what I want but I need to allow a user to change values of some parameters, save them and the new values would be used

Re: New to Tomcat/Mac OS 9

2002-07-08 Thread Peter Werno
Hello Aldo, this is more guessing than knowing, but the Apple MRJ / JDK isn't Java 2. If tomcat 3.3.x uses some Java 2 commands then you'd need to upgrade to OS X (which runs any kind of Tomcat just fine) You should probably post this on the Developer-List, maybe someone there is able to tell

RE: Default Servlet Parameters

2002-07-08 Thread andre . powroznik
I don't like to store parameters in web.xml because many application servers require applications to be redeployed to take in account change in these files. I prefer to put there path to configuration files. Take in account not all application servers expand war files... Andre POWROZNIK

[OFF-TOPIC] RE: Persistence Manager choice...

2002-07-08 Thread Shapira, Yoav
Hi, Castor is great. Yoav Shapira Millennium ChemInformatics -Original Message- From: Vincent Lambert [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 02, 2002 5:50 AM To: Tomcat Users List Subject: Persistence Manager choice... Hi, We are looking for a persistence manager. We are

RE: Default Servlet Parameters

2002-07-08 Thread Turner, John
How about just using a Properties object (java.util.Properties)? Setup a default configuration file, it doesn't have to be server.xml or web.xml. Make it something like myapp.conf or whatever. Then read that file in on startup, creating a Properties object with the values. You could write the

Re: Tomcat directory listing

2002-07-08 Thread Nancy Crisostomo Martinez
Kapil: To turn off directory listings, change the listings attribute of the StaticInterceptor to false in the server.xml file. For example: StaticInterceptor listings=false / This is a paragraph from the Tomcat 3.3 User's Guide, but maybe this could help you with your Tomcat 3.3.1

Feasibility question

2002-07-08 Thread Iain Downie
Hi List, relatively new to Tomcat, so excuse the possible repetition / naivety of this posting. We currently have an expanding web application running. We are thinking of dividing it up into more user-friendly chunks (different applications), allowing us to control each application more easily

LoadOnStartup woes

2002-07-08 Thread Cato, Christopher
I have a servlet that checks and distributes email. I need it to run on startup. So I configure tomcat to run it on startup. The servlet starts a thread, does it's thing and then sleeps again. Now, I marked the servlet to run as number 99 (effectively last i hope) in the LoadOnStartup entry.

Re: LoadOnStartup woes

2002-07-08 Thread Mark O'Driscoll
99 means that it is the last of the loadonstartups to run, you hope. Get your servlet to create its own thread rather than sleeping the current one and all should be OK - Original Message - From: Cato, Christopher [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 08, 2002 3:14

Re: Feasibility question

2002-07-08 Thread David Cassidy
Iain Put bluntly if these use a different WEB-INF directory then the long and short of it is no. sorry D Iain Downie wrote: Hi List, relatively new to Tomcat, so excuse the possible repetition / naivety of this posting. We currently have an expanding web application running. We are

Custom security realm/class loader issues

2002-07-08 Thread Ravindar Reddy
I wrote a custom security realm for authentication. This realm class is referring to the code in the web application. When I try to deploy the realm in the web app context I get: (1) Class not found exception for support classes that are defined in web app. Because of indirect references, I

RE: LoadOnStartup woes

2002-07-08 Thread PELOQUIN,JEFFREY (Non-HP-Boise,ex1)
We have noticed that the load on startup number only works when the entite tomcat process is restarted. If you simply restart the application using the manager app, then the servlets are started in the order they occur in server.xml This is for tomcat 4.0.1 Jeff -Original Message-

RE: Feasibility question

2002-07-08 Thread Steve Ahlstrom
No problem if you use cookies. -Original Message- From: Iain Downie [mailto:[EMAIL PROTECTED]] Sent: Monday, July 08, 2002 8:12 AM To: [EMAIL PROTECTED] Subject: Feasibility question Hi List, relatively new to Tomcat, so excuse the possible repetition / naivety of this posting. We

AW: Feasibility question

2002-07-08 Thread Ralph Einfeldt
For the single login look at http://www.ingrid.org/jajakarta/tomcat/tomcat-4.0b5/src/catalina/docs/si nglesignon.html -Ursprüngliche Nachricht- Von: Iain Downie [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 8. Juli 2002 16:12 An: [EMAIL PROTECTED] Betreff: Feasibility question

Re: Feasibility question

2002-07-08 Thread peter lin
No problem if security isn't needed. From the description, it doesn't look like it or atleast doesn't look obvious. You can also use Oracle to store session, but then you're dealing with a totally different set of headaches. just have multi-tiered security, so that only one server allows

RE: LoadOnStartup woes

2002-07-08 Thread Lance Smith
Christopher, The init method of the servlet must return for Tomcat to continue and initialize the context. Since Tomcat holds the reference to the servlet I think it is safe just to go ahead and return so long as you're thread is self sustaining. That way Tomcat can call the destroy method on

SV: LoadOnStartup woes

2002-07-08 Thread Cato, Christopher
I'm running TomCat 3.3 actually. And this happens every time I start TomCat. -Ursprungligt meddelande- Från: PELOQUIN,JEFFREY (Non-HP-Boise,ex1) Till: 'Tomcat Users List' Skickat: 2002-07-08 16:24 Ämne: RE: LoadOnStartup woes We have noticed that the load on startup number only works

RE: Feasibility question

2002-07-08 Thread Andy Eastham
Iain, I don't think session sharing is easy, but you can implement login using cookies, which will be shared if they come from the same server (or domain if they are domain cookies). Another alternative is to pass a session id in the URL, and store session information yourself in a server

Re: Feasibility question

2002-07-08 Thread Iain Downie
Andy, Of course, non of these are as easy or efficient as the off the shelf sessions, but all are valid ways of achieving what you want. if you can spare a minute, can you be more specific about these 'off the shelf' sessions? Thanks Iain -- To unsubscribe, e-mail: mailto:[EMAIL

RE: mod_webapp.so

2002-07-08 Thread Mario Henley Becerril Geldis
On Fri, 5 Jul 2002, Ten-Hung Chu wrote: As I mentoned below, you need to add this line AddModule mod_webapp.c after the LoadModule line in httpd.conf, check INSTALL.txt for more detail. Document say: !-- The MOD_WEBAPP connector is used to connect Apache 1.3 with Tomcat 4.0

Tomcat 4.0.3 and relative path includes.

2002-07-08 Thread Paul landolt
Hello All. I am a New poster, so I hope I'm following proper protocol. I am having trouble with relative path @includes in Tomcat 4.0.3. An include from the same directory is fine, as is an include from a sub-directory, like so: %@include file=inc.jsp% %@include file=test2/inc.jsp% However,

RE: Custom security realm/class loader issues

2002-07-08 Thread Cox, Charlie
-Original Message- From: Ravindar Reddy [mailto:[EMAIL PROTECTED]] Sent: Monday, July 08, 2002 10:20 AM To: 'Tomcat Users List' Subject: Custom security realm/class loader issues I wrote a custom security realm for authentication. This realm class is referring to the

RE: Feasibility question

2002-07-08 Thread Andy Eastham
Iain, By off the shelf sessions, I mean the ones you are already using when you don't need to share them across webapps (ie created by the servlet container by request.getSession(true)). Sorry for the confusion. Andy -Original Message- From: Iain Downie [mailto:[EMAIL PROTECTED]]

Re: RE: manager does not want my password (SOLVED)

2002-07-08 Thread Frederic Barachant
Okay, found where the problem lied. I started tomcat using the startup.sh file, that created the correct CATALINA_HOME env for the instance, but did not set it as global env in my .bashrc. the env was just not set, thus empty. Once i set this env, it worked. So, it seems that there is a problem

RE: mod_webapp.so

2002-07-08 Thread Ten-Hung Chu
Not sure about enable-rule=SHARE_CORE, when I build Apache 1.3 I did ./configure --enable-so to enalbe DSO. Also, to clarify (both connect to Tomcat 4.0.4) For Apache 1.3.26 I add four lines to httpd.conf LoadModule webapp_module libexec/mod_webapp.so AddModule

Re: manager does not want my password (SOLVED)

2002-07-08 Thread Paul landolt
I'm not sure if you're aware of this, but when forwarding your tomcat-users.xml, you sent the manager password as well. Just FYI. ...Paul Frederic Barachant wrote: Okay, found where the problem lied. I started tomcat using the startup.sh file, that created the correct CATALINA_HOME env

Tomcat 4.0.4 and relative path includes.

2002-07-08 Thread Paul landolt
My mistake, that was Tomcat v4.0.4, not v 4.0.3 Paul landolt wrote: Hello All. I am a New poster, so I hope I'm following proper protocol. I am having trouble with relative path @includes in Tomcat 4.0.3. An include from the same directory is fine, as is an include from a sub-directory,

Re: JAXM JAX-RPC??? help!!!!

2002-07-08 Thread Craig R. McClanahan
On Mon, 8 Jul 2002 [EMAIL PROTECTED] wrote: Date: Mon, 8 Jul 2002 11:21:23 +0200 From: [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: JAXM JAX-RPC??? help I'm trying deploying web services with JWSDP in tomcat. Is

Re: Default Servlet Parameters

2002-07-08 Thread Craig R. McClanahan
On Mon, 8 Jul 2002, Mark O'Driscoll wrote: Date: Mon, 8 Jul 2002 14:48:49 +0100 From: Mark O'Driscoll [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Default Servlet Parameters I have a supplementary question to this.

Tomcat access to servlet's in JAR that is in WAR file

2002-07-08 Thread Hanasaki JiJi
Is there some way to tell Tomcat how to locate .class and servlet.class files that are in a JAR that is in a WAR? ex: app.war contains lib/servlets.jar Thank you. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: How to pre-compile JSP's ?

2002-07-08 Thread Mykola A. Nickishov
John W. Warner [EMAIL PROTECTED] writes: 1) If you use ANT or can use ant... Put the following in the build script. !-- JSPC Precompile -- target name=jspc depends=init java fork=yes classname=org.apache.jasper.JspC arg line=-uriroot /your/Catalina_home/webapps/context -d

RE: Apache plugin for Tomcat 4.0.3 for Windows 2000

2002-07-08 Thread Andrew Conrad
Jamal, A good place to look for information is in the archives of this mailing list. http://www.acg-gmbh.de/mod_jk/ The following info was pulled from there: help file for a Win2k, Apache2, Tomcat4 install http://www.galatea.com/flashguides/apache-tomcat-24-win32.xml mod_jk.dll for Apache

RE: I fail to get green arrow for filter status.. IIS with Tomca t

2002-07-08 Thread Andrew Conrad
I have never configured IIS on Tomcat 3.2.4. If you want to do Tomcat 4.x, try following this helpfile, and use the files available for download there. (isapi_redirector.dll is 239k I believe) http://www.acg-gmbh.de/mod_jk/ - Andrew -Original Message- From: Anoop Kumar V

Re: Re: manager does not want my password (SOLVED)

2002-07-08 Thread Frederic Barachant
At 08/07/2002 11:36:00, you wrote: I'm not sure if you're aware of this, but when forwarding your tomcat-users.xml, you sent the manager password as well. Just FYI. yes, i'm aware. there was nothing anyone could do to anything at this time. i've now changed passwords. Thanks for the advert,

RE: j_security_check question: RequestDispatcher .forward!! PLZ HELP!

2002-07-08 Thread Kevin Andryc
I was wondering if anyone had an answer to this or should I e-mail the Developers group? I found this snippet on the web and tried what they suggested and it still doesn't work: [begin quote] One approach that will work in Tomcat 4.0 (because it was planned that way in the servlet 2.3 spec) is

RE: memory usage (longish)

2002-07-08 Thread Simon Juden
Thanks Jens - yes what you say about the memory makes sense (there's not that much in the cache when the thing's running btw ;-). Has anyone else had this kind of issue using tomcat 3.2.4 with a Sun JVM (specifically 1.3.1_01 on Red Hat Linux 7.3 (Valhalla)) - and if so what fixed it? Thanks

RE: Connection Pooling?

2002-07-08 Thread Andrew Conrad
The error msg makes me unsure of the problem you are having. You could either be having a JNDI problem or a DBCP problem. To identify this, try adding this code //* Try { Context invCtx = new InitialContext(); if(invCtx == null ) throw new Exception(Boom - No

RE: I fail to get green arrow for filter status.. IIS with Tomca t

2002-07-08 Thread Andrew Conrad
Yea, you have a mis-spelling in your uriworkermap.properties file. BTW, use AJP13, not AJP12. S, your uriworkermap.properties file should look like this: -start file - # # Simple worker configuration file # default.worker=ajp13 # Mount the servlet context to the ajp12 worker

Re: New to Tomcat/Mac OS 9

2002-07-08 Thread Aldo Bergamini
Peter Werno is believed to have said: Hello Aldo, this is more guessing than knowing, but the Apple MRJ / JDK isn't Java 2. If tomcat 3.3.x uses some Java 2 commands then you'd need to upgrade to OS X (which runs any kind of Tomcat just fine) You should probably post this on the

RE: Tomcat 4.0.3 and relative path includes.

2002-07-08 Thread Andrew Conrad
So you are trying to leave your current Context and go into the base context? Have you set your Context attribute CrossContext to true? Have you tried making a subdirectory in your current Context, place this file with the relative include in it, and tried to request the file from the base of

Library problem (and JBuilder/Tomcat issue?)

2002-07-08 Thread Iain Downie
Dear list, I have inherited a legacy application, which uses DataSources defined within the server.xml of Tomcat 4 connecting to a database. To get the basic system working, I first create a .war in JBuilder6Pro on my PC, then FTP the .war, and then use manager to deploy correctly on my remote

Re: WARP + SSL + request.isSecure() request.getScheme()

2002-07-08 Thread @Basebeans.com
Subject: Re: WARP + SSL + request.isSecure() request.getScheme() From: Sebastian Millies [EMAIL PROTECTED] === If the problem is not a configuration mistake, but a connector bug (in that it is not passing the correct information to Tomcat), you could perhaps base all your decisions simply on

Re: New to Tomcat/Mac OS 9

2002-07-08 Thread Martin Jacobson
Aldo Bergamini wrote: Peter Werno is believed to have said: Hello Aldo, this is more guessing than knowing, but the Apple MRJ / JDK isn't Java 2. If tomcat 3.3.x uses some Java 2 commands then you'd need to upgrade to OS X (which runs any kind of Tomcat just fine) You should probably

Re: Accessing Classes from different Context

2002-07-08 Thread stefan
Hi, ok, that's not so good, but well... But can I configure this on Tomcat 4.1.x ??? There exists a lot of different ClassLoaders, but we haven't tested Tomcat 4 yet! Are there some options to allow our Application-Monitor to access Classes from different Contexts? Thanx, Stefan -

Re: Accessing Classes from different Context

2002-07-08 Thread Craig R. McClanahan
On Mon, 8 Jul 2002 [EMAIL PROTECTED] wrote: Date: Mon, 8 Jul 2002 19:04:43 +0200 From: [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Accessing Classes from different Context Hi, ok, that's not so good, but well...

RE: Library problem (and JBuilder/Tomcat issue?)

2002-07-08 Thread Andrew Conrad
It sounds like your legacy application is using JNDI for connection pooling(not really a legacy model). I do not believe you are able to define a JNDI Resource in your server.xml file and not have the file located in your %CATALINA%\common\lib folder. It really sounds like you are trying to

Re: FW: Problems stopping tomcat 4.0.4 on linux

2002-07-08 Thread Bryan Zimmer
I'm afraid I got this wrong again. I checked my process table again and indeed Tomcat had not started at all, and upon trying to stop, I got the exact message you described, Connection refused. What worked for you in this circumstance? I don't think I am doing anything different as far as

authentication problem

2002-07-08 Thread Koes, Derrick
Configuration: Tomcat 4.0.4 Apache 2.0.39 I'm successfully authenticating to my index.jsp, however when I attempt to access the other servlet (MediaContentHandler) identified in my web.xml deployment descriptor I am prompted to login again. Since this servlet is not in my security

Re: New to Tomcat/Mac OS 9

2002-07-08 Thread Aldo Bergamini
Martin Jacobson is believed to have said: Don't avoid OS X! Developing Java Apps on OS9 and before was terrible, to say the least! On Mac OS X it's much, much better! I recommend that Martin, OS X is in my plans. BUT: for somebody like myself with no Unix experience it's a big jump. So I

Re: Feasibility question

2002-07-08 Thread Will Hartung
To wit he means that with the built-in session management, you pretty much don't have to do anything. It all comes down to how much information you need to share across applications. If you want to store the stuff in memory, then the Singleton class in the system classpath mentioned previously

Re: How to detect whether Tomcat is running?

2002-07-08 Thread Will Hartung
Of course, the other detail is the definition of Is Tomcat Running. Firstly, Tomcat knows how to talk to itself through a management socket of somekind, is that protocol documented anywhere? That protocol is what is used to shut down Tomcat remotely. If that protocol is documented, that would

Failed JDBC connection hangs Tomcat

2002-07-08 Thread Bill D
Let me first set up my situation. On my server, I have two webapps running, webapp A and webapp B. Webapp A uses JDBC Thin driver to contact an Oracle database at remote location 1. Webapp B uses JDBC Thin driver to contact an Oracle database at remote location 2. If the internet connection

Re: Accessing Classes from different Context

2002-07-08 Thread stefan
Thanx! cu Stefan - Original Message - From: Craig R. McClanahan [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, July 08, 2002 7:11 PM Subject: Re: Accessing Classes from different Context On Mon, 8 Jul 2002 [EMAIL PROTECTED] wrote: Date: Mon, 8 Jul 2002

webapp + apache (1.3/2.0) + ssl

2002-07-08 Thread Sam Ewing
Anyone with experiences to share? From what I could figure out, I need to do a 'SSLEngine on' in the virtualhost in httpd.conf. Do I need to have two WARP connectors defined? On for the SSL and one for non-SSL servlets? __ Do You Yahoo!? Sign

RE: How to detect whether Tomcat is running?

2002-07-08 Thread Jack Li
Thanks, The method of check a stream in a jsp page works great. Thank you very much. Jack Li -Original Message- From: Will Hartung [mailto:[EMAIL PROTECTED]] Sent: Monday, July 08, 2002 2:17 PM To: Tomcat Users List Subject: Re: How to detect whether Tomcat is running? Of course, the

J-T-C build problem?

2002-07-08 Thread Robert Priest
Anyone else having these. I do not believe that I have modified any files here: First One: iis: [so] Compiling 2 out of 41 Compiling D:\Test\jakarta\cvs\jakarta-tomcat-connectors\jk\native2\server\isapi\ jk_isapi_plugin.c [so] Compile failed 2

RE: plain MySQL DataSource in Tomcat (i know, damn topic)

2002-07-08 Thread Clay Graham
Marc, I have read this, and your excellent howto, http://marc.theaimsgroup.com/?l=tomcat-userm=102225547106556w=2 and I am still having a problem at the startup of the tomcat server. The JNDI service is failing before I even get a chance to test it my server.xml and JNDI naming is

RE: Connection Pooling?

2002-07-08 Thread Clay Graham
I am using Tomcat 4.1.2 mm.mysql-2.0.14-bin.jar it is difficult for me to find the version info on commons-dhcp and commons-pool, any hint on this would help. I guess I am a little frustrated with all the version dependencies, no one to gripe at really, just venting. THANKS TO ALL! clay

Re: Tomcat 4.0.3 and relative path includes.

2002-07-08 Thread Paul landolt
1) I'm not precisely clear on your use of the Context (I am a tad new at this). I would assume from your question that the proper response is this: I am tryig to leave my current Context and go to a 'parent' Context, not nessesarily the base context. My test structure works out to the following:

return codes for error handling

2002-07-08 Thread Frank Apap
When a jsp, or servlets exceptions are handled by an error page either via jsp errorPage or error-page in web.xml is the response 200OK or 500 ? or something else? Thanks Frank

image url problem

2002-07-08 Thread Koes, Derrick
I am trying to include an image in a pdf document generated from a servlet. The image url is another servlet which retrieves the image from the database. Using the fo:external-graphic element, I get the following in the log: 2002-07-08 15:08:11.239 [Ajp13Processor[8009][0]] ERROR DoraLogger

Error: 500 (Response has already been committed) !!!

2002-07-08 Thread Henry Penaranda
I have this message: Error: 500 Location: /anydirectory/jsp/anyfolder/anyfile.jsp Internal Servlet Error: java.lang.IllegalStateException: Response has already been committed at org.apache.tomcat.core.HttpServletResponseFacade.sendError(HttpServletResponseFacade.java:157) at

Starting tomcat in a graphical environment????

2002-07-08 Thread Carlos
Hi Forum, Is it possible to start tomcat in a graphic environment in Linux RedHat? If so does anyone have a script to do this? Thanks in advance, -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

NT Realm (not fully functional yet)

2002-07-08 Thread Douglas, Rory
Title: NT Realm (not fully functional yet) Hi there If anyone is interested, I've written a Realm class that uses Andy Armstrong's Tagish JAAS NT Login Module to authenticate users against NT domains, assigning them Roles based on their NT Group membership. The catch is that while the code

Re: Starting tomcat in a graphical environment????

2002-07-08 Thread steve Burrus
Hi Carlos, this is Steve Burrus, and I would like to ask u the question: What version of RedHat Linux are you using??! ** Carlos wrote: Hi Forum, Is it possible to start tomcat in a graphic environment in Linux RedHat?

RE: Failed JDBC connection hangs Tomcat

2002-07-08 Thread Andrew Conrad
That sounds like a threading issue for the JDBC Driver, if you are using the same instance. You could move the Oracle Driver to the WEB-INF\lib directory for each webapp. - Andrew -Original Message- From: Bill D [mailto:[EMAIL PROTECTED]] Sent: Monday, July 08, 2002 2:05 PM To: [EMAIL

Error received in mod_jk.log / Getting Blank JSP pages

2002-07-08 Thread Mark Hutchinson
When ever I try to access a JSP page, I get a returned blank page (here is the source of the received page: htmlbody/body/html ) and I get this in the mod_jk.log [Mon Jul 08 13:43:30 2002] [jk_worker.c (123)]: Into wc_get_worker_for_name ajp13 [Mon Jul 08 13:43:30 2002] [jk_worker.c

RE: Failed JDBC connection hangs Tomcat

2002-07-08 Thread Bill D
I attempted that, and webapp B still hangs up waiting on webapp A. --- Andrew Conrad [EMAIL PROTECTED] wrote: That sounds like a threading issue for the JDBC Driver, if you are using the same instance. You could move the Oracle Driver to the WEB-INF\lib directory for each webapp. -

Re: Tomcat 4.0.3 and relative path includes.

2002-07-08 Thread Paul landolt
Andrew, Perhaps you might be able to take a quick peek at my demo web app to see if there's any way of getting this working, or at least to give a rudimentary explanation as to why it won't (or shouldn't) work. It is worth noting that this very war file was deployed on Bea Weblogic 6.1 and it

RE: Error: 500 (Response has already been committed) !!!

2002-07-08 Thread Dave Been
I have seen this when trying to write headers on an already flushed response (hence committed). By moving my header writes up above the data write for the post response, i avoided the problem. I think this only came up when i went from tomcat 4 to 4.0.4, but its been awhile now. dave

RE: Starting tomcat in a graphical environment????

2002-07-08 Thread Carlos
Red Hat Linux release 7.2 (Enigma) Kernel 2.4.7-10 on an i686 Carlos Oliva Senior Programmer/Analyst Positive Business Solutions, Inc. Cincinnati, OH 45240-1640 (513) 772 - 2255 ext 129 [EMAIL PROTECTED] Yahoo ID: ramboid_1997 -Original Message- From: steve Burrus [mailto:[EMAIL

RE: Tomcat 4.0.3 and relative path includes.

2002-07-08 Thread Andrew Conrad
Little background real quick. Tomcat allows you to define an application Context in the server.xml Such that, if you wanted a webapp called MyApp, you would set up a Context in your server.xml file with the path /MyApp and the docBase attribute pointing to the location of your web app. In my

RE: Failed JDBC connection hangs Tomcat

2002-07-08 Thread Andrew Conrad
You probably did this but I'll ask anyways. When you put the jars in the WEB-INF\lib folders, did you make sure to delete the shared versions from %CATALINA%\lib and %CATALINA%\shared\lib ? Again it may be a problem with the JDBC Driver. Check on the Oracle forums to see if anyone is having

Re: New to Tomcat/Mac OS 9

2002-07-08 Thread Bill Barker
- Original Message - From: Aldo Bergamini [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, July 08, 2002 10:40 AM Subject: Re: New to Tomcat/Mac OS 9 Martin Jacobson is believed to have said: Don't avoid OS X! Developing Java Apps on OS9 and before was

Security of Tomcat sites

2002-07-08 Thread mls
I run a couple of websites off of Tomcat 4.x (standalone). Is there a concept of hardening Tomcat, like there is for OS? Any automated programs or recipes out there for testing how secure my installation really is? Thanks, das -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

  1   2   >