You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by David Wall <d....@computer.org> on 2004/02/03 17:10:40 UTC

Re: jsvc and -config? What about other JVM options?

How about passing the "-server" option to the JVM so that it uses the server
versus client VM?

How do you pass in security manager params like:

-Djava.security.manager -Djava.security.policy==$CATALINA_HOME/conf/catalina
.policy

The -server option is unknown.  The two -D options above are rejected
because neither has one '=' sign.

Thanks,
David


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Tomcat Loads Deleted Context?

Posted by Apu Shah <ap...@esaya.com>.
delete the context file (if present) from
$TOMCAT_HOME/conf/{ENGINE}/{HOST}/


On Wed, 4 Feb 2004 10:39:30 -0600 (CST)
Milt Epstein <me...@uiuc.edu> wrote:

> On Wed, 4 Feb 2004, Yansheng Lin wrote:
> 
> > Hi, I am having a weird problem.  It seems that Tomcat is trying to
> > deploy a deleted project.  The deleted project was outside of
> > ${tomcat_home}/ dir.  And I already I commented out the <context>
> > for that project.  I also deleted the work/ dir, but the problem
> > persists.  The generated /work/Catalina/localhost/deleted/ dir
> > doesn't have any class files except SESSIONS.ser and tldCache.ser. I
> > suspect tomcat is installing web applications based on some sort of
> > cache.
> 
> What do you mean by "commented out the <context> for that project"?
> Where/in what file did you do that?
> 
> 
> > Here is the console output when deploying tomcat:
> > Feb 4, 2004 8:14:19 AM org.apache.catalina.core.StandardHostDeployer
> > install INFO: Processing Context configuration file URL
> > file:C:\Web\ApacheGroup\Tomcat\conf\Catalina\localhost\deleted.xml
> 
> Does this file still exist?  If so, that could be your problem.  (That
> is the context configuration file for the deleted webapp.)
> 
> ("deleted" is the name of your webapp?  Or did you just fill that in
> as a placeholder?)
> 
> > log4j:WARN No appenders could be found for logger
> > (org.apache.commons.digester.Digester).
> > log4j:WARN Please initialize the log4j system properly.
> >
> > I was wondering if this is a bug?  I am using tomcat-5.0.18.
> >
> > Thanks!
> >
> >
> > -------------------------------------------------------------------
> > -- To unsubscribe, e-mail:
> > tomcat-user-unsubscribe@jakarta.apache.org For additional commands,
> > e-mail: tomcat-user-help@jakarta.apache.org
> >
> >
> 
> Milt Epstein
> Research Programmer
> Integration and Software Engineering (ISE)
> Campus Information Technologies and Educational Services (CITES)
> University of Illinois at Urbana-Champaign (UIUC)
> mepstein@uiuc.edu
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Tomcat Loads Deleted Context?

Posted by Milt Epstein <me...@uiuc.edu>.
On Wed, 4 Feb 2004, Yansheng Lin wrote:

> Hi, I am having a weird problem.  It seems that Tomcat is trying to
> deploy a deleted project.  The deleted project was outside of
> ${tomcat_home}/ dir.  And I already I commented out the <context>
> for that project.  I also deleted the work/ dir, but the problem
> persists.  The generated /work/Catalina/localhost/deleted/ dir
> doesn't have any class files except SESSIONS.ser and tldCache.ser. I
> suspect tomcat is installing web applications based on some sort of
> cache.

What do you mean by "commented out the <context> for that project"?
Where/in what file did you do that?


> Here is the console output when deploying tomcat:
> Feb 4, 2004 8:14:19 AM org.apache.catalina.core.StandardHostDeployer install
> INFO: Processing Context configuration file URL
> file:C:\Web\ApacheGroup\Tomcat\conf\Catalina\localhost\deleted.xml

Does this file still exist?  If so, that could be your problem.  (That
is the context configuration file for the deleted webapp.)

("deleted" is the name of your webapp?  Or did you just fill that in
as a placeholder?)

> log4j:WARN No appenders could be found for logger
> (org.apache.commons.digester.Digester).
> log4j:WARN Please initialize the log4j system properly.
>
> I was wondering if this is a bug?  I am using tomcat-5.0.18.
>
> Thanks!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>

Milt Epstein
Research Programmer
Integration and Software Engineering (ISE)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
mepstein@uiuc.edu

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Tomcat Loads Deleted Context?

Posted by Yansheng Lin <ya...@silvacom.com>.
Hi, I am having a weird problem.  It seems that Tomcat is trying to deploy a
deleted project.  The deleted project was outside of ${tomcat_home}/ dir.  And I
already I commented out the <context> for that project.  I also deleted the
work/ dir, but the problem persists.  The generated
/work/Catalina/localhost/deleted/ dir doesn't have any class files except
SESSIONS.ser and tldCache.ser. I suspect tomcat is installing web applications
based on some sort of cache.

Here is the console output when deploying tomcat:
Feb 4, 2004 8:14:19 AM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL
file:C:\Web\ApacheGroup\Tomcat\conf\Catalina\localhost\deleted.xml
log4j:WARN No appenders could be found for logger
(org.apache.commons.digester.Digester).
log4j:WARN Please initialize the log4j system properly.

I was wondering if this is a bug?  I am using tomcat-5.0.18.  

Thanks!


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: jsvc and -config? What about other JVM options?

Posted by Bill Barker <wb...@wilshire.com>.
Adding the '-server' option is probably a good idea.  The security manager
params issue is fixed in the CVS.

"David Wall" <d....@computer.org> wrote in message
news:03da01c3ea70$72ea72b0$3201a8c0@rasta...
> How about passing the "-server" option to the JVM so that it uses the
server
> versus client VM?
>
> How do you pass in security manager params like:
>
> -Djava.security.manager -Djava.security.policy==$CATALINA_HOME/conf/catali
na
> .policy
>
> The -server option is unknown.  The two -D options above are rejected
> because neither has one '=' sign.
>
> Thanks,
> David




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Making tomcat know index.jsp has changed...

Posted by Andrew Davidoff <da...@wayport.net>.
Hello All,

Here's another that I've researched but just can't figure out.

I want to change ROOT/index.jsp, however tomcat refuses to recognize 
that it has changed unless I move the file ROOT/WEB-INF/web.xml out of 
the way.  I have tried moving all files named *index_jsp* and even 
index.jsp itself totally out of the way, and somehow Tomcat still 
"remembers" what the old index looked like until I move web.xml out of 
the way.  I removed the .class and .java files and it didn't help...so 
I guess it's compiled away somewhere else?

Short and simple, if I make a change to index.jsp, how do I make Tomcat 
5.0.16 recognize it?  I have also tried using ?pre_compile and 
restarting tomcat numerous times.  Moving web.xml out of the way seems 
like it's the wrong thing to do since nothing new is being created in 
its place, but perhaps that's correct?

Thanks,
Andrew Davidoff


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org