RE: Trouble with ant install command and ResourceLink

2003-03-30 Thread johannes . fiala
hi jacob, thx for the input, now it works smoothly. However, it would be great if the config-parameter gets mentioned in the manager app howto http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html target name=install description=Install web application depends=compile

SOLVED RE: Trouble with ant install command and ResourceLink

2003-03-30 Thread johannes . fiala
Hi Jacob, My solution for the problem: target name=install description=Install application to servlet container install url=${manager.url} username=${manager.username} password=${manager.password} path=${app.path}

SOLVED: Preview Tomcat XML documentation locally with IE 6.0

2003-03-30 Thread johannes . fiala
Hi there, Has anybody yet tried to preview a xml file from the tomcat docs locally with MS IE? I think this makes sense if you add some sentences and want to see the results without ant rebuild. There are only two minor things MS IE 6.0 complains: *) the src and *) the alt variables are

Strange naming effect when trying to compile JSP using JSPC

2003-03-30 Thread johannes . fiala
hi there, Imagine the following file structure for the ant build process: /jsp/firstpart/form.jsp /jsp/secondpart/form.jsp if I try to compile these jsps using jspc, they get generated as expected to /jsp-src/firstpart/form_jsp.java /jsp-src/secondpart/form_jsp.java == Then I try ant compile,

JSP Taglib resolution trouble

2003-03-30 Thread johannes . fiala
Hi there, If I try to compile a JSP with an absolute URI to a taglib like %@ taglib prefix=c uri = http://java.sun.com/jstl/core; % then the compiler complains: jspc: 2003-03-30 12:30:05 - ERROR-the file '\views\mylist\list.jsp' ge nerated the following general exception:

Library management for Tomcat using ant

2003-03-30 Thread johannes . fiala
Hi there, I know this is more a question about ant, but maybe a tomcat user here has faced the same issue as I do when using a central lib directory for all of the JAR files in the various webapps: In the prepare task I copy the JAR files I need for my webapp into the WEB-INF/lib folder in

Jasper2 (JSPC) compiler option for WEB-INF directory?

2003-03-30 Thread johannes . fiala
Hi there, I have the following file structure: /jsp/myfile.jsp /web/WEB-INF/web.xml /web/WEB-INF/c.tld When I run ant jspc, it looks for the web.xml file in the /jsp/WEB-INF/web.xml directory. So I always have to copy the /web/WEB-INF folder to the jsp directory. Is there a way to tell the

Re: Library management for Tomcat using ant

2003-03-30 Thread jerome moliere
[EMAIL PROTECTED] wrote: Hi there, I know this is more a question about ant, but maybe a tomcat user here has faced the same issue as I do when using a central lib directory for all of the JAR files in the various webapps: In the prepare task I copy the JAR files I need for my webapp into the

Re: Library management for Tomcat using ant

2003-03-30 Thread johannes . fiala
Hi Jerome, Yes, certainly that's what I thought at the first glance as well. But wouldn't it make more sense to make the fileset importable from another file (i.e. extend the FileSet datatype to allow imports from another file)? e.g. build.xml: copy todir=${build.home}/WEB-INF/lib

Re: Single sign on problem!!

2003-03-30 Thread Madhavi Thottempudi
Requesting again!!! Any suggestion on the below given problem??? btw, I am using Tomcat 4.0.4 regards, Madhavi At 17:22 28/03/2003 +, you wrote: Hi there! I am trying to use Single sign on feature of tomcat and got stuck. My problem is - even after configuring my webapps (all running under

Re: jni_connect.dll

2003-03-30 Thread Murtaza Bhaloo
- Original Message - From: Murtaza Bhaloo [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 28, 2003 2:29 PM Subject: jni_connect.dll hello i want to install tomcat version 3.2.4 .cannot locate jni_connect.dll pls let me know where to get this

Re: tomcat 4.1.18 NT service

2003-03-30 Thread Andrew Garnett
Yes Larry, that's the weird thing - everything looks fine until the hang, then the Iexplorer globe just keeps rotating. No response, no timeout, nothing in the log, it just goes on... I'll try to leave it overnight to see if it eventually returns. The worst part is that it does actually work for a

Porting a functioning Web App to Tomcat 3.2.4

2003-03-30 Thread Taylor, Robert
I have a Web App that I have successfully deployed to a JRun server, but when I try to port it over to Tomcat 3.2.4 I get the error that it cannot find my Servlet class. I hard coded the path to that class in my refering HTML page and it found the class properly, however I have several servlets

iPlanet and Tomcat 4.1.24

2003-03-30 Thread Fred Welland
I have dredge thru the archives and done a bunch of googling and can't quite seem to get all the needed pieces. I want to: have iPlanet iWS 4.1 sp 9 on Solaris 8 forward JSP/Servlet requests to Tomcat 4.1.24. I have seen the neshow page related to jk2, however it is very slanted to Win32.

Re: JSP Taglib resolution trouble

2003-03-30 Thread Dov Rosenberg
Make sure you add the TagLib definition in the web.xml. Dov Rosenberg On Sunday, March 30, 2003, at 05:32 AM, [EMAIL PROTECTED] wrote: Hi there, If I try to compile a JSP with an absolute URI to a taglib like %@ taglib prefix=c uri = http://java.sun.com/jstl/core; % then the compiler

Database connections and webapp reload in the Manager

2003-03-30 Thread Torsten
Hello! I'm working on a small webapp using Struts, which is accessing a MySQL database using a DataSource. It works very nice, but I have noticed that every time I reload the webapp using the Tomcat Manager, the current database connection is kept but next time the DataSource is used again a

Re: mod_jk2 logic check

2003-03-30 Thread Richard Anderson
I went through with your advice and it really removed the extra information from my files. The location directive works, but it maps the root of tomcat to the /ccpd directory and my configuration in workers2.properties file is ignored. What I really want is the /, root of ccpd.foo.edu to map

Re: Library management for Tomcat using ant

2003-03-30 Thread Phil Steitz
[EMAIL PROTECTED] wrote: Hi Jerome, Yes, certainly that's what I thought at the first glance as well. But wouldn't it make more sense to make the fileset importable from another file (i.e. extend the FileSet datatype to allow imports from another file)? e.g. build.xml: copy

Page not found errors with Tomcat 4.1.24

2003-03-30 Thread David Morris
I recently moved a site from Tomcat 4.1.12 to 4.1.24. That site runs a Struts 1.1-RC1 application. After the update, the main menu worked OK, but my application failed with a Page cannot be displayed error. I tried various URLs and could get Tomcat errors for any page that did not actually

Re: mod_jk2 logic check

2003-03-30 Thread Richard Anderson
Do you know if there is anything that explains the syntax of JkUriSet? This shows how to set a worker, but I still need to tell it what context to hook to. The way I read this is /ccpd is a directory that apache maps as http://ccpd.foo.edu/ccpd Location /ccpd JkUriSet worker

Tomcat-users.xml getting erased

2003-03-30 Thread Matt Raible
Every week or so, my tomcat-users.xml file is getting it's contents deleted. I'm assuming this probably happens when there is an abrupt shutdown of the server or something. Basically, when I can't login to my manager application, I look at tomcat-users.xml and all it has is: tomcat-users

Re: Virtual hosting mod_jk2

2003-03-30 Thread Richard Anderson
Thanks, I'm going to go back and try mod_jk for now and see how that goes. Thanks for the help. --Rick Quinton McCombs wrote: None at all. I think that I encountered a bug or two in mod_jk2. This is when you have two virtual hosts mapping the same path to the worker. Only the last map is

Re: Virtual hosting mod_jk2

2003-03-30 Thread Richard Anderson
Actually, I'm interested. I wanted to try things out first. What did you do for the workers.properties file? --Rick Richard Anderson wrote: Thanks, I'm going to go back and try mod_jk for now and see how that goes. Thanks for the help. --Rick Quinton McCombs wrote: None at all. I think

Re: Memory Woes

2003-03-30 Thread Mark Pease
Actually, this is 100% servlet-powered... no JSP pages are used. Anyone else know of any issues? Mark - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 28, 2003 8:17 AM Subject: Memory Woes Hello, Has anyone had any memory issues when running

SOLVED: Re: Library management for Tomcat using ant

2003-03-30 Thread johannes . fiala
hi phil, the issue has already been solved on the ant mailinglist. if any tomcat-user is interested, I post the answer of Jake here: If various lib.xml files contain contents similar to your copy task below, the build.xml file might look like ?xml version=1.0 encoding=UTF-8? !DOCTYPE

Re: Library management for Tomcat using ant

2003-03-30 Thread johannes . fiala
Hi Phil, Thx for your input, I already posted to the Ant forum - if they don't jump on this topic I'll try to use the links you sent and keep you posted on the results thx alot Johannes Phil Steitz [EMAIL PROTECTED] 30.03.2003 18:30 Please respond to Tomcat Users List [EMAIL

Re: JSP Taglib resolution trouble

2003-03-30 Thread johannes . fiala
Hi Dov, Do you know how to describe a taglib with an absolute uri (e.g. http://java.sun.com/jstl/core) in web.xml? Can you post a sample here? I haven't had to describe my taglib in web.xml yet, because I used the /WEB-INF/xxx.tld syntax in my JSPs, thus they always have worked so far! thx

?? Simple Newbie Question about Root Context ??

2003-03-30 Thread Tony LaPaso
My Tomcat skills are rusty -- I must be missing something easy here. I just installed TC v4.1.24 on Win 2k. The installation worked right out of the box. I didn't have to make any changes to the server.xml. TC is up and running but I'm seeing something strange I was hoping someone could explain:

Caching problem with sendRedirect

2003-03-30 Thread Jonathan Mangano
I appear to be having a problem with caching when using sendRedirect. I have two filters: The first creates/loads a user profile and stores it in the session. The second checks to see if the user profile id is contained in the query string, if not it uses a sendRedirect to the same url but with

Re: Page not found errors with Tomcat 4.1.24

2003-03-30 Thread David Morris
Through trial and error, I found that the CoyoteConnector seems to be the root of the problem. My pages are served up find with the HttpConnector. I originally switched to the CoyoteConnector when I saw that the HttpConnector was deprecated. Does anyone know if this is a bug and if it has

Re: ?? Simple Newbie Question about Root Context ??

2003-03-30 Thread Carol Carrick
Although I am really a newbie, I have the same o/s system. I have trouble loading my pages until I created them under the ROOT path and uncommented the section you are referring to. Here is a good web reference. http://www.moreservlets.com/Using-Tomcat-4.html - Original Message -

Re: ?? Simple Newbie Question about Root Context ??

2003-03-30 Thread Tony LaPaso
Well, I don't have to create pages under ROOT as you did, but that's a separate issue from what I'm asking. - Original Message - From: Carol Carrick [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, March 30, 2003 3:50 PM Subject: Re: ?? Simple Newbie Question

Re: ?? Simple Newbie Question about Root Context ??

2003-03-30 Thread Carol Carrick
The website I sent tells you to take the comments out. - Original Message - From: Tony LaPaso [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, March 30, 2003 5:01 PM Subject: Re: ?? Simple Newbie Question about Root Context ?? Well, I don't have to create pages

JkUriSet how to use

2003-03-30 Thread Richard Anderson
Can all the properties in worker2.properties be set with JkUriSet? Is there a detailed description of the command anywhere? The documentation on this page has a description of use without the syntax and examples.

workers2 context question

2003-03-30 Thread Richard Anderson
In the workers2.properties file why must the path specified in the [uri:] be equal to the context path? [uri:/ccpd.foo.edu/*] info=dir ccpd context=/ccpd.foo.edu ---desired version--- [uri:/ccpd/*] info=dir ccpd context=/ccpd.foo.edu -or even better, a virtual host-

RE: it's always the simplest things (redeploy)

2003-03-30 Thread Jeff Jensen
To get Tomcat to recognize the new deploy, the previous deploy has to not exist! It only recognizes a new war on its first deploy. So you have to delete the previous files. Manually, in webapps, first delete the war, then the respective exploded dir hierarchy, and finally the respective dir in

Re: JSP Taglib resolution trouble

2003-03-30 Thread Dov Rosenberg
That is what we do as well. Here is what I have added in our web.xml taglib taglib-uri/CAStaglib/taglib-uri taglib-location/WEB-INF/tlds/conviveon.tld/taglib-location /taglib I would expect the taglib-location could just as easily be a URL. In our JSP

Re: shared resources

2003-03-30 Thread Pat McGroin
Craig, Thanks again for the information. The info. you've supplied has been very useful. However, my problem remains: I cannot access the class that resides in a JAR file (utilities.jar) in tomcat_home/shared/lib and get a java.lang.NoClassDefFoundError I am spinning my wheels on this so

Re: ?? Simple Newbie Question about Root Context ??

2003-03-30 Thread Tony LaPaso
But my point is that everything works fine even *with* the comment. THAT is what's confusing. - Original Message - From: Carol Carrick [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, March 30, 2003 4:20 PM Subject: Re: ?? Simple Newbie Question about Root Context

RE: mod_jk2 logic check

2003-03-30 Thread Quinton McCombs
No. The docs say that anything you can set in the properties file can be set in httpd.conf. You might try JkUriSet context /xxx. -Original Message- From: Richard Anderson [mailto:[EMAIL PROTECTED] Sent: Sunday, March 30, 2003 11:03 AM To: Tomcat Users List Subject: Re: mod_jk2

Re: shared resources

2003-03-30 Thread Paul Hsu
Todd, You need to put your jar file under $CATALINA_HOME/common direcotry. $CATALINA_HOME/shared directory are only available to Catalina engine, not application but /common can be seen by both engine and application. Paul - Original Message - From: Pat McGroin [EMAIL PROTECTED] To:

Re: mod_jk2 logic check

2003-03-30 Thread Richard Anderson
Quinton McCombs wrote: No. The docs say that anything you can set in the properties file can be set in httpd.conf. You might try JkUriSet context /xxx. That does work. When I check the /jkstatus it shows up but the desired action doesn't happen or hasn't happened yet. --Rick

which IBM SDK for AIX to use with Tomcat 4.1.24?

2003-03-30 Thread Stephen Peterson
Hi, I'm trying to move from websphere to tomcat on AIX. At first I thought I could just use the same JDK that was installed with websphere: $ java -fullversion java full version J2RE 1.2.2 IBM build ca122-20011213was $ But this doesn' seem to work. I can setart Tomcat okay, but I get an error

RE: which IBM SDK for AIX to use with Tomcat 4.1.24?

2003-03-30 Thread Filip Hanik
use either 1.3.x or 1.4.x Filip -Original Message- From: Stephen Peterson [mailto:[EMAIL PROTECTED] Sent: Sunday, March 30, 2003 8:17 PM To: [EMAIL PROTECTED] Subject: which IBM SDK for AIX to use with Tomcat 4.1.24? Hi, I'm trying to move from websphere to tomcat on AIX. At

encoding problem

2003-03-30 Thread santhosh
Hello all, I am using struts in our project. application server is JBOSS with Tomcat as servlet container. If i set contenet type ans UTF-8 (%@ page contentType=text/html;charset=UTF-8%) in jsp i am getting the following error. org.apache.jasper.JasperException: null(-1,-1) Cannot read file:

Re: ?? Simple Newbie Question about Root Context ??

2003-03-30 Thread Micael
The reason has to be, then, that the startup of the webapp creates a default context on its own, because it cannot happen magically. I hope that does not sound smart-alexey but, rather, clear. At 08:14 PM 3/30/03 -0600, you wrote: But my point is that everything works fine even *with* the

Re: which IBM SDK for AIX to use with Tomcat 4.1.24?

2003-03-30 Thread Bill Barker
I agree with Filip. While TC 4.1.x is only supposed to depend on Java 1.2.x, the testing on 1.3 has been near zero. I have enough headaches fighting the Java version battles for TC 3.3.x, so I really don't want to take this one on. Filip Hanik [EMAIL PROTECTED] wrote in message news:[EMAIL