RE: Win2003 server, IIS 6 tomcat 5. setup (isapi_redirect) - resolved

2005-03-23 Thread Sng Wee Jim
Quoting from http://jakarta.apache.org/tomcat/connectors-doc/config/workers.html The workers that are member of load balancer must not appear in the worker.list directive. If your are not using load balancing, you should be able to remove configuration for worker.loadbalancer.XXX

Applying HttpServletResponse.encodeURL to a mailto url

2005-03-23 Thread Karl Stenerud
I'm running Tomcat 5.0.16 under Java 1.4.2_05. I have a general url encoding setup to encode any urls it finds before serializing the dom. It does this by calling the HttpServletResponse encodeURL() on all anchor hrefs and form actions. The problem is that when it comes to a url such as:

Where is the admin pkg for tomcat 5.5?

2005-03-23 Thread Airhart, Richard J
When I click on Tomcat Administration I get this message: Tomcat's administration web application is no longer installed by default. Download and install the admin package to use it. I have spend hours of unproductive time on the http://jakarta.apache.org/tomcat/ web site trying to locate this

Re: Where is the admin pkg for tomcat 5.5?

2005-03-23 Thread Antony Paul
It is here. If you followed binary download link you could locate it. http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi On Tue, 22 Mar 2005 23:36:37 -0600, Airhart, Richard J [EMAIL PROTECTED] wrote: When I click on Tomcat Administration I get this message: Tomcat's

Re: DIGEST authentication; Does it work??

2005-03-23 Thread Mark Leone
So at 3:00 AM I decided to read the Basic and Digest Access Authentication spec (RFC 2617), and it says that MD5 is the default hash algorithm. I had previously seen that Tomcat wasn't sending any response headers explicitly specifying the hash algorithm, even though I had specified SHA in the

Re: Win2003 server, IIS 6 tomcat 5. setup (isapi_redirect) - resolved

2005-03-23 Thread reynir
ok thanx for your comments. I will add this in a footnote of the page. -reynir Sng Wee Jim wrote: Quoting from http://jakarta.apache.org/tomcat/connectors-doc/config/workers.html The workers that are member of load balancer must not appear in the worker.list directive. If your are

Defining authorization problem

2005-03-23 Thread Guillaume Lederrey
Hello ! I have a quite simple problem, but I cannot find doc about it ... It's actually more a general servlet quiestion than directly Tomcat related, but ... I would like to protect all my servlets except 1 or 2 ... something like : url-pattern/*/url-pattern exclude/someServlet/exclude

Re: Defining authorization problem

2005-03-23 Thread Geertjan Wielenga
Guillaume Lederrey wrote: Hello ! I have a quite simple problem, but I cannot find doc about it ... It's actually more a general servlet quiestion than directly Tomcat related, but ... I would like to protect all my servlets except 1 or 2 ... something like : url-pattern/*/url-pattern

Re: Defining authorization problem

2005-03-23 Thread Guillaume Lederrey
On Wednesday 23 March 2005 10.29, Geertjan Wielenga wrote: I would like to protect all my servlets except 1 or 2 ... something like : url-pattern/*/url-pattern exclude/someServlet/exclude Is this possible ? What's the syntax ? exclude-pattern/someServlet/exclude-pattern --

Re: Defining authorization problem

2005-03-23 Thread Guillaume Lederrey
On Wednesday 23 March 2005 10.29, Geertjan Wielenga wrote: I would like to protect all my servlets except 1 or 2 ... something like : url-pattern/*/url-pattern exclude/someServlet/exclude Is this possible ? What's the syntax ? Thanks for your help ! Guillaume

Re: Defining authorization problem

2005-03-23 Thread Geertjan Wielenga
Guillaume Lederrey wrote: On Wednesday 23 March 2005 10.29, Geertjan Wielenga wrote: I would like to protect all my servlets except 1 or 2 ... something like : url-pattern/*/url-pattern exclude/someServlet/exclude Is this possible ? What's the syntax ?

replacing ROOT

2005-03-23 Thread Andreas Andersson
Hi! I'm probably just stupid but I fail to replace the ROOT-context with my own application. I've tried to put path=/ and path= but nothing of those override the default ROOT-context. I've also seen in server.xml that the part that would define ROOT is commented out. This is tomcat 4.1.31.

singlesignon problem

2005-03-23 Thread jean charles jabouille
Hi, I try to implement signlesignon under Jonas-Tomcat 4.3.3, I d'like to use SSO with two webapps but there are five webapps. I want to specify that I want to use SSO with only two webapps. I try to specify in the webapp context of server.xml the SSO valve : Context

jsp imports

2005-03-23 Thread Pawson, David
Tomcat 5.0.28 In my index.jsp file I have %@ page import=sessionData% % sessionData s = new sessionData(); s.clrSession(session, index.jsp); % And I get the error, Cannot resolve symbol 'sessionData'. It is not in a package. What syntax must I use to locate the class

Re: jsp imports

2005-03-23 Thread Tim Funk
It must be in a package. -Tim Pawson, David wrote: Tomcat 5.0.28 In my index.jsp file I have %@ page import=sessionData% % sessionData s = new sessionData(); s.clrSession(session, index.jsp); % And I get the error, Cannot resolve symbol 'sessionData'. It is not in a package.

RE: jsp imports

2005-03-23 Thread Pawson, David
-Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: 23 March 2005 11:31 To: Tomcat Users List Subject: Re: jsp imports It must be in a package. thanks Tim. Is there any logic in that? If tomcat searches

Re: url of caller?

2005-03-23 Thread QM
On Wed, Mar 23, 2005 at 07:56:01AM -, Pawson, David wrote: : for this use, internal to my organisation, Norton isn't installed : luckily! : : Another Gotcha worth noting though, thanks Mark. This may have been mentioned already, but some browsers can be configured to not provide referrer

Re: jsp imports

2005-03-23 Thread QM
On Wed, Mar 23, 2005 at 11:49:38AM -, Pawson, David wrote: : Is there any logic in that? :If tomcat searches %servlet%/WEB-INF/classes/package/class :why can't it search without the package layer? It's got naught to do with a Tomcat failing; packageless classes are considered a poor

Re: jsp imports

2005-03-23 Thread Tim Funk
The java file generated by the JSP is in a package. The java lanaguage disallows a packageless class if you are in a package. -Tim Pawson, David wrote: -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: 23 March 2005 11:31 To: Tomcat Users List

RE: replacing ROOT

2005-03-23 Thread Rajesh Bagade
Hello, In server.xml just comment original root context entry, and write your new context. Eg.- Original Entry - !--Context path= docBase=webapps/ROOT debug=0 reloadable=true /Context-- New Entry - Context path=/ docBase=physical path for source files debug=0

Re: replacing ROOT

2005-03-23 Thread Andreas Andersson
Rajesh Bagade wrote: In server.xml just comment original root context entry, and write your new context. The weird think is that that context is already commented and has been so since I installed tomcat. It looks like this. !-- Tomcat Root Context -- !-- Context path=

question about multiple instances and multiple domains

2005-03-23 Thread Bedrijven.nl
Hi all, I have successfully set up multiple tc instances on one server on differtent ports. so application 1 runs on 9100, application2 at 9110 and so on. It works fine when i type directly the portnumber after the ipaddress. What I want now is when someone is entering a domainname it goes

Re: question about multiple instances and multiple domains

2005-03-23 Thread Tim Funk
You have 2 ways (actually more, but I'm gonna suggest 2). Both involve running apache on port 80. 1) Run apache on port 80 and use JK to route the requests to the approrpriate tomcat. This involves some more config tweaks for your existing tomcat instance. 2) Run apache on port 80 and use

RE: question about multiple instances and multiple domains

2005-03-23 Thread Bedrijven.nl
And what if i don't want to use apache?? Maarten -Oorspronkelijk bericht- Van: Tim Funk [mailto:[EMAIL PROTECTED] Verzonden: Wednesday, March 23, 2005 1:12 PM Aan: Tomcat Users List Onderwerp: Re: question about multiple instances and multiple domains You have 2 ways (actually more,

Re: question about multiple instances and multiple domains

2005-03-23 Thread Tim Funk
Then you need another hardware (or software) solution which can proxy http requests. -Tim Bedrijven.nl wrote: And what if i don't want to use apache?? Maarten -Oorspronkelijk bericht- Van: Tim Funk [mailto:[EMAIL PROTECTED] Verzonden: Wednesday, March 23, 2005 1:12 PM Aan: Tomcat Users

RE: question about multiple instances and multiple domains

2005-03-23 Thread Peter Crowther
From: Bedrijven.nl [mailto:[EMAIL PROTECTED] And what if i don't want to use apache?? Alternative approaches could include allocating each application its own IP address, ensuring that each Tomcat instance binds to port 80 on its own IP address. This assumes you have sufficient IP addresses

RE: question about multiple instances and multiple domains

2005-03-23 Thread Bedrijven.nl
how can I bind each ipaddress to port 80?? And how to assign a ipaddress to an application? Maarten -Oorspronkelijk bericht- Van: Peter Crowther [mailto:[EMAIL PROTECTED] Verzonden: Wednesday, March 23, 2005 1:17 PM Aan: Tomcat Users List Onderwerp: RE: question about multiple instances

RE: question about multiple instances and multiple domains

2005-03-23 Thread Peter Crowther
From: Bedrijven.nl [mailto:[EMAIL PROTECTED] how can I bind each ipaddress to port 80?? And how to assign a ipaddress to an application? 1. On paper, allocate an IP address range to your applications. Remember that if these apps are going to be accessed externally, you'll need a separate

RE: replacing ROOT

2005-03-23 Thread Rajesh Bagade
Comment for context should start from same line where context line starts. It should be as follows !-- Context path= docBase=ROOT debug=0/ -- --Rajesh Bagade -Original Message- From: Andreas Andersson [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 23, 2005 5:33 PM To: Tomcat Users List

RE: question about multiple instances and multiple domains

2005-03-23 Thread Bedrijven.nl
do you have a good documentation set/link of how to do this?? I mean to install Apache and using JK or mod_proxy incombination of Tomcat. maarten -Oorspronkelijk bericht- Van: Tim Funk [mailto:[EMAIL PROTECTED] Verzonden: Wednesday, March 23, 2005 1:12 PM Aan: Tomcat Users List

Re: replacing ROOT

2005-03-23 Thread David Smith
Comments in xml can start anywhere on or above the line you want commented out and end anywhere after. New lines are treated as whitespace and have no meaning when parsed. !-- Context ../Context -- is just as valid as !-- Context/Context -- Comments can't be nested, but that's

RE: jsp imports

2005-03-23 Thread Pawson, David
-Original Message- From: QM :If tomcat searches %servlet%/WEB-INF/classes/package/class :why can't it search without the package layer? It's got naught to do with a Tomcat failing; I'm not 'blaming' Tomcat, just saying its a mismatch with standard java.

RE: jsp imports

2005-03-23 Thread Pawson, David
-Original Message- From: Tim Funk The java file generated by the JSP is in a package. The java lanaguage disallows a packageless class if you are in a package. Makes more sense Tim. Thanks for that. Boring rewrites ahead, or convert the jsp to java.

different versions of libraries

2005-03-23 Thread Andreas Andersson
Hi! I need to use a really new version of xalan/xerces in one of my applications. Where should I put the .jars to make application specific? Is it even possible? -- Andreas Andersson IT Dept. Travelstart Nordic [EMAIL PROTECTED] http://www.travelstart.se

Re: replacing ROOT

2005-03-23 Thread Gene Volovich
Whooaa... You mean you can't do !-- Context whatever... -- This sounds very fishy to me. I've been using that in my server.xml file forever. In any case, this is XML, so I don't see why this would be a problem. I suspect that the original poster's problem, if this is a Tomcat 5.x issue

Re: replacing ROOT

2005-03-23 Thread Andreas Andersson
Gene Volovich wrote: Whooaa... You mean you can't do !-- Context whatever... -- The above is correct, it works this way. This sounds very fishy to me. I've been using that in my server.xml file forever. In any case, this is XML, so I don't see why this would be a problem. I suspect that

RE: different versions of libraries

2005-03-23 Thread Peter Crowther
From: Andreas Andersson [mailto:[EMAIL PROTECTED] I need to use a really new version of xalan/xerces in one of my applications. Where should I put the .jars to make application specific? The only place where it can be application-specific is in the webapp's WEB-INF/lib. Is it even

Re: different versions of libraries

2005-03-23 Thread Andreas Andersson
Peter Crowther wrote: Depends on your version of Tomcat - which version are you using? I've placed them in WEB-INF/lib (apparently successfully - certainly good enough for the app) under Tomcat 5.0.28. For Tomcat 4, I have a separate installation with some new versions dropped in. I use this

Re: different versions of libraries

2005-03-23 Thread David Smith
WEB-INF/lib of the app you need it in. That's the simple answer. For a complete answer, read: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/class-loader-howto.html and the servlet spec --David Andreas Andersson wrote: Hi! I need to use a really new version of xalan/xerces in one of my

Re: replacing ROOT

2005-03-23 Thread Gene Volovich
This reminds me that we've been having a lot of issues with Tomcat caching (refusing to recompile) changed JSP files. Not sure if there's a bug on it, but it stinks having to restart the whole container sometimes, just for a small JSP change. This problem seems to have gotten worse if

Default servlet unavailable

2005-03-23 Thread Stanislav Bauer
Hallo, I recent installed Tomcat. I'm getting the error INFO: Marking servlet default as unavailable (see below) I installed it the third time now and the two first installations hadnt this problem. The HW with the third installation is an older two processor machine (PIII) with a newer Debian

Re: Tomcat 5 on VPS service stops, FIXED.

2005-03-23 Thread Stanczak Group
Well surprise, surprise, I moved to a dedicated server and it works great now. It even uses less memory. Can someone say, Tomcat doesn't work on VPS's? -- Justin Stanczak Stanczak Group 812-735-3600 All that is necessary for the triumph of evil is that good men do nothing. Edmund Burke

Re: Cluster Deployment Question

2005-03-23 Thread Filip Hanik - Dev Lists
Make sure your WAR file gets properly installed on both instances SEVERE: Unable to install WAR file java.io.FileNotFoundException: C:\tmp\war-deploy\clustertest.war (The system cannot find the path specified) Durfee, Bernard wrote: I am ready to set Tomcat up in a clustered environment. So to

tomcat 5 as service in redhat

2005-03-23 Thread Michael Cornell
Hi, Just looking to deploy a customized tomcat 5.0.25 in a Redhat ES 3 environment. According to the documentation http://jakarta.apache.org/tomcat/tomcat-5.0-doc/setup.html The best course of action is to run it as a daemon using jsvc. However, I have seen possible other options such as simply

RE: Where is the admin pkg for tomcat 5.5?

2005-03-23 Thread Airhart, Richard J
Thanks it was a case of looking for something that didn't move. Richard J. Airhart OIT Enterprise Information Services mailto: [EMAIL PROTECTED] Ex: 25606 -Original Message- From: Antony Paul [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 23, 2005 2:52 AM To: Tomcat Users List

RE: DIGEST authentication; Does it work??

2005-03-23 Thread David Owens
The docs say this: When a standard realm authenticates by retrieving the stored password and comparing it with the value presented by the user, you can select digested passwords by specifying the *digest* attribute on your Realm element. The value for this attribute must be one of the digest

RE: LDAP/JNDI Realm Tomcat 5.0 vs 5.5

2005-03-23 Thread David Owens
Okay, I figured out the problem. My password had some the '$' characters in it. Originally, back in 5.0, to get this to work, I had to escape the '$' with another '$'. It looks like this 'problem' has been 'fixed' in 5.5. So in summary, if you had a 5.0 password of $imple then you had

IIS6 and Tomcat

2005-03-23 Thread VAN DER MARLIERE FREDERIC
Hi, I've a webapp running into Tomcat 5.0, behind an IIS 6 server. This IIS server uses integrated authentication. My problem is that I can't get the user's login with the request.getRemoteUser() method. Does someone know why and how I could do ??? Thanks in advance. Fred.

where are my files?

2005-03-23 Thread Mike McMullin
I've installed TomCat-Jakarta 5.0.19 (from SuSE9.1 which I'm running) as well as the demo-server package. I'm trying to work through the Apress book Apache Jakarta-Tomcat, which is written around 4.0. My problem in a nut shell is that I cannot find which directory tomcat seems to be using.

setting sys properties in context? yea / nay?

2005-03-23 Thread William Noto
Hi there - I have what I consider a Tomcat question but it lies somewhere between tomcat and log4j. I've looked elsewhere in the log4j and tomcat user lists and I have not been able to find an answer to this one but please forgive me if it is out there and I missed it. Can I set a system

RE: where are my files?

2005-03-23 Thread David Owens
It does not really use index.jsp It is remapped to a servlet in web.xml. So first edit webapps/ROOT/WEB-INF/web.xml and remove the mapping, then edit index.jsp. Hope this helps. |)ave -Original Message- From: Mike McMullin [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 23, 2005

HELP: How the DBCP works ? (and the JMXProxy)

2005-03-23 Thread Lionel Farbos
Hi all (tomcat 5.5 developers), In my context.xml, I use a DataSource like this : Resource auth=Container name=myDB type=javax.sql.DataSource .../ So, I suppose the dataSource.getConnection() is taken from DataBase Connection Pool... 1- But How do this works ? 2- If all my contexts have their

Re: bug with Delegate ?

2005-03-23 Thread Lionel Farbos
Hi Simon, I wanted to use this flag because, in my $CATALINA_HOME/common/lib, I have mysql-connector-java-2.0.14-bin.jar but, in some wars, I have WEB-INF/lib/mysql-connector-java-3.0.15-ga-bin.jar WEB-INF/lib/naming-factory-dbcp.jar and in other wars, I don't have any Driver Mysql So, I'd

Re: bug with Delegate ?

2005-03-23 Thread Lionel Farbos
Hi Simon, I wanted to use this flag because, in my $CATALINA_HOME/common/lib, I have mysql-connector-java-2.0.14-bin.jar but, in some wars, I have WEB-INF/lib/mysql-connector-java-3.0.15-ga-bin.jar WEB-INF/lib/naming-factory-dbcp.jar and in other wars, I don't have any Driver Mysql So, I'd

ugly urls

2005-03-23 Thread Didier McGillis
Hi everyone I wanted to see if in JSP or Tomcat there was an easy way to transform ugly urls into pretty urls. So taking category.jsp?catid=12type=2 and changing it to category/catid/12/type/2? - To unsubscribe, e-mail:

Re: jsp imports

2005-03-23 Thread Darek Czarkowski
I am not sure if this is relevant but, is session data a full name of the package? I would expect to see something like com.packagename.sessionData DarekC On Wed, 2005-03-23 at 03:20, Pawson, David wrote: Tomcat 5.0.28 In my index.jsp file I have %@ page import=sessionData% %

tomcat 5.0.25 question

2005-03-23 Thread Eric Moreo
Hello, Last year I downloaded the Tomcat 5.0.25 binary for Solaris and installed it with java sdk 1.4.2. I now want to upgrade to the java sdk 1.5 but I don't want to upgrade Tomcat yet. I am trying to determine if this upgrade will affect my version of Tomcat. One piece of information that I

Re: DIGEST authentication; Does it work??

2005-03-23 Thread Mark Leone
Dave, thanks very much for your help. Unfortunately, the passage you quoted is referring to how the password is digested when it is stored in the realm. This is working fine for me, and I've been able to configure it to use SHA-1 or MD-5 algorithms by setting the digest attribute in the realm/

Re: ClientAbortException: java.net.SocketException: Software caused connection abort: socket write error

2005-03-23 Thread Folashade Adeyosoye
Has anyone run into this problem before. I started getting this error message when i moved from Tomcat 4.0 to 4.1 in JBuilder, it does not neccessarily forward to the error page and i did not click the stop butoon on the browser. any help would be great ClientAbortException:

Re: DIGEST authentication; Does it work??

2005-03-23 Thread Mark Leone
Dave, thanks very much for your help. Unfortunately, the passage you quoted is referring to how the password is digested when it is stored in the realm. This is working fine for me, and I've been able to configure it to use SHA-1 or MD-5 algorithms by setting the digest attribute in the realm/

Re: ugly urls

2005-03-23 Thread Jason Bainbridge
On Wed, 23 Mar 2005 16:47:19 +, Didier McGillis [EMAIL PROTECTED] wrote: Hi everyone I wanted to see if in JSP or Tomcat there was an easy way to transform ugly urls into pretty urls. So taking category.jsp?catid=12type=2 and changing it to category/catid/12/type/2? Best way would be

Re: tomcat 5.0.25 question

2005-03-23 Thread Lionel Farbos
I don't know where you can find more details ... but Tomcat 5.0.x is built for jdk1.4 So, I don't think you can use jdk1.5 with it... On Wed, 23 Mar 2005 09:32:28 -0800 Eric Moreo [EMAIL PROTECTED] wrote: Hello, Last year I downloaded the Tomcat 5.0.25 binary for Solaris and installed it

Re: ugly urls

2005-03-23 Thread Hein Behrens
http://tuckey.org/urlrewrite/ Does the same for Tomcat. No need for Apache - Original Message - From: Jason Bainbridge [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Wednesday, March 23, 2005 6:45 PM Subject: Re: ugly urls On Wed, 23 Mar 2005 16:47:19

Re: ugly urls

2005-03-23 Thread PA
On Mar 23, 2005, at 17:47, Didier McGillis wrote: I wanted to see if in JSP or Tomcat there was an easy way to transform ugly urls into pretty urls. So taking category.jsp?catid=12type=2 and changing it to category/catid/12/type/2? What about creating pretty URLs in the first place? Choose URIs

configure loggers

2005-03-23 Thread Juan Manuel Soler Rincón
Hi I`ve been searching about logging level of the server(tomcat), and i can`t find a way to logging the request in the same way of apache: 200.118.108.230 - - [16/Jan/2005:20:42:53 -0500] GET /Archivos/Trabajo.doc. HTTP/1.1 200 81920 I need to log the option(GET, POST, HEAD), the file

strange Jasper2 + JSTL behavior after upgrading from TC 5.0.29 to TC 5.5.7

2005-03-23 Thread Thomas Chille
Hi, i declared an anttask which precompiles my JSPs. All works fine with TC 5.0.29. After upgrading to TC 5.5.7 i got this error: BUILD FAILED: C:\eclipse3\eclipse\workspace\ecs2\build.xml:134: org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/fmt cannot be

Wild Card Hosting

2005-03-23 Thread George Sexton
Does anyone know if Tomcat supports Wild card hosting? Can I specify a pattern say *.domain.com And have all requests get forwarded to a specific host? Making the host the default host is not an option, because there is already another default host that is used. George Sexton MH Software,

Re: configure loggers

2005-03-23 Thread Jason Bainbridge
On Wed, 23 Mar 2005 13:29:12 -0500, Juan Manuel Soler Rincón [EMAIL PROTECTED] wrote: Hi I`ve been searching about logging level of the server(tomcat), and i can`t find a way to logging the request in the same way of apache: 200.118.108.230 - - [16/Jan/2005:20:42:53 -0500] GET

Re: tomcat 5.0.25 question

2005-03-23 Thread David Smith
I have it working here on Tomcat 5.0.x, JDK 5, WinXP -- no problems to note so far and I installed it from a binary download. The only gotcha that I know about is you can't build for JDK 5 and then use it on JDK 1.4.x --David Lionel Farbos wrote: I don't know where you can find more details

clientAuth=true; non-SSL?

2005-03-23 Thread Sweeney, Bill
Hello folks - I am working with Tomcat 5.0.28; j2sdk 1_4_2_07 The question is this: Do I need an SSL connection in order to get Tomcat to force the presentation of a client side certificate? In other words, I only want to force authentication, not wrap the connection in SSL. Here is the

RE: CERT Vulnerability Note VU#204710 on Tomcat 3.x

2005-03-23 Thread Larry Isaacs
Thanks Jess for replying to this. If I recall correctly the vulnerability was in the handling for a request for status via the AJP12 connector which continues to be used as the default shutdown mechanism. The report mentions a new DOS attack, but fails to note that if a remote attacker has

Re: Getting other Sessions

2005-03-23 Thread Joseph Shraibman
Michael Greer wrote: List servers = MBeanServerFactory.findMBeanServer(null); MBeanServer server = (MBeanServer)servers.get(0); ObjectName objName = new ObjectName(Catalina:type=Manager,path=/contextPath,host=localhost); String sessionIds =

RE: tomcat 5.0.25 question

2005-03-23 Thread Eric Moreo
David and Lionel, Thank you both for your input. I think I am going to experiment with upgrading to jdk 1.5 in development to see how it works. I'll post my results just in case anyone else ever has this issue. Eric -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent:

Re: CERT Vulnerability Note VU#204710 on Tomcat 3.x

2005-03-23 Thread Jess Holle
I had not even thought of that. So yet another issue with the original report Larry Isaacs wrote: Thanks Jess for replying to this. If I recall correctly the vulnerability was in the handling for a request for status via the AJP12 connector which continues to be used as the default shutdown

Filter-mapping

2005-03-23 Thread Steve Farmer
I've created a toy filter and servlet to experiment with filters in Tomcat 5.0.28. If I map the filter to the servlet like this filter-mapping ... dispatcherERROR/dispatcher ... /filter-mapping and invoke the following JSP %@ page errorPage=/filtex-dummy.do % ${10%0} %-- throw exception --%

JasperException, JSP calling wrong overloaded method

2005-03-23 Thread Tom Bryan
I have a custom tag MessageTag that has an overloaded setValue method. It is being used like this. title fmt:message value=exception.title / /title Instead of calling the setValue(String v) method, the generated code for the JSP is calling _jspx_th_fmt_message_0.setValue(

unicode ??

2005-03-23 Thread Gaurav Arora
Hi I have a stupid question to ask. Does Tomcat 5.5 supports UTF-8 encoding format ? thanks regards Gaurav Arora __ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/

Re: unicode ??

2005-03-23 Thread Tim Funk
yup -Tim Gaurav Arora wrote: Hi I have a stupid question to ask. Does Tomcat 5.5 supports UTF-8 encoding format ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: JasperException, JSP calling wrong overloaded method

2005-03-23 Thread Tim Funk
You shouldn't overload settors which act as beans or you'll get this problem. -Tim Tom Bryan wrote: I have a custom tag MessageTag that has an overloaded setValue method. It is being used like this. title fmt:message value=exception.title / /title Instead of calling the setValue(String v)

Re: FW: RE: Tomcat 5.5.7+JRockit = windows service won't start

2005-03-23 Thread Brad Baynes
From: Caldarale, Charles R [EMAIL PROTECTED] Subject: RE: Tomcat 5.5.7+JRockit = windows service won't start Date: Tue, 15 Mar 2005 14:40:33 -0600 That's odd, since the -Xrs is in my registry entry, albeit this is with an older Tomcat level. - Chuck No, the -Xrs is not available in

How to edit and automatically upload to a servlet ???

2005-03-23 Thread John MccLain
Howdy, I am using tomcat and the jakarta commons fileupload utilities. I can upload a file and store it in the db, then download it and have it come up in the appropriate editor for its mime type. What I want to do is, when I download it, and it opens in its editor- I want to reupload it toa

Re: Wild Card Hosting

2005-03-23 Thread QM
On Wed, Mar 23, 2005 at 11:42:09AM -0700, George Sexton wrote: : Does anyone know if Tomcat supports Wild card hosting? Can I specify a : pattern say : : *.domain.com : : And have all requests get forwarded to a specific host? Not possible with a stock Tomcat install. Perhaps possible with some

Re: clientAuth=true; non-SSL?

2005-03-23 Thread QM
On Wed, Mar 23, 2005 at 01:21:11PM -0800, Sweeney, Bill wrote: : The question is this: Do I need an SSL connection in order to get : Tomcat to force the presentation of a client side certificate? In other : words, I only want to force authentication, not wrap the connection in : SSL. If you

Address localhost:8080 already in use

2005-03-23 Thread Fredrik Liden
Here is a big problem that I've run into so many times. I run start tomcat. And then by accident I start it again while it is running. After that I can't shut it down again. And if I try to run it it says the address is in use. Have someone found any solution to this problem? Any suggestions

RE: Address localhost:8080 already in use

2005-03-23 Thread Folashade Adeyosoye
Reboot ! -Original Message- From: Fredrik Liden [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 23, 2005 7:30 PM To: Tomcat Users List Subject: Address localhost:8080 already in use Here is a big problem that I've run into so many times. I run start tomcat. And then by accident I start

[QUAR]Re: clientAuth=true; non-SSL?

2005-03-23 Thread Sweeney, Bill
Thanks QM - Agreed. No way around SSL, as the client certificate request is dependent on the SSL handshake. For those in the list who have followed these links while building their own keystores and self signed certs and client certs for authentication:

RE: Address localhost:8080 already in use

2005-03-23 Thread Fredrik Liden
I killed the java processes that were bound to 8080 but there must be a better way. I'm sure I'm not the only one that accidentally tried to start tomcat 2 times. -Original Message- From: Folashade Adeyosoye [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 23, 2005 4:42 PM To: 'Tomcat

RE: [QUAR]RE: Address localhost:8080 already in use

2005-03-23 Thread Sweeney, Bill
try %catalina_home%\bin\catalina stop Has always worked for me. - wjs -Original Message- From: Fredrik Liden [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 23, 2005 7:52 PM To: Tomcat Users List Subject: [QUAR]RE: Address localhost:8080 already in use I killed the java processes

Re: [QUAR]Re: clientAuth=true; non-SSL?

2005-03-23 Thread Mark Leone
You may not be able to get around SSL, but you can go through it, so to speak. If you want cert-based authentication but you don't want to pay the overhead price for crypto processing, or you want your session to be accessible to third party systems, then you should be able to configure SSL or

How does Tomcat interact with filesystem file permissions

2005-03-23 Thread Brian J. Sayatovic
I'm curious to know how Tomcat interacts with file permissions in the native filesystem. For example, I'm running Tomcat 5.5 on Windows XP SP2 as a service under the Local System account. I'm also using Tagisj JAAS as a JAAS Realm so Tomcat can use my XP credentials. I have my default

Re: ugly urls

2005-03-23 Thread Mark Leone
Don't know if this will help you or not, but Web Services Description Language (WSDL) provides a standard way to create URLs that encode parameters passed to web apps. If you need to publish your web app URLs or make them available to lots of people, or if clients want to programmatically

Re: How does Tomcat interact with filesystem file permissions

2005-03-23 Thread Jason Bainbridge
On Wed, 23 Mar 2005 20:38:31 -0500, Brian J. Sayatovic [EMAIL PROTECTED] wrote: So is all file access from the DefaultServlet performed as the Local System account? Sure is and running any service like Tomcat as LocalSystem is a bad idea, you should create either a domain or local account (some

RE: Wild Card Hosting

2005-03-23 Thread George Sexton
I'll try looking through the alias handling code and see how hard it would be to come up with something to cover it. George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 -Original Message- From: QM [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 23, 2005

Re: DIGEST authentication; Does it work??

2005-03-23 Thread Mark Leone
When all else fails, look at the source code (Dave, thanks for the suggestion). There is no support for SHA-1 in Tomcat's implementation of DigestAuthenticator. It should be easy enough to implement, provided the core JDK supports the creation of an instance of java.security.MessageDigest that

Re: ugly urls

2005-03-23 Thread Hein Behrens
- Original Message - From: Mark Leone [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Thursday, March 24, 2005 2:46 AM Subject: Re: ugly urls Don't know if this will help you or not, but Web Services Description Language (WSDL) provides a standard way to