Re: AW: security issue: tomcat on port 80

2001-12-07 Thread Dr. Evil
The VM itself is typically writen in C/C++, so I wouldn't beg on more=20 safety for a VM than Apache. That's probably true. However, the likelihood of someone being able to send a web request to Tomcat that will result in Tomcat triggering a buffer overflow in the VM seems ridiculously small.

Ang: Re: Calendar Boject behaves strange

2001-12-07 Thread Magnus Jansson
Yes! That did it. I wonder why it didnt roll properly over day? [EMAIL PROTECTED] 2001-12-06 20:01:23 Maybe try something like this: while (MyDate.get(Calendar.WEEK_OF_YEAR) = MaxWeek) { //set to Monday MyDate.set(Calendar.DAY_OF_WEEK, Calendar.MONDAY); //make

AW: AW: security issue: tomcat on port 80

2001-12-07 Thread Ralph Einfeldt
You don't have to sell shell accounts. The past 12 years I worked constantly for companies that had one or more unix servers and always only a small number of users had an admin account, all other had 'normal' user accounts. Even today we share one linux box with several users. (Each user has

AW: mod_jserv.so vs mod_webapp.so

2001-12-07 Thread Ralph Einfeldt
Although I saw no 'official' statement about that, I think the history was something like that: mod_webapp was indented to be the sole connector for tomcat 4.0. As it wasn't ready in the needed qualitity, when TC 4.0 was released, people started to take mod_jk and integrate it with TC 4. One

Re: java.lang.OutOfMemory error

2001-12-07 Thread Jason Koeninger
winmail.dat Description: application/ms-tnef

tomcat 3.1.1

2001-12-07 Thread Anagha Mudigonda
hi, i have a problem with tomcat 3.1.1 we have a product depot of tomcat 3.1.1 for HP-UX. So unless I build from source i cant use a later version. So, I'de like to know if there any real disdvantages to using 3.1.1 and besides the build process described in the documentation doesnt seem to

AW: tomcat 3.1.1

2001-12-07 Thread Ralph Einfeldt
Versions prior to 3.2 are not supported any longer. There are several bugs in the versions below 3.2 that won't ever be fixed. (Some of them can be real show stoppers) -Ursprüngliche Nachricht- Von: Anagha Mudigonda [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 7. Dezember 2001

Problem using compiled stylesheets in servlet run from a Tomcat service.

2001-12-07 Thread Lepri, Ennio (AFIS)
I have a problem running my application as a NT service with Tomcat 4.0. The servlet builds a DOM tree then uses a XSL processor to compile the stylesheets and generate the HTML output. The same servlet runs perfectly as an application (using startup.bat or catalina.bat). I put display messages

AW: Configure md_jk in http.conf

2001-12-07 Thread Lauer, Oliver
Thanx, I understood and it works as I suppose her/him to work (I don't know if Apache is male or female :-) ). Oliver AXA eSolutions GmbH AXA Konzern AG Germany Oliver Lauer Web Architect Wörthstraße 34 D-50668 Köln Germany Tel.: +49 221 148 31277 Fax: +49 221 148 43963 Mobil: +49

vhost

2001-12-07 Thread Daniel Knoll
Hi Newsgroup, I would like to create vhost with the tomcat like project.domain.de and not domain.de/project I use the tomcat 4.01. which Line must I create in the server.xml to get this configuration ? The DNS-Server is for this configurated. Has Someone an answer ? With best regards Daniel

RE: Getting started with Tomcat

2001-12-07 Thread Arnold Shore
With that symptom, I inserted the SET directives for both of these in the startup.bat file instead, and it worked. I suppose my autoexec.bat is screwed up, but I'm not going to troubleshoot that. Arnold Shore annapolis, MD USA -Original Message- From: Saqib Shaikh [mailto:[EMAIL

Unable to include *.sum files (Again)

2001-12-07 Thread Kusel, Jonathan J
Hi all, I've mailed the follwoing to the tomcat users group but nobody has responded yet so I took the liberty of posting it again. Here's the message: I'm trying to include normal text files with .sum extensions using the jsp:include directive:

Tomcat 3.3 load balancing without APACHE

2001-12-07 Thread stephane . gesuati
Hello, I want to manage multiple Tomcat 3.3 servers without using Apache. I'ld like to set up a main Tomcat server that could redirect some requests on other Tomcat instances. Is it possible to use the workers mecanism without Apache/mod_jk ? And how to configure it in this case ? Thanks

AW: Session Timeout

2001-12-07 Thread Lauer, Oliver
Have a look at HttpSessionEvent in API2.3 AXA eSolutions GmbH AXA Konzern AG Germany Oliver Lauer Web Architect Wörthstraße 34 D-50668 Köln Germany Tel.: +49 221 148 31277 Fax: +49 221 148 43963 Mobil: +49 179 59 064 59 e-Mail: [EMAIL PROTECTED] _

UserTransaction in Tomcat 4.0

2001-12-07 Thread Roy Ngan
Dear all, I've read in the document of JNDI Resources HOW-TO, it mentions that UserTransaction is possible in Tomcat. But only little information is provided in the documentation. I can only found in the above document, under the UserTransaction section. Can anyone tell me is there any more

Re: Session Timeout

2001-12-07 Thread Moós Gábor
When an object is unbound from the session, is when the session times out. - Original Message - From: Erwin Ambrosch [EMAIL PROTECTED] To: Tomcat Mailinglist [EMAIL PROTECTED] Sent: Friday, December 07, 2001 1:41 PM Subject: Session Timeout Hi! Is there an possibility to trigger

Setting up a DB

2001-12-07 Thread Fred Schroomnig
Hi All, I'm pretty new at using Tomcat and related Technologies, I have one hope fully small question. Where do I set up my Datasource in Tomcat so that I can retrieve it from my JSP using a jndi lookup? I'm assuming that this is done somewhere in the server.xml file, but what are the Tags

RE: tomcat configuration error

2001-12-07 Thread Larry Isaacs
If you are new to Tomcat 3.x, I would recommend using Tomcat 3.3 over a Tomcat 3.2.x version. Are many improvements in Tomcat 3.3. Though Tomcat 3.3's documentation isn't great, I believe it is better documented than 3.2.x. Regardless of which version you choose, I would recommend trying the

hostname in TC4 access log

2001-12-07 Thread Cox, Charlie
I cannot get the hostname in the access log created by the AccessLogValve.It always logs the IP address. The client in question does have a valid DNS name and DNS is working properly on my machine as InetAddress.getByName(req.getRemoteAddr()).getHostName() will give the correct DNS name

Re: AW: tomcat 3.1.1

2001-12-07 Thread Anagha Mudigonda
how tough / easy is it to build from source ? regards anagha PS I've never done anything of the kind before. Can I take a Linux exe and load it on HPUX ? Ralph Einfeldt wrote: Versions prior to 3.2 are not supported any longer. There are several bugs in the versions below 3.2 that won't

RE: RMI/JNDI problem w/tomcat 3.3

2001-12-07 Thread Larry Isaacs
I assume you noticed in the documentation that Tomcat 3.3 startup scripts ignore your CLASSPATH. Did you modify the tomcat.bat/tomcat.sh file to include the jndi.properties file? If so, what is the error you are seeing? Cheers, Larry -Original Message- From: Mike Comb [mailto:[EMAIL

RE: dll tomcat

2001-12-07 Thread Larry Isaacs
I believe you can use a full path in the loadLibrary() call. ServletContext.getRealPath(\???\my.dll) could help obtaining that full path. Otherwise, I think the dll would need to be in a directory named in your PATH environment variable. Cheers, Larry -Original Message- From: Joe

RE: Problem using compiled stylesheets in servlet run from a Tomcat s ervice.

2001-12-07 Thread Cox, Charlie
When run as a service, Tomcat will run as the user 'System', so make sure your permissions on your xsl_files are correct. Also the default directory becomes c:\winnt insstead of D:\Apache Tomcat 4.0\bin I have this working as both standalone and as a service with the same versions of xerces and

RE: Getting started with Tomcat

2001-12-07 Thread Larry Isaacs
What you describe should work. What do you see in the DOS window that is running Tomcat? You should see something like: 2001-12-07 08:06:25 - Http10Interceptor: Starting on 8080 to indicate the HTTP service on port 8080 is working. Cheers, Larry -Original Message- From: Saqib

HELP ON TOMCAT WITH APACHE

2001-12-07 Thread Ravi Reddy
Hi All, I am a new member of this group.Currently, I am working on Tomcat 4.0 and apache 1.3.22 on Win NT. I am not able to configure tomcat as a servlet container. I have downloaded the web_app module and configured exactly. but , it's of no use. Can any one guide me in configuring it ?. if

TOMCAT RUNNING PROBLEM

2001-12-07 Thread
I install TOMCAT version 3.3 under windows 2000(simplified Chinese) which was download from http://jakarta.apache.org,JDK version is java2 sdk standared version 1.3.0.I start TOMCAT with startup.bat, but when I visit a jsp page,TOMCAT output information : 2001-12-06 11:19:07 -

Re: ONE More Time! why does Tomcat 4 work this way

2001-12-07 Thread Sri K Ganjam
Hi, I just subscribed to this list yesterday only. I am trying to port and improve the mod_webapp on Linux /390. I successfully built it and ran it under windows 2000 and RedHat linux without any changes from source drop, I downloaded from here

javax.naming.NamingException

2001-12-07 Thread Ginger Huangfu
Hi, I get the Error javax.naming.NamingException: Cannot create resource instance (1) The ejb reference defined in web.xml is ejb-ref ejb-ref-nameejb/User/ejb-ref-name ejb-ref-typeEntity/ejb-ref-type homebookstore.signon.user.ejb.UserHome/home

Problems with mod_webapp and Apache 4.01 (Win NT)

2001-12-07 Thread ilacosta
I have a problem with mod_webapp (1.0) and Apache 1.3.2 in Win NT envoronment. My goal is to setup Tomcat 4.0 and Apache 1.3.2 together, and I downloaded the binary for WinNT of mod_webapp and followed your instruccions to set up Apache: The http.conf is the default configuration file from a new

Problem with big JSP and TOMCAT 4.0.1

2001-12-07 Thread Søren B. Thygesen
[TOMCAT 4.0.1 running as service on Windows NT] I'm trying to port my application to TOMCAT 4.0.1 running as an service on Windows NT. Everything is working fine except for one of myJSPs which just wont show. TOMCAT responds with a HTTP 500 (Page cannot be displayed) and then shuts down with no

TOMCAT 4.0.1 - HTTP 500 - No further information?

2001-12-07 Thread Søren B. Thygesen
I'm trying to port my application to TOMCAT 4.0.1 running as an service on Windows NT. Everything is working fine except for one of myJSPs which just wont show. TOMCAT responds with a HTTP 500 (Page cannot be displayed) and then shuts down with no information in any of the log files. The JSP in

RE: Help on Setting Up Application

2001-12-07 Thread Jim Urban
If your package is 1.2.3.4 and your servlet name is Controlservlet and it is in context myapp and you want to be able to access your servlet by simply entering http://host/myapp here is what you need to put in your myapp/WEB-INF/web.xml file. web-app servlet

AW: ONE More Time! why does Tomcat 4 work this way

2001-12-07 Thread Lauer, Oliver
Maybe you try mod_jk for Linux due to I had the same comparable problems with Solaris 2.6. You can easily built it from source using the mail attached. Oliver AXA eSolutions GmbH AXA Konzern AG Germany Oliver Lauer Web Architect Wörthstraße 34 D-50668 Köln Germany Tel.: +49 221 148

RE: HELP ON TOMCAT WITH APACHE

2001-12-07 Thread Brian Adams
Hi, this is what I did First I did not have to touch server.xmlit can run both as a server port 8080 and also a servlet engine that connects to Apache (mod_webapp 8008) . All you really need to do is add to that apache httpd.conf (find the LoadModule part of the file, close to the top

RE: TOMCAT RUNNING PROBLEM

2001-12-07 Thread Larry Isaacs
The Connection aborted by peer and Connection reset by peer errors indicate the browser broke the connection. This is normal for some browsers. It is not an indication that Tomcat isn't working properly. The problem with the JVM suddently terminating isn't likely to be related to this error.

Loading configuration file with web.xml

2001-12-07 Thread Fabien Veyradier
Hi, I would like to solve the following problem. Why must I have to use absolute path in web.xml to load Turbine connection ? Here is my web.xml file : web-app servlet servlet-nameturbine/servlet-name servlet-classInitTurbine/servlet-class init-param

tomcat4-unable to connect remote host

2001-12-07 Thread Kukkapalli PraveenKumar
Hi all, I'm from ElxLinux.Recently downloaded tomcat4 rpm installed and set the JAVA_HOME path in tomcat4.conf. then i've started the server. http://localhost:8080/ giving the error unable to connect to remotehost on standalone system. Do I need to change any other configuration changes.

RE: HELP ON TOMCAT WITH APACHE

2001-12-07 Thread Ravi Reddy
Thanks for the Info badams But when I tried this, and restart the apache after restarting tomcat, I am getting an error at the starting of apache at line WebAppConnection conn warp localhost:8008 which says missspelled WebAppConnection or perhaps not included in the module.but I have already

RE: Problem using compiled stylesheets in servlet run from a Tomc at service.

2001-12-07 Thread Lepri, Ennio (AFIS)
I tried to simplify my main XSL file just to see whether I could at least get a simple HTML page and it did appeared. The problem seems to arise when using xsl:import and/or xsl:include or the document() function. I'll keep on trying. Thanks Ennio -Original Message- From: Cox, Charlie

RE: HELP ON TOMCAT WITH APACHE

2001-12-07 Thread Brian Adams
even better here is my httpd.conf. you did the other two lines right? the LoadModule and the AddModule... -Original Message- From: Ravi Reddy [mailto:[EMAIL PROTECTED]] Sent: Friday, December 07, 2001 8:21 AM To: [EMAIL PROTECTED] Subject: RE: HELP ON TOMCAT WITH APACHE Thanks for

Tomcat as a Devlopment Server

2001-12-07 Thread Shekhar
Hi all, I 'm new to this list. Basically I want to setup a devlopment Server. I need the feature autoreload desparately so that programmers can copy their .class files and immidiately see the result. So I copied the examples folders in webapp by usernames. And these folder r share using samba.

InitialContext in a JSP

2001-12-07 Thread Chris Williamson
I am trying to create an InitialContext in a JSP I have created. The code looks like this... KernelService ms = null; try { InitialContext jndiContext = new InitialContext(); Context envCtx = (Context)jndiContext.lookup(java:comp/env); ms =

Re: vurtual hosting

2001-12-07 Thread Timothy Fisher
Yes it does support virtual hosting... You need to configure that in the server.xml file. On the tomcat site there is documentation for how to do this. Tim --- Rams [EMAIL PROTECTED] wrote: Hi, Does Tomcat support Virtual Hosting? lf yes, how? could anyone please give the config.

tomcat4-unable to connect remote host

2001-12-07 Thread Kukkapalli PraveenKumar
Hi all, I'm from ElxLinux.Recently downloaded tomcat4 rpm installed and set the JAVA_HOME path in tomcat4.conf. then i've started the server. http://localhost:8080/ giving the error unable to connect to remotehost on standalone system. Do I need to change any other configuration changes.

Re: Character Encoding problems

2001-12-07 Thread Ivo Panacek
Nikola Milutinovic wrote: Ivo Panacek wrote: response.setContentType(text/html; charset=ISO-8859-2); So, no trouble there. How do I get a (Unicode) string to convert to a ISO-8859-2 encoded byte stream? Because, eventually, that is what the browser should get. I cannot use the method

RE: Problem using compiled stylesheets in servlet run from a Tomc at s ervice.

2001-12-07 Thread Cox, Charlie
import and include both go by the current working directory. I gave up on import and include as it was too much of a hassle under Xalan 1(my xsl is not that complicated), so I haven't revisited it under xalan2. you may also want to look at the URIResolver although I haven't tried it. Charlie

Tomcat Manager App gets funny message

2001-12-07 Thread Steve Howie
Running the Manager App under Tomcat presents me with the following really helpful error message: FAIL - Unknown command I have my name 'scotty' defined in the 'tomcat-users.xml' file as follows: tomcat-users user name=scotty password=** roles=standard,manager / user name=tomcat

Re: Tomcat Manager App gets funny message

2001-12-07 Thread Steve Howie
Never mind ... I figured it out myself ... Marvellous what you can find if you RTFM :) Sorry folks Scotty - Original Message - From: Steve Howie [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 07, 2001 10:12 AM Subject: Tomcat Manager App gets funny message Running

Re: ONE More Time! why does Tomcat 4 work this way

2001-12-07 Thread David Smith
The mod_webapp material found their might be fairly old. I haven't looked in a while, so I can't say with any certainty. I downloaded source for mod_webapp from the following page: http://nagoya.apache.org/~pier/snapshots/ It has nightly packages complete with all that's needed to build

Re: Setting up a DB

2001-12-07 Thread David Smith
Take a look at this how-to at the jakarta web site: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/jndi-resources-howto.html --David On Friday 07 December 2001 07:50 am, you wrote: Hi All, I'm pretty new at using Tomcat and related Technologies, I have one hope fully small question. Where

RE: Re: Setting up a DB

2001-12-07 Thread Fred Schroomnig
Thanks, this is what I was looking for. Fred David Smith [EMAIL PROTECTED] wrote: Take a look at this how-to at the jakarta web site: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/jndi-resources-howto.html --David On Friday 07 December 2001 07:50 am, you wrote: Hi All, I'm pretty new

vhost

2001-12-07 Thread Daniel Knoll
Hi List, I would like to create vhost with the tomcat like project.domain.de and not domain.de/project I use the tomcat 4.01. which Line must I create in the server.xml to get this configuration ? The DNS-Server is for this configurated. Has Someone an answer ? With best regards Daniel Knoll

Re: mod_jserv.so vs mod_webapp.so

2001-12-07 Thread Chuck Van Buren
I don't think these questions are unreasonable; do you? This should be documented. I wonder who associated with the development of Tomcat would best be able to answer these questions. Have you ever sent issues such as this to the Tomcat Developer list? Do you think this would inappropriate?

RE: mod_jserv.so vs mod_webapp.so

2001-12-07 Thread Brian Adams
thanks, I posted that and got some feedback that may work. The path I am taking now is as follows: get mod_webapp from lastnights build. build it on Windows (PITA). rebuild warp.jar intall on fresh tomcat4/apache1.3.20(ish) pray to freakin god this stuff works correctly! :) -Original

RE: help is needed --- running enhydra application under tomcat 4

2001-12-07 Thread Xin Li
And in my case, the url that I use is http://localhost:8080/Simple/Simple Xin -Original Message- From: Xin Li [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 06, 2001 3:53 PM To: Tomcat Users List Cc: [EMAIL PROTECTED] Subject: help is needed --- running enhydra application under

Not in FAQ: SocketException killing Tomcat 4.0.1...

2001-12-07 Thread Guillaume Mathe
Hi, Here's the setup: - Tomcat 4.0.1, windows 98SE or 2000/Server - Direct servlet access from port 8080 - JDK/JRE 1.3.1 from Sun or JRE 1.3.0 from IBM, tested both - Also compiled with JDK1.4 - Test servlet: a image/jpeg content-type servlet, using Sun's JPEG codec. Using a

Configuring PoolTcpConnectors for many concurrent requests

2001-12-07 Thread Wesley Gamble
All, I am running Tomcat 3.2.3. I have modified my server.xml file to specify some of the sizing parameters on my PoolTcpConnectors, (both the Tomcat listen port and the AJP12 port, used for integration with Web servers) like so: Connector className=org.apache.tomcat.service.PoolTcpConnector

RE: Problem using compiled stylesheets in servlet run from a Tomc at service.

2001-12-07 Thread Lepri, Ennio (AFIS)
I fixed the problem!! It had nothing to do with paths! There is a bug in the way tomcat.exe interprets the heap size parameter. My values are -Xmx256M and -Xms128M but I think there the unit measure is misinterpreted! So I tried JavaService

Re: Tomcat as a Devlopment Server

2001-12-07 Thread Frank Lawlor
When you make changes under WEB-INF/classes you should use the manager app to restart your application. See the manager app documentation in the 4.x distribution (very easy to use). Frank Lawlor Athens Group, Inc. (512) 345-0600 x151 Athens Group, an employee-owned consulting firm integrating

Re: Important : Typical Problem

2001-12-07 Thread Frank Lawlor
I'm not sure I understand you post, but you could be having a problem with the browser caching. Flush the browser cache, set the browser options to always check for a new page, etc. Frank Lawlor Athens Group, Inc. (512) 345-0600 x151 Athens Group, an employee-owned consulting firm integrating

tomcat standalone wbe server with multiple workers

2001-12-07 Thread aTom
Hi! I've read through a large amount of information regarding multiple workers with Apache as a web server. However, I couldn't find any info related to other setups. For example what I need would be the following: A Tomcat to handle all the HTTP requests for two virtual hosts and two workers

RE: RMI/JNDI problem w/tomcat 3.3

2001-12-07 Thread Mike Comb
Yes, I know it ignores the CLASSPATH. I tried puting jndi.properties in my webapps classes directory as well as modifying tomcat.sh so it uses the system CLASSPATH. Neither had any effect. I am not getting any error, RMI just never starts up. Has anybody gotten this to work with tc3.3?

dropped connection w/IIS 5.0, Tomcat 3.2.4

2001-12-07 Thread Mark Manca
Hi, Here is my problem. I have IIS 5.0 running in Windows 2000 Server, Service Pack 1, w/the Code Red hotfix applied. isapi_redirect.dll is configured to direct .jsp servlet requests through to Tomcat 3.2.4. What I am seeing is that jsp pages do not seem to display correctly in Netscape

jikes for JSP compilation in 3.2.x

2001-12-07 Thread Todd Aceman
Hello. I'm looking for information on how to setup the web.xml file to use Jikes in tomcat 3.2.x for JSP compilation. I saw a message from Larry Issacs in the archive that said: The conf/web.xml is no longer read by Tomcat 3.2.3. You will need to include those lines in the

Re: Character Encoding problems

2001-12-07 Thread Nikola Milutinovic
Ivo Panacek wrote: Hmmm, since I'm in a JSP page and not Servlet, this should be done automagically. When I run Jasper on the test.jsp file, this is what I Aha. I use JSP only too and it works for me. My configuration is: RedHat 7.1 + Apache + jdk 1.3 (blackdown) + Tomcat 4.0.1 +

Unable to start tomcat 4

2001-12-07 Thread Emil Diego
Hello all, I have installed Tomcat 4.0.1 onto a Linux box. I am having trouble getting it started. When i type tomcat4 start, I get the following response. Using CLASSPATH:/var/tomcat4/bin/.bootstrap.jar Using CATALINA_BASE:/var/tomcat4 Using CATALINA_HOME:/var/tomcat4

Re: Unable to start tomcat 4

2001-12-07 Thread Craig R. McClanahan
Among other things, Tomcat 4 requires a Java2 (JDK 1.2 or later) platform. It won't run on 1.1.8. More details about what might be wrong can be found in the log files (for you, they would be in /var/tomcat4/logs). Craig McClanahan On Fri, 7 Dec 2001, Emil Diego wrote: Date: Fri, 07 Dec 2001

Re: vhost

2001-12-07 Thread Craig R. McClanahan
On Fri, 7 Dec 2001, Daniel Knoll wrote: Date: Fri, 7 Dec 2001 12:51:53 +0100 From: Daniel Knoll [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: vhost Hi Newsgroup, I would like to create vhost with the tomcat like

Re: javax.naming.NamingException

2001-12-07 Thread Craig R. McClanahan
Tomcat by itself does not support EJBs. Craig McClanahan On Thu, 6 Dec 2001, Ginger Huangfu wrote: Date: Thu, 6 Dec 2001 22:54:46 -0800 (PST) From: Ginger Huangfu [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: javax.naming.NamingException

Re: Unable to start tomcat 4

2001-12-07 Thread Jeff Kilbride
I don't think Tomcat 4 will run with jdk1.1.8. Try upgrading to jdk1.2 or later. --jeff - Original Message - From: Emil Diego [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 07, 2001 11:29 AM Subject: Unable to start tomcat 4 Hello all, I have installed Tomcat

RE: jikes for JSP compilation in 3.2.x

2001-12-07 Thread Larry Isaacs
All of the hard coded web.xml defaults can overridden by configuration in a WEB-INF/web.xml. The hard coded defaults include setting up the Jasper's JspServlet as the jsp servlet mapped to *.jsp, like what you see at the end of the doc/faq document. You are allowed to override this as well as

using SSL_SESSION_ID for session tracking, anyone done it?

2001-12-07 Thread Joel Roth-Nater
My idea is to let Apache handle SSL traffic, but pass the SSL_SESSION_ID through mod_webapp to Tomcat. Tomcat could then use it to track its sessions without cookies or URL-rewriting. I've been all over the mailing-lists, source code and doc to no avail, yet the J2EE spec mandates SSL as one

Re: Unable to start tomcat 4

2001-12-07 Thread Nirmal Rajarathnam
I think tomcat 4.x requires Java 1.2 or later. Emil Diego wrote: Hello all, I have installed Tomcat 4.0.1 onto a Linux box. I am having trouble getting it started. When i type tomcat4 start, I get the following response. Using CLASSPATH:/var/tomcat4/bin/.bootstrap.jar Using

Who knows about org.apache.jsp.Environment

2001-12-07 Thread Xinwei Cheng
My system is java 2 sdk1.3.1_01 + tomcat 4.0.1 on windows 2k. I ran an jsp application and got the following error page. Anybody can help? thanks. (advert_java is the application I was trying to run) = Apache

Modifying classpath for System Class Loader

2001-12-07 Thread Karthi Ulaganathan
For my servlet application I have to use some previously devloped code, that reads property files by using ClassLoader.getSystemResourceAsStream, which can not be changed. Since I have only bootstrap.jar in my classpath, the getSystemResource.. always returns null. So I modifed CLASSPATH in

Re: Modifying classpath for System Class Loader

2001-12-07 Thread Craig R. McClanahan
On Fri, 7 Dec 2001, Karthi Ulaganathan wrote: Date: Fri, 7 Dec 2001 12:26:19 -0700 From: Karthi Ulaganathan [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Modifying classpath for System Class Loader For my servlet

Tomcat/Poolman/JNDI (was RMI/JNDI problem w/tomcat 3.3)

2001-12-07 Thread Mike Comb
OK, let me make this simpler since I have only received one response. Has anybody gotten poolman 2.04 to work with tomcat 3.3 using JNDI? How? Thanks, -Mike --On Friday, December 7, 2001 10:08 AM -0800 Mike Comb [EMAIL PROTECTED] wrote: Yes, I know it ignores the CLASSPATH. I tried

Unable to start tomcat 4

2001-12-07 Thread Emil Diego
Thanx for all the responses about my problem. I am still getting some errors though. As suggested I update to the Java 1.2.2 SDK. I installed it successfully. I am still receiving a problem when trying to start tomcat 4. I have attached the catalina.out error log. It reports the

RE: Unable to start tomcat 4

2001-12-07 Thread Brian Adams
I got the same error then I notice I had java 1.2 running. I switched to 1.3.1 and all fixed. :) -Original Message- From: Emil Diego [mailto:[EMAIL PROTECTED]] Sent: Friday, December 07, 2001 2:54 PM To: [EMAIL PROTECTED] Subject: Unable to start tomcat 4 Thanx for all the

Re: AW: AW: security issue: tomcat on port 80

2001-12-07 Thread Dr. Evil
The past 12 years I worked constantly for companies that had one or more unix servers and always only a small number of users had an admin=20 account, all other had 'normal' user accounts. Anyway, can someone explain to me the security benefit of restricting bind 1024 to uid 0? At this

IIS Ajp13 error

2001-12-07 Thread Sobeck, James (ISS Atlanta)
hello all, I have IIS 5.0 integrated with Tomcat 4.01 and everything seems to be working fine except that i get this error in the Tomcat console: [Ajp13] bad read: -103 This happens every time I access a page through IIS. it doesn't seem to effect anything, but i want to make sure. anyone else

Re: Ang: Re: Calendar Boject behaves strange

2001-12-07 Thread August Detlefsen
I would be interested to know why as well. Maybe try adding System.out.println()'s to your original code to show the state of the Calendar object as you roll it? BTW: Does anyone know where System.out's go in Tomcat 4? Are they logged somewhere? In general, it is better to use the object's

Re: Unable to include *.sum files (Again)

2001-12-07 Thread August Detlefsen
I am totally guessing, but maybe you have to define a MIME type for .sum files in your web.xml (and perhaps also where Apache configures MIME types?)? HTH, -August --- Kusel, Jonathan J [EMAIL PROTECTED] wrote: Hi all, I've mailed the follwoing to the tomcat users group but nobody has

RE: ONE More Time! why does Tomcat 4 work this way

2001-12-07 Thread Brian Adams
OKay, I left my webapp config in and added jk_mod. jk_mod works like a champ! I will press on with this and watch webapp to see if it dies or lives. Thanks for the email attachment that worked well. B -Original Message- From: Lauer, Oliver [mailto:[EMAIL PROTECTED]] Sent: Friday,

Re: Tomcat/Poolman/JNDI (was RMI/JNDI problem w/tomcat 3.3)

2001-12-07 Thread Mike Comb
Sorry to keep replying to myself, but I have confirmed that this problem happens with tomcat 3.3 and the latest 3.3.1 development build. Both 3.2.3 and 3.2.4 work as expected. I am getting rather frustrated here, I have the semi-common problem where tomcat 3.2.3's CPU load jumps to nearly

Re: Unable to include *.sum files (Again)

2001-12-07 Thread Jeff Kilbride
Nope. I tried it with *.doc files, too, and it still doesn't work. *.doc is defined in web.xml. Besides, it doesn't really make sense for MIME types to affect included files, does it? --jeff - Original Message - From: August Detlefsen [EMAIL PROTECTED] To: Tomcat Users List [EMAIL

Re: Unable to include *.sum files (Again)

2001-12-07 Thread Micael Padraig Og mac Grene
At 01:31 PM 12/7/01 -0800, you wrote: Nope. I tried it with *.doc files, too, and it still doesn't work. *.doc is defined in web.xml. Besides, it doesn't really make sense for MIME types to affect included files, does it? --jeff I may be out to lunch here, Jeff, but it seems to me that it

Re: Unable to include *.sum files (Again)

2001-12-07 Thread August Detlefsen
It might, if somewhere in the code of the jsp:include tag it specifies to only include a file if it is of a relevant mime type, say JSP, text/xyz, or image/abc. This would prevent the server from sending out potentially damaging stuff with the include tag, like .java or .exe files. Again, I

Re: Unable to include *.sum files (Again)

2001-12-07 Thread Jeff Kilbride
Hi Micael, Let's make sure we're talking about the same thing. If I include a file like: jsp:include page=./testTxt.sum flush=true / Why does it matter what the file extension of the included file is? Isn't the container just supposed to open the file and output it's contents at that

Resources

2001-12-07 Thread Chris Williamson
Is there a way to load an object into Tomcat, have it initialize automatically, then sit back and process requests. For example you could do this using an MBean in JBoss. I am looking for a similar solution using Tomcat. I can load a resource but it creates a new object everytime I try to look

What happened to Session.setAttribute in Tomcat 4.0.1???

2001-12-07 Thread Richard S. Huntrods
I have servlet code that worked perfectly this morning on Tomcat 4.0.0. It uses the Session to store and retreive some data thusly: public void putSession(HttpServletRequest request) { if(request != null) { HttpSession session = request.getSession(true); if(session != null) {

Tomcat Compilation and Installation SSL Errors

2001-12-07 Thread Juan Casero
Hi - Having read the letter that explains how the jakarta developers feel about misinformed losers posting easy questions to the list I went ahead and plowed through the process of compiling jakarta on a RedHat 7.1 Linux box all by myself. The build has failed and I am now stumped. Maybe

building mod_webapp for Apache 2 - missing lwebapp

2001-12-07 Thread Pat Lewis
hi. I've been trying to build mod_webapp for Apache2/Tomcat4 (on a Red Hat Linux 7.1) with little success. I've used the source files from both http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.1/src/ http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.1/src/ and

Re: Resources

2001-12-07 Thread Craig R. McClanahan
On Fri, 7 Dec 2001, Chris Williamson wrote: Date: Fri, 7 Dec 2001 16:19:02 -0600 From: Chris Williamson [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users Group [EMAIL PROTECTED] Subject: Resources Is there a way to load an object into Tomcat, have it

Re: What happened to Session.setAttribute in Tomcat 4.0.1???

2001-12-07 Thread Craig R. McClanahan
Sounds like whatever process you used to install 4.0.1 corrupted things. Did you try to install 4.0.1 directly on top of your 4.0 install? If so, this is *always* a risky thing to do. You're much better off doing a clean install of the new version, and then copying in your application stuff.

Session tracking across virtual hosts?

2001-12-07 Thread Neil Aggarwal
Hello: I am developing a web application that requires session tracking. Because we are using a virtual host with a shared SSL certificate, we need to track sessions using two different hosts. For example, we need to use URLs like: http://www.virtdomain.com/appName/page.jsp and

Does Tomcat support Server Push?

2001-12-07 Thread Bill Taylor
A content type of multipart/x-mixed-replace;boundary=End\n \n --End\n Content type: text/html\n document --End\n \n Supposedly lets the server push a new page image to the client at will. I have tried to do this with Tomcat by setting the content type and sending successive pages in a loop,

Re: javax.naming.NamingException

2001-12-07 Thread Ginger Huangfu
Hi, Thanks for the comments, I am using Inprise Application Server as EJB container, it works in Tomcat 3.2, I am trying upgrade to tomcat4.0, I don't why I can not get EJB home. Thanks ! Ginger From: Craig R. McClanahan Subject: Re: javax.naming.NamingException Date: Fri, 7 Dec 2001

Tomcat security

2001-12-07 Thread Edmund
hi, Im building an email application using jsp. The problem im facing is that if an email sent to the user has a jsp file as attachment, Tomcat is interpreting it when the user clicks on the attachment. This is a big security risk as anyone can see. The question is, Is there any way to

Re: Unable to include *.sum files (Again)

2001-12-07 Thread Jeff Kilbride
If it does, then it's violating the spec. The spec doesn't specify any extensions that can or cannot be included. It just says it has to be a String that is a relative URL. The string ./myText.foo satisfies that and the file myText.foo pulls up correctly in my browser with the following content:

  1   2   >