Balancer for redirect to other host

2005-10-05 Thread Jury Levykin

Hi,
I want use balancer for redirect all requests from mydomain.org to 
www.mydomain.org.


I try following configuration:
-- server.xml --
 ...
 Host name=www.mydomain.org appBase=webapps
   Context path= docBase=el-dimm reloadable=true/
 /Host

 Host name=mydomain.org appBase=webapps

   Context path= docBase=balancer reloadable=true/
 /Host
 ...
-
Balancer application have default configuration.

I receive error message after typing http://mydomain.org in the address 
line:

The requested resource (/) is not available._

_But if type http://mydomain.org/balancer - balancer working correct.

What I did not correct?
Please correct me.

Thanks,
Jury_
_

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



Tomcat -- port 80 for Linux

2005-03-30 Thread Jury Levykin
Hello!
I use tomcat 5.5 as main web server at Linux host. Me need run tomcat in
port 80.
To solve this task I see two way:
1. Running tomcat as daemon in port 80 by jsvc command.
2. Running apache in port 80 and use mod_jk to redirect users request to
tomcat.
What way is most secure?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Replication problem

2004-12-01 Thread Jury Levykin
I use tomcat 5.0.27 at SLES 8.1
Tomcat instances installed to two host and join to cluster.
Session replication good working after server startup,
but after 2 - 3 days I get problem with tomcat.
In catalina.out have following lines:
---
Nov 30, 2004 6:34:59 PM org.apache.catalina.cluster.tcp.SimpleTcpCluster 
memberAdded
INFO: Replication member 
added:org.apache.catalina.cluster.mcast.McastMember[tcp://192.168.1.2:4001,192.
168.1.2,4001, alive=628535]
Nov 30, 2004 6:35:11 PM org.apache.catalina.cluster.tcp.SimpleTcpCluster 
memberDisappeared
INFO: Received member 
disappeared:org.apache.catalina.cluster.mcast.McastMember[tcp://192.168.1.2:4001,1
92.168.1.2,4001, alive=637441]
-
These lines writeing into endless loop
and second server will be crash via some time.
In catalina.out write following lines:
--
Nov 30, 2004 3:32:20 PM org.apache.catalina.cluster.tcp.ReplicationValve invoke
SEVERE: Unable to perform replication request.
java.lang.NullPointerException
   at 
org.apache.catalina.cluster.session.DeltaRequest.writeExternal(DeltaRequest.java:217)
   at 
org.apache.catalina.cluster.session.DeltaManager.unloadDeltaRequest(DeltaManager.java:393)
   at 
org.apache.catalina.cluster.session.DeltaManager.requestCompleted(DeltaManager.java:782)
   at 
org.apache.catalina.cluster.tcp.ReplicationValve.invoke(ReplicationValve.java:203)
   at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
. . .
--
or following:
--
Nov 30, 2004 2:33:04 PM org.apache.catalina.cluster.tcp.ReplicationValve invoke
SEVERE: Unable to perform replication request.
java.util.NoSuchElementException
   at java.util.LinkedList.remove(LinkedList.java:579)
   at java.util.LinkedList.removeFirst(LinkedList.java:131)
   at org.apache.catalina.cluster.session.DeltaRequest.reset(DeltaRequest.java:153)
   at org.apache.catalina.cluster.session.DeltaSession.resetDeltaRequest(DeltaSession.java:938)
   at org.apache.catalina.cluster.session.DeltaManager.requestCompleted(DeltaManager.java:786)
   at org.apache.catalina.cluster.tcp.ReplicationValve.invoke(ReplicationValve.java:203)
. . . 
--

What is may fix it problem?
Thanks.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]