Re: Tomcat 4.1 HttpServletRequest.getServerPort() returns incorrect port ?

2004-05-12 Thread Bill Barker
Ryan Lissack [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, In our setup we have a hardware load-balancer which forwards normal requests to our cluster of Tomcat servers. For SSL requests, the load balancer first forwards to an hardware SSL accelerator and then on to one of

Re: error starting tomcat5

2004-05-12 Thread Bill Barker
Steven Garrett [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, Thanks to those of you who helped me with my previous server.xml include file issue, that worked out like a charmeventually :) Anyways, we're testing out tomcat5 on a RedHat 9 box and I keep getting this error

tomcat, SSL and multiple urls

2004-05-12 Thread ian
Hi. Is it possible for tomcat to have multiple domain names connecting thru SSL? For example, my tomcat-5.0.19 is hosted on a server with 202.10.11.12 as its public IP. This IP can be accessed thru either www.myserver1.net or www.myserver2.net. All connections can only go thru SSL (https). Is this

RE: tomcat, SSL and multiple urls

2004-05-12 Thread Shane Linley
The SSL protocol demands that the domain recorded within the SSL certificate is the same as the domain thru which the SSL connection is obtained. Otherwise the SSL connection negotiation will fail. This is to avoid the nastiness of hijacking and whatnot. To use the 2 different domains that you

Re: having webapp reachable at two URLs

2004-05-12 Thread Mats Henrikson
Tim, Mike, If you use Apache in front with jk, could you supply two different jkmount directives ? (I'm actually asking a question, since I don't know). ;) No. Jk can't rewrite the request. But mod_rewrite can. In fact - based on the problem below - using mod_rewrite would probably

RE: tomcat, SSL and multiple urls

2004-05-12 Thread ian
This setup is actually not for load balancing. We just had a bad experience yesterday wherein a supposed world class data center here failed to pay their bills resulting to forfeit their registration for their domain names, 2 of which were ours. Because of this our services were inaccessible to

Re: maxThreads

2004-05-12 Thread Endre Stølsvik
On Mon, 10 May 2004, Hollerman Geralyn M wrote: | Evidently, I'm misunderstanding something about the maxThreads attribute | on the HTTP Connector; I saw from the docs that in Tomcat 5.0.19, this | is the maximum number of request processing threads to be created by | this connector. So, what

Off Topic - Java Graphing Package

2004-05-12 Thread Andy Eastham
Hi, Sorry this is a bit off topic, but can anyone recommend an open source or freeware toolkit for building bar charts and graphs in java? I am going to use it within Tomcat, but I could probably use something that's aimed at applets if I had the source code. Thanks to anyone who responds.

RE: Off Topic - Java Graphing Package

2004-05-12 Thread Ryan Lissack
Hi, This might help : http://www.manageability.org/blog/stuff/open-source-structured-graphics-libr aries-in-java/view Ryan. -Original Message- From: Andy Eastham [mailto:[EMAIL PROTECTED] Sent: 12 May 2004 10:41 To: 'Tomcat Users List' Subject: Off Topic - Java Graphing Package Hi,

RE: Tomcat 4.1 HttpServletRequest.getServerPort() returns incorre ct port ?

2004-05-12 Thread Ryan Lissack
Hi Bill, Thanks for the clarification. Best regards, Ryan. -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Bill Barker Sent: 12 May 2004 07:22 To: [EMAIL PROTECTED] Subject: Re: Tomcat 4.1 HttpServletRequest.getServerPort() returns incorrect port ? Ryan Lissack

Re: Off Topic - Java Graphing Package

2004-05-12 Thread foxgem
jfreechart cewolf ( it is a taglib for jfreechart). u can find it at sourceforge. - Original Message - From: Andy Eastham [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 5:41 PM Subject: Off Topic - Java Graphing Package Hi, Sorry this is a

RE: Off Topic - Java Graphing Package

2004-05-12 Thread Andy Eastham
Thanks very much - I'll have a go with JFreeChart - it looks perfect on first glance. Andy -Original Message- From: foxgem [mailto:[EMAIL PROTECTED] Sent: 12 May 2004 10:58 To: Tomcat Users List Subject: Re: Off Topic - Java Graphing Package jfreechart cewolf ( it is a taglib

RE: Off Topic - Java Graphing Package

2004-05-12 Thread Andy Eastham
Thanks Ryan. That's a useful resource. Andy -Original Message- From: Ryan Lissack [mailto:[EMAIL PROTECTED] Sent: 12 May 2004 10:44 To: 'Tomcat Users List' Subject: RE: Off Topic - Java Graphing Package Hi, This might help :

Re: Configuration free persistence?

2004-05-12 Thread Tim Funk
To get the server info: ServletContext.getServerInfo() Personally - I would state my webapp needs a directory[or database] to write/load its configuration. The directory or datasource would be setup using JNDI. Then its up to the system admin to use the Container specific functionality to

Re: error sset

2004-05-12 Thread Veniamin Fichin
agarlita,dan wrote: I have some questions about error customisation. I want to change the look of 500 Error. (that is org.apache.jasper.JasperException) so, I want to redirect all strings to the new page. so, for example the 404 error is simple becouse we know that is Page Not Found but, the 500

RE: [ANN] The Reference Scanner and Jakarta Tomcat - Heap Profiling, Memory Leaks

2004-05-12 Thread Shapira, Yoav
Hi, Come on people. Tomcat5 is built with MX4J because its license is now OK (and I modified the NOTICE file that ships with tomcat5 accordingly). If you want to recompile things to need to make sure your classpath is setup accordingly: either figure it out from the tomcat build file or nag

Re: Its me

2004-05-12 Thread Technical Support
This is an automated email reply to acknowledge your message to Yahoo! Slurp email help. A number of frequently asked questions regarding Yahoo! Slurp are available at: http://help.yahoo.com/help/us/ysearch/slurp/ Thank you for your interest in Yahoo! Slurp.

RE: maxThreads

2004-05-12 Thread Shapira, Yoav
Hi, The new tomcat code have (finally!) an idea of connection queues, so that You just manage to hit a nerve with almost every post ;) This stuff has been in tomcat code for years, it's not new. Yoav This e-mail, including any attachments, is a confidential business communication, and may

RE: Definitive Documentation for RH9, mod_jk2, Apache2 Tomcat 5?

2004-05-12 Thread Shapira, Yoav
Hi, Definitive in the true sense of the word, no. Helpful docs are aplenty, though, on the tomcat wiki (http://wiki.apache.org/jakarta-tomcat) UsefulLinks page. Yoav Shapira Millennium Research Informatics -Original Message- From: Dan Barron [mailto:[EMAIL PROTECTED] Sent: Tuesday,

RE: having webapp reachable at two URLs

2004-05-12 Thread Shapira, Yoav
Hi, Have you considered tomcat's balancer webapp? It does the same stuff as I mentioned before with the filter, only the code is there for you, you just need to configure it. Yoav Shapira Millennium Research Informatics -Original Message- From: Mats Henrikson [mailto:[EMAIL PROTECTED]

RE: Multihosting in tomcat

2004-05-12 Thread Shapira, Yoav
Hi, There does not seem to be any documentation for Tomcat in a multihosting environment. The main things which are lacking are the results of setting certain parameters too high or too low. I've also mentioned MANY MANY MANY times why such documentation can be worse than useless, and actually

RE: Requested Resource Not Available

2004-05-12 Thread Shapira, Yoav
Hi, No problem. I can diagnose these in my sleep by now ;) If only I could get paid for this... Wait a second... lightbulb / Yoav Shapira Millennium Research Informatics -Original Message- From: Jonathan Quinn [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 11, 2004 11:59 PM To: Tomcat

RE: full URL

2004-05-12 Thread Shapira, Yoav
Hi, A = request.getRequestURL().toString() If(request.getQueryString() != null) { A += ?; A += request.getQueryString(); } Lazy half-assed code, but there it is. BTW, there are no directories in a URL: it'd be worth your time to read the java.net.URL class JavaDoc description of what goes

RE: strange memory problem

2004-05-12 Thread Shapira, Yoav
Hi, That's a good theory. Another question is are you compiling JSPs frequently at runtime? Yoav Shapira Millennium Research Informatics -Original Message- From: Joseph Shraibman [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 12:17 AM To: Tomcat Users List Subject: Re:

Re: Do Filters and the servlets part of the same thread?

2004-05-12 Thread Charles Shubert
I'm assuming that the same things can be said for valves and servlets and that processing of the request is handled by tomcat in some particular order. What is the relationship between a request's thread and a user's session? Is there a good link that describes this processing? --Chuck On

RE: Tomcat.exe w2k Mem limit?

2004-05-12 Thread Shapira, Yoav
Hi, It's an OS thread limit problem. On a unix system you'd fix it with the ulimit command. On Windoze I don't know. Yoav Shapira Millennium Research Informatics -Original Message- From: Stuart Larking [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 11, 2004 9:04 PM To: '[EMAIL

Re: apache, mod_jk, tomcat hungs

2004-05-12 Thread nyhgan
Exactly. I have been on this user list for months and I still haven't seen anyone solve the mod_jk connector issue for apache and tomcat 4.1.x or above. Now, I switch back to use Tomcat3.3 instead because it runs more stable than tomcat4.x and 5.x We can't wait forever like this. Maybe

RE: Configuration free persistence?

2004-05-12 Thread Shapira, Yoav
Hi, It's not blasphemy ;) It's a good question. Many people take shortcuts / cut corners to get around this ;) b) Require that a database be present and publish the datasource name that the web app is looking for, and assume that the user will configure their container properly (and, of

Using jasper with web application in .war file

2004-05-12 Thread Dennis Thrysøe
Hi, I'm trying to figure out whether jasper can be used with a web application that's still in it's war file (unexploded)? A classpath for jasper can be specified, but it seems that only direct filenames can be specified here and not - for instance - a jar URL. Any suggestions for using

RE: symLinks broken in tomcat 5.0.19

2004-05-12 Thread Shapira, Yoav
Hi, Host name=www.domain.com debug=0 appBase=/home/team unpackWARs=true Context path= docBase=/home/team Do you really want the Host appBase to be the same as the context docBase? Resources className=org.apache.naming.resources.FileDirContext

Re: apache, mod_jk, tomcat hungs

2004-05-12 Thread Beat De Martin
Before you restart, what sort of forensics do you do? e.g. - check whether the Tomcat process really is unavailable - check network connectivity between Apache/Tomcat - check limits on the Tomcat and Apache processes, such as number of open sockets My tomcat process is ruunig, I can access

RE: Definitive Documentation for RH9, mod_jk2, Apache2 Tomcat 5?

2004-05-12 Thread Dan Barron
Thanks. I came across a link that is the best I have seen so far: http://www.reliablepenguin.com/clients/misc/tomcat/ At 06:02 AM 5/12/2004, Shapira, Yoav wrote: Hi, Definitive in the true sense of the word, no. Helpful docs are aplenty, though, on the tomcat wiki

RE: How to limit time for Connector threads?

2004-05-12 Thread rlipi
Hi Antonio, your suggestion helped me. Thank you. But I expected bug in our code. Instead of it, it is somewhere else - java.net.SocketOutputStream.socketWrite0. And I don't know why. Some background in the beginning: Our application has one instance MainServlet. Every request (except of

runtime compilation request

2004-05-12 Thread Daniel Gibby
I'm wondering if tomcat has a feature that allows runtime compilation to be turned off and on without restarting a webapp. Here's why I think it would be a great feature: I've really wanted to be able to switch off runtime compilation on my tomcat servers, but every once in a while I find it

RE: Definitive Documentation for RH9, mod_jk2, Apache2 Tomcat 5?

2004-05-12 Thread Shapira, Yoav
Hi, Is it on our wiki? If not, can you please add it? Yoav Shapira Millennium Research Informatics -Original Message- From: Dan Barron [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 10:15 AM To: Tomcat Users List Subject: RE: Definitive Documentation for RH9, mod_jk2, Apache2

RE: Do Filters and the servlets part of the same thread?

2004-05-12 Thread Shapira, Yoav
Hi, What is the relationship between a request's thread and a user's session? No strict 1:1 relationship, that's for sure. A session may further be accessed by multiple threads at the same time (e.g. if the user has multiple browsers using the same webapp at the same time). I don't think

Re: Definitive Documentation for RH9, mod_jk2, Apache2 Tomcat 5?

2004-05-12 Thread Daniel Gibby
I don't see the 'Useful Links' page that you speak of... I think you meant the page that is called Tomcat Links At 06:02 AM 5/12/2004, Shapira, Yoav wrote: Hi, Definitive in the true sense of the word, no. Helpful docs are aplenty, though, on the tomcat wiki

RE: having webapp reachable at two URLs

2004-05-12 Thread Mats Henrikson
Yoav, Have you considered tomcat's balancer webapp? Hmmm, no, I am still using Tomcat4 so I didn't actually know it existed, the docs make it look interesting though. It does the same stuff as I mentioned before with the filter, only the code is there for you, you just need to configure

Re: tomcat clustering

2004-05-12 Thread Filip Hanik - Dev
I don't think you have even enabled clustering, did you put distributable/ in the web.xml file? also, all session attributes must be serializable Filip - Original Message - From: keita elhadji [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, May 11, 2004 3:57 AM

Re: [ANN] The Reference Scanner and Jakarta Tomcat - Heap Profiling, Memory Leaks

2004-05-12 Thread Jacob Kjome
Quoting Joseph Shraibman [EMAIL PROTECTED]: Jacob Kjome wrote: At 11:47 PM 5/11/2004 -0400, you wrote: Joerg Baumgaertel wrote: Hi all, because often requested, I added a Jakarta-Tomcat-Howto to the 'jb2works.com' website. You find the following documents - How to scan a Java

RE: maxThreads

2004-05-12 Thread Endre Stølsvik
On Wed, 12 May 2004, Shapira, Yoav wrote: | | Hi, | | The new tomcat code have (finally!) an idea of connection queues, so | that | | You just manage to hit a nerve with almost every post ;) I don't have a trace of an idea of what you mean! ;) | This stuff has been in tomcat code for years,

Upgrade to 4.1.30 and IBMJava2-141 causes this error

2004-05-12 Thread Kevin Passey
Hi, can anybody help me %@ page import=org.adultcf.* % jsp:useBean id=LogInBean class=org.adultcf.LogInBean scope=session / This was working before I upgraded to enterprise Linux and Tomcat 4.1.30 and IBMJava2-141 Now I get this - any ideas. org.apache.jasper.JasperException: Unable to

RE: having webapp reachable at two URLs

2004-05-12 Thread Mats Henrikson
Yoav, Have you considered tomcat's balancer webapp? Right, from what I can tell from the docs it seems that the Tomcat balancer webapp cheats, and actually send a redirect back to the client. Unfortunately that wont do what I need it to do, as all it can do then is redirect the client back

Timing service in Tomcat

2004-05-12 Thread Sasha Borodin
I'm wondering what people are doing to schedule/execute tasks in Tomcat... Is there any built-in timing services in Tomcat? Are people using external operating system tools like cron to invoke a class, or hit a servlet? Is anyone using a good 3rd party scheduling framework? Or is this kind of

RE: error starting tomcat5

2004-05-12 Thread Steven Garrett
Thanks that seems to work out. Now I have one last error that I can't seem to figure out: Where should the commons-digester.jar reside? currently it is in the /usr/share/java directory (with all the other jars), but tomcat can't seem to find it. I have it in the classpath as well as the

RE: error starting tomcat5

2004-05-12 Thread Steven Garrett
Here's the exact error: java version 1.4.2 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28) Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode) java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester at java.lang.Class.getDeclaredConstructors0(Native

RE: Timing service in Tomcat

2004-05-12 Thread Mike Curwen
I like quartz. www.opensymphony.com/quartz -Original Message- From: Sasha Borodin [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 10:33 AM To: Tomcat Users List Subject: Timing service in Tomcat I'm wondering what people are doing to schedule/execute tasks in

Re: Timing service in Tomcat

2004-05-12 Thread James Neville
Sasha, Sasha Borodin wrote: Is anyone using a good 3rd party scheduling framework? Have a look at: http://www.quartzscheduler.org/quartz/(h its moved to OpenSymphony!) We're using this in part with some in-house stuff. It works well; I actually can't think of any other open -source

problem with nested items in jsp:text with Tomcat 5.0

2004-05-12 Thread Ivan Z. Ganza
Greetings, Tomcat 5.0.24 We are in the process of migrating our application to Tomat 5 from version 4. There is a strange situation with some of our usage of tags that I'm hoping someone might be able to comment on. Basically within Tomcat 4.0 the following lines of .jsp code worked fine:

Apache/Tomcat returning error 503

2004-05-12 Thread Ken Ramirez
Setup includes: Redhat Linux 9 Apache 2.0.49 Tomcat 5.0.19 mod_jk2 After performing the appropriate installs, I can get to the Apache default page, and I can access the Tomcat as well on 8080. I can even access the jkstatus via Apache, but when I try to access jsp-examples via Apache, I'm getting

RE: Definitive Documentation for RH9, mod_jk2, Apache2 Tomcat 5?

2004-05-12 Thread Shapira, Yoav
Hi, It's a bit of a semantic pain with the current wiki setup, but http://wiki.apache.org/jakarta-tomcat/UsefulLinks is the one I had in mind, which now only lists http://wiki.apache.org/jakarta-tomcat/Tomcat_2fLinks but in the future that might change. Can't hurt to clarify ;) Yoav Shapira

RE: maxThreads

2004-05-12 Thread Shapira, Yoav
Hi, It wasn't there in earlier Tomcat 4s (-at least- not in 3.2), as Craig didn't see the use for it. I rather clearly remember arguing rather heavily for this some years ago, yes. It was there in tomcat 4.0.1 and later. For tomcat 3.x I don't know but I believe you do. I'm glad you argued

RE: Timing service in Tomcat

2004-05-12 Thread Shapira, Yoav
Hi, Quartz and Flex are good. They may be overkill though, depending on your needs. Java.util.Timer is perfectly fine as well. Where to initialize also depends on your needs, but a Servlet's init or a ServletContextListener's contextInitialized are two candidate locations. Yoav Shapira

RE: Upgrade to 4.1.30 and IBMJava2-141 causes this error

2004-05-12 Thread Shapira, Yoav
Hi, sigh http://jakarta.apache.org/tomcat/faq/classnotfound.html /sigh Also, do yourself a favor and perform large/significant upgrades one at a time with testing in between. Don't change the OS, server, and JDK all at once. Yoav Shapira Millennium Research Informatics -Original

Apache 2 - mod_jk2

2004-05-12 Thread Mike Batting
I am running a load balanced Apache2 - mod_jk2 configuration. I am wondering if there is an option in the configuration settings that would allow an administrator to dynamically close one or more of the connectors (stop it from accepting new connections) so that a given Servlet Engine can be

Hiding app files in Tomcat 4.0.3

2004-05-12 Thread Timothy_Sabin
I'm running Tomcat 4.0.3 on a Windows 2000 platform. I am attempting to configure my application so that the index.jsp file is always available (the login screen), but the others are only available after the user has logged in. I've tried many things in the .xml files, and have done a lot of

context-host question

2004-05-12 Thread Bo van Weert
Hi, I can't change the server.xml file because of hosting limitations, but I want to add a realm to a certain context. I found out that it's possible to create a context.xml file with a realm in it (we do have access to the webapps directory). The thing is that the server is always accessed

Tomcat 4.1.x Vs 5.0.x

2004-05-12 Thread wsedio
Hi, I've a web hosting server running Red Hat Enterprise Linux 3 ES and I am planning to install Tomcat on it. I would like to give dedicated Tomcat instances to some clients and to keep a shared instance for smaller web sites. Is it better to use Tomcat 4.1.x or 5.0.x for such scenario? Which

dedicated Tomcat instances

2004-05-12 Thread wsedio
Hi, I've an hosting server running Red Hat Enterprise Linux 3 ES. and I am planning to install Tomcat 4.1.x on it, I am pretty new to Tomcat. I would like to give dedicated Tomcat instances to some clients. That way, if an instance crashes, the problem shouldn't affect other clients web sites.

Tomcat 5.0.24 RPM

2004-05-12 Thread wsedio
Hi, where can I get an RPM for Tomcat 5.0.24? I am running Red Hat Enterprise Linux 3 ES. Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Hiding app files in Tomcat 4.0.3

2004-05-12 Thread Shapira, Yoav
Hi, Doing this via file structure is kind of ugly. Consider at least these two alternatives: - Declarative security constraints in web.xml (see the Servlet Spec for your options there), - A filter mapped to /* that checks that the user has logged in, and if not directs the user to the index

RE: Tomcat 4.1.x Vs 5.0.x

2004-05-12 Thread Shapira, Yoav
Hi, Is it better to use Tomcat 4.1.x or 5.0.x for such scenario? Which version is faster and stabler? The tomcat 5.0.x versions are faster and at least as stable. Will applications designed for Tomcat 4 work fine with version 5? Applications designed for the Servlet Specification will work

RE: Tomcat 5.0.24 RPM

2004-05-12 Thread Shapira, Yoav
Hi, We don't create RPMs ourselves: the primary source for those is JPackage.org, whose latest tomcat 5 RPM is for 5.0.19: http://www.jpackage.org/rpm.php?id=2571. Give them a few days to get a 5.0.24 RPM, especially if you send them a friendly reminder ;) Yoav Shapira Millennium Research

RE: apache, mod_jk, tomcat hungs

2004-05-12 Thread Bill Bruns
At our site we are fortunate so far to NOT have this problem - is it related to the amount of traffic on the link that has problems? We use Apache httpd 2.0.49; Tomcat 4.1.24; mod-jk 1.2.5 all on Solaris-sparc. Here is a little chart of the configuration data so far from these three examples:

unable to compile class for JSP

2004-05-12 Thread Chris Purcell
Tomcat 4.1.30 Apache 2.0.46 Red Hat Enterprise Linux ES 3.0 I'm having a problem getting Tomcat to work on Red Hat ES 3.0. The examples that come with Tomcat are failing with 500 Internal Server Errors... org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred

Problems with JavaHelp content from tomcat hosted application

2004-05-12 Thread Jim Solderitsch
We are working on expanding our on-line help for an application that has a workstation component (made available with Java Web Start) and a server component. We are currently using tomcat 4.1.30 with a Java 1.4.2 VM. One of our developers wrote some initial help content using the JavaHelp 2.0

tomcat 5.0.25 with eclipse sysdeo plugin

2004-05-12 Thread Emerson Cargnin
I noticed that when upgrading to 5.0.24 in my dev machine, the logs stop appearing at console with the message: log4j:WARN No appenders could be found for logger (org.apache.catalina.startup.Embedded). log4j:WARN Please initialize the log4j system properly. Does it has happened with anyone?

Apache 2 - mod_jk2 cont...

2004-05-12 Thread Mike Batting
I have found a section referring to a graceful attribute for load balanced workers. This feature is supposed to be set to 1 if the given worker should stop accepting new connections (while maintaining existing ones). This sounds like the feature I am looking for (as described below) but it is

Re: unable to compile class for JSP

2004-05-12 Thread QM
: /usr/local/jakarta-tomcat-4.1.30-LE-jdk14/work/foo/surge.foo.net/_/examples/jsp/num/numguess_jsp.java:7: : package num does not exist : import num.NumberGuessBean; Where is the class file NumberGuessBean, or the JAR file that contains it? -QM -- software -- http://www.brandxdev.net tech

RE: unable to compile class for JSP

2004-05-12 Thread Mike Curwen
[EMAIL PROTECTED]:~$ cd /usr/local/applications/tomcat-4.1.30 [EMAIL PROTECTED]:/usr/local/applications/tomcat-4.1.30$ grep -rn 'num.NumberGuessBean' * Binary file webapps/examples/WEB-INF/classes/num/NumberGuessBean.class matches webapps/examples/jsp/num/numguess.jsp:10:%@ page import =

RE: unable to compile class for JSP

2004-05-12 Thread Mike Curwen
sorry, I mean to add to that last email, speaking to Chris: This is where you *should* find them. ;) -Original Message- From: QM [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 2:06 PM To: Tomcat Users List Subject: Re: unable to compile class for JSP :

Re: Apache 2 - mod_jk2

2004-05-12 Thread Thomas D. Zeimet
1. Edit workers2.properties. Find the channel. Change graceful to 1 to disable or 0 to reactivate. Increment ver. 2. Access /jkstatus page. You should see the value changed in the channel and worker info. See the JK2 documentation at

Re: unable to compile class for JSP

2004-05-12 Thread Chris Purcell
I don't really know anything about Java, I'm setting this up to get Citrix NFuse working, which I have done before in the past. This is basically a default installation of Tomcat, the only things I've changed are slight modifications to server.xml, and I created the conf/jk/workers.properties

RE: unable to compile class for JSP

2004-05-12 Thread Chris Purcell
Mike, I have the same exact output as you. Binary file webapps/examples/WEB-INF/classes/num/NumberGuessBean.class matches webapps/examples/jsp/num/numguess.jsp:10:%@ page import = num.NumberGuessBean % webapps/examples/jsp/num/numguess.jsp:12:jsp:useBean id=numguess class=num.NumberGuessBean

Re: Tomcat 4.1.x Vs 5.0.x

2004-05-12 Thread wsedio
On 12-05-2004 20:14, Shapira, Yoav wrote: The tomcat 5.0.x versions are faster and at least as stable. Ok, I am going to install Tomcat 5.0.24. Again, the latest stable version is what you want. We have people using Sun, IBM, Blackdown, and JRockit on this list. I can choose between the

Re: Tomcat 5.0.24 RPM

2004-05-12 Thread wsedio
On 12-05-2004 20:15, Shapira, Yoav wrote: We don't create RPMs ourselves: the primary source for those is JPackage.org, whose latest tomcat 5 RPM is for 5.0.19: http://www.jpackage.org/rpm.php?id=2571. Give them a few days to get a 5.0.24 RPM, especially if you send them a friendly reminder ;)

RE: Tomcat 4.1.x Vs 5.0.x

2004-05-12 Thread Shapira, Yoav
Hi, Sun 1.4.2 IBM 1.4.1 Bea 1.4.2 (JRockit) Which one would be better? I am running RH Enterprise Linux 3 on a Dell PowerEdge 1655MC: dual 1.4Ghz PIII and 2GB of RAM. The reason people cite for shifting away from the Sun JVM are performance-oriented. The problems cited with others often

RE: Tomcat 5.0.24 RPM

2004-05-12 Thread Shapira, Yoav
Hi, Nope, the RPM is of limited utility, so you're not missing something. Yoav Shapira Millennium Research Informatics -Original Message- From: wsedio [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 3:29 PM To: Tomcat Users List Subject: Re: Tomcat 5.0.24 RPM On 12-05-2004

Re: Apache 2 - mod_jk2

2004-05-12 Thread Mike Batting
Thanks. I did miss the part about incrementing ver. I have done this now and I do in fact see the values being changed in the jk2status page... however the channel I have set to graceful=1 is still accepting new connections... is this a known bug ? or could something else be wrong. eg)

how to configure the cookie-path-argument

2004-05-12 Thread Christoph Meier
Hi I'm runnig tomcat 5.19 behind an apache. apache is serving static contents and rewriting the requests (using mod_rewrite), for the rewrite-rules, see below. the web-app /edit has a Login-module, if login is successfull, the app /edit sends a cookie to the client with Path=/edit(the

oh

2004-05-12 Thread tomcat-user
picture? Norton AntiVirus Deleted1.txt Description: plain/text - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Trying to connect to DB2 usning JNDI

2004-05-12 Thread Cooper, Vickie
I have been trying to connect to DB2 but I keep getting the error: javax.naming.NameNotFoundException: Name jdbc is not bound in this Context at org.apache.naming.NamingContext.lookup My code has: Context initCtx =3D new InitialContext(); Context envCtx =3D

What happened to wrapper.properties in Tomcat 4.1

2004-05-12 Thread Jesse_Perez
I'm starting to migrate my applications from Tomcat 3.3 to version 4.1. My web apps depend on JNI DLLs. In Tomcat 3.3, we had a file called conf\jk\wrapper.properties used by the NT Service and where we could specify location of DLLs via the wrapper.ld_path parm. This wrapper.properties does

RE: What happened to wrapper.properties in Tomcat 4.1

2004-05-12 Thread Shapira, Yoav
Hi, You can set the LD_LIBRARY_PATH variable, either as an environment setting or in your $CATALINA_HOME/bin/catalina.sh/catalina.bat file. Yoav Shapira Millennium Research Informatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004

RE: Trying to connect to DB2 usning JNDI

2004-05-12 Thread Mike Curwen
Is the Resource outside or inside your Context ? It should be inside. -Original Message- From: Cooper, Vickie [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 3:04 PM To: [EMAIL PROTECTED] Subject: Trying to connect to DB2 usning JNDI I have been trying to connect to

Re: unable to compile class for JSP

2004-05-12 Thread QM
On Wed, May 12, 2004 at 03:18:45PM -0400, Chris Purcell wrote: : Binary file webapps/examples/WEB-INF/classes/num/NumberGuessBean.class So far, so good. Next step: what are the perms on the class file, and all dirs leading up to it? Is everything accessible to the tomcat user? The short

Revoking or deleting a client certificate

2004-05-12 Thread Plamen Neykov
Hi all, It is probably a stupid question, but I have standalone tomcat installation with client authentication switched on as described in the tomcat documentation. The problem is that anybody who has a signed certificate from my CA can connect to tomcat - even if the client certificate

error shutting down the tomcat

2004-05-12 Thread Arora, Avinash
Hi, I was making some changes to my server.xml (I was adding another context to it). I was also using the webpage of manager. But even after making changes I cannot see the newly context available in the manager window. I decided to restart tomcat using command line. But I am getting the

Re: Revoking or deleting a client certificate

2004-05-12 Thread QM
On Wed, May 12, 2004 at 10:57:30PM +0200, Plamen Neykov wrote: : I have standalone tomcat installation with client authentication switched on : as described in the tomcat documentation. The problem is that anybody who has : a signed certificate from my CA can connect to tomcat - even if the client

Re: Tomcat 4.1.x Vs 5.0.x

2004-05-12 Thread Wade Chandler
Shapira, Yoav wrote: Hi, Sun 1.4.2 IBM 1.4.1 Bea 1.4.2 (JRockit) Which one would be better? I am running RH Enterprise Linux 3 on a Dell PowerEdge 1655MC: dual 1.4Ghz PIII and 2GB of RAM. The reason people cite for shifting away from the Sun JVM are performance-oriented. The problems cited

Re: Revoking or deleting a client certificate

2004-05-12 Thread Plamen Neykov
Thanks for the very quick reply! But I had the certificates of the clients only initially in the keystore (no CA cert!) but I had trouble with MSIE and Mozilla - both denied to present the certificate to the server so that no connection was possible from those browsers :-( On the second

charset error still on Tomcat 4.1.30

2004-05-12 Thread Kilic, Hakan
I've searched the mailing list and bugzilla, and it looks like this was addressed in Tomcat 4.1.30, but I still see a problem with 4.1.30. Remy in his comments mentioned it's probably a configuration issue (and hinted some actual test/data would be useful). Here is what I did: 1) Clean

Re: Revoking or deleting a client certificate

2004-05-12 Thread QM
On Wed, May 12, 2004 at 11:31:11PM +0200, Plamen Neykov wrote: : Thanks for the very quick reply! Please, don't think me till it works. ;) : But I had the certificates of the clients only initially in the keystore : (no CA cert!) but I had trouble with MSIE and Mozilla - both denied to :

How to set the JSESSION cookie domain?

2004-05-12 Thread Christian Mittendorf
Hello all, I'm working on a tomcat project that shall be deployed on multiple hosts. However, we are currently stuck with two problems / questions: 1) How can I specifiy the domain name that tomcat is using for the JSESSIONID cookie? By default tomcat is using the domain name from the

Tomcat default page

2004-05-12 Thread Claudio Carvalho
Cláudio CarvalhoHi, How can I define the default page for my server, when I type in the browser www.myhost.com it goes to my specific www.myhost.com/project instead of going to the Tomcat's initial page? Thanks Claudio. -

Re: Revoking or deleting a client certificate

2004-05-12 Thread Plamen Neykov
I'm sure it will work ;-) I think previously I misunderstood you - now just for my understanding - I should create a selfsigned CA just for signing the server certificate and then import in the keystore the client certificates which are signed with the org's standard CA cert. And then the

RE: Trying to connect to DB2 usning JNDI

2004-05-12 Thread Cooper, Vickie
I moved the context around the resource: Context debug=0 docBase=C:/Program Files/Apache Group/Tomcat 4.1/webapps/vickie.war path=/vickie reloadable=false useNaming=true Resource name=jdbc/DB2 auth=Container type=javax.sql.DataSource/ ResourceParams name=jdbc/DB2 parameter

Re: Trying to connect to DB2 usning JNDI

2004-05-12 Thread Parsons Technical Services
Vickie, 1. Look for an error in the server.xml. When you moved the context section you may have left out or added in something that messes up the format of the file. Use a viewer like IE to look at the file and see what is wrong. 2. Check your log and if nothing shows up the turn up debugging.

how to access webpages under apache/tomcat without specifying port 8080

2004-05-12 Thread b
I have a webserver with Apache 2.043 and Tomcat 4.1.18 and mod_jk connector. I can access my webpages locally without having to specify tomcat's port 8080. eg: http://localhost/webapps However, I have still have to specify the port number if accessing from other computers eg:

RE: symLinks broken in tomcat 5.0.19

2004-05-12 Thread Randy
Host name=www.domain.com debug=0 appBase=/home/team unpackWARs=true Context path= docBase=/home/team Do you really want the Host appBase to be the same as the context docBase? Yeah this was a bad idea, and on my list to go back and change.

  1   2   >