RE: urgent

2003-07-21 Thread Michele Neylon:: Blacknight Solutions
If you search the list archives you should find plenty of helpful links and tips. By the way, posting a message in that tone to a public mailing list is not going to win you friends. Mr. Michele Neylon Blacknight Solutions http://www.blacknightsolutions.com Spam and virus scanning available

RE: mod_rewrite and mod_jk

2003-07-21 Thread Ori Tend
I've seen many posts on the subject, yet none helped me. I've got a tomcat 4.1.24 webapp, connected via mod_jk to apache 2.0.46. for some reason, mod_jk takes precedence over mod_rewrite, for all urls mapped to mod_jk with JkMount directives. I tried switching the order of the LoadModules (jk bef

urgent

2003-07-21 Thread Mukul Samak
I want to use Tomcat and apache combination for JSP and Servlets development. How to start and where to start , pls. tell me in short and send me the details which all things i have to do to quick command. thanks Muks

How to set encoding of JavaBean output on JSP?

2003-07-21 Thread Eric Leung
Hi, Tomcat 4.1.24 After some changes, I configured Tomcat to display GB2312 characters on JSP nicely. But the JavaBean output from the JSP scriptlet still showing "rubbish" characters. What should I change to fix this problem? Greatly appreciate for any suggestion Eric

Re: Tomcat refresh configuration

2003-07-21 Thread Bill Barker
Probably Safari doesn't read META tags. You could try instead: <% response.setHeader("Cache-Control","no-cache"); response.setHeader("Pragma", "no-cache"); response.setDateHeader("Expires", 1); %> "Mufaddal Khumri" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Well i h

No printers when run as service.

2003-07-21 Thread Anthony Cunningham
I tried searching the archives and google for this but without success. I am running Tomcat 4.0.4 on Windows NT 4.0 Service pack 6 (Japanese). Due to the nature of our application we are using Adobe PDFWriter as a virtual printer to create a PDF file on the harddrive which is then streamed to the

Re: Scheduling within Tomcat

2003-07-21 Thread Micael
I would suggest you look at Doug Lea's concurrent programming, which I think is scheduled to be partly included in j2se 1.5. At 09:51 AM 7/22/2003 +0800, you wrote: How about this : http://jcrontab.sourceforge.net ? Works for me. Tim Shaw wrote: Linux RH8, TC 4.1.24 I have an app I want to run

Re: Problems compiling tomcat

2003-07-21 Thread Bill Barker
You don't have the path set correctly for jakarta-commons/fileupload, so it's not finding the jar. "Larry Griffith" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

Re: crazy iPlanet/Tomcat question.

2003-07-21 Thread Bill Barker
I haven't used iPlanet since it was called Netscape ;-). I believe that you have to 'index.jsp' an index file to iPlanet. You could also try enabling the auto-config and compare that to what you have. Follow the instructions at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/jk.html#Using

Re: Custom Homepage

2003-07-21 Thread Bill Barker
Yoav is correct, but I believe that the following sordid hack will work in TC 4.x: 1) In your web.xml file create a servlet-mapping something like: MyWelcomeServlet /index.html 2) Stick a zero length file called 'index.html' at $CATALINA_HOME/webapps/myapp/. 3) Make certain

Re: TOMCAT AND TLS CLIENT AUTHN

2003-07-21 Thread Bill Barker
"Evaristo Camarero" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Hi all: > > I'm running Tomcat 4.1.24 and I'm trying to configure TLS client authn. > > I have created a SSL connector (in server.xml) > > > port="15445" minProcessors="5" maxProcessors="75

Re: Tomcat IBM SSL Provider

2003-07-21 Thread Bill Barker
It mostly works in 4.1.26 (you still need the JSSE jar, but Tomcat won't use it). It should work completely in 4.1.27. If you are impatient, you can always grap the CVS code from jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/jsse and compile it. To work with the IBM JVM, you als

Re: Scheduling within Tomcat

2003-07-21 Thread Kwok Peng Tuck
How about this : http://jcrontab.sourceforge.net ? Works for me. Tim Shaw wrote: Linux RH8, TC 4.1.24 I have an app I want to run regularly, so I've exposed the URI, and used wget to trigger it from a cron job. I also want to run this (or sub-set) at a particular point in time (e.g. 3:27mins i

JNDI: JDBC calss 'null'

2003-07-21 Thread Fedor Smirnoff
Hey guys, I am really running out of options here, I cannot find what the problem is and I have read through archives and the few suggestions I have found there didnt work. Ok first thingks first I am running Tomcat 4.1.24 and j2sdk1.4.1_02. I would like to use a JDBC driver through JNDI so I have

Internet Explorer SSL issues and tomcat running ssl?

2003-07-21 Thread Lawrence, Gabriel
Howdy, The mod_ssl faq says to do the following: The first reason is that the SSL implementation in some MSIE versions has some subtle bugs related to the HTTP keep-alive facility and the SSL close notify alerts on socket connection close. Additionally the interaction between SSL and HTTP/1.1 fe

Scheduling within Tomcat

2003-07-21 Thread Tim Shaw
Linux RH8, TC 4.1.24 I have an app I want to run regularly, so I've exposed the URI, and used wget to trigger it from a cron job. I also want to run this (or sub-set) at a particular point in time (e.g. 3:27mins in the future). If I provide an app that uses the java...Timer, can I just use it o

Re: Tomcat refresh configuration

2003-07-21 Thread Mufaddal Khumri
Well i have the following in all my jsp pages. Am using safari on mac os X ... Lets say I have a location. I edit the location and submit the form .. the new data is entered in the database and the new data is also reflected on the location description page. The information shown on

Re: Tomcat refresh configuration

2003-07-21 Thread Tim Funk
Heh? Automagic refresh can be done via a meta tag. (Google is your friend) Page caching is also easy. Again - google is your friend. (cache jsp) -Tim Mufaddal Khumri wrote: hi, Is there a way to control the refreshing of html pages in tomcat ? Thanks. -

Re: My Tomcat + Apache + mod_jk HOWTO

2003-07-21 Thread Tim Funk
Feel free to add the link to the Wiki too ... http://nagoya.apache.org/wiki/apachewiki.cgi?Tomcat/Links -Tim John Turner wrote: Looks good to me. There's a need for more HOWTOs that cover the RPM way of doing things. I appreciate the kind words, as well. I'm glad I was able to help in some wa

Re: Tomcat and IIS

2003-07-21 Thread Nicholas Camilleri
I am using tomcat 4.1.12 and windows XP with IIS 5 and I am trying to secure the virutal directory (named Jakarta) which I created to redirect requests to the tomcat containerThanks Again - Original Message - All email is scanned by Keyworld against known Viruses. This service is offer

Re: commercial support for Tomcat?

2003-07-21 Thread Chris Halstead
Two of note: JBoss Group Core Developer's Network -chris On Mon, 2003-07-21 at 18:04, Ben Drasin wrote: > Hi all- > > I'm evaluating servlet engines for a software project and one of the criteria we > have is the availability of commercial support. I know there is community support > and lot

commercial support for Tomcat?

2003-07-21 Thread Ben Drasin
Hi all- I'm evaluating servlet engines for a software project and one of the criteria we have is the availability of commercial support. I know there is community support and lots of independent consultants, but does anyone know of any company which offers commercial production support for Tom

Re: Problems compiling tomcat

2003-07-21 Thread Larry Griffith
I didn't receive any replies (maybe I just didn't wait long enough?). Because I have to get onto other things, I finally just downloaded the binary version and installed it successfully. However, if anyone can answer my original question, I'm still interested because I would like to upgrade some

Tomcat refresh configuration

2003-07-21 Thread Mufaddal Khumri
hi, Is there a way to control the refreshing of html pages in tomcat ? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: My Tomcat + Apache + mod_jk HOWTO

2003-07-21 Thread John Turner
Looks good to me. There's a need for more HOWTOs that cover the RPM way of doing things. I appreciate the kind words, as well. I'm glad I was able to help in some way. Have fun! John Juan Nin wrote: Hi, I've written a kind of HOWTO for Tomcat + Apache + mod_jk. The address is http://www.ju

Re: Problems with dir structure

2003-07-21 Thread Robert Wray
HTML files can be placed in a sub-directory of the webapps folder. Servlets should be placed in a sub-directory of the webapps folder under /WEB-INF/classes For example, if you installed tomcat to "c:\tomcat" and have an application called "testApp" you might have something like the following:

Tomcat IBM SSL Provider

2003-07-21 Thread McClure, Timothy J(IndSys, GE Interlogix)
I am running Tomcat on AIX using JVM 1.4. When Tomcat comes up with SSL enabled it is looking for the Sun provider. I copied the Sun JSSE 1.3 jar into the Tomcat lib and this error went away. However I am having problems because I generated the certificate using the AIX keytool which used the

RE: Error Page Status Code

2003-07-21 Thread Mike Curwen
You don't implement anything, you just retrieve them from the xxx attribute space using yyy. Since I'm not connecting ALL the dots for you, I'll leave you to figure out what xxx and yyy are. Hint: you've posted them in your last reply. <% Integer error_code = (Integer)xxx.getAttribute(yyy); %>

RE: Error Page Status Code

2003-07-21 Thread Srinivasu Gandu
Request Attributes Type -- javax.servlet.error.status_code java.lang.Integer javax.servlet.error.message java.lang.String I saw the above definations in the SRV9.9.1 would you some details how do I implement these t

My Tomcat + Apache + mod_jk HOWTO

2003-07-21 Thread Juan Nin
Hi, I've written a kind of HOWTO for Tomcat + Apache + mod_jk. The address is http://www.juanin.com/tomcat/ I will appreciate any feedback, suggestions or critics!!! :) Juan - To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

Problems with dir structure

2003-07-21 Thread Lenandlar Singh
Hello, where do i put static html files and servlets so that the can be called in tomcat 4.1 - Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!

RE: Tomcat and IIS

2003-07-21 Thread Kannan Sundararajan
The instruction set given is so confusing. After sometime, i could able to do the connectivity. But the documents is not to the standards. -Original Message- From: Lior Shliechkorn [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2003 3:26 PM To: Tomcat Users List Subject: Re: Tomcat and

RE: How do we get an erro.jsp when an exception occured in the te st.j sp

2003-07-21 Thread Srinivasu Gandu
It is working sudhir.. but the problem is error.jsp is displaying with in the test.jsp (like a page include).. wiered haa.. Is there anything wrong with test.jsp try catch flow?? -Original Message- From: Sudhir Movva [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2003 3:39 PM To: 'Tomcat

Using Cookies within Servlets and Tomcat 4.0.3

2003-07-21 Thread Jason Lanpher
Hi everyone, Does any one know of any reason why an example of code (i.e. Servlets example) would work utilizing a cookie under 4.1.24 and not 4.0.3? I am looking for any possible guesses you might have. I am curious if there is any configuration or file permission that might be necessar

RE: How do we get an erro.jsp when an exception occured in the test.j sp

2003-07-21 Thread Sudhir Movva
Try using <% response.sendRedirect("yourerrorpage.jsp"); %> in catch block -Sudhir. -Original Message- From: Srinivasu Gandu [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2003 3:27 PM To: 'Tomcat Users List' Subject: How do we get an erro.jsp when an exception occured in the test.j s

How do we get an erro.jsp when an exception occured in the test.jsp

2003-07-21 Thread Srinivasu Gandu
My web.xml contains error page tag as below java.lang.Exception /error/error.jsp - Here is my test.jsp.. <%@ page import="java.util.*" %> <%@ page import="java.io.*" %> <%@ page errorPage="/error/error.jsp" %> <% try{

RE: Error Page Status Code

2003-07-21 Thread Shapira, Yoav
Howdy, I guess you too are not a big fan of reading the spec? ;) See SRV.9.9.1. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Srinivasu Gandu [mailto:[EMAIL PROTECTED] >Sent: Monday, July 21, 2003 2:54 PM >To: 'Tomcat Users List' >Subject: Error Page Status Code >

RE: Custom Homepage

2003-07-21 Thread Shapira, Yoav
Howdy, Didn't spend much time with the servlet specification, huh? ;) Right now you can't use a servlet as your default welcome file. You can use a JSP or a static HTML file. (Or a couple of other things which you probably don't want). The next version of the servlet spec allows for servlet we

Re: Tomcat and IIS

2003-07-21 Thread Lior Shliechkorn
What version of Tomcat? Windows? And are you trying to use windows security on the virtual directory? Nicholas Camilleri <[EMAIL PROTECTED]> wrote: Hi there, I am attempting to configure IIS with tomcat however I am encountering some problems, related to security and authentication features wit

Tomcat and IIS

2003-07-21 Thread Nicholas Camilleri
Hi there, I am attempting to configure IIS with tomcat however I am encountering some problems, related to security and authentication features with IIS 5. Each time a request is redirected to the isapi_redirect.dll, IIS logs a HTTP 401 errorDo you know what I can do, found somthing on the net

Re: auto-generating mod_jk.conf ???

2003-07-21 Thread Nicholas Camilleri
Hi there, I am attempting to configure IIS with tomcat however I am encountering some problems, related to security and authentication features with IIS 5. Each time a request is redirected to the isapi_redirect.dll, IIS logs a HTTP 401 errorDo you know what I can do, found somthing on the net

Re: Where are ISAPI filter registry settings defined?

2003-07-21 Thread Nathan Ward
I would appreciate the documentation. Thanks! I'm going to try configuring both isapi_redirector.dll and isapi_redirector2.dll on the IIS server. Looks like they have different registry key names. So, I can configure each for a different workers file (different name anyway). Then, I specify one of

Custom Homepage

2003-07-21 Thread Me
I installed tomcat yesterday and i am totally confused about its config files. i am trying to change the default homepage so that tomcat calls a servlet in the preconfigured servet directory instead of the index.jsp page. Is it possible Thanks in advance

Error Page Status Code

2003-07-21 Thread Srinivasu Gandu
Hi all, When we define error page in the web.xml, All I am getting is stack trace in the error.jsp because I am passing the exception and printing that in the error.jsp How do we know which error-code is causing the problem or how do we display the error code in the error.jsp page???

tomcat5: Where's webdav?

2003-07-21 Thread john-paul delaney
Hello List... webdav doesn't appear to be available by default in tc5 - how do I go about setting it up? /j-p. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Questions about optimization and proxy issues

2003-07-21 Thread Ivan Montoro
Hi everybody, We are building a JSP web application on Tomcat 4.1. We have separated static and dynamic (JSP) content by URL inside the code, so we can have two different servers for both purpouses, and we have several questions: 1) Why should we use mod_jk2, mod_webapp or mod_proxy in this case?

Re: TomCat 4.1.24 -> alias problem?

2003-07-21 Thread John Turner
It means your tags in web.xml are out of order, and they must match the order that is listed in the error message (which is the same order as the DTD). John On Mon, 21 Jul 2003 20:27:25 +0200, Volker <[EMAIL PROTECTED]> wrote: YES - it is possible :-) Inserted JkMount /servlet/* ajp13 in mod_

Re: TomCat 4.1.24 -> alias problem?

2003-07-21 Thread Volker
YES - it is possible :-) Inserted JkMount /servlet/* ajp13 in mod_jk.conf and now the servlet is accessible via port 80 too. The only question left is why I get still following error messages in catalina.out when I restart TomCat?: "org.xml.sax.SAXParseException: The content of element type "web

RE: Problem Deploying Servlets

2003-07-21 Thread Lenandlar Singh
Hey, I am not sure, but i was playing around.. I have the static in the examples sub...and the servlet in the class dir under webapps.. linkaction = /servletname... - Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!

RE: mod_jk2 + Tomcat 4.1.24 - no sessions?

2003-07-21 Thread Brett Neumeier
Mark Palmer wrote: > I guessed as much. The thing is, I can see that the browser > is just never > getting the JSESSIONID cookies when accessing via Apache. > > If you access directly to Tomcat the JSESSIONID cookies come > no problem. > > I just don't get it - this implies that mod_jk2 is str

Re: TomCat 4.1.24 -> alias problem?

2003-07-21 Thread Volker
I put additinally following directives in my web.xml under /tomcat/webapps/ROOT/WEB-INF/: invoker /servlet/* NOW http://ww.MyDomain.com:8080/servlet/HttpTunnelingServletdc request the correct servlet (via port 8080!) (/tomcat/webapps/ROOT/WEB-INF/classes/com/net/chat/util/tunnel3/Http

Re: mod_jk2 + Tomcat 4.1.24 - no sessions?

2003-07-21 Thread Simon Pabst
Hmm works for me, (using Apache 2.0.45, mod_jk2 from jakarta-tomcat-connectors-4.1.24-src, Tomcat 4.1.24) What Apache/mod_jk2/Tomcat versions are you using? What AJP Connector are you using, how does the connector config in server.xml look like? At 17:43 21.07.2003 +0100, you wrote: On Mon, 21

Cannot authenticate in Tomcat

2003-07-21 Thread Stuart MacPherson
I am running Tomcat 4.1.24 and Slide 1.0.16 and I have a problem (that I originally thought was isolated to Slide) where I can no longer authenticate any user. When I try to login to Tomcat admin webapp as 'admin' I am refused stating Invalid username and password. this occurs with all of my Slide

RE: Problem Deploying Servlets

2003-07-21 Thread Shapira, Yoav
Howdy, Your link from the static page to the servlet is probably wrong. What does it look like? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Lenandlar Singh [mailto:[EMAIL PROTECTED] >Sent: Monday, July 21, 2003 1:32 PM >To: Tomcat Users List >Subject: Problem Dep

[ANNOUNCE] Tomcat Training Class in August

2003-07-21 Thread Lajos
Hi all - For those looking for an advanced Tomcat training class, I am giving a four-day intensive in Colorado Springs, CO, August 18-21. The objective of the course is to give users an in-depth knowledge of developing with and administering Tomcat. Topics include JNDI, the ever-popular Apache

Help How to Tomcat as a user - tomcat4?

2003-07-21 Thread Ann & Clive Tonge
I am using Tomcat 4.1.24, Java 1.4.1_02 on Mandrake Linux 9.1. Tomcat will not run as a user, although I am using it on port 8080. If I run Tomcat as user tomcat4 I get a starting tomcat4 [OK]. But it does not start. ps ax shows that no Tomcat processes running. It does work fine as root. I chec

Problem Deploying Servlets

2003-07-21 Thread Lenandlar Singh
Hello Members, Im a bit new to Tomcat.I have installed Tomcat 4.1.24 and running. Im have trouble accessing servlets from a static web page even though i can access both the servlet and the static page independently. Please shed some light. Thanks. Ls

Re: TomCat 4.1.24 -> alias problem?

2003-07-21 Thread Volker
Hi John, I read the document and made my "web.xml" under /tomcat/webapps/ROOT/WEB-INF/ look like this: http://java.sun.com/dtd/web-app_2_3.dtd";> HttpTunnelingServletdc com.net.chat.util.tunnel3.HttpTunnelingServlet Host localhost 1 HttpTunne

Re: System.load Exceptions cannot be caught

2003-07-21 Thread Peter Kwan
Thanks Mike. You are absolutely right. I never verified if UnsatisiedLinkError is an Exception or not. It is in fact an Error, not an Exception? If I change my code to catch Throwable (which includes both Exception and Error), everything works fine. Thanks a lot for your help. Regards Peter Kw

jni_connect.so placement

2003-07-21 Thread Sullivan, Patrick
I have seen conflicting docs on where jni_connect.so should be placed. Is it 1) $APACHE_HOME/modules or 2) $TOMCAT_HOME/bin Thank you, Patrick Sullivan Centura Health This communication is for the use of the intended recipient only. It may contain information that is privileged and confide

RE: isErrorPage="true" NOT WORKING?

2003-07-21 Thread Tarek M. Nabil
Hi Matthew, The problem with your JSP is that it has a syntax error. When Tomcat fails to compile the error page it uses it's internal error page. You should delete the second line, and replace the first with the following <%@ page isErrorPage="true" import="java.io.*" %> The import is part of

Re: JK2 connector

2003-07-21 Thread John Turner
If you are using mod_jk_2.0.46.dll, that would be mod_jk, not mod_jk2. Check out my HOWTO for Windows, it covers everything step by step. The version numbers are a little out of date, but it shouldn't matter. http://www.johnturner.com/howto Incidentally, I had a little trouble with the DLL for

Re: Loading context

2003-07-21 Thread John Turner
I was just asking. So, you: - created a directory called webapps/portal - created a directory called webapps/portal/WEB-INF - created a file called webapps/portal/WEB-INF/web.xml - put some JSP in webapps/portal With all of the above, you cannot resolve http://www.host.com/portal/some.jsp? What

RE: System.load Exceptions cannot be caught

2003-07-21 Thread Mike Curwen
Did you mean UnsatisiedLinkError ? Because that's all I can find in the javadocs. In this case, your code won't catch this Error, since an Error is not an Exception. So perhaps the container will end up catching it and wrapping it in a JasperException. Is there a 'route cause' for the JasperExcep

System.load Exceptions cannot be caught

2003-07-21 Thread Peter Kwan
I have the following code in my static class initialization code for loading native code: static { try { System.load("some_path_A"); } catch (Exception e) { System.load("some_path_B"); } .. The class is used in a JSP project. If I put my n

RE: Loading context

2003-07-21 Thread Luc Foisy
I am checking with the manager to see if the context is there, and I am trying to hit that page How else would you suppose I should test this, its there or not isnt it? -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2003 12:54 PM To: Tomcat Users Li

Re: Loading context

2003-07-21 Thread John Turner
As far as I know. As I said, if this isn't working, and you have verified this (how are you testing it, anyways?), then you should file a bug. John On Mon, 21 Jul 2003 12:48:47 -0400, Luc Foisy <[EMAIL PROTECTED] magic.com> wrote: Any subdirectory within the Application Base directory that ap

JK2 connector

2003-07-21 Thread v.siguier
Hello everybody ! I am new Apache, Tomcat user and I try to learn how to make them communicate. I use Apache 2.0.47, Tomcat 4.1.24 and I downloaded mod_jk_2.0.46.dll (Windows NT platform) in Apache2/modules. I try to do what is described in the Quick Start JK2 configuration guide (http://jakarta

RE: Loading context

2003-07-21 Thread Luc Foisy
Any subdirectory within the Application Base directory that appears to be an unpacked web application (that is, it contains a /WEB-INF/web.xml file) will receive an automatically generated Context element, even if this directory is not mentioned in the conf/server.xml file. This generated Contex

Re: mod_jk2 + Tomcat 4.1.24 - no sessions?

2003-07-21 Thread Marc Palmer
On Mon, 21 Jul 2003 17:41:13 +0200, Simon Pabst <[EMAIL PROTECTED]> wrote: hmm no, if you have just one Tomcat, it shouldn't be necessary. I guessed as much. The thing is, I can see that the browser is just never getting the JSESSIONID cookies when accessing via Apache. If you access directly to

Re: Where are ISAPI filter registry settings defined?

2003-07-21 Thread Lior Shliechkorn
The redirector2.dll file is a new implementation...I was told that it was faster. I have a document you can use if you choose the redirector2.dll file. Let me know. Nathan Ward <[EMAIL PROTECTED]> wrote:I'm using Tomcat 4.1.24 and isapi_redirector.dll. Should I be using isapi_redirectory2.dll? I

Re: Where are ISAPI filter registry settings defined?

2003-07-21 Thread Nathan Ward
I'm using Tomcat 4.1.24 and isapi_redirector.dll. Should I be using isapi_redirectory2.dll? I saw something in a book about isapi_redirectory2.dll, but I didn't see it yet in the Tomcat docs. Nathan - Original Message - From: "Lior Shliechkorn" <[EMAIL PROTECTED]> To: "Tomcat Users Lis

RE: isErrorPage="true" NOT WORKING?

2003-07-21 Thread Shapira, Yoav
Howdy, Does it work if you set the exception-type as java.io.FileNotFoundException in your web.xml? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Matthew Oatham [mailto:[EMAIL PROTECTED] >Sent: Monday, July 21, 2003 12:12 PM >To: [EMAIL PROTECTED] >Subject: Re: isEr

Re: Where are ISAPI filter registry settings defined?

2003-07-21 Thread Lior Shliechkorn
Which Tomcat are you using? isapi_redirect.dll or isapi_redirect2.dll? Nathan Ward <[EMAIL PROTECTED]> wrote: Hello, Is there any more documentation on the registry settings used by the isapi_redirect.dll than defined in the IIS How-To in the Tomcat documenation? I'd like to configure two web

RE: Loading context

2003-07-21 Thread Luc Foisy
I put a web.xml file in there, still not autodeploying The autodeploy is something that runs in the background, correct? Should just be able to drop it down, and away it goes when it hits that deploy cycle? -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Monday, July

NullPointerException/Connection pool gets exhausted very quickly

2003-07-21 Thread Lior Shliechkorn
Hi, I created a Tomcat connection pool (4.1.18/Win2k) which gets exhausted fairly quickly if a user refreshes a page a few times. I have all the pages with the following code: - Context initCtx = new InitialContext(); Context envCtx = (Context) initCtx.lookup("java:co

Re: Loading context

2003-07-21 Thread John Turner
No, that is the whole point of auto-deploy...you can deploy when Tomcat is running. There are various ways to do this, as outlined in the docs, not to mention the Tomcat manager application. As I read the docs, if you have a directory within appBase that has a valid directory structure (WEB-IN

Where are ISAPI filter registry settings defined?

2003-07-21 Thread Nathan Ward
Hello, Is there any more documentation on the registry settings used by the isapi_redirect.dll than defined in the IIS How-To in the Tomcat documenation? I'd like to configure two web sites defined in the same IIS server to use different instances of the ISAPI redirector plug-in so that each I

TOMCAT AND TLS CLIENT AUTHN

2003-07-21 Thread Evaristo Camarero
Hi all: I'm running Tomcat 4.1.24 and I'm trying to configure TLS client authn. I have created a SSL connector (in server.xml) Now my question is what is the process tomcat employs to validate client certs. Have anybody tested this feature? Thanks in advance, /Evaristo

RE: Loading context

2003-07-21 Thread Luc Foisy
Ok. When I restart the tomcat server, it will deploy an empty directory And it will deploy contexts that do not have a web.xml file Is this a definate need for the autodeploy function to work? I know my version of tomcat has the autodeploy, since it has its value set in conf/server.xml, so that c

Re: Loading context

2003-07-21 Thread John Turner
There should be one, as explained in the docs. John On Mon, 21 Jul 2003 12:03:42 -0400, Luc Foisy <[EMAIL PROTECTED] magic.com> wrote: no -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2003 11:55 AM To: Tomcat Users List Subject: Re: Loading conte

Re: isErrorPage="true" NOT WORKING?

2003-07-21 Thread Matthew Oatham
BTW the exception is being thrown from a method inside a servlet as follows: public synchronized void writeOrder(HttpServletRequest request) throws IOException { Date d = new Date(); DateFormat df = DateFormat.getDateInstance(); String fileName = (request.getRemoteUser()

isErrorPage="true" NOT WORKING?

2003-07-21 Thread Matthew Oatham
Hi, I have a web app inside which I have an errorPage.jsp file. My web.xml file defines: java.lang.Throwable errorPage.jsp And my errorPage.jsp is as follows: <%@ page isErrorPage="true" %> <%@ import="java.io.*;"%> TOKENS Offline Order Error Error An error occurred performing the

RE: Loading context

2003-07-21 Thread Luc Foisy
no -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2003 11:55 AM To: Tomcat Users List Subject: Re: Loading context There's no web.xml file? John On Mon, 21 Jul 2003 11:40:29 -0400, Luc Foisy <[EMAIL PROTECTED] magic.com> wrote: > I created a di

Re: Loading context

2003-07-21 Thread John Turner
There's no web.xml file? John On Mon, 21 Jul 2003 11:40:29 -0400, Luc Foisy <[EMAIL PROTECTED] magic.com> wrote: I created a directory in webapps webapps/portal This directory contains some jsp's There is also webapp/portal/WEB-INF directory ( empty ) All files and directories in this "context"

crazy iPlanet/Tomcat question.

2003-07-21 Thread Eric J. Pinnell
Hi, I have seached and looked through the archives with no luck. I have also experimented quite a bit and have a question: I currently have iPlanet 4.1 connected to Tomcat 4.1.18 via the NSAPI redirector on Solaris. However it will not load the default page (welcome page) such as index.jsp. If

Client authentication - no client certificate

2003-07-21 Thread René Vangsgaard
Hi I have successfully setup Tomcat with SSL and client authentication, and I have successfully identified myself to the web application using a browser certificate. But when I access a port with client authentication enabled WITHOUT sending a certificate, I receive an error from Tomcat. I would l

Re: mod_jk2 + Tomcat 4.1.24 - no sessions?

2003-07-21 Thread Simon Pabst
hmm no, if you have just one Tomcat, it shouldn't be necessary. At 15:58 21.07.2003 +0100, you wrote: On Mon, 21 Jul 2003 16:43:05 +0200, Simon Pabst <[EMAIL PROTECTED]> wrote: You need to use tomcatId & jvmRoute for stickySession to work (don't know if it works with default settings), for examp

RE: Loading context

2003-07-21 Thread Luc Foisy
I created a directory in webapps webapps/portal This directory contains some jsp's There is also webapp/portal/WEB-INF directory ( empty ) All files and directories in this "context" are owned by the tomcat user ( same as the other contexts this tomcat server is running ) Should that work or not?

Re: Loading context

2003-07-21 Thread John Turner
What do you mean, exactly, by "I placed a context directory into webapps". You just created the directory? Is there a valid structure there (WEB-INF, etc)? John On Mon, 21 Jul 2003 11:23:13 -0400, Luc Foisy <[EMAIL PROTECTED] magic.com> wrote: autodeploy=true ( the default ) I placed a cont

RE: Loading context

2003-07-21 Thread Luc Foisy
autodeploy=true ( the default ) I placed a context directory into webapps and it is not autodeploying Does it only auto deploy if the context is packed as .war? -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2003 11:04 AM To: Tomcat Users List Subjec

Re: Loading context

2003-07-21 Thread John Turner
See Auto Deploy: http://jakarta.apache.org/tomcat/tomcat-4.1- doc/config/host.html#Automatic%20Application%20Deployment John On Mon, 21 Jul 2003 10:58:41 -0400, Luc Foisy <[EMAIL PROTECTED] magic.com> wrote: How would I go about loading a new context so that it is live, without restarting th

Re: TomCat 4.1.24 -> alias problem?

2003-07-21 Thread John Turner
Hi - Check in the web.xml DTD. Also: http://jakarta.apache.org/tomcat/faq/misc.html#invoker John On Mon, 21 Jul 2003 16:57:05 +0200, Volker <[EMAIL PROTECTED]> wrote: Hi, after installing TomCat 4.1.24 and making it run correctly with mod_jk (jk1.2) I still have a little problem which I did

Re: mod_jk2 + Tomcat 4.1.24 - no sessions?

2003-07-21 Thread Marc Palmer
On Mon, 21 Jul 2003 16:43:05 +0200, Simon Pabst <[EMAIL PROTECTED]> wrote: You need to use tomcatId & jvmRoute for stickySession to work (don't know if it works with default settings), for example: workers2.properties: [channel.socket:localhost:8009] tomcatId=tomcat1 (http://jakarta.apache.org/t

Loading context

2003-07-21 Thread Luc Foisy
How would I go about loading a new context so that it is live, without restarting the tomcat server? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

TomCat 4.1.24 -> alias problem?

2003-07-21 Thread Volker
Hi, after installing TomCat 4.1.24 and making it run correctly with mod_jk (jk1.2) I still have a little problem which I did not have in the former TomCat 3.2.3 environment: I have a "HttpTunnelingServlet.class" located under /tomcat/webapps/ROOT/WEB-INF/classes/com/net/chat/util/tunnel3 which sh

RE: Handling auth failure

2003-07-21 Thread Mike Curwen
Check the DTD > -Original Message- > From: Christian J. Dechery - ACCENTURE > [mailto:[EMAIL PROTECTED] > Sent: Monday, July 21, 2003 8:50 AM > To: 'Tomcat Users List' > Subject: RES: Handling auth failure > > > where exactly in web.xml does this go? > > _

Re: mod_jk2 + Tomcat 4.1.24 - no sessions?

2003-07-21 Thread Simon Pabst
You need to use tomcatId & jvmRoute for stickySession to work (don't know if it works with default settings), for example: workers2.properties: [channel.socket:localhost:8009] tomcatId=tomcat1 (http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/configwebcom.html#workers) server.xml: Bewa

JDBC - driver and connection pooling question.

2003-07-21 Thread Kevin Passey
I have just loaded 4.1.24 and want to do as much as I can thru the admin and manager functions without hand crafting the server.xml file. Now this may not be possible but here goes:- Previously I put the connection pooling entries in the server.xml file like this:- factory org.apache.commons

Problems compiling tomcat

2003-07-21 Thread Larry Griffith
I'm new to this list, so please pardon any obvious idiocies. When I compile Tomcat I'm getting syntax errors. My setup: Server: SUN Enterprise 250 running Solaris 9 uname -a output: SunOS africa 5.9 Generic sun4u sparc SUNW,Ultra-250 Java version: 1.4.2 (SUN version of javac) Ant version: 1.5.3

  1   2   >