Failed to read DTD files in local system

2003-01-24 Thread Stephen Ting
Jakarta OJB repository.xml failed to validate against the DTD file after I upgrade tomcat from ver. 4.1.16 to version 4.1.18. On previous version this problems didn't occured. Where should I put the DTD file if I want to place it in my local system instead of in other web server? I uses Windows

Re: Tomcat and IPv6

2003-01-24 Thread Marco Brambilla
First of all Thank you very much Shapira. Today, early in the morning, I started trying and retrying every kind of configuration was jumping in my mind. After a lot of vain trials, I decided to replace my server.xml with the original one. I only commented out the ajp coyote connector section

RE: Tomcat MOD JK Error...

2003-01-24 Thread Karikalan Kumaresan
Does anyone know about this error... could anybody help in this please? -Original Message- From: Karikalan Kumaresan [mailto:[EMAIL PROTECTED]] Sent: 23 January 2003 20:24 To: 'Tomcat Users List' Subject: Tomcat MOD JK Error... Does anyone know why the following errors occurs when I try

Re: DataSourceRealm -- solved

2003-01-24 Thread Veniamin Fichin
Jacob Kjome wrote: You don't have to pur your Resource and ResourceParam tags in GlobalNamingResources . Just put them inside your Context take and things will work fine. That's why I began this thread -- this configuration does not work. ... Context Resource / ResourceParams ...

Re: Memory leak with ThreadGroups - and other stuff

2003-01-24 Thread Chris Brown
Quick follow-on question for Craig... If you put a JDBC driver in your webapp's /WEB-INF/lib directory, then as that gets registered with DriverManager, what happens when you reload a context? If the DriverManager maintains a reference to the Driver loaded with the webapp classloader, that must

RE: HttpServletResponse Caching

2003-01-24 Thread Reynir Hübner
Check out OSCache from www.opensymphony.com They have some filters and jsp tags to implement cache, that I think may help yah. Hope it helps [EMAIL PROTECTED] -Original Message- From: Jacob Hookom [mailto:[EMAIL PROTECTED]] Sent: 23. janúar 2003 21:49 To: Tomcat Users List

Apache 2.0.43 + Tomcat 4.1.18 + mod_jk

2003-01-24 Thread Vijayanarayanasamy karthikeyan
Hi, I'm working on a system with Apache 2.0.43 + Tomcat 4.1.18 + mod_jk.so. I'm using IP 203.xxx.xxx.xx. DNS has records for this IP and pointing to site-i.websitetest.com and site-e.websitetest.com. I have my JSP application running on /ROOT context. When I type site-i.websitetest.com and

Re: log rotation - Logger Component

2003-01-24 Thread M
On Thu, 23 Jan 2003 12:37:52 -0500 Shapira, Yoav [EMAIL PROTECTED] wrote: Howdy, I see you can configure the directory, name (prefix/suffix) but what about rotation It seems to be missing. Is there such an option? As the docs for Logger

RE: Trying to setup Tomcat with Apache in Linux: module mod_jk.c is not compatible with this version of Apache

2003-01-24 Thread Turner, John
Yep...RH 8 ships with .40. Upgrade Apache to .43 or .44 (wise move anyway because of security fixes) or roll your own mod_jk.so from the source to get rid of that error message. John -Original Message- From: Lajos Moczar [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 2:20

RE: Tomcat MOD JK Error...

2003-01-24 Thread Turner, John
Line 152 of jk_ajp12_worker.c is trying to open a socket, which means that the worker is trying to connect to Tomcat. sd = -1 means the connect() function failed. I'm too rusty at C (it's been years) to tell much else at the moment, perhaps someone else can elaborate. John -Original

RE: Tomcat and IPv6

2003-01-24 Thread Turner, John
So, the lesson learned is that Ajp13Connector is not happy with IPv6, but CoyoteConnector is. John -Original Message- From: Marco Brambilla [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 4:18 AM To: Shapira, Yoav; [EMAIL PROTECTED] Subject: Re: Tomcat and IPv6 First of

RE: tomcat-server

2003-01-24 Thread Turner, John
All I want to know is what, exactly, is a semi-government organization. ;) John -Original Message- From: Bill Barker [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 1:22 AM To: [EMAIL PROTECTED] Subject: Re: tomcat-server 1) Much what Jason said: You can run Tomcat behind

RE: Apache 2.0.43 + Tomcat 4.1.18 + mod_jk

2003-01-24 Thread Turner, John
What are your Contexts in server.xml? Right now you have both hostnames pointing to the same ROOT Context. Also, you cannot declare an Apache VirtualHost container with the same ServerName twice, which is what you have. If I were you, at a minimum, I would comment out those first two

Start 2 x tomcat on same server

2003-01-24 Thread Igor . Kozlov
Hello, i have a question. It is possible to run Tomcat 2x on same server? So, that 1. Tomcat used port 8080 and 2. used port ? Thank you very much. Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail

RE: Start 2 x tomcat on same server

2003-01-24 Thread Ralph Einfeldt
Short answer: yes :) Longer answer: First: Have a look at RUNNING.txt in the tomcat 4 distribution: (4) Advanced Configuration - Multiple Tomcat 4 Instances ... Second: The following is for unix and tomcat standalone. But it should be a good starting point for other environments. We

how do I detect alive sessions at this moment?

2003-01-24 Thread Henry

RE: how do I detect alive sessions at this moment?

2003-01-24 Thread Chris Ward
Not sure if Tomcat will take care of this automaticly for you. What I do is have the object I set in the session add it's self to a list in the sever context, and remove it's self when the session expires. Then you will have a list of all sessions in one place. Chris -Original

RE: Tomcat MOD JK Error...

2003-01-24 Thread Karikalan Kumaresan
Thanks a lot John, But the point is, is this because of any installation or configuration or anything else...? it was working very well, suddenly it is not.. I assume the mod_jk module is provided with the apache-tomcat software.. so we cannot modify anything in mod_jk module.. is that

RE: how do I detect alive sessions at this moment?

2003-01-24 Thread Felipe Schnack
You can list all active sessions if you application have the privileged attribute set to true in server.xml and if you implement a specific interface... I just can't remember which one right now, but you certainly see how this can be done downloading the admin app sources... Just keep in mind

RE: tomcat-server

2003-01-24 Thread Jason Pyeron
Stock Exchange, I think. On Fri, 24 Jan 2003, Turner, John wrote: All I want to know is what, exactly, is a semi-government organization. ;) John -Original Message- From: Bill Barker [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 1:22 AM To: [EMAIL PROTECTED] Subject:

RE: Tomcat MOD JK Error...

2003-01-24 Thread Turner, John
No, that's not correct. Mod_jk is open source, under the Apache license, as is Apache HTTP and Jakarta Tomcat. The source is freely available, and you can modify it all you want, and compile your own version as much as you would like. My point was that as far as I could tell, that part of the

RE: Start 2 x tomcat on same server

2003-01-24 Thread Victor Lewis
As you can see it can be a bit complicated running two instances of Tomcat. If all you want to do is allow HTTP connections to another port all you need do is add another Connector to the server.xml file (it would look just like the one that says port=8080 except it would say port=). See

Re: Apache2.0.40 Tomcat4.1.18 Integration on Linux 7.1

2003-01-24 Thread Ed Robbins
I don't necessarily think this is a DNS problem. Typically you get a 404 error or 500 error when this occurs, which implies that the request is getting to the server, it's just not mapping the localhost context. Ed On Fri, 2003-01-24 at 05:03, Tomislav Miladinovic wrote: I can't figure out who

RE: java.lang.NoClassDefFoundError: javax/servlet/Filter

2003-01-24 Thread Lorenti, John
Tim, Maybe what I've done is taboo :-( I've placed the top level directory that has all of our custom Java classes (shared by all applications on the machine) on the Tomcat classpath. Tomcat is finding my TestFilter class there (since I chose to leave the class there instead of placing it under

IIS - Tomcat authentication

2003-01-24 Thread Reynir Hübner
Hi, I'm having problems with the most recent release of tomcat (4.1.18) and IIS authentication. I've been using the IIS scheme Windows Intergrated Authentication scheme for serveral applications. System description : Windows XP / IIS 5 / Tomcat 4.1.18 Problem description : I set up a host

RE: tomcat-server

2003-01-24 Thread Victor Lewis
Wait am minute. Someone sent this guy out to buy some open source software and to make sure that Tomcat is fully compatible with ASP. Might this be the software equivalent of sending the new guy to get a left handed monkey wrench? -Original Message- From: Leela Nanda [mailto:[EMAIL

RE: Tomcat and IPv6

2003-01-24 Thread Shapira, Yoav
Howdy, So, the lesson learned is that Ajp13Connector is not happy with IPv6, but CoyoteConnector is. I agree ;( I suspected this much ;( On the other hand, it may not be a big deal to make Ajp13Connector IPv6-compatible. Yoav Shapira Millennium ChemInformatics -- To unsubscribe, e-mail:

error 404 when calling servlet

2003-01-24 Thread Syukri Jamaluddin
hi, i'm new tomcat user (using 4.1.18 in windows 98), got a problem with my servlet. -i've constructed my webapp class dir \webapp\mysystem\WEB-INF\classes and i'd put a sevlet there named MyServlet.class (this servlet works in another web app server) -i've tried to call directly from browser

RE: tomcat-server

2003-01-24 Thread Turner, John
LOL I used to run a pizza joint. I loved sending the new guy to one of the other stores in the chain to borrow the screen stretcher. If the other managers were on the ball, we could keep the guy roaming around the city for hours. ;) John -Original Message- From: Victor Lewis

RE: error 404 when calling servlet

2003-01-24 Thread Turner, John
Do you have your servlet mapped in web.xml? The default Invoker servlet is disabled by default in 4.1.18 for security reasons. John -Original Message- From: Syukri Jamaluddin [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 11:26 PM To: [EMAIL PROTECTED] Subject: error

RE: error 404 when calling servlet

2003-01-24 Thread Shapira, Yoav
Howdy, You have two choices: 1. Comment in the servlet-mapping element for the invoker servlet in $CATALINA_HOME/conf/web.xml. This is commented out by default in tomcat 4.1.18 for security reasons. 2. Add a servlet and servlet-mapping element for your servlet class into your web.xml.

RE: tomcat-server

2003-01-24 Thread Geoff Peters
How about a metric adjustable wrench? -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 10:04 AM To: 'Tomcat Users List' Subject: RE: tomcat-server LOL I used to run a pizza joint. I loved sending the new guy to one of the other stores in

RE: tomcat-server

2003-01-24 Thread Collins, Jim
I remember my fisrt job at 17, they sent me to the stores for some sky hooks and a long weight. -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: 24 January 2003 14:04 To: 'Tomcat Users List' Subject: RE: tomcat-server LOL I used to run a pizza joint.

RE: Memory leak with ThreadGroups - and other stuff

2003-01-24 Thread Cox, Charlie
-Original Message- From: Chris Brown [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 4:55 AM To: Tomcat Users List Subject: Re: Memory leak with ThreadGroups - and other stuff Quick follow-on question for Craig... If you put a JDBC driver in your webapp's

Re: tomcat-server

2003-01-24 Thread Gary Labowitz
- Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Friday, January 24, 2003 5:55 AM Subject: RE: tomcat-server All I want to know is what, exactly, is a semi-government organization. ;) John The Federal Reserve Banks -- Gary

Quick help with Bindings

2003-01-24 Thread Dave Morrow
Hi, I am a newbie to Tomcat and attempting to solve what is likely a very simple problem. I have an out of the box install of Tomcat 4.1.18, I want to change Tomcat such that it binds only to one of my IP addresses instead of all of them. After reading the documentation, I changed my connector

RE: JK2 and Victual Hosts

2003-01-24 Thread Victor Lewis
Can I take the lack of response to this message as in indication that 1) It cannot be done 2) No one is doing this 3) It is a stupid question 4) I just need to use the left handed workers2.properties -Victor -Original Message- From: Victor Lewis [mailto:[EMAIL PROTECTED]] Sent:

[again] workers2.properties

2003-01-24 Thread Henning Heil
Hi there! mod_jk2 again, I'm getting nuts with this! (is there anybody who masters this?) Well, I'm really stuck, no way back or forward. What I basicallay wanna do at the moment is, to use Tomcat just the way I use the php-module: whenever a jsp-File is requested, just process the java-part,

Error: 500 / Internal Servlet Error:

2003-01-24 Thread Pierre-Philipp Braun
Hi all, i just installed tomcat on a NetBSD box, and it works fine for some HTML files (the only thing i changed for now into tomcat/conf/ is the default port: 80 instead of 8080). But when i try some JSP files, like http://java.sun.com/products/jsp/html/jspbasics.fm1.html i get this error

RE: Quick help with Bindings

2003-01-24 Thread Lorenti, John
Hello, If you want Tomcat to be able to share port 80 with IIS, you'll want to check out http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/iishowto.html. I also found http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/index.html to be helpful as well. Regards. -John -Original

RE: Quick help with Bindings

2003-01-24 Thread Dave Morrow
Thanks. I have already read those 2 documents. Unfortunately, I am unable to use the ISAPI_REDIRECT filter, it seems to not like my configuration. Besides, I would like Tomcat and IIS to remain independent from one another. I am hoping to simply get Tomcat to listen on port 80 on one IP address

requestdispatcher

2003-01-24 Thread Felipe Schnack
Hey guys... i'm doing something wrong or if when you set an request attribute and then do a RequestDispatcher.forward() you lost your new attribute? -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Centro Universitário Ritter dos Reis

RE: Quick help with Bindings

2003-01-24 Thread Lorenti, John
Unfortunately, David, I don't believe that each IP gets its own set of ports. Instead, the ports belong to the machine itself. If you want to keep IIS and Tomcat independent on the same machine, then you can assign a different port to Tomcat (but you probably already know that). I fear that

RE: java.lang.NoClassDefFoundError: javax/servlet/Filter

2003-01-24 Thread Cox, Charlie
see intermixed -Original Message- From: Lorenti, John [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 8:53 AM To: 'Tomcat Users List' Subject: RE: java.lang.NoClassDefFoundError: javax/servlet/Filter Tim, Maybe what I've done is taboo :-( I've placed the top level

RE: Quick help with Bindings

2003-01-24 Thread Dave Morrow
I'm still leaning towards this being do-able since the Tomcat documentation does indicate that you can add an address=x.x.x.x in the connector configuration, it should only bind to that IP address, I should think? David Morrow Network Administrator Autodata Solutions Company Ph: (519) 951-6067

PersistentManager with FileStore

2003-01-24 Thread Dietmar . Mueller
Hy, first sorry for my bad english! I use 4.0.6 / jdk1.3.1 / win32. I want to store session information on filesystem so that it is possible for me to restart tomcat without loosing all sessioninformations. To start tomcat as service with my runtime parameter I use an wrapper from Silver Egg

RE: Quick help with Bindings

2003-01-24 Thread Kief Morris
Lorenti, John typed the following on 09:40 24/01/2003 -0500 Unfortunately, David, I don't believe that each IP gets its own set of ports. Instead, the ports belong to the machine itself. If you want to keep IIS and Tomcat independent on the same machine, then you can assign a different port to

RE: [again] workers2.properties

2003-01-24 Thread Mike Bachrynowski
I am nervous about re-entering the jk2 fray... I think the following section should be removed from the Apache2 httpd.conf as I believe it is relevent to mod_jk not mod_jk2this might cause the confusion. IfModule mod_jk2-2.0.43.c JkWorkersFile c:/playground/Apache2/conf/workers2.properties

RE: Quick help with Bindings

2003-01-24 Thread Dave Morrow
It would surprise me too..not even MS would make that mistake. David Morrow Network Administrator Autodata Solutions Company Ph: (519) 951-6067 Fax: (519) 451-6615 mailto: [EMAIL PROTECTED] This message has originated from Autodata Solutions. The attached material is the Confidential and

Tomcat to LDAP over SSL

2003-01-24 Thread Petar Lalovic
Hi, We are running Tomcat 4 Standalone. The requirement is to have Tomcat establish a secure connection with our LDAP server on port 636 (SSL) so that only communications between Tomcat and LDAP are encrypted (browser to Tomcat are normal HTTP). The JNDI Realm HOW-TO got us up and running

RE: java.lang.NoClassDefFoundError: javax/servlet/Filter

2003-01-24 Thread Lorenti, John
what do you mean on the tomcat classpath? I mean the classpath used by the JVM in which Tomcat is running. Your classes should be under /common/classes for shared classes. Let me clarify. When I refer to common classes I do *not* mean common to Tomcat, but common to other Java applications

RE: HttpSessionbindingListener

2003-01-24 Thread Daniel Brown
Henry, HttpSessionBindingListener enables you to be notified when an object is bound into a session, or when the object is removed from the session (either progammatically, or when the session itself is invalidated or expired). If you'd like an object stored in the session to be notified in this

RE: Quick help with Bindings

2003-01-24 Thread Ralph Einfeldt
There was a post about this toppic some month ago. As I couldn't find it in the public archives I resend it: -Original Message- From: W. Egan [mailto:[EMAIL PROTECTED]] Sent: Sunday, October 27, 2002 6:14 PM To: Tomcat Users List; Nathan Phelps Subject: Re: Tomcat 4.1.12 taking IPs

Re: pool exhausted

2003-01-24 Thread Jakarta
don't worry. i've fixed it. - Original Message - From: Pablo L. Crivaro [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 23, 2003 5:47 PM Subject: DBCP: pool exhausted Hi all, i'm new in the list. I receive a java.sql.SQLException: DBCP could not obtain an idle db

RE: Quick help with Bindings

2003-01-24 Thread Dave Morrow
Wow. It appears that MS is crazy enough to do such a thing after all! I don't believe it! I thank you. This solution solved the problem! David Morrow Network Administrator Autodata Solutions Company Ph: (519) 951-6067 Fax: (519) 451-6615 mailto: [EMAIL PROTECTED] This message has originated

RE: java.lang.NoClassDefFoundError: javax/servlet/Filter

2003-01-24 Thread Tim Moore
Hi, John, Referring back to the class loader how-to, the classes on your system classpath are loaded in the bootstrap loader. Classes higher in the hierarchy cannot access classes lower in the hierarchy. I am in a very similar situation to you: we have classes that are shared between webapps

RE: Form Data IE vs NS

2003-01-24 Thread Kevin Wilson
No ... regular old http -Original Message- From: Joseph Shraibman [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 3:47 PM To: Tomcat Users List Subject: Re: Form Data IE vs NS Is it a https:// url? Kevin Wilson wrote: [problem] Form data not retained using back operation

RE: Form Data IE vs NS

2003-01-24 Thread Kevin Wilson
I am more curious as to why form data worked in previous versions of IE and now does not for its latest version. If it works for NS on the same machine then why not IE? Microsoft is really starting to piss me off with the issues surrounding their latest bug fixes which are screwing up

Re: URL

2003-01-24 Thread John Burgess
Just set up tomcat to serve ssl on port 443 (the default for https as 80 is http) and you won't need to specify the port. - Original Message - From: Ravindra K. Bhat [EMAIL PROTECTED] To: Ravindra K. Bhat [EMAIL PROTECTED] Cc: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, January 23,

RE: java.lang.NoClassDefFoundError: javax/servlet/Filter

2003-01-24 Thread Cox, Charlie
you would need to keep in mind the security ramifications of such a change. you don't want someone to place any directory of jars in the list to be loaded where they could be accessed by any jsp dropped into a webapp. There's also directory/file permissions to think about for each external

RE: java.lang.NoClassDefFoundError: javax/servlet/Filter

2003-01-24 Thread Tim Moore
-Original Message- From: Cox, Charlie [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 10:35 AM To: 'Tomcat Users List' Subject: RE: java.lang.NoClassDefFoundError: javax/servlet/Filter you would need to keep in mind the security ramifications of such a change. you

RE: Quick help with Bindings

2003-01-24 Thread Daniel Brown
Dave, There is a known issue with IIS in which it binds to all available IP addresses, rather than the one specified, when socket pooling is in use (the default). It's described here: http://support.microsoft.com/default.aspx?scid=kb;en-us;259349 Generally, IIS will start before Tomcat when

RE: java.lang.NoClassDefFoundError: javax/servlet/Filter

2003-01-24 Thread Collins, Jim
Well, in my case, all I really want to do is effectively move the common/lib directory to a different location outside of the Tomcat directory structure. True that we would need to manage the permissions of that directory, but they wouldn't be any different from the permissions of

Single Servlet vs Multiple Servlet

2003-01-24 Thread Robert Simmons
Greetings, I am developing a pretty rich web application that will be served by Java servlets. The question to me right now is If I want to go with single or multiple servlets. In all there will be about 50 commands that can be done to this servlet. If I put them all in one file it would

RE: java.lang.NoClassDefFoundError: javax/servlet/Filter

2003-01-24 Thread Tim Moore
-Original Message- From: Collins, Jim [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 11:05 AM To: 'Tomcat Users List' Subject: RE: java.lang.NoClassDefFoundError: javax/servlet/Filter Well, in my case, all I really want to do is effectively move the common/lib

RE: Single Servlet vs Multiple Servlet

2003-01-24 Thread Tim Moore
-Original Message- From: Robert Simmons [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 11:09 AM To: Tomcat Subject: Single Servlet vs Multiple Servlet Greetings, I am developing a pretty rich web application that will be served by Java servlets. The question to

RE: pool exhausted

2003-01-24 Thread Short, Dave
How did you fix this? -Original Message- From: Jakarta [mailto:[EMAIL PROTECTED]] Sent: January 24, 2003 7:26 AM To: Tomcat Users List Subject: Re: pool exhausted don't worry. i've fixed it. - Original Message - From: Pablo L. Crivaro [EMAIL PROTECTED] To: [EMAIL PROTECTED]

RE: Single Servlet vs Multiple Servlet

2003-01-24 Thread Shapira, Yoav
Howdy, In all there will be about 50 commands that can be done to this servlet. If I put them all in one file it would violate my sense of object oriented engineering. So I thought of either making the various commands actually be in different classes and the servlet routing the requests to the

RE: Single Servlet vs Multiple Servlet

2003-01-24 Thread Felipe Schnack
Yes, I think there's no reason why you should implement your application hand-coding a servlet for each command you need. There are several frameworks around the web that you can use... Apache Struts, JCorporate Expresso (that now is integrated to Struts) and others. Personally, I'm developing

Re: Single Servlet vs Multiple Servlet

2003-01-24 Thread Robert Simmons
Actually I don't intend to use JSP at all. The resulting document from the call to the servlet is XML, not HTML or XHTML or JSP. Just XML. I'm not sure learning a JSP framework would be worth my time. -- Robert - Original Message - From: Felipe Schnack [EMAIL PROTECTED] To: Tomcat

RE: Single Servlet vs Multiple Servlet

2003-01-24 Thread Tim Moore
-Original Message- From: Robert Simmons [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 12:04 PM To: Tomcat Users List Subject: Re: Single Servlet vs Multiple Servlet Actually I don't intend to use JSP at all. The resulting document from the call to the servlet is

Tomcat-Apache + Virtualhosts + Manager App

2003-01-24 Thread Thomas OMaley
I have a Tomcat-Apache server (RHat Linux), which uses the webapp connector, and is setup with multiple virtual hosts. I am failing to setup the manager app for each virtual host, and hope that someone can help show me the error of my ways. I have re-read the docs, scoured the archives, and

RE: Single Servlet vs Multiple Servlet

2003-01-24 Thread Felipe Schnack
Yes, if you plan to write your own framework, take a look at Struts, steal ideas from it, it's a great framework, like it or not, and it's very well done. I actually think my framework is simpler, but you know, we always think our own is better :-) On Fri, 2003-01-24 at 15:09, Tim Moore

Tomcat + Apache + Virtual Host (new)

2003-01-24 Thread Sebastião Carlos Santos
Lajos, I installed the Apache 1.3.27 again together with Tomcat 4.1.18 through of mod_jk.so, as we talked yesterday, using LoadModule, AddModule and JkWorkersFile in httpd.conf. After the installation of the Apache + Tomcat + mod_jk I tested the installation in

username as a variable?

2003-01-24 Thread Shah, Sanjay
Is there a way to catch the username from tomcat-user.xml file as a variable? I want to use the username that a user logs in as into my servlet. Thanks -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: username as a variable?

2003-01-24 Thread Barney Hamish
see the j2ee documentation on the request object... There is the method getRemoteUser() -Original Message- From: Shah, Sanjay [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 6:28 PM To: 'Tomcat Users List' Subject: username as a variable? Is there a way to catch

RE: Tomcat + Apache + Virtual Host (new)

2003-01-24 Thread Turner, John
If your JkMount statement has /admged in it, then your URL must have that in it, as well. JkMount works by matching URLs. If your URL does not have /admged in it, the JkMount that you have will not match. Try changing your JkMounts to: JkMount / ajp13 JkMount /* ajp13 OR JkMount /*.jsp

Re: HTTP 500 - No Context configured- progress

2003-01-24 Thread pcampaigne
Ed, I am no longer getting the HTTP no context configured error. After installing a fresh Redhat 8.0 and tomcat4-4.1.18 and starting tomcat4, in Mozilla I go to the url http:localhost:8080 and get a blank screen. This is regardless if I replace localhost with the IP address in server.xml. I

RE: HTTP 500 - No Context configured- progress

2003-01-24 Thread Turner, John
http://localhost:8080/examples/ and the example JSP and servlets run would be proof that Tomcat is up and running, and configured correctly. John -Original Message- From: pcampaigne [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 12:41 PM To: Tomcat Users List Subject:

RE: Tomcat + Apache + Virtual Host (new)

2003-01-24 Thread Sebastião Carlos Santos
When I used the configuration JkMount / ajp13 JkMount /* ajp13 I received the following error message Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [EMAIL PROTECTED] and inform

INSECURE to rely on sendRedirect (??)

2003-01-24 Thread Erik Price
A few weeks ago I posted a question on this list asking if using response.sendRedirect() is a secure means of preventing a user agent from accessing content. (For instance, in a scenario where, to access the content, the session is consulted for a key of some sort. If the key is found,

RE: java.lang.NoClassDefFoundError: javax/servlet/Filter

2003-01-24 Thread Craig R. McClanahan
On Fri, 24 Jan 2003, Lorenti, John wrote: Date: Fri, 24 Jan 2003 08:52:36 -0500 From: Lorenti, John [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: java.lang.NoClassDefFoundError: javax/servlet/Filter Tim, Maybe what

RE: requestdispatcher

2003-01-24 Thread Mike Jackson
I'll assume that you're doing something like this: response.setAttribute( ATTR, new Object() ); RequestDispatcher d = response.getRequestDispatcher( /test.jsp ); d.forward( request, response ); If it's something like that the attribute should be available in the page

Ant install with Tomcat Manager problem

2003-01-24 Thread f . delprete
(Tomcat 4.1.18 on ReadHat 8.0) When I try the ant install command (build.xml taken from the example in the Tomcat Docs) the tomcat working dir is filled with the right files (I hope...) but in the log i see: 2003-01-24 16:22:43 StandardWrapper[/manager:Manager]: Loading container servlet

RE: INSECURE to rely on sendRedirect (??)

2003-01-24 Thread Tim Moore
-Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 12:52 PM To: Tomcat Users List Subject: INSECURE to rely on sendRedirect (??) A few weeks ago I posted a question on this list asking if using response.sendRedirect() is a secure

RE: requestdispatcher

2003-01-24 Thread Felipe Schnack
Sorry you all, I was doing something very very stupid, it's working now :-(( On Fri, 2003-01-24 at 15:55, Mike Jackson wrote: I'll assume that you're doing something like this: response.setAttribute( ATTR, new Object() ); RequestDispatcher d = response.getRequestDispatcher(

RE: Tomcat + Apache + Virtual Host (new)

2003-01-24 Thread Sebastião Carlos Santos
Excuse me, but I ordered a wrong information. When I used the configuration JkMount / *. jsp ajp13 JkMount / servlet / * ajp13 the navigator didn't try to do the download of the. jsp, but I obtained the following error message. HTTP Status 500 - No Context configured to process this request

RE: Single Servlet vs Multiple Servlet

2003-01-24 Thread Chris Ward
If you are XML based, how about the Apache Cocoon project. I have only read about it, not tried it. Chris -Original Message- From: Robert Simmons [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 11:04 AM To: Tomcat Users List Subject: Re: Single Servlet vs Multiple Servlet

RE: INSECURE to rely on sendRedirect (??)

2003-01-24 Thread Mike Jackson
I've had problems with something in a similar way, I have a login page in which if the login is successfull it will while send back a redirect to the client. That redirect is supposed to go to the menu page for the webapp, but because the jsp is not only sending the header back, but some content

Re: INSECURE to rely on sendRedirect (??)

2003-01-24 Thread Erik Price
Tim Moore wrote: *obligated* to respect the redirect. This means that relying on a redirect to protect secure data might be a mistake. In other server side languages (Perl, PHP), you can call exit immediately after setting the header to ensure that the sensitive data is not sent from

Re: INSECURE to rely on sendRedirect (??)

2003-01-24 Thread Erik Price
Mike Jackson wrote: So, in the end, I'm not clear on how filters work exactly (haven't needed to use them yet), but when you're using the header type redirect you need to make sure that you're not going to send back anything other than the redirect. If you do send something most clients will

RE: Memory leak with ThreadGroups

2003-01-24 Thread Tolles, James
Thank-you for the reply. I have 4 java certifications but it seems like there has been little emphasis on class loaders which are actually very, very important. Could I ask another question? It seems like re-loading a new jsp workw easily and well, only the new jsp gets loaded, the

RE: INSECURE to rely on sendRedirect (??)

2003-01-24 Thread Mike Jackson
Actually I use a MVC architecture, my controller has a standard model for doing logins. So I just change the look for the login page and change the configuration file a little and I'm done. Nearly 100% code reuse (if you consider the relatively static login page to be code). Since my system is

Re: INSECURE to rely on sendRedirect (??)

2003-01-24 Thread Erik Price
Mike Jackson wrote: Actually I use a MVC architecture, my controller has a standard model for doing logins. So I just change the look for the login page and change the configuration file a little and I'm done. Nearly 100% code reuse (if you consider the relatively static login page to be

RE: Single Servlet vs Multiple Servlet

2003-01-24 Thread Tim Moore
You might also try Maverick (http://mav.sourceforge.net/) which combines ideas from Struts (model-2, command pattern) with ideas from Cocoon (transformation pipeline, sitemap) and is totally agnostic of your view layer technology. I haven't worked with it myself, but it looks pretty cool. :-)

jsp:include behavior... help needed.

2003-01-24 Thread Stone, Timothy
List, We have recently been alpha testing an application that must run over a wireless network still running at Flintstone speeds (at best 19.2 but closer to 4800~9600!) As faster wireless is out of the question (management, funding and other obstacles are factors), we have implemented the

RE: java.lang.NoClassDefFoundError: javax/servlet/Filter

2003-01-24 Thread Lorenti, John
Thank you, Craig. As you surmised, I'm not using the machine's environment classpath, but instead have hacked the startup to include my classes just within the Tomcat JVM. What you describe makes sense regarding the difference between the system class loader's classpath and the class loader

Re: Tomcat + Apache + Virtual Host (new)

2003-01-24 Thread Sebastião Carlos Santos
Lajos, You want me to order for the list or directly for the e-mail? *** REPLY SEPARATOR *** On 24/01/2003 at 11:13 Lajos Moczar wrote: E-mail Premium BOL Antivírus, anti-spam e até 100 MB de espaço. Assine já! http://email.bol.com.br/ Hi - Can you send me your server.xml?

Re: Tomcat + Apache + Virtual Host (new)

2003-01-24 Thread Lajos Moczar
Do it direct to my email. Lajos Sebastião Carlos Santos wrote: Lajos, You want me to order for the list or directly for the e-mail? *** REPLY SEPARATOR *** On 24/01/2003 at 11:13 Lajos Moczar wrote: E-mail Premium BOL Antivírus, anti-spam e até 100 MB de espaço.

RE: INSECURE to rely on sendRedirect (??)

2003-01-24 Thread Mike Jackson
They can't. There's a mapping between the thing they're requesting and the model or models that are being called, you can't access the model directly. You could access the page directly, but in most cases that won't get you anywhere, and any of the links that it points are directly controlled by

  1   2   >