[OT] best hardware config for Tomcat

2003-06-18 Thread Antony
Hi all, If it is not the place to ask this question forgive me Please any one tell me a place to ask this question. I want to know the most suitable hardware configuration for Tomcat. We have to run both Tomcat and Oracle 8i on it. It is business( intranet ) application with about 10 u

Set System properties at TC startup

2003-06-18 Thread christian . schuster
Hi list, I have several web applications running. All of them have some properties equal. They are also important in order to the web applications working appropriatly. Is there a way at TC startup time to set these properties (just Strings) and in case the properties are not found to let TC i

Updating environmental/application variable

2003-06-18 Thread manjunath
Hi.. Sub: Updating environmental/application variable without restarting servlet engine i want to change my webapp environment data/variable (like session time out or maxInactiveInterval ) dynamically, means without restarting the web server i want to update the envirinment settings and serv

Re: Filters and Forwarding

2003-06-18 Thread Antonio Fiol Bonnín
If you are allowing incoming requests to Y, you can make X to sendRedirect() to Y. A bit slower, as it needs the client to access Y himself, but depending on your needs, it may work. Antonio Fiol Chisholm, Paul wrote: Hi, I have a servlet X that forwards to a servlet Y. When Y is requested d

Re: How do I easily set logging verbosity for coyote and the like?

2003-06-18 Thread Bill Barker
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi *, > > I'm using Tomcat 5.0.2 and J2SDK1.4.2 beta. The Tomcat log fills up with a > lot of INFO messages which I wouldn't like to see. (Stdout and stderr are > redirected to files.) Tweaking the debug and/or the verbosity attributes

Re: getting a reply like this.

2003-06-18 Thread Bikash Paul
Hi all friends, Iam also getting that mail whenever i post any query to this mailing list which "anto" got.If that is the case which "Andy" drescribed in his reply then Tomcat Admin should block that [EMAIL PROTECTED] email id. Regards Bikash --- anto paul <[EMAIL PROTECTED]> wrote: > Then why no

Re: Problems with XML parsers and webapps

2003-06-18 Thread Nikola Milutinovic
> All, > Our webapp was built to use the Xerces xml parser. I'm trying to > update our JDK and tomcat version to do testing for a production level > upgrade. I'm running into problems with the JVM using the Crimson > parse. The crimson parser does not agree with our XML files. Does > anyone kno

Re: Can I set up 2 realms for the same server so I can access 2 databases

2003-06-18 Thread Bill Barker
Actually Angus' comment isn't really true. You just configure a seperate Realm under each of your s, and Tomcat should do exactly what you want. "Angus Mezick" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] According to the spec, you can have 0 or 1 realms configured. Now, if you wa

Re: getting a reply like this.

2003-06-18 Thread anto paul
Then why not the Tomcat list admin block the [EMAIL PROTECTED] e-mail id. ? - Original Message - From: "Andy Eastham" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, June 18, 2003 8:17 PM Subject: RE: getting a reply like this. > Anto, > > When you post to

Problem implementing JAAS in Tomcat 4.1.2

2003-06-18 Thread Loyd Bacani
I am trying to implement JAAS in a web application by using Tomcat's implementation of JAAS (JAASRealm). I've been getting an exception (pls see below) by using the same source code with different Tomcat configuration (server.xml ). I've used this code in Weblogic 6.X without any problem. If thi

Container Security and Resource Access

2003-06-18 Thread Lior Shliechkorn
Hi, My question is regarding using Tomcat (4.1.18) container security, with using a JDBCRealm along with a security constraint for FORM type loggin in. Ok, before I start confusing myself and you, let me be more clear. I'm using Tomcat with win2k pro, and currently the system is running with no

Re: Tomcat Standalone and Virtual Hosting

2003-06-18 Thread Yoav Shapira
Howdy, This partially depends on your OS. If you're on windows, you can just run tomcat on port 80. If you're on unix, port 80 is privileged and you need to: - Work around that, e.g. by using sudo or commons-launcher - Put an Apache front-end to serve static content on port 80, and connect it to

IIS-Redirector Error (Dr Watson called)

2003-06-18 Thread Wellington João da Silva
HI all, I've followed the steps to set up IIS to cooperate with Tomcat. I'm using Windows NT 4.0 / IIS4.0 / JDK 1.3. ISAPI Filter (Jakarta redirector) is up and running (green arrow). IIS is set to use https. Everything WAS working properly but now, when IIS redirector is called, INETSRV.EXE

RE: IIS ISAPI Redirect problems (was Re: context.xml question)

2003-06-18 Thread Jose Santiago Oyervides Gonzalez
OK, I'm having error 404, with MSIE, setting as proxy the server IP, port 80, this way I can access the domains as they are been served in the machine. I'm not doing this in production yet. I have the friendly error messages turned off. BTW, If a access my domain setting the IE with server IP, port

Bugs with Session Replication

2003-06-18 Thread Carlos-Roberto Queiroz
Hello, could anyone help me ? I ´ve tried three implementations for session replication with Tomcat (4.1.18 on Red Hat 7.2) but I´ve got problems with all of them. I first used the solution discussed in Filip Hanik´s article on ServerSide, "In Memory Session Replication in Tomcat 4", but ever

Re: Invalid pc in line number table

2003-06-18 Thread Val T.
Hi, I just wanted to post the fact that this error message has been cleaned up. I deleted the file that was giving me problems and dropped in a copy from the site where it was working fine. They were both originally copied from the same source, so I don't really know what the difference was. I g

RE: Singleton across multiple contexts

2003-06-18 Thread Jacob L E Blain Christen
> I do have a database. Databases are supposed to store data, > aren't they? ;-) Yeah, which is why ... > Now seriously... My application includes a web interface to a "kind of" > workflow system. > > This component is the "workflow engine", which is in charge for > automatic (background) sta

RE: Tomcat Standalone and Virtual Hosting

2003-06-18 Thread Jacob L E Blain Christen
> I have a web application deployed under Tomcat v4.1.18 (port 8080). Is it > also possible to configure the Tomcat Standalone Service to > support virtual > hosting, but on port 80? If so, how is this accomplished? What is the > "best practices" method for storing static web content in this si

IIS ISAPI Redirect problems (was Re: context.xml question)

2003-06-18 Thread Jason Bainbridge
G'day, You're welcome. :) In future though I suggest you post questions to the list and not direct to an individual you are much more likely to get help that way. :) (I've CC'd the list with this) As to your problem, can you give a few more details? Is the 404 being thrown by IIS or Tomcat? If

NullPointerException in classloader?

2003-06-18 Thread Jouko Johansson
Hi, System information Linux 2.4.20 #2 SMP jakarta-tomcat-4.0.6 java version "1.4.1_02" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_02-b06) Java HotSpot(TM) Client VM (build 1.4.1_02-b06, mixed mode) We are running an simple webapp about 7 request / sec and sometimes occurs null

Re: Invalid pc in line number table

2003-06-18 Thread Val T.
Hi, > Strange error... What are the JDK's that are involved along with the Operating > Environment and`what version of Tomcat? > > I'd say it is some sort of incompatibility between the two, is one maybe a > very early version of the JDK? Also what JDK was it compiled under? It's not that, becaus

Re: Invalid pc in line number table

2003-06-18 Thread Jason Bainbridge
G'day, Strange error... What are the JDK's that are involved along with the Operating Environment and`what version of Tomcat? I'd say it is some sort of incompatibility between the two, is one maybe a very early version of the JDK? Also what JDK was it compiled under? Regards, -- Jason Bainbr

Tomcat Standalone and Virtual Hosting

2003-06-18 Thread Latesha Williams
I have a web application deployed under Tomcat v4.1.18 (port 8080). Is it also possible to configure the Tomcat Standalone Service to support virtual hosting, but on port 80? If so, how is this accomplished? What is the "best practices" method for storing static web content in this situation? Sh

Invalid pc in line number table

2003-06-18 Thread Val T.
Hi, Does anyone understand what might be causing this error? The log files don't enlighten me at all, and searching on the Web brought no resolution. replylibrary is a package name, and SampleReply is the class. I'm accessing it from a JSP. It works fine on another site, and all other files an

RE: Mod_rewrite and mod_jk2

2003-06-18 Thread James Courtney
Apparently if you move the loading of mod_jk2 after the loading of mod_rewrite in httpd.conf this corrects the problem... Jamey -Original Message- From: James Courtney Sent: Wednesday, June 18, 2003 11:47 AM To: Tomcat Users List (E-mail) Subject: Mod_rewrite and mod_jk2 Hey all,

RE: win2000 issue with tomcat4.1.24

2003-06-18 Thread Srinivasu Gandu
I will do tonight and let you know tomorrow.. how it went up -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 8:40 AM To: Tomcat Users List Subject: Re: win2000 issue with tomcat4.1.24 Then something is seriously screwed up. As I said, I wou

Re: Can I set up 2 realms for the same server so I can access 2 databases

2003-06-18 Thread Val T.
- Original Message - From: "Angus Mezick" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, June 18, 2003 2:48 PM Subject: RE: Can I set up 2 realms for the same server so I can access 2 databases >According to the spec, you can have 0 or 1 realms configured

RE: Can I set up 2 realms for the same server so I can access 2 databases

2003-06-18 Thread Angus Mezick
Yup, as I read further, it looks like you would need to write your own realm class that will talk to both DB's for you. Sounds like a mess. --Angus > -Original Message- > From: Angus Mezick > Sent: Wednesday, June 18, 2003 2:49 PM > To: Tomcat Users List > Subject: RE: Can I set up 2 rea

RE: Can I set up 2 realms for the same server so I can access 2 databases

2003-06-18 Thread Angus Mezick
According to the spec, you can have 0 or 1 realms configured. Now, if you want to rewrite the code that uses the realms for logging people in I think you can use 2 DB's. > -Original Message- > From: Val T. [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 18, 2003 2:40 PM > To: Tomcat Us

Mod_rewrite and mod_jk2

2003-06-18 Thread James Courtney
Hey all, We're using Apache 2.0.45 as a pure load-balancer for two Tomcat 4.1.24 instances. Apache serves no content and redirects /* to the Tomcats (using the uri element of the workers2.properties). We have some rewrite rules that massage some URL's based on the domain name the user

Can I set up 2 realms for the same server so I can access 2 databases

2003-06-18 Thread Val T.
Hi, I've got two sites set up on one server, and I am trying to set up security for each of them. They use 2 different databases. Is it possible to set things up in the server.xml the way I have below, or do I have to put all users in the same database? I can't find anything on the Web that dea

Re: disable session support in Tomcat

2003-06-18 Thread Ben Souther
Just out of curiosity, why? On Wednesday 18 June 2003 01:52 pm, Marco Pöhler wrote: > Hi, > > Is it possible to disable the session support (means no cookies and no > JSESSIONIDs) somewhere in Tomcat ? > This is may be a simply question, but I couldn't found any hint in the docs > and the list

Re: disable session support in Tomcat

2003-06-18 Thread Marco Pöhler
that was fast... I think I should try it with session "enabled", the other options are... ahm... too simple ;-) Thank you, Yoav Am Mittwoch, 18. Juni 2003 19:53 schrieb Shapira, Yoav: > Howdy, > The Servlet Specification requires container to support sessions. So no, > you can't disable it ;)

RE: disable session support in Tomcat

2003-06-18 Thread Shapira, Yoav
Howdy, The Servlet Specification requires container to support sessions. So no, you can't disable it ;) You can: - Download the tomcat source and hack out the session-related items, rebuild it, and have your own session-less servlet container ;) - Have very short session timeouts, e.g. 1 min

disable session support in Tomcat

2003-06-18 Thread Marco Pöhler
Hi, Is it possible to disable the session support (means no cookies and no JSESSIONIDs) somewhere in Tomcat ? This is may be a simply question, but I couldn't found any hint in the docs and the list archive. Thanks in advance Marco P.S.: I'm using 4.1.12 on lInux ---

RE: context.xml question

2003-06-18 Thread Jose Santiago Oyervides Gonzalez
That were a network drive. I used the tip Jason gave me. Now it works. Thanks to all. Jose Oyervides. -Original Message- From: Jason Bainbridge [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 12:24 PM To: Tomcat Users List Subject: Re: context.xml question On Thu, 19 Jun 2003

Re: context.xml question

2003-06-18 Thread Jason Bainbridge
On Thu, 19 Jun 2003 01:15, Jose Santiago Oyervides Gonzalez wrote: > I've tried: > unpackWARs="true"> Try a forward slash instead ie. e:/webapps or maybe a double backslash. Also is e: drive a local or network drive? If it is a Network drive you will need to use it's UNC name and the us

Re: JSP Compiler output?

2003-06-18 Thread Noel Rappin
We seem to have been able to get the error stack traces by adding the init-param "fork" to the JSP servlet, with a value of "false". Any idea why this works? Noel Noel Rappin wrote: There is a root cause, but it doesn't have the error info... java.lang.ClassNotFoundException: org.apache.jsp.

RE: problems with web.xml and security

2003-06-18 Thread Rosaria Silipo
Thanks! The SingleSignOn valve works like a charm! -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker Sent: Wednesday, June 18, 2003 1:02 AM To: [EMAIL PROTECTED] Subject: Re: problems with web.xml and security Now we are getting somewhere ;-). If you have

RE: context.xml question

2003-06-18 Thread Shapira, Yoav
Howdy, >I am having the same situation as Joshua, I have a W2k Server IIS5.0, >Tomcat >4.0.6. >I looked for admin.xml and manager.xml and those weren't in my >installation. Those are tomcat 4.1 features, as is the whole context.xml approach. >All I am trying to do is put my jsp file outside CAT

RE: context.xml question

2003-06-18 Thread Jose Santiago Oyervides Gonzalez
Hi, I am having the same situation as Joshua, I have a W2k Server IIS5.0, Tomcat 4.0.6. I looked for admin.xml and manager.xml and those weren't in my installation. All I am trying to do is put my jsp file outside CATALINA_HOME/ (D:\Tomcat4) and put them in E:\webapps. I have tried to do it but it

Re: Best versions - of Tomcat to run with apache

2003-06-18 Thread John Turner
I would only use Apache if you had to...Tomcat should be fine for most uses. "Better" is relative. John On Wed, 18 Jun 2003 17:39:16 +0100, Kevin Passey <[EMAIL PROTECTED]> wrote: John thanks for that - I think it is about time I upgraded anyway. I have tried it and it comes up with a blank

Re: Host Setup - (The Default Tomcat Page is Stalking Me)

2003-06-18 Thread Paul Hepworth
John, Thanks! I changes the appBase and it worked great! BTW - My good friend got me hooked on booga. I use too much myself. :) You got me to crack up too. :) Thanks again, Paul John Turner wrote: First, let me say that this is the first time, ever, in my checkered I.T. past, that I have

RE: context.xml question

2003-06-18 Thread Shapira, Yoav
Howdy, >Can the docBase attribute of the context element be relative? The location Yes. It can be relative to the host's appBase or absolute. See the Context configuration reference. >On a seperate note, when installing a war file using the catalina ant task, >should tomcat automatically loo

RE: Best versions - of Tomcat to run with apache

2003-06-18 Thread Kevin Passey
John thanks for that - I think it is about time I upgraded anyway. I have tried it and it comes up with a blank page in the editor - so I'm not too worried. Would you say it was better to run tomcat behind apache - the server in question only runs JSP all my static stuff is served by my ISP. I wo

Re: context.xml question

2003-06-18 Thread John Turner
On Wed, 18 Jun 2003 12:32:00 -0400, White, Joshua A (HTSC, CASD) <[EMAIL PROTECTED]> wrote: Can the docBase attribute of the context element be relative? The location of the docBase will be different depending on where I am deploying to. Given mywebapp/META-INF/context.xml, the document root wil

context.xml question

2003-06-18 Thread White, Joshua A (HTSC, CASD)
Three questions here: Can the docBase attribute of the context element be relative? The location of the docBase will be different depending on where I am deploying to. Given mywebapp/META-INF/context.xml, the document root will always be two directories up from the context.xml file. Could this

Re: Tomcat Class Loader (parent/child tree)

2003-06-18 Thread Guus Holshuijsen
All, Just to let you know that I found out what caused the ClassNotFoundException problem. I found the answer in the release notes of Tomcat 4.0.6. It says the following: Tomcat 4.0 and Sun JDK 1.4 beta 3 Some unpredictable classloading behaviour has been reported when Tomcat is used with Sun JD

RE: Problems with XML parsers and webapps

2003-06-18 Thread Mike Curwen
Read the very bottom of this doc: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html > -Original Message- > From: Jared Walker [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 18, 2003 10:08 AM > To: Tomcat Users List > Subject: Problems with XML parsers and webapps

Re: Best versions - of Tomcat to run with apache

2003-06-18 Thread John Turner
I've never heard of that vulnerability. Have you tried it? Have you checked the security lists to confirm? If memory serves, it wasn't known as of 4.1.18 when the "Apache Tomcat Security Handbook" from Wrox Press was published. John On Wed, 18 Jun 2003 16:37:22 +0100, Kevin Passey <[EMAIL P

ClassLoad diagnostic JSP

2003-06-18 Thread christian . schuster
Hi list, I was struggeling already many times with class loading (NoClassDefFoundErr) issues due to company history. So I wrote a JSP which tells which class are loaded from where. It also looks inside of jar files. Feel free to use and edit it the to met your needs. I just do not guarantee fo

Re: Best versions - of Tomcat to run with apache

2003-06-18 Thread John Turner
I wouldn't use any of the RPMs, if I were you. But that's just me. My HOWTO is for RH 7.2, everything you need step by step (for mod_jk, anyway): http://www.johnturner.com/howto. The Apache and Tomcat versions are a little old, but that's irrelevant, the instructions are the same. Don't use

Re: Problems with XML parsers and webapps

2003-06-18 Thread Nishant Kumar
hi, if you are using the latest tomcat then you will find an endorsed dir in there for example. jakarta-tomcat-4.1.24/common/endorsed/ this should be containing xercesImpl.jar and xmlParserAPIs.jar. i guess this should solve your problem. bye. On Wed, 2003-06-18 at 20:37, Jared Walker

Re: NoClassDefFoundError

2003-06-18 Thread John Turner
Sorry, I tried to jump in before you did, save you the trouble, but I was too late. LOL John On Wed, 18 Jun 2003 11:19:25 -0400, Shapira, Yoav <[EMAIL PROTECTED]> wrote: Howdy, NoClassDefFoundError is not the same as ClassNotFoundException. Read the JavaDocs for both. Search the archives o

prompting for password at tomcat startup

2003-06-18 Thread Mark W. Webb
Hello - I have an SSL enabled system I am deploying using tomcat, and I would like to prompt the user for a password to open up an encrypted file. What is the easiest way to do this using tomcat 4.1.24 ? thank you. - To unsubs

Log4J under two different webapps

2003-06-18 Thread Donie Kelly
Hi all   I’m using log4j in two webapps, which means I’ve copied the log4j.jar into both WEB-INF/lib directory for each webapp. I’m loading a log4j.xml for configuration from my webapp and this works great when I run the app from the command line using the tomcat startup scripts. I can v

RE: Best versions - of Tomcat to run with apache

2003-06-18 Thread Kevin Passey
Hi, Yes I've done the apache/tomcat/mod_jk2 and it works fine. The reason I wanted to do this is because I was using nessus to scan my web server and it reports a vulnerability it TOMCAT 4.1.12 which allows someone to retrieve any file on your system by putting ../../ in front of the file name. I

RE: Tomcat 5 limits the number of jars ???

2003-06-18 Thread Shapira, Yoav
Howdy, For starters, try a clean installation into a directory without spaces in its name, e.g. c:\tomcat5. If that still doesn't work, try coming up with a method to reliably reproduce your error. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Renato Romano [mailto

RE: Best versions - of Tomcat to run with apache

2003-06-18 Thread Shapira, Yoav
Howdy, I did the standard apache2 - tomcat mod_jk configuration once, just to try it out. But I run tomcat standalone, including in production, as I find its performance more than adequate and don't need any apache features. Yoav Shapira Millennium ChemInformatics >-Original Message- >

Tomcat 5 limits the number of jars ???

2003-06-18 Thread Renato Romano
I noticed a problem when deploying my webapp under Tomcat 5, about the number of jars in the lib dir of my webapp. Unfortunately I can't easily reproduce the problem, but it seems that if the number of jar files exceeds 10-15, Tomcat fails to compile JSP pages (!!!) and produces a message regarding

RE: Best versions - of Tomcat to run with apache

2003-06-18 Thread Kevin Passey
Hi Yoav, I know that - I want to load it on a RH7.2 box with apache using mod_jk or 2. Have you ever configured tomcat to run "in-process" with apache. All you do is start apache and it calls tomcat when and if it needs it. I'm on the verge of getting the latest 4.1.24 rpms and the latest apache

RE: Off topic / webapp listener

2003-06-18 Thread Shapira, Yoav
Howdy, They're usually very simple to write: the JavaDocs are clear. If you have a specific design goal and are not sure how best to implement it, feel free to share and I'm sure you'll get a ton of advice ;) Yoav Shapira Millennium ChemInformatics >-Original Message- >From: [EMAIL PRO

Off topic / webapp listener

2003-06-18 Thread christian . schuster
Hi list, Does anyone know about a resource how to write webapp listeners? Regards, Christian Schuster Rudolf Schuster AG Postfach 277 CH - 3000 Bern 11 http://www.rsag.ch ++41 31 348 05 30 - To unsubscribe, e-mail: [EMAI

RE: NoClassDefFoundError

2003-06-18 Thread Shapira, Yoav
Howdy, NoClassDefFoundError is not the same as ClassNotFoundException. Read the JavaDocs for both. Search the archives of this list for other people's experiences with this error. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Bob Damato [mailto:[EMAIL PROTECTE

RE: Best versions - of Tomcat to run with apache

2003-06-18 Thread Shapira, Yoav
Howdy, The latest stable release, 4.1.24. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Kevin Passey [mailto:[EMAIL PROTECTED] >Sent: Wednesday, June 18, 2003 11:14 AM >To: Tomcat (E-mail) >Subject: Best versions - of Tomcat to run with apache > >Hi, > >Can anybody

NoClassDefFoundError

2003-06-18 Thread Bob Damato
I'm getting the exception below, however the class that it's saying it cannot find is in the WEB-INF/classes/com/valpak/j2ee/logicalresourcemapping directory for the webapp that's throwing the exception. Is there something special I need to do to get the webapp to look there to find the class? ===

Best versions - of Tomcat to run with apache

2003-06-18 Thread Kevin Passey
Hi, Can anybody tell me the best version of Tomcat that will run with apache using say mod_jk or mod_jk2. Thanks Kevin Passey Tel +44(0)1273 712830 http://www.kdpsoftware.co.uk http://www.freeas400software.com - To unsubscribe

Problems with XML parsers and webapps

2003-06-18 Thread Jared Walker
All, Our webapp was built to use the Xerces xml parser. I'm trying to update our JDK and tomcat version to do testing for a production level upgrade. I'm running into problems with the JVM using the Crimson parse. The crimson parser does not agree with our XML files. Does anyone know ho

Re: Tomcat - PERL problem.

2003-06-18 Thread G. Wade Johnson
Without seeing the code that is running forever, it's almost impossible to tell. I have seen the running forever if you call perl without a script name on the command line. When called without a script, the perl executable waits for the script on STDIN. G. Wade tito santini wrote: > > Dear all,

Tomcat - PERL problem.

2003-06-18 Thread tito santini
Dear all, I'm currently having this strange problem with Tomcat 4.0.3 (running on Solaris) and a CGI program written in PERL. The program outputs some HTML lines, and everything goes OK until the HTML page is small. When the page grows up, i.e inserting "SELECT" field with 100 options, Tomcat sto

RE: Precompiling JSPs

2003-06-18 Thread Robert Priest
You should read up on the JspC task: http://ant.apache.org/manual/OptionalTasks/jspc.html The JspC task will compile your jsp file to a java servlet (.java) file. Then you can run to get your class files. You will need to download the jasper-compiler.jar and jasper-runtime.jar files. I currently

RE: getting a reply like this.

2003-06-18 Thread Andy Eastham
Anto, When you post to this list, the mail gets distributed to various subscribers, some of whom are behind companies anti-spam filters that range from crap to fuxxing useless. These antispam filters all seem to be poorly written and poorly configured, so that they allow in most spam but reject m

RE: Precompiling JSPs

2003-06-18 Thread Andy Eastham
Andoni, I do this in Sun One Studio, where I do all my Java development. You can compile JSPs just as you can compile java source. Andy > -Original Message- > From: Andoni [mailto:[EMAIL PROTECTED] > Sent: 18 June 2003 10:25 > To: Tomcat Users List > Subject: Precompiling JSPs > > > H

Re: Host Setup - (The Default Tomcat Page is Stalking Me)

2003-06-18 Thread John Turner
First, let me say that this is the first time, ever, in my checkered I.T. past, that I have encountered someone else who uses "booga". I'm cracking up over here. I actually use "ooga booga", but still, its fun to see. What you're experiencing is most likely due to the fact that both of your H

RE: Email Problem

2003-06-18 Thread Ozgur
Hi Yoav, Thank you so much for your interest, sorry to bother the list. Unfortunately, I have managed this problem by sending email via an autheticated connection to another email server. The environment which the problem occurs, includes an email server works for our web applicaitons and allows

Re: Fw: getting a reply like this.

2003-06-18 Thread John Turner
Because the postmaster at logicaonline.com has blacklisted hotmail.com. The postmaster at logicaonline.com has nothing to do with the list, but someone at logicaonline.com has subscribed to the list, so every time you post, they get a copy of your post, which is rejected because the postmaster

Re: Fw: getting a reply like this.

2003-06-18 Thread John Turner
Because the postmaster at logicaonline.com has blacklisted hotmail.com. The postmaster at logicaonline.com has nothing to do with the list, but someone at logicaonline.com has subscribed to the list, so every time you post, they get a copy of your post, which is rejected because the postmaster

RE: Problems starting Tomcat from CD

2003-06-18 Thread Shapira, Yoav
Howdy, >ContextConfig[/applicator]: Exception processing JAR at resource path >/WEB-INF/lib/servlets-common.jar >javax.servlet.ServletException: Exception processing JAR at resource >path /WEB-INF/lib/servlets-common.jar >at >org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java

RE: probelm running webapp on tomcat 4.1.24

2003-06-18 Thread Shapira, Yoav
Howdy, >I've just installed tomcat 4.1.24, because it supports multiple developers >using a single install (we used to use tomcat 3. The guy who set that up is As an aside, for development I strongly suggest each developer have a completely separate tomcat installation. It doesn't cost you any

RE: How to stop execution of infinite loop in Tomcat ?

2003-06-18 Thread Shapira, Yoav
Howdy, No. You have to kill the server, remove offending code, and restart. That's why I like to test locally ;) Yoav Shapira Millennium ChemInformatics >-Original Message- >From: anto paul [mailto:[EMAIL PROTECTED] >Sent: Wednesday, June 18, 2003 4:14 AM >To: tomcat mail list >Subjec

LDAP/SSL Realm

2003-06-18 Thread Carl Walker
Has anyone used an LDAP Tomcat Realm over SSL? I wasn't able to get the stock JNDIRealm to work using the secure port. -Carl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: global parameters--which way

2003-06-18 Thread Shapira, Yoav
Howdy, >It seems as though there are (at least) 2 ways to set up global application >parameters at deployment time: 1) put them in a tag in the >deployment descriptor, or 2) use a properties file or resource bundle to >read them in. Is there a preferred or standard way, or does it even >matter?

RE: getting a reply like this.

2003-06-18 Thread Shapira, Yoav
Howdy, Others have reported this. For me, it depends on which of my email accounts I post to this list from. Someone needs to ask [EMAIL PROTECTED] what they're doing... Yoav Shapira Millennium ChemInformatics >-Original Message- >From: anto paul [mailto:[EMAIL PROTECTED] >Sent: Wedne

RE: Email Problem

2003-06-18 Thread Shapira, Yoav
Howdy, This clearly seems like a BugParade issue, so this is not the list for it. But as always I'm curious: is this a multi-homed system? A multi-NIC system? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Ozgur [mailto:[EMAIL PROTECTED] >Sent: Wednesday, June 18,

Re: JSP Compiler output?

2003-06-18 Thread Jason Bainbridge
It's cropped up a few times on the list, maybe do a search for JAVA_HOME/bin (or with a backslash instead) at http://tomcatfaq.sf.net Have you tried doing this yet? It might just work. :) Regards, -- Jason Bainbridge http://jblinux.org On Wed, 18 Jun 2003 19:09, Noel Rappin wrote: > Interestin

RE: Best way to deploy an application?

2003-06-18 Thread Shapira, Yoav
Howdy, I think it's enlightening to see two tomcat developers using different methods for the same task: I do almost the opposite of what Tim does ;) I like to keep the .war files packed, my server set to unpackWARs="false", autoDeploy="false", and I use an ant task (self-written, not from catal

Re: Precompiling JSPs

2003-06-18 Thread Ben Souther
Have you tried compiling the servlet source files in the work directory? On Wednesday 18 June 2003 05:25 am, Andoni wrote: > Hello, > > I have a build.cmd file that I have had and modified for every project I've > done for years. I should probably go learn ANT or some other build > technique

Re: JSP Compiler output?

2003-06-18 Thread Noel Rappin
There is a root cause, but it doesn't have the error info... java.lang.ClassNotFoundException: org.apache.jsp.foo_jsp at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:209) at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:131) at org

Re: win2000 issue with tomcat4.1.24

2003-06-18 Thread John Turner
Then something is seriously screwed up. As I said, I would start over, and when I say start over, I don't just mean with Tomcat, I mean everything: JDK, etc. Make sure you don't have older JDK files or JAR files hanging around that might confuse Tomcat. John On Tue, 17 Jun 2003 18:35:10 -040

Re: JSP Compiler output?

2003-06-18 Thread Noel Rappin
Interesting... can you point me to more information, or has this been discussed on this list? Noel Jason Bainbridge wrote: I haven't really been following this thread but is this the problem where in some scenarios that JAVA_HOME/bin needs to be in the system PATH? Regards, -

Re: JSP Compiler output?

2003-06-18 Thread Noel Rappin
One other thought: I notice that the compiler messages look like ant messages -- could the problem be that ant is not in my classpath or system path some related ant setting? Noel Noel Rappin wrote: I replicated this experiment exactly in my environment. Tomcat 4.1.24, Linux, JSDK 1.4.1_01.

Re: Best way to deploy an application?

2003-06-18 Thread Tim Funk
Topic most likely to start a flame war. I like to do things manually. In 4.0 - I always edit server.xml and keep my webapps out of the webapps dir. By doing a manual restart - I can guarantee when my JVM crashes (or other stuff occurs) - I can guarantee it will restart. In 4.1 - I plop an XML f

Re: Filters and Forwarding

2003-06-18 Thread Tim Funk
Filters apply only to the incoming request. Filters are not invoked on subsequent forward() or include(). But the 2.4 spec will allow filters to be run on forward() (and I think include, read the spec to verify) -Tim Chisholm, Paul wrote: Hi, I have a servlet X that forwards to a servlet Y. W

Re: How to stop execution of infinite loop in Tomcat ?

2003-06-18 Thread Tim Funk
AFAIK, no. If the JSP/servlet was writing to stream - the browser closing the connection could trigger an IO eventually. Of you can "luck out" with a recursive loop and end up with a stack overflow. But if you are in a tight loop like this: while(true) { int foo=1; } Then you are out of most l

RE: Dashboard Login

2003-06-18 Thread Kranthi Yemula
No he does not have one. Should I create one ? What should be his access level ? Just Viewer ? -Kranthi. > -Original Message- > From: Ryan Waterer > Sent: Tuesday, June 17, 2003 4:07 PM > To: Thomas Tracey; Kranthi Yemula > Subject: RE: Dashboard Login > > Kranthi, > >

global parameters--which way

2003-06-18 Thread Dave Naden
I have a question about web app design. It seems as though there are (at least) 2 ways to set up global application parameters at deployment time: 1) put them in a tag in the deployment descriptor, or 2) use a properties file or resource bundle to read them in. Is there a preferred or standa

RE: Precompiling JSPs

2003-06-18 Thread Wayne Chang
Andoni, Justin Ruthenbeck helped me with this situation. Direct your browser to: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-howto.html and look at "Web Application Compilation". See if that helps you. Best regards, Wayne Chang Pacific Northwest Software Mobile: (978) 869-3446

Precompiling JSPs

2003-06-18 Thread Andoni
Hello, I have a build.cmd file that I have had and modified for every project I've done for years. I should probably go learn ANT or some other build technique but for now I want to do this the command line way. I'm not even sure if ANT will do what I want. I want to have my .jsp files made i

Email Problem

2003-06-18 Thread Ozgur
Hi Everyone, Has any one face with a problem seen below: # java.lang.NullPointerException at java.net.InetAddress.cacheAddress(InetAddress.java:648) at java.net.InetAddress.cacheAddress(InetAddress.java:633) at java.net.I

Problems starting Tomcat from CD

2003-06-18 Thread Thomas Weller
Hello. We have developed a JSP application we want to provide on CD. Tomcat-Version: 4.1.24-LE-jdk14 JDK Version: 1.4.1-b21 When starting Tomcat from a write protected medium, we get an exception like this: ContextConfig[/applicator]: Exception processing JAR at resource path /WEB-INF/lib/servle

  1   2   >