Re: SSL Handshake Error / Couldn't find trusted certificate

2003-06-24 Thread Bill Barker
This is happening too late to be a server-cert problem. I'm guessing that you specified CLIENT-CERT auth, but you don't have any valid certs. Dan Soschin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Specs: Tomcat 4.0.6 w/ JDK 1.4.1 on Windows 2000 Advanced Server I run the

Re: What the Tomcat 4 RPM files forgot to do.

2003-06-24 Thread Bill Barker
I'm not certain that the RPM developers monitor this list closely. I'd suggest posting this as an Enhancement to http://nagoya.apache.org/bugzilla to give it more attention. Neil Zanella [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, I would like to make the following

Re: how two web applications share security realms ?

2003-06-24 Thread Bill Barker
Look at the documentation for SingleSignonValve. martin(Feng-Chang) [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Dear all: I have two web applications named homepage and login. Application login is for authenticate users. How those two web applications share security realms? I

How use an external C program in a Servlet

2003-06-24 Thread Michel Jubault
Hi there !! I've a little C program. This computes some variables and return a kind of statistic result. I need it in a servlet. But I don't know how to call it. I'm using Tomcat 4.1.24. Where this program must be to be launched ? How can I pass arguments to C program and use in servlet the

strange emial behavior

2003-06-24 Thread a b
Hello whenever i send email to tomcat mailing list i get the response from [EMAIL PROTECTED] domain.I am not aware of this domain. I have enclosed the email text i get. I wonder if some one knows why this is happening. Email text: Dear [EMAIL PROTECTED], Your recent message to this server

Re: How use an external C program in a Servlet

2003-06-24 Thread Holger Klawitter
Am Dienstag, 24. Juni 2003 09:51 schrieb Michel Jubault: Hi there !! I've a little C program. This computes some variables and return a kind of statistic result. I need it in a servlet. But I don't know how to call it. I'm using Tomcat 4.1.24. Where this program must be to be launched ?

Re: How use an external C program in a Servlet

2003-06-24 Thread Michel Jubault
Thanks, I try it straight away ! What kind of problem could occur with security ? Regards Michel - Original Message - From: Holger Klawitter [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 10:53 AM Subject: Re: How use an external C program in a

easy question

2003-06-24 Thread David Zellhoefer
Hello! I have a easy question for you: 1)I have written a class called Test, compiled it and placed it in ~/WEB-INF/classes/ 2) Now I want to use objects from Test in a JSP, but if I try to use Test Tomcat always tells me that it is not able to resolve the symbol. What shall I do? Do I need to

OT Passing parameters to a link with an anchor

2003-06-24 Thread Collins, Jim
Hi, Appologies for the off topic posting. I have the following link in a page that works fine: a name=notcurrent href=/itinerary/updatenode.do?id=expanded=trueTrip/a What I would like to do though is add an anchor so that I go to a particular point in the page so I tried including an

RE: easy question

2003-06-24 Thread Arnaud HERITIER
did you add the import statement in the jsp??? -Message d'origine- De : David Zellhoefer [mailto:[EMAIL PROTECTED] Envoye : mardi 24 juin 2003 11:29 A : [EMAIL PROTECTED] Objet : easy question Hello! I have a easy question for you: 1)I have written a class called Test,

Re: How use an external C program in a Servlet

2003-06-24 Thread Holger Klawitter
Am Dienstag, 24. Juni 2003 11:13 schrieb Michel Jubault: Thanks, I try it straight away ! What kind of problem could occur with security ? It depends on your situation. If any user may upload servlets, these servlets may execute every program on that machine - with the rights of the tomcat

RE: easy question

2003-06-24 Thread Aggarwal, Gautam (IE03)
This happens when Tomcat cannot find the classpath to a class being used in a JSP page, in your case - Test. Go to the environment settings of your computer and specify the classpath upto the folder ~/WEB-INF/classes. Bye, Gautam -Original Message- From: David Zellhoefer [mailto:[EMAIL

Re: easy question

2003-06-24 Thread David Zellhoefer
Changing the CLASSPATH didn't change anything. Aggarwal, Gautam (IE03) wrote: This happens when Tomcat cannot find the classpath to a class being used in a JSP page, in your case - Test. Go to the environment settings of your computer and specify the classpath upto the folder ~/WEB-INF/classes.

Re: easy question

2003-06-24 Thread David Zellhoefer
I thought Tomcat is checking ~/WEB-INF/classes automatically. Is there a way to make this possible? Otherwise I have to change enviroment variables everytime the server changes... But I will try this. Thanks. Aggarwal, Gautam (IE03) wrote: This happens when Tomcat cannot find the classpath to

Re: OT Passing parameters to a link with an anchor

2003-06-24 Thread Nikola Milutinovic
I have the following link in a page that works fine: a name=notcurrent href=/itinerary/updatenode.do?id=expanded=trueTrip/a What I would like to do though is add an anchor so that I go to a particular point in the page so I tried including an anchor like this: a name=notcurrent

Re: easy question

2003-06-24 Thread Riaan Oberholzer
Did you import the class in the jsp file? At the start of the JSP file, it must be imported: %@ page import=Test % --- David Zellhoefer [EMAIL PROTECTED] wrote: Hello! I have a easy question for you: 1)I have written a class called Test, compiled it and placed it in

Re: easy question

2003-06-24 Thread Holger Klawitter
Am Dienstag, 24. Juni 2003 11:28 schrieb David Zellhoefer: Hello! I have a easy question for you: 1)I have written a class called Test, compiled it and placed it in ~/WEB-INF/classes/ 2) Now I want to use objects from Test in a JSP, but if I try to use Test Tomcat always tells me that it

RE: OT Passing parameters to a link with an anchor

2003-06-24 Thread Collins, Jim
I have solved it. I put the anchor after the parameters and it works. Regards Jim. -Original Message- From: Collins, Jim [mailto:[EMAIL PROTECTED] Sent: 24 June 2003 10:36 To: 'Tomcat Users List' Subject: OT Passing parameters to a link with an anchor Hi, Appologies for the off topic

RE: easy question

2003-06-24 Thread Lindgren Swanthe
Yes, WEB-INF/classes is always part of the classpath for that specific webapp. But like Arnaud said; did you add the import statement to your jsp page? -Original Message- From: David Zellhoefer [mailto:[EMAIL PROTECTED] Sent: den 24 juni 2003 12:03 To: Tomcat Users List Subject: Re: easy

RE: OT Passing parameters to a link with an anchor

2003-06-24 Thread Collins, Jim
Thanks Nix, I tried that and it worked. Regards Jim. -Original Message- From: Nikola Milutinovic [mailto:[EMAIL PROTECTED] Sent: 24 June 2003 11:04 To: Tomcat Users List Subject: Re: OT Passing parameters to a link with an anchor I have the following link in a page that works fine:

RE: easy question

2003-06-24 Thread Aggarwal, Gautam (IE03)
I hope you started the classpath with '.;'. Please tell me how are you using the class in your JSP page, I mean have you used an import statement or have you used the jsp:useBean tag? Can you please attach the relevant section of the the JSP page and also a copy of your classpath? -Original

RE: How use an external C program in a Servlet

2003-06-24 Thread Collins, Jim
Why don't you wrap a Java interface around the C program? Regards Jim. -Original Message- From: Michel Jubault [mailto:[EMAIL PROTECTED] Sent: 24 June 2003 10:14 To: Tomcat Users List Subject: Re: How use an external C program in a Servlet Thanks, I try it straight away ! What kind of

tomcat 4.1.24 + sdk 1.4.1_03 + Win 2000

2003-06-24 Thread Mark Hayes
Unable to start Tomcat 4.1.24 with sdk 1.4.1_03 on Windows 2000 ClassNotFoundException: org.apache.catalina.core.StandardServer C:\Program Files\Apache Group\Tomcat 4.1\bincatalina run Using CATALINA_BASE: C:\Program Files\Apache Group\Tomcat 4.1 Using CATALINA_HOME: C:\Program Files\Apache

RE: easy question

2003-06-24 Thread Peter.Kerekes
It is much more comfortable to use jar files and put them in the WEB-INF/lib directory, because they are really handled automatically. Try putting your class in a jar file, and you will have no issuses by adding each and every class name to the CLASSPATH BR, Peter I thought Tomcat is

Re: App Developer's Guide Example

2003-06-24 Thread Jon Haugsand
* Yoav Shapira Howdy, You can download these files by right-clicking on them and choosing Save target as. Part of the point of the app developer's guide is to show the structure for development and deployment. That's why there's no one-file-package that you can download with this structure.

RE: easy question

2003-06-24 Thread Riaan Oberholzer
In addition, jar files you have in /WEB-INF/lib are also automatically in the application's classpath. What you might often see in a production environment running multiple applications on one server, is that common packages are made known to developers so that they do not need to include them in

Re: easy question

2003-06-24 Thread David Zellhoefer
Thank you all! My problem was something in between the developer's ide knows all packages and the fact that I was presuming that the JSP and my class are within the same package. Thanks for the tip about the JAR, I'll use this. It's very convenient. Cheers, David Holger Klawitter wrote: Am

Re: App Developer's Guide Example

2003-06-24 Thread Jon Haugsand
* Jon Haugsand All the files are now gone. Where can I find a complete very simple example with one servlet, one jsp file and a complete directory structure with correct web.xml all which total to an example.war file deployable with my tomcat installation (preferrable bundled with jboss)?

Re: how to check connection pool is still working

2003-06-24 Thread Tim Funk
Yup - There is an option in DBCP (which is what tomcat uses) which allows you to specify a validation query. (for exmaple: select 'x' from dual) The validation query can run before the connection is borrowed or after it is returned or both. See the DBCP docs for more details. -Tim a b wrote:

RE: easy question

2003-06-24 Thread Atreya Basu
The easiest thing to do is the following: Put Test into a package. Then copy the proper package directory structure into WEB-INF/classes. Then add the fully qualified class-name of Test into your JSP. This will work. If you have a class that is not in a package you will have a hard time

building connector (4.1.24) error

2003-06-24 Thread Dionisio Ruiz de Zarate
Hello. i have one great problem, i am trying, during four days, for solving it and i dont solve. i have one SuSE linux 8.2. Apache 2.0.46, sun jdk 1.4.1 i have download the tomcat 4.1.24 and the connectors. i am trying to build the connector for using the tomcat and apache. but when i run the make

Huge catalina.out file

2003-06-24 Thread Brown, James
We recently experienced a problem where the catalina.out file had reached ~ 2GB in size and filled the file system in only a few days. Is there any means of reducing the output to this file? I have looked in web.xml and all of the param-namedebug/param-name values are set to 0 - which from my

Re: Huge catalina.out file

2003-06-24 Thread Tim Funk
See this recent thread: http://marc.theaimsgroup.com/?l=tomcat-userm=105640876032532w=2 Also - shoot your developers who use System.out without regard to the issues that it raises when the app goes to production. ;) If that is the case - get them to swithc to log4j so logging can be turned down

Re: rotating catalina.out

2003-06-24 Thread John Turner
Nice. Thanks for the tip! John On Mon, 23 Jun 2003 15:52:22 -0700, Filip Hanik [EMAIL PROTECTED] wrote: so in catalina.sh I do this ...start catalina.out 21 --replaced with ..start |cronolog /tomcat/logs/%Y-%M-%D.catalina.out /dev/null 21 -Original Message- From: Filip Hanik

Problems with mod_jk2

2003-06-24 Thread Nikola Milutinovic
Hi all. mod_jk2 is bugging me properly. It is not working right now and it never did. I could have made a number of mistakes, so if someone could point at them, I'd be grateful. This are the relevant files: jk2.properties -- handler.list=request,container,channelSocket

Re: Problems with mod_jk2

2003-06-24 Thread Tony Grant
On Tue, 2003-06-24 at 14:38, Nikola Milutinovic wrote: mod_jk2 is bugging me properly. It is not working right now and it never did. I could have made a number of mistakes, so if someone could point at them, I'd be grateful. This are the relevant files: I second this motion! Is the best

Re: installing a servlet

2003-06-24 Thread John Turner
Donwgrading and using mod_webapp is the WORST thing you could do, for all sorts of reasons. Security, for one. Performance, for another. Future extensibility and growth, for another. Mod_jk and mod_jk2 work. This is a fact. There's nothing anyone can do if you want to give up learning how

Re: where to get mod_jk2.so, jkjni.so

2003-06-24 Thread jason
On Tue, 24 Jun 2003 04:02, Wolfgang Woger wrote: Hi, where cat i get mod_jk2.so and jkjni.so for a reliable download? thanks Wolfgang It's 2.01 as I don't believe 2.02 binaries have been built yet but:

RE: installing a servlet

2003-06-24 Thread Kevin Passey
I would agree with John - I am no expert by any stretch of the imagination - I installed the latest java, apache and Tomcat and got it working in a morning. Read more is the answer. If you ask nicely there are many people in this list who can point you at the relevant documentation. I for one am

IP based access control

2003-06-24 Thread Elkin Koren
Hi, Is it possible to configure in Tomcat 3.3.1 access control list: white and black lists? (My purpose is to configure white list - list of ip's Tomcat will receive HTTP from. Packets which come from any other ip should be rejected.) Thanks in advance, Koren

Re: installing a servlet

2003-06-24 Thread Stephen Carville
If people are having problems getting mod_jk to work there are probably reasons. It may be true that mod_jk works but not always as expected. I have a system that works fine until mod_jk gets involved then java starts barfing up 'exceptions' on a couple of jsp's. Naturally the developers

Re: installing a servlet

2003-06-24 Thread Tony Grant
On Tue, 2003-06-24 at 14:42, John Turner wrote: Donwgrading and using mod_webapp is the WORST thing you could do, for all sorts of reasons. Security, for one. Performance, for another. Future extensibility and growth, for another. My question was: downgrade to mod_jk? (I have read that

RE: Alternatives to DBCP

2003-06-24 Thread Shapira, Yoav
Howdy, That's kind of ironic, in that when development on Poolman was stopped, many of its features were transferred to DBCP ;) I like them both. Yoav Shapira Millennium ChemInformatics -Original Message- From: mike jackson [mailto:[EMAIL PROTECTED] Sent: Monday, June 23, 2003 6:21 PM

RE: installing a servlet

2003-06-24 Thread Atreya Basu
There seems to be a great deal of discussion about JK2. I know that JK2 is the outstanding issue for me in getting Tomcat running. Maybe it would be a good idea to share everyone's experiences about JK2, like what works and what doesn't. Then we could at least have something to go on. Maybe

RE: App Developer's Guide Example

2003-06-24 Thread Shapira, Yoav
Howdy, To be more specific. I tried the following directory structure: wartest/WEB-INF/web.xml wartest/WEB-INF/classes/HelloWorld.class The wartest directory was packed with: jar cf wartest.war wartest You need to be in the wartest directory and do jar cf wartest.war * Yoav Shapria

RE: installing a servlet

2003-06-24 Thread Shapira, Yoav
Howdy, There seems to be a great deal of discussion about JK2. I know that JK2 is the outstanding issue for me in getting Tomcat running. Maybe it JK2 is not required to get tomcat running. It's one option that you can use if you want to connect Apache to tomcat. Yoav Shapira This

RE: installing a servlet

2003-06-24 Thread Atreya Basu
Yhea, That's what I meant. Getting Tomcat to work with Apache. _ Atreya Basu Developer, Greenfield Research Inc. e-mail: atreya (at) greenfieldresearch (dot) ca -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: June 24, 2003

RE: tomcat 4.1.24 + sdk 1.4.1_03 + Win 2000

2003-06-24 Thread Mike Curwen
Did you use LFN's in your set statements ? Try the c:\Progra~1\Apache~1\Tomcat~1 instead (same for JAVA_HOME) -Original Message- From: Mark Hayes [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 4:33 AM To: tomcat-User (E-mail) Subject: tomcat 4.1.24 + sdk 1.4.1_03 + Win

Re: installing a servlet

2003-06-24 Thread Tim Funk
This is also on my wish list for docs. To have many many examples, for example: jk (worker.properties http.conf) - Simple - With advanced options - With multiple workers (one host) - With multiple workers loadbalancer (one host) - With multiple workers mulitple loadbalancers (one host) - All

Re: installing a servlet

2003-06-24 Thread John Turner
Sorry, it wasn't my intent to criticize anyone, I apologize if that was the way it came across. JK and JK2 work. The difference that you have encountered moving to 4.1.24 is most likely attributable to the Invoker servlet being disabled by default. It is disabled by default for a reason:

Re: Problems with mod_jk2

2003-06-24 Thread John Turner
Mod_jk is in use by many people in production. You will have more chances of getting help if you use mod_jk. John On 24 Jun 2003 14:41:43 +0200, Tony Grant [EMAIL PROTECTED] wrote: On Tue, 2003-06-24 at 14:38, Nikola Milutinovic wrote: mod_jk2 is bugging me properly. It is not working right

RE: easy question

2003-06-24 Thread Mike Curwen
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html -Original Message- From: Riaan Oberholzer [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 5:24 AM To: Tomcat Users List Subject: RE: easy question snip On that note, what is the scope of jars put

RE: strange emial behavior

2003-06-24 Thread Mike Curwen
This has been covered... search your inbox (or the archive) for subject line: getting a reply like this -Original Message- From: a b [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 3:03 AM To: [EMAIL PROTECTED] Subject: strange emial behavior snip

RE: installing a servlet

2003-06-24 Thread Phillip Qin
Mostly agree with John. But I love jk2 because it is simple to config. -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: June 24, 2003 9:37 AM To: Tomcat Users List Subject: Re: installing a servlet Sorry, it wasn't my intent to criticize anyone, I apologize if that

RE: installing a servlet

2003-06-24 Thread Shapira, Yoav
Howdy, Oh how I wish more people would read this, digest it, and go through it before posting FAQs. Great post Senor Turner (as always). Yoav Shapira Millennium ChemInformatics -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 9:37 AM To:

Re: App Developer's Guide Example

2003-06-24 Thread Jon Haugsand
* Yoav Shapira You need to be in the wartest directory and do jar cf wartest.war * Thanks, it helped. No errors during deploy. However, I cannot get in touch with my servlet. I _know_ this is really newbie questions, but I cannot find ONE tutorial on these issues. Here is my web.xml:

RE: Huge catalina.out file

2003-06-24 Thread Brown, James
Thanks for the pointer to cronolog. We do use log4j - the log messages in question appear to be coming from the apache product itself. On further inspection it appears that we need to increase plim_fd_cur and plim_fd_max on our Solaris server as we are receiving the wonderful Too many open files

RE: App Developer's Guide Example

2003-06-24 Thread Shapira, Yoav
Howdy, Thanks, it helped. No errors during deploy. However, I cannot get in touch with my servlet. I _know_ this is really newbie questions, but I cannot find ONE tutorial on these issues. Here is my web.xml: It is unfortunate that most tutorials out there (plenty exist, just google for

Re: App Developer's Guide Example

2003-06-24 Thread Tim Funk
I don't think this a valid url-pattern: try *.do -Tim Jon Haugsand wrote: servlet-mapping servlet-namehallo/servlet-name url-pattern/*do/url-pattern /servlet-mapping - To unsubscribe, e-mail: [EMAIL

Re: Problems with mod_jk2

2003-06-24 Thread Jonathan Peterson
I second this motion! Is the best idea to go back to mod_jk as mod_webapp is depreciated? mod_jk appears to work, although documentation is slim. I have not tried mod_jk2 but it's unclear to me what its advantages are... Oddly enough, the docs say that mod_jk was created as a replacement to

RE: App Developer's Guide Example

2003-06-24 Thread Shapira, Yoav
D'oh ;) I looked at it and saw /*.do already, thinking this guy was using struts ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 10:05 AM To: Tomcat Users List Subject: Re: App Developer's Guide

Re: App Developer's Guide Example

2003-06-24 Thread Jon Haugsand
* Yoav Shapira Howdy, Thanks, it helped. No errors during deploy. However, I cannot get in touch with my servlet. I _know_ this is really newbie questions, but I cannot find ONE tutorial on these issues. Here is my web.xml: It is unfortunate that most tutorials out there (plenty exist,

Re: installing a servlet

2003-06-24 Thread Tony Grant
On Tue, 2003-06-24 at 15:37, John Turner wrote: Sorry, it wasn't my intent to criticize anyone, I apologize if that was the way it came across. That's OK - I am slow at re-integrating newbie mode... - the actual URL you are typing into the browser's address bar (or the value of your Form's

RE: tomcat 4.1.24 + sdk 1.4.1_03 + Win 2000

2003-06-24 Thread Sullivan, Patrick
Did you move the appropriate jars to sdk's jre\lib\endorsed? Thank you, Patrick Sullivan -Original Message- From: Mark Hayes [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 3:33 AM To: tomcat-User (E-mail) Subject: tomcat 4.1.24 + sdk 1.4.1_03 + Win 2000 Unable to start Tomcat

RE: Tomcat 4.1.24 + Apache 1.3.27

2003-06-24 Thread Marcia de Oliveira Cardoso
Hi Here we go again. I installed the FreeBSD port Jakarta-Tomcat 4.1.24. When I try the URL http://localhost:8180 I got this error: HTTP Status 500 - type Exception report message description The server

RE: tomcat 4.1.24 + sdk 1.4.1_03 + Win 2000

2003-06-24 Thread Mike Curwen
-Original Message- From: Sullivan, Patrick [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 9:30 AM To: Mark Hayes; tomcat-User (E-mail) Subject: RE: tomcat 4.1.24 + sdk 1.4.1_03 + Win 2000 Did you move the appropriate jars to sdk's jre\lib\endorsed? And what jars would

Deployment of WAR-files

2003-06-24 Thread Johannes Lietz
I've got a question regarding the deployment of WAR-files in Tomcat: What is the right way to proceed? I tried putting my WAR-file into webapps (like I would do e.g. in Weblogic), but Tomcat does not recognise it, only if I go to the manager-app and use its install feature. Are there any

Re: Tomcat 4.1.24 + Apache 1.3.27

2003-06-24 Thread Dominic Parry
I got the same error on WinXP. Disappeared with a reboot, I think it had something to do with registry entries that were cleaned up at boot time. This wouldn't be the same in your case, But the error is the same. Cheers Dom - Original Message - From: Marcia de Oliveira Cardoso

Re: Deployment of WAR-files

2003-06-24 Thread Mark F
I have a simalar problem with deployment. I refer to the .war file in the context yet it still gets expanded. No matter what I do it gets expanded? Thanks, -Mark - Original Message - From: Johannes Lietz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 9:40 AM

Re: Deployment of WAR-files

2003-06-24 Thread John Turner
Do you have autoDeploy set to true in server.xml? John On Tue, 24 Jun 2003 16:40:31 +0200, Johannes Lietz [EMAIL PROTECTED] wrote: I've got a question regarding the deployment of WAR-files in Tomcat: What is the right way to proceed? I tried putting my WAR-file into webapps (like I would do

Re: Deployment of WAR-files

2003-06-24 Thread John Turner
Do you have unpackWARS set to true? John On Tue, 24 Jun 2003 09:44:08 -0500, Mark F [EMAIL PROTECTED] wrote: I have a simalar problem with deployment. I refer to the .war file in the context yet it still gets expanded. No matter what I do it gets expanded? Thanks, -Mark - Original

Re: Deployment of WAR-files

2003-06-24 Thread Tim Funk
In tomcat4.1 - the docs are skethcy at best. (And I never use wars, so I am clueless). Tomcat5 - has totally overhauled the functionality and docs. -Tim Johannes Lietz wrote: I've got a question regarding the deployment of WAR-files in Tomcat: What is the right way to proceed? I tried putting

RE: Deployment of WAR-files

2003-06-24 Thread Phillip Qin
- compile your code - create a context.xml in META-INF - make the war - use tomcat manager to deploy To prevent war from expanding, set unpackWar to false in server.xml's Host element. -Original Message- From: Mark F [mailto:[EMAIL PROTECTED] Sent: June 24, 2003 10:44 AM To: Tomcat

RE: tomcat 4.1.24 + sdk 1.4.1_03 + Win 2000

2003-06-24 Thread Sullivan, Patrick
Overriding the J2SE SDK 1.4.x JAXP Endorsed Classes: dom.jar sax.jar xalan.jar xercesImpl.jar xsltc.jar I am not sure if this is your issue so backup your files the give it a try Thank you, Patrick Sullivan -Original Message- From: Mike Curwen [mailto:[EMAIL PROTECTED] Sent: Tuesday,

RE: Deployment of WAR-files

2003-06-24 Thread Phillip Qin
I finally gave up using war on my production server though I still use tomcat manager to deploy/undeploy my app on dev box. War is quite convenient in deploy but hard to setup when starting tomcat with security manager. For example, I cann't use war as the codeBase in grant entry. -Original

Re: Deployment of WAR-files

2003-06-24 Thread Johannes Lietz
Yes, both autoDeploy and unpackWARs are true. - Johannes On Dienstag, Juni 24, 2003, at 04:45 Uhr, John Turner wrote: Do you have autoDeploy set to true in server.xml? John On Tue, 24 Jun 2003 16:40:31 +0200, Johannes Lietz [EMAIL PROTECTED] wrote: I've got a question regarding the

RE: Tomcat 4.1.24 + Apache 1.3.27

2003-06-24 Thread Marcia de Oliveira Cardoso
I use FreeBSD. But I restart the system. Shut down. I read that some people got the same error with this version (4.1.24). But nobody return any answer. I will try to reinstall the port. Tanks. Marcia -Original Message- From: Dominic Parry [mailto:[EMAIL PROTECTED] Sent: Tuesday, June

RE: Tomcat 4.1.24 + Apache 1.3.27

2003-06-24 Thread Phillip Qin
Why do you use FreeBSD port of tomcat? I used to use Red Hat, now I am using Debian. I never use the port version. Simply download a binary from Jakarta.apache.org. I haven't seen any problem of using a *not port* binary. -Original Message- From: Marcia de Oliveira Cardoso [mailto:[EMAIL

RE: Tomcat 4.1.24 + Apache 1.3.27

2003-06-24 Thread Marcia de Oliveira Cardoso
I used to do that. But as I have more than one FreeBSD systems with 4000 users, I optimized my work (update, etc) with the ports. But I will take your suggestion. Thanks. Marcia -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 12:02 PM To:

RE: Deployment of WAR-files

2003-06-24 Thread Mike Curwen
Do you have a context declared for the web app ? Check out this for details: http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topicf=5 6t=000264 It contains links to nagoya for bug reports on unpacking WARs with context declared in server.xml. I'm still irritated by the tone of

Virtual Domains -- almost

2003-06-24 Thread Stephen Carville
OK, I have Apache and Tomcat working together -- mostly. URL's go to teh right places but now one of the jsp's gives me the following error. This worked when I didn't use virtual domains but had a separate copy of tomcat running as a standalone server for each domain on the machine. That is

RE: How use an external C program in a Servlet

2003-06-24 Thread Atreya Basu
Hi Holger, There are two things that you can do. If your programme is a Library then you can use JNI to create native wrappers then just call them from the servlet. This is pretty straightforward and I use them. The other is to use: Runtime.getRuntime().exec(exec_name_and_params); That will

RE: Connectors for IIS/Tomcat SHOULD make sense

2003-06-24 Thread Januski, Ken
Another day's experimentation and no more progress. One thing I notice is that the source code seems to refer to isapi_redirector2 and I'm using isapi_redirector.dll. I'm using that because I'm following instructions from ESRI for preparing IIS and Tomcat for an ArcIMS upgrade. Their instructions

java.net.UnknownHostException: jakarta.apache.org

2003-06-24 Thread Flo
Hi i installed Tomcat 4.1.24 My internet connection was down and when i restart Tomcat i got on starting this error : java.net.UnknownHostException: jakarta.apache.org ... And i was unable to test my work How can i fix this problem ?

Conflict of Kazaa and Tomcat

2003-06-24 Thread David
Hi guys, I am a newbie to Tomcat. I followed all the instructions on how to set up the tomcat server. I managed to test if it is working and stuff. I setup the server properly. Ran the test page, I managed to get the to Tomcat set up test page correctly displayed. PROBLEM: All the set up and

RE: Conflict of Kazaa and Tomcat

2003-06-24 Thread Mike Curwen
I'm pretty sure Kazaa starts a webserver on port 80. That's also how Kazza's theatre (preview a downloading movie file) works. If you've modified Tomcat to start on port 80, then change it back to 8080. Or... if I'm remembering wrong, and it's kazza that starts on 8080, then change Tomcat to

Re: Connectors for IIS/Tomcat SHOULD make sense

2003-06-24 Thread John Turner
There's no need for any of the loadbalancing stuff in workers.properties. You only need the four lines: type, name, port, host. John On Tue, 24 Jun 2003 13:10:33 -0400, Januski, Ken [EMAIL PROTECTED] wrote: Another day's experimentation and no more progress. One thing I notice is that the

RE: Connectors for IIS/Tomcat SHOULD make sense

2003-06-24 Thread Januski, Ken
Thanks John, I wasn't sure about the loadbalancing. I commented it out but I'm still getting the 404 errors, /jakarta/isapi_redirector.dll is not available. I've watched other people have this error, including someone about a week ago I think, in which you gave some advice. But as far as I can

Re: Connectors for IIS/Tomcat SHOULD make sense

2003-06-24 Thread John Turner
I wish I could help, but I avoid IIS if possible. The only thing I know to suggest is the configuration tutorial at onjava.com. John On Tue, 24 Jun 2003 14:27:40 -0400, Januski, Ken [EMAIL PROTECTED] wrote: Thanks John, I wasn't sure about the loadbalancing. I commented it out but I'm still

RE: Connectors for IIS/Tomcat SHOULD make sense

2003-06-24 Thread Januski, Ken
Thanks John, I'd just as soon avoid IIS but unfortunately it's something that my company uses.:-) I also think that there's enough people who have to/choose to use IIS that it would be helpful to figure out what causes this problem. The last time I solved it I'd been beating my head against the

Re: Connectors for IIS/Tomcat SHOULD make sense

2003-06-24 Thread Jason Bainbridge
Lets get back to basics... Is the ISAPI plugin showing with a green arrow in IIS indicating it has been loaded successfully? What does your uriworkermap.properties file look like? What is throwing the 404? Tomcat or IIS? What URL are you trying to access when you get the 404? Regards, --

RE: Connectors for IIS/Tomcat SHOULD make sense

2003-06-24 Thread Jose Santiago Oyervides Gonzalez
Hi Ken, This link explains how to install Tomcat 4.0.5 with IIS. http://support.esri.com/index.cfm?fa=knowledgebase.techarticles.articleShow; d=24055 I followed the instructions and worked. (with some help of this list) I hope it can help you. Regards. Jose Oyervides. -Original Message-

RE: Connectors for IIS/Tomcat SHOULD make sense

2003-06-24 Thread Januski, Ken
Thanks Jose, Those are the instructions I've been using, and reusing, but I keep getting the 404 errors. Ken -Original Message- From: Jose Santiago Oyervides Gonzalez [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 2:54 PM To: Tomcat Users List Subject: RE: Connectors for

Re: tomcat 4.1.24 + sdk 1.4.1_03 + Win 2000

2003-06-24 Thread Jason Bainbridge
It sounds like it is getting confused with your various Tomcat installs, what are the environment variables you have got set? A post in the archive suggested editing out the JMX MBeans stuff in server.xml and it worked for the original poster, so if you don't need it (if you don't know what it

Re: Connectors for IIS/Tomcat SHOULD make sense

2003-06-24 Thread John Turner
Have you tried this URL? http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html Its the one I would use if I was setting it up. John On Tue, 24 Jun 2003 14:58:48 -0400, Januski, Ken [EMAIL PROTECTED] wrote: Thanks Jose, Those are the instructions I've been using, and reusing, but I keep

Re: Connectors for IIS/Tomcat SHOULD make sense

2003-06-24 Thread Jason Bainbridge
On Wed, 25 Jun 2003 02:58, Januski, Ken wrote: I wasn't sure about the loadbalancing. I commented it out but I'm still getting the 404 errors, /jakarta/isapi_redirector.dll is not available. That tells me something is wrong with loading the ISAPI plugin on the IIS side of the fence, so is the

RE: Connectors for IIS/Tomcat SHOULD make sense

2003-06-24 Thread Januski, Ken
Hi Jason, Yes the green arrow is green and pointing up. I've removed and added both the filter and the virtual directory many times. I really seem to have no problem getting it to work. I believe that it's Tomcat that is causing the problem as the log indicates an ajp13 worker is created. Also

error starting Tomcat 4.1.24 without Internet connection

2003-06-24 Thread Flo
Hi i installed Tomcat 4.1.24 My internet connection was down and when i restart Tomcat i got on starting this error : java.net.UnknownHostException: jakarta.apache.org ... And i was unable to test my work How can i fix this problem ?

Re: Deployment of WAR-files

2003-06-24 Thread Geralyn M Hollerman
Phillip Qin [EMAIL PROTECTED] wrote: - compile your code - create a context.xml in META-INF - make the war - use tomcat manager to deploy To prevent war from expanding, set unpackWar to false in server.xml's Host element. -Original Message- From: Mark F [mailto:[EMAIL

Re: Connectors for IIS/Tomcat SHOULD make sense

2003-06-24 Thread Dominic Parry
Hi Ken I have a suggestion. You should try using JK2 instead of JK, ie use isapi_redirector2.dll. If you want, I can send you all my working configs for this connector. If you don't want to use it, try posting your workers.properties file, and we can try to spot that typo Cheers Dom -

  1   2   >