Odd exception

2001-10-04 Thread Brian Richards
2001-10-04 02:45:40 - Ctx() : Exception in R( + /index.jsp + null) - java.lang.NullPointerException at java.io.Writer.write(Writer.java:129) at org.apache.tomcat.modules.loggers.AccessLogInterceptor.beforeCommit(AccessLo gInterceptor.java:241) at

Re: Odd exception

2001-10-04 Thread Byju P.Nair
I have been facing similar problems with tomacat3.2. I have an application whose jsp and html are in in a context say test. These pages send requests to servlets with URL's like /servlet/servletname (notice that it doesn't have a context name preceding the URL

Re: Odd exception

2001-10-04 Thread Manu KY
Hi, please paste the offending code. Manu 2001-10-04 02:45:40 - Ctx() : Exception in R( + /index.jsp + null) - java.lang.NullPointerException at java.io.Writer.write(Writer.java:129) at org.apache.tomcat.modules.loggers.AccessLogInterceptor.beforeCommit(AccessLo gInterceptor.java:241) at

Re: Driver fails to load on two webapps

2001-10-04 Thread Brian Richards
Ok I found _A_ solution but I don't really like it. Basically I had the db2java.jar file in the lib directory for both webapps. I moved the jar to only reside in TOMCAT_HOME\lib and updated the wrapper.properties file. Now it's magically delicious. What would be a better way to resolve this

## What is the different of keystore and keypass!?

2001-10-04 Thread Sam
Hi all, What is the difference? keystore is the CA file keypass??? what is the function? thanks.

Re: Session Problems

2001-10-04 Thread Marc Ponschab
Hi, Byju P.Nair wrote: Tomcat is creating 2 different sessions when another browser window is opened from a main window. Try to send the Request via the target-Attribute (A or FORM) to the new Window, you can open a customized window with onclick. Example: a onClick=getArticleWindow();

Re: Session Problems

2001-10-04 Thread simon
- Original Message - From: Byju P.Nair [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 04, 2001 2:33 PM Subject: Session Problems Hi, Tomcat is creating 2 different sessions when another browser window is opened from a main window. For instance, i have an

Re: Session Problems

2001-10-04 Thread Byju P.Nair
Yes Simon, you are right. Since the browser has cookie enabled, the above statement doesn't encode the sessionID into URL :-( Hi, Tomcat is creating 2 different sessions when another browser window is opened from a main window. For instance, i have an application, in which the

## Keystore Keytool problem!

2001-10-04 Thread Sam
Hi all, I try to make CA keystore file, == Enter keystore password: changit keytool error: KeyPairGenerator not available == What is the message mean? thanks all!

deployment problem with ant: jar files in lib not found

2001-10-04 Thread maurice . szmurlo
hi, I came across the folowing problem: as long as I developped my own classes (in src/package/Myclass.java) the build process went ok. However, when I tryed to integrate forein libraries, actually xml jars (in lib/*.jar), the compilation fails whenever Myclass uses classes from these jars:

Changin Content-type header for JSP pages

2001-10-04 Thread stephanos.piperoglou
I'm developing an application using Tomcat 3.2 (and Struts 1.0). The problem I'm facing is that the Content-type HTTP header for all my JSP pages is always set to text/html;charset=ISO-8859-1, but all my JSP pages use UTF-8 encoding and I often expect to receive and send non-Latin characters.

Problem in solaris

2001-10-04 Thread Héctor Garcia Peris
Hello list, I'm using tomcat 3.2.3 with apache in a solaris 2.7. I have downloaded the source code of tomcat 3.2.3 and compile it in the solaris 2.7. I have other computer with tomcat in a debian linux. The version of tomcat is the binary file of the 3.2.2. The problem is that I have a servlet

Re: Using mod_jk with Apache-Tomcat

2001-10-04 Thread RahulKrishna Gupta
Nathan Pfrimmer wrote: I don't think my Apache-Tomcat connection is working. If I add the line: Include d:\jakarta-tomcat-3.2.3\conf\tomcat.conf to the Apache/conf/httpd.conf file (as directed by the documentation), and then try to start the Apache server I get an error pop-up box: Microsoft

Re: Changin Content-type header for JSP pages

2001-10-04 Thread Marc Ponschab
[EMAIL PROTECTED] wrote: Is there a way to change this value to either text/html;charset=UTF-8 or failing that just plain text/html, see javax.servlet.ServletResponse.setContentType( java.lang.String type) in your JSP use something like response.setContentType(text/html; charset=UTF-8);

Re: Character decoding in form data

2001-10-04 Thread Gregor Kovaè
Hi! I had the same problem and I solved it using Tomcat 3.3 (I think it was beta 1). If you are using database make sure that you create a database using your character set. My example: I had some data in ISO8859-2 character set in the database. The database was MySQL with defaulot character

Re: Session Problems

2001-10-04 Thread Marc Ponschab
Hi, Byju P.Nair wrote: Yes Simon, you are right. Since the browser has cookie enabled, the above statement doesn't encode the sessionID into URL :-( See server.xml: !-- Session interceptor will extract the session id from cookies and deal with URL rewriting ( by fixing the URL ). If

Re: Session Problems

2001-10-04 Thread Byju P.Nair
I did exactly as mentioned below, but it is helping the issue. Having suppressed the cookie usage, do i have to explicitly use URL rewriting by using response.encodeURL(...) to encode the sessionID? See server.xml: !-- Session interceptor will extract the session id from cookies and

Re: getparameter

2001-10-04 Thread Michele Cerioni
Dmitri Colebatch wrote: works fine for me on java 1.3 from sun. On Wed, 3 Oct 2001, Roberto B. wrote: I use linux (debian), T3.2.3 and jsdk 1.4 ...and your code works! Try to upgrade to jsdk 1.4 R. - Original Message - From: Michele Cerioni [EMAIL PROTECTED] To:

Re: getparameter

2001-10-04 Thread Dmitri Colebatch
how are you calling it? I literally cut and pasted it into a file (attached) in and saved it in the examples context of a normal install - worked fine. cheers dim On Thu, 4 Oct 2001, Michele Cerioni wrote: Dmitri Colebatch wrote: works fine for me on java 1.3 from sun. On Wed, 3

Re: getparameter

2001-10-04 Thread simon
It seems to be working fine for everyone else so it's probably not a JDK version problem. What happens it you add another parameter: html head title Prova /title /head body % out.println(bCiao: + request.getParameter(user) + /b);

Reloading JSP's not working

2001-10-04 Thread Martin van Dijken
Hi guys, In the server.xml file, I've created a context for my web application. I've put there that reloadable=true. I read that this should assure that my JSP source files are version-checked every time they are requested, and recompiled if the version that is there is newer than the compiled

Re: Session Problems

2001-10-04 Thread Marc Ponschab
Byju P.Nair wrote: Having suppressed the cookie usage, do i have to explicitly use URL rewriting by using response.encodeURL(...) to encode the sessionID? Yes, shure. Marc See server.xml: !-- Session interceptor will extract the session id from cookies and deal with URL rewriting

Re: getparameter

2001-10-04 Thread Michele Cerioni
simon wrote: It seems to be working fine for everyone else so it's probably not a JDK version problem. What happens it you add another parameter: html head title Prova /title /head body % out.println(bCiao: + request.getParameter(user) + /b);

Webapp multiple connections

2001-10-04 Thread Alex Sanderson
Hello, Has anyone sucessfully run mod_webapp with multiple connections to different tomcat's? I can define three connectors connA connB and connC and apache is happy. If I deploy something with connA it works perfectly. If I comment out the connA deploy and deploy something with connB, connB

Re: getparameter

2001-10-04 Thread Michele Cerioni
Dmitri Colebatch wrote: how are you calling it? I literally cut and pasted it into a file (attached) in and saved it in the examples context of a normal install - worked fine. cheers dim I put the file in the correct directory and then I call it with the browser at the URL

Re: mod_webapp connector on linux - HELP!

2001-10-04 Thread James Williamson
Actually, I am not setting up virtual hosts like you are, so the mod_webapp result of application deployment *should* be localhost (what's set as my ServerName), right? David, You have to define your context(s) within VirtualHost directives. Regards, James My apache error_log looks

-- http 405, can not execute servlet

2001-10-04 Thread Sam
Hi everybody I can execute Servlet Exaxmple follow the command, http://localhost:8080/servlet/SnoopServlet I try to make a html file FORM ACTION=/servlet/SnoopServlet METHOD=post INPUT TYPE=SUBMIT VALUE=submit /FORM The Server can not accept the request. REPLY: (405 Server does not support

Performance.

2001-10-04 Thread Jacob FanChiang \(\)
What's the limited of users when using Apache-Tomcat. I need Apache-Tomcat to serve 500 users concurrently. Platform: RedHat Linux 7.1 Tomcat 4.0 Apache 1.2.30 Computer: IBM xSeries 230 RAM 512M Disk: 34G Raid 0 Jacob FanChiang Assoiciate Researcher Customer Care

RE: -- http 405, can not execute servlet

2001-10-04 Thread Paul Foxton
change the method in your form tag: FORM ACTION=/servlet/SnoopServlet METHOD=get -Original Message- From: Sam [mailto:[EMAIL PROTECTED]] Sent: 04 October 2001 11:04 To: [EMAIL PROTECTED] Subject: -- http 405, can not execute servlet Hi everybody I can execute Servlet

RE: -- http 405, can not execute servlet

2001-10-04 Thread Paul Foxton
By the way, check the URL displayed in your browser after the first unsuccessful request - you'll see the URL of the servlet, so when you refresh you send a new request directly to the servlet, which is by default a 'get' request instead of a 'post'. this is why it works when you refresh it.

Re: Unable to compile JSPs in Tomcat 4

2001-10-04 Thread Jiger Java
Hi all, Ok so finally I have been able to solve my Tomcat Problem. I am writing this for others to not waste 2 days in future.The Problem was related to Class Loading. Although I was setting javax.xml.parsers.* properties in catalina.bat my Utilities were working irrespetive of this

Re: Unable to compile JSPs in Tomcat 4

2001-10-04 Thread Jiger Java
One more thing, can Tomcat gurus explain what exactly is the way the Classloading of tomcat works, what was causing problem. In my case I had latest Xerces 1.4.3 in common/lib(for tomcat) in mycontext/WEB-INF/lib for my apps use. Why was it creating problem. Gurus please explain. Bye, Jiger

Re: Character decoding in form data

2001-10-04 Thread Laszlo Palmai
All of my jsp pages and forms in ISO8859-2 and starts like: %@ page contentType=text/html; charset=ISO-8859-2 % !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN html head titleIW2000/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-2 ... I have not only Windows

tomcat 4 rmi problem

2001-10-04 Thread manav
hi all, i am getting the following error any sol. plus why do i need web.xml file in earlier version i was not using that and what to right in web.xml. 2000-10-04 17:50:31 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception org.apache.jasper.JasperException: Unable to

Problem in solaris

2001-10-04 Thread Héctor Garcia Peris
Hello list, I'm using tomcat 3.2.3 with apache in a solaris 2.7. I have downloaded the source code of tomcat 3.2.3 and compile it in the solaris 2.7. I have other computer with tomcat in a debian linux. The version of tomcat is the binary file of the 3.2.2. The problem is that I have a servlet

RE: IIS and Tomcat 3.2.3 w isapi_redirect.dll, RC 200

2001-10-04 Thread Cox, Charlie
note the line: jk_open_socket, connect() failed errno = 61 it appears that your workers are not configured on the same port in workers.properties and server.xml Charlie -Original Message- From: Vara Prashanth [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 03, 2001 11:16 AM To:

Re: Problem in solaris

2001-10-04 Thread Alex Sanderson
Hello Hector Is the database running on the same machine as the tomcat engine? If they are not on the same machine are the two machines on the same network? Many routers/gateways etc.. will cut a tcp connection that has been inactive for a period of time. Oracle may also have a timeout for a

[tomcat3.2] some questions

2001-10-04 Thread Christian Ribeaud
Hi, I have been working for a few months with tomcat and I am very satisfied with it. I have been arrived at the point where I would like to understand this software more and I have got 3 questions: 1) I noticed that if you use ServletContext.setAttribute() in the servlet's init() function,

RE: [tomcat3.2] some questions

2001-10-04 Thread Randy Layman
-Original Message- From: Christian Ribeaud [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 04, 2001 8:56 AM To: [EMAIL PROTECTED] Subject: [tomcat3.2] some questions Hi, I have been working for a few months with tomcat and I am very satisfied with it. I have been

mod_webapp: Server name

2001-10-04 Thread Nikola Milutinovic
Hi all. I managed to compile mod_webapp.so on Tru64. Now, Apache bugs out if I don't specify ServerName. This works: -- LoadModule webapp_module libexec/mod_webapp.so AddModule mod_webapp.c IfModule mod_webapp.c ServerName

RE: Driver fails to load on two webapps

2001-10-04 Thread Brett Knights
Are all the sql related class files for each webapp in the respective webapps lib or classes directories? If not you might try that. (And if it works please report back.) HTH -Original Message- From: Brian Richards [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 03, 2001 9:54 PM

Tomcat 4.0 - HttpSessionListener lockup in sessionDestroyed()

2001-10-04 Thread Scott Ahten
I'm noticing some strange behaviour with a class that implements HttpSessionListener and is registered in my apps webapp.xml file as a listener. When I call session.getAttribute(xxx) on a session passed into sessionDestroyed() the thread seems to lock. I've simplified my class as a test case

Re: Odd exception

2001-10-04 Thread Brian Richards
Don't look too hard i assure you it's not the jsp but instead something to do with tomcat setup. -brian / index.jsp / %@ page import=java.io.*,java.util.*,java.sql.* % %! public final boolean debug=true; public final String propertiesPath =

RE: ## What is the different of keystore and keypass!?

2001-10-04 Thread pero
keypass is the passwort that protects entries in the keystore. for a normal tomcat ca this would be changeit -Original Message- From: Sam [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 04, 2001 9:05 AM To: [EMAIL PROTECTED] Subject: ## What is the different of keystore and

Re: Session Problems

2001-10-04 Thread Marco Schmalz
request.getSession().putValue(name1,value1); btw, the putValue()-method is deprecated since servlet2.2 you should use setAttribute(String key, Object value) instead. have a look at the javadoc. marco

Re: Driver fails to load on two webapps

2001-10-04 Thread Brian Richards
Yes all the classes are in the correct place I sent another email saying that I solved the problem by putting the db2java.jar ONLY in TOMCAT_HOME\lib instead of WEB-INF lib for each webapp. This takes care of the problem. The other think Ought to mention is that they both work fine seperately as

Can anyone please guide me with Tomcat4.0?

2001-10-04 Thread Jose Escobar
I just wanted to know if anyone could tell me how to configure tomcat to work for different Virtual Hosts on IIS. Also, what do I need to edit on the configuration files in order for it to work. Where to store the Servlets and JSP pages, etc. Thanx Jose

mod_webapp and binary contents

2001-10-04 Thread Ulrich Knecht
Hello, I'm currently trying to migrate my project from tomcat 3.2.3 to tomcat 4.0. We're using Apache 1.3.20 as frontend. So far we've used mod_jk with ajp13 to connect apache and tomcat. Our server is a Linux x86 machine running Suse 7.2, kernel 2.4.5. We're using jdk 1.3.1_01 from sun.

Tomcat NSAPI redirector and AJP13?

2001-10-04 Thread Wesley Gamble
All, Does the Netscape redirector for Tomcat 3.2.3 support ajp13? If so, are there binaries available or do I need to build the DLL myself? Thanks for any help, Wes Gamble [EMAIL PROTECTED]

Implementing a Certificate Authority server using Tomcat

2001-10-04 Thread hische
Hi all, Is there anybody who could point me in the right direction, when I would like to setup a certification process for issuing SSL client certificates to browsers, preferably using Tomcat standalone? I really appreciate any help on this, this area is quite new to me. - Wilko

Re: Problem in solaris

2001-10-04 Thread Héctor Garcia Peris
At 14:26 04/10/01 +0200, you wrote: Hello Hector Is the database running on the same machine as the tomcat engine? If they are not on the same machine are the two machines on the same network? Many routers/gateways etc.. will cut a tcp connection that has been inactive for a period of time.

Re: Problem in solaris

2001-10-04 Thread Alex Sanderson
Oracle probably has a connection time limit. Maybe you should shut the db connection when you are finished with it and reopen it when you need it again. If you are worried about performance then you should be using a database pool. Tomcat 4 comes with tyrex which can do that for you. -

missing mod_jk.conf-auto

2001-10-04 Thread Brett Crossley
I am running JBoss-2.4.1_Tomcat-3.2.3. The Tomcat server starts fine and works ok, but does not generate the mod_jk.conf-auto. For 3.2.3 the docs say you don't have to set any params to get this to work. Any ideas? I have a mod_jk.conf, but did not know if I needed to modify it. Also, I

Re: Problem in solaris

2001-10-04 Thread Héctor Garcia Peris
At 16:17 04/10/01 +0200, you wrote: Oracle probably has a connection time limit. Maybe you should shut the db connection when you are finished with it and reopen it when you need it again. If you are worried about performance then you should be using a database pool. Tomcat 4 comes with tyrex

Re: missing mod_jk.conf-auto

2001-10-04 Thread Craig Tataryn
Hi Brett, I asked this questions yesterday, except my system was Linux. Here is the answer I got: Brian Richards wrote: try running tomcat.sh run jkconf -brian So try going into your bin directory and running: tomcat.bat run jkconf Craig. Brett Crossley wrote: I am running

AW: mod_webapp and binary contents

2001-10-04 Thread Ralph Einfeldt
To find out if this is a pure tomcat problem or a problem of the connector you might try to use apj 13 with tc 4.0 as described in: http://jakarta.apache.org/~hgomez/ajp13-tc4.0/ I havn't tried it, so don't ask me about details. BTW.: Does PU, ParCo, Prompt mean something to you ? If not,

Urgent: Tomcat-3.2.3 doesn't compile pages jsp

2001-10-04 Thread Mapoteca Rio
Hi, I use Apache 1.3.12, jdk 1.3.1 , Tomcat 3.2.3 and mod_jk. When a running /host/examples/jsp/numberguess.jsp in port 8080 this aplication works and when I run in port 80, I see this page with the code. I think that tomcat doesn't compile this page. Can anyone help me? Thanks mapoteca-rio

RE: missing mod_jk.conf-auto

2001-10-04 Thread Brett Crossley
I tried tomcat.bat run jkconf, but it complains that 'run' is not a valid option: start screen print I:\JBoss-2.4.1_Tomcat-3.2.3\tomcat\bintomcat.bat run jkconf Including all jars in I:\JBoss-2.4.1_Tomcat-3.2.3\tomcat\lib in your CLASSPATH. Using CLASSPATH:

Re: Urgent: Tomcat-3.2.3 doesn't compile pages jsp

2001-10-04 Thread Sriram Narayanan
Umm.. perhaps that's apache returning the contents of the page ? I guess Tomcat's responding on port 8080, and Apache's respoding on port 80, and somehow Apache is not making use of Tomcat. Please have a look at the Apache console, and check whether the mod_jk has been loaded. Regards,

RE: AW: mod_webapp and binary contents

2001-10-04 Thread Ulrich Knecht
Hi Ralph, To find out if this is a pure tomcat problem or a problem of the connector you might try to use apj 13 with tc 4.0 as described in: http://jakarta.apache.org/~hgomez/ajp13-tc4.0/ I shall try that tomorrow. Meanwhile thanks for the hint. I thought, tomcat 4.0 just works with

Re: missing mod_jk.conf-auto

2001-10-04 Thread Craig Tataryn
Hey Brett, do you have IISConfig noRoot=true/ directive in your server.xml file? Craig. Brett Crossley wrote: I tried tomcat.bat run jkconf, but it complains that 'run' is not a valid option: start screen print I:\JBoss-2.4.1_Tomcat-3.2.3\tomcat\bintomcat.bat run jkconf Including all jars

Please help

2001-10-04 Thread Jose Escobar
Can anyone please tell me where to look for information or what document on jakarta's webpage to read for information on how to implement tomcat on iis. Thank You Jose

Writing to files from Servlets

2001-10-04 Thread Timothy Fisher
I have a servlet in which I save some data to a file. I open the file just using the file name, with no path information. By default, I notice the file is being put into the TOMCAT_HOME/bin directory. How can I change the default working directory to be that of the current web application?

AW: Please help

2001-10-04 Thread Dieter Kaltenbach
hi, here are two links depending on the tomcat version. http://jakarta.apache.org/tomcat/tomcat-3.2-doc/tomcat-iis-howto.html http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-iis-howto.html Dieter. -Ursprüngliche Nachricht- Von: Jose Escobar [mailto:[EMAIL PROTECTED]] Gesendet:

Re: Quick question?

2001-10-04 Thread Craig R. McClanahan
On Thu, 4 Oct 2001, James Turner wrote: Date: Thu, 4 Oct 2001 00:14:17 -0400 From: James Turner [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Quick question? Do you happen to know what directory Turbine tries to load TurbineResources.properties from if

RE: Netscape-tomcat redirector help

2001-10-04 Thread Sunil Thakker
Hi Wesley, What version of tomcat did u configure with netscape 6.0? I have downloaded and installed netscape 6.0 and now trying to install tomcat ... Thanks Sunil --- Wesley Gamble [EMAIL PROTECTED] wrote: Sunil, I successfully got Tomcat working with iPlanet 6.0 by using the

Re: Problem in solaris

2001-10-04 Thread Alex Sanderson
There is no specific time that tomcat will run the destroy method of a servlet. I am sorry but I do not know enough about oracle configuration to help you with connection timeouts in oracle. - Original Message - From: Héctor Garcia Peris [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: Tomcat 4.0 - HttpSessionListener lockup in sessionDestroyed()

2001-10-04 Thread Craig R. McClanahan
In order to avoid this problem report getting lost, *please* report it in our bug tracking system: http://nagoya.apache.org/bugzilla/ Craig McClanahan On Thu, 4 Oct 2001, Scott Ahten wrote: Date: Thu, 04 Oct 2001 10:14:21 -0400 From: Scott Ahten [EMAIL PROTECTED] Reply-To: [EMAIL

Re: Writing to files from Servlets

2001-10-04 Thread Alexandre Victoor
You can use the property tomcat.home to build an absolute path that correspond to your working directory. You can also try to use the static method Class.getLocation() Alex At 08:06 04/10/2001 -0700, you wrote: I have a servlet in which I save some data to a file. I open the file just using

RE: Driver fails to load on two webapps

2001-10-04 Thread Brett Knights
Sorry, I hadn't read your subsequent post. Are you using a connection pool? If so what happens when you try to use connections where you try to connect from each web app as a different user? Also what do you see when you set a LogWriter for the DriverManager? It should show you the drivers that

RE: missing mod_jk.conf-auto

2001-10-04 Thread Brett Crossley
I did not. I added it under the server tag, but it did not make a difference. Is that IIS as in Internet Information Server? (microsoft?) I am running apache. -Original Message- From: Craig Tataryn [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 04, 2001 10:53 AM To: [EMAIL PROTECTED]

How to develop custom user authentication for Tomcat based onSecurityCheck ?

2001-10-04 Thread Thierry Delaitre
Hello, We have developed a JSP based application based on tomcat 3.2.3. This application requires different level of administration and requires users to login. We would like to develop a custom authentication module for authenticating users against NIS login/password database. I've already

Multiple WEB-INF

2001-10-04 Thread Brent Johnson
I saw some posts in the mailing list archives about this but haven't really found the solution. I've got a development location and a staging location where I keep all my JSP files (and XML using Cocoon). I've then got virtual host entries for both sites. The problem is, I'd like to separate

Re: Tomcat 4.0 - HttpSessionListener lockup in sessionDestroyed()

2001-10-04 Thread pixel
Will do Being somewhat green to Tomcat and the new Servlet API, I just wanted to make sure I wasn't missing something obvious before officially considering this as a 'bug' Craig R. McClanahan wrote: In order to avoid this problem report getting lost, *please* report it in our bug

clientAuth problems

2001-10-04 Thread Phil Spencer
I'm having difficulty with client authorisation. Actually I suppose thse are two separate problems. Problem 1 = With tomcat 3.x (various versions) I can enable SSL without clientAuth and everything works fine. However when I enable clientAuth the web browser (Netscape Navigator 4.07)

Problem accessing servlets on Netscape

2001-10-04 Thread Kiran
Hi I'm pretty new to Tomcat and so would really appreciate some help. I have an application consisting of java servlets running on Apache/tomcat. It works fine on IE but when i try accessing the servlets from Netscape it brings up the contents of the original file! Can anyone please help me

Re: Chaning location of initial web page

2001-10-04 Thread Yoav Shapira
Hi, You can always use HTML or JSP forwarding, along the lines of: html head meta http-equiv=REFRESH content=0; URL=/miiq/index.html /head /html Or something like html head titleJSP Forwarder/title /head body jsp:forward page=/miiq/index.html /body /html Good luck, Yoav Ryan Brown wrote:

RE: Problem accessing servlets on Netscape

2001-10-04 Thread Phil Spencer
I had this problem once. In my case it turned out to be slightly incorrect syntax for a stylesheet. IE thought it was OK, Netscape belched. Try writing the offending page content to a file and opening it locally. A binary chop on the content of the file should isolate the problem quickly Phil

Changing Tomcat Port 8080

2001-10-04 Thread Benjamin Bostow
There is a confliced between programs on port 8080. I need to change Tomcat to listen to another port other than 8080. The other aplication requires Apache to use port 8080. Can anyone tell me how to change the port number that Tomcat uses?

RE: Changing Tomcat Port 8080

2001-10-04 Thread Brett Crossley
Look for the following in your server.xml file. That file will be in [TOMCAT_HOME]/conf Connector className=org.apache.tomcat.service.PoolTcpConnector Parameter name=handler value=org.apache.tomcat.service.http.HttpConnectionHandler/ Parameter name=port

Re: Changing Tomcat Port 8080

2001-10-04 Thread Héctor Garcia Peris
At 13:16 04/10/01 -0400, you wrote: There is a confliced between programs on port 8080. I need to change Tomcat to listen to another port other than 8080. The other aplication requires Apache to use port 8080. Can anyone tell me how to change the port number that Tomcat uses? Look at the

Re: clientAuth problems

2001-10-04 Thread Craig R. McClanahan
On Thu, 4 Oct 2001, Phil Spencer wrote: javax.servlet.ServletException: Class com.csfs.spencer.phil.GetRemoteUser is not a Servlet 99% of the time this is caused by having a servlet.jar or j2ee.jar file in your Java system extensions directory ($JAVA_HOME/jre/lib/ext). This messes up

RE: Driver fails to load on two webapps

2001-10-04 Thread Brett Knights
Might i try moving the jar to WEB-INF\classes instead of WEB-INF\lib ? Wouldn't work. Jars are only loaded from the lib directory. As you did I ended up with my driver jar file in a common directory (lib/common for tc3.3) I have a connection pool manager (bitmechanic) and I keep its jar in

Question

2001-10-04 Thread Jose Escobar
If I have a client that wants to run servlets, what do I need to do in order for his servlets to work? Thanx, Jose PD: I'm using Tomcat 4.0

still missing mod_jk.conf-auto

2001-10-04 Thread Brett Crossley
Still no luck. Does this work for everyone else when doing the default install? Am I looking for the mod_jk.conf-auto in the right place? I assumed it would just show up in my conf directory after the server started. I am starting Tomcat under JBoss, does that make a difference? [Brett Crossley]

jsp tools

2001-10-04 Thread Henry
sorry for a less relavant question: what tools are you using for writing jsp? i mean that does the graphics layout WISWIG way, also free of charge (does jakarta project has this kind of tool included?)

Re: Question

2001-10-04 Thread David Ward
Didn't you just answer your own question? ;) LOL! OK, on a more serious note, you should look into having your clients bundle their servlets into war files - it will make it much easier for you to manage. If you don't know what a war file is, you should probably read some documentation.

RE: Driver fails to load on two webapps

2001-10-04 Thread Craig R. McClanahan
On Thu, 4 Oct 2001, Brett Knights wrote: Date: Thu, 4 Oct 2001 09:57:08 -0700 From: Brett Knights [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: Driver fails to load on two webapps Might i try moving the jar to WEB-INF\classes instead of WEB-INF\lib

How to install tomcat 4.0 as Windows 2000 service?

2001-10-04 Thread andreas . spielvogel
Can anyone help me how to install tomcat 4.0 as service on windows 2000? Thanks Andreas Spielvogel

Problem with log directories

2001-10-04 Thread aaron . titus
I have set up a new context at the system path: /home/web/live_site Within this path I have created: conf/ webapps/ work/ logs/ It finds and autoloads the contexts under webapps, and writes the generated .conf files to the /home/web/live_site/conf directory, but the tomcat.log, jasper.log and

tomcat security

2001-10-04 Thread Henry
i am wondering if Tomcat has security features for its jsp/servlet so i don't need to do RSA encoding myself in taglibs...

Re: Driver fails to load on two webapps

2001-10-04 Thread Brian Richards
Thanks for all the replies I got from everyone. Some extra bits of information. I'm not using a connection pool in one application but I am using a pool in the other (Jive www.jivesoftware.com). I'm gonna try out the different scenrios and see if anything else works. I'll report my findings

Writing to .jhtml file

2001-10-04 Thread Kiran
Hello I have a pretty weird problem in here! I'm using Tomcat 3.2.2 with apache and my application is mostly Servlets. At one of the places i need to print some information to a .jhtml file but i'm unable to, using tomcat! The same thing was working pretty fine with Apache Jserv previously

Re: Urgent: Tomcat-3.2.3 doesn't compile pages jsp

2001-10-04 Thread Mapoteca Rio
Thanks, Sriram. I execute o apachectl status and verify that mod_jk has been loaded. Do you have another suggestion? att. mapoteca-rio --- Sriram Narayanan [EMAIL PROTECTED] wrote: Umm.. perhaps that's apache returning the contents of the page ? I guess Tomcat's responding on port 8080,

Re: How to install tomcat 4.0 as Windows 2000 service?

2001-10-04 Thread Will Stranathan
If you use the EXE version of the Tomcat installer, check the checkbox that says Install Tomcat as a Service. Will Stranathan On Thu, 4 Oct 2001 19:40:39 +0200 [EMAIL PROTECTED] wrote: Can anyone help me how to install tomcat 4.0 as service on windows 2000? Thanks Andreas Spielvogel

Re: Urgent: Tomcat-3.2.3 doesn't compile pages jsp

2001-10-04 Thread Jack Lauman
Try the following, your're 'server-info' report does not indicate that mod_jk is configured: Make sure you have something like the following the Apache httpd.conf file: Include /usr/java/tomcat/conf/mod_jk-auto.conf JkWorkersFile /usr/java/tomcat/conf/workers.properties JkLogFile

Re: Urgent: Tomcat-3.2.3 doesn't compile pages jsp

2001-10-04 Thread Mapoteca Rio
Hi, Jack I have had this configuration in files described. I have one solaris 2.8 with apache 1.3.12 and tomcat3.2.3 and mod_jk that works very well. But, in my client, with this same cofiguration, doesn't work. I have to go there tomorrow and i don't know what i can do. thanks mapoteca-rio

Re: Will tomcat sessions work with IE6?

2001-10-04 Thread Jonathan Eric Miller
- Original Message - From: Reynir Hübner [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 02, 2001 4:29 PM Subject: RE: Will tomcat sessions work with IE6? I´ve also made few tests on this, sessions are being created both when user is logged on and not. the only thing

Re: Will tomcat sessions work with IE6?

2001-10-04 Thread Jonathan Eric Miller
If you use the default privacy settings for IE6, it should work fine. As you noted, third party cookies are blocked by default. However, the cookie that Tomcat uses for session IDs isn't a third party cookie. Jon - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Help: JNDI InitialContext failure with Tomcat 3.2.3 and JBoss 2.4.1

2001-10-04 Thread Alistair Bayley
[ Sent this once already but it didn't appear on the list so here we go again... ] I'm getting this in my tomcat.log when creating the jndi InitialContext: javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory. Root exception is

  1   2   >