RE: RotateLogs in Apache 2.0

2006-02-07 Thread Nehal Sangoi
My Apologies !! - Nehal -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 08, 2006 11:47 AM To: Tomcat Users List Subject: RE: RotateLogs in Apache 2.0 > From: Nehal Sangoi [mailto:[EMAIL PROTECTED] > Subject: RotateLogs in Apac

RotateLogs in Apache 2.0

2006-02-07 Thread Nehal Sangoi
Hi I need to rotate logs in apache 2.0 once they reach the size limit of 5 MB. What commands would work to carry out the reqd. job? Thanks Nehal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMA

RE: serializing java code

2006-01-23 Thread Nehal Sangoi
hin a half of a day. HTH - Richard -----Original Message- From: Nehal Sangoi [mailto:[EMAIL PROTECTED] Sent: Monday, January 23, 2006 11:32 PM To: Tomcat Users List (E-mail) Subject: serializing java code Hi I need to serialize my existing java code for implementing Tomcat Clustering feature.

serializing java code

2006-01-23 Thread Nehal Sangoi
Hi I need to serialize my existing java code for implementing Tomcat Clustering feature. Is there any ready-made tool which does the job easily? Otherwise, manually, how can i convert my existing code into serialized format? Thanks Nehal ---

RE: unable to load classes

2006-01-11 Thread Nehal Sangoi
am still trying to make it work... here is a reference to my email message in the list, asking about the context loader: http://mail-archives.apache.org/mod_mbox/tomcat-users/200601.mbox/%3c2006011 [EMAIL PROTECTED] - Segue mensagem original! - De: "Nehal Sangoi&quo

RE: unable to load classes

2006-01-11 Thread Nehal Sangoi
Hi How can i change the default classloading hierarchy in Tomcat 5.5.9 ? And would that affect in my Tomcat setup anyway? Please reply to my query because i am stucked up badly at this problem. -Original Message- From: Nehal Sangoi [mailto:[EMAIL PROTECTED] Sent: Friday, January 06

RE: unable to load classes

2006-01-05 Thread Nehal Sangoi
Hi Boris, I will explain the issue thoroughyl, and the options i tried so far to resolve the same. Environment Details : OS : Linux Enterprise Tomcat 5.5.9 Apache HTTP Server 2.0.54 Apache and Tomcat reside on physically different server. All Tomcat applications are SiteMinder Enabled. I have on

RE: unable to load classes

2006-01-05 Thread Nehal Sangoi
Hi Boris, I tried keeping into shared/lib of that particular application. But it reflects the same error again. My requirement of putting these two jars in shared/lib or common/lib is because i need to use them for other 20 more applications. Hence, it would be more convenient to keep one copy and

unable to load classes

2006-01-04 Thread Nehal Sangoi
Hi, I have 2 of my application specific jarfiles which need to be used by all other applications too in tomcat 5.5.9 on linux. Hence, i am placing both the jarfiles into common/lib of tomcat binary and linking them into shared/lib of application which use them. But, unfortunately, i get Null Poi

META-INF/context.xml

2006-01-02 Thread Nehal Sangoi
Hi Everyone, I am using manager-deployer to deploy my application war into webapps. Now, when i am keeping my JDBC context details in server.xml (for a permanent entry), my ant build file fails to deploy the war with error as "application alreay exists at context path". Hence, i kep my JDBC cont

HAPPY NEW YEAR

2005-12-30 Thread Nehal Sangoi
Wishing everyone in Tomcat Group, a very Happy and Prosperous New Year 2oo6. Regards, Nehal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

deploy fails

2005-12-20 Thread Nehal Sangoi
Hi, Below is the build.xml and build.properties files i am using for my app deployments. Tomcat 5.5.9 Using Tomcat Virtual Instance Platform - Solaris/Linux Manager Deployer used When i do execute the ant command (ant -f abc.xml), it gives me follwoing output. What could be the possible reason f

deploy failed

2005-12-19 Thread Nehal Sangoi
Hi, I am facing problem for deploying applications using manager-deployer with my ant build script. What happens is, when i add context details (releated to jdbc connections) in my application's server.xml, and try to deploy the application using build script, it gives me follwoing error. deploy

RE: Please respond to my query --- in need of help badly!!

2005-12-12 Thread Nehal Sangoi
n'? 2) On the surface, it would appear some of your webapp code is attempting to connect to another service, but doesn't have the privilege to do so. If tomcat is running with a security manager, check it's settings. --David Nehal Sangoi wrote: >Hi, > >I am facing problems

connection refused -- pls help asap

2005-12-11 Thread Nehal Sangoi
Hi, I am facing problems while opening lookups for another tomcat instance thru apache url of one tomcat instance. Here is, what i am doing -- Logon to apache url of one tomcat instance. click on lookup -- that points to another tomcat instace app No errors in apache logs... Errors in first

RE: enable log4j

2005-11-25 Thread Nehal Sangoi
h. If I find any thing, I will let you know. I hope above things help a bit. Regards, D --- Nehal Sangoi <[EMAIL PROTECTED]> wrote: > Hi Dhaval, > > I want to enable log4j in debug mode only for one of the tomcat instances > which is running using different user -- i.e.

RE: enable log4j

2005-11-22 Thread Nehal Sangoi
J2SE logging utility so that you can configure tomcat loggin in log4j. Regards, D --- Nehal Sangoi <[EMAIL PROTECTED]> wrote: > > Hi, > > I want to enable log4j logger in one of my tomcat instances. I copied > "log4j-1.2.12.jar" to my webapps - war file. > Th

enable log4j

2005-11-22 Thread Nehal Sangoi
Hi, I want to enable log4j logger in one of my tomcat instances. I copied "log4j-1.2.12.jar" to my webapps - war file. This means, under WEB-INF/lib, copied jar file and under WEB-INF/classes, copied log4j.properties. Later, re-sreated warfile and started my tomcat instance. log4j.properties :

enable log4j

2005-11-21 Thread Nehal Sangoi
Hi, I want to enable log4j logger in one of my tomcat instances. I copied "log4j-1.2.12.jar" to my webapps - war file. This means, under WEB-INF/lib, copied jar file and under WEB-INF/classes, copied log4j.properties. Later, re-sreated warfile and started my tomcat instance. log4j.properties :

RE: configure Tomcat/5.5.9 By ' set JAVA_OPTS=-Xmx256M '

2005-11-15 Thread Nehal Sangoi
In user's ".profile" -Original Message- From: NanFei Wang [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 15, 2005 6:45 AM To: users@tomcat.apache.org Subject: configure Tomcat/5.5.9 By ' set JAVA_OPTS=-Xmx256M ' Hi, In Tomcat 5.0, we can configure by ' set JAVA_OPTS=-Xmx256M ' at the

FW: Securing Manager Role

2005-11-08 Thread Nehal Sangoi
Hi, Please go thru below mailu will get the answer.. -Original Message- From: Nehal Sangoi [mailto:[EMAIL PROTECTED] Sent: Friday, October 28, 2005 9:15 AM To: 'Tomcat Users List' Subject: RE: Securing Manager Role Hi, I could do it successfully yesterday.

RE: ANT build + Read Password

2005-11-08 Thread Nehal Sangoi
Hi Mark, Your concern is correct. Even i was thinking the same. -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 12:39 AM To: Tomcat Users List Subject: Re: ANT build + Read Password Nehal Sangoi wrote: > Hi All, > > I want my

ANT build + Read Password

2005-11-06 Thread Nehal Sangoi
Hi All, I want my ANT Build script be reading manager-deployer's password (stored in "tomcat-users.xml") from mentioned file instead of i do supply clear text password while deployment. How can i configure this in ANT script? I am aware of the option of supplying password at the prompt in ANT. B

RE: JkMount

2005-11-03 Thread Nehal Sangoi
Hi All, I could successfully implement load-balancing in tomcat apache setup. I got idea from the foll. case. http://www.junlu.com/msg/189637.html Do exactly same, what he has tried explaining It has worked perfectly fine for me. Regds, Nehal -Original Message- From: Nehal

RE: JkMount

2005-11-02 Thread Nehal Sangoi
Hi workers.java_home=/usr/j2se ps=/ worker.list=test1,test2 ## TEST1 CONNECTOR worker.test1.port= worker.test1.host=xxx.xxx.xxx.xxx worker.test1.type=ajp13 worker.test1.lbfactor=1 ## TEST2 CONNECTOR worker.test2.port= worker.test2.host=xxx.xxx.xxx.xxx worker.test2.type=ajp13 worker.test2.

RE: JkMount

2005-10-31 Thread Nehal Sangoi
Hi, I tried as follows My workers.properties : workers.java_home=/usr/j2se ps=/ worker.list=test1,test2,test3,test4 ## TEST1 CONNECTOR worker.test1.port= worker.test1.host=xxx.xxx.xxx.xxx worker.test1.type=ajp13 ## TEST2 CONNECTOR worker.test2.port= worker.test2.host=xxx.xxx.xxx.xxx

JkMount

2005-10-31 Thread Nehal Sangoi
How can i "JkMount" same URI twice in httpd.conf with different worker specified? e.g. i want to mount /example/* twice using different worker name. JkMount /example/* worker1 JkMount /example/* worker2 But this is not working. How should i configure to achieve my motto? Regds, Nehal --

RE: Tomcat not starting

2005-10-31 Thread Nehal Sangoi
Hi, There was permission issues on common/lib jar files and they were not accessible by my other tomcat instances. I changed permissions and its working fine now. Thanks Nehal -Original Message- From: Nehal Sangoi [mailto:[EMAIL PROTECTED] Sent: Monday, October 31, 2005 2:48 PM To

RE: Tomcat not starting

2005-10-31 Thread Nehal Sangoi
lation (5.5.9) this class is in %catalina_home%\common\lib\naming-factory.jar so might be worth checking that you have that > -Original Message- > From: Nehal Sangoi [mailto:[EMAIL PROTECTED] > Sent: Monday 31 October 2005 06:03 > To: 'Tomcat Users List (E-mail)' >

RE: Tomcat not starting

2005-10-31 Thread Nehal Sangoi
31, 2005 1:58 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: RE: Tomcat not starting Nehal, You probably need to reinstall Tomcat. See comment at end of: <http://issues.apache.org/bugzilla/show_bug.cgi?id=32931> - Bob --- Nehal Sangoi <[EMAIL PROTECTED]> wrote: > Hi,

RE: Tomcat not starting

2005-10-30 Thread Nehal Sangoi
starting Nehal, Please supply versions of Java and Tomcat that you are using. - Bob --- Nehal Sangoi <[EMAIL PROTECTED]> wrote: > Infact, i am unable to start all tomcat instances > and result is follwoing > error > Pls help!! > > > Hi, > > I am unable to star

Tomcat not starting

2005-10-30 Thread Nehal Sangoi
Hi, I am unable to start one of my tomcat instances. But its getting crashed before it starts. Follwoing are the errors found. Oct 31, 2005 12:09:47 AM org.apache.tomcat.util.digester.Digester startElement SEVERE: Begin event threw error java.lang.NoClassDefFoundError: org/apache/naming/Transact

RE: jkstatus fails in Load Balanced Worker Configuration - BUG?

2005-10-28 Thread Nehal Sangoi
Hi, How have you configured Load-Balancing in Tomcat+Apache environment? I have multiple Tomcat Instances on my tomcat server and an Apache server with SiteMinder enabled for every url on tomcat instance. How do i configure load balancing in this environment with mod_jk connector at apache front?

RE: Clustering and Load Balancing in Tomcat 5.5.9

2005-10-28 Thread Nehal Sangoi
(stickysession and failover) search the mailing list for configs... Regards Peter Nehal Sangoi schrieb: >Hi, > >I need to configure clustering and load balancing in tomcat 5.5.9 - solaris >platform. Kindly, reply if anyone has the configuration details. I had tried >it earlier but it did

Clustering and Load Balancing in Tomcat 5.5.9

2005-10-28 Thread Nehal Sangoi
Hi, I need to configure clustering and load balancing in tomcat 5.5.9 - solaris platform. Kindly, reply if anyone has the configuration details. I had tried it earlier but it did not work. Also, my java code is not serialized. Still, can i have type of clustering, that allows url access continued

RE: Securing Manager Role

2005-10-27 Thread Nehal Sangoi
table, e.g. /opt/bin/java? or if you're under some unix environment like FreeBSD, you can just use 'md5' or 'sha1' provided by system: % sha1 -s 'passphrase here' it will produce the same result for you. On 10/27/05, Nehal Sangoi <[EMAIL PROTECTED]>

RE: Securing Manager Role

2005-10-27 Thread Nehal Sangoi
Hi, I modified my server.xml as follows. Also, downloaded "commons-logging-20051027.tar.gz" and untarred the same. Later i tried giving below command : $ java -classpath $CATALINA_HOME/server/lib/catalina.jar:/opt/commons-logging/commons-logging.jar org.apache.catalina.realm.RealmBase -a sh

HTTP Status 404 - Servlet ControlServlet is not available

2005-10-26 Thread Nehal Sangoi
How can i resolve this error? I added manager context in server.xml first. Then deployed webapp using ant script. again, modified server.xml by inserting context for jdbc conn. and all. Restarted tomcat and apache. But this is not working. --

RE: Securing Manager Role

2005-10-26 Thread Nehal Sangoi
o read the file with the key. Mark > -----Original Message- > From: Nehal Sangoi [mailto:[EMAIL PROTECTED] > Sent: Monday, October 24, 2005 10:05 AM > To: 'Tomcat Users List' > Subject: Securing Manager Role > > > Hi, > > How can i encrypt the manager us

RE: Do not want change into the warfile name

2005-10-24 Thread Nehal Sangoi
ort/example and it's context would be example, not clay. Am not sure why you want the war not be named with context name, as it's the expected behaviour of tomcat. Nehal Sangoi a écrit : >Hi All, > >I need to deploy only one warfile. e.g = "example.war" to multipl

Block HTTP Connector Port in server.xml and still use manager deployer for Tomcat Deployments

2005-10-24 Thread Nehal Sangoi
Hi All, I have a Tomcat Server (5.5.9) and an Apache webserver. These are physically two different machines. I want to do application deployments in Tomcat using Manager-Deploy Ant Build Script. But, does not want to use Tomcat's HTTP Connector Port found in server.xml. Basically, for some reaso

Do not want change into the warfile name

2005-10-24 Thread Nehal Sangoi
Hi All, I need to deploy only one warfile. e.g = "example.war" to multiple tomcat instances having different context names. Currently, i am using ant's build script with manager deployer. Hence, while deploying the warfile to multiple instances, in the "webapps" of every instance, the war file's

Securing Manager Role

2005-10-24 Thread Nehal Sangoi
Hi, How can i encrypt the manager user's password in tomcat-users.xml file? I need to keep manager-deployer thing be secured in my environment. Thanks & Regards, Nehal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Remote deployments in Tomcat 5.5.9

2005-10-22 Thread Nehal Sangoi
Hi, I am currently implementing Tomcat 5.5.9 on solaris10. I need to know the configuration details of manager deployer, that can be used to deploy webapps on remote tomcat hosts. I have written an ant build script. But that is doing only a deployment and onto local machine itself. Please guide

remote deployments

2005-10-21 Thread Nehal Sangoi
Hi, How can i configure manager deployer in tomcat 5.5.9 (os - solaris10) to conduct deployment on remote tomcat host? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Help me configuring manager deploy for remote host deployments in tomcat 5.5.9

2005-10-20 Thread Nehal Sangoi
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]