Re: Tomcat doent run on Vista

2010-03-14 Thread CBy
Might have something to do with Vista's User Access Control. Did you 
install in C:\Program Files? As a test, try C:\Program_Files instead.


CBy

On 14-3-2010 7:29, Cummins College wrote:

Hi,

Does tomcat have a problem running on Windows Vista? I cannot run my web
application with vista as OS and jdk1.5
What changes do I need to make? I also have Fedora loaded on my machine.

Thanks

   



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Problem redirecting requests from IIS to Tomcat by isapi_redirect.dll

2010-03-14 Thread mirkocal

Hi, I'm trying to redirect requests from IIS 6 to Tomcat 6.
I've followed the instructions reported in the official Tomcat
documentation:
http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html
http://tomcat.apache.org/connectors-doc/generic_howto/workers.html
http://tomcat.apache.org/connectors-doc/reference/uriworkermap.html
In particular, I've created:
- the required registry key
- the web app MyApp under Tomcat
- the web site MyApp under IIS containing the virtual directory MyApp
pointing to the fisical directory of the Tomcat web app (further than the
jakarta virtual dir) with host header value www.myapp.it and ISAPI filter as
shown in the docs 
I'm using isapi_redirect.dll ver. 1.2.30, the operating system is Win 2003.
Now, asking for www.myapp.it I am only redirected on Tomcat main page, but
MyApp is not started. To access it, I have to ask for www.myapp.it/MyApp but
what I want is to start the application asking simply for www.myapp.it.
Any suggest is appriciated!!!
thanks in advance


Mirko
-- 
View this message in context: 
http://old.nabble.com/Problem-redirecting-requests-from-IIS-to-Tomcat-by-isapi_redirect.dll-tp27893887p27893887.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat doent run on Vista

2010-03-14 Thread Peter Crowther
On 14 March 2010 06:29, Cummins College cummins.grou...@gmail.com wrote:

 Does tomcat have a problem running on Windows Vista?


No.


 I cannot run my web
 application with vista as OS and jdk1.5
 What changes do I need to make?

 You have given us no details of cannot run, no log messages and no
details of the configuration.  We cannot help you without those details.

- Peter


Re: Tomcat doent run on Vista

2010-03-14 Thread Pid

On 14/03/2010 10:59, Peter Crowther wrote:

On 14 March 2010 06:29, Cummins Collegecummins.grou...@gmail.com  wrote:


Does tomcat have a problem running on Windows Vista?



No.



I cannot run my web
application with vista as OS and jdk1.5
What changes do I need to make?

You have given us no details of cannot run, no log messages and no

details of the configuration.  We cannot help you without those details.


Again.


p

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Problem redirecting requests from IIS to Tomcat by isapi_redirect.dll

2010-03-14 Thread André Warnier

mirkocal wrote:

Hi, I'm trying to redirect requests from IIS 6 to Tomcat 6.
I've followed the instructions reported in the official Tomcat
documentation:
http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html
http://tomcat.apache.org/connectors-doc/generic_howto/workers.html
http://tomcat.apache.org/connectors-doc/reference/uriworkermap.html
In particular, I've created:
- the required registry key
- the web app MyApp under Tomcat
- the web site MyApp under IIS containing the virtual directory MyApp
pointing to the fisical directory of the Tomcat web app (further than the
jakarta virtual dir) with host header value www.myapp.it and ISAPI filter as
shown in the docs 


That, you should probably not do, because if you define the webapp dir 
directly to IIS, it means you are bypassing Tomcat.

Try accessing http://www.myapp.it/MyApp/WEB-INF/web.xml.
If it works, then something is wrong, because Tomcat (for security 
reasons) would never show you this file.


Basically, you should have only the jakarta virtual dir, and it will 
work for all your Tomcat webapps.
Only in some special cases, you do need to add MyApp, but then you 
should be really careful.



I'm using isapi_redirect.dll ver. 1.2.30, the operating system is Win 2003.

That's fine.


Now, asking for www.myapp.it I am only redirected on Tomcat main page


That is as it should be, with the standard installation.

, but

MyApp is not started. To access it, I have to ask for www.myapp.it/MyApp


That is also normal.

 but

what I want is to start the application asking simply for www.myapp.it.


This is a different issue.
For that to work, you need to make your app be the Tomcat default 
application (which is named ROOT (in capitals)).

See here :
http://wiki.apache.org/tomcat/HowTo
#39


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Problem redirecting requests from IIS to Tomcat by isapi_redirect.dll

2010-03-14 Thread Rainer Jung

On 14.03.2010 13:25, André Warnier wrote:

mirkocal wrote:

Hi, I'm trying to redirect requests from IIS 6 to Tomcat 6.
I've followed the instructions reported in the official Tomcat
documentation:
http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html
http://tomcat.apache.org/connectors-doc/generic_howto/workers.html
http://tomcat.apache.org/connectors-doc/reference/uriworkermap.html
In particular, I've created:
- the required registry key
- the web app MyApp under Tomcat
- the web site MyApp under IIS containing the virtual directory MyApp
pointing to the fisical directory of the Tomcat web app (further than the
jakarta virtual dir) with host header value www.myapp.it and ISAPI
filter as
shown in the docs


That, you should probably not do, because if you define the webapp dir
directly to IIS, it means you are bypassing Tomcat.
Try accessing http://www.myapp.it/MyApp/WEB-INF/web.xml.
If it works, then something is wrong, because Tomcat (for security
reasons) would never show you this file.

Basically, you should have only the jakarta virtual dir, and it will
work for all your Tomcat webapps.
Only in some special cases, you do need to add MyApp, but then you
should be really careful.


I'm using isapi_redirect.dll ver. 1.2.30, the operating system is Win
2003.

That's fine.


Now, asking for www.myapp.it I am only redirected on Tomcat main page


That is as it should be, with the standard installation.

, but

MyApp is not started. To access it, I have to ask for www.myapp.it/MyApp


That is also normal.

but

what I want is to start the application asking simply for www.myapp.it.


This is a different issue.
For that to work, you need to make your app be the Tomcat default
application (which is named ROOT (in capitals)).
See here :
http://wiki.apache.org/tomcat/HowTo
#39


If you really need to publish the webapp /MyApp under a different path 
than the one it is deployed in Tomcat, you could play around with the 
rewrite feature of the isapi redirector. Look for the word rewrite on 
the page


http://tomcat.apache.org/connectors-doc/reference/iis.html

Warning: it will only rewrite request URLs, not Redirect URLs, Cookie 
paths etc. If you can put the app into the root context as suggested by 
André, it will be easier.


Regards,

Rainer

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



org.apache.jk.config.ApacheConfig modJk

2010-03-14 Thread Todd Hicks
This may be a question better suited for the dev list, but I thought I'd try
here first.
I've been troubleshooting a problem in one of my installations and was
reviewing the documentation here:
http://www.docjar.com/docs/api/org/apache/jk/config/ApacheConfig.html (the
auto-config listener class) when it caught my attention that the path to the
Apache mod_jk plugin file defaults to modules/mod_jk.dll on windows (if
the modJk option isn't set), yet the Apache connector for windows is
distributed as mod_jk-1.2.30-httpd-2.2.3.so (to be renamed to mod_jk.so). Is
this just legacy and needs to be updated or am I missing something? Should I
report this as a bug?


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Question on Linux Tomcat Apache Server and Port Redirection for a robotics site

2010-03-14 Thread Melanie
 Hello,

 This question requires knowledge of Linux Apache Tomcat Server.

 I have a website with domain name for instance: www.robotronics.org
 However this site is only for HTML and Javascript.

 I have a Java J2EE site on the same domain name but you can't get to it
 unless you type the port:
 http://www.robotronics.org:9080/Robotronics

 How can I get the domain name www.robotronics.org to point to the Java
 J2EE site without having to type in the port 9080 and the directory
 Robotronics?

 I found one site that gives some ideas on how to do it --
 http://rimuhosting.com/mod_jk2_and_mod_proxy_ajp.jsp#mod_proxy

 I tried to follow the instructions and could not get this to work.

 Thank you,



RE: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site

2010-03-14 Thread Caldarale, Charles R
 From: Melanie [mailto:melanie.v...@gmail.com]
 Subject: Question on Linux Tomcat Apache Server and Port Redirection
 for a robotics site

You don't bother to mention what your current port 80 web server is, not what 
version of Tomcat you're using.  The links below presume you're using httpd and 
the current version of Tomcat.

 I found one site that gives some ideas on how to do it --
 http://rimuhosting.com/mod_jk2_and_mod_proxy_ajp.jsp#mod_proxy

mod_jk2 hasn't been supported in several years; don't even think about using it.

For proper instructions, read this first:
http://wiki.apache.org/tomcat/FAQ/Connectors

If you need it, the full doc is here:
http://tomcat.apache.org/connectors-doc/

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.



RE: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site

2010-03-14 Thread Todd Hicks
Melanie, 

I would recommend using the Apache Tomcat Connector mod_jk. Documentation can 
be found here: 
http://tomcat.apache.org/connectors-doc/webserver_howto/apache.html  
See what you can make of it.

-Original Message-
From: Melanie [mailto:melanie.v...@gmail.com] 
Sent: Sunday, March 14, 2010 6:47 PM
To: users@tomcat.apache.org
Subject: Question on Linux Tomcat Apache Server and Port Redirection for a 
robotics site

 Hello,

 This question requires knowledge of Linux Apache Tomcat Server.

 I have a website with domain name for instance: www.robotronics.org
 However this site is only for HTML and Javascript.

 I have a Java J2EE site on the same domain name but you can't get to it
 unless you type the port:
 http://www.robotronics.org:9080/Robotronics

 How can I get the domain name www.robotronics.org to point to the Java
 J2EE site without having to type in the port 9080 and the directory
 Robotronics?

 I found one site that gives some ideas on how to do it --
 http://rimuhosting.com/mod_jk2_and_mod_proxy_ajp.jsp#mod_proxy

 I tried to follow the instructions and could not get this to work.

 Thank you,



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site

2010-03-14 Thread Melanie
Hi,

The version of Tomcat is 5.5.

As far as the other question on what is my current port 80 web server is? I
don't understand the question exactly.

It is a virtual dedicated server.

-Melanie

On Sun, Mar 14, 2010 at 6:56 PM, Caldarale, Charles R 
chuck.caldar...@unisys.com wrote:

  From: Melanie [mailto:melanie.v...@gmail.com]
  Subject: Question on Linux Tomcat Apache Server and Port Redirection
  for a robotics site

 You don't bother to mention what your current port 80 web server is, not
 what version of Tomcat you're using.  The links below presume you're using
 httpd and the current version of Tomcat.

  I found one site that gives some ideas on how to do it --
  http://rimuhosting.com/mod_jk2_and_mod_proxy_ajp.jsp#mod_proxy

 mod_jk2 hasn't been supported in several years; don't even think about
 using it.

 For proper instructions, read this first:
 http://wiki.apache.org/tomcat/FAQ/Connectors

 If you need it, the full doc is here:
 http://tomcat.apache.org/connectors-doc/

  - Chuck


 THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
 MATERIAL and is thus for use only by the intended recipient. If you received
 this in error, please contact the sender and delete the e-mail and its
 attachments from all computers.




RE: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site

2010-03-14 Thread Caldarale, Charles R
 From: Melanie [mailto:melanie.v...@gmail.com]
 Subject: Re: Question on Linux Tomcat Apache Server and Port
 Redirection for a robotics site
 
 As far as the other question on what is my current port 80 web server
 is? I don't understand the question exactly.

You previously stated:

  I have a website with domain name for instance: www.robotronics.org
  However this site is only for HTML and Javascript.

Something has to be listening on port 80, in order to respond to browser 
requests for your existing HTML and Javascript; what is it?  (From the headers 
in the responses from your website, it appears to be httpd 2.2.8 - which is a 
couple of years old and could stand updating.)

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.



Re: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site

2010-03-14 Thread Melanie
The Apache server appears to be:
Apache HTTP Server Version 2.2
On Sun, Mar 14, 2010 at 7:25 PM, Caldarale, Charles R 
chuck.caldar...@unisys.com wrote:

  From: Melanie [mailto:melanie.v...@gmail.com]
  Subject: Re: Question on Linux Tomcat Apache Server and Port
  Redirection for a robotics site
 
  As far as the other question on what is my current port 80 web server
  is? I don't understand the question exactly.

 You previously stated:

   I have a website with domain name for instance: www.robotronics.org
   However this site is only for HTML and Javascript.

 Something has to be listening on port 80, in order to respond to browser
 requests for your existing HTML and Javascript; what is it?  (From the
 headers in the responses from your website, it appears to be httpd 2.2.8 -
 which is a couple of years old and could stand updating.)

  - Chuck


 THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
 MATERIAL and is thus for use only by the intended recipient. If you received
 this in error, please contact the sender and delete the e-mail and its
 attachments from all computers.




RE: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site

2010-03-14 Thread Todd Hicks
That's why I suggested mod_jk.


-Original Message-
From: Melanie [mailto:melanie.v...@gmail.com] 
Sent: Sunday, March 14, 2010 7:35 PM
To: Tomcat Users List
Subject: Re: Question on Linux Tomcat Apache Server and Port Redirection for a 
robotics site

The Apache server appears to be:
Apache HTTP Server Version 2.2
On Sun, Mar 14, 2010 at 7:25 PM, Caldarale, Charles R 
chuck.caldar...@unisys.com wrote:

  From: Melanie [mailto:melanie.v...@gmail.com]
  Subject: Re: Question on Linux Tomcat Apache Server and Port
  Redirection for a robotics site
 
  As far as the other question on what is my current port 80 web server
  is? I don't understand the question exactly.

 You previously stated:

   I have a website with domain name for instance: www.robotronics.org
   However this site is only for HTML and Javascript.

 Something has to be listening on port 80, in order to respond to browser
 requests for your existing HTML and Javascript; what is it?  (From the
 headers in the responses from your website, it appears to be httpd 2.2.8 -
 which is a couple of years old and could stand updating.)

  - Chuck


 THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
 MATERIAL and is thus for use only by the intended recipient. If you received
 this in error, please contact the sender and delete the e-mail and its
 attachments from all computers.




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site

2010-03-14 Thread Melanie
I am compiling mod_jk source code on the server. The command to compile is
./configure --with-apxs=/usr/sbin/apxs (or where ever the apxs/apxs2 is)

I did a quick linux find. -name apxs under the usr directory and nothing
turned up for apxs.

I don't think the mod_jk can be built without it. Is it because Apache Http
server is only 2.2 version?




On Sun, Mar 14, 2010 at 7:38 PM, Todd Hicks electronjoc...@hotmail.comwrote:

 That's why I suggested mod_jk.


 -Original Message-
 From: Melanie [mailto:melanie.v...@gmail.com]
 Sent: Sunday, March 14, 2010 7:35 PM
 To: Tomcat Users List
 Subject: Re: Question on Linux Tomcat Apache Server and Port Redirection
 for a robotics site

 The Apache server appears to be:
 Apache HTTP Server Version 2.2
 On Sun, Mar 14, 2010 at 7:25 PM, Caldarale, Charles R 
 chuck.caldar...@unisys.com wrote:

   From: Melanie [mailto:melanie.v...@gmail.com]
   Subject: Re: Question on Linux Tomcat Apache Server and Port
   Redirection for a robotics site
  
   As far as the other question on what is my current port 80 web server
   is? I don't understand the question exactly.
 
  You previously stated:
 
I have a website with domain name for instance: www.robotronics.org
However this site is only for HTML and Javascript.
 
  Something has to be listening on port 80, in order to respond to browser
  requests for your existing HTML and Javascript; what is it?  (From the
  headers in the responses from your website, it appears to be httpd 2.2.8
 -
  which is a couple of years old and could stand updating.)
 
   - Chuck
 
 
  THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
  MATERIAL and is thus for use only by the intended recipient. If you
 received
  this in error, please contact the sender and delete the e-mail and its
  attachments from all computers.
 
 


 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




RE: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site

2010-03-14 Thread Todd Hicks
Melanie,
Try a precompiled binary: 
http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/linux/jk-1.2.28/

-Original Message-
From: Melanie [mailto:melanie.v...@gmail.com] 
Sent: Sunday, March 14, 2010 7:47 PM
To: Tomcat Users List
Subject: Re: Question on Linux Tomcat Apache Server and Port Redirection for a 
robotics site

I am compiling mod_jk source code on the server. The command to compile is
./configure --with-apxs=/usr/sbin/apxs (or where ever the apxs/apxs2 is)

I did a quick linux find. -name apxs under the usr directory and nothing
turned up for apxs.

I don't think the mod_jk can be built without it. Is it because Apache Http
server is only 2.2 version?




On Sun, Mar 14, 2010 at 7:38 PM, Todd Hicks electronjoc...@hotmail.comwrote:

 That's why I suggested mod_jk.


 -Original Message-
 From: Melanie [mailto:melanie.v...@gmail.com]
 Sent: Sunday, March 14, 2010 7:35 PM
 To: Tomcat Users List
 Subject: Re: Question on Linux Tomcat Apache Server and Port Redirection
 for a robotics site

 The Apache server appears to be:
 Apache HTTP Server Version 2.2
 On Sun, Mar 14, 2010 at 7:25 PM, Caldarale, Charles R 
 chuck.caldar...@unisys.com wrote:

   From: Melanie [mailto:melanie.v...@gmail.com]
   Subject: Re: Question on Linux Tomcat Apache Server and Port
   Redirection for a robotics site
  
   As far as the other question on what is my current port 80 web server
   is? I don't understand the question exactly.
 
  You previously stated:
 
I have a website with domain name for instance: www.robotronics.org
However this site is only for HTML and Javascript.
 
  Something has to be listening on port 80, in order to respond to browser
  requests for your existing HTML and Javascript; what is it?  (From the
  headers in the responses from your website, it appears to be httpd 2.2.8
 -
  which is a couple of years old and could stand updating.)
 
   - Chuck
 
 
  THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
  MATERIAL and is thus for use only by the intended recipient. If you
 received
  this in error, please contact the sender and delete the e-mail and its
  attachments from all computers.
 
 


 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: org.apache.jk.config.ApacheConfig modJk

2010-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Todd,

On 3/14/2010 1:41 PM, Todd Hicks wrote:
 This may be a question better suited for the dev list, but I thought I'd try
 here first.
 I've been troubleshooting a problem in one of my installations and was
 reviewing the documentation here:
 http://www.docjar.com/docs/api/org/apache/jk/config/ApacheConfig.html (the
 auto-config listener class) when it caught my attention that the path to the
 Apache mod_jk plugin file defaults to modules/mod_jk.dll on windows (if
 the modJk option isn't set), yet the Apache connector for windows is
 distributed as mod_jk-1.2.30-httpd-2.2.3.so (to be renamed to mod_jk.so). Is
 this just legacy and needs to be updated or am I missing something? Should I
 report this as a bug?

The real bug is that the ApacheConfig class still hasn't been put out of
its misery. Basically, nobody should ever use the ApacheConfig class
because it re-writes your mod_jk.conf file every time Tomcat starts.

You're better off reading the documentation for mod_jk and building your
own configuration file. It's not hard to set up a mapping for simple
things like *.jsp - Tomcat and stuff like that. Once you've got the
simple stuff working, extending your configuration to include more
exotic options is still very easy.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkudhDUACgkQ9CaO5/Lv0PBUAQCfU6a4LrhrAZORb7zbzVIXRjOc
msUAniENxyXg+emGX9Ha3JmeKJSjNFWl
=uBUr
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site

2010-03-14 Thread Melanie
Thanks Cyrille for the information. This looks like it's a quick fix but
there is still another issue.

The Tomcat Startup Page is now being served, but not the actual springapp
J2EE web application that is located in the Tomcat directory ---
/usr/java/tomcat-5.5/webapps/springapp

Do you know the way to bring up the actual J2EE webpage instead of the
Tomcat Startup Page when the URL
http://www.robotronics.org is served by Apache and Tomcat?

No, I'm not French. The Google translations is rough.

Thank you,

-Melanie


On Sun, Mar 14, 2010 at 8:00 PM, Cyrille Le Clerc clecl...@apache.orgwrote:

 Hello Melanie,

 I personally prefer to use HTTP between Apache and Tomcat rather than
 the proprietary AJP protocol.

 According to your description, I feel you can simply achive your need
 with the following httpd.conf configuration (no other binaries than
 out-of-the-box Apache Httpd needed) :

 -- begin httpd.conf sample fragment --

 # load proxy and proxy_http modules
 LoadModule proxy_module libexec/apache2/mod_proxy.so
 LoadModule proxy_http_module libexec/apache2/mod_proxy_http.so
 ...

 # route all traffic to Tomcat
 ProxyPreserveHost On
 ProxyPass / http://my-tomcat-server:9080/

 -- end httpd.conf sample fragment --

 I blogged in French about Tomcat-Apache configuration. Hopefully, as
 your name sounds french :-) you can understand them ; otherwise, they
 are google-translate friendly :


 http://blog.xebia.fr/2010/02/03/tomcat-load-balancing-mod_proxy-vs-mod_jk-le-match/

 http://blog.xebia.fr/2009/05/05/tomcat-adresse-ip-de-linternaute-load-balancer-reverse-proxy-et-header-http-x-forwarded-for/

 http://blog.xebia.fr/2009/11/13/tomcat-ssl-communications-securisees-et-x-forwarded-proto/


 Hope this helps, good luck

 Cyrille

 --
 Cyrille Le Clerc
 clecl...@xebia.fr
 http://blog.xebia.fr

 On Sun, Mar 14, 2010 at 11:47 PM, Melanie melanie.v...@gmail.com wrote:
  Hello,
 
  This question requires knowledge of Linux Apache Tomcat Server.
 
  I have a website with domain name for instance: www.robotronics.org
  However this site is only for HTML and Javascript.
 
  I have a Java J2EE site on the same domain name but you can't get to it
  unless you type the port:
  http://www.robotronics.org:9080/Robotronics
 
  How can I get the domain name www.robotronics.org to point to the Java
  J2EE site without having to type in the port 9080 and the directory
  Robotronics?
 
  I found one site that gives some ideas on how to do it --
  http://rimuhosting.com/mod_jk2_and_mod_proxy_ajp.jsp#mod_proxy
 
  I tried to follow the instructions and could not get this to work.
 
  Thank you,
 
 

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




Wierd problem with Tomcat 5.59 running on Windows Server 2003

2010-03-14 Thread ULS Tech Support
Hello.

I'm sure this is a Tomcat issue...  But let me give this background.

I've recently upgraded the server that the website used to run on (used to run 
on Windows Server 2000, upgraded to Windows Server 2003).

I was able to transfer everything over to the new server.. The speed and 
updates are great... 

But, for some reason, some servlets are running an old version of itself.

For example,
All images used to be hosted at webapp/images (as an example).
But i have moved them out of the webapp, and into its own (thus, /images).  

I made this change a few months ago before i moved the application to the new 
server... Haven't ran or used this old location in ages.  

Recently i made a change to this bean (HeaderBean) that would do other stuff... 
For some reason though, this Bean is suddenly using an old version of itself 
(where the bean would get the image from its old location (webapp/images).  

This happened to me originally when testing the new server, but all i had to do 
was do a restart of the server (restarting tomcat didn't help), and it would 
use the new one ok.

But i'm still having the issue where restarting the server doesn't help.  
Tomcat is still using the OLD bean from a few months ago.  
Just to make sure, the jsp page that calls this bean is correct.  It is the 
Bean/class that is having this issue.
The image for example is NOT showing up... i look at the source code and it 
shows the old location (which doesn't exist).

Other than the original testing, this has never happened previously... 

I am using netbeans 6.7.1 for development (windows 7 ultimate), and after 
compilation, i copy it over to the server (WEB) and deploy it in the 
appropriate folder.
I have updated the context, reloadable=true, just to make sure.  
This is not an internet explorer/firefox issue.  I've tried this on 3 different 
computers and setups... i still get the OLD bean.

I don't know why this is happening and wondering if anyone here has seen this 
issue, or may know why its happening and what i need to do to fix it.

Also, is there a place that tomcat will cache its servlets?

Thank you to anyone who is able to help.

...Robin

RE: org.apache.jk.config.ApacheConfig modJk

2010-03-14 Thread Todd Hicks
Chris,
I'm good with writing my own configs. That's what I do for all of my 
installations (and probably where this one will end up). The reason I brought 
it up is because I am exploring Xampp for a client as a portable dev platform, 
and it's configured to use the ApacheConfig class out of the box. I'm sure it's 
done that way to reduce obstacles to entry for the newbie. But if it doesn't 
work as it should, the obstacle remains (at least for the Xampp novitiates).
So are you saying then that the class isn't likely to be updated? Even if I 
submit it as a bug? I've already downloaded the source to try the fix.

-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net] 
Sent: Sunday, March 14, 2010 8:50 PM
To: Tomcat Users List
Subject: Re: org.apache.jk.config.ApacheConfig modJk

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Todd,

On 3/14/2010 1:41 PM, Todd Hicks wrote:
 This may be a question better suited for the dev list, but I thought I'd try
 here first.
 I've been troubleshooting a problem in one of my installations and was
 reviewing the documentation here:
 http://www.docjar.com/docs/api/org/apache/jk/config/ApacheConfig.html (the
 auto-config listener class) when it caught my attention that the path to the
 Apache mod_jk plugin file defaults to modules/mod_jk.dll on windows (if
 the modJk option isn't set), yet the Apache connector for windows is
 distributed as mod_jk-1.2.30-httpd-2.2.3.so (to be renamed to mod_jk.so). Is
 this just legacy and needs to be updated or am I missing something? Should I
 report this as a bug?

The real bug is that the ApacheConfig class still hasn't been put out of
its misery. Basically, nobody should ever use the ApacheConfig class
because it re-writes your mod_jk.conf file every time Tomcat starts.

You're better off reading the documentation for mod_jk and building your
own configuration file. It's not hard to set up a mapping for simple
things like *.jsp - Tomcat and stuff like that. Once you've got the
simple stuff working, extending your configuration to include more
exotic options is still very easy.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkudhDUACgkQ9CaO5/Lv0PBUAQCfU6a4LrhrAZORb7zbzVIXRjOc
msUAniENxyXg+emGX9Ha3JmeKJSjNFWl
=uBUr
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Wierd problem with Tomcat 5.59 running on Windows Server 2003

2010-03-14 Thread Caldarale, Charles R
 From: ULS Tech Support [mailto:tech_supp...@uls.com]
 Subject: Wierd problem with Tomcat 5.59 running on Windows Server 2003
 
 Also, is there a place that tomcat will cache its servlets?

No.  You are most likely just not running the Tomcat configuration you think 
you are.

(You're also running a five year old version of Tomcat, which is a bit silly, 
considering all the security, performance, and other fixes that have gone in 
since then.)

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Wierd problem with Tomcat 5.59 running on Windows Server 2003

2010-03-14 Thread ULS Tech Support
I'm aware that I'm running a five year old version of tomcat.I tried to 
upgrade to the latest 5.5 and 6.0 version, and trying to get my application 
to work on it didn't go so well..

I chose to abandon it for now due to time constraints.

Ok, so what do you mean by I'm not running the Tomcat config that i thought 
i was?


The application files are identical between the dev and the live server.  In 
fact, i run the application fine on the dev computer, yet i try and run it 
(after copying all the files over) on the live server, and i still get this 
issue.


There are other beans that this issue is happening on...

Interestingly, i renamed the webapp application folder (to webapp2) and the 
issue happened there as well.


I would appreciate some help, or perhaps i am not understanding something 
before it was copied over to this server and may need to just understand it 
more.


Thanks.


--
From: Caldarale, Charles R chuck.caldar...@unisys.com
Sent: Sunday, March 14, 2010 8:03 PM
To: Tomcat Users List users@tomcat.apache.org
Subject: RE: Wierd problem with Tomcat 5.59 running on Windows Server 2003


From: ULS Tech Support [mailto:tech_supp...@uls.com]
Subject: Wierd problem with Tomcat 5.59 running on Windows Server 2003

Also, is there a place that tomcat will cache its servlets?


No.  You are most likely just not running the Tomcat configuration you 
think you are.


(You're also running a five year old version of Tomcat, which is a bit 
silly, considering all the security, performance, and other fixes that 
have gone in since then.)


- Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you 
received this in error, please contact the sender and delete the e-mail 
and its attachments from all computers.



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org