more problem about emails using servlets

2003-06-13 Thread bilal sulehri
java Email API require to give the address of smtp server, now which smtp server i have to write. Do I have to give the address of my ISP's server, or yahoo or hotmail server or create my own exchange server? _ Tired of spam? Get

Re: more problem about emails using servlets

2003-06-13 Thread Dominic Parry
You should write the mail server you use to send email. It can be either your own one, or your ISP's SMTP server. - Original Message - From: bilal sulehri To: [EMAIL PROTECTED] Sent: Friday, June 13, 2003 8:59 AM Subject: more problem about emails using servlets java

Re: Tomcat, Apache, and SSL

2003-06-13 Thread Bill Barker
You should be taking a different approach. Using mod_jk will handle the secure problem better. However, I believe that 4.1.25 will work with your config. Eric Northam [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] What is the appropriate way to setup Apache to handle SSL and act as

Re: AJP13 Connector reliability

2003-06-13 Thread Bill Barker
In TC 4, it is strictly alpha quality. The current development is going into TC 5. However Filip is a regular here (it seems), and he's the one with all the answers ;-). Jeremy Nix [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] What about clustering as mentioned in this article:

Re: Mapping images in web.xml

2003-06-13 Thread Bill Barker
I'm not really sure what you are trying to do, but it sounds like: servlet-mapping servlet-nameMyDefaultServlet/servlet-name url-pattern//url-pattern /servlet-mapping servlet-mapping servlet-namedefault/servlet-name url-pattern*.gif/url-pattern /servlet-mapping

Re: Tomcat 4.1 with clientAuth and CRL ?

2003-06-13 Thread Bill Barker
This would be handled by JSSE. Look at the JSSE docs on java.sun.com. Zerell.Mischa [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, in which way do i have to configure Tomcat, that the installation uses Client-Authentication and checks in a Certificate Revocation List (CRL) whether

how to autogenerate mod_jk.conf w/ Tomcat 5?

2003-06-13 Thread George Armhold
Can anyone help with configuring Tomcat 5.x (as comes with Java WSDP) to integrate with Apache 2? As a longtime user of Tomcat 3.x, I've come to appreciate the auto-generation of mod_jk.conf, a feature that seems to be missing in Tomcat 5. Or is there a better way to have my webapps

Re: AJP 1.3 connector apache 1.3.x

2003-06-13 Thread Bill Barker
For any TC from 3.3 up, you can currently use any Connector with any mod_jk(2). Leo Stone [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I am using apache 1.3.26 and tomcat 4.1.24, is it better to use mod_jk than jk2? If so, then I can only use the AJP 1.3 connector instead of the

Re: Login timeout

2003-06-13 Thread Bill Barker
In your web.xml file change to: session-config session-timeout40/session-timout /session-config Reis, Tom [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Is there a way to change the login timeout for Tomcat 4.03. I think it is set for 20 min. and I want to change it for a 40

NoClassDefFoundError: org/xml/sax/InputSource

2003-06-13 Thread Sohail Muhammad
Hello, While starting Tomcat 4.1 on Win2000 i got this error: java.lang.NoClassDefFoundError: org/xml/sax/InputSource at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Class.java:237) at

Logger error

2003-06-13 Thread Sohail Muhammad
Hello, This is what i've got: JDK 1.4 and Tomcat 4.1 when starting tomcat i get this error: java.lang.NoSuchMethodError: java.util.logging.Logger.logp(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V at

Best practice development directory layout for deploying exploded war

2003-06-13 Thread White, Joshua A (HTSC, CASD)
Hello all, My company is contemplating the idea of deploying servlet applications on Tomcat in production. (woohoo!) I am hoping that some of you may suggest some best practices for laying out your development directory structure. I have my directory structure layed out like an expanded war

RE: Best practice development directory layout for deploying exploded war

2003-06-13 Thread Sohail Muhammad
Yes, this is a question that confuses new users. Plus what should be the deployment practice if one is using tomcat with apache? Muhammad Sohail -Original Message- From: White, Joshua A (HTSC, CASD) [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 3:23 PM To: '[EMAIL PROTECTED]'

Re: Best practice development directory layout for deploying exploded war

2003-06-13 Thread Yoav Shapira
Howdy, My advice would be to follow the guide here: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html Don't use the space under tomcat's webapps directories as a live development space. Only deploy built applications there. That means develop them elsewhere on your file system,

common-logging.jar

2003-06-13 Thread Sohail Muhammad
could someone mail me common-logging.jar Sohail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

novice problem

2003-06-13 Thread markymarc
Im useing the manager application in tomcat 4.1. But I keep getting this message: Message: FAIL - Install Upload Failed, Exception: Processing of multipart/form-data request failed. /opt/tomcat/work/Standalone/localhost/manager/upload_0003.tmp (Permission denied) What Im I doing

Re: tomcat4 shutdown problem

2003-06-13 Thread John Turner
AFAIK, it is a timing issue, only on Solaris. The port binding is released before the shutdown is completely finished, which throws the error. I'm pretty certain it can be ignored until it is fixed. John On Thu, 12 Jun 2003 07:21:08 -0400, Tim Funk [EMAIL PROTECTED] wrote: Looks like this

Re: mod_jk2 compatible with apache 1.3?

2003-06-13 Thread John Turner
Because the docs are not perfect. Patches are welcome. John On Thu, 12 Jun 2003 11:13:41 +0200, Emmanuel.Leguy [EMAIL PROTECTED] wrote: Michele Neylon :: Blacknight Solutions wrote: AFAIK, no. It is 'compatible' but only if you make your life really complicated as it relies on the APR

Re: connecting Tomcat to apache

2003-06-13 Thread John Turner
Give me access to a OSX box and I'll be happy to write a HOWTO for it. ;) John On Thu, 12 Jun 2003 15:58:33 +0200, Martin Jacobson [EMAIL PROTECTED] wrote: Werner van Mook wrote: Hi All, Consider me stupid. I have a Powerbook with Mac OSX 10.2.6 It runs apache out of the box. Now I want to

Re: Directory Listing in Tomcat 4.1.24

2003-06-13 Thread John Turner
Yes. John On Thu, 12 Jun 2003 09:10:19 -0400, Angus Mezick [EMAIL PROTECTED] wrote: Well, if he got REALLY ambitious he could go edit tomcat itself couldn't he? -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 7:23 AM To: Tomcat Users List

Re: Ajp13Connector vs. Coyote/JK2 connector

2003-06-13 Thread John Turner
Ajp13Connector should work fine for you. John On Thu, 12 Jun 2003 10:42:33 -0400, Yueshang (Wendy) Zhang [EMAIL PROTECTED] wrote: I searched the archive and found that mod_jk is better than mod_jk2 for apache 1.3.26. My question is, if mod_jk is used in this case, can we still use the

Re: Apache and Tomcat on different machines using mod_jk (ajp13)

2003-06-13 Thread John Turner
Change the .host property in workers.properties to be an IP address, not a FQDN. Also, you are using port 8011, make sure your Connector on machine B is listening to 8011 and not the default 8009. John On 12 Jun 2003 10:51:05 -0400, Amit Kumar [EMAIL PROTECTED] wrote: Hi I am hoping to get

_Not_ Port 25. Configuring Tomcat for sendmail

2003-06-13 Thread Kyle Lange
Hi, If this has come through 2ce now, please forgive. The 1st one I sent came back with the signup response. I'm hoping someone can help me out here pls. Using Tomcat 4.1.24, I'm trying to sendmail from a .jsp app. However my sendmail is configured to listen on a different port to 25. Is

RE: more problem about emails using servlets

2003-06-13 Thread Phillip Qin
I just implemented an onlinestore. It emails confirmations to the clients. You can use any mail server other than HTTP-based (hotmail or yahoo). In your case, use your ISP's. If you use Tomcat's mail session, define it in your context xml Resource name=mail/Session auth=Container

RE: _Not_ Port 25. Configuring Tomcat for sendmail

2003-06-13 Thread Shapira, Yoav
Howdy, Does specifying a mail.smtp.port work? Yoav Shapira Millennium ChemInformatics -Original Message- From: Kyle Lange [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 8:50 AM To: [EMAIL PROTECTED] Subject: _Not_ Port 25. Configuring Tomcat for sendmail Hi, If this has come

RE: common-logging.jar

2003-06-13 Thread Shapira, Yoav
Howdy, Why don't you go and download it like everyone else? ;) http://jakarta.apache.org/commons/logging.html Yoav Shapira Millennium ChemInformatics -Original Message- From: Sohail Muhammad [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 7:52 AM To: Jakarta Mailing List (E-mail)

RE: NoClassDefFoundError: org/xml/sax/InputSource

2003-06-13 Thread Shapira, Yoav
Howdy, You have mismatching versions of the XML (specifically SAX in this case) parsing APIs. What do you have in WEB-INF/lib? I suggest you search the archives of this list before posting questions. This question, as well as the one about the logger error, are asked frequently and you will

RE: _Not_ Port 25. Configuring Tomcat for sendmail

2003-06-13 Thread Kyle Lange
Works like a charm. Thank you Yoav. Is that documented somewhere and I just plain missed it? K -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 3:01 PM To: Tomcat Users List Subject: RE: _Not_ Port 25. Configuring Tomcat for sendmail

RE: Network access

2003-06-13 Thread Edson Alves Pereira
We´ve already store all request and responses, but the problem is when we have a lot of request at same time ( something like 100 requests per second ). I´d like to improve the speed and make all resposes and requests has data to transfer. -- De: Angus Mezick[SMTP:[EMAIL

RE: _Not_ Port 25. Configuring Tomcat for sendmail

2003-06-13 Thread Shapira, Yoav
Howdy, I'm probably opening a can of worms here... - It's not super clearly documented, but - If you know your JNDI, and - You look at this code: http://cvs.apache.org/viewcvs/jakarta-tomcat-4.0/catalina/src/share/org/ apache/naming/factory/MailSessionFactory.java?rev=1.2content-type=text/

Re: novice problem

2003-06-13 Thread John Turner
Looks like a permissions issue on /opt/tomcat/work/Standalone/localhost/manager/, perhaps no write access? John On Fri, 13 Jun 2003 14:03:14 +0200, markymarc [EMAIL PROTECTED] wrote: Im useing the manager application in tomcat 4.1. But I keep getting this message: Message: FAIL - Install

Re: Tomcat - Sleeps

2003-06-13 Thread Manohar Kamath
Hello, May be you are holding the server console by selection some lines og logged event and once you press ctrl S than it releases. So if you wont hold the server console screen than server wont sleep ;) Manohar Kamath Vijay Pawar [EMAIL PROTECTED] wrote: Hi All, I am using

Re: Running Tomcat3 on port 80

2003-06-13 Thread John Turner
How are you starting Tomcat? Are you starting Tomcat as root, or using a script? If you are using a script, does the script start Tomcat as another user, such as tomcat4? John On Thu, 12 Jun 2003 21:20:23 -0700, [EMAIL PROTECTED] wrote: I don't think that Apache is running, status of httpd

Re: Newbie: Apache Tomcat Configuration.

2003-06-13 Thread John Turner
You shouldn't have to add anything to server.xml to get Apache working with Tomcat. There is a JK/JK2-compatible connector configured for port 8009 by default in server.xml, no changes are necessary. Complete HOWTO, step by step, for Win 2K Pro and XP Pro: http://www.johnturner.com/howto

_Not_ Port 25. Configuring Tomcat for sendmail; SORRY 'bout the Rcpt.

2003-06-13 Thread Kyle Lange
It's set up by default and forgot to switch it off. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Ajp13Connector vs. Coyote/JK2 connector

2003-06-13 Thread Chong Yu Meng
On Thu, 12 Jun 2003 10:42:33 -0400, Yueshang (Wendy) Zhang [EMAIL PROTECTED] wrote: I searched the archive and found that mod_jk is better than mod_jk2 for apache 1.3.26. My question is, if mod_jk is used in this case, can we still use the Ajp13Connector in stead of Coyote/JK2 connector?

RE: win2000 issue with tomcat4.1.24

2003-06-13 Thread Srinivasu Gandu
I did the fresh installation of tomcat and java and I set the following as enviroment variables.. CATALINA_HOME=c:\Tomcat4.1 JAVA_HOME = c:\j2sdk-1_4_1_01 I have set the c:\j2sdk-1_4_1_01\bin in path. The above all I had before but I did it again in the new and fresh installation.. I am getting

Tomcat 5 - validation and compilation

2003-06-13 Thread Euan Guttridge
In the Tomcat home page under Tomcat 5.x, Refactored application deployer, with an optional standalone deployer allowing validation and compilation of a web application before putting it in production - Can someone point me to the documentation about this please? Thanks Euan

Re: Tomcat 5 - validation and compilation

2003-06-13 Thread Tim Funk
The deployer is still being refactored as we speak. The tomcat-dev archives have a thread discussing how the deployer should work in the future. Search for deployer -Tim Euan Guttridge wrote: In the Tomcat home page under Tomcat 5.x, Refactored application deployer, with an optional

RE: Tomcat 5 - validation and compilation

2003-06-13 Thread Shapira, Yoav
Howdy, It's still a work in progress. You can look at the CVS HEAD for tomcat 5 if you'd like. The main deployer implementation is pretty much done, the standalone deployer with validation is not 100% done yet. The documentation for either is not 100% done yet. Yoav Shapira Millennium

Re: win2000 issue with tomcat4.1.24

2003-06-13 Thread John Turner
Please be as SPECIFIC as possible. You get 503 EXACTLY when? What servlet is unavailable? What URL? The Tomcat examples? Or your own code? John On Fri, 13 Jun 2003 09:37:27 -0400, Srinivasu Gandu [EMAIL PROTECTED] wrote: I did the fresh installation of tomcat and java and I set the

RE: Tomcat 5 - validation and compilation

2003-06-13 Thread Euan Guttridge
Thanks Tim and Yoav. Is there a release date for a 5.0 stable release? -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 13 June 2003 14:47 To: Tomcat Users List Subject: RE: Tomcat 5 - validation and compilation Howdy, It's still a work in progress. You can look

RE: Tomcat 5 - validation and compilation

2003-06-13 Thread Shapira, Yoav
Howdy, That question should be on the FAQ as well ;) Like all other Apache releases, the basic answer is no. It'll be ready when it's ready. You can help accelerate by downloading alpha/beta versions, using them, and reporting any bugs you find. You can help even more by contributing patches,

RE: [SPAM:56%] Using File class in Tomcat

2003-06-13 Thread BBui
As a service. Is there a difference? Bao-Ha Dam Bui [EMAIL PROTECTED] St. Jude Medical, Inc 651.765.1018 -Original Message- From: Mayne, Peter [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 7:20 PM To: 'Tomcat Users List' Subject: RE: [SPAM:56%] Using File class in Tomcat

Upgrading to Tomcat 5

2003-06-13 Thread Raible, Matt
I attempted to upgrade my Tomcat 4.1.24-based application to Tomcat 5.0.2 this morning and found a few issues: 1. I had to put mail.jar and activation.jar into common/lib so my log4j's SMTPAppender would work. 2. I had to copy log4-*.jar into common/lib to workaround this error: Caused by:

Re: [SPAM:56%] Using File class in Tomcat

2003-06-13 Thread Jason Bainbridge
On Fri, 13 Jun 2003 22:04, [EMAIL PROTECTED] wrote: As a service. Is there a difference? For an NT service to be able to access files across the network it must run under an account with network privileges, by default the LocalSystem account is used which doesn't have any network privileges.

Customizing 401 Error Page (this should be easy)

2003-06-13 Thread Kevin Ritter
I have spent roughly a day going through the Tomcat archives looking for a solution to customizing an error page instead of displaying the default 401 or for that matter 403, or 404, or 500 error pages. I have modified my web.xml file to contain the following: error-page

Valve, set/get http header attributes

2003-06-13 Thread Oliver Wulff
How can I read and write http header attributes in a valve. I tried the following inside a valve which does return false in the second call: import org.apache.catalina.HttpRequest; import javax.servlet.http.HttpServletRequest; ... public void invoke(Request request, Response response,

RE: Customizing 401 Error Page (this should be easy)

2003-06-13 Thread Shapira, Yoav
Howdy, I'm not getting any errors that would prevent Tomcat from starting. Are you getting any errors at all? Specifically, is there really a 401 when people are trying to access index.jsp? That would cause your behavior. Consult tomcat's access log (enable it if it's disabled, as is the

RE: Valve, set/get http header attributes

2003-06-13 Thread Shapira, Yoav
Howdy, Why do this in a valve (tomcat-specific) when you can do it in a Filter in a container-independent way? public void doFilter(ServletRequest req, ServletResponse res, FilterChain chain) throws IOException, ServletException { if(req instanceof HttpServletRequest) {

Integrating iPlanet 4.1 and Tomcat 4.1.24

2003-06-13 Thread Marquardt Angela
Hello, I successfully connected the iPlanet Web Server via the nsapi-redirector with the Tomcat Servlet Engine via AJP13. The ppath attribute in the Object tag of the iPlanet Web Server's obj.conf to forward *.jsp files to Tomcat. The physical path to the Tomcat examples is resolved with the

Re: Tomcat 5 - validation and compilation

2003-06-13 Thread Tim Funk
Yeah - I need to add this to the faq. Here's what Craig said when I asked the same thing a long time ago: 'Releases happen when they are ready. From a user perspective, what you saw about votes of committers is all there is to go on. Committers -- and especially the release manager -- make a

Antwort: RE: Valve, set/get http header attributes

2003-06-13 Thread Oliver Wulff
The Tomcat authenticator expects this attribute to be set. But the filter is called after the authenticator. *** BITTE BEACHTEN *** Diese Nachricht (wie auch allfällige Anhänge dazu) beinhaltet möglicherweise vertrauliche oder gesetzlich geschützte Daten

RE: Customizing 401 Error Page (this should be easy)

2003-06-13 Thread Kevin Ritter
Good point--I've checked the log and I'm not seeing any errors--should I be seeing errors? Here's the only entry in the log: 127.0.0.1 - - [13/Jun/2003:09:26:58 -0600] GET /LMS/index.jsp HTTP/1.1 200 428 If I remove the error-page element from the web.xml file everything works fine. I was hoping

RE: Customizing 401 Error Page (this should be easy)

2003-06-13 Thread Shapira, Yoav
Howdy, Here's the only entry in the log: 127.0.0.1 - - [13/Jun/2003:09:26:58 -0600] GET /LMS/index.jsp HTTP/1.1 200 428 Clean your browser's cache and repeat the test. The above shows the index.jsp was requested and returned without a problem. If I remove the error-page element from the

problems with mod_jk and tomcat 4

2003-06-13 Thread Juliano Primavesi - CyberWeb Networks
I'm using apache 1.3.27, mod_jk with connector ajp13, tomcat 4.1.12 and Sun JVM 1.4.1 We are hosting about 90 sites on a Dual Pentium III machine, with 1,5 Gb of ram, but, on few days later, we are having problems with the last sites addded. After some searches on google (nothing found about

mod_jk questions

2003-06-13 Thread Wayne Chang
Hi, I noticed that the mod_jk 1.2.4 was recently released. I was wondering if you had a binary of it available for Apache 1.3 and Tomcat 4.1. I would like to upgrade my mod_jk. On a related note, I was hoping you could shed some light on some trouble I've been having. Sometimes the website

RE: Customizing 401 Error Page (this should be easy)

2003-06-13 Thread Kevin Ritter
Thanks for staying with me; however, after I deleted all temporary internet files and repeated the test the only entry in the log is what I reported last time, which is: 127.0.0.1 - - [13/Jun/2003:09:42:55 -0600] GET /LMS/index.jsp HTTP/1.1 200 428 Any other suggestions? Am I implementing this

RE: Customizing 401 Error Page (this should be easy)

2003-06-13 Thread Shapira, Yoav
Howdy, I personally can't help much more without seeing index.jsp. Yoav Shapira Millennium ChemInformatics -Original Message- From: Kevin Ritter [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 10:53 AM To: 'Tomcat Users List' Subject: RE: Customizing 401 Error Page (this should

RE: Customizing 401 Error Page (this should be easy)

2003-06-13 Thread Kevin Ritter
Okay here you go. I've also included the custom error page JSP. Good luck. Kevin -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 9:51 AM To: Tomcat Users List Subject: RE: Customizing 401 Error Page (this should be easy) Howdy, I personally

RE: Customizing 401 Error Page (this should be easy)

2003-06-13 Thread Shapira, Yoav
Howdy, Attachments don't often come through -- I don't know if it's the listserver or my company mail server. You have to post them inline (preferably trimming out anything nonessential to the problem). Yoav Shapira Millennium ChemInformatics -Original Message- From: Kevin Ritter

Re: mod_jk questions

2003-06-13 Thread John Turner
Platform? John On Fri, 13 Jun 2003 23:47:47 +0900, Wayne Chang [EMAIL PROTECTED] wrote: Hi, I noticed that the mod_jk 1.2.4 was recently released. I was wondering if you had a binary of it available for Apache 1.3 and Tomcat 4.1. I would like to upgrade my mod_jk. On a related note, I was

RE: Antwort: RE: Valve, set/get http header attributes

2003-06-13 Thread Shapira, Yoav
Howdy, The Tomcat authenticator expects this attribute to be set. But the filter is called after the authenticator. Ahh, that's a bit more complicated. Can you state the complete flow? - User makes request to a resource that in your web.xml is specified to require authentication, right? -

Pushing Apache/Tomcat to prod env

2003-06-13 Thread David Nelson
This may be slightly off topic but I'm sure others on the list can relate. I'm working on getting a prod system up as a co-location at an ISP. They've assigned an IP address but the IP is not working (i.e. ping ipaddress returns timeout). Now they are saying that the network card is

RE: Customizing 401 Error Page (this should be easy)

2003-06-13 Thread Kevin Ritter
Sorry :) *** INDEX.JSP START *** %@ page language=java import=java.io.*, com.jcafeinc.xml.* % %@ include file=global-header.jsp % % application.setAttribute(imgLocation, /LMS/images/); % html head titleJCafe Learning Center/title /head

RE: mod_jk questions

2003-06-13 Thread Wayne Chang
John, The platform is Red Hat 9. Best regards, Wayne Chang Pacific Northwest Software Mobile: (978) 869-3446 Email: [EMAIL PROTECTED] -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Saturday, June 14, 2003 12:01 AM To: Tomcat Users List Subject: Re:

Deserializing data objects using InMemoryReplicationManager on Tomcat cluster

2003-06-13 Thread STEVESCHIERHOLZ
I have noticed when using the InMemoryReplicationManager for web applications on a Tomcat cluster that you will encounter a ClassNotFoundException when trying to deserialize the session contents of serialized data objects specific to the web application (i.e. a given web application may have an

(SLIGHTOFFTOPIC)SSL configuration for apache and tomcat

2003-06-13 Thread Shyama Gavulla
Hi All, Thanks to everyone here who responded to my emails immediatly and helped me in moving my from Jrun to Tomcat. The transition was smooth and now my web app runs perfectly on tomcat and apache2.0.46. I have some other things to move from Jrun to tomcat and apache. First one is SSL I

Antwort: RE: Antwort: RE: Valve, set/get http header attributes

2003-06-13 Thread Oliver Wulff
It's a little bit more complicated. In front of Tomcat, an Apache server is running which does the authentication and delegates the user-id as an http header attribute. A valve will read this header attribute and simulate that the user has been authenticated through basic authentication by

RE: In memory session replication and session listeners?

2003-06-13 Thread Lawrence, Gabriel
Flip, Got it. That's an easy, crafty way to do it. Will try it out and let you know how it works. -gabe -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 9:19 PM To: Tomcat Users List Subject: RE: In memory session replication and session

RE: Deserializing data objects using InMemoryReplicationManager on Tomcat cluster

2003-06-13 Thread Filip Hanik
I haven't seen this problem, where is your Employee class file sitting? Filip -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 8:24 AM To: [EMAIL PROTECTED] Subject: Deserializing data objects using InMemoryReplicationManager on

Strange Problem with Tomcat 4.1.24

2003-06-13 Thread Roland Kaeser
Hello I've try to move a JSP/Servlet Application from Tomcat 3.2.4 to 4.1.24. In my .jsp files I'm using a class for getting the content out of a MySQL Database. All of the needed Classes are in the CLASSPATH. The Sun JRE 1.4.1 is the same as before. But now, i get the following Output when i

RE: Strange Problem with Tomcat 4.1.24

2003-06-13 Thread Shapira, Yoav
Howdy, Do you import the Israel class appropriately in your JSP? Yoav Shapira Millennium ChemInformatics -Original Message- From: Roland Kaeser [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 12:03 PM To: [EMAIL PROTECTED] Subject: Strange Problem with Tomcat 4.1.24 Hello I've

RE: Deserializing data objects using InMemoryReplicationManager on Tomcat cluster

2003-06-13 Thread STEVESCHIERHOLZ
WEB-INF/classes/some.package.Employee If this Employee object is put in the session and then replicated across the nodes for the given web application, the other nodes will have ClassNotFoundExceptions when the InMemoryReplicationManager goes to deserialize the session contents. I see this

Re: Strange Problem with Tomcat 4.1.24

2003-06-13 Thread Roland Kaeser
No, why should i do it? I was working fine before widthout that. The Command in the JSP File is: %= IsraelMySQL.getContent(home) % Roland Shapira, Yoav wrote: Howdy, Do you import the Israel class appropriately in your JSP? Yoav Shapira Millennium ChemInformatics -Original Message-

RE: Deserializing data objects using InMemoryReplicationManager on Tomcat cluster

2003-06-13 Thread Filip Hanik
it should be in WEB-INF/classes/some/package/Employee.class is that what you meant? never had this problem myself, what version of Tomcat? also, can you send the log trace for this Filip -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003

Dumb Tomcat question

2003-06-13 Thread Balakrishna Kudaravalli
A dumb question: I need to run 2 instances on Tomcat 4.1.24 on one unix physical host. Could you pl. let me know 1) What are the environment variables that need to be set for both the instances ? - CATALINA_HOME , PATH CLASSPATH 2) Can I set CATALINA_HOME for both instances ? -- how would

RE: Strange Problem with Tomcat 4.1.24

2003-06-13 Thread Filip Hanik
you should always do it :) and starting now all your classes must be in a package. Filip -Original Message- From: Roland Kaeser [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 9:09 AM To: Tomcat Users List Subject: Re: Strange Problem with Tomcat 4.1.24 No, why should i

RE: Dumb Tomcat question

2003-06-13 Thread Filip Hanik
just install them in two different locations /usr/local/tomcat /usr/local/tomcat2 then on tomcat2/conf/server.xml change all the ports so that they don't conflict with tomcat/conf/server.xml then just start them up, that is all you need to do Filip -Original Message- From:

Re: Strange Problem with Tomcat 4.1.24

2003-06-13 Thread Roland Kaeser
Hey Really? I whole applications contains more than 10'000 lines of code (java code). This will take me more then 4 days to changes everything. Is there no other way to do that. It it was working before? I have currently a really high pressure to the this site up and running. Roland Filip

RE: Dumb Tomcat question

2003-06-13 Thread Shapira, Yoav
Howdy, It's not a dumb question ;) I need to run 2 instances on Tomcat 4.1.24 on one unix physical host. Could you pl. let me know 1) What are the environment variables that need to be set for both the instances ? - CATALINA_HOME , PATH CLASSPATH 2) Can I set CATALINA_HOME for both instances

RE: Strange Problem with Tomcat 4.1.24

2003-06-13 Thread Shapira, Yoav
Howdy, You should always properly import classes you depend on, and all your classes should be in a package. If they're not, jasper will put them in the org.apache.jsp package, which you don't import, and that's why it's not found in your JSP page. Yoav Shapira Millennium ChemInformatics

RE: Strange Problem with Tomcat 4.1.24

2003-06-13 Thread Shapira, Yoav
Howdy, Really? I whole applications contains more than 10'000 lines of code (java code). This will take me more then 4 days to changes everything. Not if you know any perl or other efficient text processing languages. Or have access to an IDE which will repackage classes for you: this is a one

RE: Strange Problem with Tomcat 4.1.24

2003-06-13 Thread Filip Hanik
first try it out with one class, and see if it solves the problem, if that works, buy a pot of coffee, and go at it :) there might be other ways, but I am not sure. Filip -Original Message- From: Roland Kaeser [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 9:16 AM To: Tomcat

Tomcat 4.1.24: /admin dir in our .war gets 404

2003-06-13 Thread Zabel, Ian
Resending cause my other post seems to be lost. Hello all, We deploy our war file to the / context on our tomcat server (we use apache as our webserver, with mod_jk). We just added a /admin directory into our application, and we are trying to deploy the app. At first, when I went to

Re: Strange Problem with Tomcat 4.1.24

2003-06-13 Thread Roland Kaeser
Hello I'm currently using eclipse but there are around 25 classes which depending to each other. This main classes are the framework and there are severeral Applications which was written with this framework. Isn't there a possibility to downgrade the handling of the jsp files? Roland

RE: Deserializing data objects using InMemoryReplicationManager on Tomcat cluster

2003-06-13 Thread STEVESCHIERHOLZ
Sorry, I meant / not . I have this running on a two node cluster, and even though the logs show this message on both nodes in catalina.out, I know that the data is replicating. I can shutdown one node, and the session data has persisted on the other. Here is the log message:

getResourceAsStream and relative paths in web.xml

2003-06-13 Thread Timothy Stone
List, I'm following a twist on some advice that I got from Yoav Shapira. But in playing to learn more I ran across something that I have not been able to solve from reading the documentation. I want to put the relative path to a user=password property file in the web.xml. Given: #web.xml ...

RE: Strange Problem with Tomcat 4.1.24

2003-06-13 Thread Shapira, Yoav
Howdy, I'm currently using eclipse but there are around 25 classes which depending to each other. This main classes are the framework and there are severeral Applications which was written with this framework. Isn't there a possibility to downgrade the handling of the jsp files? Eclipse will

RE: Deserializing data objects using InMemoryReplicationManager on Tomcat cluster

2003-06-13 Thread Filip Hanik
where is this class located? net.afni.webdevelopment.peoplesoftbonus.data.BonusSearchData Filip -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 9:34 AM To: [EMAIL PROTECTED] Subject: RE: Deserializing data objects using

RE: getResourceAsStream and relative paths in web.xml

2003-06-13 Thread Shapira, Yoav
Howdy, *But* this did not work, which I guess is a relative issue: ... public void init(ServletConfig config) throws ServletException { super.init(config); try { this.passwordFile = config.getInitParameter( passwordFile ); this.passwords = new Properties();

RE: getResourceAsStream and relative paths in web.xml

2003-06-13 Thread Shapira, Yoav
Howdy, Oh and by the way, it's a good habit to override the init() method for a servlet rather than the init(ServletConfig) one. Simply so you don't accidentally forget to call super(config). Yoav Shapira Millennium ChemInformatics -Original Message- From: Shapira, Yoav Sent: Friday,

RE: Dumb Tomcat question

2003-06-13 Thread Balakrishna Kudaravalli
Thanks for the info. What about CATALINA_HOME is it mandatory for me to set that env. variable ? -- how does this work when i have two instances -Bala At 12:16 PM 6/13/2003 -0400, you wrote: Howdy, It's not a dumb question ;) I need to run 2 instances on Tomcat 4.1.24 on one unix physical

RE: Deserializing data objects using InMemoryReplicationManager on Tomcat cluster

2003-06-13 Thread STEVESCHIERHOLZ
WEB-INF/classes/net/afni/webdevelopment/peoplesoftbonus/data/BonusSearchData -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 11:41 AM To: Tomcat Users List Subject: RE: Deserializing data objects using InMemoryReplicationManager on Tomcat

A few problems setting up JDBC using 4.1.24 (win2k)

2003-06-13 Thread Allan Lawrie
When I access this URL: http://localhost:8080/tests/test.jsp Which contains a modified version of the JDBC test app for MySQL. I get this error: org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error:

Tomcat 4.1.24: /admin dir in our .war gets 404

2003-06-13 Thread Ian Zabel
Hello all, We deploy our war file to the / context on our tomcat server (we use apache as our webserver, with mod_jk). We just added a /admin directory into our application, and we are trying to deploy the app. At first, when I went to http://tomcatserver/admin/ I was getting Tomcat's admin app,

Subject: Nightmare with Tomcat 4.1 and SSL configuration

2003-06-13 Thread rajeev . agarwal
Cosmin I was stuck on the same issue for sometime. Then I realised that I had not put the jsse jar in the classpath. So I copied the 3 jars - jsse.jar, jnet.jar, jcert.jar into %JAVA_HOME%\jre\lib\ext. After that the problem went away. However, I would like to understand how I can configure

servlet reloading question

2003-06-13 Thread Bill T
Hi all! I'm hoping someone can give me a high level view of what is going on here. I'm using version 4.18, and I though I was having problems reloading servlets. server.xml has my app configured as reloadable, but no matter what I do with my class files -- touch them, rebuild them, REMOVE

Re: Strange Problem with Tomcat 4.1.24

2003-06-13 Thread shyam
Do you have the java_home variable set to ur java directory. if not that might be the problem. - Original Message - From: Roland Kaeser [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 13, 2003 12:02 PM Subject: Strange Problem with Tomcat 4.1.24 Hello I've try to move a

RE: Dumb Tomcat question

2003-06-13 Thread Filip Hanik
it gets set in the startup scripts for you Filip -Original Message- From: Balakrishna Kudaravalli [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 9:46 AM To: Tomcat Users List Subject: RE: Dumb Tomcat question Thanks for the info. What about CATALINA_HOME is it

  1   2   >