RE: How to know http port and https port on tomcat

2004-05-27 Thread Mariano
That's ok, but when I recieve a SSL request and i want to redirect to NON SSL request i need to know the other port, not the port of the curren request. Thanks -Mensaje original- De: Shapira, Yoav [mailto:[EMAIL PROTECTED] Enviado el: jueves, 27 de mayo de 2004 14:50 Para: Tomcat Users L

RE: API for authenticating user

2004-05-27 Thread Koji Sekiguchi
I also tried: String url = "/j_security_check" + "?" + "j_username" + "=" + username + "&" + "j_password" + "=" + password; RequestDispatcher dispatcher = getServlet().getServletContext().getRequestDispatcher( url ); dispatcher.include( r

registering Tomcat as service

2004-05-27 Thread Paul Wallace
Hello, I installed Tomcat, formally run from the console. I am now trying to get it to run as a service. I have in the registry: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tomcat\Parameters: JVM Option Count REG_DWORD0X0004 (4) JVM Option Number 0 REG_SZ

Re: Context path

2004-05-27 Thread Bill Barker
Those viral hosts can be even more nasty than the spam hosts ;-). But seriously, yes this is the right place to ask your question. However, if you'll have to provide more details on what you are trying to do to get a serious answer. "stella luna" <[EMAIL PROTECTED]> wrote in message news:[EMAIL

RE: API for authenticating user

2004-05-27 Thread Koji Sekiguchi
As I told in this thread before, what I want to do is authenticating users as soon as they register themselves. Currently new users have to (1) visit subscribing page to subscribe and then (2) visit login page and input user name and password again. I want to avoid (2) step for new users. And I fo

Re: X509 certificates and https

2004-05-27 Thread Bill Barker
First you need to import you CA cert into a JKS keystore file (usually different from the one that you are using for Tomcat's keystore). Since you are using 4.1.x, you then need to add: -Djavax.net.ssl.trustStore=/path/to/truststore/file to the command line that starts Tomcat. (For TC 5, you w

RE: X509 certificates and https

2004-05-27 Thread rlipi
Hi, I think I have seen this Exception. I had certificate with both human readable and encoded parts. I deleted human readable part (I left only encoded part between -BEGIN CERTIFICATE- and -END CERTIFICATE- including these tags). After this, I was able to import this certificate.

Looking for sample config files mod_jk2.

2004-05-27 Thread Narayana Reddy (nreddy)
Hi I need to integrate Tomcat 3.3 with Apache 2.0.48. Does any body sample configuration files for mod_jk2 to go with this configuration. I will be happy, even if the files for a different configuration. Thanks Narayan - To unsu

Re: JSVC to run tomcat?

2004-05-27 Thread Eric Noel
On 5/28/2004 12:02 PM, Justin Jaynes wrote: I am very impressed with the responsiveness of this list. I appreciate all the help everyone has given me in learning about JSVC for running tomcat as an underpriviledged user on ports 80 and 443. However, I am still running into a problem. I created a t

JSVC to run tomcat?

2004-05-27 Thread Justin Jaynes
I am very impressed with the responsiveness of this list. I appreciate all the help everyone has given me in learning about JSVC for running tomcat as an underpriviledged user on ports 80 and 443. However, I am still running into a problem. I created a tomcat user and group and all tomcat files

RE: API for authenticating user

2004-05-27 Thread Justin Ruthenbeck
Koji, (1) Make sure you understand the implications of directly using any of Tomcat's internal classes (such as o.a.coyote.tomcat5.CoyoteRequest) -- especially to circumvent intended security. It is rarely advisable. If you still want to use it, move the class and/or jar into the $TOMCAT_HOME/

RE: API for authenticating user

2004-05-27 Thread Koji Sekiguchi
Hi again, I found org.apache.coyote.tomcat5.CoyoteRequest class has a method setUserPrincipal which seems to be used to memorize authenticated user's principal into session. So I think I can call this method to authenticate users as soon as they register. But at runtime, when a user register himse

OffTopic - distribution graph for JMeter

2004-05-27 Thread Peter Lin
For those who use JMeter to load test Tomcat, now there's a distribution graph for JMeter. I just checked it in and it should be in the nightly build. peter __ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://mes

Context path

2004-05-27 Thread stella luna
I am having trouble setting up a context for a viral hostis this the right place to post such a request for help? TDG - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Free Tomcat Struts loader for more rapid development

2004-05-27 Thread stella luna
I am having trouble setting up a context for a viral hostis this the right place to post such a request for help? TDG - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Free Tomcat Struts loader for more rapid development

2004-05-27 Thread Budi Kurniawan
If you're using Tomcat 4.1 or 5.0 as the development engine of your Struts application, you might want to use the WebappLoader class that automatically reloads your application every time the struts-config.xml changes. This module is easy to use, simply copy the class file under %CATALINA_HOME%/

n00b applet URI question

2004-05-27 Thread Michael Labhard
I have a simple project like this: -- /opt/tomcat/webapps/hello: HelloWorld.jsp META-INF WEB-INF /opt/tomcat/webapps/hello/META-INF: MANIFEST.MF /opt/tomcat/webapps/hello/WEB-INF: classes lib web.xml /opt/tomcat/webapps/hello/WEB-INF/classes/xptoolkit/web: HelloWorldServ

Re: JK2 & MX4J Dependancies

2004-05-27 Thread Peter Rossbach
Hello Jimmy and Yoav, I have build the lastet CVS HEAD successful with MX4J 2.0.1 and send a patch for JkMX.java support. http://issues.apache.org/bugzilla/show_bug.cgi?id=29259 So now we must also changed org.apache.catalina.mbeans.createRMIAdaptor() to support the ServerLifecycleListener interfac

Re: Possible to forward a request to another server?

2004-05-27 Thread David Crooke
You may want to look at plugging it in using an AJP connector, which is a webserver plugin which talks to your Tomcat JVM across TCP/IP using a proprietary protocol. I've only done this with Apache, but they apparently exist for IIS and iPlanet too. http://jakarta.apache.org/tomcat/tomcat-4.0-d

RE: JNDI question

2004-05-27 Thread Mike Curwen
closing a connection that you obtained through a pooled DataSource will merely return it to the pool, and not actually close it. > -Original Message- > From: Randy [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 27, 2004 3:55 PM > To: 'Tomcat Users List' > Subject: RE:JNDI question > >

RE: can CGI Servlet handle Perl taint checking?

2004-05-27 Thread Mark Thomas
Hi, I tend to look after the CGI servlet. I am about to go on annual leave but will try and look at it when I get back (mid-June ish). Mark > -Original Message- > From: Larry Levin [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 27, 2004 4:59 PM > To: [EMAIL PROTECTED] > Subject: can C

RE:JNDI question

2004-05-27 Thread Randy
Hello, I have an easy question about using JNDI in tomcat 5 I am using the example @ http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-resources-howto.html Below is my server.xml entry Here is what I do not quite understand. In this little bit of code do I have to do anything to use the poo

RE: NoClassDefFoundError

2004-05-27 Thread Benjamin Armintor
I saw something similar recently- a static code block in the class in question was throwing an unchecked exception, which prevented the class from being loaded. Benjamin J. Armintor Systems Analyst ITS-Systems: Mainframe Group University of Texas - Austin tele: (512) 232-6562 email: [EMAIL PROTECT

RE: Possible to forward a request to another server?

2004-05-27 Thread None None
In simplest terms, a response forward sends control to something in the same context and the forwarded, a response rediect can go to something outside the context. The technical difference is that a forward is done entirely on the server, wheras a redirect sends the redirect command to the clie

RE: NoClassDefFoundError

2004-05-27 Thread Worley Brent - bworle
So you are saying that while my JSP imports search.* my SearchSession.class needs to import search.Search? Would a package search at the top of SearchSession not do the same thing? Like I said, I'm new to java, and there are a few tricks I do not know yet. Brent -Original Message- From

RE: NoClassDefFoundError

2004-05-27 Thread None None
Are you importing class Search in SearchSession? I can't tell from your post, but I suspect you may be asusming that doing the import in the JSP makes all the classes in the package available to all the classes in that package, and that isn't the case. Each class still must have an import of

Workers2.properties

2004-05-27 Thread Charles P. Killmer
Can the uri tag be set up to watch for the IP address that a host resolves too? Or is there some way to do this? [uri:172.16.10.38:80/*] info=JSP examples, map requests for all JSP pages to Tomcat. worker=172.16.10.38:8009 Then if my hosts file looks like 172.16.10.38site1.com 172.16.10.

RE: Load balancing

2004-05-27 Thread Charles P. Killmer
I played around with it a little more and noticed that if I close the browser and reopen the sites, I get different ones working. It appears that Tomcat is setting a cookie to "stick" me to a particular worker. So it appears that this is not the ideal way to have one server, many sites, each with

NoClassDefFoundError

2004-05-27 Thread Worley Brent - bworle
Hi everyone, I'm fairly new to Java and Tomcat. I hope this problem can be easily explained. I am using Tomcat 5.0.24. I have an application, packaged it in a WAR file, and deployed it. This application has a login page. After logging in, the application redirects to a page named search.jsp.

RE: Using OpenJMS in Tomcat Valve

2004-05-27 Thread Rui Zhang
Thanks a lot, Yoav, it works now. Rui On Thu, 27 May 2004, Shapira, Yoav wrote: > > Hi, > Try using the TCP factories instead of the RMI ones (they also ship with > open JMS, same jars, it'll just be a tcp://somehost:someport connection > URL). > > Yoav Shapira > Millennium Research Informatics

RE: Load balancing

2004-05-27 Thread Charles P. Killmer
Well I have it set up like this, but it isnt working quite right. Workers2.properties [shm:] info=Shared memory file. Required for multiprocess servers file=C:\Tomcat\work\jk2.shm size=100 [channel.socket:172.16.10.39:8009] info=Ajp13 worker, connects to tomcat instance using AJP 1.3 protocol

RE: JK2 & MX4J Dependancies

2004-05-27 Thread Shapira, Yoav
Hi, It's probably not a huge deal, and it's definitely on the radar screen. Take a shot at building tomcat with MX4J 2.0 and let us help you if you run into problems. Yoav Shapira Millennium Research Informatics >-Original Message- >From: Wilson Jimmy - jiwils [mailto:[EMAIL PROTECTED]

RE: How to make Apache direct Servlet to Tomcat

2004-05-27 Thread Daxin Zuo
Thank for your reply. Yes, I did it. in the tomcat\webapps\ROOT\web.xml or tomcat\webapps\ROOT\WEB-INF (not both): test1/test1 test1/test1 test1/test1 /test1/test1 in Apache/conf/workers2.properties [uri:/ROOT/*] group=lb The servlet classes test1.class

RE: Mail Session JNDI Lookup fails on 5.0.25

2004-05-27 Thread Shapira, Yoav
Hi, After adding some debugging statement to the code (on a local build of 5.0.26 that has no relevant changes): getting mail session factory. factory class name = org.apache.naming.factory.MailSessionFactory java.lang.ClassNotFoundException: org.apache.naming.factory.MailSessionFactory at

JK2 & MX4J Dependancies

2004-05-27 Thread Wilson Jimmy - jiwils
Is there any work being done to support MX4J 2.0.x? MX4J's 1.1.1 release is no longer available from the MX4J web site. Does anyone have any idea how big of a project this would be? I might be interested in helping to contribute if it is not too large. Jimmy **

RE: Mail Session JNDI Lookup fails on 5.0.25

2004-05-27 Thread Shapira, Yoav
Hi, Hmm. I wasn't aware of anything in the naming/JNDI area that changed in 5.0.25 that could cause this. Yet I can reproduce your problem, so it's clearly not specific to you. You get a javax.naming.NamingException: Cannot create resource instance exception, right? Digging a bit deeper, I see

Re: Why don't updated unpacked WAR files get reloaded automatically?

2004-05-27 Thread Jonathan Eric Miller
Thanks, but, since, I have "unpackWARs" set to false, I have no unpacked directory, so, I don't see why that would make a difference. Jon - Original Message - From: "Shapira, Yoav" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, May 27, 2004 12:58 PM Subje

RE: n00b cannot get jar files to work.

2004-05-27 Thread Shapira, Yoav
Hi, No problem, glad to help -- those little things can be frustrating ;) Yoav Shapira Millennium Research Informatics >-Original Message- >From: Michael Labhard [mailto:[EMAIL PROTECTED] >Sent: Thursday, May 27, 2004 3:05 PM >To: Tomcat Users List >Subject: Re: n00b cannot get jar file

Re: n00b cannot get jar files to work.

2004-05-27 Thread Michael Labhard
Yoav: As happens the realization of the solution came to me as a result of our exchanges. I had improperly built the jar file. The servlet was in a package "example" but the jar file did not contain a directory "example" that contained the class. It just contained the class. What I should h

Vedr.: Getting messages: INFO: Unknown message 0

2004-05-27 Thread Thomas Nybro Bolding
Hi Emerson, these are non-critical but will stop to occur upon upgrading to 5.0.25. /Thomas Emerson Cargnin <[EMAIL PROTECTED]> 27-05-2004 14:14 Besvar venligst til "Tomcat Users List" Til:Tomcat Users List <[EMAIL PROTECTED]> cc: Vedr.: Getting messages: INFO

Re: Why so many sessions?

2004-05-27 Thread Leonard Sitongia
On May 27, 2004, at 10:05 AM, Leonard Sitongia wrote: But, the number of Sessions is 140. The number appears to have fluctuations up and down, but the overall trend is to increase. There are now 170 sessions. Some sessions apparently expire but others do not, hence the overall increase. Is thi

RE: n00b cannot get jar files to work.

2004-05-27 Thread Shapira, Yoav
Hi, I have no more ideas, but I'm curious as to what JDK you're using. Yoav Shapira Millennium Research Informatics >-Original Message- >From: Michael Labhard [mailto:[EMAIL PROTECTED] >Sent: Thursday, May 27, 2004 2:27 PM >To: Tomcat Users List >Subject: Re: n00b cannot get jar files t

Mail Session JNDI Lookup fails on 5.0.25

2004-05-27 Thread Matt Raible
I've been using 4.1.x and 5.0.x for quite some time with the sample application. This application does a JNDI lookup of a mail session. This session is configured in my app's context with the following: mail.smtp.host localhost My code

Re: n00b cannot get jar files to work.

2004-05-27 Thread Michael Labhard
On Thursday 27 May 2004 11:04 am, Parsons Technical Services wrote: > Wonder if the manifest or index of the jar is not correct? That could cause > problems. The jar manifest is empty: Manifest-Version: 1.0 Created-By: 1.4.2-rc1 (Blackdown Java-Linux Team) I think this is right.

Re: n00b cannot get jar files to work.

2004-05-27 Thread Michael Labhard
> Why do you doubt they'd work? I'd give them a shot if I were you -- > after all, that IS on of the main points of Java ;) Oh, I see. It didn't occur to me that Tomcat was itself written in java. But, of course! So I downloaded the binaries and used them for the same tests just as you reco

Re: Possible to forward a request to another server?

2004-05-27 Thread Tim Funk
Look at JSTL's tag. If you don't do posts (or images) - it might be enough of a quick kludge. For example, call this page cowbell.jsp: -- <%@ taglib uri="http://java.sun.com/jstl/core/c.tld"; prefix="c" %> http://otherserver${pageContext.request.requestURI}"/> -- Then in web.xml: fever

RE: Possible to forward a request to another server?

2004-05-27 Thread Wendell Holmes
Thanks, Yoav. I will try to write something to wrap the request. The streaming back part answers my question about how to handle the response. I could simply use IIS to redirect the original request, but the server address would be unreachable for the client as only the web server would have a r

RE: Revisted: 302 Response When Request URI == Context Path

2004-05-27 Thread Shapira, Yoav
Hi, >I thought this was the User list, not the Dev list. As such, why should I >be >expected to submit code suggestions or diffs. This IS the user list. Most tomcat users are developers, and as such the idea of submitting code fixes when they find bugs is not foreign to them. I didn't say to s

Re: n00b cannot get jar files to work.

2004-05-27 Thread Parsons Technical Services
Yoav, So use to doing imports that I didn't think (key words here) about Tomcat making the servlets available from a jar. Was thinking that it would have to be imported to be used. Learn something new each day. Thanks Wonder if the manifest or index of the jar is not correct? That could cause pr

RE: Why don't updated unpacked WAR files get reloaded automatically?

2004-05-27 Thread Shapira, Yoav
Hi, Because you may have changed the contents of the unpacked directory, and a redeployment of the WAR (which includes unpacking it) would overwrite your changes. We'd rather be extra careful and require the user to explicitly redeploy the app via the manager (or whatever mechanism he/she wants t

RE: Possible to forward a request to another server?

2004-05-27 Thread Shapira, Yoav
Hi, Like HttpServletResponse#sendRedirect? It's not like a forward in that the client URL changes, but it does pass the request to another server. Beyond that, you COULD write something that'd wrap the request, invoke another server to handle it, and stream the response to your own client. Yoav

RE: n00b cannot get jar files to work.

2004-05-27 Thread Shapira, Yoav
Hi, >I would except the machine I am working on is an amd64 Opteron processor >and I >doubt that the binaries would work. Gentoo built tomcat from the 5.0.18 >source and that what I am working with. Why do you doubt they'd work? I'd give them a shot if I were you -- after all, that IS on of th

Possible to forward a request to another server?

2004-05-27 Thread Wendell Holmes
Is it possible to forward a request from one Tomcat server to another? I looked at the API's and it seems to say the resource must be located on the same server and in the same servlet context. I'm needing to have some way to forward http requests from an external IIS web server to an internal to

Re: n00b cannot get jar files to work.

2004-05-27 Thread Michael Labhard
Yoav: I would except the machine I am working on is an amd64 Opteron processor and I doubt that the binaries would work. Gentoo built tomcat from the 5.0.18 source and that what I am working with. Any way to confirm that tomcat's classpath actually contains the jar file? -- Michael > Hi, > T

Why don't updated unpacked WAR files get reloaded automatically?

2004-05-27 Thread Jonathan Eric Miller
I noticed that if you have "unpackWARs" set to false and you update a WAR file, it doesn't reload it. According to the Tomcat documentation at the following link, it only does it for unpacked WAR files. Why? http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html#Automatic%20Application%

Re: n00b cannot get jar files to work.

2004-05-27 Thread Parsons Technical Services
Yoav, Trying to learn something here. From what I am reading, I can create several servlets, place them in a jar and put this jar in WEB-INF/lib . Then these servlets are available in my context? Just add mappings! That is what I am reading from this thread. My current understanding is different

Getting messages: INFO: Unknown message 0

2004-05-27 Thread Emerson Cargnin
The errors sttoped, but I still get the following messges in catalina.log May 27, 2004 1:52:48 PM org.apache.jk.common.HandlerRequest invoke INFO: Unknown message 0 May 27, 2004 1:54:02 PM org.apache.jk.common.HandlerRequest invoke INFO: Unknown message 0 May 27, 2004 1:55:20 PM org.apache.jk.commo

RE: Which connector to use JK 1.2 or JK 2

2004-05-27 Thread Chad Morris
I seem to remember there were problems if you tried to run jk1 with virtual hosts and also apache https. Does that sound right? -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Thursday, May 27, 2004 10:52 AM To: Tomcat Users List Subject: Re: Which connector to use JK

RE: Revisted: 302 Response When Request URI == Context Path

2004-05-27 Thread Blair Cooper
I thought this was the User list, not the Dev list. As such, why should I be expected to submit code suggestions or diffs. I think a patch is in order for the obvious reason that something that worked fine in Tomcat4 doesn't work in Tomcat5. It's called backwards compatibility. Blair -Origin

RE: n00b cannot get jar files to work.

2004-05-27 Thread Shapira, Yoav
Hi, Try installing it from the normal distribution at jakarta.apache.org, not an RPM or another package specific to your system. The normal distro installation is simple: download and unzip to a directory of your choice. It doesn't created any new users or groups and doesn't require special perm

Re: n00b cannot get jar files to work.

2004-05-27 Thread Michael Labhard
Thank you for the reply. I assume that you meant the opposite when you wrote, "There's no reason it should work in a jar," and it SHOULD work in a jar. When tomcat was installed it inserted a user and a group both named "tomcat" on my machine (I'm using Gentoo Linux 2.6.4). However, I changed

Re: Which connector to use JK 1.2 or JK 2

2004-05-27 Thread Mark Lowe
I've used both.. With 4.1 and 5. In fact our staging server uses jk2 and live server jk1. I would say use 1. Its less bother. Less configuration and I've also found that jk2 has issues when you want to load balance java content from static I've seen loads of examples where the whole webapp is

RE: Using OpenJMS in Tomcat Valve

2004-05-27 Thread Shapira, Yoav
Hi, Try using the TCP factories instead of the RMI ones (they also ship with open JMS, same jars, it'll just be a tcp://somehost:someport connection URL). Yoav Shapira Millennium Research Informatics >-Original Message- >From: Rui Zhang [mailto:[EMAIL PROTECTED] >Sent: Thursday, May 27,

RE: n00b cannot get jar files to work.

2004-05-27 Thread Shapira, Yoav
Hi, The class itself and web.xml look fine (though we usually tell people to put servlet-name before url-pattern in the servlet-mapping element, for backwards compatibility and/or historical reasons). There's no reason it should work in a jar. Webapps/test/WEB-INF/lib is the right place to put t

Using OpenJMS in Tomcat Valve

2004-05-27 Thread Rui Zhang
Hi Filip, Thanks for your reply. I've got pass that point but am now having new problem...(I'm using OpenJMS) After successfully creating the connectionFactory and the Connection, I was prompted the following when Tomcat starts and the OpenJMS server is alreay up and running: [main]

RE: Can I change Tomcat's default character encoding?

2004-05-27 Thread Yansheng Lin
>From Javadoc for OutputStreamWriter: An OutputStreamWriter is a bridge from character streams to byte streams: Characters written to it are encoded into bytes using a specified charset. The charset that it uses may be specified by name or may be given explicitly, or the platform's default charset

Re: Which connector to use JK 1.2 or JK 2

2004-05-27 Thread Emerson Cargnin
Jk2 is a refactoring of jk. Jk2 uses APR library, and AFAIK, it's easier to build against apache 2. I tried some days to make jk2 to work, without too much success. mod_jk is a lot easier. jk2 gives you statistics of the connector from the apache side. Emerson Reis, Tom wrote: I am con

n00b cannot get jar files to work.

2004-05-27 Thread Michael Labhard
How do I get jar files to work? Learning Tomcat I have a simple "HelloServlet" class. When compiled and the class file is inserted into the directory /opt/tomcat/webapps/test/WEB-INF/classes/example and the web.xml file given below is placed in /opt/tomcat/webapps/test/WEB-IN

RE: mod_jk problems - Need help!

2004-05-27 Thread Carl Olivier
Greetings. In the post below - I detail the error I was encountering prior to using mod_jk2.04 with Tomcat 5.0.19. After deploying mod_jk2.04 with TC 5.0.19 the problem did not appear again. Unfortunately the problem is now back (see below for details). It re-appeared after I upgraded to Tomcat

Re: where to put "request.registerRequests=false" when using mod_jk (not jk2)

2004-05-27 Thread Emerson Cargnin
AFAIK, most os the attributes used in jk2.properties as related to mod_jk2. What other attributes can be used to configure later mod_jk? Thanks Bill Barker wrote: "Emerson Cargnin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I'm running out of memory with the msg: ... WARNING: Error

Re: where to put "request.registerRequests=false" when using mod_jk (not jk2)

2004-05-27 Thread Emerson Cargnin
Thanks a lot bill!!! Bill Barker wrote: "Emerson Cargnin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I'm running out of memory with the msg: ... WARNING: Error registering request May 25, 2004 5:36:44 PM org.apache.tomcat.util.threads.ThreadPool$ControlRunnable run SEVERE: Caught e

Re: Re: Re: tomcat 5.0.25 - Problem in running jsp

2004-05-27 Thread Rajesh_Narayanan
Hi, I am running it from Eclipse. How can i find out if my JSP runtime classpath is messed up?.. and how can I rectify it??.. Thanks for ur response.. Raj Hi, I bet your JSP runtime classpath is messed up. Are you running inside an IDE? (All JSPs and JSP tests worked for us before releasin

Securing communications between apaceh and Servlet/JSP container

2004-05-27 Thread Johnny Fulcrum
Hi- I have apache and tomcat (running as a Servlet/JSP container) running on separate servers and I'm using mod_jk to redirect. Apache is all buttoned up with mod_ssl but I'd like the communication between apache (with mod_jk) and Tomcat (running as a Servlet/JSP container) to be encrypted

Which connector to use JK 1.2 or JK 2

2004-05-27 Thread Reis, Tom
I am confused as to which connector to use for connecting II 6.0 Tomcat 4.1.30. It appears that either the JK 1.2 or the JK 2 will work but I am uncertain. If someone could clarify the difference between these connectors and which to use I would greatly appreciate it. Thanks. --

Why so many sessions?

2004-05-27 Thread Leonard Sitongia
Hello, I find that the number of Sessions displayed by the Manager is surprisingly high. My application has the session timeout set to 5. The access_log shows 8 hits in the last five minutes. But, the number of Sessions is 140. I'm running Tomcat 5.0.19 on Solaris 5.9. I use two servers in

Re: HTTP Servlet - How to use the same connection for GET URL?

2004-05-27 Thread Tim Funk
If your client implements keepalives then you can maintain the same socket connection for many requests. -Tim [EMAIL PROTECTED] wrote: Thanks to all, I forget to tell you that the HTTP Servlet and its request to URL of another SW are located on the same host. Maybe I didn't understand quite well

Re: Tomcat 5 going to sleep

2004-05-27 Thread Mark Lowe
Well 2 days have passed, and the problem seems to have gone away. Nothing as clever or as exciting as a memory profiler I'm afraid. Those crazy tomcat developer kids seemed to have nailed the apj coyote stuff in the 5.24 release. On 25 May 2004, at 19:52, Mark Lowe wrote: well time will only tel

can CGI Servlet handle Perl taint checking?

2004-05-27 Thread Larry Levin
Hi; I am trying to get Bugzilla to work with Tomcat and have run into a problem. The latest stable release of Bugzilla (2.16) has implemented "taint checking" in all of the CGI perl scripts as a security feature. When I attempt to access Bugzilla via Tomcat, I get a message in the log file from

RE: How to make Apache direct Servlet to Tomcat

2004-05-27 Thread Dale, Matt
Hi, 1) You need to set up a URI mapping in your workers2.properties in your apache conf directory for the servlets to work, its enough to just put yourapp/*, from the sounds of it you must have yourapp/*.jsp or something like that. 2) You need to set up URL mappings in the applications web.xml

RE: HTTP Servlet - How to use the same connection for GET URL?

2004-05-27 Thread tiago_mendonca
Thanks to all, I forget to tell you that the HTTP Servlet and its request to URL of another SW are located on the same host. Maybe I didn't understand quite well some of your answers but I do believe that for the Server performance it is better to have one remain connection (socket) to the URL w

Order of Initializing Context-Elements?

2004-05-27 Thread Sebastian Hofmann
Hi, I have a big problem - it is necessary for me to initialize the context-elements of a host in a specific order. Here is a snip of my web.xml: docBase="/home/sebastian/projekte/itv/content" reloadable="true"/> The context with path="" shoul

RE: standalone production?

2004-05-27 Thread Shapira, Yoav
Hi, That'll be done too, but those docs only get updated when we do a new release, and I didn't want to wait to post the content. Yoav Shapira Millennium Research Informatics >-Original Message- >From: Parsons Technical Services [mailto:[EMAIL PROTECTED] >Sent: Thursday, May 27, 2004 11

How to make Apache direct Servlet to Tomcat

2004-05-27 Thread Daxin Zuo
My Apache 2.0.49 can direct JSP to Tomcat 5.0.19, but it cannot direct Servlet to Tomcat. I can run it on Tomcat: http://localhost:8008/servlet/myapp/testServlet But I cannot run it on Apache (port number is 82) like: http://localhost:82/servlet/myapp/testServlet. The error log says: File does not

Betr.: Re: Betr.: Re: X509 certificates and https

2004-05-27 Thread R . Blom
Sorry, I'm not familiar with this environment. Which CA certificate your server certificate is signed with? Give me some important attributes. Perhaps I can send you this certificate as an attachment. Julie McCabe <[EMAIL PROTECTED]> 27-05-2004 16:47 Antwoord a.u.b. aan "Tomcat Users List"

Re: standalone production?

2004-05-27 Thread Parsons Technical Services
If this is the case, then why not fix the http://jakarta.apache.org/tomcat/tomcat-5.0-doc/setup.html page to show the correct(updated) information? Doug - Original Message - From: "Shapira, Yoav" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, May 27, 2004

Re: Réf. : Re: Réf. : mod_jk error with Apache 2.0.49

2004-05-27 Thread Barry Roberts
As I've stated in both my previous messages I've tried both and jk1 is the one I really want to get to work. On Thu, 2004-05-27 at 01:25, [EMAIL PROTECTED] wrote: > You've built jk2. that's ok. Your load instruction is not correct. > your httpc.conf contains LoadModule jk_module modules/mod_jk.so

Re: Betr.: Re: X509 certificates and https

2004-05-27 Thread Julie McCabe
Hello, I should have included this in my original mail but I am using Mozilla 1.4.1 on RedHat Linuz 9.0 - any ideas? Julie. On Thursday 27 May 2004 15:47, [EMAIL PROTECTED] wrote: > If you use Internet Explorer you simple go to the Trusted Certificate > Authorties, select the CA certificate and

Betr.: Re: X509 certificates and https

2004-05-27 Thread R . Blom
If you use Internet Explorer you simple go to the Trusted Certificate Authorties, select the CA certificate and export it to some format. You should then be able to import it into your trusted keystore. Ron Julie McCabe <[EMAIL PROTECTED]> 27-05-2004 16:21 Antwoord a.u.b. aan "Tomcat Users

Re: X509 certificates and https

2004-05-27 Thread Julie McCabe
Hi, I tried the following command keytool -import -alias tomcat -keystore server.ks -trustcacerts -file server.crt with my certificate and key which are in pem format and it returned keytool error: java.lang.Exception: Input not an X.509 certificate I have the CA certifcate stored in my brow

symbolic links fail after context reload

2004-05-27 Thread stimmins
I've been wrestling with this for  a few days now. We have an instance of tomcat v5.0.16 using jdk 1.4.2_02 on a solaris 8 machine (kernel patch 108528-17). The use of symbolic links by the webapps is turned on in the default context (I've also tried it in the individual contexts) using: E

Re: How does Tomcat manage sesssions ?

2004-05-27 Thread Xavier MOGHRABI
Hello, That solution doesn't pleased me a lot because I want to store the session for all deployed context. How can I do that ? Put the Manager inside the Host, not the Context. I did it in the host but it doesn't seem to work. I don't see any Session stored in my database. Do you know how

Re: X509 certificates and https

2004-05-27 Thread R . Blom
The only thing you have to do is running the java keytool utily with following command: keytool -import -alias tomcat -keystore server.ks -trustcacerts -file server.crt This inserts thet server.crt certificate into the keystore that tomcat uses. Your CA scertificate needs to be in the trusted

Betr.: X509 certificates and https

2004-05-27 Thread R . Blom
The only thing you have to do is running the java keytool utily with following command: keytool -import -alias tomcat -keystore server.ks -trustcacerts -file server.crt This inserts thet server.crt certificate into the keystore that tomcat uses. Ron Blom Julie McCabe <[EMAIL PROTECTED

Re: Tomcat starts poorly on Windows XP

2004-05-27 Thread Jacob Kjome
At 12:41 AM 5/27/2004 -0400, you wrote: A search of the tomcat-user archives suggests that this is a new way for Tomcat to start poorly on Windows XP. Below is stdout.log after a clean install of j2sdk-1_4_2_04-windows-i586-p.exe and jakarta-tomcat-5.0.24.exe on a Windows XP Pro desktop system. I

Re: Tomcat logging and the referer

2004-05-27 Thread Hassan Schroeder
RJ wrote: I'm using the combined log format, and it seems to be OK, except that on the first hit on my site (to the static index.html page) the referer field is always "-". Subsequent hits from pages within the site show the correct referer, but my main interest is that initial one. Anybody have an

X509 certificates and https

2004-05-27 Thread Julie McCabe
Hello, I am trying to use SSL authenitcation with X509 certificates. The certifcates are not in the Java keystore. I would like to know how to get my certificate whichi is signed by a specific CA into the keystore and use the https connector. I have found some documentation on the web but h

RE: standalone production?

2004-05-27 Thread Shapira, Yoav
Hi, Good post. I've added it to the FAQ: http://jakarta.apache.org/tomcat/faq/security.html#jsvcExample. Yoav Shapira Millennium Research Informatics >-Original Message- >From: RJ [mailto:[EMAIL PROTECTED] >Sent: Thursday, May 27, 2004 8:17 AM >To: Tomcat Users List >Subject: RE: stand

RE: Re: tomcat 5.0.25 - Problem in running jsp

2004-05-27 Thread Shapira, Yoav
Hi, I bet your JSP runtime classpath is messed up. Are you running inside an IDE? (All JSPs and JSP tests worked for us before releasing, including the official Sun JSP TCK -- these are prerequisites for any tomcat release). Yoav Shapira Millennium Research Informatics >-Original Message-

RE: Tomcat starts poorly on Windows XP

2004-05-27 Thread Shapira, Yoav
Hi, Look for multiple or conflicting versions of the JSP API on your classpath. If you have a servlet.jar somewhere other than the ones that ship with tomcat, remove them. Yoav Shapira Millennium Research Informatics >-Original Message- >From: Joel Shprentz [mailto:[EMAIL PROTECTED] >S

Re: Re: tomcat 5.0.25 - Problem in running jsp

2004-05-27 Thread Rajesh_Narayanan
didn't read the email telling of the stableness of the 5.0.25... :) the error is strangem, since it's generated by jasper (JSP engine) it's trying to pass an throwable where is expected an exception, the inverse would be ok... Rajesh_Narayanan wrote: > I tried both... but the result is same

  1   2   >