Re: Apache-Tomcat Advanced training courses in the US

2009-05-27 Thread Landon Fabbricino
I would suggest http://marakana.com/

For a technical training facility, I was extremely impressed.

We only covered a little bit of the performance tuning, however, they seemed 
very flexible in class to cover in detail topics out side of what was covered 
in the course.

 
From:   Chetan Chheda chetan_chh...@yahoo.com
To: users@tomcat.apache.org
Date:   5/27/2009 8:57 AM
Subject:Apache-Tomcat Advanced training courses in the US

All, 

Can you recommend some of them? Topics that I am looking for are : 

Mod_jk configuration 
Tomcat connectors 
Apache webserver  

For high traffic scenariors with a performance tuning  monitoring perspective 
..

Thanks,
Chetan


  

IMPORTANT NOTICE ! 
This E-Mail transmission and any accompanying attachments may contain 
confidential information intended only for the use of the individual or entity 
named above. Any dissemination, distribution, copying or action taken in 
reliance on the contents of this E-Mail by anyone other than the intended 
recipient is strictly prohibited and is not intended to, in anyway, waive 
privilege or confidentiality. If you have received this E-Mail in error please 
immediately delete it and notify sender at the above E-Mail address.  
Agrium uses state of the art anti-virus technology on all incoming and outgoing 
E-Mail. We encourage and promote the use of safe E-Mail management practices 
and recommend you check this, and all other E-Mail and attachments you receive 
for the presence of viruses. The sender and Agrium accept no liability for any 
damage caused by a virus or otherwise by the transmittal of this E-Mail. 


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



Re: Programmatically Force JSP Reload

2009-01-28 Thread Landon Fabbricino
Not sure if this helps you or not.

You could use the following.

www.yourdomain.com/jspfile.jsp?jsp_precompile=true

You may be able to use this to your advantage somehow.

Landon Fabbricino
IT Applications

Phone: 403.225.7515
Fax: 403.225.7604
lfabb...@agrium.com

 
From:   Eric Grunzke eric.grun...@gmail.com
To: users@tomcat.apache.org
Date:   1/28/2009 2:20 PM
Subject:Programmatically Force JSP Reload


Hello,

I am developing an app framework that has a very costly startup cycle. 
Consequently, I try to avoid restarting apps because it takes a long time
for the core to get spooled up.  In this vein I have a custom classloader
that reloads the WEB-INF/classes directory without doing a full restart of
the app.  I've run into a problem, however, in JSPs.  It's possible for JSPs
to contain a reference to a .class file that becomes stale when I reload
behind the scenes, which results in a ClassCastException.

The bottom line here is that I am searching for a way to programmatically
force tomcat to drop all loaded JSPs from memory.  I do not need to
recompile them, just reload the classes.  However, if compilation and
reloading are inextricably linked, that's a cost I'm willing to accept.

I've tried looking around the documentation and searching the mailing list,
but I've been unsuccessful so far.  Any insight is greatly appreciated. 
Thanks!

-Eric
-- 
View this message in context: 
http://www.nabble.com/Programmatically-Force-JSP-Reload-tp21715300p21715300.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 


IMPORTANT NOTICE ! 
This E-Mail transmission and any accompanying attachments may contain 
confidential information intended only for the use of the individual or entity 
named above. Any dissemination, distribution, copying or action taken in 
reliance on the contents of this E-Mail by anyone other than the intended 
recipient is strictly prohibited and is not intended to, in anyway, waive 
privilege or confidentiality. If you have received this E-Mail in error please 
immediately delete it and notify sender at the above E-Mail address.  
Agrium uses state of the art anti-virus technology on all incoming and outgoing 
E-Mail. We encourage and promote the use of safe E-Mail management practices 
and recommend you check this, and all other E-Mail and attachments you receive 
for the presence of viruses. The sender and Agrium accept no liability for any 
damage caused by a virus or otherwise by the transmittal of this E-Mail. 


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



Re: About Apache 2.2 and Tomcat 6

2008-06-04 Thread Landon Fabbricino
You can use mod jk.  Fairly easy to configure when you get your mind
wrapped around it.

Apache will act as a proxy service for specified requests.  You could
say all requests for an application is pass to tomcat, or everything but
images and word documents.

Landon Fabbricino
IT Applications

Phone: 403.225.7515
Fax: 403.225.7604
[EMAIL PROTECTED]

 Francisco Robredo [EMAIL PROTECTED] 6/4/2008 2:59:03
PM 
Hi , Ive installed Apache 2.2 and Tomcat 6 separately on Windows
2003nbsp; and both are working fine, so, how can I integrate both in
order to serve servlets and jsp on Apache 2.2?
nbsp;
In the future, when both were integrated, where do i need to deploy the
jsp application? (on \htdocs or in \webapps)
nbsp;
Thanks in advance, Pablo.

__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar

IMPORTANT NOTICE ! 
This E-Mail transmission and any accompanying attachments may contain
confidential information intended only for the use of the individual or
entity named above. Any dissemination, distribution, copying or action
taken in reliance on the contents of this E-Mail by anyone other than
the intended recipient is strictly prohibited and is not intended to, in
anyway, waive privilege or confidentiality. If you have received this
E-Mail in error please immediately delete it and notify sender at the
above E-Mail address.  
Agrium uses state of the art anti-virus technology on all incoming and
outgoing E-Mail. We encourage and promote the use of safe E-Mail
management practices and recommend you check this, and all other E-Mail
and attachments you receive for the presence of viruses. The sender and
Agrium accept no liability for any damage caused by a virus or otherwise
by the transmittal of this E-Mail. 


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: mod_jk 1.2.26 jk_mount

2008-06-03 Thread Landon Fabbricino
Could it be as simple as not having rights (permissions) to see the 
/app/resources directory or the showPDFLetter file ?

Landon Fabbricino
IT Applications

Phone: 403.225.7515
Fax: 403.225.7604
[EMAIL PROTECTED]

 Niki Diulgerov [EMAIL PROTECTED] 6/3/2008 8:04:47 AM 
Hello there,
I compiled the mod_jk 1.2.26 from the source for Red hat 5.1x64
The module works as intended except some strance gehaviour

I have in my httpd.conf
JkMount /app/*.jsp ajp13
JkMount /app/*.do ajp13

And this works OK
but my application have a URLs like
/app/resources/showPDFLetter?format=pdf

Which was not described im JkMount and rejected

I added
JkMount /app/resources/* ajp13
but still the same error

[Tue Jun 03 17:04:23.021 2008] [22353:2934367456] [debug] 
jk_map_to_storage::mod_jk.c (3211): no match for 
/app/resources/showPDFLetter found

can this be because of the version of mod_jk ?


-- 
Best regards,

Nikolay Diulgerov
Network Administrator
E-mail: [EMAIL PROTECTED] 
Telephone : +33 4 89 87 77 77
Fax :   +33 4 89 87 77 00
Web: http://www.codix-france.com 




-
To start a new topic, e-mail: users@tomcat.apache.org 
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 


IMPORTANT NOTICE ! 
This E-Mail transmission and any accompanying attachments may contain 
confidential information intended only for the use of the individual or entity 
named above. Any dissemination, distribution, copying or action taken in 
reliance on the contents of this E-Mail by anyone other than the intended 
recipient is strictly prohibited and is not intended to, in anyway, waive 
privilege or confidentiality. If you have received this E-Mail in error please 
immediately delete it and notify sender at the above E-Mail address.  
Agrium uses state of the art anti-virus technology on all incoming and outgoing 
E-Mail. We encourage and promote the use of safe E-Mail management practices 
and recommend you check this, and all other E-Mail and attachments you receive 
for the presence of viruses. The sender and Agrium accept no liability for any 
damage caused by a virus or otherwise by the transmittal of this E-Mail. 


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: TOMCAT CLUSTERING HOWTO

2008-05-07 Thread Landon Fabbricino
Helly Karthikn,

I am confused as to where you are having problems?  

I am not sure what you mean by How to test TOMCAT CLUSTERING with out Load 
balancer?

What exactly are you trying to do with your two tomcat machines?



Landon Fabbricino
IT Applications

Phone: 403.225.7515
Fax: 403.225.7604
[EMAIL PROTECTED]

 karthikn [EMAIL PROTECTED] 5/6/2008 7:55:17 AM 
Hi

How to test TOMCAT CLUSTERING with out Load balancer

As Per the Tomcat 5.5.23 Cluster HowTo Documents

I have only tried to Cluster 2 TOMCATS on SAME Machine , Sharing same JVM.

but not able to SAMPLE TEST the clustering


Am i on doing some thing wrong in here.?



Please Some body suggest me  . :(

with regards
Karthik




karthikn wrote:
 Hi

 How to test TOMCAT CLUSTERING with out Load balancer

 As Per the Tomcat 5.5.23 Cluster HowTo Documents

 I have only tried to Cluster 2 TOMCATS on SAME Machine , Sharing same JVM.

 but not able to test the clustering


 Am i on doing some thing wrong in here.?




 with regards
 Karthik









 Landon Fabbricino wrote:
   
 I honestly have not tried clustering tomcat without Apache before.

 Just recently I set up a server farm with apache on one server and tomcat on 
 two other servers (so 3 physical machines)

 Apache contains the logic to handle the load balancing between the two 
 tomcats:

 jk.conf
 JkWorkersFile   conf/workers.properties
 JkLogFile   logs/jk_conn.log
 JkLogLevel  error

 JkMount /loadbalance-test*  loadbalancer

 workers.properties
 ### Load Balancer Instances 
   worker.tomcat1.type=ajp13
   worker.tomcat1.host=server1.domain.com
   worker.tomcat1.port=8009  #AJP Port
   worker.tomcat1.lbfactor=1

   worker.tomcat4.type=ajp13
   worker.tomcat4.host=server2.domain.com
   worker.tomcat4.port=8010#AJP Port
   worker.tomcat4.lbfactor=1


 ### Define Mount Points 

   # Load Balance #
   worker.loadbalancer.type=lb
   worker.loadbalancer.balance_workers=tomcat1,tomcat2
   worker.loadbalancer.sticky_session=False
   worker.loadbalancer.method=B

 ### Load Mount Points   
   worker.list=loadbalancer






 
 karthikn [EMAIL PROTECTED] 4/30/2008 10:57:51 PM 

   
 Hi

 As Per the Tomcat 5.5.23 Cluster HowTo Documents

 I have only tried to Cluster 2 TOMCATS on SAME Machine , Sharing same JVM.

   Could you provide your apache's worker.properties file?

 I have so far not used any APACHE Http Server for Load Balancing




 with regards
 Karthik





 Landon Fabbricino wrote:

 
 Could you provide your apache's worker.properties file?




   
 karthikn [EMAIL PROTECTED] 4/30/2008 8:05:02 AM 


 
 Hi

 Any more suggestions ?


 with regards
 Karthik

 karthikn wrote:


   
 Hi

  distributable/

 I have already added the same in my application's web.xml,
 but still no improvement.




 with regards
 Karthik



 Landon Fabbricino wrote:



 
 If I am not mistaken, you will need to add the following tag to your 
 web.xml

 CATALINA_HOME/webapps/your_app_name/WEB-INF/web.xml
   !-- Required for session-replication in clustering mode  --
   distributable/



 Landon Fabbricino
 IT Applications

 Phone: 403.225.7515
 Fax: 403.225.7604
 [EMAIL PROTECTED] 





   
 karthikn [EMAIL PROTECTED] 4/28/2008 11:34:43 PM 




 
 Hi

 The Following was done for the Clustering  (2 tomcats )

 Values  TOMCAT5523_ITOMCAT5523_II



 Startup 80818082
 ShutDown80078008



 APJ 80098010
 TCP Listener40014002
 tcpListenAddressautoauto
 jvmRoutenode01  node02



 Delpoyment of a war file on TOMCAT5523_I  displays in console as

INFO: Starting clustering manager at /DATAGRID
 Apr 29, 2008 10:17:59 AM
 org.apache.catalina.cluster.session.DeltaManager getAll
 ClusterSessions
 WARNING: Manager [/DATAGRID], requesting session state from
 org.apache.catalina.
 cluster.mcast.McastMember[tcp://10.10.16.63:4002,catalina,10.10.16.63,4002,
 aliv
 e=17593]. This operation will timeout if no session state has been
 received with
 in 60 seconds.
 Apr 29, 2008 10:18:59 AM
 org.apache.catalina.cluster.session.DeltaManager waitFo
 rSendAllSessions
 SEVERE: Manager [/DATAGRID]: No session state send at 4/29/08 10:17 AM
 received,
  timing out after 60,109 ms.


 TOMCAT5523_II displays on console as

  INFO: Replication member
 added:org.apache.catalina.cluster.mcast.McastMember[tcp
 ://10.10.16.63:4001,catalina,10.10.16.63,4001, alive=16]
 Apr 29, 2008 10:17:59 AM
 org.apache.catalina.cluster.session.ClusterSessionListe
 ner messageReceived
 SEVERE: Context manager doesn't exist:/DATAGRID


 Am i missing something while clustering

 with regards
 Karthik



 karthikn wrote:




   
 Hi

 I have few Questions which i was not able to get TOMCAT CLUSTERING HOWTO

Re: TOMCAT CLUSTERING HOWTO

2008-05-01 Thread Landon Fabbricino
I honestly have not tried clustering tomcat without Apache before.

Just recently I set up a server farm with apache on one server and tomcat on 
two other servers (so 3 physical machines)

Apache contains the logic to handle the load balancing between the two 
tomcats:

jk.conf
JkWorkersFile   conf/workers.properties
JkLogFile   logs/jk_conn.log
JkLogLevel  error

JkMount /loadbalance-test*  loadbalancer

workers.properties
### Load Balancer Instances 
  worker.tomcat1.type=ajp13
  worker.tomcat1.host=server1.domain.com
  worker.tomcat1.port=8009  #AJP Port
  worker.tomcat1.lbfactor=1

  worker.tomcat4.type=ajp13
  worker.tomcat4.host=server2.domain.com
  worker.tomcat4.port=8010#AJP Port
  worker.tomcat4.lbfactor=1


### Define Mount Points 

  # Load Balance #
  worker.loadbalancer.type=lb
  worker.loadbalancer.balance_workers=tomcat1,tomcat2
  worker.loadbalancer.sticky_session=False
  worker.loadbalancer.method=B

### Load Mount Points   
  worker.list=loadbalancer





 karthikn [EMAIL PROTECTED] 4/30/2008 10:57:51 PM 
Hi

As Per the Tomcat 5.5.23 Cluster HowTo Documents

I have only tried to Cluster 2 TOMCATS on SAME Machine , Sharing same JVM.

  Could you provide your apache's worker.properties file?

I have so far not used any APACHE Http Server for Load Balancing




with regards
Karthik





Landon Fabbricino wrote:
 Could you provide your apache's worker.properties file?


   
 karthikn [EMAIL PROTECTED] 4/30/2008 8:05:02 AM 
 
 Hi

 Any more suggestions ?


 with regards
 Karthik

 karthikn wrote:
   
 Hi

  distributable/

 I have already added the same in my application's web.xml,
 but still no improvement.




 with regards
 Karthik



 Landon Fabbricino wrote:

 
 If I am not mistaken, you will need to add the following tag to your web.xml

 CATALINA_HOME/webapps/your_app_name/WEB-INF/web.xml
   !-- Required for session-replication in clustering mode  --
   distributable/



 Landon Fabbricino
 IT Applications

 Phone: 403.225.7515
 Fax: 403.225.7604
 [EMAIL PROTECTED] 



   
 karthikn [EMAIL PROTECTED] 4/28/2008 11:34:43 PM 


 
 Hi

 The Following was done for the Clustering  (2 tomcats )

 Values  TOMCAT5523_ITOMCAT5523_II



 Startup 80818082
 ShutDown80078008



 APJ 80098010
 TCP Listener40014002
 tcpListenAddressautoauto
 jvmRoutenode01  node02



 Delpoyment of a war file on TOMCAT5523_I  displays in console as

INFO: Starting clustering manager at /DATAGRID
 Apr 29, 2008 10:17:59 AM
 org.apache.catalina.cluster.session.DeltaManager getAll
 ClusterSessions
 WARNING: Manager [/DATAGRID], requesting session state from
 org.apache.catalina.
 cluster.mcast.McastMember[tcp://10.10.16.63:4002,catalina,10.10.16.63,4002,
 aliv
 e=17593]. This operation will timeout if no session state has been
 received with
 in 60 seconds.
 Apr 29, 2008 10:18:59 AM
 org.apache.catalina.cluster.session.DeltaManager waitFo
 rSendAllSessions
 SEVERE: Manager [/DATAGRID]: No session state send at 4/29/08 10:17 AM
 received,
  timing out after 60,109 ms.


 TOMCAT5523_II displays on console as

  INFO: Replication member
 added:org.apache.catalina.cluster.mcast.McastMember[tcp
 ://10.10.16.63:4001,catalina,10.10.16.63,4001, alive=16]
 Apr 29, 2008 10:17:59 AM
 org.apache.catalina.cluster.session.ClusterSessionListe
 ner messageReceived
 SEVERE: Context manager doesn't exist:/DATAGRID


 Am i missing something while clustering

 with regards
 Karthik



 karthikn wrote:


   
 Hi

 I have few Questions which i was not able to get TOMCAT CLUSTERING HOWTO
 and form.




 a) Clustering

 1) Do we need to deploy the war files  on each individual Tomcat
 when joined the clustering.
deploy your apps only to one server, and the cluster will
 distribute  the deployments across the entire cluster.

 This does not seems to work, after following the steps for 2
 Tomcats (or am i missing some thing in here.)

 2) Is this a must do configuration

   Make sure that all nodes have the same time and sync with
 NTP service! 

for the clusters to start functioning.


 b) Load balancing

  1) Using  Using the balancer webapp , redirects to different
 URL's is done,
   Can we use the same to redirect to  the clustered TOMCATs to
 do the load
 balancing  internally based on


   RoundRobinRule,
   RandomRedirectRule



  Any URL or blog (other then cluster-howto.html)
  which explains the clustering /load balancing in simple steps would be
 of wery much help to us.



 Prerequisite : TOMCAT 5.5.23 (already in production ,we cannot change
 this version) 2 nos
 JSDK  : 1.6
 O/s: UNIX 11


 with regards
 Karthik

Re: TOMCAT CLUSTERING HOWTO

2008-04-30 Thread Landon Fabbricino
Could you provide your apache's worker.properties file?


 karthikn [EMAIL PROTECTED] 4/30/2008 8:05:02 AM 
Hi

Any more suggestions ?


with regards
Karthik

karthikn wrote:
 Hi

  distributable/

 I have already added the same in my application's web.xml,
 but still no improvement.




 with regards
 Karthik



 Landon Fabbricino wrote:
   
 If I am not mistaken, you will need to add the following tag to your web.xml

 CATALINA_HOME/webapps/your_app_name/WEB-INF/web.xml
   !-- Required for session-replication in clustering mode  --
   distributable/



 Landon Fabbricino
 IT Applications

 Phone: 403.225.7515
 Fax: 403.225.7604
 [EMAIL PROTECTED] 


 
 karthikn [EMAIL PROTECTED] 4/28/2008 11:34:43 PM 

   
 Hi

 The Following was done for the Clustering  (2 tomcats )

 Values  TOMCAT5523_ITOMCAT5523_II



 Startup 80818082
 ShutDown80078008



 APJ 80098010
 TCP Listener40014002
 tcpListenAddressautoauto
 jvmRoutenode01  node02



 Delpoyment of a war file on TOMCAT5523_I  displays in console as

INFO: Starting clustering manager at /DATAGRID
 Apr 29, 2008 10:17:59 AM
 org.apache.catalina.cluster.session.DeltaManager getAll
 ClusterSessions
 WARNING: Manager [/DATAGRID], requesting session state from
 org.apache.catalina.
 cluster.mcast.McastMember[tcp://10.10.16.63:4002,catalina,10.10.16.63,4002,
 aliv
 e=17593]. This operation will timeout if no session state has been
 received with
 in 60 seconds.
 Apr 29, 2008 10:18:59 AM
 org.apache.catalina.cluster.session.DeltaManager waitFo
 rSendAllSessions
 SEVERE: Manager [/DATAGRID]: No session state send at 4/29/08 10:17 AM
 received,
  timing out after 60,109 ms.


 TOMCAT5523_II displays on console as

  INFO: Replication member
 added:org.apache.catalina.cluster.mcast.McastMember[tcp
 ://10.10.16.63:4001,catalina,10.10.16.63,4001, alive=16]
 Apr 29, 2008 10:17:59 AM
 org.apache.catalina.cluster.session.ClusterSessionListe
 ner messageReceived
 SEVERE: Context manager doesn't exist:/DATAGRID


 Am i missing something while clustering

 with regards
 Karthik



 karthikn wrote:

 
 Hi

 I have few Questions which i was not able to get TOMCAT CLUSTERING HOWTO
 and form.




 a) Clustering

 1) Do we need to deploy the war files  on each individual Tomcat
 when joined the clustering.
deploy your apps only to one server, and the cluster will
 distribute  the deployments across the entire cluster.

 This does not seems to work, after following the steps for 2
 Tomcats (or am i missing some thing in here.)

 2) Is this a must do configuration

   Make sure that all nodes have the same time and sync with
 NTP service! 

for the clusters to start functioning.


 b) Load balancing

  1) Using  Using the balancer webapp , redirects to different
 URL's is done,
   Can we use the same to redirect to  the clustered TOMCATs to
 do the load
 balancing  internally based on


   RoundRobinRule,
   RandomRedirectRule



  Any URL or blog (other then cluster-howto.html)
  which explains the clustering /load balancing in simple steps would be
 of wery much help to us.



 Prerequisite : TOMCAT 5.5.23 (already in production ,we cannot change
 this version) 2 nos
 JSDK  : 1.6
 O/s: UNIX 11


 with regards
 Karthik

 -
 To start a new topic, e-mail: users@tomcat.apache.org 
 To unsubscribe, e-mail: [EMAIL PROTECTED] 
 For additional commands, e-mail: [EMAIL PROTECTED] 

 .



   
 -
 To start a new topic, e-mail: users@tomcat.apache.org 
 To unsubscribe, e-mail: [EMAIL PROTECTED] 
 For additional commands, e-mail: [EMAIL PROTECTED] 


 IMPORTANT NOTICE !
 This E-Mail transmission and any accompanying attachments may contain 
 confidential information intended only for the use of the individual or 
 entity named above. Any dissemination, distribution, copying or action taken 
 in reliance on the contents of this E-Mail by anyone other than the intended 
 recipient is strictly prohibited and is not intended to, in anyway, waive 
 privilege or confidentiality. If you have received this E-Mail in error 
 please immediately delete it and notify sender at the above E-Mail address.
 Agrium uses state of the art anti-virus technology on all incoming and 
 outgoing E-Mail. We encourage and promote the use of safe E-Mail management 
 practices and recommend you check this, and all other E-Mail and attachments 
 you receive for the presence of viruses. The sender and Agrium accept no 
 liability for any damage caused by a virus or otherwise by the transmittal 
 of this E-Mail.


 -
 To start a new topic, e-mail: users@tomcat.apache.org 
 To unsubscribe, e-mail: [EMAIL PROTECTED

Re: TOMCAT CLUSTERING HOWTO

2008-04-29 Thread Landon Fabbricino
If I am not mistaken, you will need to add the following tag to your web.xml

CATALINA_HOME/webapps/your_app_name/WEB-INF/web.xml
  !-- Required for session-replication in clustering mode  --
  distributable/



Landon Fabbricino
IT Applications

Phone: 403.225.7515
Fax: 403.225.7604
[EMAIL PROTECTED]

 karthikn [EMAIL PROTECTED] 4/28/2008 11:34:43 PM 
Hi

The Following was done for the Clustering  (2 tomcats )

Values  TOMCAT5523_ITOMCAT5523_II



Startup 80818082
ShutDown80078008



APJ 80098010
TCP Listener40014002
tcpListenAddressautoauto
jvmRoutenode01  node02



Delpoyment of a war file on TOMCAT5523_I  displays in console as

   INFO: Starting clustering manager at /DATAGRID
Apr 29, 2008 10:17:59 AM 
org.apache.catalina.cluster.session.DeltaManager getAll
ClusterSessions
WARNING: Manager [/DATAGRID], requesting session state from 
org.apache.catalina.
cluster.mcast.McastMember[tcp://10.10.16.63:4002,catalina,10.10.16.63,4002, 
aliv
e=17593]. This operation will timeout if no session state has been 
received with
in 60 seconds.
Apr 29, 2008 10:18:59 AM 
org.apache.catalina.cluster.session.DeltaManager waitFo
rSendAllSessions
SEVERE: Manager [/DATAGRID]: No session state send at 4/29/08 10:17 AM 
received,
 timing out after 60,109 ms.


TOMCAT5523_II displays on console as

 INFO: Replication member 
added:org.apache.catalina.cluster.mcast.McastMember[tcp
://10.10.16.63:4001,catalina,10.10.16.63,4001, alive=16]
Apr 29, 2008 10:17:59 AM 
org.apache.catalina.cluster.session.ClusterSessionListe
ner messageReceived
SEVERE: Context manager doesn't exist:/DATAGRID


Am i missing something while clustering

with regards
Karthik



karthikn wrote:
 Hi

 I have few Questions which i was not able to get TOMCAT CLUSTERING HOWTO
 and form.




 a) Clustering

 1) Do we need to deploy the war files  on each individual Tomcat
 when joined the clustering.
deploy your apps only to one server, and the cluster will
 distribute  the deployments across the entire cluster.

 This does not seems to work, after following the steps for 2
 Tomcats (or am i missing some thing in here.)

 2) Is this a must do configuration

   Make sure that all nodes have the same time and sync with
 NTP service! 

for the clusters to start functioning.


 b) Load balancing

  1) Using  Using the balancer webapp , redirects to different
 URL's is done,
   Can we use the same to redirect to  the clustered TOMCATs to
 do the load
 balancing  internally based on


   RoundRobinRule,
   RandomRedirectRule



  Any URL or blog (other then cluster-howto.html)
  which explains the clustering /load balancing in simple steps would be
 of wery much help to us.



 Prerequisite : TOMCAT 5.5.23 (already in production ,we cannot change
 this version) 2 nos
 JSDK  : 1.6
 O/s: UNIX 11


 with regards
 Karthik

 -
 To start a new topic, e-mail: users@tomcat.apache.org 
 To unsubscribe, e-mail: [EMAIL PROTECTED] 
 For additional commands, e-mail: [EMAIL PROTECTED] 

 .

   


-
To start a new topic, e-mail: users@tomcat.apache.org 
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 


IMPORTANT NOTICE ! 
This E-Mail transmission and any accompanying attachments may contain 
confidential information intended only for the use of the individual or entity 
named above. Any dissemination, distribution, copying or action taken in 
reliance on the contents of this E-Mail by anyone other than the intended 
recipient is strictly prohibited and is not intended to, in anyway, waive 
privilege or confidentiality. If you have received this E-Mail in error please 
immediately delete it and notify sender at the above E-Mail address.  
Agrium uses state of the art anti-virus technology on all incoming and outgoing 
E-Mail. We encourage and promote the use of safe E-Mail management practices 
and recommend you check this, and all other E-Mail and attachments you receive 
for the presence of viruses. The sender and Agrium accept no liability for any 
damage caused by a virus or otherwise by the transmittal of this E-Mail. 


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat JSP issues

2008-04-17 Thread Landon Fabbricino
Hello,

We are using Apache Tomcat/6.0.16 and when we go to the sample JSP
pages or our own jsp application, it breaks with a servlet exception.
(BTW servlets are still working).  When I first installed tomcat all of
the example jsp loaded correctly, just recently (after added a new
application war file) they stopped loading - not sure if it was from the
application war file addition or not..

http://localhost:8080/examples/jsp/jsp2/simpletag/hello.jsp 
When we go to this page, here is the following error we see.
—
HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented
it from fulfilling this request.

exception

javax.servlet.ServletException: java.lang.AbstractMethodError:
javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:274)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

root cause

java.lang.AbstractMethodError:
javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;

org.apache.jsp.jsp.jsp2.el.basic_002darithmetic_jsp._jspInit(basic_002darithmetic_jsp.java:22)
org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:52)

org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:159)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:329)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

note The full stack trace of the root cause is available in the Apache
Tomcat/6.0.16 logs.
—


Any suggestions would be very much appreciated.

Thanks in advanced.

Landon Fabbricino
IT Applications

Phone: 403.225.7515
Fax: 403.225.7604
[EMAIL PROTECTED]

IMPORTANT NOTICE ! 
This E-Mail transmission and any accompanying attachments may contain
confidential information intended only for the use of the individual or
entity named above. Any dissemination, distribution, copying or action
taken in reliance on the contents of this E-Mail by anyone other than
the intended recipient is strictly prohibited and is not intended to, in
anyway, waive privilege or confidentiality. If you have received this
E-Mail in error please immediately delete it and notify sender at the
above E-Mail address.  
Agrium uses state of the art anti-virus technology on all incoming and
outgoing E-Mail. We encourage and promote the use of safe E-Mail
management practices and recommend you check this, and all other E-Mail
and attachments you receive for the presence of viruses. The sender and
Agrium accept no liability for any damage caused by a virus or otherwise
by the transmittal of this E-Mail. 


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat using only 1 cpu

2006-07-27 Thread Landon Fabbricino
Hello,

We have been experiencing an issue where tomcat (jsvc) is only
utilizing one CPU rather then the four available.  I happened to notice
that it was only using 1 CPU when the server was slowed to a crawl and
only 25% of the server CPU's (4 of them) was being used.

We have been experiencing this problem on a Sun-Fire-480R Solaris 10
server, 16gb of ram and 4 CPU's.  The server is also using the 64 bit
version of java

Does anyone have any suggestions of what might be causing this problem
? 

Thanks in advance.

Landon Fabbricino
IT Applications

Phone: 403.225.7515
Fax: 403.225.7606
[EMAIL PROTECTED]


IMPORTANT NOTICE !
This E-Mail transmission and any accompanying attachments may contain
confidential information intended only for the use of the individual or
entity named above. Any dissemination, distribution, copying or action taken
in reliance on the contents of this E-Mail by anyone other than the intended
recipient is strictly prohibited and is not intended to, in anyway, waive
privilege or confidentiality. If you have received this E-Mail in error please
immediately delete it and notify sender at the above E-Mail address.

Agrium uses state of the art anti-virus technology on all incoming and
outgoing E-Mail. We encourage and promote the use of safe E-Mail management
practices and recommend you check this, and all other E-Mail and attachments
you receive for the presence of viruses. The sender and Agrium accept no 
liability
for any damage caused by a virus or otherwise by the transmittal of this E-Mail.
IMPORTANT NOTICE 




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]