RE: Beginner's config problem with TomCat 4.1.12 on Win2K

2002-10-18 Thread Tim Moore
Well I'm glad you got it basically working, but as for getting it working with your own servlet mapping, make sure to take the /servlet part out of the URL you try to access. E.G., http://localhost/greeting/GreetingServlet. The /servlet part is only necessary when you're using the invoker servlet.

Error Loading mod_jk.dll

2002-10-18 Thread Jim Urban
Now that presents a little problem. The only version of Apache/2 I can find for Win32 is 2.0.43 and the only version of mod_jk I can find is 2.0.42. I am a Java developer and do not have access to a Windows c/c++ compiler, so I can't build my own version of either Apache or mod_jk. Does anyone

RE: socket permission catalina.policy question

2002-10-18 Thread Andrew Cheng
I am using tomcat version 4.0. I have tried adding the extra jar: and !/- and restarting tomcat... however it still does not work. I tried removing that extra syntax and it does not work in that case either. (In fact, when I added the extra syntax to all of the jar files in catalina.policy, it

Re: Error Loading mod_jk.dll

2002-10-18 Thread Aryeh Katz
Try the mirror site for apache 2.0.42 http://www.ibiblio.org/pub/packages/infosystems/WWW/servers/apache/httpd/binaries/win32/ Now that presents a little problem. The only version of Apache/2 I can find for Win32 is 2.0.43 and the only version of mod_jk I can find is 2.0.42. I am a Java

RE: Error Loading mod_jk.dll

2002-10-18 Thread Turner, John
Detlev Beutner used to supply mod_jk.dll binaries at http://www.acg-gmbh.de/mod_jk/. According to his site: PS: At the time writing this document, the (actual) Win-connector is called mod_jk-2.0.42.dll, and it is mentioned that it is for Apache 2.0.42 (and only 2.0.42). This is not true, the

Re: Ajp13Processor starting background threads under low load

2002-10-18 Thread Lindsay Patten
Hi, I thought I would take a different tack on my problem with the Ajp13Processor using up all of its threads problem. Does anyone know if the Ajp13Processor has a timeout when it is looking for a worker to handle a request? If the worker threads were all swapped out and taking a long time to

Random DNS Error

2002-10-18 Thread Chris Sereda
Using Tomcat 4.0.3 and Apache 1.4.24 My web app is running from ROOT (www..com/index.htm) and using HTTPS with self signed cert. I general my web app works fine. However, I randomly get DNS error 'the web page cannot be displayed' (IE 6). This occasionally happens on any given page, and

RE: Error Loading mod_jk.dll

2002-10-18 Thread Jim Urban
Ok, a .42 dll should work with a .43 server. Unfortunately I never get far enough to find out if that is true or not. Apache says it can't load the module. I think this means mod_jk.dll needs some other dll (MS c++?) to run. I had the same problem with mod_ssl until I remembered to copy the

TOMCAT, Servlets and Filters?

2002-10-18 Thread Chris Wolcott
WINDOWS 2000 SVR, Apache 2.0, TOMCAT 4.1 In the primary conf/web.xml, the invoker servlet is defined, but the servlet-mapping is commented out. In the /examples/WEB-INF/web.xml file, the servlet-mapping definition is given. The servlets in this directory work. In this same file, there is a

Random DNS Error 2

2002-10-18 Thread Chris Sereda
some additional info for my previous post: After further testing, I have discovered that my problem only exists when using HTTPS. I get the error Cannot find server or DNS Error Internet Explorer However when using HTTP without SSL I never get that error. Perhaps this is an Apache web server

RE: Random DNS Error 2

2002-10-18 Thread Turner, John
Or it could be a SSL problem with IE. We've had an incredible number of problems supporting IE here...we're required to support 5.0 and up, and there are so many minor versions it is next to impossible to guarantee that everything works in every version of IE every time. John -Original

nullpointerexception in bean

2002-10-18 Thread Sam Seaver
I'm sure i've misunderstood beans, but if I write a standalone java application that does the same thing, i dont get the error... the pointer that is null is the pointer to the List called moYe, which is filled in the beans constructor. Also, if I try to access the LabNews object, that also

Re: Random DNS Error

2002-10-18 Thread Craig R. McClanahan
On Fri, 18 Oct 2002, Chris Sereda wrote: Date: Fri, 18 Oct 2002 13:16:20 -0600 From: Chris Sereda [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Random DNS Error Using Tomcat 4.0.3 and Apache 1.4.24 My web app is running from ROOT

Re: problem with session tracking and redirection http--- https

2002-10-18 Thread Maninder S Batth
is the request method changing in redirection, for example post to get ?? if it is, use HttpServletResponse.encodeURL() Henrik Bentel wrote: Another weird behaviour I just discovered is the following: If a httpsession is created by a servlet processing a request sent under(scheme) http, then

Re: problem with session tracking and redirection http--- https

2002-10-18 Thread Henrik Bentel
Another weird behaviour I just discovered is the following: If a httpsession is created by a servlet processing a request sent under(scheme) http, then redirects to https, the session is available to the servlet processing in https. In other words, it stays put. HOWEVER, if a httpsession is

RE: Problem writing deployment Servlet

2002-10-18 Thread Robert L Sowders
Tomcat runs as root, enable cgi's for Tomcat. Seems simple. rls Scott Goldstein [EMAIL PROTECTED] 10/18/2002 08:59 AM Please respond to Tomcat Users List To: Robert L Sowders [EMAIL PROTECTED], Tomcat Users List [EMAIL PROTECTED] cc: Subject:RE:

Re: Random DNS Error

2002-10-18 Thread Chris Sereda
Thanks Craig, I think your right about IE. I am unable to reproduce the error using HTTPS and Opera 6.03. This would point to an IE browser bug (in the version I'm using anyway, 6.0.2600..xpclnt_qfe.010827-1803). Thanks again, that narrows my problem down, and also determines that Tomcat

Help: Jakarta as a service

2002-10-18 Thread Ing. Fernando Zapata
I have installed Jakarta Tomcat as a Service on W2K, the configuration seems to be right, but when I start the service, it stops inmediatelly. I'm working under Java 2 SDK 1.4. Thanks in advanced. Ing. Fernando Zapata

Re: Help: Jakarta as a service

2002-10-18 Thread Rafael Gonçalves
Fernando, The same happened to me when i made a change in the tomcat-user.xml file. The problem was that the xml sintaxe was wrong. Have you made any change in a xml file? I hope this will help. rafiros --- Ing. Fernando Zapata [EMAIL PROTECTED] escreveu: I have installed Jakarta Tomcat as

Re: Help: Jakarta as a service

2002-10-18 Thread Michael Finney
Same thing for me too, but it was a server.xml file which had a syntax error. Check tomcats logs in the log directory. --- Rafael Gonçalves [EMAIL PROTECTED] wrote: Fernando, The same happened to me when i made a change in the tomcat-user.xml file. The problem was that the xml sintaxe

Re: Random DNS Error

2002-10-18 Thread craig franke
XP's version of IE seems to have problems... on my XP machines it likes to say images aren't there or are broken links periodically... and at one time it kept goofing up my DNS entries the second problem was a major pain to fix... had to format and reinstall my entire system [EMAIL

Re: Servlet directory?

2002-10-18 Thread Robert L Sowders
Me again, Forgot to mention that in TC4.1.12 and above, the invoker servlet is off by default. You will have to map it to a different url in the web.xml. Something other than servlet. Then change the diagnostics urls to match. From Tim Moore, You have two choices for how to fix this

RE: Index.jsp page in apache and tomcat config....

2002-10-18 Thread Robert L Sowders
Just for clarification, Apache reads the LoadModule lines from the top down. If you put the LoadModule line for mod_jk to the end of that section then mod_rewrite will be loaded first. rls Turner, John [EMAIL PROTECTED] 10/18/2002 08:47 AM Please respond to Tomcat Users List

tomcat dies after some time

2002-10-18 Thread Maninder S Batth
I am using tomcat4.1.12 and jdk 1.4.1 . The tomcat needs to be restarted every now and then, else it stops responding. it happens on win2000 server and xp work station. any suggestions?? Maninder S Batth wrote: check specially tomcat-install-dir/logs/stderr Rafael Gonçalves wrote: Fernando,

Re: Help: Jakarta as a service

2002-10-18 Thread Maninder S Batth
check specially tomcat-install-dir/logs/stderr Rafael Gonçalves wrote: Fernando, The same happened to me when i made a change in the tomcat-user.xml file. The problem was that the xml sintaxe was wrong. Have you made any change in a xml file? I hope this will help. rafiros --- Ing.

Re: Servlet directory?

2002-10-18 Thread Robert L Sowders
Ahhh, another ArcIMS headache in the making. I've found that it's easier to just lie to the installer and then delete whatever it installs for the connector. Then go to the ArcIMS\connectors\servlet directory and copy the arcimsServletConnector.war file to the TOMCAT_HOME/webapps directory

RE: Help: Jakarta as a service

2002-10-18 Thread Durham David Cntr 805CSS/SCBE
do the logs indicate any errors? -Original Message- From: Ing. Fernando Zapata [mailto:fzapata;icsa.com.ar] Sent: Friday, October 18, 2002 1:31 PM To: [EMAIL PROTECTED] Subject: Help: Jakarta as a service I have installed Jakarta Tomcat as a Service on W2K, the configuration

Can not get javax.servlet.request.X509Certificate Attribute in teh servlet request

2002-10-18 Thread Ma, Yongjie
Hi Tomcat 4.1.12, JavaJDK 1.4 I setup my Tomcat + SSL and installed personal certificate for IE browser. And also set clientAuth=true in SSL connector session of the server.xml. Then started Tomcat. The browser with personal certificate could access the Tomcat example page via SSL, and the

Please Help: How can I generate .java files from JSP files

2002-10-18 Thread Carson, Chuck
What within tomcat pre-compiles the jsp pages into java files so that they can then be compiled by javac? Much thanks, CC -- This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate,

Re: Error Loading mod_jk.dll

2002-10-18 Thread Robert L Sowders
Well, that's is a problem, For the Tomcat error; Did you try to use something like this in your server.xml file Listener className=org.apache.ajp.tomcat4.config.ApacheConfig modJk=/usr/local/apache2/modules/mod_jk.so / Recheck the modJK= line for the correct syntax for a windows machine. I

Re: problem with session tracking and redirection http--- https

2002-10-18 Thread Henrik Bentel
yeah, I always encode the redirection URL. it's waird that it works if the session is created which under http, but not under https. bug maybe? From: Maninder S Batth [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: problem with session

how to Apache2 for JK2 on Linux ???

2002-10-18 Thread yoom nguyen
Does any one have a sample on how to configure JK2 connector on apache2 to talk to tomcat? Or any debugging method to see if JK2 actually working. I turn logger to debug mode in httpd.conf file. I am having problems of determine if my apache configuration with JK2 is correct or not. Apache

Re: Please Help: How can I generate .java files from JSP files

2002-10-18 Thread Jean-Francois Arcand
Go under ${catalina.home}/bin and then type jspc.{bat or sh, depending on which machine}. You will invoke manually Jasper (The JSP compiler used by Tomcat) . The following options will be displayed: where jsp files is any number of: file A file to be parsed as a jsp page -webapp

Re: how to Apache2 for JK2 on Linux ???

2002-10-18 Thread Robert L Sowders
The default workers2.properties files has a uri for jkstatus predefined. You can access it at http://localhost:8080/jkstatus then you can try via apache at http://localhost/jkstatus The configuration of jk2 is pretty simple; You will need a LoadModules line in httpd.conf You will need to

RE: Error Loading mod_jk.dll

2002-10-18 Thread Robert L Sowders
No, you only need the mod_jk.dll for Tomcat and Apache. The error you're getting from Apache2 is not indicative of a mismatch of .dll vs Apache binary. It's more indicative of syntax errors in your configuration. Did you install apache to a path that has spaces in them? rls Jim Urban

Re: problem with session tracking and redirection http--- https

2002-10-18 Thread Maninder S Batth
This is what i did: 1. use makes https request to tomcat for a jsp page , the jsp page creates a session and adds a variable into session. This jsp page has hyerlink to another ShowVar.jsp but the hyperlink uses http protocol.. 2. i click on the link and ShowVar.jsp displays me the session

Re: problem with session tracking and redirection http--- https

2002-10-18 Thread Maninder S Batth
btw does RequestDispatcher serves your purpose ? Henrik Bentel wrote: yeah, I always encode the redirection URL. it's waird that it works if the session is created which under http, but not under https. bug maybe? From: Maninder S Batth [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL

Re: Help: Jakarta as a service

2002-10-18 Thread Michele Emmi
I run Tomcat on Win2k and found that I can only start on the command line, not from the installed shortcuts. Michele From: Ing. Fernando Zapata [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Help: Jakarta as a service Date: Fri, 18 Oct 2002

Re: Help: Jakarta as a service

2002-10-18 Thread Maninder S Batth
i run tomcat on win2kserver and xp and it runs as service. maybe check ur server.xml . Michele Emmi wrote: I run Tomcat on Win2k and found that I can only start on the command line, not from the installed shortcuts. Michele From: Ing. Fernando Zapata [EMAIL PROTECTED] Reply-To: Tomcat

Re: mod_webapp or mod:jk

2002-10-18 Thread Fernando Perez
Zarate from Argentina..? ISENBECK ! -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org

Re: problem with session tracking and redirection http--- https

2002-10-18 Thread Craig R. McClanahan
On Fri, 18 Oct 2002, Henrik Bentel wrote: Date: Fri, 18 Oct 2002 23:07:17 + From: Henrik Bentel [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: problem with session tracking and redirection http--- https yeah, I always encode the

Re: problem with session tracking and redirection http--- https

2002-10-18 Thread Maninder S Batth
please correct me if i am wrong. Session id could be hijacked anytime if it is transmitted as clear text. so once user has loged in , and user gets new session id , this session id could be sniffed and the person can still be impersonated.?? how is this related to https--http transitiion?

Problem writing deployment Servlet

2002-10-18 Thread Scott Goldstein
I didn't get any replies on this question, so I thought I would try again. I recently tried building a deployment tool by implementing the ContainerServlet and had some problems. When I first tried to access the Servlet, I got the following exception: java.lang.NoClassDefFoundError:

<    1   2   3   4