Concurrent VMs accessing the one Connection Pool

2001-05-30 Thread George Shafik
Hi All,   Has anyone implemented a connection pool using more than one VM machine (Tomcat) or put it another way, has anyone been able to get concurrent servlet engines (Tomcat) accessing the one common connection pool ?   Any examples using Apache with multiple versions of Tomcat running "i

RE: struts in tomcat 3.3-m3

2001-05-30 Thread Ignacio J. Ortega
you already has one inside the TOMCAT_HOME%/lib/container .. the files jaxp.jar + parser.jar...copy this files to your apps web-inf/lib dir... or use xerces < http://xml.apache.org/xerces-j/index.html > Saludos , Ignacio J. Ortega > -Mensaje original- > De: Claudia Pietsch [mailto:[EMA

Re: Free MS SQL JDBC driver??

2001-05-30 Thread Jeff Trent
I've had a lot of success with free tds (see http://www.freetds.org). It's a type 3 driver however. - Original Message - From: "bryan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 31, 2001 12:10 AM Subject: Free MS SQL JDBC driver?? > Hello all, > > Does anybody kno

mod_jk causing httpd blowout??

2001-05-30 Thread Marcus Dillury
Hello, We have a production machine, running RH 7 and apache-1.3.14-3. We have recently upgraded the jsp server from Jrun 2.3 to tomcat-3.2.2-beta3.1. When we use the mod_jk/ajp13 connector in apache to talk to tomcat we experince huge load averages > 30, and http CPU uses > 40%. The set up i

RE: Errorpage exception?

2001-05-30 Thread Pernica, Jan
JasperExecption is descendant of the ServletException We following code to display Root Cause: ServletError: <%= exception.getMessage() %> <% Throwable e = exception; while (e instanc

Free MS SQL JDBC driver??

2001-05-30 Thread bryan
Hello all, Does anybody know if there is free MS SQL 7.0/ 2000 JDBC (Type 4) driver? Thanks Bryan

Speaking of JDBC Datasource...

2001-05-30 Thread Curtis Spencer
Does this have connection pooling built in?   What is faster to use a DataSource model or to hard code the JDBC using a connection pool hand coded?   Thanks, Curtis

RE: Problems with isapi_redirect.dll

2001-05-30 Thread Aaron Nance
Nope, the ajp12 port is set to 8007 in both files. I'd have to learn more about the ajp12 protocol, but it looks like it is opening the next available socket to do it's communication and for whatever reason, my machine won't let it. I've tried this on a couple of machines here at work (one NT

JNDI JDBC DataSource

2001-05-30 Thread Ben Sifuentes
Does Tomcat 3.2.1 support setting a JDBC DataSource I know that I've seen messages about Tomcat 4.0 supporting it? If so how do I go about setting this up Tomcat 3.2.1? -Ben

RE: response.sendRedirect vs. requestDispatcher.forward

2001-05-30 Thread Martin van den Bemt
If you webserver is serving in /usr/local/apache/htdocs, you are redirecting to /usr/local/apache/htdocs/login.jsp, which is handled in this example by apache, who doesn't know anything about jsp files. (that's why you got tomcat in the first place...) Mvgr, Martin > -Original Message- >

RE: response.sendRedirect vs. requestDispatcher.forward

2001-05-30 Thread Brandon Cruz
Has anyone figured out why response.sendRedirect("/login.jsp") will not work when using apache-tomcat with mod_jk? It gets all screwed up and prints a bunch of header information out to the page...is there a way around it besides using javascript to redirect the page? Brandon Cruz -Original

help me!

2001-05-30 Thread Vinicio Llumiquinga
Venkatesh Sangam wrote: > Hi, > I am using Tomcat with Apache .. > I have a java Program which generates 10 requests per second > this Java Program connects to the Servlet on the Tomcat server > the dealy in the execution of the Servlet is 1000ms > > I have set the max No of requests the Apache s

Errorpage exception?

2001-05-30 Thread Edwin Martin
I've created an JSP errorPage and now I want to know which exception has been thrown. On the errorPage, exception.getClass() only gives "class org.apache.jasper.JasperException" I want the "Root cause" exception (as seen without errorPage). Fortunately, in the javax.servlet API, I saw the getRo

problems with tomcat

2001-05-30 Thread Derick Siu
Hello i just recently started using the tomcat jsp server from testing the server it can load up html and java applet pages properly except for jsp pages, everytime i try to do so i get a error 500 page and i'm not sure how to correct that can some one please help me thank you Derick Siu

Help Needed Please

2001-05-30 Thread Venkatesh Sangam
Hi, I am using Tomcat with Apache .. I have a java Program which generates 10 requests per second this Java Program connects to the Servlet on the Tomcat server the dealy in the execution of the Servlet is 1000ms I have set the max No of requests the Apache server can handle at once is 5.(for te

RE: struts in tomcat 3.3-m3

2001-05-30 Thread Claudia Pietsch
I always have this problem. I'd put the parser.xml in the %TOMCAT_HOME/lib dir. I have the same failure. Thanks Claudia At 23:43 30.05.2001 +0200, you wrote: >Tomcat 3.3 does not put anything on the webapp's classpathin >particular prior Tomcat 3.3 there was a XMLParser in the classpath of

RE: struts in tomcat 3.3-m3

2001-05-30 Thread Claudia Pietsch
Where I can get this Parser? Claudia At 23:43 30.05.2001 +0200, you wrote: >Tomcat 3.3 does not put anything on the webapp's classpathin >particular prior Tomcat 3.3 there was a XMLParser in the classpath of >the executed webapps.. > >To solve this issue you need to put a XMLparser in the c

installer

2001-05-30 Thread Bernd Martin
i know its mostly just a file copy process, but does anyone have an installer for tomcat? i want to prevent from setting paths and all that stuff. thanks for answers.

urgent

2001-05-30 Thread Bilal
I am currently caught up in a dilemma , for some reason i was using 3.1 version of tomcat and my web app , which was basically a jsp and simple bean oriented was working fine but i had to shift to 3.2 but know nothing is working , i am getting strange errors like "can't write jsp etc " plus other

RE: Tomcat in a Hosted Environment

2001-05-30 Thread Martin van den Bemt
Probably not a solution for you, but giving it anyway : Run for everyone a seperate tomcat on a different portnumber (we use this for our developers..). The urls already look horrible, so the port number shouldn't be an issue. The question is if you want a huge range of portnumbers open (we have

RE: struts in tomcat 3.3-m3

2001-05-30 Thread Ignacio J. Ortega
Tomcat 3.3 does not put anything on the webapp's classpathin particular prior Tomcat 3.3 there was a XMLParser in the classpath of the executed webapps.. To solve this issue you need to put a XMLparser in the classpath of your webapp there are to 2 ways to achieve that.. * in the WEB-ibf/li

Does Tomcat3.2 support http/1.1?

2001-05-30 Thread Jason Pollack
Hello, I've been trying to track down a curious browser caching problem, and discovered that Tomcat3.2.2 is sending back its responses as http/1.0. Is there a way to configure it to support the http/1.1 protocol? Thanks, -Jason-

Build Fails - Have you seen this one?

2001-05-30 Thread Wright, Steve
To All I'm trying to build tomcat and have incountered the following problem. My system is as follows: * Redhat 7.0 * Linux Kernal 2.2.16-22 * tomcat 3.2.1 * ant 1.3 * jdk1.3.1 * jakarta-servletapi-3.2 Thanks in advance. Buildfile: build.xml prepare: [c

RE: Servlets and relative paths

2001-05-30 Thread Martin van den Bemt
Just use a config file to point to the files / directories you want to load. You can put the file location of the config file in the web.xml. Mvgr, Martin > -Original Message- > From: Ronald G. Louzon [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 30, 2001 2:41 PM > To: '[EMAIL PROTE

Re: Ajp12 vs Ajp13

2001-05-30 Thread Jim Jagielski
Scratching an itch... I've heard a number of "resistant movements" in wider TC acceptance due to the fact that the shutdown procedure is as open as it is, even using the 'inet' hack to ensure a local command. Tim O'Neil wrote: > > At 02:19 PM 5/30/2001 -0400, Jim Jagielski wrote: > >I'm consider

Tomcat and Beans

2001-05-30 Thread Jerry Villamizar
Can i have access to any Beans (installed in my system) trhough my .JSP? Thanks Jerry - Original Message - From: "William Kaufman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 30, 2001 4:41 PM Subject: RE: servlet error.. > > The AWT classes need an x-server to work

server.xml

2001-05-30 Thread Jerry Villamizar
Guys. Can i have outside the web root the server configuration file server.xml ? because it could be readable for the external user if i put it below the \WEB-INF dir. Thanks in Advance Jerry - Original Message - From: "tomcat" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesda

RE: Dynamically reloading a web.xml

2001-05-30 Thread Martin van den Bemt
You can in tomcat 4, not in tomcat 3. Mvgr, Martin > -Original Message- > From: Jeff Trent [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 30, 2001 9:00 AM > To: [EMAIL PROTECTED] > Subject: Dynamically reloading a web.xml > > > If I have webapp named "a" & "b", is it possible to: >

RE: servlet error..

2001-05-30 Thread William Kaufman
> The AWT classes need an x-server to work with images. Worse yet, the server has to be unlocked: you can't connect to a locked server. -- Bill K. > -Original Message- > From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] > Sent:

RE: Can't add a context to Tomcat 3.3

2001-05-30 Thread Brett Knights
Sh*t!!! Thanks very much. > -Original Message- > From: Boris Niyazov [mailto:[EMAIL PROTECTED]] > > >I put SnoopServlet.class in webapps/reports/classes > > > > It should be in webapps/reports/WEB-INF/classes >

RE: How To Get The Initial Username & Ping of localhos:8080/mamager?Thanks In Advanced!

2001-05-30 Thread Martin van den Bemt
I don't if I understand you correctly, but I think you want to login when you go to the manager in tomcat 4. Add eg. this line to TOMCAT_HOME/conf/tomcat-users.xml restart tomcat and you can login... Replace the username and password for something more appropiate.. Mvgr, Martin -Original M

Tomcat incorrectly reporting results of request.getRealPath()...

2001-05-30 Thread Jeff Brown
Here's the issue: I'm running Tomcat 3.2.2, stand-alone, on Redhat 7.1 with JDK1.3.1. I have commented out (so it doesn't add my context twice), and I have the following Context manually defined: ...and all of my JSP files reside under "/usr/local/tomcat/webapps/testDir/testApps". I don't

AW: servlet error..

2001-05-30 Thread Ralph Einfeldt
The AWT classes need an x-server to work with images. Can it be that there isn't one running, when this error happens ? > -Ursprüngliche Nachricht- > Von: Krishna Kishore Thotakura [mailto:[EMAIL PROTECTED]] > Gesendet: Mittwoch, 30. Mai 2001 01:05 > An: [EMAIL PROTECTED] > Betreff: serv

AW: Session gone after 2 forwards

2001-05-30 Thread Ralph Einfeldt
The second (and less important) symptom of your problem is quite easy to understand. After the reload all servlets reuse the session of the last servlet from the previous load, unless the session was terminated by a timeout. (See the stripped version of your mail below) I don't have a solutio

AW: Who Can Provide Me org.hsql.jdbcDriver ?Thanks!

2001-05-30 Thread Ralph Einfeldt
HSQL has moved to http://hsqldb.sourceforge.net/ -Urspr¨¹ngliche Nachricht- Von: Rock Luiss [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 30. Mai 2001 08:29 An: [EMAIL PROTECTED] Betreff: Who Can Provide Me org.hsql.jdbcDriver ?Thanks! Who Can Provide Me org.hsql.jdbcDriver ?Thanks In

RE: FATAL: java.netBindException: Address in use: JVM_Bind

2001-05-30 Thread Jack Li
Yes, you are right. The server had a dell3wc services running. Once I stoped that service, tomcat no longer has error message. thanks, Jack -Original Message- From: Terje Kristensen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 30, 2001 3:20 AM To: '[EMAIL PROTECTED]' Subject: RE: FATA

struts in tomcat 3.3-m3

2001-05-30 Thread Steve Salkin
Title: struts in tomcat 3.3-m3 Hi- Has anyone (else) had trouble deploying a struts application on tomcat-3.3-m3 that works fine under 3.2.2? I (and several people here) are experiencing oddness when trying to do this. It doesn't seem to be particular to our app either, since the struts-exam

Re: Can't add a context to Tomcat 3.3

2001-05-30 Thread Boris Niyazov
>I put SnoopServlet.class in webapps/reports/classes > It should be in webapps/reports/WEB-INF/classes hth * * Boris NiyazovPh: 212-854-4094 Fax: 212-854-1749 * * Systems Manager Email: [EMAIL PR

RE: JDBC/ODBC: Technological choice

2001-05-30 Thread Jann VanOver
Yes, not only would the alternative syntax NOT fix the problem, but it could seriously impact your performance. I recently analyzed a JDBC application for performance problems (using JProbe) and found that 2/3 of my time was being spent by the driver looking up my column number with the name. A

RE: What is the value of auto-assigning beans?

2001-05-30 Thread Jann VanOver
You could perhaps solve this with some Javascript tricks. On the page with the forms, check the fields before submitting and set some value in a hidden field to pass it on to your bean. I do this with check boxes because if they're not checked, they don't send form data, yet I wanted to capture

RE: Problems with isapi_redirect.dll

2001-05-30 Thread Randy Layman
If I had to guess, I would say that Tomcat is not listening on the correct port (the jk_open_socket fails). I would check that you have AJP12 configured in your server.xml file and that matches the workers.properties file. Randy > -Original Message- > From: Aaron Nance

Can't add a context to Tomcat 3.3

2001-05-30 Thread Brett Knights
I have Tomcat 3.3m3 installed on Win98 with Apache 1.3.20 The example webapp works fine. The admin webapp works fine. I can add servlet mappings to the root and that works ok. I cannot figure out how to add my own context and have it process a servlet Say I want to add a context called reports

RE: IIS with Tomcat 3.2.1 on Windows 2000

2001-05-30 Thread Jann VanOver
You didn't mention that you'd defined the virtual directory "/jakarta" to IIS. Did you do that? -Original Message- From: LUN [mailto:[EMAIL PROTECTED]] Sent: Sunday, May 27, 2001 4:07 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: IIS with Tomcat 3.2.1 on Windows 2000 Hi,

Re: server.xml DTD

2001-05-30 Thread Thom Park
That looks like a very old 3.1/ early 3.2 era tomcat config DTD. again, there is no formal DTD for server.xml and this one certainly isn't up-to-date. -Thom Jann VanOver wrote: > Here's the DTD that I found in my tomcat\conf directory. I'm not sure how > it got there. > > > > > adminP

RE: Problems with isapi_redirect.dll

2001-05-30 Thread Aaron Nance
I won't send the entire registry, but here is the Apache key: [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\1.0] "extension_uri"="/jakarta/isapi_redirect.dll" "log_file"="D:\\jakarta-tomcat-3.2.2\\logs\\isapi.log" "log_level"="debug" "worker_file"="D:\\jakarta-t

Trouble with posting

2001-05-30 Thread Michael Misovec
I have the following error when I post to a servlet. Also the shtml file is only displayed in source from my web server. I saving the shtml as html and I get the following error. (JBuilder4 is my IDE) Can anyone offer advise? Error: 404 Location: /servlet/LoginServlet File Not Found /servlet/L

Re: Ajp12 vs Ajp13

2001-05-30 Thread Tim O'Neil
At 02:19 PM 5/30/2001 -0400, Jim Jagielski wrote: >I'm considering a patch to allow ajp13 to handle the wind-down >as well. Security-wise, it's much better for ajp13 to be able to >do it, but StopTomcat.java has ajp12 "hardwired" So Jim- in 4.0 and beyond setting p13 to that task wasn't in the "m

Re: Tomcat and containers

2001-05-30 Thread Guido Medina
All your questions can be answer in http://java.sun.com and in http://jakarta.apache.org/tomcat   Guido.   I can answer you but right now I'm hurry...sorry - Original Message - From: Betina Kock To: [EMAIL PROTECTED] Sent: Wednesday, May 30, 2001 1:47 PM Subj

Re: Source code of Tomcat

2001-05-30 Thread Scott Gilpin
There is a src directory in the tomcat installation - at the same level as lib, bin, conf, webapps, etc. If you don't have this, you'll have to get the source from the website. -scott Pablo Trujillo wrote: > Where I found the source code of the class > org.apache.tomcat.session.StandardManager

Re: Apache -> Tomcat Examples not working

2001-05-30 Thread Michael Misovec
I have the following error when I post to a servlet. Also the shtml file is only displayed in source from my web server. I saving the shtml as html and I get the following error. (JBuilder4 is my IDE) Can anyone offer advise? Thank you, Mike Misovec 757-686-2440 Error: 404 Location: /servlet/L

RE: What is the value of auto-assigning beans?

2001-05-30 Thread greyson . smith
Yes, I considered that, but I need the values to persist. The only data in the bean that needs to change in the bean is the data that corresponds to the form fields. Perhaps the answer is to have several beans that expire every request, but if you need to persist the data, you still end up cop

RE: server.xml DTD

2001-05-30 Thread Jann VanOver
Here's the DTD that I found in my tomcat\conf directory. I'm not sure how it got there. -Original Message- From: Paulo J S Pereira [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 29, 2001 7:41 AM To: [EMAIL PROTECTED] Subject: server.xml DTD Hi; I am looking for

RE: Tomcat/IIS Installation

2001-05-30 Thread Randy Layman
Does this file contain the mappings for your new contexts? I've never used the automatically generated file, just the one that I edited myself. Remember, every time you start IIS, this file will be overwritten. Randy > -Original Message- > From: [EMAIL PROTECTED] [mail

RE: Source code of Tomcat

2001-05-30 Thread Randy Layman
>From the Jakarta website, select the Source Code on the left side and then select the version of Tomcat that you want to view the source for. Amazing isn't it? An open source project with the source on its web page. Randy > -Original Message- > From: Pablo Trujillo [mailto:[E

OFF- TOPIC: Building web forms automatically

2001-05-30 Thread Paul Kofon
Hi everyone, I have a web-based application that depends heavily on forms. Sometimes, these forms have to be custom built according to the need at hand. I've thought about using XML/XSLT to generate and transform the forms for display. I'm familiar with the Xerces parser and can use to parse X

Re: Why is authorization=null? Esp. to Twylite

2001-05-30 Thread TWR - Hauptuser
Hi, thank you for the information about authorization header, form based login and POST method. So the authorization in the HTTP header isn't filled. However I ask myself from where the getRemoteUser and getAuthtype - Methode get the information because these methods do work and I get the corr

Apache + Tomcat with mod_jk and Virtual Hosts

2001-05-30 Thread Adrian Almenar
does anybody have a configuration in this way: With Apache and tomcat working with mod_jk: Its possible to map every virtual host (On Apache) a a different webapp on tomcat ??? I.E. Apache Virtual Host: 123.myhost.com Tomcat Webbapp : tomcat33\webapps\123 Apache Virtual Host: 789.myhost.com T

Re: What is the value of auto-assigning beans?

2001-05-30 Thread Boris Niyazov
1. setProperty in jsp does not have any effect if the value is empty string. 2. you use scope session So when set A it stores it in the session bean, next time when you set B with no A, B gets set in the bean and A remains the same (session scope). hth

RE: Servlets and relative paths

2001-05-30 Thread Chris McNeilly
No, my problem is that I can use this method to read the xsl file just fine. It's the includes inside the xsl file that aren't working. For example, inside the xsl file (which I read into the servlet using your pointer from the earlier email) there is the line and I get an error saying that i

Re: Ajp12 vs Ajp13

2001-05-30 Thread Jim Jagielski
Tim O'Neil wrote: > > At 04:37 PM 5/30/2001 +0100, you wrote: > >I'm confused. > >When editing the server.xml file to use Ajp13 support > >should I delete the AJP12 support or leave it in? > > > You have to leave ajp12 in because tomcat uses it in its > wind down procedure, at least in 3.x vers

Re: Setting up Virtual Hosts

2001-05-30 Thread Maureen Fisher
Does this work only with ajpv13 and/or Tomcat 3.2? I have tried this config with my setup (Apache 1.3.14, tomcat 3.1, ajpv12, AIX) with no success. We are preparing to move to 3.2. At 03:06 PM 5/24/2001 -0700, Jeff Kilbride wrote: >Yes: > >NameVirtualHost 111.222.333.444 > > > >server.xml: > >

RE: response.sendRedirect vs. requestDispatcher.forward

2001-05-30 Thread A Yang
Hi, Thanks for the help. As it turns out, switching between requestDispath.forward and response.redirect will trip you up because of differences in what they expect as their parameters. RequestDispatch.forward takes a URL that is a RELATIVE path but also requires a leading slash. If you are bri

RE: What is the value of auto-assigning beans?

2001-05-30 Thread Jann VanOver
If you don't want the values to persist, don't put the bean in the "session" scope. Try "page" or "request" and then it will get new values each time. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 30, 2001 9:59 AM To: [EMAIL PROTECTED] Subject

Re: Apache -> Tomcat Examples not working

2001-05-30 Thread pjcrump
Thanks..so the port should be 8081 in Server.xml? I have a question though.. if i do this won't Tomcat be serving up both Static and Dynamic Pages?? I need Apache to serve static pages and tomcat to serve jsp's & servlets?? Thanks -Phillip >Phillip, > >Tomcat uses port 8080 as a default; 8

mod_jk.so-eapi and /struts-example/

2001-05-30 Thread Leander Jedamus
Hi! I use apache 1.3.19, tomcat 3.2.2, mod_jk.so-eapi and struts 1.0b2 Before that I used mod_jserv.so from tomcat and the struts-example works more or less. But as I switched to mod_jk.so, the struts example doesn't work anymore. So it has something to do with mod_jk.so. The behaviour is as fo

How to use Xerces with Tomcat

2001-05-30 Thread Anson To
Hi all, Have you ever come across using xml parser in servlet? If not, sorry please ignore my message. I am trying to parse a XML document from a servlet, which returns a "java.lang.NoClassDefFoundError: org/jdom/JDOMException" on receiving the document from client. Settings: Xerces1.4/JDOM to

Tomcat and containers

2001-05-30 Thread Betina Kock
Hi!   I'm doing an assignment on Java Server Pages, and I have a couple of questions about the Tomcat webserver:   1. Which container (engine) will be running with Tomcat? The JSP container, the servlet container, or both? 2. I'm only using JSP-documents, but does the JSP container handle t

Re: simple Query

2001-05-30 Thread Boris Niyazov
check your http.conf for ServerName directive; make sure the name is dns valid name; hth * * Boris NiyazovPh: 212-854-4094 Fax: 212-854-1749 * * Systems Manager Email: [EMAIL PROTECTED]

Tomcat/IIS Installation

2001-05-30 Thread ernest . a . dicicco
I received the following reply message from Randy Layman in response to my original request for info. I made his suggested updates, but it still doesn't work, in fact now the examples servlet no longer works. I must state, that I used the uriworkermap.properties-auto file as the worker_mount_f

Source code of Tomcat

2001-05-30 Thread Pablo Trujillo
Where I found the source code of the class org.apache.tomcat.session.StandardManager? Thanks for your help - Click here for Free Video!! http://www.gohip.com/free_video/

Re: Internal Server Error

2001-05-30 Thread Boris Niyazov
Is your Login.class is in %TOMCAT_HOME\webapps\web\WEB-INF\classes\VC folder? * * Boris NiyazovPh: 212-854-4094 Fax: 212-854-1749 * * Systems Manager Email: [EMAIL PROTECTED] * * Columb

Source code of Tomcat

2001-05-30 Thread Pablo Trujillo
Where I found the source code of the class org.apache.tomcat.session.StandardManager? Thanks for your help

RE: Virtual Host Context Aliasing

2001-05-30 Thread WEST, Peter
shot in the dark, but have you tried this... the actual domains shouldnt need doing in tomcat if Apache is forwarding them, its already happened. ServletName /servlets/ServletName /servlets/AnotherServletName

RE: JSP and Tomcat containers

2001-05-30 Thread WEST, Peter
1. dunno 2. dunno but remember that JSPs are compiled into servlets and cached so they all end up as servlets eventually. 3. yes change conf/server.xml There are 3 ports listed. One is for tomcat receiving HTTP requests, one is for HTTPS requests (SSL) and one is for communicating with a web ser

What is the value of auto-assigning beans?

2001-05-30 Thread greyson . smith
This question may be asked out of ignorance, but it seems to me that using the tag: to assign values from form fields to the bean is of limited use. Let's assume that there are 2 text fields, A and B on Jsp1.jsp, with B being required. I have some code that checks to make sure B is populated

RE: server.xml DTD

2001-05-30 Thread WEST, Peter
server.xml does not use a DTD on Tomcat 3.2.1 I would guess that you could use web.dtd or make a few slight changes to a copy of it, since server.xml is just a superset of web.xml info. Pete -Original Message- From: Paulo J S Pereira [mailto:[EMAIL PROTECTED]] Sent: 29 May 2001 15:41 To

RE: format of uriworkermap.properties file?

2001-05-30 Thread Donald Ball
On Wed, 30 May 2001, Ignacio J. Ortega wrote: > AFAIK, you need to declare a "foo" context too.. because if you does not > have a "foo" context the redirection should work but Tomcat does not > find "/foo/b.xml" at all.. actually, the only context that tomcat is serving is the ROOT context. my .

Re: RE: Tomcat

2001-05-30 Thread paulanastas
The last time I got that error was when I did not have a "worker_mount_file" entry in the registry. [EMAIL PROTECTED] wrote: > > >     First, I would suggest that you only use plain text email when > responding to the list - many people here don't have HTML enabled mail > readers and you don't

Re: Starting tomcat from a Java Class

2001-05-30 Thread Chris Janicki
This works for me: String[] args = { "-start" }; org.apache.tomcat.startup.Tomcat.main(args); >> Original Message << On 5/30/01, 11:57:59 AM, Joseph Variamparambil <[EMAIL PROTECTED]> wrote regarding Starting tomcat from a Java Class: > hell

Not found request(404) /jakarta/isapi_redirect.dll

2001-05-30 Thread paulanastas
This whole thing was working on Friday. When I rebooted the system on Tuesday I got the Not Found (404) Original request /jakarta/isapi_redirect.dll Not found request /jakarta/isapi_redirect.dll It works in standalone mode and I rechecked the various settings num

Session In TOmcat

2001-05-30 Thread Pablo Trujillo
Hello friends, I need information about how Tomcat assign the numbers of ID for each session. I also need to know where is the Cookie JSessionID stored. I wait you can help me and thank you Pablo P.D.:This is the second time that I send the message, but I don't receive it. Excuse me for the nuis

Re: Apache -> Tomcat Examples not working

2001-05-30 Thread steve gold
Phillip, Tomcat uses port 8080 as a default; 8080 is not, however the default http port. So http://localhost/examples/servlet/HelloWorldExample is actually equivalent to http://localhost:8000/examples/servlet/HelloWorldExample (8000 is the default port for http used by most browsers). Tomcat's

RE: Tomcat

2001-05-30 Thread Randy Layman
First, I would suggest that you only use plain text email when responding to the list - many people here don't have HTML enabled mail readers and you don't want to limit the audience of your question. Second, check all of the registry settings that you made. If you are getting t

Tomcat in a Hosted Environment

2001-05-30 Thread Jeff Trent
I am in the process of making a proposal to my web hosting service to include Tomcat (basically so I can use Struts).  They are an NT shop but are ammenable to suggestions.  Here are basically the requirements:   The directory structure of accounts look something like this:     \home        

AW: setAttribute behaviour when passing null as attribute

2001-05-30 Thread Ralph Einfeldt
The current draft 2.3 says: "If a null value is passed, the effect is the same as calling removeAttribute()." AFAIK this was not specified in the previous versions of the spec 2.2 and earlier. (The API doc 2.2 explicitly disallow null values: "the object to be bound; cannot be null") So t

Re:Problem sun.misc solved - but why is authorization=null???? Please help (urgent!)

2001-05-30 Thread Twylite
Hi >I solved the problem with sun.misc (was an error in directive). But now I >had a strange error. When performing form login via JDBC and trying to >read out AUTHORIZATION Header the string is NULL. Why? Does form login not >write Authorization in HTTP Header? Form-based logon uses a POST met

Re: setAttribute behaviour when passing null as attribute

2001-05-30 Thread anil
I do not think this is posiible. Session attributes are stored in a hashtable. You cannot save null value to hashtable. If you try session.setAttribute("myValue",null); you will get null pointer exception with error 500. I might have missed some thing, but take a look at package org.apache

Tomcat

2001-05-30 Thread Carlos Gallardo C.
Hi !!     I have a problem with Tomcat / IIS 4.0 The arrow in filters ISAPI IIS console is down and have red color. What could do I? I am not understand.     Check the jakarta filter you added and make sure its status shows a green upward-pointing arrow. If not, check the following: Ch

RE: Session in Tomcat

2001-05-30 Thread Randy Layman
About the session numbers: it uses SecureRandom to generate the numbers. More information can be found in Tomcat's source code for org.apache.tomcat.session.StandardManager, the method getNewSession seems to be particularly relevant. About storage of JSessionID: the clients sof

Apache -> Tomcat Examples not working

2001-05-30 Thread pjcrump
I'm running Tomcat 3.2.1 & Apache on Linux and I'm having a problem w/ the examples. They work if I use http://localhost:8080/examples/servlet/HelloWorldExample however if I use http://localhost/examples/servlet/HelloWorldExample I get a 404 (the same w/ the sample JSP pages as well). Since I am

Session in Tomcat

2001-05-30 Thread Pablo Trujillo
Hello friends, I need information about how Tomcat assign the numbers of ID for each session. I also need to know where is the Cookie JSessionID stored. I wait you can help me and thank you Pablo

Starting tomcat from a Java Class

2001-05-30 Thread Joseph Variamparambil
hello, how do i make an instance of the tomcat server and run its ?start? method? Is it possible to do something like this...(just an example...i don't know the real class and method names!): class TestTomcat{ void StartTomcat(){ Tomcat server=new Tomcat(8080);

Re: Ajp12 vs Ajp13

2001-05-30 Thread Tim O'Neil
At 04:37 PM 5/30/2001 +0100, you wrote: >I'm confused. >When editing the server.xml file to use Ajp13 support >should I delete the AJP12 support or leave it in? You have to leave ajp12 in because tomcat uses it in its wind down procedure, at least in 3.x versions. You can run everything else on

authorization=null?? I use JDBC Realm?

2001-05-30 Thread me
Hi Jan, does it really work?? I am using Apache 1.3, Tomcat 3.2.2, Win NT 4.0 SP6, JDBC Realm, the page is under in a frame (the first subpage) and request.getRemoteUser() and request.getAuthType() are working, giving me FORM and USER. But request.getHeader always returns null. I am speechless .

Re: green and native threads

2001-05-30 Thread Tim O'Neil
At 09:44 AM 5/30/2001 +0100, you wrote: >Hi > >I have been searching for a long time for a green threads version of java, >and so far have only found one for v1.2.2 - from the java.sun site. >Does anyone know of a green-threads installation for java v1.3.x? You want green threads? Isn't that wh

Ajp12 vs Ajp13

2001-05-30 Thread Andy C
I'm confused. When editing the server.xml file to use Ajp13 support should I delete the AJP12 support or leave it in? Is there a way to find out which Ajp is running on my server? I.E should my server.xml be:

RE: tomcat process dies out...

2001-05-30 Thread Wouter Boers
Maybe it's because you don't start it with nohup. It's common in unix to kill all process that are initiated the parent if the parent (your shell) ceases to exist (you are logging out). See 'man nohup' Wouter -Original Message- From: Krishna Kishore Thotakura [mailto:[EMAIL PROTECTED]]

RE: Problem sun.misc solved - but why is authorization=null???? Please help (urgent!)

2001-05-30 Thread Pernica, Jan
I have tried it and it works fine. But the page you are requesting must be under Regards Jan On Wednesday, May 30, 2001 4:50 PM, [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] wrote: > Hello, > > I solved the problem with sun.misc (was an error in directive). But now I > had a strange error. When

RE: Tomcat/IIS Installation Problem

2001-05-30 Thread Randy Layman
Your quandary is a mis-configuration. Remove the virtual directories from IIS, add the appropriate entries to uriworkermap.properties, and then restart the IIS process (using the Services Control Panel, or perform a machine restart, not the stop/start buttons in IIS Admin) Randy

Problem sun.misc solved - but why is authorization=null???? Please help (urgent!)

2001-05-30 Thread me
Hello, I solved the problem with sun.misc (was an error in directive). But now I had a strange error. When performing form login via JDBC and trying to read out AUTHORIZATION Header the string is NULL. Why? Does form login not write Authorization in HTTP Header? I do the following: <% String

  1   2   >