RE: apache tomcat and ssl

2002-08-09 Thread Ricky Leung
Did you define jk directives in the SSL virtual host section of your apache config file? If you want https to behave exactly like http, but just secure, copy your virtual jk directives over to the ssl portion. Also, make sure when you start apache, it doesn't complain about mod_jk without EAPI s

Re: unpacking of WAR

2002-08-09 Thread Craig R. McClanahan
On Fri, 9 Aug 2002, Paul Phillips wrote: > Date: Fri, 09 Aug 2002 22:49:00 -0500 > From: Paul Phillips <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: unpacking of WAR > > I worked on deploying my first webapp to anoth

Re: Command line jspc throws NPE for page using JSTL

2002-08-09 Thread Craig R. McClanahan
On Fri, 9 Aug 2002, Kris Schneider wrote: > Date: Fri, 09 Aug 2002 23:11:48 -0400 > From: Kris Schneider <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: Command line jspc throws NPE for page using JSTL > > I mucked

RE: RMI and TC4.x (Really classloader stuff)

2002-08-09 Thread Greg Trasuk
Hi David: I'm in the same boat trying to use RMI and/or Jini from Tomcat. This isn't a complete answer to your question, as I'm still investigating the issue, but I'm posting what I know so far in the hope that it might help in your own solution, and also generate discussion that will gu

Re: Command line jspc throws NPE for page using JSTL

2002-08-09 Thread Kris Schneider
Hi Dave ;-), I'm pretty sure it's meant to run standalone. The two "normal" ways I know of are through the optional jspc Ant task or by running %CATALINA_HOME%\bin\jspc.bat directly. Neither of those worked for me so I went digging for some more detail about the failure. There's code in the const

unpacking of WAR

2002-08-09 Thread Paul Phillips
I worked on deploying my first webapp to another server today. I packaged it up as a war, transferred it to the other tomcat server, added the one line context element in the server.xml, and restarted. Nothing - the logs said that the webapp that was referenced by the context statement was no

context problem with webapp connector

2002-08-09 Thread Paul Phillips
Tomcat 4.0.4 + Apache 1.3... I have setup the mod_webapp connector and it sort of works... However, I have a context in my tomcat server.xml file that looks like this: Now, when I access my servlet directly into Tomcat standalone like this: http://URL:8080/tester/et

Re: Command line jspc throws NPE for page using JSTL

2002-08-09 Thread David Kavanagh
Kris, Did you find the code that refers to that path? Is it assuming that is runs inside a webapp container? If so, sound like it might be a bug (unless it was never intended to run standalone). I'd bet you could make it work by messing with your classpath. David Kris Schneider wrote: >I muc

Re: Command line jspc throws NPE for page using JSTL

2002-08-09 Thread Kris Schneider
I mucked around with the Jasper source a bit to get some exception info dumped: java.net.MalformedURLException: Path 'WEB-INF/lib/standard.jar' does not start with '/' at org.apache.jasper.servlet.JspCServletContext.getResource(JspCServletContext.java:278) at org.apache.jasper.Jsp

Re: help with data insertion on postgresql on tomcat4/apache2

2002-08-09 Thread Paul Yunusov
On Friday 09 August 2002 10:59 pm, sibusiso xolo wrote: > Greetings, > > I am using tomcat4.04 on SuSE8/postgresql7.2.1 with source compiled jdbc > driver. > > I am able to do SELECTS and other queries on database tables (with jsp > and servlets) but unable to do data UPDATES and INSERTS

Error Using JSTL1.0.1

2002-08-09 Thread Lee Peik Feng
Hi, I'm using jdk1.3.1_04, tomcat 4.0.4 on Linux 7.3 and I have link up apache and tomcat using mod_jk2. After I upgrade jstl from 1.0 to 1.0.1, I sometimes (not every time, happen mainly after I update jsp files, clear cache and restart tomcat) get the below error while trying to browse

Command line jspc throws NPE for page using JSTL

2002-08-09 Thread Kris Schneider
(Alrighty, this is actually attempt number 3 to get this note posted. Gotta get more caffeine to the gerbils powering the email server...) When I try to use jspc from the command line to compile a JSP page that uses JSTL (1.0.1), I get a NullPointerException. Here's the setup (apologies if my ema

help with data insertion on postgresql on tomcat4/apache2

2002-08-09 Thread sibusiso xolo
Greetings, I am using tomcat4.04 on SuSE8/postgresql7.2.1 with source compiled jdbc driver. I am able to do SELECTS and other queries on database tables (with jsp and servlets) but unable to do data UPDATES and INSERTS.. . Help would be appreciated. regards sibu -- To unsubscribe,

Re: Servlet not working

2002-08-09 Thread Paul Yunusov
On Friday 09 August 2002 06:08 pm, Laura Findley wrote: > I typed in my first example servlet today & cannot seem to get it working. > > I made sure all the following were done: > > 1) Classpath is set > CATALINA_HOME=$CATALINA_HOME:/usr/java/jakarta-tomcat-4.0.4 > JAVA_HOME=/usr/java/

Changing Servlet directories

2002-08-09 Thread Peter O
How can I change the default servlet directory? Thanks, Peter -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: Problems with *

2002-08-09 Thread Craig R. McClanahan
On Fri, 9 Aug 2002, Todd Kaplinger wrote: > Date: Fri, 09 Aug 2002 17:43:36 -0400 > From: Todd Kaplinger <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: Re: Problems with * > > define a servlet mapping of just "/

Re: Problems with *

2002-08-09 Thread Craig R. McClanahan
On 9 Aug 2002, Alexander Wallace wrote: > Date: 09 Aug 2002 16:46:07 +0100 > From: Alexander Wallace <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Problems with * > > > > Hi there! New to the list. And to java and to

Re: ant task to query if a particular app is running?

2002-08-09 Thread Craig R. McClanahan
On Fri, 9 Aug 2002, Jacob Kjome wrote: > Date: Fri, 9 Aug 2002 16:21:18 -0500 > From: Jacob Kjome <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]>, > Jacob Kjome <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: ant task to query if a particula

Re: Tomcat4 : specific settings for Context

2002-08-09 Thread Craig R. McClanahan
On 9 Aug 2002, Dominique Deleris wrote: > Date: 09 Aug 2002 23:00:58 +0200 > From: Dominique Deleris <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: tomcat-user-list <[EMAIL PROTECTED]> > Subject: Tomcat4 : specific settings for Context > > Hello list, > > I would li

upgrading from v.3.1.1 to v.3.3 ?

2002-08-09 Thread Paul Tomsic
What's involved w/ an upgrade of Tomcat from 3.1.1 to 3.3? Is this a fairly straight forward task, or is it quite involved? We're experiencing some "odd" behaviour from 3.1.1, and can't help but wonder if it's got something to do w/ the old version. Unfortunately, we're in the middle of a crunch

Re: NetBeans + Tomcat 4.0.4

2002-08-09 Thread Alexander Wallace
Thanks! I'll check it out. On Fri, 2002-08-09 at 23:01, Larry Meadors wrote: > Look here: > > http://www.mail-archive.com/struts-user@jakarta.apache.org/msg30523.html > > Instructions on how to set up tomcat and netbeans with the JPDA > debugger. > > Larry > > >>> [EMAIL PROTECTED] 08/09/02 1

RE: Servlet to JDBC connection

2002-08-09 Thread Mike Jackson
I don't know for sure, but in my experience the jdbc urls typically don't have the path on the disk referenced. Rather they usually have the database name listed, or no name (ie default database). So I'd check your docs for interbase and make sure that your url following the slash after the po

RE: Servlet not working

2002-08-09 Thread Marinko, Jeff
The code looks alright... Do the example servlets work? Try putting the .class file in with the examples and try using it that way. .class file: Tomcat/webapps/examples/WEB-INF/classes URL: http://localhost:8080/examples/servlet/ExampleServlet (or "HelloWorld" just to make sure it works). Hop

jsp:forward

2002-08-09 Thread Carl
The saga continues. Downloaded Tomcat 4.0.4. Couldn't get it to work even with the examples. Desperate. Downloaded Tomcat 4.1.8. Worked with the forward (jsp/forward/forward.jsp)... a little hope. Moved my application over... after a little tinkering with the code, it worked. The interface

Servlet not working

2002-08-09 Thread Laura Findley
I typed in my first example servlet today & cannot seem to get it working. I made sure all the following were done: 1) Classpath is set CATALINA_HOME=$CATALINA_HOME:/usr/java/jakarta-tomcat-4.0.4 JAVA_HOME=/usr/java/j2sdk1.4.0 PATH=$PATH:$HOME/bin:/usr/java/j2sdk1.4.0/bi

Re: NetBeans + Tomcat 4.0.4

2002-08-09 Thread Larry Meadors
Look here: http://www.mail-archive.com/struts-user@jakarta.apache.org/msg30523.html Instructions on how to set up tomcat and netbeans with the JPDA debugger. Larry >>> [EMAIL PROTECTED] 08/09/02 15:59 PM >>> Does anyone here use NetBeans with tomcat 404? I'm using it, and use a small class to

NetBeans + Tomcat 4.0.4

2002-08-09 Thread Alexander Wallace
Does anyone here use NetBeans with tomcat 404? I'm using it, and use a small class to start tomcat from netbeans (instead of using the internal one that's 3.2), it works great when I want to debug servlets. But no JSP works, they all give error 500, even the ones in /exaples. But if i start it ma

Re: Problems with *

2002-08-09 Thread Todd Kaplinger
define a servlet mapping of just "/". this is the default servlet mapping. To get the servlet name use request.getPathInfo(). This will return the info after the slash. >From: Alexander Wallace <[EMAIL PROTECTED]> >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> >To: Tomcat Users List <[EMA

Problems with *

2002-08-09 Thread Alexander Wallace
Hi there! New to the list. And to java and tomcat, so please be nice. I have a problem with a servlet mapping. If i use a url-pattern like /Hello on a servlet mapping pointing to a particular servlet, the servlet get's the request and i can use request.getServletPath() to get the URI. But if

RE: 500 error on all JSP pages

2002-08-09 Thread Alison Fish
> > Hello all. I'm new to the list. I'm getting a "500" error > on any JSP I try > to run. If I run the servlet examples though, they seem to > work fine. This is the same issue I have been working on all day. I finally got it to work about an hour ago. (FYI: I am running fresh install of A

Re: tomcat + apache

2002-08-09 Thread steve Burrus
Buenos Tardes, Carlo, this is Estebban Burrus, and I was just wondering if u could possibly put your submission in English, as I would love to help you, but don't speak Spanish!! Gracias.

ant task to query if a particular app is running?

2002-08-09 Thread Jacob Kjome
Hi, I'm wondering if it is possible to use one of the catalina ant manager tasks to query for the existence of a single running application. The closest thing to it that I can find is the "List" task. However, that just returns a string list of all running apps. What I would like to do is be a

FW: Re[2]: Apache 2.0.39 and Tomcat 4.1.8 Servlet issue

2002-08-09 Thread Short, Dave
Ignacio, I was able to create a reproducible test case for you. It turns out this seems to be an Apache 2.0.39 issue only... Anyway, attached are two HTML files (copies of the Jakarta developer's guide). The first copy (Apache2TestShort.htm) is roughly 7k in size and displays without a problem

500 error on all JSP pages

2002-08-09 Thread Kenny G. Dubuisson, Jr.
Hello all. I'm new to the list. I'm getting a "500" error on any JSP I try to run. If I run the servlet examples though, they seem to work fine. I realize that this is like the most common error and I know it's just a config issue, but darn if I can find it. Any help would be very appreciated

JSSE/mod_ssl or wrong mailing list

2002-08-09 Thread AMRAN121
I posted this a couple of days ago and so far I have had no response so am I asking a wrong question in the wrong mailing list does anyone know of a better place where my tomcat ssl encryption questions can be asked? I had been following the recent disscusion of login + ssl which has been very

Tomcat4 : specific settings for Context

2002-08-09 Thread Dominique Deleris
Hello list, I would like to setup some specific settings per Tomcat Context. Debian flavour for Tomcat automatically detects all apps deployed in /webapps and sets up all needed settings : there is no entry in server.xml for the different applications. Now I woul like to setup the "reloadable"

JDBC Realm - Can't start TC4.0.4 !!

2002-08-09 Thread khozaima shakir
I am trying to configure JDBCRealm. I can't understand the error, since the same username and password was successfully used to access the database using servlet-jdbc in my webapp, without configuring JDBCrealm. Can anyone please advise? Thanks, skhuzema I have edited server.xml realm as under

RE: Tomcat, JAXB and SecurityManager

2002-08-09 Thread Extance, Paul
We have had a problem with JAXB under Tomcat 4.0.3, as it couldn't find the jaxb-rt.jar in the WEB-INF/lib folder. We also put it in the %catalina_home%/common/lib, and it still couldn't find it. We then put the jar in the %java_home%/jre/lib/ext and then it worked. We then upgraded to Tomcat 4

Re: Converting HOST to IP an IP to HOST

2002-08-09 Thread Jose Francisco Junior
The case is that I whould not like to do somithing like this: if( "http://machineName1:8080".equals( request.getRequestURL() )|| "http://www.my_system_url:8080".equals( request.getRequestURL() ) || "http://200.2001.148.10:8080".equals( request.getRequestURL() ) ) showContent1(); else if( "h

RE: Is it possible to include via a directive snippets into theserver.xml file

2002-08-09 Thread Craig R. McClanahan
On Fri, 9 Aug 2002, Andrew wrote: > Date: Fri, 9 Aug 2002 15:26:33 -0400 > From: Andrew <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: 'Tomcat Users List' <[EMAIL PROTECTED]> > Subject: RE: Is it possible to include via a directive snippets into the > server.xml

tomcat + apache

2002-08-09 Thread Carlos
hola estoy intentando , en mi linux suse 8, hacer andar el tomcat con el apache, es decir que el puerto 80 tambien responda a las peticones jsp y no lo consigo. para ver las jsp tengo que poenr 8080. bien el el httpd.conf de apache tengo: LoadModule webapp_module /usr/lib/apache/mod_webapp.so WebA

RE: Accessing Mapped Drives

2002-08-09 Thread Jacob Hookom
XP Pro, but I can put 2000 server on it. | -Original Message- | From: David Kavanagh [mailto:[EMAIL PROTECTED]] | Sent: Friday, August 09, 2002 7:34 AM | To: Tomcat Users List | Subject: Re: Accessing Mapped Drives | | I saw this problem with a java2 applet running with the plugin The fi

RE: using INCLUDE with crossContext

2002-08-09 Thread Andrew
The include directive is relative to the webapp. This is as specified in the JSP Spec. From my understanding, you can use the to retrieve files from other contexts. - Andrew > -Original Message- > From: Christian J. Dechery [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 09, 2002

RE: Is it possible to include via a directive snippets into the server.xml file

2002-08-09 Thread Andrew
actually, I don't believe that the name of the xml file has to be the context name, but don't quote me on that. The important information is the context information within the XML file. From my understanding, you just have to use as your root element, and you can add any sub elements necessary.

RE: Converting HOST to IP an IP to HOST

2002-08-09 Thread Turner, John
Well, so far you've asked two different questions, yet they are supposed to be the same. Your first post wanted an IP address from a name, getByName() will do that for you, assuming by "name" you mean fully-qualified internet domain name. Now you are saying that the IP address will actually b

RE: Precompiling JSPs for Tomcat

2002-08-09 Thread Rossen Raykov
Try something like: ... Regards, Rossen > -Original Message- > From: Sean LeBlanc [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 09, 2002 2:18 PM > To: [EMAIL PROTECTED] > Subject: Precompiling JSPs for Tomcat > > > Hi all

RE: Configuration for High TPS

2002-08-09 Thread Marinko, Jeff
Thanks Mark! That's some good advice. I haven't moved on to "tweaking" the JVM yet, I know there are some options I can use to increase performance, but I'm not to that point yet. I'm sticking with the standalone for simplicity. I'll likely turn this over to someone else, and the fewer parts,

RE: Connection/acceptCount Problem

2002-08-09 Thread Marinko, Jeff
JDK: 1.4 and 1.3.1 (currently 1.4) OS: WinNT 4, no service packs on test machine enableLookups: Maybe slight improvement. I already stated it could handle 150 TPS with it set to "true". test tool: custom program. I did not write it, only using it. Not running IIS, but I'm pretty sure it i

RE: Configuration for High TPS

2002-08-09 Thread Craig R. McClanahan
On Fri, 9 Aug 2002, Mark Annal wrote: > Date: Fri, 9 Aug 2002 11:58:05 -0700 > From: Mark Annal <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: RE: Configuration for High TPS > > We ran some high TPS testing recently u

Re: Tomcat 4.1.x JAASRealm Implementation

2002-08-09 Thread Craig R. McClanahan
On Fri, 9 Aug 2002, James Krygowski wrote: > Date: Fri, 9 Aug 2002 14:39:57 -0400 > From: James Krygowski <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Tomcat 4.1.x JAASRealm Implementation > > Hey All (Craig particu

RE: Configuration for High TPS

2002-08-09 Thread Mark Annal
We ran some high TPS testing recently using a Sun 220R running Solaris 8. We were running an Apache/Tomcat combination using the mod_webapp connector. Just running a dumb simple servlet we were topping out at 165 tps and 80% CPU. We tried repeating the test using Tomcat standalone trying to figu

Re: java.endorsed.dirs

2002-08-09 Thread Jacob Kjome
Hello Neo, Well, you can upgrade to Tomcat-4.1.x where they now include a $CATALINA_HOME/common/endorsed directory. Or, you can use java's standard endorsed dir: $JAVA_HOME/jre/lib/endorsed Not sure how to add your own endorsed directories, though. Maybe Tomcat-4.1.x will understand the -Dendo

Converting HOST to IP an IP to HOST

2002-08-09 Thread Jose Francisco Junior
All right, but it does not solve my problem. I did a local web system that can be accessed both by IP or HOST. Depending on the way the user accessed( by HOST or IP ) the application I must display different contents. I could do this: if( request.getRequestURL().toString().equals("192.168.2

RE: Connection/acceptCount Problem

2002-08-09 Thread Sexton, George
You really aren't giving enough detail in your messages. You are trying to treat a complex problem (hundreds of transactions per second) as a simple, something is wrong with one thing issue. Scaling performance to these levels is usually a combination of factors. There are rarely magic bullets whe

Tomcat 4.1.x JAASRealm Implementation

2002-08-09 Thread James Krygowski
Hey All (Craig particularly)- Going through the code that exists in 4.1.8, I noticed that in the JAASRealm comments, Craig makes mention of using classes implementing the Principal interface to represent Users and Roles. This sounds like a good approach given the vagueness surrounding the JAAS i

error building mod_jk

2002-08-09 Thread Aaron
From: Aaron <[EMAIL PROTECTED]> Date: Fri Aug 9, 2002 1:12:36 PM US/Central To: [EMAIL PROTECTED] Subject: error compiling mod_jk Hi- I'm trying to build mod_jk on Mac OS X. The build fails with this at the end: [so] StdErr: [so] libtool: unrecognized option `-arch_only'

RE: Configuration for High TPS

2002-08-09 Thread Marinko, Jeff
I plan to do pre-caching later. Currently my "first" test run is the unlucky user, which I'm calling a "cold start" and seeing how well it performs from a clear cache. No, I'm running TC stand-alone currently. Running it with Apache will improve performance? I'll look into it, but for now I'm r

Connection/acceptCount Problem

2002-08-09 Thread Marinko, Jeff
I've mentioned this before in my Configuration e-mail, but it appears important enough for me to mention it again (as there hasn't been a response, and it is a pretty serious problem IMO). When I run tests at a high TPS, I might encounter a "can't connect" error (looks like I've reached the accep

RE: Configuration for High TPS

2002-08-09 Thread Durham David Cntr 805CSS/SCBE
Have you integrated Tomcat with another webserver for the static content, assuming you have some. That would more than likely improve performance. > -Original Message- > From: Turner, John [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 09, 2002 12:52 PM > To: 'Tomcat Users List' > Su

RE: Configuration for High TPS

2002-08-09 Thread Durham David Cntr 805CSS/SCBE
You can set up an event listener to cache this data when the context is initialized. That's probably better than making the initial unlucky users wait. > -Original Message- > From: Marinko, Jeff [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 09, 2002 12:43 PM > To: 'Tomcat Users Lis

Precompiling JSPs for Tomcat

2002-08-09 Thread Sean LeBlanc
Hi all, I'm having some issues with using Ant's task (I have a thread going on the Ant mailing list), is there any way to manually call the compilation for Tomcat's build? Somehow, Tomcat must do it, so I figure there has to be a way to kluge something together that does the same thing? -- Se

error compiling mod_jk

2002-08-09 Thread Aaron
Hi- I'm trying to build mod_jk on Mac OS X. I am using libtool-1.4.2 and I see the -arch_only option in the documentation. Does anyone know how to fix this? Thanks, Aaron [mobile:local/jakarta-tomcat-connectors/jk] mobile# ant native Buildfile: build.xml jkant: [javac] Compiling 17

RE: Configuration for High TPS

2002-08-09 Thread Marinko, Jeff
It can do at least 150... :-) -Original Message- From: Sexton, George [mailto:[EMAIL PROTECTED]] Sent: Friday, August 09, 2002 11:07 AM To: Tomcat Users List Subject: RE: Configuration for High TPS Can your DNS server handle 200 reverse lookups per second? -Original Message- Fr

RE: Configuration for High TPS

2002-08-09 Thread Sexton, George
Can your DNS server handle 200 reverse lookups per second? -Original Message- From: Marinko, Jeff [mailto:[EMAIL PROTECTED]] Sent: 09 August, 2002 12:04 PM To: 'Tomcat Users List' Subject: RE: Configuration for High TPS I was aware of that, but I thought I might want to leave that on fo

RE: Configuration for High TPS

2002-08-09 Thread Marinko, Jeff
I was aware of that, but I thought I might want to leave that on for others using Tomcat. I'll turn it off for the tests, thanks. -Original Message- From: Sexton, George [mailto:[EMAIL PROTECTED]] Sent: Friday, August 09, 2002 11:01 AM To: Tomcat Users List Subject: RE: Configuration for

RE: Error 500 need help

2002-08-09 Thread Anderson, Richard D ERDC-ITL-MS Contractor
i tried the trick and it didn't work. i still get the same error message. it looked more like a java issue to me. have any more suggestions? what i doing here is building tomcat straight from source and i have the most recent src version off the jakarta website. -Original Message- Fr

RE: Configuration for High TPS

2002-08-09 Thread Sexton, George
You might want to set enableLookups="false". You realize, that's doing a reverse DNS lookup for every connection don't you? -Original Message- From: Marinko, Jeff [mailto:[EMAIL PROTECTED]] Sent: 09 August, 2002 11:23 AM To: Tomcat Users List Subject: Configuration for High TPS I'm atte

RE: Configuration for High TPS

2002-08-09 Thread Turner, John
As far as I know, the connectors aren't tied to specific tomcat versions (separate projects). If memory serves, that resource is the same resource that has always been posted under the 4.0 docs. John Turner [EMAIL PROTECTED] -Original Message- From: Marinko, Jeff [mailto:[EMAIL PROTECT

RE: Configuration for High TPS

2002-08-09 Thread Sullivan, Mark E
I'm pretty sure that you can in fact use it with 4.0.*. You may have to compile the connector distro in order to get it, but once you have the necessary classes it should drop in with no problem. > -Original Message- > From: Marinko, Jeff [mailto:[EMAIL PROTECTED]] > Sent: Friday, August

RE: Configuration for High TPS

2002-08-09 Thread Marinko, Jeff
I have been looking through those online docs looking for any configuration info that might be useful, but I'm using 4.0.3, so I've been reading the 4.0 docs. It doesn't appear this is available in 4.0 (as it is under the 4.1 docs). Thanks for the link though! -Original Message- From: T

RequestDispatcher question

2002-08-09 Thread Scott Purcell
Hello, I am trying to send a (request, response) object to a server that lives at another IP (or URL). I have the need to pass parameters that are in the request object, but I cannot seem to forward the request to the other servlet. I keep getting a error: "java.lang.IllegalArgumentException:

java.endorsed.dirs

2002-08-09 Thread Neo
How can I configure my custom instance of the Tomcat service to append my endorsed.dir? I tried adding the flag (-Djava.endorsed.dirs='') to my tomcat service installation script but the value is ignored by tomcat once it starts up. I stumbled across a couple web pages that lead me to believe it

RE: Configuration for High TPS

2002-08-09 Thread Turner, John
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/coyote.html John Turner [EMAIL PROTECTED] -Original Message- From: Marinko, Jeff [mailto:[EMAIL PROTECTED]] Sent: Friday, August 09, 2002 1:50 PM To: 'Tomcat Users List' Subject: RE: Configuration for High TPS Where can I find do

RE: Configuration for High TPS

2002-08-09 Thread Turner, John
Come on...RTFM: java.net.InetAddress.getByName(); Sheesh. John Turner [EMAIL PROTECTED] -Original Message- From: Jose Francisco Junior [mailto:[EMAIL PROTECTED]] Sent: Friday, August 09, 2002 1:44 PM To: Tomcat Users List Subject: Re: Configuration for High TPS Please, I know it i

RE: Configuration for High TPS

2002-08-09 Thread Marinko, Jeff
Where can I find documentation on the Coyote connector (such as the exact class name)? What is really bothering me (currently), is once I start getting connection errors, my CPU usage (roughly) doubles, and I get connection errors much more easily (as if acceptCount was reduced somehow). Any ide

Re: Configuration for High TPS

2002-08-09 Thread Jose Francisco Junior
Please, I know it is a bit off-topic but I am trying to get a IP address from an URL like this: new URL("http://java.sun.com";); //this is the URL How can I get the IP address from this URL? Any idea ?? Thanks in advance, Junior Don't E-Mail,

Re: Error 500 need help

2002-08-09 Thread Carlos Ferreira
it looks like you have an xml parser conflict ( tomcat's xerces and the jdk's xml parser ). either download tomcat4-LE-jdk14 or reorder your xml parser's jar files in your classpath ( ie put xml-apis.jar, xercesImpl.jar first in your CLASSPATH). check xerces' documentation for further info. go

RE: Configuration for High TPS

2002-08-09 Thread Marinko, Jeff
I knew I forgot a detail Running Tomcat 4.0.3 (or 4.0.4, I'll likely upgrade to that version soon). Quick follow up on this. I'm testing a servlet I've written that does some caching, and is very quick once it has cached all of its data. During the first run, I test it going 40 TPS (over se

RE: Configuration for High TPS

2002-08-09 Thread Sullivan, Mark E
what version of tomcat are you running? In the 4+ versions the Coyote HTTP connector is supposed to perform better. > -Original Message- > From: Marinko, Jeff [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 09, 2002 12:23 PM > To: Tomcat Users List > Subject: Configuration for High TPS

Configuration for High TPS

2002-08-09 Thread Marinko, Jeff
I'm attempting to configure Tomcat for a test environment to handle a high number of transactions per second (TPS) and would like any advice others may like to contribute. The machine is a fairly powerful dual processor machine (1+ GHz) running WinNT. I'm using a tool to send requests, where I c

Servlet to JDBC connection

2002-08-09 Thread Peter O
What's wrong with this string? I can't get this string to connect to the database, I'm trying to connect on a RH 7.2 system. protected String dbURL = "jdbc:interbase://66.18.29.95:8089/opt/jakarta-tomcat-4.0.4/webapps/ROOT/database/MAIN.GDB"; The servlet dir is working, there's no error messag

RE: IllegalStateException Current state = FLUSHED

2002-08-09 Thread andrew . cochrane
Hi Michael, I tried upgrading to jdk 1.4.1 but the problem is still there. I upgraded to Tomcat 4.0.3 and this seems to fix the original problem, but now my logging doesn't seem to work :( Thanks for the help, Andy -Original Message- From: Michael LeValle [mailto:[EMAIL PROTECTED]]

RE: RE: Problems with class loader

2002-08-09 Thread Cox, Charlie
ok, StandardClassLoader means that the class is trying to be loaded from \tomcat\lib. If it were being loaded from \web-inf\lib, it would be WebappClassLoader throwing the error. >From your stack trace, it looks as if it is loading the Hashtable ok(through reflection), but it is the contents of t

Re: jsp include question

2002-08-09 Thread Jose Francisco Junior
If you want to redirect the request you have to do it before printing any other thing on the page. Example: it works: ... ... it does not work: ... ... On Fri, 9 Aug 2002 09:38:32 -0700 (PDT) Ashish Kulkarni <[EMAIL PROTECTED]> wrote: >Hi > >I am developing a web application and ca

jsp include question

2002-08-09 Thread Ashish Kulkarni
Hi I am developing a web application and came accross this problem. when in my jsp page i have runtime include and then later in the code when i have response.sendRedirect or request.getRequestDispatcher() to forward the jsp page i get error saying the java.lang.IllegalStateException: Response h

jsp:forward revisited

2002-08-09 Thread Carl
Thank all for your responses but I am still in deep doodoo as nothing has worked. On the suggestion that the location of the page to be forwarded to was incorrectly specified, I have tried all combinations of means of specifying the page and nothing helps, does not change the error. On the sugge

RE: SSL just for a login page

2002-08-09 Thread Craig R. McClanahan
On Fri, 9 Aug 2002, Drinkwater, GJ (Glen) wrote: > Date: Fri, 9 Aug 2002 14:51:32 +0100 > From: "Drinkwater, GJ (Glen)" <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: 'Tomcat Users List' <[EMAIL PROTECTED]> > Subject: RE: SSL just for a login page > > Hi > > I am no

Authentication: Use Tomcat and Apache

2002-08-09 Thread Kevin Andryc
I have an application that currently uses Apache's authentication. In order for this to work with Tomcat I had to specify it in my server.xml, like so: I also have another application running under Tomcat that I would like Tomcat to handle the authentication. Is there a way to have both methods

RE: Is it possible to include via a directive snippets into the server.xml file

2002-08-09 Thread Craig R. McClanahan
On Fri, 9 Aug 2002, Horn, Rob wrote: > Date: Fri, 9 Aug 2002 15:12:22 +0100 > From: "Horn, Rob" <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: 'Tomcat Users List' <[EMAIL PROTECTED]> > Subject: RE: Is it possible to include via a directive snippets into the > s

Re: Is it possible to include via a directive snippets into theserve r.xml file

2002-08-09 Thread Craig R. McClanahan
On Fri, 9 Aug 2002, Horn, Rob wrote: > Date: Fri, 9 Aug 2002 10:18:50 +0100 > From: "Horn, Rob" <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > Subject: Is it possible to include via a directive snippets into the > serv

Re: AW: configuring tomcat for 100+ contexts

2002-08-09 Thread Craig R. McClanahan
On Fri, 9 Aug 2002, B. Duffee wrote: > Date: Fri, 9 Aug 2002 11:59:48 +0100 (BST) > From: B. Duffee <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]>, > B. Duffee <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED], [EMAIL PROTECTED] > Subject: Re: AW: configuring tomcat for 10

Error 500 need help

2002-08-09 Thread Anderson, Richard D ERDC-ITL-MS Contractor
***i'm getting an error i can't solve. during the build process i get a message that states this: [javadoc] /Jakarta/jakarta-tomcat-4.0.4-src/jasper/src/share/org/apache/jasper/compile r/SunJavaCompiler.java:65:package sun.tools.javac does not exist import sun.tools.javac.Main;

RE: SSL just for a login page

2002-08-09 Thread Anderson, Richard D ERDC-ITL-MS Contractor
i'm using j2sdk1.4.0_01 for linux, and you have to set JAVA_HOME in your PATH. now i do know that javac automatically sets the classpath to the location of the tools.jar file located in /lib -Original Message- From: Drinkwater, GJ (Glen) [mailto:[EMAIL PROTECTED]] Sent: Friday, August 0

AW: migrating from gnuJSP to tomcat 4/apache 2

2002-08-09 Thread Ralph Einfeldt
As I'm on the same road, here are my thoughts (I didn't start trying it, that will not be so soon as we feel not pressure to do the switch): If you have just one context (that what we will have) you can do the following: - Keep your htdoc as it is. - Define a default context: ) - Deny

RE: SSL just for a login page

2002-08-09 Thread Durham David Cntr 805CSS/SCBE
post this on the jmeter-user list > -Original Message- > From: Drinkwater, GJ (Glen) [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 09, 2002 10:26 AM > To: 'Tomcat Users List' > Subject: RE: SSL just for a login page > > > just downloaded it version 1.7 using it with java 1.4 beta >

??? Bug in Tomcat Response Headers ???

2002-08-09 Thread Tony LaPaso
Hello all, I posted this a few days ago but received no responseIf someone intimately familiar with Tomcat internals (liek Craig M.) could comment I'd appreciate it. I'm not 100% sure about this but I think I found a problem with the way Tomcat encodes characters. First I'll explain what I t

RE: SSL just for a login page

2002-08-09 Thread Drinkwater, GJ (Glen)
just downloaded it version 1.7 using it with java 1.4 beta installation says that you dont need to do anything (already got JAVA_HOME), when i run it it just pulls up errors?? -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: SSL just for a login page

2002-08-09 Thread Richard Plukker
For stress testing use Apache JMeter. good luck Richard Drinkwater, GJ (Glen) wrote: >Yes, you are probably right, I will have to use ssl. > >Does anybody know of some good stress testing free software??? > >How does this sound. > >1)User logs on and username and password send over ssl. passwor

RE: SSL just for a login page

2002-08-09 Thread Durham David Cntr 805CSS/SCBE
jmeter, available from jakarta.apache.org > -Original Message- > From: Drinkwater, GJ (Glen) [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 09, 2002 9:59 AM > To: 'Tomcat Users List' > Subject: RE: SSL just for a login page > > > Yes, you are probably right, I will have to use ssl. >

migrating from gnuJSP to tomcat 4/apache 2

2002-08-09 Thread Steve Prior
I have happily been serving JSP pages from Apache 1.3/jserv/gnuJSP for over a year now, and am starting to become motivated to move to Apache2/Tomcat. With GnuJSP I could have JSP files anywhere I wanted under the htdocs directory for Apache and they would be passed to GnuJSP, but all other files

  1   2   >