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'

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

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

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'

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

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

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(

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

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

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 particularly)-

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 is

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: Precompiling JSPs for Tomcat

2002-08-09 Thread Rossen Raykov
Try something like: property name=build.compiler value=jikes/ path id=compile.classpath pathelement location=${java.home}/jre/lib/rt.jar/ pathelement location=${java.home}/lib/tools.jar/ pathelement location=${tomcat.lib}/jasper-compiler.jar/ pathelement

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 be

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 Context / as your root element, and you can add any sub elements

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 jsp:include / to retrieve files from other contexts. - Andrew -Original Message- From: Christian J. Dechery [mailto:[EMAIL PROTECTED]] Sent: Friday,

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

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

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 file

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(

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

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

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 CATALINA_HOME/webapps and sets up all needed settings : there is no Context entry in server.xml for the different applications. Now I woul like to

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

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

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

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

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.

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 Apache

Problems with url-pattern*

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 url-pattern/Hello/url-pattern on a servlet mapping pointing to a particular servlet, the servlet get's the request and i can use request.getServletPath()

Re: Problems with url-pattern*

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 [EMAIL

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

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

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

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

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). Hope

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

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 15:59 PM

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: 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 like to setup

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 particular app is

Re: Problems with url-pattern*

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 url-pattern* Hi there! New to the list. And to java and

Re: Problems with url-pattern*

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 url-pattern* define a servlet mapping of just /.

Changing Servlet directories

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

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

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

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

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

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.. .

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

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

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: Context path=/tester docBase=tester debug=0 reloadable=false Parameter name=userdatadirectory

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

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

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

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 around with

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 another server

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

<    1   2