RE: mapping different JKMounts to same Tomcat context

2003-12-11 Thread Altankov Peter
Why dont you try the Apache's mod_alias directive: IfModule mod_alias.c Alias /xyz/ /path/to/abc /IfModule Since you have only 1 instance of tomcat and one instance of your webapp - this should do. -Original Message- From: Vijay Kandy [mailto:[EMAIL PROTECTED] Sent: 10 2003 .

Tomcat 5 Newbie

2003-12-11 Thread Dola Woolfe
Hi, Just switched from Tomcat 3.4 to 5.0 (Win platform). I copied my entire application from the old webapps dir to the new one, but when I start Tomcat (through the start menu) everything seems to run correctly, except I get the following error when I got to localhost:8080/myapp/index.jsp

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

2003-12-11 Thread Altankov Peter
Antonio Fiol wrote: If you really cannot follow any of the above, there is still one solution: - Make sure your servlet implements SingleThreadModel. This will ensure a different instance is used for all concurrent requests, or that no concurrent requests will occur. Hope that helps. Antonio

RE: How to get session in Session Bean ?

2003-12-11 Thread Bodycombe, Andrew
Sounds like you need to use a stateful session bean instead. -Original Message- From: Chirs Wahl [mailto:[EMAIL PROTECTED] Sent: 11 December 2003 03:11 To: Tomcat Users List Subject: How to get session in Session Bean ? Hi, I am using sevlet and stateless Session Bean , I want to get

strange error messages in tomcat log and mod_jk2 log

2003-12-11 Thread Chris Joelly
Hello! i found some strange error messages in both tomcat log and mod_jk2 log and i can't figure out whats going on: tomcat log: Dec 10, 2003 11:40:58 AM org.apache.jk.server.JkCoyoteHandler action SEVERE: Error in action code java.net.SocketException: Software caused connection abort: socket

Re: Tomcat 5 Newbie

2003-12-11 Thread Tim Funk
You probbaly have [EMAIL PROTECTED] buffer='BAD VALUE HERE' % -Tim Dola Woolfe wrote: Hi, Just switched from Tomcat 3.4 to 5.0 (Win platform). I copied my entire application from the old webapps dir to the new one, but when I start Tomcat (through the start menu) everything seems to run

Re: JNDI, DataSource, and ClassCastException

2003-12-11 Thread Jon Wingfield
It looks like a ClassLoader issue. Casting the same class loaded by two different CLs causes a ClassCastException. Have you got the jar containing org.enhydra.jdbc.pool.StandardXAPoolDataSource in more than one place? http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html

Not owner: Error while opening the workers, jk will not work

2003-12-11 Thread José Antonio Puga Facal
Hi managers! I tried to solve this problems through various ways but I couldn't find the solution. Any ideas? Thank you very much in advance. Toni Puga - To unsubscribe, e-mail: [EMAIL PROTECTED]

Working with the Jakarta NT Service document

2003-12-11 Thread Scott Schlatter
The document is great, except for section 1. Get a hold on the NT Executable The link doesn't link to the jk_nt_service.exe, and I cannot find the pesky file on the apache site at all... in fact, there is no win32/i386 directory in any of the binary archives that I found. The document is

collision of requests

2003-12-11 Thread Sergei P. Volin
Hi All, I've observed a few times how 2 the same requests that came from the 2 different user's hosts collide. By that I mean that the normal execution of that 2 requests is interrupted and server throws 500 error to BOTH users. How can it be? Tomcat 4.1.24/Struts1.1.3 Thanks in advance,

Apache Tomcat jk2... is it possible?

2003-12-11 Thread Federico Fernandez Cruz
Hi all! I am using tomcat 5 and I want to do some integration work with Apache and mod_jk2. Is there a direct way to map a whole web application in apache? It works but I have to write a lot of [uri:*] commands in mi workers2.properties file. I have tried WebXml2Jk but when I insert the

lost session

2003-12-11 Thread Lassaad Ghanmi
hello, want redirect a client from SSL to non-SSL; but I lose the session. can you help me, please, best regards, Lassaad. = DESIGN AND REUSE www.design-reuse.com http://www.design-reuse.com/

Re: Apache Tomcat jk2... is it possible?

2003-12-11 Thread Nikola Milutinovic
Federico Fernandez Cruz wrote: Hi all! I am using tomcat 5 and I want to do some integration work with Apache and mod_jk2. Is there a direct way to map a whole web application in apache? It works but I have to write a lot of [uri:*] commands in mi workers2.properties file. What do you

google yourself

2003-12-11 Thread Ostad, James
have you googled yourself at goole.com? I don't know how they get all of our listserv communications. Any one knows how they do that? James Ostad Application Developer/Analyst TMS Department Ex. 4457 E-mail: [EMAIL PROTECTED] Out--- (3)

Re: google yourself

2003-12-11 Thread Nikola Milutinovic
Ostad, James wrote: have you googled yourself at goole.com? I don't know how they get all of our listserv communications. Any one knows how they do that? There is a web archive of this list. Nix. - To unsubscribe, e-mail:

Re: Apache Tomcat jk2... is it possible?

2003-12-11 Thread Federico Fernandez Cruz
By whole web application I mean the entire application... well... I have a context inside Tomcat called UserMan. I want to map an Apache URL to this application... In my workers2.properties I put these lines... [uri:/UserMan] info=Example webapp in the default context. context=/UserMan debug=0

RE: Bug in jndi implementation : Tomcat 5 - jndi problem

2003-12-11 Thread Shapira, Yoav
Howdy, It's not a bug in the tomcat implementation -- tomcat does not have an external JNDI provider, while most full J2EE servers like the ones you mention do. So you can't connect to tomcat's JNDI contexts from outside the tomcat JVM. Please don't jump to conclusions without asking ;) Yoav

RE: Default context for web app

2003-12-11 Thread Shapira, Yoav
Howdy, Glad to hear the advice on autoDeploy worked -- thanks for posting the followup. Yoav Shapira Millennium ChemInformatics -Original Message- From: Kent Boogaart [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 10, 2003 6:52 PM To: '[EMAIL PROTECTED]' Subject: Re: Default

Re: Apache Tomcat jk2... is it possible?

2003-12-11 Thread Nikola Milutinovic
Federico Fernandez Cruz wrote: By whole web application I mean the entire application... well... I have a context inside Tomcat called UserMan. I want to map an Apache URL to this application... In my workers2.properties I put these lines... [uri:/UserMan] info=Example webapp in the default

Re: Apache Tomcat jk2... is it possible?

2003-12-11 Thread Jrg Werner
Hello! Please take a look at this thread http://www.mail-archive.com/[EMAIL PROTECTED]/msg110822.html In short, the solution is to build mod_jk2 from jakarta-tomcat-connectors-jk2-2.0.2-src.tar.gz and not from the sources bundled with tomcat. I had the same problem and it now works. Jörg --

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

2003-12-11 Thread Pitre, Russell
This should help you out.I tested it and worked like a charm! http://www.onjava.com/pub/a/onjava/2003/06/25/commons.html?page=3 Russ -Original Message- From: FTP Admin [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 10, 2003 4:29 PM To: Tomcat Users List Subject: jsp page

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

2003-12-11 Thread Philipp Taprogge
Hi! Antonio Fiol Bonnín wrote: My guess: req and res are attributes of the Servlet, like in: public class TestServlet extends HttpServlet { private HttpServletRequest req; private HttpServletResponse res; [...] } So you are calling forward(s) for a request once req and res have been

Apache 2.0.46 + Tomcat5 + JK2 problems

2003-12-11 Thread Jason Symons
I'm testing getting Apache 2 and Tomcat5 to work together using JK2 and JNI... I had it working fine under Tomcat 4, but when I try to migrate the same settings over Tomcat5 Apache just gives a generic 500 error when trying to pull up any page. It doesn't matter if the page exists or not

Image Viewing

2003-12-11 Thread Kiran Patel
I am using jsp and tomcat 4.1 for my web application. My application is viewing image which is in the webapps/image folder. This image can also be viewed from the internet by just typing the url. I want to block this since these are the confidential images. Does anybody know how to do that.

RE: Image Viewing

2003-12-11 Thread Shapira, Yoav
Howdy, Put the images directory under the WEB-INF directory and change your servlet accordingly. Yoav Shapira Millennium ChemInformatics -Original Message- From: Kiran Patel [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 9:53 AM To: [EMAIL PROTECTED] Subject: Image Viewing

Tomcat 5.0.16 : manager-app access - solved

2003-12-11 Thread Dirk Griesbach
I traced the problem down to the 'user_role' entry in the database: The role of the user used by the manager-app had role admin,manager (like in 'tomcat-users.xml' in a memory Realm) which does not work. Changing the user_role to 'manager' puts it..but now the admin-app using the same user

Tomcat4.1.29 Requested resource not available

2003-12-11 Thread Nadia Kunkov
Hi, I've just installed Tomcat4.1.29 and it's my first time configuring it from the scratch. I'm able to go to http://localhost:8080/examples or http://localhost:8080/tomcat-docs/index.html. But I have also created a new directory under $Tomcat_home/webapps called test. Under that I created

Directly j_security_check on Tomcat realms

2003-12-11 Thread Grzegorz Samborski
I have 2 aplications on Tomcat 4.1.29, one is designed for users(customers) another is designed for admin on both I use tomcat realms. I want to log on user from admin app. How to do that? I understand that i need to call directly j_security_check on user's app. How can I call directly

extended log format

2003-12-11 Thread Kumar M
Hello! Can tomcat 4.1.29 support logging access information in Extended Log Format (ELF)? If so how to configure the server.xml for this type of logging. I would like the following to be logged. Client IP, User, timstamp, status, request, protocol/version, response time, referrer, browser

RE: extended log format

2003-12-11 Thread Shapira, Yoav
Howdy, Read the AccessLogValve documentation (on the Valve configuration reference page). I believe ELF support was added in tomcat 5. Yoav Shapira Millennium ChemInformatics -Original Message- From: Kumar M [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 10:38 AM To:

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

2003-12-11 Thread Anthony Presley
Below On Thu, 2003-12-11 at 00:49, Antonio Fiol Bonnín wrote: Anthony Presley wrote: [... reduced to a minimum, but the problem still there ...] protected void forward(String s) { ServletConfig sc = null; ServletContext sContext = null; RequestDispatcher rd =

Re: extended log format

2003-12-11 Thread Tim Funk
Its in 4.1.29 and 5. The code is the same for both. I thought I had better docs for this somewhere. http://jakarta.apache.org/tomcat/tomcat-5.0-doc/catalina/docs/api/org/apache/catalina/valves/ExtendedAccessLogValve.html Anyhow - Its configured a lot like the AccessLogValve -Tim Shapira, Yoav

Re: Tomcat4.1.29 Requested resource not available

2003-12-11 Thread BAO RuiXian
Nadia Kunkov wrote: Hi, I've just installed Tomcat4.1.29 and it's my first time configuring it from the scratch. I'm able to go to http://localhost:8080/examples or http://localhost:8080/tomcat-docs/index.html. But I have also created a new directory under $Tomcat_home/webapps called test.

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

2003-12-11 Thread Altankov Peter
If you go for the SingleThreadModel, try this to workaround your problem: public class TestServlet extends HttpServlet implements SingleThreadModel { ... } However, this interface does not prevent synchronization problems that result from servlets accessing

Re: Apache Tomcat jk2... is it possible?

2003-12-11 Thread Federico Fernandez Cruz
Thanks! Now it works! :-) I can access my web application through SSL. How can I get all those SSL variables that apache has already set ? Should I tell something more to JK? Thanks! Jörg Werner wrote: Hello! Please take a look at this thread http://www.mail-archive.com/[EMAIL

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

2003-12-11 Thread Bodycombe, Andrew
A word of warning - synchronizing the forward() method does not stop another thread from changing the values of the 'req' and 'res' variables, so you will still get problems if you implement the first solution. -Original Message- From: Altankov Peter [mailto:[EMAIL PROTECTED] Sent: 11

cgi script not launching in Tomcat 5.0

2003-12-11 Thread Li, William
Hi, I did the config as per the documentation for CGI. I have a script /local/0/home/tomcat/webapps/ROOT/cgi-bin/printenv.cgi and it works fine on command line. But Tomcat doesn't like it: 2003-12-11 10:54:41 cgi: findCGI calc: name=printenv.cgi,

Re: extended log format

2003-12-11 Thread Kumar M
Thank you Tim and Yoav. I just got this working with 4.1.29 with the help of the documents you referred to and the one at http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/valve.html#Access%20Log%20Valve Logging has been so easy with Tomcat!. Tim Funk [EMAIL PROTECTED] wrote: Its in

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

2003-12-11 Thread Ben Souther
Why are you declaring req and res as global variables? The request and respnose objects get passed to the doGet and doPost methods by the container. On Thursday 11 December 2003 11:06 am, you wrote: A word of warning - synchronizing the forward() method does not stop another thread from

RE: Tomcat4.1.29 Requested resource not available

2003-12-11 Thread Nadia Kunkov
Thanks. I did http://localhost:8080/manager/install?war=test and got the error: Access to the specified resource has been denied/forbidden. What does that mean? In $Tomcat_Home/conf/tomcat_users.xml I have this: user name = Tomcat password = Tomcat roles = tomcat,manager/ (I'm not logged in

Re: Tomcat 5 Newbie

2003-12-11 Thread Dola Woolfe
Hi Tim, I have %@ page import=html.* buffer=16k % Is this not OK? I have to admit I don't even know why one would want to play change it. Pavel --- Tim Funk [EMAIL PROTECTED] wrote: You probbaly have [EMAIL PROTECTED] buffer='BAD VALUE HERE' % -Tim Dola Woolfe wrote: Hi, Just

Re: Tomcat4.1.29 Requested resource not available

2003-12-11 Thread Philipp Taprogge
Hi! Nadia Kunkov wrote: Thanks. I did http://localhost:8080/manager/install?war=test and got the error: Access to the specified resource has been denied/forbidden. What does that mean? In $Tomcat_Home/conf/tomcat_users.xml I have this: user name = Tomcat password = Tomcat roles =

Re: Tomcat4.1.29 Requested resource not available

2003-12-11 Thread BAO RuiXian
Nadia Kunkov wrote: Thanks. I did http://localhost:8080/manager/install?war=test and got the error: Access to the specified resource has been denied/forbidden. What does that mean? In $Tomcat_Home/conf/tomcat_users.xml I have this: user name = Tomcat password = Tomcat roles = tomcat,manager/

Re: Tomcat4.1.29 Requested resource not available

2003-12-11 Thread Ben Souther
You don't need to run the install and you don't need a web.xml file. Create a directory under webapps (test) and create a WEB-INF directory in it. Put a JSP in the test directory (test.jsp). The following will do: %=Hello World% Restart Tomcat. Point to http://localhost:8080/test/test.jsp

Serving files from a jar

2003-12-11 Thread Vijay Kandy
Hello All, Does Tomcat serve static files out of a jar file? If so what are the conditions? I have several .html and .gif files and when I deploy a war file that includes these static content (as individual files in a folder) Tomcat serves them perfectly fine. However I would like to zip them

Newbie question

2003-12-11 Thread Dave Robbins
Hello All, Hope someone can help me out. I developed a servlet using Netbeans and when I tried to deploy it I had problem In an attempt to debug, I went back to Netbeans and created the simplest servlet I could, it just prints out some text. Works fine in development environment. Netbeans has

Re: Tomcat 5 Newbie

2003-12-11 Thread Tim Funk
You need it to be in kb, not k: %@ page import=html.* buffer=16kb % Per the spec: [Table JSP.2-1] Specifies the buffering model for the initial out JspWriter to handle content output from the page. If none, then there is no buffering and all output is written directly through to the

Re: Newbie question

2003-12-11 Thread Ben Souther
First: Did Netbeans create a deployment descriptor for you (WEB-INF/web.xml)? If so, look for a servlet mapping in the descriptor. It will look something like this: servlet-mapping servlet-nameHelloWorldServlet/servlet-name url-pattern/HelloWorld/url-pattern /servlet-mapping

RE: Newbie question

2003-12-11 Thread Dave Robbins
I figured it out :-) the path to the servlet name foo is http:/www.xxx.yyy.zzz:8080/test/servlet/foo -Original Message- From: Dave Robbins [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 11:51 AM To: '[EMAIL PROTECTED]' Subject: Newbie question Hello All, Hope someone

RE: Newbie question

2003-12-11 Thread Wendell Holmes
Tomcat will not serve any files in WEB-INF or below that directly to a user, so that's probably why it's not in the dir listing. -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 9:55 AM To: Tomcat Users List Subject: Re: Newbie question

RE: Serving files from a jar

2003-12-11 Thread Shapira, Yoav
Howdy, A WAR file can contain images and static files outside a jar -- in fact, WAR is designed to do exactly that. To serve images directly out of a zip or jar files you have to write a servlet -- what would be the URL for these images? ;) Yoav Shapira Millennium ChemInformatics

RE: Tomcat4.1.29 Requested resource not available

2003-12-11 Thread Nadia Kunkov
Did that. Same message: The requested rsource not available. Something else is wrong... Thanks. -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 11:29 AM To: Tomcat Users List Subject: Re: Tomcat4.1.29 Requested resource not available You

How To Install an APP under Tomcat 4.1.29 ???

2003-12-11 Thread Richard Migneron
Hi all, I'm new to Tomcat. We have a small problem under Solaris 8. 1) We've read the documentation 2) We've skimped through all the past messages in the archive 3) Apache 1.3.29 has been configured with the following : --enable-rule=SHARED_CODE --enable-module=rewrite --enable-shared=rewrite

Re: Tomcat4.1.29 Requested resource not available

2003-12-11 Thread Ben Souther
A few things to check. 1.) Take a look at the Tomcat logfiles in TOMCAT_HOME/logs Always start there. 2.) Make sure Tomcat can find the javac compiler. Do you have a full j2sdk installed or just a JRE? Tomcat will run with a JRE but won't be able to compile your JSPs

JTA support in Tomcat

2003-12-11 Thread Swaminathan Gurumoorthy
We have a web application using Struts/Tomcat 4.1.18. We use the DAO pattern using JDBC to persist data. Right now our transactions are done using the Connection object. I am getting into a situation where I need to do a two phase commit in two different datasources. And I realise I may have

newbie simple question...

2003-12-11 Thread Andres Ledesma
Hi everybody, I'm pretty new to Tomcat and jsp development, I'm running tomcat 4.1 over red hat 8. I redirected default port to 80 on server.xml, and created an index.jsp page in wich I insert other jsp pages I created as templates usign : jsp:include page=templates/header.jsp

2 Tomcat on the same server

2003-12-11 Thread yuval
Hi, Is it possible to run 2 tomcats on the same server? And if so how do i configure the jk2 to work with both of them? Yuval

Re: Tomcat 5 Newbie

2003-12-11 Thread Dola Woolfe
Great Tim, Thank you. A couple words on why you would want to buffer? --- Tim Funk [EMAIL PROTECTED] wrote: You need it to be in kb, not k: %@ page import=html.* buffer=16kb % Per the spec: [Table JSP.2-1] Specifies the buffering model for the initial “out” JspWriter to handle content

RE: Serving files from a jar

2003-12-11 Thread Vijay Kandy
Thank you. Is there a way to tell the container to extract a certain zip/jar file within a war while it is being unpacked by the container? -Vijay -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 12:15 PM To: Tomcat Users List Subject:

Image Viewing

2003-12-11 Thread Kiran Patel
Thank you for the replay and your help. If I move the images under WEB-INF folder, I can't access the images from the application through the internet. The images can only be viewed if you login and start the application not by typing the url. For security purpose. Please help me if anybody

RE: Serving files from a jar

2003-12-11 Thread Shapira, Yoav
Howdy, No, there is no way to do that with current servers (it would defeat the purpose of jarring/zipping files). Yoav Shapira Millennium ChemInformatics -Original Message- From: Vijay Kandy [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 1:27 PM To: 'Tomcat Users List'

RE: Tomcat 5 and oracle

2003-12-11 Thread Jonathan Drnek
I've been spending some time RTFM with out much progress. I don't know if it matters but my data source is setup under GlobalNamingResources I do not have any context defined in server.xml instead I have the context in a file at conf/Catalina/localhost/metrology2.xml and it looks like Context

RE: Serving files from a jar

2003-12-11 Thread Vijay Kandy
I understand. Thanks Yoav. -Vijay -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 1:29 PM To: Tomcat Users List Subject: RE: Serving files from a jar Howdy, No, there is no way to do that with current servers (it would defeat the

RE: Image Viewing

2003-12-11 Thread Shapira, Yoav
Howdy, You asked how to block the user from seeing the images by putting the address in the browser. I told you one possible way, e.g. by putting them under WEB-INF. You can still access them from your servlets and JSPs from this location, but users can't. What part is unclear? Yoav Shapira

Re: Image Viewing

2003-12-11 Thread epyonne
Kiran, Yoav is right. The best way is to hide your files inside WEB-INF. You are contradicting yourself by saying you don't want people to access the images thru URL, but then you want to access those images yourself thru URL. You are not making sense and it is very bad design architecture. I

Question - TOMCAT

2003-12-11 Thread Mirna Misere
Does anyone have a solution to this problem? I would appreciate the help. I can't resolve the problem with TOMCAT connector. I get the following error java.io.IOException: Cannot recover key The keytool execution finalized succefull. Calling from browser the link https://server_name:8443

RE: Tomcat 5 and oracle

2003-12-11 Thread Jonathan Drnek
I got it. I was not putting the ResourceParams in my metrology2.xml file Thanks for the help Jon -Original Message- From: Jonathan Drnek Sent: Thursday, December 11, 2003 1:30 PM To: Tomcat Users List Subject: RE: Tomcat 5 and oracle I've been spending some time RTFM with out much

RE: Tomcat4.1.29 Requested resource not available

2003-12-11 Thread Nadia Kunkov
Well, there is nothing in the log, just starting/stopping Tomcat stuff... I can run any example in the /examples dir without a problem. I'm running as root, I'm logged in as root (I know it's bad, I have my reasons for it now) so I should have permissions to my test dir. I did login to manager as

Re: JSP Compile in Ant with Tomcat 5.0.16

2003-12-11 Thread Larry Karnowski
All, I've disovered the cause of my problems with the Ant build using the JspC task. I'm documenting the workaround here for anyone else having similar problems. I thought that the JSP Ant build was successful even though I was seeing errors with runtime compilation in Tomcat because Ant was

Re: Tomcat4.1.29 Requested resource not available

2003-12-11 Thread Ben Souther
Don't worry about the manager for now. Did you start tomcat as root? If so, it's probably not a permissions example. Did you check everything else on my list below? On Thursday 11 December 2003 02:05 pm, you wrote: Well, there is nothing in the log, just starting/stopping Tomcat stuff... I

RE: Tomcat4.1.29 Requested resource not available

2003-12-11 Thread Nadia Kunkov
Yes, my $Java_Home is fine, finds javac, and example servlets/jsp are running. Log is no help, nothing interesting in it. I'm logged in to my machine as root and start tomcat as root. I know that it sometimes changes the context and runs under Tomcat. In Tomcat4.0 it was set in

Can't get jk2 to work!

2003-12-11 Thread Dola Woolfe
Hi, I'm trying to get JK2 to work to integrate Apache 2.0.48 with Tomcat 5.0. I've followed instructions verbatim from http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/quickhowto.html Perhaps, that's the answer to my question (5.0 vs 4.1), in which case please point me to Tomcat 5.0

Re: How To Install an APP under Tomcat 4.1.29 ???

2003-12-11 Thread Jon Wingfield
I assume these are typos in the email, not your config: CATALINA_HOME=/files/apache/jakarta-omcat-4.1.29 ^ lt;Context path=/mid-tier debug=0 docbase=/files/ar/mid-tier reloadable=true/gt ^ ^ If tomcat has trouble loading the Context i would expect

RE: very basic winNT question

2003-12-11 Thread George Sexton
I think more likely, you need to increase your environment size by specifiying /E: in your command line to run CMD. -Original Message- From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 10, 2003 10:49 AM To: 'Tomcat-User List' Subject: very basic winNT

Re: JSP Compile in Ant with Tomcat 5.0.16

2003-12-11 Thread Remy Maucherat
Larry Karnowski wrote: All, I've disovered the cause of my problems with the Ant build using the JspC task. I'm documenting the workaround here for anyone else having similar problems. I thought that the JSP Ant build was successful even though I was seeing errors with runtime compilation in

Re: Default context for web app

2003-12-11 Thread Adam Hardy
On 12/11/2003 12:51 AM Kent Boogaart wrote: Wow - thanks for all the help people. Just thought I'd update you on how I resolved this. Firstly, I removed all Context elements from conf/server.xml except my own. Then I set autoDeploy to false on the Host element. This almost got everything working

Re: Can't get jk2 to work!

2003-12-11 Thread Mark Eggers
JK2 and JK are two different beasts. If you are going to use JK instructions in httpd.conf (which is what you have), then you will need to use mod_jk.dll. Go to here: http://jakarta.apache.org/site/binindex.cgi and select the JK 1.2 binaries to download. If you are going to use JK2, then you

Re: Can't get jk2 to work!

2003-12-11 Thread Dola Woolfe
Thanks! Yes, I'm intrested in the simplest to get running! So... which one is the normal socket configuration. I know it's a stupid question, but I don't know the answer. Is it OK that instructions are for 4.1 and I'm using 5.0? Thanks once again! --- Mark Eggers [EMAIL PROTECTED] wrote: JK2

Tomcat Manager App Question

2003-12-11 Thread Swaminathan Gurumoorthy
I was playing with the manager app to install my application on Tomcat in Windows 200. I have a myApp.war and also a context file myApp.xml which has resource definitions for my project. Now I tried something like this from my browser.

Re: context

2003-12-11 Thread Adam Hardy
Hi Jerald, I'm sorry but I've never had a Status 500 - no context configured. There must be something freaky in your context configuration. Is the manager app running? That is normally at localhost:8080/manager/html What does that say you have running in terms of contexts? What directories do

VERY weird problem with commons-logging and Tomcat5

2003-12-11 Thread Philipp Taprogge
Hi! I have a very disgusting problem here... I am developing a webapp which uses commons-logging and log4j. All I do is use the commons' Log and LogFactory in my application and place a log4j.properties file in my WEB-INF/classes. This property file looks like this (w/out the CR in the middle

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

2003-12-11 Thread Antonio Fiol Bonnn
Sorry, but I think your solution is not completely thread safe, because you do not declare doGet synchronized. If you did that, it would be thread safe. But what is the point then? Declare the servlet as implements SingleThreadModel, and you are done! Obviously, you will not avoid other global or

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

2003-12-11 Thread Antonio Fiol Bonnín
So . what your telling me, is that it's a concurrency problem created by having object attributes? That if they were, in fact being called more like: doProcess2 (); than like: doProcess1 (); I wouldn't have these problems? Very interesting. Not quite. I don't really understand your

admin interface: jdbcrealm usage

2003-12-11 Thread Ostad, James
I have implemented the jdbcrealm user authentication. Now when I go to the tomcat admin site, there is no sign of our users and roles. Am I supposed to assume that once I moved to jdbcrealm, I should forget about the admin site for user control? any comment? thanks, James Ostad Application

Tomcat 4.1.29 Clustering

2003-12-11 Thread Pitre, Russell
Hello All, I think this may be a question for Filip.I am testing a network load balancing and tomcat clustering configuration (InMemorySessionReplication)..Here's my setup: I have two servers both of which have IIS 5 and Tomcat 4.1.29 installed. I am using Microsoft Network Load

Re: Tomcat 5.0.16 : manager-app access

2003-12-11 Thread Adam Hardy
Hi Dirk, re: a FAQ or whatever, it's just a case of reading the tomcat 5 docs on the Jakarta website where appropriate. The manager app will only let you log on with the role 'manager'. If your user in that realm isn't in the role, you won't get in. You can change this in the

Re: google yourself

2003-12-11 Thread Adam Hardy
Amazingly it seems that google is down. Bang goes another myth. On 12/11/2003 02:41 PM Nikola Milutinovic wrote: Ostad, James wrote: have you googled yourself at goole.com? I don't know how they get all of our listserv communications. Any one knows how they do that? There is a web archive of

Re: Tomcat4.1.29 Requested resource not available

2003-12-11 Thread BAO RuiXian
Nadia Kunkov wrote: Well, there is nothing in the log, just starting/stopping Tomcat stuff... I can run any example in the /examples dir without a problem. I'm running as root, I'm logged in as root (I know it's bad, I have my reasons for it now) so I should have permissions to my test dir. I did

Re: Tomcat 5.0.16 : manager-app access - solved

2003-12-11 Thread Adam Hardy
Ah! If only you hadn't dropped the thread! Oh well, glad you got it sorted. As for the commas, looks like you found a bug - although I would check that user_roles=admin works for admin only as well. Adam On 12/11/2003 04:09 PM Dirk Griesbach wrote: I traced the problem down to the 'user_role'

Re: Directly j_security_check on Tomcat realms

2003-12-11 Thread Adam Hardy
On 12/11/2003 04:42 PM Grzegorz Samborski wrote: I have 2 aplications on Tomcat 4.1.29, one is designed for users(customers) another is designed for admin on both I use tomcat realms. I want to log on user from admin app. How to do that? I understand that i need to call directly j_security_check

Remember Me in Tomcat 5

2003-12-11 Thread Matt Raible
I have a Remember Me feature that I've been using in my webapps, and I'm having a hard time figuring out how to make it work (securely) on Tomcat 5. It works fine on Tomcat 4. Let me first explain how it works. 1. I put login.jsp and loginerror.jsp in a security folder at the root of my webapp.

errors from mod_jk2 / apache2

2003-12-11 Thread jon yeargers
After pounding my head on mod_jk2 for a few days I finally got the tomcat examples dir to appear.. woot!.. but my apache2 log is filling with errors v quickly. Can someone shed light on what configuration problems I have? Surely this isn't the normal output... [Thu Dec 11 13:51:18 2003]

Re: Image Viewing

2003-12-11 Thread Ben Souther
It sounds like what you're asking is: How can you allow users to view images via the app without allowing them to look at them directly with a browser? If that's what you want to do, it can be accomplished by writing a servlet that streams images and use it as the src attribute to your image

Load testing question

2003-12-11 Thread Howard Jim
Hello, I am running tomcat 4.1.18 using modjk2 from apache 2.0.46. I have been doing some playing around with Jmeter, running some scenarios against the application. Apache is setup to only handle the SSL and connections, with everything being passed to Tomcat, including static pages and

Re: How To Install an APP under Tomcat 4.1.29 ???

2003-12-11 Thread Richard Migneron
Yep, you assumed right. It's not that Tomcat ain't starting (I can get in the Admin menu and add users, I can get to the manager window (.../manager/html)), it's just that I can't add our purchased app !!! (BMC-Remedy's mid-tier add). I read a doc I got late and it seems that I also have to

RE: google yourself

2003-12-11 Thread Januski, Ken
The sad part of googling yourself is when you google for answers to a certain problem and end up getting an earlier post of your own on same topic as the first result. -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 4:30 PM To: Tomcat Users

Re: Default context for web app

2003-12-11 Thread Kent Boogaart
Hi Adam, I am currently running against version 4.1.27 of Tomcat. I did not alter the name of my deploy directory. Here is my Context element (with env entries removed): Context className=org.apache.catalina.core.StandardContext

Re: How To Install an APP under Tomcat 4.1.29 ???

2003-12-11 Thread BAO RuiXian
Richard Migneron wrote: Yep, you assumed right. It's not that Tomcat ain't starting (I can get in the Admin menu and add users, I can get to the manager window (.../manager/html)), it's just that I can't add our purchased app !!! (BMC-Remedy's mid-tier add). I read a doc I got late and it seems

Re: context

2003-12-11 Thread Jerald Powel
Hi Adam, It's sorted. To cut a long story short, the same people who 'configured' it so that webapps was completey separated from Tomcat, and removed the examples, also decided to use a renamed server.xml. Once I figured that out, and added the context, it ran fine. A joy of being a

RE: google yourself

2003-12-11 Thread Oscar Carrillo
LOL. I know that's happened to me too. That's when I know I'm in trouble :) Oscar On Thu, 11 Dec 2003, Januski, Ken wrote: The sad part of googling yourself is when you google for answers to a certain problem and end up getting an earlier post of your own on same topic as the first result.

  1   2   >