Re: mod_jk performance

2005-09-14 Thread Bruno Georges
Marc

If the performance of your app is not acceptable using mod_jk , you could
try other alternatives and still keep apache in front to serve static
content and use other modules.
You can use apache mod_proxy to forward request on 8080 [or whatever your
run tomcat on] to tomcat without going through mod_jk
There are pros and cons to take this approach, but it may suffice in your
case.

Hope it helps.

Bruno Georges

Glencore International AG
Tel. +41 41 709 3204
Fax +41 41 709 3000



 
  marc ratun  
 
  [EMAIL PROTECTED] To:  
tomcat-user@jakarta.apache.org  
 
  ail.com cc:  
 
   Subject: mod_jk performance  
 
  14.09.05 13:46
 
  Please respond   Distribute:  
 
  to Tomcat Users Personal?   |---|
 
  List| [ ] x |
 
   |---|
 

 

 




Hi,

I just read an article about webapp benchmarks [1] and they mentioned that
apache+mod_jk+tomcat is about 30% slower than pure tomcat.

This is sad. Until now I believed that the performance decrease with
apache/mod_jk would be marginal.

Putting apache/mod_jk before tomcat is very nice. I don't want to miss
it because it is a good way to integrate other modules.

Is there any way to speed up apache/tomcat cooperation?


Marc

[1] (german only) http://www.heise.de/ix/artikel/2005/10/124/

_
FREE pop-up blocking with the new MSN Toolbar - get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




LEGAL DISCLAIMER. The contents of this e-mail and any attachments are strictly
confidential and they may not be used or disclosed by someone who is not a
named recipient.
If you have received this email in error please notify the sender by replying
to this email inserting the word misdirected as the message and delete this
e-mail from your system.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: mod_jk performance

2005-09-14 Thread Bruno Georges
Kerem,
You are probably right, I personnaly never faced any issues with any of
them.
However, Tom can you be more specific about the type of traffic your app
has to serve and what are performance/response time requirements.

Hardware and network, server and JVM configuration  can also be either a
bottleneck or a way to improve the overall performance of your syste.
Ideally, when you have metrics on the different parts of the systems it is
easier to tune .

Bruno Georges

Glencore International AG
Tel. +41 41 709 3204
Fax +41 41 709 3000



 
  KEREM ERKAN   
 
  [EMAIL PROTECTED] To:  'Tomcat Users List' 
tomcat-user@jakarta.apache.org 
  ari.com.tr  cc:  
 
   Subject: RE: mod_jk performance  
 
  14.09.05 14:00
 
  Please respond   Distribute:  
 
  to Tomcat Users Personal?   |---|
 
  List| [ ] x |
 
   |---|
 

 

 




AFAIK mod_proxy performs worse than mod_jk.

Just my 2 cents.

Kerem

 -Original Message-
 From: Bruno Georges [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, September 14, 2005 2:58 PM
 To: Tomcat Users List
 Cc: tomcat-user@jakarta.apache.org
 Subject: Re: mod_jk performance

 Marc

 If the performance of your app is not acceptable using mod_jk
 , you could try other alternatives and still keep apache in
 front to serve static content and use other modules.
 You can use apache mod_proxy to forward request on 8080 [or
 whatever your run tomcat on] to tomcat without going through
 mod_jk There are pros and cons to take this approach, but it
 may suffice in your case.

 Hope it helps.

 Bruno Georges

 Glencore International AG
 Tel. +41 41 709 3204
 Fax +41 41 709 3000





   marc ratun


   [EMAIL PROTECTED] To:
 tomcat-user@jakarta.apache.org

   ail.com cc:


Subject:
 mod_jk performance

   14.09.05 13:46


   Please respond   Distribute:


   to Tomcat Users Personal?
  |---|

   List
  | [ ] x |


  |---|











 Hi,

 I just read an article about webapp benchmarks [1] and they
 mentioned that
 apache+mod_jk+tomcat is about 30% slower than pure tomcat.

 This is sad. Until now I believed that the performance
 decrease with apache/mod_jk would be marginal.

 Putting apache/mod_jk before tomcat is very nice. I don't
 want to miss it because it is a good way to integrate other modules.

 Is there any way to speed up apache/tomcat cooperation?


 Marc

 [1] (german only) http://www.heise.de/ix/artikel/2005/10/124/

 _
 FREE pop-up blocking with the new MSN Toolbar - get it now!
 http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




 LEGAL DISCLAIMER. The contents of this e-mail and any
 attachments are strictly confidential and they may not be
 used or disclosed by someone who is not a named recipient.
 If you have received this email in error please notify the
 sender by replying to this email inserting the word
 misdirected as the message and delete this e-mail from your system.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED

Re: How to re-direct the default Tomcat home page

2005-09-11 Thread Bruno Georges
Hi Ben
Someone already reply to this question in the list very recently. In a 
nutshell, name your webapp ROOT and deploy it instead of the default ROOT one.
 However this is neither recommended or standard/good practice.
Alternatively you could use apache with mod rewrite or create a servlet filter 
which you deploy in your ROOT webapp, from there you can do some URL 
manipulation.
Search the list and wikis from jboss you will certainly find other options.

Kind Regards
Bruno Georges

Glencore International AG
Tel. +41 41 709 3204
Fax +41 41 709 3000


- Original Message -
From: Ben Wong [EMAIL PROTECTED]
Sent: 11.09.2005 14:49
To: tomcat-user@jakarta.apache.org
Subject: How to re-direct the default Tomcat home page

Sorry, this is a newbie question. I am using Tomcat 5.0.x. on Linux. I'm having 
problems redirecting to my webapps home page from the default Tomcat home page 
($CATALINA_HOME/webapps/ROOT/index.jsp).

Here's mywebapp.xml file that I placed in the 
$CATALINA_HOME/conf/Catalina/localhost dir:

Context path= docBase=/home/mywebapp/mywebapp.war
/Context

As you can see, the path attribute is an empty string, and according to the 
Tomcat documentation, this should be the default web application. But instead, 
the tomcat default home page still appears.

How to config the tomcat so that I can get my home page just by typing 
Http://localhost:8080?

Do I have to explicitly undeploy the default tomcat app?

Any clues?

Thanks.


*  
*  LEGAL DISCLAIMER
*  This message contains confidential information for
*  the exclusive use of the person mentioned above.
*


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: INDEX.JSP in webapps/ROOT

2005-08-25 Thread Bruno Georges
Tom

Make sure to test your tomcat mapping configuration if you plan to put apache 
or iis in front of it. For example mapping index.html to index.jsp in tomcat 
can lead to having your request served by the web server. To avoid this you 
need to configure the modjk directives in accordance with your requierments, 
host, vhost and webapp config.

Hope this helps.

Bruno
Bruno Georges

Glencore International AG
Tel. +41 41 709 3204
Fax +41 41 709 3000


- Original Message -
From: Tom Spence [EMAIL PROTECTED]
Sent: 24.08.2005 15:23
To: Tomcat Users List tomcat-user@jakarta.apache.org
Subject: Re: INDEX.JSP in webapps/ROOT

GREAT!  It works!  Also many thanks for giving the URl about web.xml that I am 
going to learn how to use.

David Delbecq [EMAIL PROTECTED] wrote:Le Mercredi 24 Août 2005 14:58, Tom 
Spence a écrit :

 Hello...

 I understand that TomCat's front page (index.jsp) that I can't change it cuz 
 it is precompiled.

Yes and no, you can't simply replace it's content, but you also have to change 
web.xml
remove those lines to suppres use of precompiled index.jsp :


org.apache.jsp.index_jsp
org.apache.jsp.index_jsp



org.apache.jsp.index_jsp
/index.jsp




 I want to change something on my own website from index.jsp to index.html?

just remove index.jsp mapping in web.xml, tomcat will then do the default 
searching
(index.jsp, index.html, index.htm if my memory is not too corrupted)


 Also I am trying to learn (of course I am newbie) how to change in web.xml in 
 ROOT/WEB-INF.

with a text editor (better if text editor support xml enlighting)
More seriously, i suggest you read some documentations on java web servers tu 
understand
what is in the web.xml
there is list of tags in web.xml:
http://e-docs.bea.com/wls/docs61/webapp/web_xml.html


 I appreciate your assist...



 (__[TomCigar]___~~~




--
David Delbecq
Royal Meteorological Institute of Belgium

-
Is there life after /sbin/halt -p?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





(__[TomCigar]___~~~




*  
*  LEGAL DISCLAIMER
*  This message contains confidential information for
*  the exclusive use of the person mentioned above.
*


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: mod_rewrite for Tomcat 5.5

2005-08-02 Thread Bruno Georges

Hi david
As Tim pointed out, there are product which does this for you
However, your requierments can be easily covered with a servlet filter.
You just need to ship it with your war and configure it in your deployment 
descriptor

I have some examples if needed

Best regards
Bruno
Bruno Georges

Glencore International AG
Tel. +41 41 709 3204
Fax +41 41 709 3000


- Original Message -
From: David Wall [EMAIL PROTECTED]
Sent: 29.07.2005 00:48
To: Tomcat Users List tomcat-user@jakarta.apache.org
Subject: mod_rewrite for Tomcat 5.5

Can anybody recommend anything like mod_rewrite for Tomcat 5.5?  I know
the FAQ says something about why reinvent the wheel, but in this case,
it's because we want to get rid of Apache just because we need one small
feature.  I've got an application that now only needs Apache httpd for
some mod_rewrites, especially for converting short URLs to longer ones,
such as:

https://host.com/app/a?c=ehtU3vN9JWia6m=borrower

gets rewritten to:

https://host.com/app/customer/SomeBigCustomer/loanApplicationToSign.jsp?c=ehtU3vN9JWia6m=borrower

With mod_rewrite, this is something like:

RewriteRule ^/app/a(.*)$
https://host.com/app/customer/SomeBigCustomer/loanApplicationToSign.jsp$1
[R,L]

In practice, I don't even need the full power of mod_rewrite to rewrite
the domain part, so it would be okay just to map

/app/a?c=ehtU3vN9JWia6m=borrower

to

/app/customer/SomeBigCustomer/loanApplicationToSign.jsp?c=ehtU3vN9JWia6m=borrower

and keep the https://host.com; part the same.  I won't be redirecting
to another server (at least not initially).

Thanks,
David

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

*  
*  LEGAL DISCLAIMER
*  This message contains confidential information for
*  the exclusive use of the person mentioned above.
*


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Forwarding Domains

2005-08-01 Thread Bruno Georges
Hi justin
You can achieve url forwarding/rewriting using a simple servlet filter, or 
better if you have apache in the front, use mod-rewrite, which is configurable 
in your httpd.conf.
If you are using iis, there are few available isapi filter which you can use, 
alternatively you can write your own, which reacts on the preprocheaders or 
urlmap notifications.

Hope this helps.

Bruno Georges
Bruno Georges

Glencore International AG
Tel. +41 41 709 3204
Fax +41 41 709 3000


- Original Message -
From: Justin Jaynes [EMAIL PROTECTED]
Sent: 01.08.2005 23:53
To: tomcat-user@jakarta.apache.org
Subject: Forwarding Domains

Is it possible for me to host somedomain.com on my
tomcat, and as that is my prefered domain name format,
and want all users who go to www.somedomain.com (YES,
I have A records set up for both and they point to the
same tomcat server) to be re-directed to
somedomain.com, using my tomcat setup?

In other words, I want to move all my users from the
domain they enter to a domain I prefer USING my tomcat
setup.  I imagine there is some way to set up my
server.xml to do it.

Justin

Thanks in advance.  I have never had an issue
unresolved after submitting to this list.  Bravo!

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

*  
*  LEGAL DISCLAIMER
*  This message contains confidential information for
*  the exclusive use of the person mentioned above.
*


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Using more than one SSL cert in keystore?

2005-08-01 Thread Bruno Georges
Justin

In this situation, I would use apache + modrewrite
If you want some example I can help you

Bruno
Bruno Georges

Glencore International AG
Tel. +41 41 709 3204
Fax +41 41 709 3000


- Original Message -
From: Justin Jaynes [EMAIL PROTECTED]
Sent: 02.08.2005 00:54
To: Tomcat Users List tomcat-user@jakarta.apache.org
Subject: Re: Using more than one SSL cert in keystore?

In the (brief) interim between my asking the original
question below, and now, I have found additional
information--SSL must occur before HTTP handshake, and
will therefore not work on hosts based on the same IP.

I have more than one IP available from my ISP.  I
suppose the question would better be this:

How do I cofigure virtual hosting of more than one SSL
enabled host over ONE interface using multiple IP
addresses?

Sorry for the confusion.

--- Justin Jaynes [EMAIL PROTECTED] wrote:

 If I host more than one domain on my tomcat
 installation (standalone, not with apache), can I
 imort an SSL certificate for each domain and will
 tomcat just know which to use for which hosts?

 Justin Jaynes


-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

*  
*  LEGAL DISCLAIMER
*  This message contains confidential information for
*  the exclusive use of the person mentioned above.
*


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Forwarding Domains

2005-08-01 Thread Bruno Georges
Hi justin
You can achieve url forwarding/rewriting using a simple servlet filter, or 
better if you have apache in the front, use mod-rewrite, which is configurable 
in your httpd.conf.
If you are using iis, there are few available isapi filter which you can use, 
alternatively you can write your own, which reacts on the preprocheaders or 
urlmap notifications.

Hope this helps.

Bruno Georges
Bruno Georges

Glencore International AG
Tel. +41 41 709 3204
Fax +41 41 709 3000


- Original Message -
From: Justin Jaynes [EMAIL PROTECTED]
Sent: 01.08.2005 23:53
To: tomcat-user@jakarta.apache.org
Subject: Forwarding Domains

Is it possible for me to host somedomain.com on my
tomcat, and as that is my prefered domain name format,
and want all users who go to www.somedomain.com (YES,
I have A records set up for both and they point to the
same tomcat server) to be re-directed to
somedomain.com, using my tomcat setup?

In other words, I want to move all my users from the
domain they enter to a domain I prefer USING my tomcat
setup.  I imagine there is some way to set up my
server.xml to do it.

Justin

Thanks in advance.  I have never had an issue
unresolved after submitting to this list.  Bravo!

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

*  
*  LEGAL DISCLAIMER
*  This message contains confidential information for
*  the exclusive use of the person mentioned above.
*


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: mod_rewrite for Tomcat 5.5

2005-08-01 Thread Bruno Georges

Hi david
As Tim pointed out, there are product which does this for you
However, your requierments can be easily covered with a servlet filter.
You just need to ship it with your war and configure it in your deployment 
descriptor

I have some examples if needed

Best regards
Bruno
Bruno Georges

Glencore International AG
Tel. +41 41 709 3204
Fax +41 41 709 3000


- Original Message -
From: David Wall [EMAIL PROTECTED]
Sent: 29.07.2005 00:48
To: Tomcat Users List tomcat-user@jakarta.apache.org
Subject: mod_rewrite for Tomcat 5.5

Can anybody recommend anything like mod_rewrite for Tomcat 5.5?  I know
the FAQ says something about why reinvent the wheel, but in this case,
it's because we want to get rid of Apache just because we need one small
feature.  I've got an application that now only needs Apache httpd for
some mod_rewrites, especially for converting short URLs to longer ones,
such as:

https://host.com/app/a?c=ehtU3vN9JWia6m=borrower

gets rewritten to:

https://host.com/app/customer/SomeBigCustomer/loanApplicationToSign.jsp?c=ehtU3vN9JWia6m=borrower

With mod_rewrite, this is something like:

RewriteRule ^/app/a(.*)$
https://host.com/app/customer/SomeBigCustomer/loanApplicationToSign.jsp$1
[R,L]

In practice, I don't even need the full power of mod_rewrite to rewrite
the domain part, so it would be okay just to map

/app/a?c=ehtU3vN9JWia6m=borrower

to

/app/customer/SomeBigCustomer/loanApplicationToSign.jsp?c=ehtU3vN9JWia6m=borrower

and keep the https://host.com; part the same.  I won't be redirecting
to another server (at least not initially).

Thanks,
David

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

*  
*  LEGAL DISCLAIMER
*  This message contains confidential information for
*  the exclusive use of the person mentioned above.
*


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Apache2+jk+tomcat5.028+uri utf-8 SOLVED

2005-07-01 Thread Bruno Georges
Hi
Depending on your configuration and operating system, you may have some
firewall restriction which prevents connecting to the port 8009.
Please check this first, especially if you use XP SP2.

Best Regards
Bruno Georges

Glencore International AG
Tel. +41 41 709 3204
Fax +41 41 709 3000



  
  Paul George   
  
  Constantine  To:  Tomcat Users List 
tomcat-user@jakarta.apache.org
  [EMAIL PROTECTED] cc:

  d.edu   Subject: Re: 
Apache2+jk+tomcat5.028+uri utf-8 SOLVED 
  

  
  01.07.05 09:35   Distribute:  
  
  Please respond   Personal?   |---|
  
  to Tomcat Users | [ ] x |
  
  List|---|
  

  

  




I've essentially done all of this, but I still get the following error in
the browser:
---
Internal Server Error

The server encountered an internal error or misconfiguration and was unable
to complete your request.

Please contact the server administrator, [EMAIL PROTECTED] and inform them of
the time the error occurred, and anything you might have done that may have
caused the error.

More information about this error may be available in the server error log.
---

But there was no error in the server error log. In the jk log I get:
---
[Sun Jun 26 15:55:45 2005] [info]  jk_open_socket::jk_connect.c (433):
connect to 127.0.0.1:8009 failed with errno=13
[Sun Jun 26 15:55:45 2005] [info]  ajp_connect_to_endpoint::jk_ajp_common.c
(880): Failed opening socket to (127.0.0.1:8009) with (errno=13)
[Sun Jun 26 15:55:45 2005] [info]  ajp_send_request::jk_ajp_common.c
(1239):
Error connecting to the Tomcat process.
[Sun Jun 26 15:55:45 2005] [info]  ajp_service::jk_ajp_common.c (1737):
Sending request to tomcat failed,  recoverable operation attempt=1
[Sun Jun 26 15:55:45 2005] [info]  jk_open_socket::jk_connect.c (433):
connect to 127.0.0.1:8009 failed with errno=13
[Sun Jun 26 15:55:45 2005] [info]  ajp_connect_to_endpoint::jk_ajp_common.c
(880): Failed opening socket to (127.0.0.1:8009) with (errno=13)
[Sun Jun 26 15:55:45 2005] [info]  ajp_send_request::jk_ajp_common.c
(1239):
Error connecting to the Tomcat process.
[Sun Jun 26 15:55:45 2005] [info]  ajp_service::jk_ajp_common.c (1737):
Sending request to tomcat failed,  recoverable operation attempt=2
[Sun Jun 26 15:55:45 2005] [info]  jk_open_socket::jk_connect.c (433):
connect to 127.0.0.1:8009 failed with errno=13
[Sun Jun 26 15:55:45 2005] [info]  ajp_connect_to_endpoint::jk_ajp_common.c
(880): Failed opening socket to (127.0.0.1:8009) with (errno=13)
[Sun Jun 26 15:55:45 2005] [info]  ajp_send_request::jk_ajp_common.c
(1239):
Error connecting to the Tomcat process.
[Sun Jun 26 15:55:45 2005] [info]  ajp_service::jk_ajp_common.c (1737):
Sending request to tomcat failed,  recoverable operation attempt=3
[Sun Jun 26 15:55:45 2005] [error] ajp_service::jk_ajp_common.c (1746):
Error connecting to tomcat. Tomcat is probably not started or is listening
on the wrong port. worker=ajp13w failed
[Sun Jun 26 15:55:45 2005] ajp13w ill-conditioned 0.002938

I know that Tomcat is both started and listening on the correct port. I
think it might have to do with permissions (errno=13 is a permission denied
error), but I don't know what I need to change.



Quoting Luis Sánchez Sánchez [EMAIL PROTECTED]:

 Install mod_jk. I downloaded it from

http://www.apache.org/dist/jakarta/tomcat-connectors/jk/binaries/linux/jk-1.2.10
/


 Copy the jakarta-connector*.so to your apache2 modules directory.

 Activate your new module:

 I used this two files in /etc/apache/mods-avaliable:

 +---+
 mod_jk.conf
 +---+
 # Where to find

Re: confused J2SE or J2EE

2005-07-01 Thread Bruno Georges
In general use J2SE. J2EE not only includes JDK, JRE but alo the rest of
the J2EE stack.
You don't need to install J2EE , install J2SE.
With J2SE you can use the JDK [JRE has just the runtime, so it is not
intended for development, rather for being shipped with apps or deployed on
prod]
If you use JBoss or other EJB container, you still don't need to install
the J2EE since these app server implement its spec.
With Tomcat  use J2SE.

Hope this helps.

Bruno Georges

Glencore International AG
Tel. +41 41 709 3204
Fax +41 41 709 3000



  
  ganesan  
  
  malairaja   To:  
tomcat-user@jakarta.apache.org  
  
  [EMAIL PROTECTED] cc:

  il.com  Subject: confused J2SE or J2EE   
  

  
  01.07.05 04:47   Distribute:  
  
  Please respond   Personal?   |---|
  
  to Tomcat Users | [ ] x |
  
  List|---|
  

  

  





hi guys

i am confused about using J2SE or J2EE

which one i am supposed to use ?

if i use J2SE do i have to install JRE also ?

please  clarify ..  i am stuck here ..

i already have Borland JBuilder , which comes with jdk 1.4,  do i need to

install another copy of J2SE or use the one comes with JBuilder..

i am using SUZE 9.3 Profesional..

if u guys got a linux configuration with MySQL + APACEHE + TOMCAT + JAVA...

i will be more than willing to follow the configurations..

windows XP sp2 configuration is also welcomed as i have another machine on
XP sp2 ..

please try to give some guidance ..

any help is high appreaciated ..

thanks



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





*  
*  LEGAL DISCLAIMER
*  This message contains confidential information for
*  the exclusive use of the person mentioned above.
*


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: web hosting with tomcat

2005-07-01 Thread Bruno Georges
There are plenty of  Hosting compnanies

I used webappcabaret, Spinweb and lately eapps.com
Depending on your requirements they all offer different level of
integration with apache.
For example with eapps.com you can access tomcat directly or via apache
[mod_jk], same for JBoss
You can also manage you domain/sub domains, etc...
The good thing with these providers is that usually they have done the
integration for you, you just have to push your app via a Web front-end
[which you can do with tomcat admin/manager anyway, alternatively you can
scp your app using your ssh account and deploy yourself.
http://www.spinweb.net/
http://www.webappcabaret.com/index.html
http://eapps.com/

Enjoy.

Bruno Georges

Glencore International AG
Tel. +41 41 709 3204
Fax +41 41 709 3000


|-+--
| |   vishwam  |
| |   [EMAIL PROTECTED]|
| |   comsys.com|
| |  |
| |   01.07.05 12:53 |
| |   Please respond to  |
| |   Tomcat Users List|
| |  |
|-+--
  
|
  | 
   |
  |To:  'Tomcat Users List' tomcat-user@jakarta.apache.org  
   |
  |cc:  
   |
  |Subject: web hosting with tomcat 
   |
  | 
   |
  |Distribute:  
   |
  |Personal?   |---|
   |
  || [ ] x |
   |
  ||---|
   |
  | 
   |
  
|




Hi,
   I am a new user of tomcat,  I developed a web application in my webapps
folder,

Now i want to put my application  live on internet with my domain name.My
question is
can tomcat serve as  web server alone? or do i need help of IIS or Apache
server to redirect to tomcat.
Please can any one tell me the procedure what should be done ?

 Thanks  regards
vishwam


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





*  
*  LEGAL DISCLAIMER
*  This message contains confidential information for
*  the exclusive use of the person mentioned above.
*


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE: web hosting with tomcat

2005-07-01 Thread Bruno Georges
I agree it is the simplest, however I would not recommend it, for at least
2 reasons
1. You will have to run your apache server on a different port if you have
one, and tell everyone to connect to that port... not very practical and
not a standard port.
Apache offers a lot more features that are not existing in tomcat. If you
don't want or need these features, then this is an option.
2. As you mentioned, security. I would recommend to leave apache in front
of Tomcat. Even if tomcat is getting there in term of security, apache is
much more mature in that respect. Make sure you do not leave tomcat ports
to the outside world. 80 is enough [and 443 for HTTPS]. It will also be
harder to compromise tomcat if behind apache.

Hope this helps
Bruno Georges

Glencore International AG
Tel. +41 41 709 3204
Fax +41 41 709 3000



  
  Peter Crowther  
  
  [EMAIL PROTECTED] To:  Tomcat Users List 
tomcat-user@jakarta.apache.org
  landra.comcc:
  
 Subject: RE: web hosting with 
tomcat 
  01.07.05 13:07
  
  Please respond to  Distribute:
  
  Tomcat Users  Personal?   |---|  
  
  List  | [ ] x |  
  
 |---|  
  

  

  




 From: vishwam [mailto:[EMAIL PROTECTED]
 can tomcat serve as  web server alone?

Yes.

 Please can any one tell me the procedure what should be done ?

At the simplest, edit conf/server.xml to change port 8080 to port 80 and
restart Tomcat so that it reads the new port.  However, you may also
want to take further steps to harden Tomcat before exposing it on the
Internet - for example removing the standard applications and tightening
up the configuration options.  There was a discussion on-list about this
a while back if my memory isn't playing tricks on me; try an archive
search for securing or hardening Tomcat.

 - Peter

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





*  
*  LEGAL DISCLAIMER
*  This message contains confidential information for
*  the exclusive use of the person mentioned above.
*


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat in production

2005-07-01 Thread Bruno Georges
Adam

I don't know personnaly how tomcat behave in production for heavier load
than 10 concurrent request, but if you want to do the test in your own
environemtn, which I guess has a different bandwith and network equipment,
etc...

I would suggest you to use tools to simulate the load, [and also against
your own webapps which may be the bottleneck.]

There are commerical products which can cover this.
Apache as one which is usually found under its bin directory: ab
I like also JMeter, also from the Apache / Jakarta guys.

With JMeter you can set the number of concurrent connections and the type
of request, it is very complete.
you can run it form one machine, but again your box network interface will
be taking the load, so maybe you can use different box, etc... your choice


Bruno Georges

Glencore International AG
Tel. +41 41 709 3204
Fax +41 41 709 3000



  
  Adam Lipscombe  
  
  [EMAIL PROTECTED] To:  'Tomcat Users List' 
tomcat-user@jakarta.apache.org  
  pensys.comcc:
  
 Subject: Tomcat in production  
  
  01.07.05 14:14
  
  Please respond to  Distribute:
  
  Tomcat Users  Personal?   |---|  
  
  List  | [ ] x |  
  
 |---|  
  

  

  




Folks,


We are developing an app that is currently deploys in TC 5.0.28 using Java
1.4.2_04. The DB is MySQL.
Our first release is almost complete, and I have been tasked with
understanding what the issues might be in putting this live in a production
environment.


Our customers typical server will be a dedicated blade running Win2k3 or
RedHat Linux, dual Xeon processors, 2GB RAM.


1. Does anyone have an idea of how  many concurrent users/requests TC can
support in this sort of config?
   What is reasonable?


2. Are there any useful doc available for configuring TC for a production
environment?


3. Any other issues to consider?


TIA - Adam


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





*  
*  LEGAL DISCLAIMER
*  This message contains confidential information for
*  the exclusive use of the person mentioned above.
*


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: WebSphere SOAP under tomcat

2005-06-30 Thread Bruno Georges
I would create a stub from the WSDL if you have it.

Bruno Georges

Glencore International AG
Tel. +41 41 709 3204
Fax +41 41 709 3000



  
  Weseloh, 
  
  Markus  To:  
'tomcat-user@jakarta.apache.org' tomcat-user@jakarta.apache.org 
  
  Markus.Weseloh@ cc:  
  
  gedas.deSubject: WebSphere SOAP under 
tomcat   

  
  30.06.05 13:43   Distribute:  
  
  Please respond   Personal?   |---|
  
  to Tomcat Users | [ ] x |
  
  List|---|
  

  

  




Hi,

currently I'm developing an application for Tomcat 5.0.28. Now I want to
call a SOAP service but for this service exists only a client
implementation
for the WebSphere libs. Is there a way to use this client implementation
under an standalone Tomcat? The first missing dependency is the file
webservices.jar from WebSphere, but when I look in the MANIFEST.MF of
webservices.jar I can find a lot of JARs that are required by
webservices.jar...and don't want to know how many libs are required by
these
JARs. Does anybody know how I can use the WebSphere Client implementation
of
the SOAP service (or ist the only way for me to generate an Axis
implementation manually)? One more info: the client implementation works
under WAS 5.1.1.4.

Regards
Markus Weseloh


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





*  
*  LEGAL DISCLAIMER
*  This message contains confidential information for
*  the exclusive use of the person mentioned above.
*


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: WebSphere SOAP under tomcat

2005-06-30 Thread Bruno Georges
If you have the WSDL you can generate clients very easily.
For AXIS as wella s PHP, Perl, etc...
For Java use tools suchas wsdl2java, then SOAP implementation such as axis
will do.


Hope this helps.
Bruno Georges

Glencore International AG
Tel. +41 41 709 3204
Fax +41 41 709 3000



  
  Weseloh, 
  
  Markus  To:  
'tomcat-user@jakarta.apache.org' tomcat-user@jakarta.apache.org 
  
  Markus.Weseloh@ cc:  
  
  gedas.deSubject: WebSphere SOAP under 
tomcat   

  
  30.06.05 13:43   Distribute:  
  
  Please respond   Personal?   |---|
  
  to Tomcat Users | [ ] x |
  
  List|---|
  

  

  




Hi,

currently I'm developing an application for Tomcat 5.0.28. Now I want to
call a SOAP service but for this service exists only a client
implementation
for the WebSphere libs. Is there a way to use this client implementation
under an standalone Tomcat? The first missing dependency is the file
webservices.jar from WebSphere, but when I look in the MANIFEST.MF of
webservices.jar I can find a lot of JARs that are required by
webservices.jar...and don't want to know how many libs are required by
these
JARs. Does anybody know how I can use the WebSphere Client implementation
of
the SOAP service (or ist the only way for me to generate an Axis
implementation manually)? One more info: the client implementation works
under WAS 5.1.1.4.

Regards
Markus Weseloh


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





*  
*  LEGAL DISCLAIMER
*  This message contains confidential information for
*  the exclusive use of the person mentioned above.
*


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Apache2+JK2+Tomcat-5.028 URI UTF-8 problem

2005-06-28 Thread Bruno Georges
Hi Luis

Why don't you start with mod_jk as opposed to mod_jk2, mod_jk is more
recent than mod_jk2
Check the apache httpd.conf for the following directives
AddLanguage
AddDefaultCharset  UTF-8

Also make sure use in your servlet/JSP:
request.setCharacterEncoding(UTF-8);

Bruno Georges

Glencore International AG
Tel. +41 41 709 3204
Fax +41 41 709 3000


|-+
| |   Luis Sánchez Sánchez |
| |   luis.sanchez.sanchez|
| |   @gmail.com  |
| ||
| |   28.06.05 01:44   |
| |   Please respond to|
| |   Tomcat Users List  |
| ||
|-+
  
--|
  | 
 |
  |To:  tomcat-user@jakarta.apache.org  
 |
  |cc:  
 |
  |Subject: Apache2+JK2+Tomcat-5.028  URI UTF-8 problem   
 |
  | 
 |
  |Distribute:  
 |
  |Personal?   |---|
 |
  || [ ] x |
 |
  ||---|
 |
  | 
 |
  
--|




It's about apache-tomcat configuration with
UTF-8. I added URI encoding to the tomcat configuration and I set
defaultcharset utf-8
in apache2. Im using mod_jk2. It doesnt work when I use special
characters like áéíóúñ...

If I use URL with port 8080 (tomcat
answers) It's fine but If I use the redirection apache-tomcat it
doesn't work... Any suggestion?

Thanks

--
Luis Sánchez Sánchez [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





*  
*  LEGAL DISCLAIMER
*  This message contains confidential information for
*  the exclusive use of the person mentioned above.
*


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: VirtualHost configuration SSL

2005-06-23 Thread Bruno Georges
Hi Lars

You need to use name-based Virtual hosting.
I assume you use apache in front of tomcat.
Docs are available on line at:
http://httpd.apache.org/docs-2.0/vhosts/

Best Regards
Bruno Georges

Glencore International AG
Tel. +41 41 709 3204
Fax +41 41 709 3000



  
  Lars Nielsen 
  
  LindTo:  'Tomcat Users List' 
tomcat-user@jakarta.apache.org
  [EMAIL PROTECTED] cc:

  ine.dk  Subject: VirtualHost 
configuration SSL   
  

  
  23.06.05 13:30   Distribute:  
  
  Please respond   Personal?   |---|
  
  to Tomcat Users | [ ] x |
  
  List|---|
  

  

  




Hi.



I want to configure the following:





www.domain.com http://www.domain.com/  port 80 - start page and unsecure
area



www.domain.com http://www.domain.com/  port 443 - redirects to
ssl.domain.com:443



ssl.domain.com port 80 redirects to ssl.domain.com port 443



ssl.domain.com port 443 - secure area





They all use make use of the same IP-address.



Is it possible and how do I do that?





Thanks moonie





*  
*  LEGAL DISCLAIMER
*  This message contains confidential information for
*  the exclusive use of the person mentioned above.
*


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: VirtualHost configuration SSL

2005-06-23 Thread Bruno Georges
Lars

Correction:

Name-based virtual hosting cannot be used with SSL secure servers because
of the nature of the SSL protocol. 

You will need to use IP-Based virtual hosting when enabling SSL.

Hope this helps.

Bruno Georges

Glencore International AG
Tel. +41 41 709 3204
Fax +41 41 709 3000


|-+
| |   Bruno Georges|
| |   [EMAIL PROTECTED]|
| |   encore.com  |
| ||
| |   23.06.05 13:38   |
| |   Please respond to|
| |   Tomcat Users|
| |   List|
| ||
|-+
  
--|
  | 
 |
  |To:  Tomcat Users List tomcat-user@jakarta.apache.org
 |
  |cc:  
 |
  |Subject: Re: VirtualHost configuration SSL   
 |
  | 
 |
  |Distribute:  
 |
  |Personal?   |---|
 |
  || [ ] x |
 |
  ||---|
 |
  | 
 |
  
--|




Hi Lars

You need to use name-based Virtual hosting.
I assume you use apache in front of tomcat.
Docs are available on line at:
http://httpd.apache.org/docs-2.0/vhosts/

Best Regards
Bruno Georges

Glencore International AG
Tel. +41 41 709 3204
Fax +41 41 709 3000



  Lars Nielsen

  LindTo:  'Tomcat Users
List' tomcat-user@jakarta.apache.org

  [EMAIL PROTECTED] cc:

  ine.dk  Subject: VirtualHost
configuration SSL


  23.06.05 13:30   Distribute:

  Please respond   Personal?   |---|

  to Tomcat Users | [ ] x |

  List|---|







Hi.



I want to configure the following:





www.domain.com http://www.domain.com/  port 80 - start page and unsecure
area



www.domain.com http://www.domain.com/  port 443 - redirects to
ssl.domain.com:443



ssl.domain.com port 80 redirects to ssl.domain.com port 443



ssl.domain.com port 443 - secure area





They all use make use of the same IP-address.



Is it possible and how do I do that?





Thanks moonie





*
*  LEGAL DISCLAIMER
*  This message contains confidential information for
*  the exclusive use of the person mentioned above.
*


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



*  
*  LEGAL DISCLAIMER
*  This message contains confidential information for
*  the exclusive use of the person mentioned above.
*


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]