Re: ?? JSP and request.getPathInfo() in Tomcat ??

2002-08-16 Thread Craig R. McClanahan
On Thu, 15 Aug 2002, Tony LaPaso wrote: > Date: Thu, 15 Aug 2002 23:02:57 -0500 > From: Tony LaPaso <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat User <[EMAIL PROTECTED]>, > JSP Users <[EMAIL PROTECTED]> > Subject: ?? JSP and request.getPathInfo() in To

Re: Root Context Problem

2002-08-16 Thread Craig R. McClanahan
On Fri, 16 Aug 2002, Taral Shah wrote: > Date: Fri, 16 Aug 2002 09:36:23 +0530 > From: Taral Shah <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]>, > Taral Shah <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]>, > Josh <[EMAIL PROTECTED]> > Subject:

Re: Action before doGet / doPost??

2002-08-16 Thread Craig R. McClanahan
On Fri, 16 Aug 2002, Nikola Milutinovic wrote: > Date: Fri, 16 Aug 2002 07:18:38 +0200 > From: Nikola Milutinovic <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]>, > Josh <[EMAIL PROTECTED]> > Subject: Re: Action before doGet

Re: Root Context Problem

2002-08-16 Thread Taral Shah
You may be right but then as I wrote in the mail if i send request as http:///network/cgi/tjs/myexe.exe?abc then it works, loads dll and displays the data. and if i send request as http:///cgi/tjs/myexe.exe?abc then it gives error. So i think its something with configuration problem for tomcat.

Re: Connection pools mystery

2002-08-16 Thread Craig R. McClanahan
On Fri, 16 Aug 2002, Howard Miller wrote: > Date: Fri, 16 Aug 2002 07:20:42 +0100 > From: Howard Miller <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: Connection pools mystery > > Hi, > > I am new(ish) to struts

Re: Can't find the filter class :(

2002-08-16 Thread Craig R. McClanahan
On Fri, 16 Aug 2002, Josh wrote: > Date: Fri, 16 Aug 2002 16:47:44 +1000 > From: Josh <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]>, > Josh <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Can't find the filter class :( > > I've got this in

Re: Root Context Problem

2002-08-16 Thread Craig R. McClanahan
On Fri, 16 Aug 2002, Taral Shah wrote: > Date: Fri, 16 Aug 2002 13:08:23 +0530 > From: Taral Shah <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]>, > Taral Shah <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: Root Context Problem > > You

RE: Checking Tomcat's Memory

2002-08-16 Thread JensStutte
That's true, the adress space for each Win32 process is limited to 2GB (same on Linux? I would assume yes for the same processor architecture, but i do not know it). Another hint: If your applications are compatible with jdk 1.3, try out the IBM jdk. For me it works more stable and performant tha

HTTP Status 500 - Internal Server Error

2002-08-16 Thread Vishal Mukherjee
Hi all, Having deployed Tomcat 4.0.4 in IIS 4.0 When I try to run a java bean program I get following error. * testbean.jsp ** <%@ page language="Java" import="java.sql.*" session="true" %> <%@ page import="java.util.*" %> <% Connection con=null; out.p

Re: Reuse IIS SSL certificate and private key

2002-08-16 Thread Ben Walding
Thawte has information on this at http://www.thawte.com/html/SUPPORT/server/using.html It's not guaranteed to work, but it's better than forking out another $300US. Jeffrey Yip wrote: >I am switching from using IIS web server with SSL to Tomcat. Could I reuse >the SSL certificate and privat

Re: AW: [DEBIAN, TOMCAT4 & MOD_PROXY]

2002-08-16 Thread falkom
but the docs says mod_jk doesnt run in tomcat4 - Mensaje Original - Remitente: "Ralph Einfeldt" <[EMAIL PROTECTED]> Fecha: Viernes, Agosto 16, 2002 9:18 am Asunto: AW: [DEBIAN, TOMCAT4 & MOD_PROXY] > You can just use the mod_jk from Tomcat 3.3. for tomcat 4. > > > -Ursprüngliche Nac

Re: Root Context Problem

2002-08-16 Thread Taral Shah
but suppose my two different servlets needs to load the library then what should i do. Also the same question stays there, Why am I able to execute the code if i write the context path in url(I mean i am able to load the dll second time) Also there isnt any method to unload the dll(as far as I kno

AW: AW: [DEBIAN, TOMCAT4 & MOD_PROXY]

2002-08-16 Thread Ralph Einfeldt
Where ? Quote from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4/: NOTE: AJP 1.3 native connectors binaries for Tomcat 3.2 and 3.3 are fully compatible with Tomcat 4.0 AJP 1.3 connector. The AJP 1.3 connector also supports load balancing and auto configuration. > -U

Re: Block a dir to not display its content

2002-08-16 Thread D Bamud
Ok It worked. I was trying inside /WEB-INF/web.xml. I guess it is also possible for application level ie only for a given web application??? What I need to do so that when 404 tomcat message need to be displayed by tomcat it instead show my common 404.html file where I have my contents to show t

Re: Coyote Connector

2002-08-16 Thread D Bamud
Make sure that jkjni.dll (libjkjni.so on Unix) is accessible (ie are there in path). -- - Original Message - From: "Isabel Lameda" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 14, 2002 10:16 PM Subject: Coyote Connector Does anybody knows how to use the Coyote C

Illegal target of jump or branch

2002-08-16 Thread Mark Goking
hi all, what do you think of this problem Illegal target of jump or branch i dont know what's wrong with this because my other codes are working fine and there's a portion of my code that is the cause of this error. what baffles me is that if i take this out, it works fine. but my the other

Re: Testing session time-out behaviour

2002-08-16 Thread Ben Walding
Although it isn't session timeout specifically, couldn't you just invalidate (invalidate() method on session object) the session by going to a specific url - eg servlet Would that emulate the behaviour you are trying to achieve? Craig R. McClanahan wrote: >On Thu, 15 Aug 2002 [EMAIL PROTECTED

404 Not found - howto

2002-08-16 Thread Rum Pel
Can a servlet produce a "404 Page Not found" error? It seems to me that it is the webserver/appserver that should do this, but I want it in the context of outputting static content via a servlet: http://localhost:8080/webapp/wsdl?ws=name should give a 404 error in case ws=name is not found. than

Re: AW: AW: [DEBIAN, TOMCAT4 & MOD_PROXY]

2002-08-16 Thread falkom
debian doc configuration - Mensaje Original - Remitente: "Ralph Einfeldt" <[EMAIL PROTECTED]> Fecha: Viernes, Agosto 16, 2002 10:44 am Asunto: AW: AW: [DEBIAN, TOMCAT4 & MOD_PROXY] > Where ? > > Quote from > http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4/: > > NOTE

Persistent Connection

2002-08-16 Thread Taral Shah
I am using tomcat 3.3 Now I am calling one jsp which loads an applet, internally that applet uses url connection to fetch data. Now problem is that when i check with netstat application(its inbuilt in win nt, run through netstat -n) I came to know tomcat opens no of connections and keep them in T

AW: AW: AW: [DEBIAN, TOMCAT4 & MOD_PROXY]

2002-08-16 Thread Ralph Einfeldt
I don't know which version mod_jk is delivered with debian. You may have to download the binaray from http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1/bin/linux /i386/ > -Ursprüngliche Nachricht- > Von: falkom [mailto:[EMAIL PROTECTED]] > Gesendet: Freitag, 16. August 2002

Re: AW: AW: AW: [DEBIAN, TOMCAT4 & MOD_PROXY]

2002-08-16 Thread falkom
Ok, viele dank! Thank you very very much. I see it. ángel - Mensaje Original - Remitente: "Ralph Einfeldt" <[EMAIL PROTECTED]> Fecha: Viernes, Agosto 16, 2002 11:45 am Asunto: AW: AW: AW: [DEBIAN, TOMCAT4 & MOD_PROXY] > I don't know which version mod_jk is delivered with debian. > >

Run Tomcat as tomcat user

2002-08-16 Thread Urtzi Larrazabal
Hi ! I am trying to run tomcat as tomcat user. When I start it, it seems to start without any problem. I execute some jsp and it works fine but when I execute a page tha require to connect to mysql database it cant't connect to the database and an empty log named something like DCB_1029483253

Strange Tomcat behavior during authentification

2002-08-16 Thread Piroumian Konstantin
Hi! I am developing an application using FORM-based authentification and JDBCReal from Tomcat 4.0.3 (and Tomcat 4.0.4 also checked). Two problems occure: 1. Authenticating with wrong role never allows to re-login again. When user tries to login with correct username/password, but not isUserInRo

RE: Run Tomcat as tomcat user

2002-08-16 Thread Andy Eastham
Urtzi, You need to grant access to the tomcat user. See the section in the GRANT command in the mysql manual (available online at the www.mysql.com site). By default, root can connect without a password, but other users need to be granted access. You'll need to execute something like: GRANT ALL

hi all

2002-08-16 Thread Mark Goking
hi this is my error, and im using jakarta standard tag libs System Replied: javax.servlet.ServletException: (class: org/apache/jsp/caselist$jsp, method: _jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V) Illegal target of jump or branch

RE: Run Tomcat as tomcat user

2002-08-16 Thread Urtzi Larrazabal
Hi Andy ! Thanks for your response. I have created a user named tomcat in mysql and I have granted acccess but...I haven't created any password for this user, is necesary a password?? Urtzi -Original Message- From: Andy Eastham [mailto:[EMAIL PROTECTED]] Sent: viernes 16 de agosto de

Re: hi all

2002-08-16 Thread Capr1ce
I found this. It seems to explain what the problem is... Dont know if it's much help though http://forum.java.sun.com/thread.jsp?forum=54&thread=171841 At 06:45 PM 16/08/2002 +0800, you wrote: >hi this is my error, and im using jakarta standard tag libs > >System Replied: >javax.servlet.Servle

Releases not being signed any more?

2002-08-16 Thread Graham Chapman
I see that Tomcat binary releases after 3.3.1 do not have accompanying digital signatures from the developers. I have scoured the mailing list archives and FAQ's and I can't see where the signatures have been moved or why they are not there. Are they there where I haven't looked, or has the re

RE: Run Tomcat as tomcat user

2002-08-16 Thread Capr1ce
A password is not necessary, but certainly recommended. See these sections of the mysql documentation: http://www.mysql.com/doc/en/GRANT.html http://www.mysql.com/doc/en/Adding_users.html At 12:31 PM 16/08/2002 +0200, you wrote: >Hi Andy ! > >Thanks for your response. > >I have created a user

RE: hi all

2002-08-16 Thread Mark Goking
capr1ce yyou are right. ur url stated that The spec of the JVM states in ý 4.10: * The amount of code per non-native, non-abstract method is limited to 65536 bytes Given that JSPs are compiled into java class methods, the length of a single JSP page is limited my compiled jsp page rea

RE: Run Tomcat as tomcat user

2002-08-16 Thread Urtzi Larrazabal
¿the unix tomcat user and the mysql tomcat user must have the same password? -Original Message- From: Capr1ce [mailto:[EMAIL PROTECTED]] Sent: viernes 16 de agosto de 2002 12:40 To: Tomcat Users List Subject: RE: Run Tomcat as tomcat user A password is not necessary, but certainly reco

RE: Run Tomcat as tomcat user

2002-08-16 Thread Capr1ce
No they don't need to have the same password. When your JSP/Java code connects to the MySql database using JDBC, you should use the mysql user to connect. At 12:48 PM 16/08/2002 +0200, you wrote: >¿the unix tomcat user and the mysql tomcat user must have the same password? > >-Original Mes

ClassCastException Error

2002-08-16 Thread Vishal Mukherjee
Hi all, Having deployed Tomcat 4.0.4 in IIS 4.0 When I try to run a java bean program I get following error. * testbean.jsp ** <%@ page language="Java" import="java.sql.*" session="true" %> <%@ page import="java.util.*" %> <% Connection con=null; out.p

ClassCastException Error

2002-08-16 Thread Vishal Mukherjee
Hi all, Having deployed Tomcat 4.0.4 in IIS 4.0 When I try to run a java bean program I get following error. * testbean.jsp ** <%@ page language="Java" import="java.sql.*" session="true" %> <%@ page import="java.util.*" %> <% Connection con=null; out.p

RE: Run Tomcat as tomcat user

2002-08-16 Thread Urtzi Larrazabal
Let me Understand, To run tomcat as tomcat user and be able to connect to mysql thought JDBC I need: On my unix machine have a user named tomcat which runs tomcat. On mysql have other user named tomcat. And the connection thought JDBC must be done with the user and password created in mysql.

Re: WebApp ADMIN + TomCat 4.1.9

2002-08-16 Thread Luiz Ricardo
Hi, I am sorry, the translated message is: "The system cannot find the specified file". A note, the file is right there. Luiz Ricardo - Original Message - From: "Craig R. McClanahan" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, August 15, 2002 6:37 PM S

RE: Run Tomcat as tomcat user

2002-08-16 Thread Capr1ce
Nearly... The mysql user can be called anything you want. I usually have a user set up in MySql specifically for Java called 'javaUser'. I give them select, insert, delete and update privileges. The UNIX mysql user is very separate than the mysql users. You shouldn't need to do anything with

Re: WebApp ADMIN + TomCat 4.1.9

2002-08-16 Thread Remy Maucherat
Luiz Ricardo wrote: > Hi, > > I am sorry, the translated message is: "The system cannot find the specified > file". A note, the file is right there. Then you need to make sure that the temp directory exists (in %CATALINA_HOME% or %CATALINA_BASE% if you're using it). The default install (all di

Re: WebApp ADMIN + TomCat 4.1.9

2002-08-16 Thread Luiz Ricardo
Worked it out, I created a temp directory at my CATALINA_HOME and 'bingo'. But this directory was not created when I installed Tomcat 4.1.9. I installed the package jakarta-tomcat-4.1.9-LE-jdk14.tar.gz in a machine Windows maybe this package is recommended to Unix machines. Thanks. Luiz Ricardo

RE: Run Tomcat as tomcat user

2002-08-16 Thread Urtzi Larrazabal
My situation is: -Tomcat running as tomcat user. -JDBC connection thought a mysql user with a especific privileges in a database. then why ? If I run tomcat as root the connection to mysql can be done. If I run tomact as tomcat user the connection to mysql can't be done.

RE: tomcat + apache

2002-08-16 Thread Turner, John
http://www.johnturner.com/howto/apache-tomcat-howto.html John Turner [EMAIL PROTECTED] -Original Message- From: non sense [mailto:[EMAIL PROTECTED]] Sent: Friday, August 16, 2002 2:26 AM To: Tomcat Users List Subject: tomcat + apache Hi, i'm new on this, i just installed tomcat, 4.1

RE: Still can't get Apache to forward to Tomcat

2002-08-16 Thread Turner, John
The workers.properties file, normally found in CATALINA_HOME/conf/jk (at least that is where it ended up on my system). John Turner [EMAIL PROTECTED] -Original Message- From: Koes, Derrick [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 15, 2002 5:01 PM To: 'Tomcat Users List' Subject

RE: Connection pools mystery

2002-08-16 Thread Turner, John
Yes, the pools are individual to the app, but why on earth would you want to give system-level configuration permission to general users? That's asking for trouble, big time. In a hosted situation, you NEVER want to give access to server.xml, that's the whole point!!! The way it is set up seem

RE: Reuse IIS SSL certificate and private key

2002-08-16 Thread Turner, John
Assuming your certificate has been exported correctly from IIS, you can use the keytool utility to import the certificate. I think it would be something like: keytool -import -alias root -trustcacerts -file -keystore Your mileage may vary...I don't work with IIS, so I can't say for sure what

RE: Root Context Problem

2002-08-16 Thread Cox, Charlie
> -Original Message- > From: Taral Shah [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 16, 2002 4:32 AM > To: Tomcat Users List > Subject: Re: Root Context Problem > > > but suppose my two different servlets needs to load the > library then what > should i do. put the class that l

RE: where can i download request taglib

2002-08-16 Thread Turner, John
http://jakarta.apache.org/taglibs/index.html Click the library you want on the left-hand side. Every library-specific page has a download link. For the request taglib, it's: http://jakarta.apache.org/builds/jakarta-taglibs/releases/request/ (release) http://jakarta.apache.org/builds/jakarta-t

RE: Reuse IIS SSL certificate and private key

2002-08-16 Thread Turner, John
Yes, you can re-use it. You will need to export from IIS, then create a keystore using the keytool utility and import the certificate using keytool -import [some options]. I think IIS will export a .pfx file. I'm not sure if keytool will import that or not, I haven't had time to play with it t

Re: WebApp ADMIN + TomCat 4.1.9

2002-08-16 Thread Remy Maucherat
Luiz Ricardo wrote: > Worked it out, I created a temp directory at my CATALINA_HOME and 'bingo'. > But this directory was not created when I installed Tomcat 4.1.9. I > installed the package jakarta-tomcat-4.1.9-LE-jdk14.tar.gz in a machine > Windows maybe this package is recommended to Unix machi

RE: Newbie questions

2002-08-16 Thread Jim Marnell
Saravanan, Unfortunately the first link you sent me (web.xml.txt) cannot open with my browser. Can you cut& paste and send me the relevant parts on how to code the web.xml file for my app? Thanks again! J Saravanan Bellan wrote:http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/web.

RE: 404 Not found - howto

2002-08-16 Thread Shapira, Yoav
Hi, You can do it a number of ways, which have varying levels of elegance and container-independence. Perhaps the simplest way is to say, in pseudo code: if(wsName not found) response.sendRedirect(http://aURLOnMyServerThatIKnowIs404); You can also try simply setting the response code to 404

Fw: Still can't get Apache to forward to Tomcat

2002-08-16 Thread Kenny G. Dubuisson, Jr.
Do you know if this configuration works with Oracle 9i? I've tried everything 'cept standing on my head to get my other config to work so now I'm gonna try this one that you suggest. Thanks for all the feedback, Kenny - Original Message - From: "Robert L Sowders" <[EMAIL PROTECTED]> To:

RE: Illegal target of jump or branch

2002-08-16 Thread Shapira, Yoav
Hi, >Illegal target of jump or branch > >i dont know what's wrong with this because my other codes are working fine >and there's a portion of my code that is the cause of this error. what >baffles me is that if i take this out, it works fine. but my the other >parts of my code which look the same

Hello

2002-08-16 Thread Brian Orledge
Hello, Still having problems connecting Apache2 to Tomcat4 on Linux. I have seen the help on Apache1.3 but the mod_jk.so file build is not compatible with Apache2. Can anyone out there PLEASE post some links or docs on Apache2-Tomcat4. Muchas Gracias Brian Orledge

RE: OutOfMemory Error

2002-08-16 Thread Patrick Codere
But i'm still lost here. If my Standalone tomcat crashes because of outofmemory problem, does that mean i need to change the heap size by changing the heap size with all the classes in my webapp like this : java -Xms128m -Xmx256m AllMyClasses Could that solve the problem? And

RE: OutOfMemory Error

2002-08-16 Thread andre . powroznik
Please, how large are your pictures? Are they directly served by Tomcat? Do you have other JSP / servlets running? How many clients or requests does it take to crash? -Original Message- From: Patrick Codere [mailto:[EMAIL PROTECTED]] Sent: 16 August 2002 3:43 PM To: 'Tomcat Users List' S

RE: Post 4.1.8 install

2002-08-16 Thread Andrew
You also need the J2SE SDK installed, and the JAVA_HOME environmental variable should point to the root of that directory. Finally, your path should also include %JAVA_HOME%\bin - Andrew > -Original Message- > From: Robert Dunn [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 16, 2002

Apache2 / Tomcat4

2002-08-16 Thread Brian Orledge
Hello, Still having problems connecting Apache2 to Tomcat4 on Linux. I have seen the help on Apache1.3 but the mod_jk.so file build is not compatible with Apache2. Can anyone out there PLEASE post some links or docs on Apache2-Tomcat4. Muchas Gracias Brian Orledge

RE: OutOfMemory Error

2002-08-16 Thread Patrick Codere
Have two Tomcat Webapps for my site. One is the site (www.motovan.com) with a few servlets (mostly to set language locale) and jsp pages. This webapp connects to another webapp containing a few online catalogs with thousands of pages. Each page is a jpeg file of around 70kb. People can

RE: Apache2 / Tomcat4

2002-08-16 Thread Andrew
Here are some useful links Mod_jk.dll -> http://www.acg-gmbh.de/mod_jk/ Directions to installing -> http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html More directions -> http://www.galatea.com/flashguides/apache-tomcat-24-win32.xml - Andrew > -Original Message- > From: B

RE: OutOfMemory Error

2002-08-16 Thread andre . powroznik
Please, what is your configuration (hardware, os, software installed, web applications running...)? -Original Message- From: Patrick Codere [mailto:[EMAIL PROTECTED]] Sent: 16 August 2002 3:55 PM To: 'Tomcat Users List' Subject: RE: OutOfMemory Error Have two Tomcat Webapps for

RE: can't find mod_jk.conf

2002-08-16 Thread Murray Cumming
On Thu, 2002-08-15 at 18:55, Turner, John wrote: > > The only thing you need in your httpd.conf, if you are using Tomcat's > "autogen" function for mod_jk.conf, is this line: > > Include /usr/local/jakarta-tomcat-4.0.4/conf/auto/mod_jk.conf Isn't that the whole point of the original message? I

jspCompilerPlugin in Tomcat 4.1.x

2002-08-16 Thread Holger Brozio
Hi, is the jspCompilerPlugin init parameter still available in tomcat 4.1.x? It is still described in the global web.xml file as init parameterof the jspServlet. But when i take a look in the jasper compiler package, the interface org.apache.jasper.compiler.JavaCompiler and the classes org.apache

RE: OutOfMemory Error

2002-08-16 Thread Patrick Codere
my configuration is - hardware/os : 1 processor P3 550 Mhz, 512m ram, NT 4, Tomcat Standalone, 2 webapplications (web site and catalogs for website). Pat -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, August 16, 2002 9:56 AM To: [EMAIL PROTECTED] Subj

RE: OutOfMemory Error

2002-08-16 Thread andre . powroznik
Please, what JVM? No SQL server? Is the search engine a commercial product? Do you have a log? -Original Message- From: Patrick Codere [mailto:[EMAIL PROTECTED]] Sent: 16 August 2002 4:13 PM To: 'Tomcat Users List' Subject: RE: OutOfMemory Error my configuration is - hardware/os : 1 pr

RE: OutOfMemory Error

2002-08-16 Thread Patrick Codere
Sorry, JVM sun j2sdk, Have some jsp pages that connect to mysql database. Search engine is Java Search Engine (freeware). About a log, i don't think so. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, August 16, 2002 10:05 AM To: [EMAIL PROTEC

RE: can't find mod_jk.conf

2002-08-16 Thread Turner, John
My reply was simply to point out that in an ideal situation, there is no need to put any mod_jk-specific directives into httpd.conf. I don't use RPMs, as a personal preference. I can't tell you for sure one way or the other why your setup doesn't work. I can only tell you that I built apache 1

RE: OutOfMemory Error

2002-08-16 Thread andre . powroznik
Please, you may find logs in the tomcat directory\logs. Here could be stack traces, access logs... A lot of things very useful to investigate. A few JSPs and some pictures shouldn't cause an outofmemoryexception (at least in my opinion). I'm sorry but I must leave my work now... Try investigati

web app with 2.3 dtd enforced

2002-08-16 Thread Dinesh Khetarpal
I am not able to deploy my webapp because tomcat say web.xml file should have all of following elements PARSE error at line 209 column 11 org.xml.sax.SAXParseException: The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter* ,filter

RE: OutOfMemory Error

2002-08-16 Thread Patrick Codere
Thanks for your help, I'll check the log files and try and find something. PAt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, August 16, 2002 10:15 AM To: [EMAIL PROTECTED] Subject: RE: OutOfMemory Error Please, you may find logs in the tom

RE: web app with 2.3 dtd enforced

2002-08-16 Thread Shapira, Yoav
Hi, You probably have a web.xml file written to the 2.2 DTD. Tomcat 4.x strictly enforced the servlet spec 2.3 DTD for the web.xml files. You see the complete docs if you download the 2.3 spec from java.sun.com/servlets and look at chapter 13. If you post your web.xml file, we can sort if out f

RE: OutOfMemory Error

2002-08-16 Thread Dinesh Khetarpal
I just need help on web.xml file could you tell me how to make web.xml which does not have all the dtd elements run in tomcat4 + -Original Message- From: Patrick Codere [mailto:[EMAIL PROTECTED]] Sent: Friday, August 16, 2002 10:37 AM To: 'Tomcat Users List' Subject: RE: OutOfMemory Error

RE: OutOfMemory Error

2002-08-16 Thread Turner, John
You can't. Tomcat 4 strictly enforces the web.xml DTD. There's no way around it. Add the missing elements (not all are required) to your web.xml, according to the DTD. John Turner [EMAIL PROTECTED] -Original Message- From: Dinesh Khetarpal [mailto:[EMAIL PROTECTED]] Sent: Friday, Augu

Apache won't start with LoadModule included

2002-08-16 Thread Kenny G. Dubuisson, Jr.
I've now rebuilt my server again this time trying JSDK 1.4.0, Apache 2.0.40, Tomcat 4.1.9 LE, and mod_jk2 (the latest version of each). Everything works individually but when I add the LoadModule directive for mod_jk2 in Apache's config file, Apache won't start. I get a error dialog box stating

RE: Apache won't start with LoadModule included

2002-08-16 Thread Turner, John
It is possible to do what you are doing, and many people have done it. How-To resources have been posted. All due respect, but perhaps you would have more success taking a couple steps back from the bleeding edge and using components that are 1) proven and 2) not beta. Both mod_jk2 and tomcat 4

RE: Apache won't start with LoadModule included

2002-08-16 Thread Andrew
Hey Kenny, Sounds like you are having a tough time with jk2. Here's how I did it. http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg59593.html - Andrew > -Original Message- > From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 16, 2002 10:33 AM

RE: web app with 2.3 dtd enforced

2002-08-16 Thread Andrew
Hey Dinesh, Send your web.xml file. Maybe I can spot the problem. - Andrew > -Original Message- > From: Dinesh Khetarpal [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 16, 2002 10:20 AM > To: [EMAIL PROTECTED] > Subject: web app with 2.3 dtd enforced > > > I am not able to deplo

Fw: Apache won't start with LoadModule included

2002-08-16 Thread Kenny G. Dubuisson, Jr.
Thanks John. I agree with what you posted; I was following advice from another "lister" on the bleeding edge items. My question for you is do you have an installation/config doc for Apache 1.3, Tomcat 4.0, and mod_jk? Thanks, Kenny - Original Message - From: "Turner, John" <[EMAIL PROTE

RE: web app with 2.3 dtd enforced

2002-08-16 Thread Dinesh Khetarpal
Thanks Guys.. for the help I didn't have all the servlet-mapping after servlet. I had servlet then servlet-mapping then servlet and its mapping and so on..very well appreciated.. dinesh -Original Message- From: Andrew [mailto:[EMAIL PROTECTED]] Sent: Friday, August 16, 2002 10:45 AM To: '

RE: Apache won't start with LoadModule included

2002-08-16 Thread Turner, John
For apache2, mod_jk2, tomcat 4.1.x on Win32: ftp://pokey.wr.usgs.gov/pub/rsowders/Apache2_Win2k_TC4.1.8_JSDK1.4.doc For apache, mod_jk, tomcat 4.0.x on Win32, I don't have any resources bookmarked. Everyone seems to be grabbing apache 2 or IIS on Windows. For apache 1.3.26, tomcat 4.0.4, AJP13

Re: Run Tomcat as tomcat user

2002-08-16 Thread David Cassidy
Urtzi Exactly what error message are you getting in the tomcat logs ? David Urtzi Larrazabal wrote: > >My situation is: > -Tomcat running as tomcat user. > -JDBC connection thought a mysql user with a especific privileges in a >database. > >then why ? > >If I run tomcat as root t

Re: Root Context Problem

2002-08-16 Thread David Mossakowski
You should load the library once in init and put it into servlet context so that for each subsequent request you will use the loaded library. d. Taral Shah wrote: > but suppose my two different servlets needs to load the library then what > should i do. > Also the same question stays there, Why

Fw: Apache won't start with LoadModule included

2002-08-16 Thread Kenny G. Dubuisson, Jr.
Everyone keeps pointing to this document ftp://pokey.wr.usgs.gov/pub/rsowders/Apache2_Win2k_TC4.1.8_JSDK1.4.doc , yet some of it is incorrect unless I'm just completely mis-reading it: Issues with that document: 1) It say's add a JAVA_HOME variable pointing to where it installed the JRE which wou

RE: can't find mod_jk.conf

2002-08-16 Thread Murray Cumming
On Fri, 2002-08-16 at 15:11, Turner, John wrote: > I posted a How-To at > http://www.johnturner.com/howto/apache-tomcat-howto.html that details, step > by step, exactly how I built my system. I've received comments via email > from several people that say it worked for them...any comments or > sug

RE: Hello

2002-08-16 Thread David Oxley
Here's a script to install tomcat with apache2. You'll need to modify it quite a bit for your particular box. http://www.daveoxley.co.uk/scripts/new-tomcat.sh Dave. > -Original Message- > From: Brian Orledge [mailto:[EMAIL PROTECTED]] > Sent: 16 August 2002 14:16 > To: [EMAIL PROTECTED]

getRemoteUser() reset to null after authenticated user hits anunauthorized page

2002-08-16 Thread Scott Dayberry
I am using form-based authentication under Tomcat 3.2.3. I have 3 security-constraint sections in web.xml for 3 different user roles. If an already authenticated user selects a page to which he is not authorized, he is redirected to the form-error-page (I thought this should be a 403-Forbidden er

Security Constraint in web.xml

2002-08-16 Thread Kevin Andryc
I was wondering how I can only protect certain classes in my application. For example, if someone tries to access a servlet (i.e.: http://localhost:8080/test/servlet/foo) then a login page comes up and the person has to sign in. But, if the person tries to access a different servlet (i.e.: http://

Re: Security Constraint in web.xml

2002-08-16 Thread V. Cekvenich
There is a sample basicPortal.sourceforge.net that does this, you can look at source code... and there is deployment docs. v. Kevin Andryc wrote: > I was wondering how I can only protect certain classes in my application. > For example, if someone tries to access a servlet (i.e.: > http://local

crimson or xmlParserAPIs and xercesImpl

2002-08-16 Thread Dinesh Khetarpal
In 3.3 tomcat I have crimson in my web-inf/lib and it is dynamically loaded, in 4.x I have to remove crimson and put two(xmlPar.. and xercesImpl). In 3.3 xmlPar and xercesI.. does not work. I am confused .. -Original Message- From: Scott Dayberry [mailto:[EMAIL PROTECTED]] Sent: Friday, A

No such file or directory: Error while opening the workers- was 'can't find mod_jk.conf'

2002-08-16 Thread Scott Adamson
I get the following error in apache/conf/error_log [Sat Aug 17 02:07:28 2002] [emerg] (2)No such file or directory: Error while opening the workers - Original Message - From: "Turner, John" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Friday, August 16, 2002

Where are the connector binaries???

2002-08-16 Thread Peter Alvin
I'm looking in: http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/ v1.2.0/bin/linux/i386/ and I can't find _any_ binaries for release, nightly, or rpms. All the directories seem to be EMPTY. Does anyone know where to find the current connector binaries? Pete -- To unsu

Realms advise.

2002-08-16 Thread Alexander Wallace
Not being experienced with realms I want to ask for your advece, will this work? I need to validate not only username and password, but one extra field (an integer, OfficeID). This is becouse my webapp can service users from different offices, and each office has it's own set of users and data. I

RE: Checking Tomcat's Memory

2002-08-16 Thread Marinko, Jeff
The box has 4GB of memory, and we can vary the swap space. Tomcat essentially can get as much memory as it wants, but the highest I've been able to set the JVM is -Xmx1600m, anything higher and it complains (error message was in a previous e-mail). Although I think you are correct, on Win32, 2GB

Re: WebApp ADMIN + TomCat 4.1.9

2002-08-16 Thread Craig R. McClanahan
On Thu, 15 Aug 2002, Luiz Ricardo wrote: > Date: Thu, 15 Aug 2002 15:58:18 -0300 > From: Luiz Ricardo <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat-User List <[EMAIL PROTECTED]> > Subject: WebApp ADMIN + TomCat 4.1.9 > > Hi, > > I am trying to run the webapp

Apache 1.3.20 + Tomcat + (mod_jk or mod_webapp) for SuSE 7.3 Linux?

2002-08-16 Thread Peter Alvin
Has anyone configured Tomcat for SuSE Linux? I'm desperate for some help and would even be willing to PAY someone to help me get Tomcat running on SuSE. Does anyone have instructions or binaries for SuSE Tomcat or connectors? Pete -- To unsubscribe, e-mail: For ad

Re: 404 Not found - howto

2002-08-16 Thread Craig R. McClanahan
On Fri, 16 Aug 2002, Rum Pel wrote: > Date: Fri, 16 Aug 2002 05:05:47 -0400 > From: Rum Pel <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: 404 Not found - howto > > > Can a servlet produce a "404 Page Not found" error? It seems to me > t

RE: Where are the connector binaries???

2002-08-16 Thread Turner, John
The mod_jk binaries for Linux are here: http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1/bin/linux/i38 6/ They are compatible with tomcat 4. That said, compiling them from source is a piece of cake. John Turner [EMAIL PROTECTED] -Original Message- From: Peter Alvin [mail

RE: Realms advise.

2002-08-16 Thread Barney Hamish
The only way I thought of to get around this problem was to prefix usernames with the other field. In your case login form has three fields, username, password and office and you have a javascript that concatenates the office number to the username when the user submits the login form... we have

Re: Where are the connector binaries???

2002-08-16 Thread Scott Adamson
I couldn't. The src is at http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4/src/ (couldn't get the bitch to compile) although I used the binaries for 3.3, which are supposed to work with tomcat 4, although I have not got it to work yet. Good luck, you will need it ! Scott. ---

RE: Apache 1.3.20 + Tomcat + (mod_jk or mod_webapp) for SuSE 7.3 Linux?

2002-08-16 Thread Turner, John
How much are you willing to pay? My How-To for redhat is free, and it works. I even got mail from someone today that said it helped them get it working on NetBSD, so SuSE should be no problem. http://www.johnturner.com/howto/apache-tomcat-howto.html John Turner [EMAIL PROTECTED] -Origin

  1   2   >