Re: response.sendRedirect() - is this allowed?

2003-02-06 Thread Sean Dockery
Further to this, the W3 recognized the fact that many clients did not adhere to the specification for 302 and 303, so they introduced 307 in HTTP 1.1--which was intended to be followed more strictly. The original method must be used when following a re-direct, but when a non-idempotent method

Re: Perhaps another class-loader issue... but not so sure...

2003-02-06 Thread Craig R. McClanahan
On Fri, 7 Feb 2003, Gavin Everson wrote: > Date: Fri, 07 Feb 2003 14:25:24 +0800 > From: Gavin Everson <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Perhaps another class-loader issue... but not so sure... > > Hi There, > > We are exper

Re: response.sendRedirect() - is this allowed?

2003-02-06 Thread Bill Barker
"rf" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > // This is common trick I use after a form > > submission to > > // help make navigation easier for the user, and to > > help > > // avoid dual-submission of the same form. > > // > > Not clear - how is th

Re: Tomcat Performance Concerns

2003-02-06 Thread Bill Barker
"Anecito, Anthony (HQP)" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Peter, > > I also look forward to the book and have the same questions that Sean has. > Also, > 1. Will it cover Apache (i.e. clustering)? Currently, clustering should be supported in TC 5.

Perhaps another class-loader issue... but not so sure...

2003-02-06 Thread Gavin Everson
Hi There, We are experiencing a bit of a strange (to us anyhow) issue. We have 10 web servers running, which are clustered into 2 nodes via routers and gateways (*not* clustered by tomcat). We have a "sign-up" mechanism which is spread out over a few pages, and once you click on "continue" on a

Re: File upload servlet won't run on IBM AS/400 but runs OK on PC configured identically

2003-02-06 Thread Sean Dockery
What is the path separator character on the AS400? Is it the same character EBCDIC as ASCII? At 22:43 2003-02-06 -0500, you wrote: I'll try this tomorrow. Thanx, PLA Tim Funk wrote: Just for giggles ... Alter catalina.sh to export CLASSPATH and don't pass CLASSPATH to the java executable.

Re: File upload servlet won't run on IBM AS/400 but runs OK on PC configured identically

2003-02-06 Thread Sean Dockery
I doubt the JVM is the problem. What version are you using, by the way? (java -version) There is probably still something we're missing in your root cause... What is with the "L" prefix on some of the class names in the root cause message? Ljava/lang/String? Those aren't actually in your cod

Re: bean initialization code

2003-02-06 Thread Bill Barker
Sorry for the late response. If I'm understanding what you want, it's a bit problematic for a Bean. But a first try is something like: The setApplication method of TermWatchBean would check if the properties are already defined in the ServletContext, and act accordingly. Of course, I can

Re: response.sendRedirect() - is this allowed?

2003-02-06 Thread rf
> // This is common trick I use after a form > submission to > // help make navigation easier for the user, and to > help > // avoid dual-submission of the same form. > // Not clear - how is the second submission avoided? > if ( "POST".equalsIgnoreCase( request.getMethod() ) > ) > { >String

Re: Tomcat Performance Concerns

2003-02-06 Thread Bill Barker
"Anecito, Anthony (HQP)" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi All, > > I am looking at Tomcat for production and seeing some things that make me > question its use for production. I believe what Jakarta group is doing is a > great thing for all of

Re: response.sendRedirect() - is this allowed?

2003-02-06 Thread Bill Barker
It isn't against the HTTP specification to sendRedirect (which in Tomcat will result in a 302 response). It's just that very few (if any) browsers actually implement the spec in this area. Most of them will respond by doing a GET to the new URL, instead of a POST (which is what the RFC says to do

RE: Tomcat Performance Concerns

2003-02-06 Thread Jacob Kjome
Here's the post by Remy where he posted a sample chapter and pointed to a URL to pre-order http://marc.theaimsgroup.com/?l=tomcat-user&m=104254235126023&w=2 Jake At 04:00 PM 2/6/2003 -0800, you wrote: Peter, I also look forward to the book and have the same questions that Sean has. Also, 1. W

COMMUNICATION LINK FAILURE

2003-02-06 Thread Laxmikanth M.S.
Hi all, well and wish the same... I am getting a peculiar error .. I am using MySQL3.23.43 with tomcat4.1.12. I have written a bean which talks with DB and updates a table...this is running in a loop and so I have used PreparedStatement after 33 rows are Inserted it shows the below err

Re: contents of common/lib

2003-02-06 Thread Martin Smith
Derek-- I had what seems to be the same problem. I noticed a "copy failed" message (the install paused for a few seconds at that point.) Then got errors trying to see Tomcat home page. My problems cleared up after I re-downloaded and re-installed. Good luck, Martin Derek Odegard wrote: F

Re: JSP Compilation Error

2003-02-06 Thread Martin Smith
I got that message, spent hours fiddling with classpath, JAVA_HOME, etc, to no avail. I then re-downloaded Tomcat , and re-installed, and it worked. I *may* have noticed a "copy failed" message flash by in the first autoinstall log. Worth a try. . . Good luck, Martin Marcelino Cruz wrote

Re: Can a single host with multiple hostnames (same IP) have multiple SSL certs?

2003-02-06 Thread Bill Barker
The short answer is: No. It's basically the same problem as having multiple sites sharing an IP address. In the SSL protocol, the server (aka Tomcat) has to send the cert very early on in the handshake. In particular, *before* the browser has sent the request headers (there is no point in the b

Re: File upload servlet won't run on IBM AS/400 but runs OK on PC configured identically

2003-02-06 Thread Patrick L Archibald
/jakarta-tomcat-4.1.12/common/lib/servlet.jar Thanx, PLA Sean Dockery wrote: This may be a silly question, but where is your "servlets.jar" located? At 21:50 2003-02-06 -0500, you wrote: No difference in common. I've installed 4.1.18 and still getting the same error. Could the AS/400 JVM b

Re: File upload servlet won't run on IBM AS/400 but runs OK on PCconfigured identically

2003-02-06 Thread Patrick L Archibald
I'll try this tomorrow. Thanx, PLA Tim Funk wrote: Just for giggles ... Alter catalina.sh to export CLASSPATH and don't pass CLASSPATH to the java executable. The AS400 JVM is really freakin weird when we once tried passing classpath via command line then got a different behavior setting cl

Re: File upload servlet won't run on IBM AS/400 but runs OK on PC configured identically

2003-02-06 Thread Sean Dockery
This may be a silly question, but where is your "servlets.jar" located? At 21:50 2003-02-06 -0500, you wrote: No difference in common. I've installed 4.1.18 and still getting the same error. Could the AS/400 JVM be suspect? Thanx, PLA Patrick L Archibald wrote: I haven't tried putting it in

Re: File upload servlet won't run on IBM AS/400 but runs OK on PCconfigured identically

2003-02-06 Thread Tim Funk
Just for giggles ... Alter catalina.sh to export CLASSPATH and don't pass CLASSPATH to the java executable. The AS400 JVM is really freakin weird when we once tried passing classpath via command line then got a different behavior setting classpath via an environment variable. If that doesn't w

RE: Help with Apache 1.3/Tomcat 4.1.18/JK?

2003-02-06 Thread Turner, John
Tomcat doesn't use the CLASSPATH environment variable...if you take a look in $CATALINA_HOME/bin/catalina.sh, I think you can see where a CLASSPATH is assembled on the fly. John -Original Message- From: Webb Stacy [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 5:03 PM To:

Re: File upload servlet won't run on IBM AS/400 but runs OK on PCconfigured identically

2003-02-06 Thread Patrick L Archibald
No difference in common. I've installed 4.1.18 and still getting the same error. Could the AS/400 JVM be suspect? Thanx, PLA Patrick L Archibald wrote: I haven't tried putting it in common but I did try putting it in /jakarta-tomcat-4.1.12/shared/lib and it gave me the same error. I will try

RE: export exel stylesheets from jsp

2003-02-06 Thread Charles Baker
--- Barney Hamish <[EMAIL PROTECTED]> wrote: > I assume you mean spreadsheet and not stylesheet... > > Unless you really need something complicated from > excel why don't you just > send a csv (comma seperated values) file. Excel can > open CSV files like > normal excel format spreadsheets. {{S

Re: File upload servlet won't run on IBM AS/400 but runs OK on PCconfigured identically

2003-02-06 Thread Patrick L Archibald
I haven't tried putting it in common but I did try putting it in /jakarta-tomcat-4.1.12/shared/lib and it gave me the same error. I will try common and let ya know shortly. Here is the case-sensitive path that it is in now: /jakarta-tomcat-4.1.12/webapps/ROOT/WEB-INF/lib Thanx, PLA Filip Han

RE: Cannot load JDBC driver class 'null' , again

2003-02-06 Thread Sean Dockery
So, when you execute the following command... jar -tf HSQLDB.jar ...you see the line... org/hsqldb/jdbcDriver.class ...Correct? Odd naming convention for a class--having jdbc in jdbcDriver in lower case... Have you attempted connecting to the database without using DBCP? That is, trying...

RE: File upload servlet won't run on IBM AS/400 but runs OK on PC configured identically

2003-02-06 Thread Filip Hanik
and what happens if you put it in TOMCAT_HOME/common/lib also, did you intentionally lowercase the path you sent us, WEB-INF is uppercase. Filip -Original Message- From: Patrick L Archibald [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 5:55 PM To: Tomcat Users List Subjec

Re: File upload servlet won't run on IBM AS/400 but runs OK on PCconfigured identically

2003-02-06 Thread Patrick L Archibald
If I were missing the classes for the cos.jar I would get "java.lang.NoClassDefFoundError: com/oreilly/servlet/multipart/FileRenamePolicy" not "java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest", right? I've got cos.jar in /jakarta-tomcat-4.1.12/webapps/root/web-inf/lib Th

RE: File upload servlet won't run on IBM AS/400 but runs OK on PC configured identically

2003-02-06 Thread Filip Hanik
not really, if you look at the stack trace, it shows that it is inside the MultipartParser class by line number but out of curiousity, where do you place your Oreilly jar? >java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest > java/lang/Throwable.(Ljava/lang/String;)V+4 (

Re: File upload servlet won't run on IBM AS/400 but runs OK on PC configured identically

2003-02-06 Thread Sean Dockery
I would suspect that it can find "com/oreilly/servlet/multipart/MultipartParser". Make sure that the O'Reilly JAR in your common/lib folder or /myapp/WEB-INF/lib folder. At 20:40 2003-02-06 -0500, you wrote: Hi I'm stumped on this problem. I've got a file upload servlet that works fine runnin

File upload servlet won't run on IBM AS/400 but runs OK on PC configuredidentically

2003-02-06 Thread Patrick L Archibald
Hi I'm stumped on this problem. I've got a file upload servlet that works fine running on a PC with Tomcat 4.1.12 but I get the error below on the IBM AS/400 running Tomcat 4.1.12. I've written hundreds of servlets on the AS/400 and the PC and I've never had one beat me like this one. The err

Re: SendMailServlet problem...

2003-02-06 Thread Sean Dockery
Can you show me the ResourceParams from your server.xml file for the mail/Session resource? Is the mail server your ISP's mail server or one on your network? Is there a firewall between you and the mail server? Is the "from" address you are using legitimate? At 19:16 2003-02-06 -0600, you wr

Any particular JDK version required for Tomcat?

2003-02-06 Thread Tref Gare
Hi all, A quick question for a friend who needs to install Tomcat 4.1.12 into a JDK 1.2 environment. Are there any limitations or constraints regarding which version of the JDK Tomcat requires to be happy? Thanks -- Tref Gare Development Consu

Re: SendMailServlet problem...

2003-02-06 Thread Craig R. McClanahan
On Thu, 6 Feb 2003, chris schild wrote: > Date: Thu, 6 Feb 2003 19:19:29 -0600 > From: chris schild <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: SendMailServlet problem... > > Any ideas on what would make a servl

Re: Tomcat with Security manager

2003-02-06 Thread Harish Kumar K.K.
Hi Jean Thanks for responding. Below is my catalina.policy file contents. The lines granting java.security.AllPermission to file:${catalina.home}/bin/bootstrap.jar are there as you said. Also at the end of the policy file I have added the permission to allow write operations in the folder to whic

RE: how to block

2003-02-06 Thread Warden, Matt
On Feb 6, Shapira, Yoav had something to say about RE: how to block >Hi, >Google is your friend: >http://forums.devshed.com/archive/1/2000/08/2/1298 If you use this as your sole solution, I'll turn off Javascript and nail your server simply for principle. Ok, not really. If you use a client-si

Re: SendMailServlet problem...

2003-02-06 Thread chris schild
Any ideas on what would make a servlet unavailable? Anything that would lead to a "server is busy" error page? - Original Message - From: "Sean Dockery" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, February 06, 2003 6:54 PM Subject: Re: SendMailServlet pr

Re: SendMailServlet - problem, debugging tips

2003-02-06 Thread chris schild
At this point, I'll take any debugging help I can get!!! I'll check out eclipse... - Original Message - From: "Raible, Matt" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Thursday, February 06, 2003 6:40 PM Subject: RE: SendMailServlet - problem, debugging tips

Re: SendMailServlet problem...

2003-02-06 Thread chris schild
The load on the server is light, occassionally it goes up but not long enough to block all of the testing that I have done. Other example servlets are working fine. My system.out debugging is getting me nowhere in a hurry... - Original Message - From: "Sean Dockery" <[EMAIL PROTECTED]> To

tag attributes as bean properties

2003-02-06 Thread Borislav Iordanov
Hi guys, This is more a question for tomcat developers I guess. I'm working with Tomcat 4.1.18. The JSP 1.2 specification states that a container should interpret tag attributes as bean properties following the Java Beans specification. Does Tomcat then rely on a BeanInfo associated with a bean

Re: SendMailServlet problem...

2003-02-06 Thread Sean Dockery
According to the HTTP 1.1 spec... 10.5.4 503 Service Unavailable The server is currently unable to handle the request due to a temporary overloading or maintenance of the server. The implication is that this is a temporary condition which will be alleviated after some delay. If known, the len

Custom tags - thanks

2003-02-06 Thread Gary McGath
Thanks to everyone who helped to clarify the custom tag issues for me. The resulting webapp is now available as a beta download and online demo at http://www.timeczar.com, in case anybody feels like playing with it. Gary McGath http://www.mcgath.com/

RE: SendMailServlet - problem, debugging tips

2003-02-06 Thread Raible, Matt
Eclipse has a nice tomcat plugin that you can set breakpoints in servlets... works awesome for me. > -Original Message- > From: chris schild [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 06, 2003 5:38 PM > To: tomcat > Subject: SendMailServlet - problem, debugging tips > > > Woul

SendMailServlet - problem, debugging tips

2003-02-06 Thread chris schild
Would anyone be able to provide some debugging tips for Tomcat servlets? Also, what would cause a servlet to be unavailable?

Re: JDBC Realm Authentication Problem

2003-02-06 Thread Sean Dockery
Where I wrote "did you remove," I meant to write "did you omit." Basically I want to know exactly what you edited out of the server.xml file that you put in your message because you didn't think it was relevant. Basically, I suspect that if you left the memory realm at the engine level that au

Re: JDBC Realm Authentication Problem

2003-02-06 Thread Sean Dockery
Um. I don't see a context-level realm in there. There is a host-level realm, however. :-) Did you remove anything at all (such as other Realms) from the server.xml file that you presented? At 13:29 2003-02-06 -0400, you wrote: A small problem here, can't seem to figure out why. In the follo

Re: Tomcat - Apache install document

2003-02-06 Thread Oscar Carrillo
Yes, of course we're interested. I was wondering a little bit myself about throwing up some unrequested long configuration setup on the newsgroup. But I figure it probably saves a lot of future questions if someone can find this information in the archives. I am nearly finished with docmenting

RE: RE: Shutdown.sh does not work when long lasting operations, such as SQL Queries, are still active!

2003-02-06 Thread Turner, John
A lifecycle Listener is what I was thinking. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html See the section on "Lifecycle Listener". YMMV...as I said I am no developer. John -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, Febru

RE: Tomcat Performance Concerns

2003-02-06 Thread Turner, John
I believe it's Wrox, due out this spring. Wrox also has a new entry in it's handbook series coming out this month that is devoted to Tomcat security, both with Tomcat itself and applications that use Tomcat. John -Original Message- From: Sean Dockery [mailto:[EMAIL PROTECTED]] Sent: T

RE: Tomcat Manager/Administrator and server.xml file.

2003-02-06 Thread Sean Dockery
Not sure why. I never try twisted experiments like this. :-) I typically remove the context using the admin application, rather than the manager application. If I remove the .war file from the web apps folder, I also delete the unpacked war folder in both the webapps and _work folders. Subs

RE: Tomcat Performance Concerns

2003-02-06 Thread Anecito, Anthony (HQP)
Peter, I also look forward to the book and have the same questions that Sean has. Also, 1. Will it cover Apache (i.e. clustering)? 2. JVM Tuning requirements for Tomcat or best JVM to use (i.e. IBM, JRocket)? 3. Performance monitoring using JMX? 4. Any recommended optimizations/patches that the OS

re : Tomcat exits randomly.

2003-02-06 Thread Sean Dockery
Look in the Catalina logs in $CATALINA_HOME/logs/... At 13:17 2003-02-04 -0800, you wrote: Can anyone advise where else I might look? Sean Dockery [EMAIL PROTECTED] Certified Java Web Component Developer Certified Delphi Programmer SBD Consultants http://www.sbdconsultants.com --

Re: Web.xml mistake results in unavailable !?

2003-02-06 Thread Craig R. McClanahan
On Thu, 6 Feb 2003, Sean Dockery wrote: > Date: Thu, 06 Feb 2003 16:33:03 -0700 > From: Sean Dockery <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: Web.xml mistake results in unavailable !? > > Can you post an exa

Re: Unwanted header when using Tomcat 3.2.4

2003-02-06 Thread Sean Dockery
I am confused as to where you are suggesting that the document begins and ends. Does it look like this? (HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Mon, 30 Dec 2002 10:10:30 GMT Connection: close Content-Type: text/html; charset=iso-8859-1 Servlet-Engine: Tomcat Web Server/3.2.4 (JSP 1.1; S

Authentication via Apache2, Content by Tomcat. HOW???

2003-02-06 Thread Greg Vilardi
Hi. I'm trying to solve a problem that I have encountered trying to set up a demo of one of my company's products on a webserver.We are running Apache 2.0.44, Tomcat 4.1.18 (including the connectors from that dir too) and JDK 1.4.1 on RedHat 8.0 (patched yesterday). I have been able to serve

Re: Tomcat Performance Concerns

2003-02-06 Thread Sean Dockery
I look forward to getting a copy of your book. What will be the book's title? Who will be your publishing company? What is the scheduled release date? At 11:10 2003-02-06 -0800, you wrote: Most of this stuff is covered in the book with an example webapp and benchmarks to show the trade off in

Re: Web.xml mistake results in unavailable !?

2003-02-06 Thread Sean Dockery
Can you post an example reload task from a build.xml file? At 15:08 2003-02-06 -0800, you wrote: Enabling your students to issue a "reload" command on demand, via the manager webapp, would allow the turnaround time to be much faster -- indeed, I build that directly into my Ant build.xml files, so

SendMailServlet problem...

2003-02-06 Thread tomcat guy
When I run the jsp example to sendmail I recieve the following error: Http status 503 - Servlet SendMailServlet is currently unavailable Any ideas? I have the mail.smtp.host changed to my mail server in server.xml. I am the username and password to the server.

Re: Web.xml mistake results in unavailable !?

2003-02-06 Thread Craig R. McClanahan
On Thu, 6 Feb 2003, Kevin Conaway wrote: > Date: Thu, 6 Feb 2003 17:56:28 -0500 > From: Kevin Conaway <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: Web.xml mistake results in unavailable !? > > This isnt a produc

Re: Web.xml mistake results in unavailable !?

2003-02-06 Thread Kevin Conaway
This isnt a production environment, it is an educational environment at a university. Students who are learning are guaranteed to make mistakes, even in their web.xml file. I tested an experiment, it takes roughly 7 seconds between the time you save your web.xml file and the time tomcat reloads i

RE: MemoryRealm

2003-02-06 Thread James R. Marcus
I am trying it with this example. http://c2.com/w4/cc/wiki.cgi?PasswordAuthenticatingThe Thanks, James   -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 4:55 PM To: Tomcat Users List Subject: RE: MemoryRealm take a look at conf/tomcat-u

RE: Preventing Session saving

2003-02-06 Thread Sean Dockery
The PersistentManager is enabled in Kris's application. The instructions of setting saveOnRestart to false and setting various values to -1 are required to purge the session store. Thereafter, Kris can disable persistent sessions by commenting out the declaration. Off topic: I hate the fact

Re: JAAS login context propagation to JBoss

2003-02-06 Thread Peter Kelley
I had a look at the code and I guess it could be used to do the association but what it seems to be doing is just creating a new Subject and adding the required principal (which I assume has been obtained from the servlet request) to it. If JAASRealm is used this will be a GenericPrincipal which is

RE: Where do common jar libraries go in Tomcat 4.1.18

2003-02-06 Thread Larry Meadors
Looking at the classloader docs for 4.0.x and 4.1.x, I think it is actually shared/lib. The shared/lib directory (in 4.0, this was just lib) is for stuff that you want available to all of your applications. The common/lib directory is where you put stuff you need the server and all of your applic

Tomcat - Apache install document

2003-02-06 Thread Kenny G. Dubuisson, Jr.
Hello all. I created an installation document for myself and I thought I would post it here if anyone is interested. It has the exact steps I took to get the following all working together: - RedHat Linux 7.3 - Java SDK 1.4.1_01 - Oracle Client 9.2.0.1.0 - Apache 2.0.44 - OpenSSL 0.9.7 - Tomcat

Can a single host with multiple hostnames (same IP) have multiple SSL certs?

2003-02-06 Thread Jeff Skubick
Suppose a webapp, "foo.war", is deployed to a single standalone Tomcat instance, installed in c:\tomcat, on a single host whose IP address is 1.2.3.4. There are a half-dozen hostnames that resolve to 1.2.3.4, including www.foo.com, www.bar.net, and www.boom.org. No distinction is made among the

Re: export exel stylesheets from jsp

2003-02-06 Thread Peter Kelley
Or use Jasper Reports from sourceforge. Reports can be produced as xls or PDF or a number of other formats. If you need to do this on the web you might want to use webwork (http://www.opensymphony.com) which has a Jasper Reports view. On Fri, 2003-02-07 at 02:13, Bill wrote: > There is a link on j

Re: Where do common jar libraries go in Tomcat 4.1.18

2003-02-06 Thread Kenny G. Dubuisson, Jr.
Thanks Wendy...that's what I thought. - Original Message - From: "Wendy Smoak" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Thursday, February 06, 2003 4:25 PM Subject: RE: Where do common jar libraries go in Tomcat 4.1.18 > > I just changed my development box f

Re: [OT]JSP defense - can you point me in the right direction

2003-02-06 Thread Steven J. Owens
Denise, On Thu, Feb 06, 2003 at 01:36:39PM -0500, Denise Mangano wrote: > To make matters worse, I just found out that the reason they are being > adamant is because the person with the working examples wants to take the > prototype from this project and use it for another. Correct me if I'm > wr

RE: Where do common jar libraries go in Tomcat 4.1.18

2003-02-06 Thread Wendy Smoak
> I just changed my development box from Tomcat 4.0.5 to 4.1.18. I notice > there is no $CATALINA_HOME/lib directory in the new Tomcat to put my common > jar files. Where do they go in 4.1.18? ${CATALINA_HOME}/common/lib -- Wendy Smoak

Where do common jar libraries go in Tomcat 4.1.18

2003-02-06 Thread Kenny G. Dubuisson, Jr.
I just changed my development box from Tomcat 4.0.5 to 4.1.18. I notice there is no $CATALINA_HOME/lib directory in the new Tomcat to put my common jar files. Where do they go in 4.1.18? Thanks, Kenny - To unsubscribe, e-mail:

RE: Bug? in Tomcat 4.1.18 with TagLib

2003-02-06 Thread Chanan Braunstein
Well, if you have the source from the book you can add the code to release(). If not, you can take a performance hit and turn off tag pooling: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-howto.html enablePooling - Determines whether tag handler pooling is enabled. true or false, default

RE: Help with Apache 1.3/Tomcat 4.1.18/JK?

2003-02-06 Thread Webb Stacy
>>I would just get that "HAVE_JK" stuff out of there 100%. Never saw that >>before. >> >>I can't think of anything that would break by just putting LoadModule etc >>right in httpd.conf without the IF statement. You've got some custom stuff >>there (I am not familiar with "Virtuozzo")...is it poss

RE: MemoryRealm

2003-02-06 Thread Geoff Peters
James - If you can find it the WROX book (Professional Apache Tomcat) - ISBN 1-86100-773-6 has pretty good examples of everything - I used it today to help me debug a JDBC realm, it is pretty good step by step instruction Geoff -Original Message- From: James R. Marcus [mailto:[E

response.sendRedirect() - is this allowed?

2003-02-06 Thread Julius Davies
Hello, Tomcat User's List, There was some talk a few days ago about "response.sendRedirect()" after a POST request being against the HTTP specification... is that really true? For example, would this be a problem? IE and Netscape seem to do what I want! // This is common trick I use after

RE: MemoryRealm

2003-02-06 Thread Filip Hanik
take a look at conf/tomcat-users.xml Filip -Original Message- From: James R. Marcus [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 1:53 PM To: [EMAIL PROTECTED] Subject: MemoryRealm Besides the Realm Configuration HOW-TO on the tomcat documentation page, where can I find a

MemoryRealm

2003-02-06 Thread James R. Marcus
Besides the Realm Configuration HOW-TO on the tomcat documentation page, where can I find a verbose document with an example of using MemoryRealm? I only have one user that needs to authenticate. Thanks, James

RE: Preventing Session saving

2003-02-06 Thread Filip Hanik
I don't think you need the PersistentManager, I believe you could also set the "path" attribute to null in the standard manager Filip -Original Message- From: Sean Dockery [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 1:44 PM To: Tomcat Users List Subject: Re: Preventing Se

Re: Preventing Session saving

2003-02-06 Thread Sean Dockery
From the original server.xml file in Tomcat between and tags. At 16:13 2003-02-05 +0100, you wrote: I'm running Tomcat 4.1.18 on WinNT. Is there a setting in the context, manager, etc where I can specify not to try to continue sessions if the application crashe

Re: Tomcat4.1.18 admin webapp

2003-02-06 Thread Sean Dockery
Edit the .../tomcat-users.xml file to include the following... ... ... ... The user Ganesh whose password is TomcatRocks would be able to use the manager and admin applications... I'm not sure whether or not Tomcat watches this file while it is running. You may have to resta

Re: Unable to compile class for JSP

2003-02-06 Thread Wilson Snook
AFAIK if your bean is in a package (and it should be) and you use the syntax the <%@ page import> directive is unnecessary. - Original Message - From: "Filip Hanik" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, February 06, 2003 8:47 PM Subject: RE: Unabl

jk2 connector - cannot compile

2003-02-06 Thread Mark Eggers
Hans, I'm sorry, but I should have thought of this sooner. When you installed Apache via rpm, there are usually three rpm's available. apache-binaries apache-dev apache-src I believe the apache-dev rpm has the apr utility plus the libraries and include files you will need to build loadable modu

RE: Multi-homing

2003-02-06 Thread Turner, John
And read the two virtual hosting guides here: http://www.galatea.com/flashguides/index John > -Original Message- > From: Sean Dockery [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 06, 2003 4:07 PM > To: Tomcat Users List > Subject: Re: Multi-homing > > > Start by reading ever

RE: BUG...? java.sql.SQLException: Cannot load JDBC driverclass 'nul l'

2003-02-06 Thread Raible, Matt
Yes. When it was in webapps/cct with a path of "", it appeared that Tomcat was trying to load it twice. Once I configured 2 cct.xml files in webapps, one with path="/cct" and one with path="", the problem went away. Matt > -Original Message- > From: Sean Dockery [mailto:[EMAIL PROTECTED

Re: Multi-homing

2003-02-06 Thread Sean Dockery
Start by reading everything you can about how to do virtual hosting on the Apache and Jakarta web sites... http://www.google.com/search?q=site:httpd.apache.org+virtual+host http://www.google.com/search?q=site:jakarta.apache.org+tomcat+virtual+host At 01:46 2003-02-06 -0800, you wrote: Hi I want

RE: Multiple Instances Support Broken in Tomcat 4.1.18

2003-02-06 Thread Turner, John
tomcat-dev is the place for this, not tomcat-user Also, check Bugzilla before you do anything else, it's possible that this has already been submitted and/or a patch is already available. John -Original Message- From: Rahul Bhargava [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06

Multiple Instances Support Broken in Tomcat 4.1.18

2003-02-06 Thread Rahul Bhargava
Platform : Win2K Tomcat ver: 4.1.18   Problem: When trying to start a webapp that has been installed/deployed with jar files in WEB-INF/lib   on a TC instance that was started by setting CATALINA_BASE (to get multi instance support),   an exception is thrown by the

RE: Unable to compile class for JSP

2003-02-06 Thread Denise Mangano
Oops, thanks - I forgot that :) Denise Mangano Help Desk Analyst Complus Data Innovations, Inc. -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 3:47 PM To: Tomcat Users List Subject: RE: Unable to compile class for JSP and int your

LDAP groups in groups question

2003-02-06 Thread Jones Scott - sjones
Is there a way to get tomcat to pick up groups with-in groups I have aadminuser user that is in the customer group The customer group is in SERVLET_1_GROUP. SERVLET_1_GROUP is the role being checked in the web.xml. I currently can only get aadminuser to work if I directly place this

RE: BUG...? java.sql.SQLException: Cannot load JDBC driver class 'nul l'

2003-02-06 Thread Sean Dockery
There seems to be a lot of FUD (fear, uncertainty, and doubt) about this. I am personally using DBCP with both MySQL and PostgreSQL under Tomcat 4.1.18 right now without any problems. Because it works in my installation implies that perhaps the cause of [EMAIL PROTECTED]'s problems has not ye

RE: Unable to compile class for JSP

2003-02-06 Thread Filip Hanik
and int your tag the class attribute should contain the fully qualified classname. Fiilip -Original Message- From: Denise Mangano [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 12:44 PM To: 'Tomcat Users List' Subject: RE: Unable to compile class for JSP The common an

Re: Sample App

2003-02-06 Thread Mark Eggers
Jose, This looks like a packaging issue. If you've compiled your bean in src/mypackage/feijao with a package definition of src.mypackage.feijao, then you'll need to place the class file in: WEB-INF/classes/src/mypackage/feijao/beanclass.class where the WEB-INF directory is the one that lives in

RE: Unable to compile class for JSP

2003-02-06 Thread Denise Mangano
The common answer I've seen to this, and what worked for me was placing the class in a package. Place the class in C:\Tomcat4\webapps\MyApp\WEB-INF\classes\mypackage\beans In your class file you need the statement: package mypackage.beans; In your JSP page you should have <%@ page import="my

RE: Unable to compile class for JSP

2003-02-06 Thread Filip Hanik
starting with JDK 1.4 I believe your bean have to be in a package Filip -Original Message- From: Aaron Bennett [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 12:32 PM To: [EMAIL PROTECTED] Subject: Unable to compile class for JSP Hi, I've just installed Tomcat 4.18 on my

Unable to compile class for JSP

2003-02-06 Thread Aaron Bennett
Hi, I've just installed Tomcat 4.18 on my Windows 2KP machine and am having trouble using my java beans in my application. I continually receive the error: Generated servlet error: [javac] Compiling 1 source file C:\Tomcat4\work\Standalone\localhost\myApp\Proc\getuserinfo_jsp.java:332: c

Re: jakarta-tomcat-connectors-jk2-2.0.2-src cannot compile

2003-02-06 Thread Mark Eggers
Hans, apr is the utility that configures load modules before compiling them. If I remember from other rpm installs, that file is usually in /usr/bin, but I normally don't use rpm installations. You can try the following find command to track down the binary, and then fill it in on the build file

RE: BUG...? java.sql.SQLException: Cannot load JDBC driver class 'nul l'

2003-02-06 Thread Sean Dockery
Just out of curiosity, was your application previously deployed in the "webapps" folder when you were experiencing this error? At 10:12 2003-02-06 -0700, you wrote: I filed a bug on this, but the error only occurs when I try to set my app as the root context (path=""). http://nagoya.apache.org/b

RE: jakarta-tomcat-connectors-jk2-2.0.2-src cannot compile

2003-02-06 Thread Turner, John
Some suggestions: 1 - you should upgrade Apache, not because of JK, but because of the security fixes between .40 and .44 2 - AFAIK, the 2.0.2 connector code will not compile with 2.0.40 but I could be wrong...I do know that the connectors require .43, which implies to me that .40, .41, and .42

PageContext is released early in page with some includes

2003-02-06 Thread Zabel, Ian
Hello, A quick synopsis of our problem: We are using Tomcat 4.0.6. We have a JSP which includes 8 other JSPs using a jsp:include tag inside of a loop (these includes do _not_ have a flush="" attribute). We call this jsp the container, and the included JSPs components. All of these JSPs share a com

RE: jakarta-tomcat-connectors-jk2-2.0.2-src cannot compile

2003-02-06 Thread Turner, John
Not RH 8. Apache 2.0.40 is distributed with RH 8. John > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 06, 2003 3:18 PM > To: [EMAIL PROTECTED] > Subject: RE: jakarta-tomcat-connectors-jk2-2.0.2-src cannot compile > > > Red Hat's a

RE: jakarta-tomcat-connectors-jk2-2.0.2-src cannot compile

2003-02-06 Thread pqin
Red Hat's apache is 1.3. Regards, PQ "This Guy Thinks He Knows Everything" "This Guy Thinks He Knows What He Is Doing" -Original Message- From: Hans Deragon [mailto:[EMAIL PROTECTED]] Sent: February 6, 2003 3:16 PM To: [EMAIL PROTECTED] Subject: jakarta-tomcat-connectors-jk2-2.0.2-

  1   2   3   >