Re: jspInit() and errors

2002-05-05 Thread Mattias Brändström
No, that doesn't work. jspInit() isn't declared to throw an exception and that makes it illegal to override it with a method that do throw an exception. Abraham Fathman wrote: Mattias, Can you just throw an exception? Abe -Original Message- From: Mattias Brändström

Apache2.0.36/TC4.1

2002-05-05 Thread Anthony W. Marino
After attempting to integrate Apache2.036/TC4.1/mod_jk2 (tc4.1connector source). I get the following when I try to run Apache2.0.36: Can't locate API module structure `jk_module' in file /usr/local/apache2/modules/mod_jk2.so: /usr/local/apache2/lib/libapr.so.0: undefined symbol: jk_module

RE: How to force compilation of Jspz at startup

2002-05-05 Thread Tino Dai
Hi Gurmeet, There is a tool out there called wget that my associates have used for just this purpose. They used wget to touch all of the jsp pages and therefore compile them before a live user gets to their site. HTH -Tino On Sat, 2002-05-04 at 03:32, Gurmeet wrote: Thanks a lot Jay, As

logging

2002-05-05 Thread Mattias Brändström
Hi! Now I have yet another question. =) How can I write log messages to some kind of log (preferably the one specified by the Logger element) in a JSP-page. I have tried to write to both System.err and System.out but nothing ends up in my log file. Is there some special way to obtain a

Tomcat 4.0.1 + Apache 1.3.24 + mod_jk

2002-05-05 Thread Lars Nielsen Lind
Hi. Until now I have been using mod_webapp - but I have experienced some severe problems and want to go back to mod_jk. Anyone that uses Tomcat 4.0.1 + Apache 1.3.24 with mod_jk successfully that have links to some good documentation that explains how to... If you have some private notes

Help me (new with tomcat)(puneet)

2002-05-05 Thread puneet sachar
Hey ..hi to everyone I'm new to tomcat plz tell me in detail what all i have to do .to install with oracle. and what all i have to do so that i have jsp running on it Plz i tried..to do what all written in .xml file..but ..not able to do the problem i'm facing with oracle was that with

Re: Getting tomcat to serve off port 80 on my own servlets

2002-05-05 Thread steven shingler
Hi Abraham Thanks for replying Is that the Connector directive inside the Tomcat-Standalone Service, or the Tomcat-Apache one?? I tried setting the port=80 inside the standalone connector - but that then ceased to work on either port! This is the error I get on the web page: WebApp: Error 500

Re: logging

2002-05-05 Thread steven shingler
Hello Mattias If you are wanting to log from a servlet, then this could help... The GenericServlet class (a super class of HttpServlet - and therefore one that you will almost certainly be importing already) contains two log() methods. One for just a String message eg: log(we are in init());

Apache 2.0 Tomcat 4.0 integration on Win 2000: Please help me

2002-05-05 Thread Ryan Gomes
Hi! I need to integrate Apache 2 and Tomcat 4 on Windows 2000. I run into a whole lot of problems. The main problem is that Apache cannot load the mod_jk.dll module. I referred to a website and got another version of a re-compiled mod_jk.dll, but did no good. Has anyone integrated Apache 2

petstore exception

2002-05-05 Thread Michael Delamere
Hi, I´m trying to get the petstore working with tomcat4.0.3 + jboss. After the SQL-tables get installed, I get the following error when trying to enter the petstore. I´m not sure wether this is the right mailing-list but the error appears to come from catalina. === ERROR

RE: Apache 2.0 Tomcat 4.0 integration on Win 2000: Please help me

2002-05-05 Thread Tim Cronin
http://www.acg-gmbh.de/mod_jk/ -Original Message- From: Ryan Gomes [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 04, 2002 10:51 PM To: [EMAIL PROTECTED] Subject: Apache 2.0 Tomcat 4.0 integration on Win 2000: Please help me Hi! I need to integrate Apache 2 and Tomcat 4 on Windows

RE: JSP-pages and reloadable

2002-05-05 Thread Craig R. McClanahan
On Sun, 5 May 2002, Abraham Fathman wrote: Date: Sun, 5 May 2002 00:16:31 -0400 From: Abraham Fathman [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: RE: JSP-pages and reloadable I have had that

Re: logging

2002-05-05 Thread Craig R. McClanahan
On Sun, 5 May 2002, Mattias Brändström wrote: Date: Sun, 05 May 2002 14:42:28 +0200 From: Mattias Brändström [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: logging Hi! Now I have yet another question. =) How can I write log messages to

Can JSPs running in Tomcat talk to EJBs on Oracle iAS 9?

2002-05-05 Thread Stan Burnitt
If the answer is yes, must I use the RMIInitialContextFactory in the orion.jar, or can I use another? Is anyone actually doing this, and can you show me a sample jndi.properties ? (My JSPs are invoked by STRUTS actions.) Thanks, Stan

Re: java.lang.VerifyError while using struts with Tomcat 4.0.x

2002-05-05 Thread Dmitri Lysenko
On Friday 03 May 2002 02:19, you wrote: I've made the try with this version of the tomcat (tomcat-4.0.4-b2) but the VerifyError is still there. Possibly it's not a problem with the tomcat's class loader but with the version 3.x all works fine. I'm including the exception log below:

Utilising JDBC Realm config and pooling from a webapp

2002-05-05 Thread Joel Baker
Hi there, I've set up a webapp to use a JDBC Realm in my server.xml config file in Tomcat 4.0.3. I use this for FORMS based authentication. I have added fields to the SQL table used to authenticate to include more interesting things like Full Name and email address. I have currently hard coded

Re: Customising the logic behind Container Authentication (j_security_check)

2002-05-05 Thread Joel Baker
Abe, Thanks for that. Other than this apparent lack of flexibility, are there problems with the j_security_check method? I presume/hope that it is secure etc (when used through https). Upon reading the servlet spec PDF I note that the j_security_check method is defined at this level and as such

Re: More complex security-constraint options

2002-05-05 Thread Joel Baker
Yup, I'm going to do 'A'. Much more sensible. Thanks. :D Abraham Fathman [EMAIL PROTECTED] wrote in message news:014701c1f3f2$48011430$8a56e20a@pcg... | Joel, | | You could: | | A) Setup a servlet that just included this jsp's. | B) I don't know if this would work but list the other jsp's in a |

implementaion of interfaces of servlet api?

2002-05-05 Thread josh
Hi I'm looking for the java source code of the server-specific java classes of the servlet api which implements all those interfaces like HttpSession and HttpServletRequest. Is this code available? thanks for your help josh -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional

Re: Apache 2.0 Tomcat 4.0 integration on Win 2000: Please help me

2002-05-05 Thread Jacob Kjome
Hi Ryan, Check the archives for the subject: mod_jk for Apache 2 on Win32?. You probably have issues with your mod_jk.conf and/or your workers.properties. I posted my files there as examples of something that works. Of course you need to adapt it for your own purposes, but it should get

RE: Getting tomcat to serve off port 80 on my own servlets

2002-05-05 Thread Abraham Fathman
Steven, I might have misunderstood what you are trying to do. Are you trying to use apache+mod_webapp on port 80 to connect to tomcat as well as run tomcat as a standalone on port 8080? If so, I believe the default server.xml will do this for you. Just configure apache to use port 80. Sorry

RE: jspInit() and errors

2002-05-05 Thread Abraham Fathman
Maybe you could set a member variable that the regular service method would check? Also you could use jdk1.4 logging or log4j in the jspInit method to log an error. Sorry that I don't know of anything better. Abe -Original Message- From: Mattias Brändström [mailto:[EMAIL PROTECTED]]

RE: Customising the logic behind Container Authentication (j_security_check)

2002-05-05 Thread Abraham Fathman
j_security_check should work with all containers. Custom authentication will work with all containers as long as you don't use any server specific code (casting an object to a tomcat object...). Like I said, I am doing custom auth and am quite happy with it. Abe -Original Message-

RE: implementaion of interfaces of servlet api?

2002-05-05 Thread Abraham Fathman
Josh, Source code can be downloaded from jakarta.apache.org. Check out: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/src/ Just search the code for the class that you are looking for... HttpsSession is implemented by the file:

RE: JSP-pages and reloadable

2002-05-05 Thread Abraham Fathman
Craig, Good advice! I'll work on it. Thanks for the encouragement. Abe -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Sunday, May 05, 2002 6:06 PM To: Tomcat Users List Cc: [EMAIL PROTECTED] Subject: RE: JSP-pages and reloadable On Sun, 5 May 2002,

xerces version

2002-05-05 Thread kelly, Burrowa
Whats the version of Xerces that is shipped with Tomcat 4.0.3. I want to use Xerces2 in my webapp, Can I just place the Xerces2 jars in the webapp's lib? __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email