Re: building tomcat 5.5 trunk

2010-09-11 Thread Wesley Acheson
On Sat, Sep 11, 2010 at 6:06 AM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
 From: Wesley Acheson [mailto:wesley.ache...@gmail.com]
 Subject: Re: building tomcat 5.5 trunk

 Reason I couldn't find the class in the 5.5 branch is a bit
 embarasing. I didn't set the classpath in eclipse and the
 find class shortcut doesn't see it.

 There's a reason I use grep...



Yeah though i've it checked out in windows, and I don't have cygwin installed.

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



Re: building tomcat 5.5 trunk

2010-09-11 Thread André Warnier

Wesley Acheson wrote:

On Sat, Sep 11, 2010 at 6:06 AM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:

From: Wesley Acheson [mailto:wesley.ache...@gmail.com]
Subject: Re: building tomcat 5.5 trunk
Reason I couldn't find the class in the 5.5 branch is a bit
embarasing. I didn't set the classpath in eclipse and the
find class shortcut doesn't see it.

There's a reason I use grep...




Yeah though i've it checked out in windows, and I don't have cygwin installed.


You may want to have a look here : http://unxutils.sourceforge.net/



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



Re: context.xml being deleted out of conf/Catalina/[HOST]/ directory

2010-09-11 Thread Wesley Acheson
On Fri, Sep 10, 2010 at 6:36 PM, Jason Britton jbritto...@gmail.com wrote:
 Could anyone give me an explanation what might cause my webapp's context
 configuration to be deleted out of the tomcat/conf/Catalina/[HOST]/
 directory?  I've got a foo.war file in the webapps directory, it gets
 exploded upon startup. It has its context definition residing in the file
 conf/Catalina/[HOST]/foo.xml.  Every now and then foo.xml just gets up and
 blown away from the tomcat/conf/Catalina/[HOST]/ directory, usually upon a
 tomcat shutdown and startup.  Any suggestions on what might be causing this
 deletion and how to prevent it from occurring would be greatly appreciated.
 Running tomcat 6.0.29 on 64-bit RHEL 5.5.  Thanks a lot for your help,

 Jason


Hi Jason,

If you remove the war file your assoiated context files will be
deleted. Do you think this may be related?

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



Re: context.xml being deleted out of conf/Catalina/[HOST]/ directory

2010-09-11 Thread Jason Britton
So even if my context still exists in exploded form in the webapps directory
and I remove the .war form of the context, it'll remove the associated
context.xml from the conf/Catalina/HOST/ directory?


On Sat, Sep 11, 2010 at 8:12 AM, Wesley Acheson wesley.ache...@gmail.comwrote:

 On Fri, Sep 10, 2010 at 6:36 PM, Jason Britton jbritto...@gmail.com
 wrote:
  Could anyone give me an explanation what might cause my webapp's context
  configuration to be deleted out of the tomcat/conf/Catalina/[HOST]/
  directory?  I've got a foo.war file in the webapps directory, it gets
  exploded upon startup. It has its context definition residing in the file
  conf/Catalina/[HOST]/foo.xml.  Every now and then foo.xml just gets up
 and
  blown away from the tomcat/conf/Catalina/[HOST]/ directory, usually upon
 a
  tomcat shutdown and startup.  Any suggestions on what might be causing
 this
  deletion and how to prevent it from occurring would be greatly
 appreciated.
  Running tomcat 6.0.29 on 64-bit RHEL 5.5.  Thanks a lot for your help,
 
  Jason
 

 Hi Jason,

 If you remove the war file your assoiated context files will be
 deleted. Do you think this may be related?

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




Re: context.xml being deleted out of conf/Catalina/[HOST]/ directory

2010-09-11 Thread Wesley Acheson
On Sat, Sep 11, 2010 at 5:20 PM, Jason Britton jbritto...@gmail.com wrote:
 So even if my context still exists in exploded form in the webapps directory
 and I remove the .war form of the context, it'll remove the associated
 context.xml from the conf/Catalina/HOST/ directory?


 On Sat, Sep 11, 2010 at 8:12 AM, Wesley Acheson 
 wesley.ache...@gmail.comwrote:

 On Fri, Sep 10, 2010 at 6:36 PM, Jason Britton jbritto...@gmail.com
 wrote:
  Could anyone give me an explanation what might cause my webapp's context
  configuration to be deleted out of the tomcat/conf/Catalina/[HOST]/
  directory?  I've got a foo.war file in the webapps directory, it gets
  exploded upon startup. It has its context definition residing in the file
  conf/Catalina/[HOST]/foo.xml.  Every now and then foo.xml just gets up
 and
  blown away from the tomcat/conf/Catalina/[HOST]/ directory, usually upon
 a
  tomcat shutdown and startup.  Any suggestions on what might be causing
 this
  deletion and how to prevent it from occurring would be greatly
 appreciated.
  Running tomcat 6.0.29 on 64-bit RHEL 5.5.  Thanks a lot for your help,
 
  Jason
 

 Hi Jason,

 If you remove the war file your assoiated context files will be
 deleted. Do you think this may be related?

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

Yes I believe so.

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



Want to get involved in Tomcat development?

2010-09-11 Thread Mark Thomas
https://issues.apache.org/bugzilla/show_bug.cgi?id=49914
could be a good place to start.

No idea if this is a bug or user error but from past experience my gut
instinct is that this will be an easy one to research (and patch if
necessary).

If you want any pointers, (or have any other questions about fixing this
issue) the dev list is the place to ask.

Mark

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



Re: context.xml being deleted out of conf/Catalina/[HOST]/ directory

2010-09-11 Thread Pid *
On 11 Sep 2010, at 17:24, Wesley Acheson wesley.ache...@gmail.com wrote:

 On Sat, Sep 11, 2010 at 5:20 PM, Jason Britton jbritto...@gmail.com wrote:
 So even if my context still exists in exploded form in the webapps directory
 and I remove the .war form of the context, it'll remove the associated
 context.xml from the conf/Catalina/HOST/ directory?


 On Sat, Sep 11, 2010 at 8:12 AM, Wesley Acheson 
 wesley.ache...@gmail.comwrote:

 On Fri, Sep 10, 2010 at 6:36 PM, Jason Britton jbritto...@gmail.com
 wrote:
 Could anyone give me an explanation what might cause my webapp's context
 configuration to be deleted out of the tomcat/conf/Catalina/[HOST]/
 directory?  I've got a foo.war file in the webapps directory, it gets
 exploded upon startup. It has its context definition residing in the file
 conf/Catalina/[HOST]/foo.xml.  Every now and then foo.xml just gets up
 and
 blown away from the tomcat/conf/Catalina/[HOST]/ directory, usually upon
 a
 tomcat shutdown and startup.  Any suggestions on what might be causing
 this
 deletion and how to prevent it from occurring would be greatly
 appreciated.
 Running tomcat 6.0.29 on 64-bit RHEL 5.5.  Thanks a lot for your help,

 Jason


 Hi Jason,

 If you remove the war file your assoiated context files will be
 deleted. Do you think this may be related?

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

 Yes I believe so.

Removing the war while Tomcat is running will trigger an undeploy. Is
this the situation or is it occurring during a stop start cycle?

A stop shouldn't necessarily cause undeployment, as opposed to app shutdown.


p



 -
 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: Is this common behavior in Apache Tomcat? (cPanel install of Tomcat 5.5)

2010-09-11 Thread Carlo del Mundo
 Hi all.

 I installed mod_jk (the Tomcat module) via easyApache (predefined script
 that installs Tomcat on my web server).  The install went on fine.  I added
 a servlet to a specific domain name, and then I proceeded with unzipping a
 WAR into the appBase folder.

 It detects the appBase folder fine (and added the WAR perfect).

 I can access my context application through
 http://mydomain.com:8080/mySoftware/

 However, I cannot access the application through
 http://mydomain.com/mySoftware/

 Is this common behavior since I am running Apache Http Server alongside the
 mod_jk (Tomcat) jsvc service?

 I just need verification because for some reason iptables likes to block
 out users who use port 8080.

 Info:
 OS: CentOS 5.5
 Apache Http Sever 2.2 with Apache Tomcat 5.5

 Thanks.

 Carlo



Re: Is this common behavior in Apache Tomcat? (cPanel install of Tomcat 5.5)

2010-09-11 Thread msacks
We need a bit more info to help. Post your mod_jk directives and output of
iptables -l and any other configuration directives you think might be
relevant.

On Sep 11, 2010 9:24 PM, Carlo del Mundo carlodelmu...@gmail.com wrote:
 Hi all.

 I installed mod_jk (the Tomcat module) via easyApache (predefined script
 that installs Tomcat on my web server). The install went on fine. I added
 a servlet to a specific domain name, and then I proceeded with unzipping
a
 WAR into the appBase folder.

 It detects the appBase folder fine (and added the WAR perfect).

 I can access my context application through
 http://mydomain.com:8080/mySoftware/

 However, I cannot access the application through
 http://mydomain.com/mySoftware/

 Is this common behavior since I am running Apache Http Server alongside
the
 mod_jk (Tomcat) jsvc service?

 I just need verification because for some reason iptables likes to block
 out users who use port 8080.

 Info:
 OS: CentOS 5.5
 Apache Http Sever 2.2 with Apache Tomcat 5.5

 Thanks.

 Carlo



Re: Is this common behavior in Apache Tomcat? (cPanel install of Tomcat 5.5)

2010-09-11 Thread Carlo del Mundo
I realized the problem indirectly as I wrote this e-mail; thanks for your
quick response also.

I went to my httpd.conf for Apache, found the VirtualHost entry to my
Servlet, to find that my application was not automagically listed under
JkMount.

I manually added it, and voila it works.

Can you answer me this however... for every WAR I want to install, I must
manually add it to the httpd.conf virtual hosts entry? The automatic
deployment script in Tomcat can't do it for me?

Thanks.

Carlo

On Sun, Sep 12, 2010 at 12:31 AM, msacks ntw...@gmail.com wrote:

 We need a bit more info to help. Post your mod_jk directives and output of
 iptables -l and any other configuration directives you think might be
 relevant.

 On Sep 11, 2010 9:24 PM, Carlo del Mundo carlodelmu...@gmail.com
 wrote:
  Hi all.
 
  I installed mod_jk (the Tomcat module) via easyApache (predefined script
  that installs Tomcat on my web server). The install went on fine. I
 added
  a servlet to a specific domain name, and then I proceeded with unzipping
 a
  WAR into the appBase folder.
 
  It detects the appBase folder fine (and added the WAR perfect).
 
  I can access my context application through
  http://mydomain.com:8080/mySoftware/
 
  However, I cannot access the application through
  http://mydomain.com/mySoftware/
 
  Is this common behavior since I am running Apache Http Server alongside
 the
  mod_jk (Tomcat) jsvc service?
 
  I just need verification because for some reason iptables likes to block
  out users who use port 8080.
 
  Info:
  OS: CentOS 5.5
  Apache Http Sever 2.2 with Apache Tomcat 5.5
 
  Thanks.
 
  Carlo