Re: form-based auth

2003-01-31 Thread Craig R. McClanahan
On Fri, 31 Jan 2003, Bill Barker wrote: > Date: Fri, 31 Jan 2003 22:54:38 -0800 > From: Bill Barker <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: form-based auth > > > "Craig R. McClanahan" <[EMAIL PROTECTED]> wrote in message > [EMA

Re: JSP Whitespace

2003-01-31 Thread Bill Barker
This is probably the best solution. The JSP spec requires that the container (aka Tomcat) respect all whitespace in the JSP document. Unfortunately, this usually means trading off page readablility for smaller output size. There isn't much that the Tomcat team can do about this. The place to com

Re: form-based auth

2003-01-31 Thread Bill Barker
"Craig R. McClanahan" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > On Fri, 31 Jan 2003, Madere, Colin wrote: > > > Date: Fri, 31 Jan 2003 14:06:27 -0600 > > From: "Madere, Colin" <[EMAIL PROTECTED]> > > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > >

Re: Nested tags with optional bodies - Tomcat 4.1.18

2003-01-31 Thread Bill Barker
"Ben Carterette" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I just set up Tomcat 4.1.18 with my tag library I had been using with Tomcat > 4.0.4. The tags don't work anymore. > > The set up is like this: > > value > > > > tag2 sets parameters in

RE: jsp:useBean error

2003-01-31 Thread Steve R Burrus
Hi Flip, it seems like I really don't get back to posting in this newsgroup of ours' before midnite :), but anyway, here is the particular war file which you went out yer way to request of me!! I think that there is something to the solution which I have received from at least 2 other people to put

Re: mod_jk2 connector module not working (?)

2003-01-31 Thread Lajos
Right, and also make sure your have an [shm:] block in workers2.properties otherwise jk2 can't start correctly. Regards, Lajos Hannes Schmidt wrote: Looks like your /usr/local/apache2/conf/workers2.properties is missing. Even if Apache is not installed in one directory (as is the case in my

RE: Do something after the webapp starts

2003-01-31 Thread rf
> >Q3. Are the static blocks in the servlet classes > run > >after ServletContextListener.contextInitialized. > > Yes, after. > >[1] I want to deploy axis services programmatically > >after application starts. This is done by an > >AdminClient contacting the server. But the problem > is > >that

tomcat as a standalone webserver

2003-01-31 Thread krip pane
Hi, Sorry if this question was asked before, I'm a newbie finding my way around still. Question is what is the advantage of running tomcat and apache (as a webserver)with some connector (such as mod_jk) as opposed to running tomcat alone as a web server. Also, is it possible to create virtual web

Re: bean initialization code

2003-01-31 Thread Bill Barker
"Jeff Ousley" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello! > > Is there a method I can override in a bean that'll get > executed when a bean is first used and not on > subsequent calls? Basically I'm page that uses a bean > such as: > > class="termwat

Need Help

2003-01-31 Thread Paul Hsu
Hi, I am upgrading Tomcat from 3.3 to 4.1.18. I have a application is working under 3.3, but I copy the same application to 4.1.18 then I run the application I have the foloowing error. It seems tomcat 4.1.18 change the HTTP package, because the error is when the flash send request to one servl

Web app under a name vhost on Apache2/Tomcat?

2003-01-31 Thread Eulogio Robles
We are trying to use Apache2 + Tomcat 4 on Tru64, (HP Secure Webserver). It uses Warp connector, and we have a problem : The web server will run several name virtual hosts, but only one of them will run a web application (JSP and servlets), starting under its root context (i.e, there are pages l

Nested tags with optional bodies - Tomcat 4.1.18

2003-01-31 Thread Ben Carterette
I just set up Tomcat 4.1.18 with my tag library I had been using with Tomcat 4.0.4. The tags don't work anymore. The set up is like this: value tag2 sets parameters in tag1, which then executes a SQL query. tag1 looks like this: Public class tag1 extends BodyTagSupport { private

RE: [BULK] - Re: what is catalina?..

2003-01-31 Thread Sean Dockery
I would speculate that the Tomcat name is, as in, F-14 Tomcat... At a recent Sun Developer Days I attended, one of the presenters who was pumping the Sun ONE application framework talked about the framework's history. Until the re-branding of the framework to Sun ONE blah blah blah, the framework

RE: [BUG?] Can't set my app as root app without errors

2003-01-31 Thread Filip Hanik
looks like this conflicts with the ROOT context. hence it will get loaded twice. There are a couple of ways around it. I believe the path ROOT is hardcoded in the Tomcat code base. 1. Put your app in the ROOT directory under webapps/ROOT 2. hmm, just ran out of ideas :) Filip -Original Mes

Re: error when startup tomcat.

2003-01-31 Thread Justin Ruthenbeck
Your elements are out of order (order is enforced by the parser in this case). Move your element below your and the parser won't complain. Not quite sure why order was determined important here... justin At 04:11 PM 1/31/2003, you wrote: Hi, I install Tomcat/4.1.18 and I have my web.xml

Re: mod_jk2 connector module not working (?)

2003-01-31 Thread Hannes Schmidt
Looks like your /usr/local/apache2/conf/workers2.properties is missing. Even if Apache is not installed in one directory (as is the case in my Linux distribution), JK2 insists on it to be in ServerRoot\conf. Your ServerRoot seems to be set to /usr/local/apache2. Check out this link: http://jakar

error when startup tomcat.

2003-01-31 Thread Paul Hsu
Hi, I install Tomcat/4.1.18 and I have my web.xml in my application. I try to keep web.xml very simple first, but I got this error when I try to start tomcat. Any one has same experience, please give me advice. This web.xml is working under tomcat/3.3.2 my web.xml is http://java.sun.com/dtd/

mod_jk2 connector module not working (?)

2003-01-31 Thread Trevor Hurst
Okay, now that I successfully built the connectors and have installed them. The JSP and servlets are not working so, I'm almost there but not quite yet.. Are these errors in the error_log file of any significance? [Fri Jan 31 14:47:04 2003] [warn] RSA server certificate is a CA certificate (Ba

RE: [BUG?] Can't set my app as root app without errors

2003-01-31 Thread Raible, Matt
There's nothing really in my server.xml, but here it is: If I use in the file below - everything works fine - it's only when I try to set my app as the root (default) context.

RE: jsp:useBean error

2003-01-31 Thread jeff . guttadauro
well khalid, u haven't seen fit to respond to me yet, so consider this to be yer "light a fire under you" email!!! [snip] Please try to respond to me with some useful advice about how I can successfully execute this JSP, because it doesn't look too much like anyone else in this newsgroup much f

Re: form-based auth

2003-01-31 Thread Craig R. McClanahan
On Fri, 31 Jan 2003, Madere, Colin wrote: > Date: Fri, 31 Jan 2003 14:06:27 -0600 > From: "Madere, Colin" <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > Subject: form-based auth > > Anyone out there have multiple contexts (

RE: [BULK] - Re: what is catalina?..

2003-01-31 Thread Craig R. McClanahan
On Fri, 31 Jan 2003, Sankaranarayanan (Ganesh) Ganapathy wrote: > Date: Fri, 31 Jan 2003 10:50:20 -0800 > From: "Sankaranarayanan (Ganesh) Ganapathy" <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: RE: [BULK] - Re: what

RE: [BUG?] Can't set my app as root app without errors

2003-01-31 Thread Filip Hanik
are you sure this has to do with your ROOT context? This looks like an error with your JDBC driver. It tries to load a class that isn't defined. why don't you post your server.xml Filip -Original Message- From: Raible, Matt [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 3:43

restoring the "/examples" path from the Tomcat Web ApplicationManager

2003-01-31 Thread Dennis Hasch
Hello, I'm trying to restore and again run the /examples path, the Config URL:, and the WAR URL: to run the basic /examples demos as installed with Apache Tomcat/4.1.12. In the App manager by accident, I "removed" the application and am now unable to restore it after every possible path, Conf

bean initialization code

2003-01-31 Thread Jeff Ousley
Hello! Is there a method I can override in a bean that'll get executed when a bean is first used and not on subsequent calls? Basically I'm page that uses a bean such as: In order to use the termwatch bean some code inside the bean needs to be executed first. I can create a method and explicitl

[BUG?] Can't set my app as root app without errors

2003-01-31 Thread Raible, Matt
I can't seem to set my application (cct) as the root application for Tomcat. If I use , my app appears to load fine, but then Tomcat seems to attempt to load it a second time, and I get the following error: WARN [main] JDBCExceptionReporter.logExceptions(35) | SQL Error: 0, SQLState: null ERROR [m

RE: Reading client certificates

2003-01-31 Thread Larry Meadors
Or use a debugger to see what the heck they are. ;-) Larry >>> [EMAIL PROTECTED] 01/31/03 16:34 PM >>> Hello, Robert Dana, I cannot help you exactly, but perhaps a debugging trick would help you. Try this: Object o = request.getAttribute("javax.servlet.request.X509Certificate"); System.out.pr

RE: jsp:useBean error

2003-01-31 Thread Filip Hanik
ok, If the LDAPAuthBean is your class, try to add a package to it. I think Tomcat 4.x does funky stuff with classes without packages, and here is looks like it is prepending org.apache.jsp to the prefix. if you want, send me your war file. Filip -Original Message- From: Steve R Burrus [m

RE: Reading client certificates

2003-01-31 Thread Julius Davies
Hello, Robert Dana, I cannot help you exactly, but perhaps a debugging trick would help you. Try this: Object o = request.getAttribute("javax.servlet.request.X509Certificate"); System.out.println( o.getClass().toString() ); System.out.println( o instanceof javax.servlet.request.X509Certificate

Re: Reading client certificates

2003-01-31 Thread Will Hartung
> From: "Robert Dana" <[EMAIL PROTECTED]> > Sent: Friday, January 31, 2003 3:00 PM > Subject: Reading client certificates > Tomcat 4.0 is supposed to implement the Servlet 2.3 specification. The > 2.3 spec says that > ServletRequest.getParameter("javax.servlet.request.X509Certificate") is > requ

RE: jsp:useBean error

2003-01-31 Thread Steve R Burrus
well khalid, u haven't seen fit to respond to me yet, so consider this to be yer "light a fire under you" email!!! Here again is the 505 server error page, as I saw it! And, I will also send you again the 2 files which I have been trying/attempting to work with in JBuilder 8 Enterprise Trial!! So h

RE: Reading client certificates

2003-01-31 Thread Filip Hanik
try java.security.cert.X509Certificate[] Filip -Original Message- From: Robert Dana [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 3:00 PM To: [EMAIL PROTECTED] Subject: Reading client certificates Tomcat 4.0 is supposed to implement the Servlet 2.3 specification. The 2.3

Reading client certificates

2003-01-31 Thread Robert Dana
Tomcat 4.0 is supposed to implement the Servlet 2.3 specification. The 2.3 spec says that ServletRequest.getParameter("javax.servlet.request.X509Certificate") is required to return an array of Objects of type java.security.cert.X509Certificate. But this code: X509Certificate[] certs =

Re: Apache2+SSL w/ Tomcat 4.1.18 - problem building mod_jk connector

2003-01-31 Thread Trevor Hurst
Robert Dana wrote: > > Trevor, > > I just went through this myself. I found an excellent how-to at: > > http://www.pubbitch.org/jboss/mod_jk2.html > > Hope that helps. > > Cheers, > Robert > Thanks Robert, I did see that document when searching earlier but still had problems. I was finall

RE: Properties & class loader, PLEASE HELP!

2003-01-31 Thread Filip Hanik
common/lib should work for you, Filip -Original Message- From: Manuel Soto [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 10:54 AM To: tomcap-user Subject: Properties & class loader, PLEASE HELP! I'm trying to collect all my resources bundles in a jar file that is common to a

Properties & class loader, PLEASE HELP!

2003-01-31 Thread Manuel Soto
I'm trying to collect all my resources bundles in a jar file that is common to all my contexts. The bundles are accesibles only they are in WEB-INF/lib of each context or if is uncompressed in the tomcat/classes. Is there a way to maintain a jar file in the tomcat/lib that contain resources bundles

RE: RMI Performance problem

2003-01-31 Thread Jay Lee
Just drop a comment. Between 4 ms to 80ms, netword traffic could be effect too. You might consider run the script a couple more times to check if there is a difference. -Original Message- From: Arachtingi, Mike [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 2:07 PM To: [EMAIL

Please help on JNI settings

2003-01-31 Thread Jay Lee
Hi, I have some problems to set up JNI connector. My environment is Win 2k Adv Server and IIS. I am using Tomcat 4.0 and JDK 1.4.1. I am trying JNI connector now. I do see the LOG files after reboot server. Somehow, IIS is never started. I cound do AJP connector on sme setting before. Is there

RE: RMI Performance problem

2003-01-31 Thread Julius Davies
Hello, Mike Arachtingi, >When I run this >as a stand-alone program, my results show an average invocation time of >about 3 - 4ms. When I run the same program as a web app (tomcat 4.0.1, >or 4.0.4) I'm seeing averages around 80 ms. 80ms doesn't sound too slow to me! But you've made a very intere

RE: RMI Performance problem

2003-01-31 Thread Filip Hanik
sorry didn't read the full email. Performance degrading when inside of an webapp, shouldn't be doing that, unless the classloader is doing something funky when demarshalling your request. what you could do is to play around putting your RMI classes in different classpaths, like common/lib instea

RE: RMI Performance problem

2003-01-31 Thread Filip Hanik
RMI has never been fast. It uses java serialization to marshall requests. hence it is slow. The more complicated objects you send over the request, the slower it gets. Filip -Original Message- From: Arachtingi, Mike [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 2:07 PM To: [E

RMI Performance problem

2003-01-31 Thread Arachtingi, Mike
Has anyone noticed a performance problem, using RMI from within a web app? I developed a test program that looks up a remote object, and sends it 99 messages (i.e., invokes one of the remote methods.) When I run this as a stand-alone program, my results show an average invocation time of about 3

RE: OutOfmemory Error!

2003-01-31 Thread Filip Hanik
>When App1 reports an "OutOfMemoryError", does it means that the error is due >to App1 ? or that error may be due to another application running the same >VM? or the same TomCat? It is the VM. >Is there any good way to make those two apps run independantly? Run two different tomcat instances (tw

OutOfmemory Error!

2003-01-31 Thread Arcadius A.
Hello! I'm running Java applications on a LINUX RedHat server (with 256MB of RAM)... with Tomcat4.1.12 and SUN's JDK1.4_01 There are 2 applications installed on the server and all of them are using the same JVM (the JDK1.4_01) and the same Tomcat App1 uses Tomcat and PostgreSQL App2 uses Tomcat

Re: virtualHost + jk2

2003-01-31 Thread tomcat guy
How do you define the virtual hosts with jk2? Below is the httpd.conf for the Apache2 side (copied from previous connection - jk) . What do I change, add or delete? I commented out the jk(s) and I get a Forbidden page saying "you don't have permission to access" .. ServerName www.qualityc

RE: background servlets

2003-01-31 Thread Richard Robbins
Sounds to me like you want to write a daemon process running in a separate JVM from Tomcat. To achieve communication with JSP's and servlets, you could use TCP and make it listen on an obscure port. Your servlets and/or JSP's could open a socket on that port and communicate using whatever cust

RE: background servlets

2003-01-31 Thread Tim Moore
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 31, 2003 3:14 PM > To: [EMAIL PROTECTED] > Subject: background servlets > > > Hi, >Thanks for the info. Now, I just need to know how to > create a java > application/servlet runni

RE: Apache2+SSL w/ Tomcat 4.1.18 - problem building mod_jk connec tor

2003-01-31 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
you should be able to get m4 and autoconf from http://freeware.sgi.com/ you most likely need libtool, at least I did for hp-ux Jeff -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 1:05 PM To: 'Tomcat Users List' Subject: RE: Apache2+SSL w

background servlets

2003-01-31 Thread HopkinsJon
Hi, Thanks for the info. Now, I just need to know how to create a java application/servlet running in the background of Tomcat that JSPs or servlets can talk to. Thanks again, Jon

RE: Apache2+SSL w/ Tomcat 4.1.18 - problem building mod_jk connector

2003-01-31 Thread Turner, John
Ugh. Sorry, wish I could help, but I'm not very familiar with how autoconf and m4 work. John > -Original Message- > From: Trevor Hurst [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 31, 2003 3:03 PM > To: Tomcat Users List > Subject: Re: Apache2+SSL w/ Tomcat 4.1.18 - problem buildi

form-based auth

2003-01-31 Thread Madere, Colin
Anyone out there have multiple contexts (or simply multiple webapps) authenticating with the same form (login form in a single location)? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT

Re: Apache2+SSL w/ Tomcat 4.1.18 - problem building mod_jk connector

2003-01-31 Thread Trevor Hurst
Yes, I get the same undefined macro errors because it's (again) calling autoconf: eskimo [534] ./buildconf.sh libtoolize --force --automake --copy ./buildconf.sh[4]: libtoolize: not found aclocal aclocal: configure.in: 22: macro `AM_PROG_LIBTOOL' not found in library automake -a --foreign -i --c

RE: Apache2+SSL w/ Tomcat 4.1.18 - problem building mod_jk connector

2003-01-31 Thread Turner, John
Did you run buildconf.sh prior to running configure? Sorry, I forgot to mention that previously. John > -Original Message- > From: Trevor Hurst [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 31, 2003 2:47 PM > To: Tomcat Users List > Subject: Re: Apache2+SSL w/ Tomcat 4.1.18 - prob

RE: JSP Whitespace

2003-01-31 Thread Mike Jackson
Or you could rewrite it as a servlet, that's the hardest, but the most certain solution. --mikej -=- mike jackson [EMAIL PROTECTED] > -Original Message- > From: Filip Hanik [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 31, 2003 11:47 AM > To: Tomcat Users List > Subject: RE: JSP

Re: Apache2+SSL w/ Tomcat 4.1.18 - problem building mod_jk connector

2003-01-31 Thread Robert Dana
Trevor, I just went through this myself. I found an excellent how-to at: http://www.pubbitch.org/jboss/mod_jk2.html Hope that helps. Cheers, Robert -Original Message- From: Trevor Hurst <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Date: Fri, 31 Jan 2003 11:27:48 -0800 Subject: Apache2+SS

Re: Apache2+SSL w/ Tomcat 4.1.18 - problem building mod_jk connector

2003-01-31 Thread Trevor Hurst
Tried that also, in jakarta-tomcat-connectors-4.1.18-src/jk/native eskimo [515] ./configure --with-apxs=/usr/local/apache2/bin/apxs ./configure[1228]: syntax error at line 1228 : `(' unexpected Line 1228 is the first function call to automake and I see that's part of the problem: AM_INIT_AUTOMA

RE: JSP Whitespace

2003-01-31 Thread Filip Hanik
will it make a difference if you put he <@page tags on the same line <@page .../><@page .../><% %> -Original Message- From: Chad Pettit [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 11:42 AM To: Tomcat Users List Subject: JSP Whitespace How do I remove whitespace in a text

JSP Whitespace

2003-01-31 Thread Chad Pettit
How do I remove whitespace in a text/plain output? I have two <@page ... /> tags before I enter my JAVA code <%, and I get two carriage returns in my output. Thanks for any help. -- Chad E. Pettit Software Engineer XonTech, Inc. 2940 Presidential Dr. Suite 100 Dayton OH 45324 (937) 320-9140 Ph

FW: Getting mod_auth_sspi to work with TC 4.1.18?

2003-01-31 Thread Stimac, Chris
Folks - Previously, I have successfully used mod_ntlm with Apache 1.3.24 and TC 3.3. I was able to get the authentication to "pass thru" Tomcat and retrieve the user name using req.getRemoteUser(). We recently upgraded one of our dev servers to Apache 2.0.44 and TC 4.1.18 (Win 2k). I can se

RE: Apache2+SSL w/ Tomcat 4.1.18 - problem building mod_jk connector

2003-01-31 Thread Turner, John
You might get better results with: ./configure --with-apxs=/usr/local/apache2/bin/apxs make make install John > -Original Message- > From: Trevor Hurst [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 31, 2003 2:28 PM > To: [EMAIL PROTECTED] > Subject: Apache2+SSL w/ Tomcat 4.1.18

Apache2+SSL w/ Tomcat 4.1.18 - problem building mod_jk connector

2003-01-31 Thread Trevor Hurst
Greetings, I am having many difficulties building the mod_jk DSO module from the jakarta-tomcat-connectors-4.1.18-src dist. I have successfully built an Apache2.0.44 server with SSL engine static to the server core and it works great in encrypted mode. I've also successfully installed the jak

Re: placement of 3rd party class files

2003-01-31 Thread Will Hartung
> From: "Jeff Ousley" <[EMAIL PROTECTED]> > Sent: Friday, January 31, 2003 10:39 AM > Subject: RE: placement of 3rd party class files > Is it wise to add directories under the /lib > directory? I'd like to keep the 3rd party classes > seperated from eachother. If I do this, how do I tell > tomcat

RE: URL Rewritting

2003-01-31 Thread Filip Hanik
Am I missing something, but shouldn't the date variable be available through the regular request here. <% String date = request.getParameter("date"); %> -Original Message- From: Chad Pettit [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 11:02 AM To: Tomcat Users List S

URL Rewritting

2003-01-31 Thread Chad Pettit
I have a quick question: Currently, I am using URL rewriting to pass the date into a jsp script: http://localhost:8080/test/test.jsp?date=10-01-2002 Within the JSP code I have access to the date variable with the param.date variable. How do I get this variable into either my bean or embedd

RE: placement of 3rd party class files

2003-01-31 Thread Shapira, Yoav
Howdy, >Is it wise to add directories under the /lib No. The servlet spec mentions the WEB-INF/lib directory itself as a repository for the classloader, not hierarchies under it. Having different jar files where the name of the jar clearly indicates what application it is is sufficient separati

RE: [BULK] - Re: what is catalina?..

2003-01-31 Thread Sankaranarayanan (Ganesh) Ganapathy
While on this topic - how did the name Tomcat come about? Thanx Ganesh -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 9:56 AM To: Tomcat Users List Subject: [BULK] - Re: what is catalina?.. On Thu, 30 Jan 2003, Bill Barker wrote:

RE: Tomcat running behind another web server

2003-01-31 Thread Subir Sengupta
Check out John Turner's howto's http://www.johnturner.com/howto/apache-tomcat-howto.html -Original Message- From: Álisson" Nunes [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 9:41 AM To: [EMAIL PROTECTED] Subject: Tomcat running behind another web server Hello, I would like

RE: placement of 3rd party class files

2003-01-31 Thread Filip Hanik
no, that will not work. And yes, the CLASSPATH variable is ignored. the way that tomcat sets up the classpath for your jsps is JSP_CP=WEB-INF/classes:WEB-INF/lib/jar1.jar:WEB-INF/lib/jar2.jar etc filip -Original Message- From: Jeff Ousley [mailto:[EMAIL PROTECTED]] Sent: Friday, Januar

RE: placement of 3rd party class files

2003-01-31 Thread Tim Moore
> -Original Message- > From: Jeff Ousley [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 31, 2003 1:40 PM > To: Tomcat Users List > Subject: RE: placement of 3rd party class files > > > Is it wise to add directories under the /lib > directory? I'd like to keep the 3rd party classes >

RE: Tomcat running behind another web server

2003-01-31 Thread Turner, John
http://www.johnturner.com/howto John > -Original Message- > From: Alisson" Nunes [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 31, 2003 12:41 PM > To: [EMAIL PROTECTED] > Subject: Tomcat running behind another web server > > > > Hello, > > I would like to know how can I make To

RE: MySQL/Tomcat startup problem

2003-01-31 Thread Filip Hanik
ok, try this. 1. make sure your database is open and that you can connect to it using mysql 2. make sure the hostname javadev.logic.bm can be resolved 3. Make sure you add in the port number to your URL (I put in the default here) connectionURL="jdbc:mysql://javadev.logic.bm:3306/steve?user=user&p

RE: placement of 3rd party class files

2003-01-31 Thread Jeff Ousley
Is it wise to add directories under the /lib directory? I'd like to keep the 3rd party classes seperated from eachother. If I do this, how do I tell tomcat/catalina where to find the class files? Isn't the CLASSPATH variable ignored for .jsp pages? --- Filip Hanik <[EMAIL PROTECTED]> wrote: > just

RE: MySQL/Tomcat startup problem

2003-01-31 Thread Geoff Peters
I do get a slightly different error: SEVERE: Parse Fatal Error at line 199 column 69: The entity name must immediatel y follow the '&' in the entity reference. org.xml.sax.SAXParseException: The entity name must immediately follow the '&' i n the entity reference. at org.apache.xerces.util

RE: placement of 3rd party class files

2003-01-31 Thread Filip Hanik
just put them in the /WEB-INF/lib directory. your webapp has to have a WEB-INF directory, and under WEB-INF you have two directories /classes -- used for .class files /lib -- used for .jar files -Original Message- From: Jeff Ousley [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31

auto gen config file for jk2

2003-01-31 Thread Mike Jackson
I know with tomcat3 you can do a "startup.sh jkconf" to auto-generate a configuration file. And I know that you can create a listener for "org.apache.ajp.tomcat4.config.ApacheConfig" in tomcat4 to autogenerate a configuration file. But I'm wondering if there's a way to do it for jk2... --mikej

RE: placement of 3rd party class files

2003-01-31 Thread Shapira, Yoav
Howdy, In the /WEB-INF/lib directory of your web application. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Jeff Ousley [mailto:[EMAIL PROTECTED]] >Sent: Friday, January 31, 2003 1:29 PM >To: [EMAIL PROTECTED] >Subject: placement of 3rd party class files > >Hello! >

RE: Tomcat running behind another web server

2003-01-31 Thread Shapira, Yoav
Howdy, This is a good reference: http://raibledesigns.com/tomcat/index.html Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Álisson" Nunes [mailto:[EMAIL PROTECTED]] >Sent: Friday, January 31, 2003 12:41 PM >To: [EMAIL PROTECTED] >Subject: Tomcat running behind another

placement of 3rd party class files

2003-01-31 Thread Jeff Ousley
Hello! Forgive my ignorance as I try to grasp the concepts involved in using tomcat. I'm still learning. My web application uses several beans which use 3rd party classes bundled in .jar files. Where should I place these? After reading the class loader doc, I'm still not clear? They will only be

Tomcat running behind another web server

2003-01-31 Thread Álisson
Hello, I would like to know how can I make Tomcat run behind Apache. Or how can I configure Apache to support JSP. Thank you very much Álisson Nunes - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now

RE: MySQL/Tomcat startup problem

2003-01-31 Thread Raible, Matt
Try using an & in place of the ; in your connectionURL: connectionURL="jdbc:mysql://javadev.logic.bm/steve?user=user&password=pa ssword" > -Original Message- > From: Geoff Peters [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 31, 2003 11:08 AM > To: [EMAIL PROTECTED] > Subject: MySQL/

MySQL/Tomcat startup problem

2003-01-31 Thread Geoff Peters
Hello again - I have spent most of the day on this and don't seem to be getting anywhere, searched the archives here and the java.sun.com forums to no avail. Running Tomcat 4.1.18 on my dev box Win2K Server, running MySQL 3.23.49 on the same network on a Redhat 7.3 install. I am simply trying t

JavaMail Session Resources; how do I specifiy authentication?

2003-01-31 Thread Christopher M. Zinn
I have configured in my server.xml (Tomcat 4.18 on Windows 2000 Server sp3): mail.smtp.host InternalMailServer In my context I have a to it. It works okay, but I can't send mail outside of my domain because we have relay disabled for anonymous users.

Re: what is catalina?..

2003-01-31 Thread Craig R. McClanahan
On Thu, 30 Jan 2003, Bill Barker wrote: > Date: Thu, 30 Jan 2003 22:44:14 -0800 > From: Bill Barker <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: what is catalina?.. > > Catalina is also the name of a small island off the coast of so

Re: Do something after the webapp starts

2003-01-31 Thread Craig R. McClanahan
On Thu, 30 Jan 2003, rf wrote: > Date: Thu, 30 Jan 2003 22:33:53 -0800 (PST) > From: rf <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Do something after the webapp starts > > I want to do some[1] processing after my web > application fin

Re: System.out.prinln in a bean

2003-01-31 Thread Wilson Snook
For your interest, try using out.println instead. Wilson - Original Message - From: "Jeff Ousley" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 31, 2003 5:00 PM Subject: System.out.prinln in a bean > Hello! > > If I use System.out.println in a bean, where does t

TC 4.1.18 Socket closed -- please help!

2003-01-31 Thread Nick Wesselman
TC 4.1.18, Coyote JK over AJP13 w/ mod_jk. We're seeing a message like this in our logs for virtually every request: Jan 29, 2003 11:34:40 AM org.apache.jk.common.ChannelSocket processConnection SEVERE: Error, processing connection java.net.SocketException: Socket closed at COM.jrockit

RE: mod_jk2 and client certificates

2003-01-31 Thread Shufelt, Jonathan S.
Seems like I have teh same problem. I went through matts HOWTO and all I can't get the SSL enviroment plugs to pass to Tomcat. All I can get to it my webpages via ssl. --Jonathan -Original Message- From: Robert Dana [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 6:22 AM To: [

RE: System.out.prinln in a bean

2003-01-31 Thread Filip Hanik
I believe it goes to catalina.out under /logs/ if you want to control where it goes, use a logging library, like log4j -Original Message- From: Jeff Ousley [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 9:01 AM To: [EMAIL PROTECTED] Subject: System.out.prinln in a bean Hello!

getSession(ture) return null after a new session has been created

2003-01-31 Thread syip
I am running tomcat 3.2.4, I use request.getSession() to create a new session inside a servlet. When I use requsest.getSession(true) to retrieve the same session from a different servlet, I got a null value. Do I miss anything in configuration? When I run the same code in tomcat 3.2.3, I don'

System.out.prinln in a bean

2003-01-31 Thread Jeff Ousley
Hello! If I use System.out.println in a bean, where does the output go? Can I control where it goes? thanks! -jeff __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com --

RE: cocoon and jsp

2003-01-31 Thread Mike Bachrynowski
Cocoon needs a servlet engine such as Tomcat. I believe Cocoon provides a higher level of abstraction than does Tomcat. This comes at a price which is operational performance. In Tomcat you can create JSP and Servlets. In Tomcat you can transform XML into HTML or whatever using XSLT.

Re: Backward migration from Tomcat 4.1.18 to Tomcat 3.2.4

2003-01-31 Thread Chad Pettit
That sucks. I think I can just hack everything into my bean and be OK. One more question: How do you pass a url rewrite parameter into a bean? In my program, I have a ?date=10-oct-2002 field in my url that I am retrieving using param.date. Previosuly, I was using: but since the c:set isn

RE: installation

2003-01-31 Thread Shapira, Yoav
Howdy, >>I also need to know if it is possible to have a java >> application/servlet running in the background of any version >> of Tomcat that >> JSPs or servlets can talk to. Yes. Yoav Shapira Millennium ChemInformatics -

RE: installation

2003-01-31 Thread Turner, John
AFAIK, the JDK is backwards compatible, so any version of Tomcat. Current releases are 3.3.1 and 4.1.18, 4.1.18 is recommended for things like better JSP compilation performance, etc. Apache: 1.3.27, 2.0.43/44 I don't understand what you mean about the backgroudn program, so I will defer to oth

installation

2003-01-31 Thread HopkinsJon
Hi folks, I need to know, first of all, which version of Tomcat supports Java SDK 1.4.1_01 and which version of Apache will work with that version of Tomcat. I also need to know if it is possible to have a java application/servlet running in the background of any version of Tomcat

RE: Backward migration from Tomcat 4.1.18 to Tomcat 3.2.4

2003-01-31 Thread Raible, Matt
JSTL only works with JSP 1.2 - Tomcat 3.x only supports JSP 1.1. HTH, Matt > -Original Message- > From: Chad Pettit [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 31, 2003 9:00 AM > To: [EMAIL PROTECTED] > Subject: Backward migration from Tomcat 4.1.18 to Tomcat 3.2.4 > > > I devel

Re: tomcat, tyrex and mysql

2003-01-31 Thread Martin Jacobson
emiliano albiani wrote: HI, I'm trying configuring tyrex in my tomcat installation to use MySql xa driver. I did it as described in tomcat documentation: http://jakarta.apache.org/tomcat/to...les-howto.html,

cocoon and jsp

2003-01-31 Thread Peter Choe
is cocoon and jsp competing services or are they complementary? Peter Choe - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Ant redeploy, Apache (mod_webapp) & Tomcat 4.1

2003-01-31 Thread Martin Jacobson
Morgan Pyne wrote: Hi all, Is anybody on this list using Ant to redeploy war files to an Apache(mod_webapp)->Tomcat setup? I have several servlets already deployed, configured, and working correctly on the following setup: Apache (1.3.26), mod_webapp (machine 1) Tomcat 4.1.12 (machine 2) The

Backward migration from Tomcat 4.1.18 to Tomcat 3.2.4

2003-01-31 Thread Chad Pettit
I developed an application using Tomcat 4.1.18. It is nothing very difficult, it basically utilizes a single JSP script and one JAVA bean. However, in the script, I take full advantage of the core jstl (c:out, c:if, c:foreach, etc.). I am now trying to port my code to a machine running Tomcat 3.

  1   2   >