Re: http/1.1 pipelined request processing order

2002-12-02 Thread Bill Barker
Michael Yates [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi all, From some testing I have done it appears Tomcat ensures that pipelined requests (HTTP/1.1) are handled in order by only handing off request #2 after request #1 has completely finished

Betr.: FreeBSD 4.7 Apache2.0.43 tomcat 4.1.12 - problem withmod_jk2.so

2002-12-02 Thread Jacco Braat
Build Apache with -DWITH_THREADS option. Is not default on FreeBSD. [EMAIL PROTECTED] 29-11-2002 16:08:19 Hi. I have installed apache2 - no problem. It works fine. I have installed tomcat4.1 from binaries - no problem. This too works fine for standalone. The problem I am having is when I try

Re: JNDI Datasource question

2002-12-02 Thread Ron Smits
Jake, thanks, this is a great answer and answers my question exactly. :) Especially the META-INF/context.xml. was somthing that I must have overlooked Ron On Mon, 2002-12-02 at 11:09, Jacob Kjome wrote: Hi Ron, That is referring to a context configuration file. You *always* need to

Re: HELP!! Tomcat crashes on me!

2002-12-02 Thread Bill Barker
In Tomcat's own (very verbose, but who said cats are quiet :) way, it's saying that there are errors in your Context declarations. In particular, the XML is not well-formed (e.g. your elements aren't properly nested). This is usually caused by forgetting a closing-tag, or writing Tag when you

Retrieving username and password from url??

2002-12-02 Thread Abhishek Srivastava
Hi, Is there a way that I can retrieve the username and password from the url given as below using a servlet. https://username:password@hostname/servletname/servlet Regards, Abhishek -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

Re: Retrieving username and password from url??

2002-12-02 Thread Peng Tuck Kwok
You could use a regular expression to get the items you want or Tokenize the string until you get what you want. There are several regular expression packages that you can use, which is available under the jakarta project or if you are so inclined you can use the one that comes with jdk1.4

RE: Retrieving username and password from url??

2002-12-02 Thread Abhishek Srivastava
I think my question was a little unclear, I mean I'm accessing a servlet from the web using this URL, and on tomcat side, is there a method exposed by Httpservlet or any alternative which returns me the username and password send by the browser like we have the getParameters() to get the

Java.util.zip.ZipException : Error openning Zip File

2002-12-02 Thread Richard Johnstone
Hi When I try and start tomcat I am getting this error. Does anyone know what causes it? Rich The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or

RE: Retrieving username and password from url??

2002-12-02 Thread Reynir Hübner
Hi, Depending on the browser and authentication scheme this will may try to authenticate against tomcat. There for you should be able to do request.getRemoteUser() on (at least) the first request that has the authenticative username:password. request.getRemoteUser() only returns the

RE: How do I access files above and below \web-inf folder?

2002-12-02 Thread Reynir Hübner
Hi... things that come to mind... What you mention as \web-inf is always uppercase WEB-INF (java is case sensitive). The slash should be made with a java.io.File.seperator it's / in unix and \\ in windows. \web-inf will leave you with eb-inf as a single backslash \ is an escape char. Hope it

CoyoteConnector: What means the attribute 'useURIValidationHack'

2002-12-02 Thread Wolfgang Stein
as Catalina 4.1.12 shows in server.xml: ... !-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 -- Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=9080 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10

RE: How do I access files above and below \web-inf folder?

2002-12-02 Thread Mehdi . Nejad
I use the getRealPath, String pathToPropsFile = config.getServletContext().getRealPath (WEB-INF/properties/); use /, as this also works on win platforms, and does not need escaping. You should be able to use a relative going up the tree, in the argument (../foo/bar); cheers, Mehdi -- To

how do Apache2 and Tomcat4 talk ?

2002-12-02 Thread type_o
I have bothc tomcat4 and apache2 on the same computer. I want to configure both to talk not through tcp connections.only processes. can it be done ? __ Get your FREE personalized e-mail at http://www.canada.com -- To unsubscribe, e-mail:

Propogate security

2002-12-02 Thread Charlene Mitchell
Hi all, I'm trying to get a servlet running in Tomcat4.1.12 standalone to contact an Application Server (JBoss3.0.3 /WebLogic 7) - [integrated TomCat is not an option]. I authenticate ok in TomCat against LDAP before I can access the Servlet. The Servlet's JNDI Remote Lookup works (I found out

URL-Rewriting + SSL under Tomcat 4.1.12

2002-12-02 Thread Thilo Krawietz
Hi folks, i've got a problem with the usage of SSL and URL-rewriting together. I am using Tomcat 4.1.12 and whenever i use an SSL-enabled connector under port 443, the method encodeURL() does not append the sessionID any more to the links in the HTML pages. When i instead use a normal http

modifications to web.xml

2002-12-02 Thread sab
Sir, When I want to create an application and call a servlet from html page, what essential modification I have to made to web.xml file? warm regards, Ch. Sasi Bhushan. CGMAERSK INFO. TECH. PVT. LTD., ALEXANDER SQUARE, 1ST FLOOR, SP ROAD, GUINDY, CHENNAI. Ph: 044-2300053 #2602 -- To

Re: modifications to web.xml

2002-12-02 Thread m batsis
I usually give an alias to the servlet and give this alias as the target of the HTML form: servlet servlet-nameMyServlet/servlet-name display-nameMyServlet/display-name servlet-classpackageName.ServletClassName/servlet-class /servlet servlet-mapping

jsessionid and Apache

2002-12-02 Thread Miguel Angel Medina Lopez
Hi all: I'm using Tomcat 3.3.1 and Apache 1.3.x using mod_jdk and JDBCRealm in the authentication method. The problem is that I redirect to a HTML file when the user isn't authenticated and tomcat write the next URL: /registro/clientes.html;jsessionid=r72e6ttq21 Then, when Apache try to

SV: SV: SV: Problems running VeriSign trial sertificate in Tomcat.

2002-12-02 Thread Morten Tollefsen
Hi! I figured it out this weekend, and your sollution is absolute correct! Thanks for helping me! Morten -Opprinnelig melding- Fra: Joseph Stephen [mailto:[EMAIL PROTECTED]] Sendt: 30. november 2002 19:34 Til: Tomcat Users List; [EMAIL PROTECTED] Emne: Re: SV: SV: Problems running

RE: filter jsp:include servletPath?

2002-12-02 Thread Cox, Charlie
no, filters are only applied on the original request. Charlie -Original Message- From: AAron nAAs [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 28, 2002 12:45 PM To: [EMAIL PROTECTED] Subject: Re: filter jsp:include servletPath? Due to the complexity of the question and

RE: error while running servlet undet tomcat in Linux Red Hat

2002-12-02 Thread Shapira, Yoav
Howdy, How many servlet.jar files do you have loaded? ;) You probably have an extra one somewhere, e.g. in your /WEB-INF/lib. You should remove those, and only keep the one that comes with tomcat. Moreover, it looks like your extra servlet.jar file is v2.2 (or maybe older)... Yoav Shapira

RE: how to set server.xml to show all info on Tomcat Server?

2002-12-02 Thread Shapira, Yoav
Hi, Do you mean log more verbosely? You can set debug=99 wherever debug=0 in server.xml and check you logs. You can enable the RequestDumper and AccessLog valves as well. If you mean to expose server.xml to webapps, you probably don't really want to do this ;) So please clarify your question

Help!?! Tomcat Xindice

2002-12-02 Thread Fred O Shea
Hi, Could someone recommended any sources which give a description on how to connect to Xindice (Apaches native XML database) through Tomcat. What modifications do you have to make to the environment settings in Tomcat (web.xml, server.xml etc)? I want to make use of the servlet

RE: multiple execution of a 'load-on-startup'

2002-12-02 Thread Shapira, Yoav
Hi, A couple of things: - Please post your log4j config. If you look in that list, you'll see a lot of why am I getting [n] copies of my logging statements questions. This is because all log4j loggers are additive by default, so if you define n appenders at a level matching your logger, you'll

Exception in R error

2002-12-02 Thread Richard Jackson
What is the cause of this tomcat 3.3.1 dump trace? It occurs on the first request. 2002-12-02 07:02:36 - Ctx() : Exception in R( + /itu/index.jsp + null) - javax. servlet.ServletException at java.lang.Throwable.fillInStackTrace(Native Method) at

Re: Exception in R error

2002-12-02 Thread Tim Funk
Look at your trace: Root cause: java.lang.NullPointerException at ituNews.dbUtil.getDBResults(Compiled Code) at ituNews.content.getCurrentContentTitles(Compiled Code) at itu.index_1._jspService(Compiled Code) You have code which is throwing a NPE. To get lines numbers, run

RE: Tomcat classloads

2002-12-02 Thread Shapira, Yoav
Hi, I am wondering if there is any short-cut into seeing how much memory each webapp in tomcat is taking at runtime ? I know it's possible to wrap the classloader object for webapplications, and make it count the numbers of objects instanciated, aproxiate the memory taken by each object by

RE: Why does Tomcat not set HTTP_Referer?

2002-12-02 Thread Shapira, Yoav
Howdy, Please refer to RFC 2616, section 14.36, for an explanation of the referrer (misspelled) header. It is not set by the server, e.g. tomcat in your case. It is set by the client, probably a browser in your case (but could be a cell phone, mock objects, whatever). There are known bugs in

Re: Exception in R error

2002-12-02 Thread Richard Jackson
Thank you Tim. I have already sent email to the developer of the application. Richard Tim Funk writes: Look at your trace: Root cause: java.lang.NullPointerException at ituNews.dbUtil.getDBResults(Compiled Code) at ituNews.content.getCurrentContentTitles(Compiled Code)

RE: filter jsp:include servletPath?

2002-12-02 Thread AAron nAAs
FYI, through more digging in google groups, I found out that the Java Server spec is vague on this issue. The new Java Server spec is going to explicitly allow two options. The default option will be that only the initial request is filtered. The other option will filter includes and forwards

RE: Retrieving username and password from url??

2002-12-02 Thread Andreas Probst
Hi Reynir, how can you get the Authentication header? As far as I know the only information you can get is the Principal and the username, but not the password, neither clear nor encoded. Andreas On 2 Dec 2002 at 9:14, Reynir Hübner wrote: Hi, Depending on the browser and authentication

Large files corrupted -- possible bug in isapi_redirector2.dll?

2002-12-02 Thread Joakim Ström
Hello, We are trying to use Tomcat 4.1.12 with IIS 5.0. To all appearance the configuration works perfectly. However a serious error sometimes occurrs when we access tomcat through IIS (I have not been able to reproduce this error using tomcat directly without IIS). However, in some cases large

Re: SSL problem

2002-12-02 Thread Gabriel Enriquez Perez
hi, Rodrigo. There are several debug steps that you should follow.. First of all, when you start your tomcat server, is there any error on start process on it? If there are error, then you should first come around the generated error. Probably it can be the default location of the .keystore

RE: Configure IIS + Tomcat 4.1.12

2002-12-02 Thread srinath narasimhan
See my earlier post. I don't know how to get the message id or something. but if you search you should be able to find it. -Original Message- From: Luca Ventura [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 28, 2002 09:29 To: Tomcat Users List Subject: R: Configure IIS + Tomcat

Tomcat Manager won't undeploy

2002-12-02 Thread Mark
I'm using Tomcat 4.1.12 and can't get the manager 'undeploy' command to work. Other mgr commands such as stop, start, remove, list, etc. work, but not undeploy. The application is defined in server.xml with context path=/myapp docBase=myapp and lives under webapps/myapp. Using this manager

Re: Win98/ME - Tomcat not closing on Shutdown

2002-12-02 Thread Chris Weaver
I sent this out earlier but got no response. Can someone possibly point me to the right group if this is the wrong group? I've tried comp.lang.java.programmer, too. Thanks very much for any assistance. Chris This may or may not be the right group so if I'm off I apologize in advance. I've

ajp13 port always 8009 (config does not apply)

2002-12-02 Thread SAXESS - Hussayn Dabbous
Hy; I wanted to change the ajp13 port from 8009 (the default port) to 9010. But i always see, the instance opening on the default port. This is an exerpt of my server.xml: !-- Define a non-SSL Coyote HTTP/1.1 Connector on port 9000 -- Connector className=org.apache.coyote.tomcat4.CoyoteConnector

Tomcat 4.0.3 getResourceAsStream

2002-12-02 Thread Esteban González
Hi! I´ve just moved an old app that we had running using Jserv to tomcat4.0.3 But i have problems with this p = new Properties(); InputStream is = p.getClass().getResourceAsStream(/icard.properties); I keep getting null no matter where i put the icard.properties file. i´ve placed

Help with jsp:includes

2002-12-02 Thread John Trollinger
I have pages that have the posibility of having 1000+ jsp:include statements in them. These pages take long times to load because of all the requests going to the server. Is there a way I can call the classes directly instead of going through a request to the server? Thanks, John -- To

ajp13 port always 8009 (config does not apply)

2002-12-02 Thread SAXESS - Hussayn Dabbous
Hello; I wanted to change the ajp13 port from 8009 (the default port) to 9010. But i always see the instance opening on the default port. This is an exerpt of my server.xml: !-- Define a non-SSL Coyote HTTP/1.1 Connector on port 9000 -- Connector

RE: ajp13 port always 8009 (config does not apply)

2002-12-02 Thread Roberts, Eric
Hussayn, The JK2 properties file contains a directive to port 8009. You need to change this as well! -Original Message- From: SAXESS - Hussayn Dabbous [mailto:[EMAIL PROTECTED]] Sent: Montag, 02. Dezember 2002 16:27 To: [EMAIL PROTECTED] Subject: ajp13 port always 8009 (config does not

RE: ajp13 port always 8009 (config does not apply)

2002-12-02 Thread Kristján Bjarni Guðmundsson
Return Receipt Your RE: ajp13 port always 8009 (config does not apply) document :

Re: Tomcat 4.0.3 getResourceAsStream

2002-12-02 Thread Andreas Probst
Hi Esteban, try p.getClass().getResourceAsStream(/WEB-INF/icard.properties); (inside WEB-INF) or p.getClass().getResourceAsStream(/WEB- INF/classes/icard.properties); (inside classes) or p.getClass().getResourceAsStream(/WEB- INF/lib/icard.properties); (inside lib) If this doesn't work, try

Help with auto-generating Apache config files for mod_jk

2002-12-02 Thread Wendy Smoak
How do I get Tomcat to generate the JkMount lines the in mod_jk.conf file? I have Tomcat generating the Apache config files by including Listener className=org.apache.ajp.tomcat4.config.ApacheConfig modJk=/opt/hpapache2/modules/mod_jk.so / in server.xml. I can't figure out how to

Re: Tomcat 4.0.3 getResourceAsStream

2002-12-02 Thread Esteban González
Thanks for your help andreas. It didn´t work with p.getClass.. i´m trying with getServletContext(). But my idea is to have WEB-INF/conf to place all .properties files. is that possible?... Best regards, Esteban - Original Message - From: Andreas Probst [EMAIL PROTECTED] To: Tomcat

migration from jrun to tomcat

2002-12-02 Thread Shyama Gavulla
Hi All, I am new user to tomcat. I have my application in Jrun. I want to mirate to tomcat . It would be really helpful if anyone can tell me the necessary steps needed for the migration. It would be of great help . shyam -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

Re: Tomcat 4.0.3 getResourceAsStream

2002-12-02 Thread Andreas Probst
Hi Esteban I think if WEB-INF/classes works, any other directory there will work too. Andreas On 2 Dec 2002 at 12:59, Esteban González wrote: Thanks for your help andreas. It didn´t work with p.getClass.. i´m trying with getServletContext(). But my idea is to have WEB-INF/conf to

RE: Help with auto-generating Apache config files for mod_jk

2002-12-02 Thread Turner, John
You need two Listener tags, minimum. One at the Server level in server.xml, and one at each Host level. John -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED]] Sent: Monday, December 02, 2002 10:58 AM To: 'Tomcat Users List' Subject: Help with auto-generating Apache

Re: migration from jrun to tomcat

2002-12-02 Thread rsequeira
Tomcat follows the web app standard. If your applications on JRun are set up in a similar fashion, migration should be a breeze and would probably entail just modifying the Tomcat configuration files (server.xml, web.xml). Read the docs closely and you should be in good shape. A point of concern

Re: Help with jsp:includes

2002-12-02 Thread rsequeira
1000+ includes in a single page isn't a good idea IMHO. And using jsp:include for all 1000+ includes just aggravates the situation. It would be a good idea to minimize the number of includes by maybe clubbing a few together into one file. Also if looking at static includes as opposed to dynamic

tomcat 4.1.12 much slower than Tomcat 4.0.3

2002-12-02 Thread Ron Day
Hi, I have tried re-installing Tomcat 4.1.12 , moving to JDK1.4.1, but: My original post, still happening: This is post. ** I just installed Tomcat 4.1.12. But now my tomcat 4.0.3 webapps run about 10-20 times slower. These are my class exercises, ranging

RE: Retrieving username and password from url??

2002-12-02 Thread Reynir Hübner
Hi, Try this : String authheader = request.getHeader(authorization); I should point out, that usually sessions are only authenticated once, there for there is not authorization header in every request but only the one that is used for authentication). Some browsers sometimes try to

RE: tomcat 4.1.12 much slower than Tomcat 4.0.3

2002-12-02 Thread Reynir Hübner
Hi, My setup is much faster with tomcat 4.1.12 than 4.0.x What kind of things are you doing with your servlets/jsps ? Which libraries are you using ? Do you do a lot of XML parsing ? Did you disable tagpooling ? Do you have less memory assigned to the process than before ? -reynir

RE: How do I access files above and below \web-inf folder?

2002-12-02 Thread Tim Moore
You should probably use ServletContext.getResource or ServletContext.getResourceAsStream http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/ServletConte xt.html#getResource(java.lang.String) http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/ServletConte

explicit context failing

2002-12-02 Thread Noah Davis
I'm having a strange problem using an explicit context. I have a .war file for my application. If I drop it in my webapps folder and use automatic deployment, it works fine -- it gets unpacked and deploys on startup. However, if I explictly define the context for this webapp, the webapp does

Re: How do I access files above and below \web-inf folder?

2002-12-02 Thread Esteban González
Hi, What if I don´t have a way to access to any kind of ServletContext.? Let´s say i have a static class that loads properties, but i want it to use ServletContext.getResource(..). Unfortunately there´s no static method around to the a reference to the servletContext. any ideas?

RE: How do I access files above and below \web-inf folder?

2002-12-02 Thread Tim Moore
Instead of making the class static, you could load the properties from a servlet that runs when your web application starts up. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -Original

RE: tomcat 4.1.12 much slower than Tomcat 4.0.3

2002-12-02 Thread Ron Day
I did not change anything in 4.1.12. No XML parsing. Same Windows machine, same memory. If I revert back to 4.0.3 it works fine and faster than 4.1.12. My test cases are very simple (by design to find reason it is slower)... most use no 3rd party libaries, a couple use log4j. Strange huh ??

NullPointerException in Tomcat

2002-12-02 Thread Bradley Ward
I am getting a NullPointerException, and the stack trace says it is down in the bowels of Tomcat somewhere. Can anyone give me any ideas of what might be wrong? Thanks Here is the stack trace: java.lang.NullPointerException at

Access denied... to /tmp !?

2002-12-02 Thread Simon Brooke
Hi I've been running things under various versions of Tomcat for a long time now, but it's always been Tomcats I've compiled and installed myself. Now I'm trying to get things running with the version of Tomcat which is packaged in the Debian package 'tomcat4 4.0.3-3woody1'. The tomcat

Re: NullPointerException in Tomcat

2002-12-02 Thread Jeanfrancois Arcand
It's more a Netbeans error than a Tomcat error. I'm sure you will receive a better answer in the Netbeans users mailling list. Sorry :-( -- Jeanfrancois Bradley Ward wrote: I am getting a NullPointerException, and the stack trace says it is down in the bowels of Tomcat somewhere. Can anyone

Re: NullPointerException in Tomcat

2002-12-02 Thread Tim Funk
Nope - the NPE is here (line 1 of stack trace): org.netbeans.modules.web.monitor.server.MonitorFilter.recordServletData(MonitorFilter.java:979) -Tim Bradley Ward wrote: I am getting a NullPointerException, and the stack trace says it is down in the bowels of Tomcat somewhere. Can anyone give me

Re[2]: Tomcat 4.0.3 getResourceAsStream

2002-12-02 Thread Jacob Kjome
Hello Esteban, It won't work with p.getClass... unless the resource you are trying to load is in the classpath...meaning it must be within WEB-INF/classes or WEB-INF/lib/somejar.jar and you wouldn't reference WEB-INF. The classloader knows absolutely nothing about it. If your resoruce was in

Re: Access denied... to /tmp !?

2002-12-02 Thread Jeanfrancois Arcand
That's the proper behaviour. By default, a web application is only able to read under the context under which it was deployed. If you want to grant access to the /tmp !*be carefull*!, add the following in your catalina.policy file: grant codeBase file:${catalina.home}/webapps/your context/- {

RE: Access denied... to /tmp !?

2002-12-02 Thread Shapira, Yoav
Howdy, Mr. Arcand already answered, but I wanted to add something: you can use the directory indicated by context property javax.servlet.context.tempdir as your temporary directory, rather than hard-coding /tmp. See the servlet spec, section 3.7.1, for details. Yoav Shapira Millennium

Re: How do I access files above and below \web-inf folder?

2002-12-02 Thread Cédric Viaud
Or better than a servlet (wich can stop and re-start for many reasons on the Servlet Container) use a listener if you use 2.3 servlet version. Easy to implements, and certainly safer then using the init() method of a servlet. See the servlet specification SRV.10.2 Hope it helps, Cédric -

RE: How do I access files above and below \web-inf folder?

2002-12-02 Thread Shapira, Yoav
Howdy, Use a ServletContextListener and load these things in the contextInitialized() method. The ServletContextEvent has a reference to the ServletContext. Yoav Shapira Millennium ChemInformatics -Original Message- From: Esteban González [mailto:[EMAIL PROTECTED]] Sent: Monday,

Re: Bezerk - tomcat calls JSP twice ?

2002-12-02 Thread Craig R. McClanahan
On Mon, 2 Dec 2002, Stephen Riek wrote: If a Filter makes a call to a page using for example RequestDispatcher.forward(/Products/index.jsp), will that request dispatcher bypass any filters, or will it still be subject to all filter rules ? In Servlet 2.3 (i.e. Tomcat 4.x), Filters are

RE: Redirecting requests back to the webserver from tomcat

2002-12-02 Thread Jeremy Joslin
I don't know what your setup it but it might be worth your while to look at the Proxy Support how-to located here: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/proxy-howto.html Jeremy -Original Message- From: Prashanth Pushpagiri [mailto:[EMAIL PROTECTED]] Sent: 1. desember 2002

Re: NullPointerException in Tomcat

2002-12-02 Thread Jeanfrancois Arcand
Bradley Ward wrote: I see that it is in the netbeans level, but I was hoping someone in the Tomcat world would know what is going on. None of my modules are in the call stack; it is all within some internal Tomcat call. Since there is none of my code involved, it would appear that Tomcat is

Socket GURU'S PLEASE HELP ON OBSCURE PROBLEM

2002-12-02 Thread Jason Johnston
The project that I'm working on is actually much larger and more complex, but I've thrown together this class that illustrates my problem. I'm basically starting a socket server on port 80 and then connecting with a web browser. The strange thing is that the connection never terminates and I

RE: How to set Multiple instances for tomcat?

2002-12-02 Thread Jeremy Joslin
This is a pretty vague question so you're going to get a vague answer. Look at http://jakarta.apache.org/tomcat/tomcat-4.0-doc/RUNNING.txt item #4. Jeremy -Original Message- From: Tushar Kulkarni [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 01, 2001 9:19 AM To: Tomcat Users

RE: How to set Multiple instances for tomcat?

2002-12-02 Thread Turner, John
Separate server.xml files (like server-1.xml, server-2.xml), separate work directories. Also set CATALINA_BASE to what would normally be CATALINA_HOME in a single-intance configuration, then set CATALINA_HOME for each separate instance to the correct directory. John -Original Message-

RE: Redirecting requests back to the webserver from tomcat

2002-12-02 Thread Turner, John
I think a Filter might be an alternative, as well. John -Original Message- From: Jeremy Joslin [mailto:[EMAIL PROTECTED]] Sent: Monday, December 02, 2002 12:19 PM To: 'Tomcat Users List' Subject: RE: Redirecting requests back to the webserver from tomcat I don't know what

Re: Tomcat Manager won't undeploy

2002-12-02 Thread Craig R. McClanahan
On Mon, 2 Dec 2002, Mark wrote: Date: Mon, 02 Dec 2002 10:25:54 -0500 From: Mark [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Tomcat Manager won't undeploy I'm using Tomcat 4.1.12 and can't get the manager 'undeploy' command to work.

Re: tomcat 4.1.12 much slower than Tomcat 4.0.3

2002-12-02 Thread Craig R. McClanahan
On Mon, 2 Dec 2002, Ron Day wrote: Date: Mon, 2 Dec 2002 10:24:26 -0600 From: Ron Day [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: tomcat 4.1.12 much slower than Tomcat 4.0.3 Hi, I have tried re-installing Tomcat

Re: NullPointerException in Tomcat

2002-12-02 Thread Craig R. McClanahan
On Mon, 2 Dec 2002, Bradley Ward wrote: Date: Mon, 2 Dec 2002 11:48:23 -0500 From: Bradley Ward [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: NullPointerException in Tomcat I am getting a NullPointerException, and the stack trace says it

RE: [OT] Re: Java method equal to perl crypt()?

2002-12-02 Thread Gudipati, Arvind
You can use the java cryptography (JCE) package from Sun. its also part of JRE 1.4 ! -Original Message- From: AAron nAAs [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 28, 2002 12:37 PM To: [EMAIL PROTECTED] Subject: [OT] Re: Java method equal to perl crypt()? Although off topic,

RE: tomcat 4.1.12 much slower than Tomcat 4.0.3

2002-12-02 Thread Ron Day
Craig, thanks for suggeations but. Not 15 seconds, but 10 times slower than 4.0.3 what puzzles me is that environment is identical except that I use 4.1.12 version rather than 4.0.3 No other changes between versions and when I go back to 4.0.3 performance improves. ron -Original

Error on Java Bean running

2002-12-02 Thread Ming Zhao
I use Tomcat 4.1.16 as the server. And when I run java bean and got an error. It's a manufacturing-system simulation java bean. On the website, click one button to run the simulation. I can set the beginning simulation time (e.t.,from 01/01/2000 to current clicking time). It can work well for

RE: tomcat 4.1.12 much slower than Tomcat 4.0.3

2002-12-02 Thread Craig R. McClanahan
On Mon, 2 Dec 2002, Ron Day wrote: Date: Mon, 2 Dec 2002 11:37:32 -0600 From: Ron Day [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: tomcat 4.1.12 much slower than Tomcat 4.0.3 Craig, thanks for suggeations but.

Re: migration from jrun to tomcat

2002-12-02 Thread rsequeira
The error message implies that the session-timeout element is missing in the web.xml file. snip SEVERE: Parse Error at line 137 column -1: Element type session-timeout is not declared. org.xml.sax.SAXParseException: Element type session-timeout is not declared. /snip See

RE: tomcat 4.1.12 much slower than Tomcat 4.0.3

2002-12-02 Thread Turner, John
When you say no other changes are you taking into account that the defaults for Tomcat 4.1.12 may be quite a bit different than 4.0.3? That is, have you gone through your 4.1.12 server.xml and verified that every option/parameter is equivalent to the same parameter as the 4.0.3 server.xml, and

Q: java.util.regex uris in workers2.properties?

2002-12-02 Thread David Boyer
isapi_redirector2.dll v2.0.2 mentions this as one of the changes: Add the regular expressions to uriMap. The regex uris are differentiated to normal one by starting with dollar ($) sign. I've tried looking through the C++ source for the ISAPI filter, the tomcat dev archives, the cvs

RE: Socket GURU'S PLEASE HELP ON OBSCURE PROBLEM

2002-12-02 Thread Jeremy Joslin
Looks like you're trying to implement a small webserver but you're not obeying the HTTP spec. You need to read the entire request in from the client before responding and you should send the appropriate response header, e.g. HTTP/1.1 200 OK, or your results will be unpredictable. The reason you

Re: Problem downloading binary files, please help.

2002-12-02 Thread Vy Ho
I got a very weird error and here is the situation: The app I used: tomcat 4.06, phoenix web browser 0.3, ie6.0 Here is the problem: When I set up an application in tomcat (with BASIC AUTHEN), phoenix could download all binary files (.exe, .pdf, etc...) fine from Tomcat server. Then

RE: tomcat 4.1.12 much slower than Tomcat 4.0.3

2002-12-02 Thread Ron Day
I'll do that , thanks for input r -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Monday, December 02, 2002 11:46 AM To: 'Tomcat Users List' Subject: RE: tomcat 4.1.12 much slower than Tomcat 4.0.3 When you say no other changes are you taking into account

Tomcat and SSL

2002-12-02 Thread Jay Wright
I am trying to configure a tomcat (4.1.12 on solaris) webserver to redirect a web app to a secure site. I'm attempting to configure this through web.xml, but I haven't found any valuable documentation. I have added: security-constraint web-resource-collection

Re: HELP!! Tomcat crashes on me!

2002-12-02 Thread micael
Once again, and for the last time, please tell us everything you did after opening the zip (or whatever) file. There is not that much to do, and we can get you on the right path if you tell us whatever you did. If you won't bother to do that, I am putting you on iggy, Steve. At 10:28 PM

Re: HELP!! Tomcat crashes on me!

2002-12-02 Thread micael
So, you have a Context tag that is not closed. Close it. At 11:26 PM 12/1/2002 -0800, you wrote: Bill, I am about to go to bed, but I couldn't help but displaying the screen dump to u from executing the catalina run command: C:\jakarta-tomcat-4.1.12\bincatalina run Using CATALINA_BASE: ..

RE: NullPointerException in Tomcat

2002-12-02 Thread Bradley Ward
When you mentioned the filters in my web app, I thought but I don't use any filters. Heck, I don't even know for sure what they are. But (and this is a big but), I am using the Tomcat that comes bundled with the Sun One IDE, and IT was putting both a filter and a valve into the server.xml file.

TC memory consumption increases when -Xincgc is used?

2002-12-02 Thread Eric Gilbertson
Hello Tomcaters: Has anyone encountered a problem with TC memory consumption growing faster with incremental GC enabled? With the -Xincgc switch, memory consumption not only grows faster on startup, but it never seems to go down significantly as it does with normal GC. Under stress testing this

Accessing Apache environment variables (or notes or IPC space) from within Tomcat

2002-12-02 Thread Aidan Fitzpatrick
I'm running a small authentication system that works within Apache and stores user information in Apache environment variables. I want to be able to pull out this data from within a Servlet. Pretty much exactly the same as this (unanswered?) question that was asked on the Tomcat development

Configuring Apache 2.0.43 and Tomcat 4.1 on Windows 2000

2002-12-02 Thread Johnson, Garrett
I'm having some problems making Apache call Tomcat for it's servlet calls, and was hoping someone could help me: My environment: 1) Apache HTTPD 2.0.43 2) Tomcat 4.1 3) mod_jk.dll has been copied into the C:\Apache\Apache2\modules\ directory 4) httpd.conf, (in C:\Apache\Apache2\conf,) has

RE: Configuring Apache 2.0.43 and Tomcat 4.1 on Windows 2000

2002-12-02 Thread Fenlason, Josh
There is no AddModule in Apache2. All you have to do is LoadModule. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Configuring Apache 2.0.43 and Tomcat 4.1 on Windows 2000

2002-12-02 Thread Johnson, Garrett
First of all, Josh, thanks -- That at least got Apache started. The problem now is that when I attempt to use apache as the go-between for serving up servlets and jsp's from tomcat it still can't seem to instantiate a worker thread: Calling the URL:

Re: TC memory consumption increases when -Xincgc is used?

2002-12-02 Thread Craig R. McClanahan
On Mon, 2 Dec 2002, Eric Gilbertson wrote: Has anyone encountered a problem with TC memory consumption growing faster with incremental GC enabled? With the -Xincgc switch, memory consumption not only grows faster on startup, but it never seems to go down significantly as it does with normal

RE: Configuring Apache 2.0.43 and Tomcat 4.1 on Windows 2000

2002-12-02 Thread Turner, John
Replace locahost with localhost. John -Original Message- From: Johnson, Garrett [mailto:[EMAIL PROTECTED]] Sent: Monday, December 02, 2002 2:13 PM To: 'Tomcat Users List' Subject: RE: Configuring Apache 2.0.43 and Tomcat 4.1 on Windows 2000 First of all, Josh, thanks -- That

read only context why??

2002-12-02 Thread anywhere-info
does any one knows the rationale for making InitialContext() read only in tomcat ? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Using IIS with Tomcat

2002-12-02 Thread Watson, Nicholas
I have two COTS applications. One that requires the use of IIS and another that requires the use of Tomcat. I want to run both applications with their corrisponding web servers on the same box. I have turned off pooling in IIS. What configuration changes need to be made in tomcat in order to run

  1   2   >