Re: problem after mod_jk update

2006-10-23 Thread Rainer Jung
Hi Torsten, you could try the FlushPakets JkOption from http://tomcat.apache.org/connectors-doc/config/apache.html Please let us know, if this helps. If not, please open a bugzilla ticket and include your config and a simple test case. Regards, Rainer Torsten R. schrieb: hi, i used

Re: some bug

2006-10-23 Thread Сергей Ковтун
В , Caldarale, Charles R [EMAIL PROTECTED] писал: SSL configuration is different with APR (tcnative-1.dll). I have adjusted and now all works, for exception of one now I cannot obtain the data of the certificate of the client in Servlet X509Certificate [] cr = (X509Certificate[])

changing the length of the jsessionid

2006-10-23 Thread Assaf Flatto
Hello Does anyone know how i can shorten the length of the jsessionid from 32 chars to 30 ? thanks Assaf - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Apache2 forward job for directory listing to Tomcat

2006-10-23 Thread Werner Franke
Hi, instead of apache2 make a directory listing the tomcat want to do that and returns The requested resource (/info/) is not available. URL: http://ong.de.lucent.com/info With the URL http://ong.de.lucent.com/tools; the dir listing works but also made by Tomcat. I have two Apache2/Tomcat

WAR file strangeness

2006-10-23 Thread syg6
Hello everyone. I am using Tomcat 5.5 and have a webapp called vcs. The config is like this: Host name=localhost appBase=/var/local/projects/vcs ... Context path= docBase=/var/local/projects/vcs/vcs.war ... This WAR contains the WEB-INF folder and its contents, nothing else. When I start

SV: Problem with filter and calling Perl-script with Tomcat 5.5.20

2006-10-23 Thread Gunnar.Bostrom
Hi, I've no manged to get things working with Tomcat 5.5.20. I've changed my servlet filter so it appends the parameter to the query string as proposed. As I now understand it the standard CGIServlet will not work if there is a servlet-filter that do getParameters() and adds a new parameter as

threads and keep-alive connections

2006-10-23 Thread dima
Hello, How many threads tomcat with APR and without APR uses to handle keep-alive connections? As I understand tomcat without APR uses 1 thread per keep-alive connection as tomcat does not use NIO. APR may use epoll to handle keep-alive connections

Cannot start application: SEVERE: Error listenerStart

2006-10-23 Thread evimail
Hello, I am trying to run Jetspeed on Tomcat 5.5.20 but the application does not start. Catalina log file shows SEVERE: Error listenerStart - all logs are listed on below. Please advise where to look for solution. Regads, Evi Localhost.log: Oct 23, 2006 2:52:15 PM

Re: some bug

2006-10-23 Thread Сергей Ковтун
В , Mark Thomas [EMAIL PROTECTED] писал: There is a problem of work Tomcat under the https protocol if it is loaded dll (tcnative-1.dll). Without loading given dll-s all works perfectly. Sometimes together with loaded dll (tcnative-1.dll) works normally, if on the party the client already

About connections

2006-10-23 Thread Juanjo Cuadrado
Hi I'm trying to deploy an app and it needs to use the Oracle's drivers ( classes12.jar). When I try to recover a connection, I use the Tomcat's pool connections, that it work fine too if I previously have put the Oracle's jar into 'common' directory. If by some razon, I didn't recover

Re: tcnative-1.dll version 1.1.6 getaddrinfo error

2006-10-23 Thread Mladen Turk
Ron Wheeler wrote: The download of version 1.1.6 of the windows binary of tcnative-1.dll from http://tomcat.heanet.ie/native/ appears to have been built with a set of libraries that only work on Windows XP. In Windows 2000, you get a message that an entry point for getaddrinfo can not be found

Re: static content

2006-10-23 Thread Martin Gainty
you can't skip SSL if your browser is speaking it? How does your browser speak SSL? M- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby

Re: read file inside WEB-INF

2006-10-23 Thread Dies Koper
But if he's using something like Axis, then there is no ServletContext around to use IIRC. Actually, there is. You can get it with javax.xml.rpc.server.ServletEndpointContext#getServletContext(). Regards, Dies Christopher Schultz wrote: Tomas, 2) Then the code will be independent of

Re: Apache Tomcat Connector

2006-10-23 Thread Michael Courcy
Can you send a complete request ie http://x.com/page.jsp that return 400 code. Matthew Dickinson a écrit : Hi, I'm running into an issue of a new install of Tomcat and the Connector to integrate with an existing apache site. RHEL4 httpd-2.0.55-2 tomcat5-5.5.17-6jpp_2rh Mod_jk-1.2.19 built

Re: Eliminating the need for a trailing slash in accessing sub-directoryresourceson a Tomcat HTTP server

2006-10-23 Thread Martin Gainty
If I interpret this correctly you're saying if I go to https://www.whateveryoursiteis.com OR http://www.whateveryoursiteis.com:443 IE 6 browser intentionally (with no 301/302 HTTP events being sent from web server) redirects to port 80? M- This e-mail

Jmx-console for Tomcat

2006-10-23 Thread Mikolaj Rydzewski
Hi, I hope you will not find it a spam ;-) I wrote small application to work with Mbeans, and day after day it evolved in something bigger. I'd like to present you a web enabled jmx console. If you know what mbeans and jmx are you can give it a try. This is alpha version, I'll appreciate your

Question regarding appBase/docBase and default context.

2006-10-23 Thread Rizalino DeVilleres
Guys, We would like both appBase and docBase to be the same for the default Context (is this possible?) *Basically, all the WAR/JSPs/Servlets will all go/served by tomcat from the public_html folder?* Here is the current setup that worked and resolved the other issue but it created

Re: Tomcat Clustering SSH

2006-10-23 Thread Filip Hanik - Dev Lists
http://www.harding.motd.ca/autossh/ Filip Massimiliano Berruti wrote: You're perfectly right...the problem is we must do this because this is a sample application we're developping for our university and they asked to use ssh tunnel or something else to secure connection in the cluster...

Re: HttpSessionListener with session replication (cluster)

2006-10-23 Thread Filip Hanik - Dev Lists
this would be pretty easy for you to try out and find out. there is a flag you can set notifySessionListenersOnReplication Filip Pascal Bleser wrote: What happens when a HttpSession times out in a cluster, wrt HttpSessionListeners ? Will the HttpSessionListener be notified with a

Re: Replication warning with tomcat cluster FastAsyncSockerSender

2006-10-23 Thread Filip Hanik - Dev Lists
connection refused, simple the Tomcat instance is unable to open a connection to the other instance to send the replication data. your systems will continue to function, but if you fail over that other node might not have your data. You'll want to find out why it is failing to open a connection,

RE: WAR file strangeness

2006-10-23 Thread Caldarale, Charles R
From: syg6 [mailto:[EMAIL PROTECTED] Subject: WAR file strangeness Host name=localhost appBase=/var/local/projects/vcs ... Context path= docBase=/var/local/projects/vcs/vcs.war ... When I start Tomcat it unpacks the WAR in as /var/local/projects/vcs/ROOT/WEB-INF Any idea why

RE: About connections

2006-10-23 Thread Caldarale, Charles R
From: Juanjo Cuadrado [mailto:[EMAIL PROTECTED] Subject: About connections When I try to recover a connection, I use the Tomcat's pool connections, that it work fine too if I previously have put the Oracle's jar into 'common' directory. I have put the jar (classes12) into lib directory

RE: Eliminating the need for a trailing slash in accessing sub-directoryresourceson a Tomcat HTTP server

2006-10-23 Thread Caldarale, Charles R
From: Martin Gainty [mailto:[EMAIL PROTECTED] Subject: Re: Eliminating the need for a trailing slash in accessing sub-directoryresourceson a Tomcat HTTP server If I interpret this correctly you're saying if I go to https://www.whateveryoursiteis.com OR

JSessionID Confusion

2006-10-23 Thread Ryan O'Hara
Is there anyway to create JSessionIDs per window rather than per browser? I am having the problem of when you open multiple tabs within a browser, and enter two simultaneous queries, the results returned are corrupted. Any suggestions? Thanks for the help. -Ryan

RE: JSessionID Confusion

2006-10-23 Thread Caldarale, Charles R
From: Ryan O'Hara [mailto:[EMAIL PROTECTED] Subject: JSessionID Confusion I am having the problem of when you open multiple tabs within a browser, and enter two simultaneous queries, the results returned are corrupted. Sounds like an application bug - keeping values/references in the

Dynamically Add Vhosts?

2006-10-23 Thread Cyber Dog
Hello, I'm trying to set up Tomcat 5.5 so that a single instance/machine can run several unrelated vhosts. I'm trying to make the implementation as dynamic as possible; ie requiring as few restarts/reloads and core config changes as I can get away with. I'm having trouble determining a good

RE: Dynamically Add Vhosts?

2006-10-23 Thread Caldarale, Charles R
From: Cyber Dog [mailto:[EMAIL PROTECTED] Subject: Dynamically Add Vhosts? - Dynamically load a vhost config: The admin app can create hosts on the fly, but it does so programmatically, not by reading up some .xml file. Perhaps you could modify it for your purposes. - Chuck THIS

Re: Jmx-console for Tomcat

2006-10-23 Thread Dan Baumann
On 23.10.2006, at 10:07, Mikolaj Rydzewski wrote: Hi, I hope you will not find it a spam ;-) I wrote small application to work with Mbeans, and day after day it evolved in something bigger. I'd like to present you a web enabled jmx console. If you know what mbeans and jmx are you can give it a

Re: Eliminating the need for a trailing slash in accessing sub-directoryresourceson a Tomcat HTTP server

2006-10-23 Thread Ramez Ghazzaoui
No, Martin. I believe this is not exactly true. - There is no https involved in this discussion. We're talking http on port 443. - This case involves having a directory name at the end of the path, and excluding the trailing slash which results in a 302 from the server. - This problem

Help for Apache-Tomcat - JSP error

2006-10-23 Thread Tom Dog
I am new for Tomcat. I installed jdk1.5.0_09 and Tomcat5.5.20 on Windows 2003 Server. I would like to connect Tomcat to database. I was able to see the log in page. However, I got a blank page and when I tried logon. please see the error below from the log. Any help would be greatly

Re: JSessionID Confusion

2006-10-23 Thread David Smith
Short answer: no. Tomcat doesn't have any knowlege of how many windows client-side are sharing the same session cookie. As long as the same session cookie is returned, tomcat see's just one client. The issue can be mitigated by storing state information in the request via hidden form fields

Re: static content

2006-10-23 Thread Christopher Schultz
Martin, I'll go ahead and turn off GPG message signing so you can read this one, Martin. It appears that you see many of my messages as blank, probably due to odd handling of mime types by your mail client. you can't skip SSL if your browser is speaking it? How does your browser speak SSL?

Re: Help for Apache-Tomcat - JSP error

2006-10-23 Thread Martin Gainty
please display the jsp Martin-- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in

serving static html with Tomcat

2006-10-23 Thread EDMOND KEMOKAI
Hi guys I am a newbee so bear with me. I have tomcat deployed on a ubuntu machine, everything works fine except: My app generates static html pages from jsp and writes the html files to a sub-dir of my context path, however when I click on the link for the file, I get a 404 error. When I restart

Re: serving static html with Tomcat

2006-10-23 Thread Christopher Schultz
Edmond, My app generates static html pages from jsp and writes the html files to a sub-dir of my context path Ugh... you are using JSP as a content-generation system? Why!? however when I click on the link for the file, I get a 404 error. Can you give us an example of what the URL of the

RE: Using tomcat with commons-digester in commons/lib won't work

2006-10-23 Thread Allen,Eva
The short story is this worked, thanks very much for the pointer. When I read this I said Duh! I knew that. I ran into further problems with attempting to put the jar files in the lib directory, but it turns out that was the monitoring software that we run things through didn't have

Re: serving static html with Tomcat

2006-10-23 Thread EDMOND KEMOKAI
Hi Christopher My directory structure is as follows: context_path/customer/public I make a call to my jsp via something to the effect: URL url = URL(jsp); write the stream i receive to context_path/customer/public/customer_id/index.html The servlet function from within

RE: a discrepancy in webapp behavior in two environments

2006-10-23 Thread Aronszajn, Mark
Alright, now I'm really baffled. Below, I've copied my original post about the discrepancy that's been puzzling me. Please consult that for a description of the web app and the TEST environment. My web app had been working just fine in the TEST environment, PROVIDED I included the initial session

Re: Jmx-console for Tomcat

2006-10-23 Thread Mikolaj Rydzewski
Dan Baumann wrote: Interesting. How does your webapp compare to MX4J's http adapter (mx4j.sf.net)? Hi, I didn't try hard, but I was unable to run mx4j and its http adapter. So it's hard to compare with it. http://mx4j.sourceforge.net/docs/ch05.html It seems that this adapter runs its own,

Re: serving static html with Tomcat

2006-10-23 Thread Mikolaj Rydzewski
EDMOND KEMOKAI wrote: I make a call to my jsp via something to the effect: URL url = URL(jsp); write the stream i receive to context_path/customer/public/customer_id/index.html The servlet function from within which the above processing is done should return a preview of the page

Re: serving static html with Tomcat

2006-10-23 Thread EDMOND KEMOKAI
what's crazy about it??, the site I am creating will contain user generated content, however the content isn't going to be changing frequently so i didn't want to have jsp's hold objects in memory for pages that aren't chnaging too often. I have the user publish their info whenever they make

Re: serving static html with Tomcat

2006-10-23 Thread Mikolaj Rydzewski
EDMOND KEMOKAI wrote: what's crazy about it??, the site I am creating will contain user generated content, however the content isn't going to be changing frequently so i didn't want to have jsp's hold objects in memory for pages that aren't chnaging too often. I have the user publish their info

RE: trying to change the context path in context.xml

2006-10-23 Thread Caldarale, Charles R
From: Jason Novotny [mailto:[EMAIL PROTECTED] Subject: trying to change the context path in context.xml I've configured context.xml in my webapp META-INF/context.xml and I want to change the path attribute, so that instead of the context being identified by my web application name it

Re: serving static html with Tomcat

2006-10-23 Thread EDMOND KEMOKAI
I'll probably end doing that, I understand apache is better for serving static content. However the problem isn't where user data is stored, my user data is stored in a database. Basically my app is similar to a dating site(it is not a dating site) where a user's profile doesn't chnage regularly

Re: trying to change the context path in context.xml

2006-10-23 Thread Jason Novotny
Thanks Chuck, It might be nice to have some info about the Tomcat deployment philosophy on the page http://tomcat.apache.org/tomcat-5.5-doc/config/context.html since it wasn't clear how the context attribute is useful now based on what you say. Cheers, Jason Caldarale, Charles R

Re: serving static html with Tomcat

2006-10-23 Thread Mikolaj Rydzewski
EDMOND KEMOKAI wrote: I'll probably end doing that, I understand apache is better for serving static content. However the problem isn't where user data is stored, my user data is stored in a database. Basically my app is similar to a dating site(it is not a dating site) where a user's profile

RE: trying to change the context path in context.xml

2006-10-23 Thread Caldarale, Charles R
From: Jason Novotny [mailto:[EMAIL PROTECTED] Subject: Re: trying to change the context path in context.xml since it wasn't clear how the context attribute is useful now based on what you say. The Context element has 24 other attributes besides path; the path attribute itself is only

Re: serving static html with Tomcat

2006-10-23 Thread Christopher Schultz
Edmond, Mikolaj has a point... your are using JSP for something it was not designed to do: generate static content. JSP was designed to generate /dynamic/ content on the fly. what's crazy about it??, the site I am creating will contain user generated content, however the content isn't going to

Re: serving static html with Tomcat

2006-10-23 Thread EDMOND KEMOKAI
I know premature optimization is root of some evil, but I prefer the setup I have at the moment, I think it will work fine. I beleive I will benefit performance wise if I don't have to do constant queries against my db, I am not sure how much performace gain there will be. As far as indexing with

Re: serving static html with Tomcat

2006-10-23 Thread Christopher Schultz
Edmond, a user's profile doesn't change regularly so there is no reason to use jsp for accessing such a page, secondly, I am using lucene which can't search jsp directly. Lucene cannot search HTML pages directly, either. Lucene requires an index which is separate from everything else. What

Re: a discrepancy in webapp behavior in two environments

2006-10-23 Thread Christopher Schultz
Mark, My web app had been working just fine in the TEST environment, PROVIDED I included the initial session ID as a param to the URL used on the cancel/switch-to-batch form. But starting just this morning, it was failing again, DESPITE my using the session ID as a param to the URL on the

RE: a discrepancy in webapp behavior in two environments

2006-10-23 Thread Aronszajn, Mark
Hi chris, I think your suggestion about multiple windows was a good guess. It would account for all the behavior, except that I'm quite sure I wasn't using a different window. I mean, the web app responds with a page that refreshes itself after a set, short amount of time, presenting a progress

Re: a discrepancy in webapp behavior in two environments

2006-10-23 Thread Christopher Schultz
Mark, I think your suggestion about multiple windows was a good guess. [snip] No, no HTTPS-to-HTTP stuff; all requests are going to a port dedicated to Tomcat (8088). And the Firefox cookies options form is set so that cookies are kept until they expire which I believe is the default

Re: changing the length of the jsessionid

2006-10-23 Thread Christopher Schultz
Assaf, Does anyone know how i can shorten the length of the jsessionid from 32 chars to 30 ? In Tomcat 4.1, the class org.apache.catalina.session.ManagerBase creates sessions and assigns ids to them. The source I'm looking at right now uses a message digest algorithm (it's not clear which one,

What would you do with field defect rate predictions?

2006-10-23 Thread Paul Luo Li
Hi I have been examining Tomcat bugs and have been looking for ways of predicting the field defect rate, that is, predicting at the time of release the number of field defects in each time interval after the release. I am brainstorming possible applications for this research. I was wondering

Re: changing the length of the jsessionid

2006-10-23 Thread Bill Barker
Assaf Flatto [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello Does anyone know how i can shorten the length of the jsessionid from 32 chars to 30 ? Set sessionIdLength=15 on the Manager / tag for your context. thanks Assaf

Re: serving static html with Tomcat

2006-10-23 Thread Bill Barker
Christopher Schultz [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Can anyone comment on Tomcat's caching of path lookups on the disk? That would seem to be a tremendous waste of memory if Tomcat actually remembered that a file didn't exist (not to mention a pain in the neck if you

Tomcat 5.5.20 doesnot load ServletContextListener in tld?

2006-10-23 Thread Templar Cain
Hi, guys: I was running a myfaces blank application, which runs perfectly well on Tomcat 5.5.17, on my new tomcat 5.5.20 server and the log told me that I need to add listener listener-class org.apache.myfaces.webapp.StartupServletContextListener/listener-class /listener However, I see

How to run junit test in Tomcat

2006-10-23 Thread Jia Qiang Yang
Hi buddies, I've downloaded the tomcat source code but got question of how to run the testcases. Here's my output result when running ant. I'm wondering what's the best practice for building tomcat source code and running all the testcases. Best regards. Buildfile: