Redirection problem after login

2007-04-18 Thread Sly_cardinal
Hi, I've seen this mentioned in a couple of places, unfortunately without resolution: A successful login, after attempting to access secure content, redirects the user to the previous page instead of the requested page. Login from an index page works as expected - it only occurs when authorisat

Re: problems configuring mod_jk

2007-04-18 Thread Rainer Jung
Your worker.list entry is only a comment :( Faheem Mitha wrote: Hi, I'm trying to set up Apache to talk to Tomcat using the mod_jk connector. However, I get the following error in the log, /var/log/apache2/mod_jk.log jk_handler::mod_jk.c (1986): Could not find a worker for worker name=ajp13_

RE: Tomcat deployment question

2007-04-18 Thread Lakshmi Venkataraman
I have finally a working configuration. Please refer to the bottom of this email for the directory structure. In server.xml I changed appBase="webapps" (original value) htdocs.xml is renamed as ROOT.xml as Rashmi suggested with docBase="${catalina.home}/htdocs Then I am able to type http://lo

Re: Context.xml in tomcat 5.5

2007-04-18 Thread Andre Prasetya
the one at TOMCAT_HOME\conf\context.xml is the one that is loaded for all application, you ll wanna use that if you have a global environment variable. for example you need a DataSource (connection pool) that is shared for all application. you can configure a context.xml inside META-INF of your we

Context.xml in tomcat 5.5

2007-04-18 Thread Avinash Kumar
Hi all, Thier is a file TOMCAT_HOME\conf\context.xml in tomcat 5.5 ,what we have to write in this xml file and when is this file needed,i made two sample web application in jsp and servets ,i just deployed those in webapps ,i se the java and tomcat home as required and these application are runn

RE: Tomcat deployment question

2007-04-18 Thread Lakshmi Venkataraman
Hi Rashmi, Thanks! I renamed htdocs.xml to ROOT.xml. http://localhost:8080 did not work. However, http://localhost:8080/htdocs/index.html worked which is some progress. I think my organization would prefer only http://localhost:8080 I am confused between the concepts appBase, docBase and pa

Re: Tomcat deployment question

2007-04-18 Thread Rashmi Rubdi
Hi Lakshmi, Rename the context file from htdocs.xml to ROOT.xml then you should be able to access the app at http://localhost:8080/ -Rashmi - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL

Tomcat deployment question

2007-04-18 Thread Lakshmi Venkataraman
I have upgraded from Tomcat 3.3 to Tomcat 5.5.23. It is running on WinXP and I am using Java 1.5. Here's my dierctory set up: ${Catalina.Home} -- conf -- Catalina --localhost htdocs.xml -- htdocs index.html --

Re: error-page directive in 5.5.20 - resending

2007-04-18 Thread Rashmi Rubdi
Hi Eqbal, Try upgrading the DTD/Schema URIs to 2.4 version since that's the latest version supported by 5.5.x . To upgrade, remove these lines: http://java.sun.com/dtd/web-app_2_3.dtd";> and change the web-app node to http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/

Re: Jasper compiler very slow

2007-04-18 Thread Rashmi Rubdi
Anthony, Please ignore my first reply on this thread, I misunderstood your post, the reply I posted is irrelevant. Here's my new reply : On 4/18/07, Berglas, Anthony <[EMAIL PROTECTED]> wrote: Hello All, The compile time for my .jsp pages is extremely slow -- like 10 seconds on a modern P

problems configuring mod_jk

2007-04-18 Thread Faheem Mitha
Hi, I'm trying to set up Apache to talk to Tomcat using the mod_jk connector. However, I get the following error in the log, /var/log/apache2/mod_jk.log jk_handler::mod_jk.c (1986): Could not find a worker for worker name=ajp13_worker Apparently it cannot find the definition (or whatever) fo

Re: error-page

2007-04-18 Thread Eqbal
I did not realize/know that this will create a problem. I apologize for doing that. I have sent a new message for my topic/question. Thanks for bringing it to my attention. --- Mark Thomas <[EMAIL PROTECTED]> wrote: > When starting a new thread (ie sending a message to > the list about a > new top

Re: Jasper compiler very slow

2007-04-18 Thread Rashmi Rubdi
On 4/18/07, Berglas, Anthony <[EMAIL PROTECTED]> wrote: [[My general comment would be for web development use Servlets, not JSPs. With a few well thought out templates you don't write much HTML anyway, and using servlets ends the impedance mismatch, as well as much of the pain... But too late

error-page directive in 5.5.20 - resending

2007-04-18 Thread Eqbal
Hi, I have an error-page directive in a webapp's web.xml to display a custom error page on 404/500 errors. . It works on my local machine which has Tomcat 5.5.17, but it does not work on my server which has 5.5.20 installed. Any ideas? Below is my web.xml: -- http://java.sun.com/dtd/web

Re: Jasper compiler very slow

2007-04-18 Thread Rashmi Rubdi
Hi Anthony, The compile time for my .jsp pages is extremely slow -- like 10 seconds on a modern PC to the first time any page is run. Painful during development. I can compile a vast amount of Java code in 2 seconds. It is difficult to imagine what could be happening within Jasper to be th

Re: error-page

2007-04-18 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old thread. Thi

Re: error-page

2007-04-18 Thread Eqbal
I have an error-page directive in a webapp's web.xml to display a custom error page on 404/500 errors. . It works on my local machine which has Tomcat 5.5.17, but it does not work on my server which has 5.5.20 installed. Any ideas? Below is my web.xml: -- http://java.sun.com/dtd/web-app

Jasper compiler very slow

2007-04-18 Thread Berglas, Anthony
Hello All, The compile time for my .jsp pages is extremely slow -- like 10 seconds on a modern PC to the first time any page is run. Painful during development. I can compile a vast amount of Java code in 2 seconds. It is difficult to imagine what could be happening within Jasper to be that slo

Re: sending smtp mail failure

2007-04-18 Thread Mighty Tornado
It was churning for a long time and still didn't manage to send the email. But it left me this exception: org.apache.commons.mail.EmailException: Sending the email to the following serve r failed : smtp.gmail.com:465 at org.apache.commons.mail.Email.sendMimeMessage(Email.java:873) a

Re: Jasper5 And Fedora Core 6, build-classpath problems

2007-04-18 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old thread. Thi

Re: HTTP Status 503 - occurs once - only when i stop and start server

2007-04-18 Thread Len Popp
Is it just that Tomcat is taking time to start up? I wouldn't be surprised to get a 503 error if Tomcat isn't ready to handle requests yet. What happens if you start the server, wait for a minute, then launch the browser? -- Len On 4/18/07, risky57 <[EMAIL PROTECTED]> wrote: I am working with t

Re: Getting a project deployed

2007-04-18 Thread Rashmi Rubdi
On 4/18/07, John Calsbeek <[EMAIL PROTECTED]> wrote: For anyone tuning in, my problem is this message displayed in the browser: I just want to add that the following error message is not related to mod_jk or Apache, this error commonly occurs on Tomcat alone if the project is not configured co

Re: Getting a project deployed

2007-04-18 Thread Hassan Schroeder
On 4/18/07, John Calsbeek <[EMAIL PROTECTED]> wrote: Yeah, it's just nicer to have a port 80 connection… So run Tomcat on port 80 -- is there any aspect of Apache httpd you actually /require/? PHP, proxy to Mongrel, whatever? If not, simplify your life and run Tomcat standalone :-) FWIW, --

Re: Getting a project deployed

2007-04-18 Thread John Calsbeek
On 4/18/07, Rashmi Rubdi <[EMAIL PROTECTED]> wrote: I personally haven't worked with mod_jk , I'm sure there's someone on this list who could help you with mod_jk config. A lot of info is available in the docs also: http://tomcat.apache.org/connectors-doc/index.html But simply running JSPs does

Re: Getting a project deployed

2007-04-18 Thread Rashmi Rubdi
I personally haven't worked with mod_jk , I'm sure there's someone on this list who could help you with mod_jk config. A lot of info is available in the docs also: http://tomcat.apache.org/connectors-doc/index.html But simply running JSPs doesn't require any connection with Apache Httpd. -Rashm

Re: Getting a project deployed

2007-04-18 Thread John Calsbeek
On 4/18/07, Rashmi Rubdi <[EMAIL PROTECTED]> wrote: That's it, you can then start Tomcat with startup.sh and access it at http://localhost:8080/ by default, and remember to shut it down with shutdown.sh and not CtrlC Then, to see a simple JSP application, create a new folder under Tomcat's webap

Re: HTTP Status 503 - occurs once - only when i stop and start server

2007-04-18 Thread Rashmi Rubdi
Hi there, Have you set-up your projects in a way that it overloads Tomcat? Or is there something in the code that needs optimization? It helps to check Tomcat's logs for any exceptions/ error messages that give additional clues. According the the RFC 2616 and the Servlet 2.4 spec: Status code

HTTP Status 503 - occurs once - only when i stop and start server

2007-04-18 Thread risky57
I am working with tomcat embeded. i got the thing to run. a gui pops up where you can start the server. a button to launch a browser to the localhost. this works fine. displays as running. when i press the stop button. it destroys and stops the server. now when i press the start button, it s

Re: changing the name of tomcat homedir - impact?

2007-04-18 Thread Ron Wheeler
If you don't like the spaces use the 8.3 names for the directories. TOMCAT_HOME=C:\Programme\Apache_Group\Tomcat 6.0 becomes TOMCAT_HOME=C:\PROGRA~1\APACHE~2\TOMCAT~1 or something similar depending on what 8.3 names Windows generated when the directories were created. "DIR/X" gives you the 8.3

caching principals within Tomcat using Basic Auth and LDAP

2007-04-18 Thread Bill Higgins
Hello, I have a web app on Tomcat 5.5 where we're using Basic Auth as our authentication method. We recently did some load testing and noticed that every HTTPS request to one of the secure URLs was resulting in an LDAP auth check. This makes sense because in Basic Auth, the browser send the cred

Re: rendering php

2007-04-18 Thread Martin Gainty
Hi Richard- what happens when you give god rights to everyone and everything for that folder? cwd ProjectFolder chmod +777 M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you ha

Re: rendering php

2007-04-18 Thread David Smith
Have you asked on an Apache httpd support list? I don't see where tomcat is involved in your question. --David Richard Dunne wrote: > I have installed Apache2.2 on my machine and got the "It Works" page when I > type http://localhost in both windows and firefox. Also when I type > http://loca

rendering php

2007-04-18 Thread Richard Dunne
I have installed Apache2.2 on my machine and got the "It Works" page when I type http://localhost in both windows and firefox. Also when I type http://localhost/ProjectFolder I can see all my php files listed in both windows and firefox. The difference is when I click on one of my webpages, I

Re: 404 and originally requested URL

2007-04-18 Thread Rashmi Rubdi
Ok, now I get it. Sorry, it was my mistake for not reading the sentence carefully. -Rashmi On 4/18/07, Hassan Schroeder <[EMAIL PROTECTED]> wrote: On 4/18/07, Rashmi Rubdi <[EMAIL PROTECTED]> wrote: > Well, the wording in the servlet spec "The values of these attributes > must be equal to the

Re: 404 and originally requested URL

2007-04-18 Thread Hassan Schroeder
On 4/18/07, Rashmi Rubdi <[EMAIL PROTECTED]> wrote: Well, the wording in the servlet spec "The values of these attributes must be equal to the return values of the..." don't reflect what I see: I was thinking that request.getRequestURI returns the same results as request.getAttribute("javax.se

Re: Mixing Apache's mod_rewrite with mod_proxy

2007-04-18 Thread mraible
I got this working with mod_jk and the following configuration for mod_rewrite: RewriteEngine On # http://domain/?v=1 --> http://domain/app1/?v=1 RewriteCond %{QUERY_STRING} v=([^&]+) RewriteRule ^(.*)$ /app%1/$1 [L] # http://domain --> http://domain/app (default ROOT i

Re: 404 and originally requested URL

2007-04-18 Thread Rashmi Rubdi
Well, the wording in the servlet spec "The values of these attributes must be equal to the return values of the..." don't reflect what I see: I was thinking that request.getRequestURI returns the same results as request.getAttribute("javax.servlet.forward.request_uri") request.getRequestURI give

Re: 404 and originally requested URL

2007-04-18 Thread Hassan Schroeder
On 4/18/07, Rashmi Rubdi <[EMAIL PROTECTED]> wrote: > The Servlet Spec is your friend -- SRV 8.4.2, specifically :-) No, none of the methods listed under SRV 8.4.2 show the referring URL information You misunderstand -- there is no reference to the "referrer" in the original posting, nor is

Re: Mixing Apache's mod_rewrite with mod_proxy

2007-04-18 Thread press
Hi Matt, See configuration below. I hope this helps you - Clay Test Cases for Requirement #1 http://www.domain.com/?v=1 -> http://www.domain.com/1 http://www.domain.com/?v=2 -> http://www.domain.com/2 Test Cases for Requi

Re: 404 and originally requested URL

2007-04-18 Thread Rashmi Rubdi
On 4/18/07, Hassan Schroeder <[EMAIL PROTECTED]> wrote: On 4/18/07, Guilhem SEMPERE <[EMAIL PROTECTED]> wrote: > Now I need access to the originally requested URL (the one which > couldn't be found). I couldn't find a way to do this. The Servlet Spec is your friend -- SRV 8.4.2, specifically :

Re: Why the time is way off?

2007-04-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vernon, Vernon _ wrote: > The time in my Java web applications is way off the mark. For > example, the time on the log4j message file is Apr 18 13:44 when the > time on the Linux box is Apr 17 21:44. The (lack of) minute differential is an indication

Re: changing the name of tomcat homedir - impact?

2007-04-18 Thread Rashmi Rubdi
As many on this thread have suggested it is better to uninstall it with the uninstaller, when you first installed it as a Windows Service. I think I had problems when there was a blank space in the installation path, however I don't clearly remember what the problem was. I do know that Ant can h

Re: Location of APR Win32 binaries

2007-04-18 Thread David Kerber
Mladen Turk wrote: Markus Schönhaber wrote: David Kerber wrote: Thanks; how could I have found that from the main Tomcat site? I followed the download links, and it didn't take me to that site... By simply using your crystal ball ;-) Or you can read the documentation for a change ;) h

Re: Location of APR Win32 binaries

2007-04-18 Thread Mladen Turk
Markus Schönhaber wrote: David Kerber wrote: Thanks; how could I have found that from the main Tomcat site? I followed the download links, and it didn't take me to that site... By simply using your crystal ball ;-) Or you can read the documentation for a change ;) http://tomcat.apache.org

[ANN] Apache Tomcat JK 1.2.22 Web Server Connector released

2007-04-18 Thread Mladen Turk
The Apache Tomcat team is pleased to announce the immediate availability of version 1.2.22 of the Apache Tomcat Connectors. It contains connectors, which allow a web server such as Apache HTTPD, Microsoft IIS and Sun Web Server to act as a front end to the Tomcat web application server. This ver

Jasper5 And Fedora Core 6, build-classpath problems

2007-04-18 Thread stephen.hindmarch
I am trying to use Jasper on Fedora Core 6 to precompile some of my jsp but I come across the following classpath builder errors when trying run the jasper script:- $ /usr/bin/jasper5.sh /usr/bin/build-classpath: error: Could not find jasper-compiler Java extension for this JVM /usr/bin/build-cla

Re: 404 and originally requested URL

2007-04-18 Thread David Brown
What does the referrer request header give you ? Propes, Barry L wrote: did you check your logs? Did they tell you anything? -Original Message- From: Guilhem SEMPERE [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 18, 2007 10:00 AM To: users@tomcat.apache.org Subject: 404 and originall

Why the time is way off?

2007-04-18 Thread Vernon _
The time in my Java web applications is way off the mark. For example, the time on the log4j message file is Apr 18 13:44 when the time on the Linux box is Apr 17 21:44. The applications use the same time data of log4j. There is not such issue in the development Window box, but only on the depl

Re: How to create a kind of alias in tomcat

2007-04-18 Thread Johnny Kewl
Thing about these questions is always depends on what you really after... One way would be browser redirection ie stick this in the header of the index file under organigramme and the way I like but I always get too much hassel moans and groans... Is create a servlet and just map the

RE: Tomcat 5.5.17 and IPv6 configuration

2007-04-18 Thread SAVERIO FERRARO
I have just tried with firefox. it runs also with http://[full_local_ipv6_address]:8080 but not run on a remote computer as before. I think that it is a problem of windows ID!!! in windows xp when you have to ping a remote computer you have to run: ping ipv6_address%ID So also when you write th

Re: 404 and originally requested URL

2007-04-18 Thread Hassan Schroeder
On 4/18/07, Guilhem SEMPERE <[EMAIL PROTECTED]> wrote: Now I need access to the originally requested URL (the one which couldn't be found). I couldn't find a way to do this. The Servlet Spec is your friend -- SRV 8.4.2, specifically :-) HTH, -- Hassan Schroeder [EMAI

Re: Location of APR Win32 binaries

2007-04-18 Thread David Kerber
Caldarale, Charles R wrote: From: David Kerber [mailto:[EMAIL PROTECTED] Subject: Re: Location of APR Win32 binaries Do I need to do something to tell it to be used? Yes: when you run the .exe installer, you'll get a "Choose Components" screen; the Tomcat box is gray, indicating that so

RE: 404 and originally requested URL

2007-04-18 Thread Propes, Barry L
did you check your logs? Did they tell you anything? -Original Message- From: Guilhem SEMPERE [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 18, 2007 10:00 AM To: users@tomcat.apache.org Subject: 404 and originally requested URL Hi I am using Tomcat 5.5, having set it up so that any 4

Hardware load balancer

2007-04-18 Thread robert lazarski
Hi all, I have tomcat and the acegi framework working just fine processing http and https requests. However, we put a load balancer in front of the server under test, and it no longer works: 1) The request without the load balancer forwards to https://myserver.net/public/index.jsp , but with the

404 and originally requested URL

2007-04-18 Thread Guilhem SEMPERE
Hi I am using Tomcat 5.5, having set it up so that any 404 error redirects to a 404.jsp I have written for custom handling. Now I need access to the originally requested URL (the one which couldn't be found). I couldn't find a way to do this. All info I can get is that the requested URL is

Re: Location of APR Win32 binaries

2007-04-18 Thread David Kerber
That's what I needed; thanks. I'm seeing this line in my logs: Apr 18, 2007 9:56:30 AM org.apache.coyote.http11.Http11AprProtocol start which from what you said means it's seeing the tcnative.dll. Thanks for all your help, Markus! Dave Markus Schönhaber wrote: David Kerber wrote: Than

RE: Location of APR Win32 binaries

2007-04-18 Thread Caldarale, Charles R
> From: David Kerber [mailto:[EMAIL PROTECTED] > Subject: Re: Location of APR Win32 binaries > > Do I need to do something to tell it to be used? Yes: when you run the .exe installer, you'll get a "Choose Components" screen; the Tomcat box is gray, indicating that some pieces are not enabled. O

Tomcat 5.5.17 and IPv6 configuration

2007-04-18 Thread SAVERIO FERRARO
Hi all, thank you for your responce. But there is the problem tomcat 5.5.17 and IPV6 too. I installed Microsoft IPv6 on Win XP sp2 and then Tomcat 5.5.17. Now I can access to Tomcat page from OPERA with http://localhost:8080 and with http:/[::1]:8080. I have just tried from remote computer with h

[OT] Crystal balls (was: Re: Location of APR Win32 binaries)

2007-04-18 Thread Markus Schönhaber
David Kerber wrote: > Markus Schönhaber wrote: > >David Kerber wrote: > >>Thanks; how could I have found that from the main Tomcat site? I > >>followed the download links, and it didn't take me to that site... > > > >By simply using your crystal ball ;-) > > Unfortunately, it 's a windows-based c

Re: Location of APR Win32 binaries

2007-04-18 Thread Markus Schönhaber
David Kerber wrote: > Thanks, Chuck; Do I need to do something to tell it to be used? And if > not, how can I verify that it is being used? I've checked in all my > tomcat logs (catalina, localhost, etc), and nothing mentions it. Or > does it only give a notice when it fails? Unless you comment

Re: Tomcat5 and Linux-HA

2007-04-18 Thread Hassan Schroeder
On 4/18/07, Tim Finley <[EMAIL PROTECTED]> wrote: I need to know if its possible to setup Apache2/Tomcat5 in a 2 node, Linux (SUSE Linux Enterprise SERVER (SLES10)), running Linux-HA No experience with Linux-HA, but I've set up Tomcat clustering on RHES servers, using the standard Tomcat clust

RE: linux / tomcat

2007-04-18 Thread Faillot
I am not root for the start and stop of the server... With cataline.sh, do you mean the launch/stop script of tomcat.? Because we try to add in this scipt environment variables and it doesn't work. Thanks, On Wed, 2007-04-18 at 09:09 -0500, Biernesser, Beth wrote: > Catalina.sh has those envir

RE: linux / tomcat

2007-04-18 Thread Biernesser, Beth
Catalina.sh has those environment variables. -Original Message- From: Faillot [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 18, 2007 10:07 AM To: users@tomcat.apache.org Subject: linux / tomcat Hi, I have a Java servlet running with Tomcat 5.5 under Linux Debian. I need to indicate

linux / tomcat

2007-04-18 Thread Faillot
Hi, I have a Java servlet running with Tomcat 5.5 under Linux Debian. I need to indicate tomcat where are located the other processes called by the Java servlet. For that, I must specify environment variables for the tomcat user (and not for root or any other user) and for my specific webapp. But

Re: Location of APR Win32 binaries

2007-04-18 Thread David Kerber
Markus Schönhaber wrote: David Kerber wrote: Thanks; how could I have found that from the main Tomcat site? I followed the download links, and it didn't take me to that site... By simply using your crystal ball ;-) Unfortunately, it 's a windows-based crystal ball, and it crashed

Re: Location of APR Win32 binaries

2007-04-18 Thread David Kerber
Thanks, Chuck; Do I need to do something to tell it to be used? And if not, how can I verify that it is being used? I've checked in all my tomcat logs (catalina, localhost, etc), and nothing mentions it. Or does it only give a notice when it fails? Once again, I've checked the web site, and

Re: Location of APR Win32 binaries

2007-04-18 Thread Markus Schönhaber
Caldarale, Charles R wrote: > The .dll for APR is included in the .exe download; no other pieces are > required. Hm, IIRC it's not contained in the .exe but the installer downloads it during the install if you tell it to. Regards mks -

Re: Location of APR Win32 binaries

2007-04-18 Thread Markus Schönhaber
David Kerber wrote: > Thanks; how could I have found that from the main Tomcat site? I > followed the download links, and it didn't take me to that site... By simply using your crystal ball ;-) To be honest, I don't remember where I got this information from. Maybe someone mentioned it on the

RE: changing the name of tomcat homedir - impact?

2007-04-18 Thread Rick Fisk
You can name it anything you want. I have never once installed tomcat under its default directory name and have never had any problems arise from the practice. -Original Message- From: Christoph P. Kukulies [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 18, 2007 5:38 AM To: [EMAIL PROTE

RE: Location of APR Win32 binaries

2007-04-18 Thread Caldarale, Charles R
> From: David Kerber [mailto:[EMAIL PROTECTED] > Subject: Re: Location of APR Win32 binaries > > Thanks; how could I have found that from the main Tomcat site? I > followed the download links, and it didn't take me to that site... The .dll for APR is included in the .exe download; no other pie

Re: How to set Default WebApplication in tomcat 5.5?

2007-04-18 Thread Avinash Kumar
Hi, but While running the application in tomcat 4.1 i hv kept it in TOMCAT_HOME/webapps/myapplication ,i mean it is not under ROOT nd its running fine ...i hv even kept my application in TOMCAT_HOME/webapps/root in tomcat5.1 but its still not working... I hv attached the server.xml of tomcat 4.1 p

Re: Location of APR Win32 binaries

2007-04-18 Thread David Kerber
Thanks; how could I have found that from the main Tomcat site? I followed the download links, and it didn't take me to that site... Markus Schönhaber wrote: David Kerber wrote: Where can I find the binaries download of the Win32 APR? I can find the source on the APR page of the tomcat

Re: Location of APR Win32 binaries

2007-04-18 Thread Markus Schönhaber
David Kerber wrote: > Where can I find the binaries download of the Win32 APR? I can find the > source on the APR page of the tomcat site, but not the binaries... http://tomcat.heanet.ie/native/ Regards mks - To start a new

Re: Which Version Of Tomcat 5.5.23 to download

2007-04-18 Thread Avinash Kumar
Thanks *Jayson Enriquez Sir * nd Reno Sir Bye On 4/18/07, Jayson Enriquez <[EMAIL PROTECTED]> wrote: Use the Core .zip (it has the Catalina.bat file), then the Windows service installer (exe). If you are using jdk 1.4, download jdk 1.4 comp package. -Original Message- From: Avinash K

Location of APR Win32 binaries

2007-04-18 Thread David Kerber
Where can I find the binaries download of the Win32 APR? I can find the source on the APR page of the tomcat site, but not the binaries... Dave - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail:

RE: Which Version Of Tomcat 5.5.23 to download

2007-04-18 Thread Jayson Enriquez
Use the Core .zip (it has the Catalina.bat file), then the Windows service installer (exe). If you are using jdk 1.4, download jdk 1.4 comp package. -Original Message- From: Avinash Kumar [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 18, 2007 1:35 AM To: Tomcat Users List Subject: Re:

Re: mod_jk & JkStripSession for skiped files

2007-04-18 Thread Alexey Kakunin
Thank you, changing to JkUnmount helps! 2007/4/18, Rainer Jung <[EMAIL PROTECTED]>: no-jk is a last minute exit from forwarding and comes after the usual forwarding/strip session handling. Try to use JkUnMount instead of no-jk. That should make your config work, including stripping sessions.

Any documentation/example about org.apache.catalina.Comet* ?

2007-04-18 Thread Benjamin Larchevêque
Hello, I saw that Tomcat proposes some interfaces to use Comet like Servlet from version 6.x. Even(t) if I get the main idea I was not able to reuse the pseudo code servlet ChatServlet provided on the following page: http://tomcat.apache.org/tomcat-6.0-doc/aio.html I would like to know if someon

Re: Which Version Of Tomcat 5.5.23 to download

2007-04-18 Thread David Smith
Core is the one most people will use. It's complete and runs stand-alone w/ jdk/jre 5. As to the others, I'm positive there's a FAQ page on this, but there are two that you may want in addition to Core: Administration Web application -- to add the /admin webapp. Some people find it useful, I'm

Re: How to set Default WebApplication in tomcat 5.5?

2007-04-18 Thread David Smith
Then you'll need to setup a very small ROOT webapp with a servlet that just forwards requests using a 300 series redirect. Simple and the web browser shows your webapp name as expected. --David Avinash Kumar wrote: > Thanks , > But the application must run with its name in the url bar of the br

Re: mod_jk & JkStripSession for skiped files

2007-04-18 Thread Rainer Jung
no-jk is a last minute exit from forwarding and comes after the usual forwarding/strip session handling. Try to use JkUnMount instead of no-jk. That should make your config work, including stripping sessions. Let us know, if that works. Regards, Rainer Alexey Kakunin wrote: Hello! Starti

How to create a kind of alias in tomcat

2007-04-18 Thread BENTOUHAMI MB Malek \(DCL\)
Hello, I'd like to connect to my application at http://10.124.40.29:9090/ORGEWI/PLATFORM/FRENCH/EWICHART/JAVA/L1.html but users need to connect via http://10.124.40.29:9090/organigramme how to proceed ? fyi : Calendra / tomcat v4 many applications with context file ORGEWI.xml Tks, Malek

Re: changing the name of tomcat homedir - impact?

2007-04-18 Thread Christoph P. Kukulies
Thanks. Yes, I noticed that too much is involved. I gave up. One can say at the DOS prompt: NET STOP tomcat6 tomcat6 -remove after that tomcat6 -install But beware you do that after you renamed the path. Oh, I got into a holy mess. And peeking and poking in the registry can make things worse. I

mod_jk & JkStripSession for skiped files

2007-04-18 Thread Alexey Kakunin
Hello! Starting from version 1.2.21 of mod_jk I found there very interesting option: JkStripSession. BY reading it's description - I hoped it will help me to fix old problem, but - seems no -maybe somebody will able to explain me - that I'm doing wronge. So, I have followed part related to mod_j

Re: How to set Default WebApplication in tomcat 5.5?

2007-04-18 Thread Avinash Kumar
Thanks , But the application must run with its name in the url bar of the browser ,so if it is renamed as Root then how can i access it nd it was runnig very well in tomcat 4.1 ,i can also send u the server.xml of tomcat 4.1 which allowed it to run directly... On 4/18/07, Mark Thomas <[EMAIL PR

Re: Host-based access to web applications

2007-04-18 Thread Mark Thomas
Tim Booth wrote: > Hi Mark and Guru, > > Many thanks for both your replies. > > Mark Thomas <[EMAIL PROTECTED]> wrote: >> The allow and deny fields take regular expressions. '.' is reserved >> and needs to escaped. Take a look at the java.util.regex javadoc > > OK, I was going by the info found

Re: How to set Default WebApplication in tomcat 5.5?

2007-04-18 Thread Mark Thomas
Avinash Kumar wrote: > Dear All, > I m trying now with tomcat 5.5,i want to set a web application as default > application ,suppose like if a user after starting tomcat ,if i will enter > http://localhost:8080 then it will just forward to http://localhost:8080/<* > MyApplication

RE: changing the name of tomcat homedir - impact?

2007-04-18 Thread Per Johnsson
Hi! I suppose you have installed the Tomcat Service also and there is references in the registry to the Tomcat Path so a better choice is to uninstall Tomcat 6 and reinstall it in a proper directory without spaces. /Per Jonsson -Original Message- From: Christoph P. Kukulies [mailto:[EMAIL

changing the name of tomcat homedir - impact?

2007-04-18 Thread Christoph P. Kukulies
I have TOMCAT_HOME=C:\Programme\Apache_Group\Tomcat 6.0 You see the crux? Blank in Tomcat 6.0. Some applications, like mvnForum (www.mvnForum.com) claim in the README or INSTALL instructions that a blank character in the PATH should be avoided (Windows) because of possible unexpected or erroneous

RE: Host-based access to web applications

2007-04-18 Thread Tim Booth
Hi Mark and Guru, Many thanks for both your replies. Mark Thomas <[EMAIL PROTECTED]> wrote: > The allow and deny fields take regular expressions. '.' is reserved > and needs to escaped. Take a look at the java.util.regex javadoc OK, I was going by the info found here: http://tomcat.apache.org/to

NullPointerException after approx 3000 comet requests

2007-04-18 Thread Sebastiaan van Erk
Hi, I'm running Tomcat 6.0.10 on Linux Ubuntu Feisty on Java 5. I have a CometProcessor which handles a large number of requests in a very short time, and after about 3000 requests I consistently get the following two errors: Apr 18, 2007 12:09:19 PM org.apache.tomcat.util.net.NioEndpoint$Po

Re: Tomcat5 and Linux-HA

2007-04-18 Thread Tim Finley
Part 2 of the first URL is configured using Windows not Linux so that doesn't help. The second URL is talking about a Intel Clustering solution which isn't related to using the Linux-HA (Open Source) method of clustering. I need to know if its possible to setup Apache2/Tomcat5 in a 2 node, Lin

How to set Default WebApplication in tomcat 5.5?

2007-04-18 Thread Avinash Kumar
Dear All, I m trying now with tomcat 5.5,i want to set a web application as default application ,suppose like if a user after starting tomcat ,if i will enter http://localhost:8080 then it will just forward to http://localhost:8080/<* MyApplication ... Actually i hv to ru

RE: Host-based access to web applications

2007-04-18 Thread Raghupathy, Gurumoorthy
Best thing to do is front apache http server listening on port 80 to forward request to tomcat using mod_jk. You can then use "allow and deny" in your web server (apache http server) to control the access for specific URLs . this far more easy to maintain :) Have a look at http://httpd.apac

Re: Cascading style sheets and tomcat

2007-04-18 Thread Johnny Kewl
Yes, thing about servlet technology is that if you take your time to understand it, its very powerful on its own... but having said that, there is one thing you should read up on, that is the whole idea of MVC model with servlet technology. There is a guy called marty hall that wrote some Mo

Re: Which Version Of Tomcat 5.5.23 to download

2007-04-18 Thread Avinash Kumar
Thanks a Lot , But i m unable to get that from which category Of binary distribution i.e. Core,Depoyer,Embedded,Administration Web application,jdk1.4compatibility version, i have to download ... anyway thanks for the help On 4/18/07, reno <[EMAIL PROTECTED]> wrote: http://apache.cict.fr

Re: Which Version Of Tomcat 5.5.23 to download

2007-04-18 Thread reno
http://apache.cict.fr/tomcat/tomcat-5/v5.5.23/README.html > Hi Frends, > I m downloading Tomcat 5.5.23 from > http://tomcat.apache.org/download-55.cgi i m about to download it from the > binary distribution but thier is many subcategory in binary distribution > like Core,Depoyer,Embedded,Admi

Which Version Of Tomcat 5.5.23 to download

2007-04-18 Thread Avinash Kumar
Hi Frends, I m downloading Tomcat 5.5.23 from http://tomcat.apache.org/download-55.cgi i m about to download it from the binary distribution but thier is many subcategory in binary distribution like Core,Depoyer,Embedded,Administration Web application,jdk1.4compatibility version...So please te