> From: sc [mailto:[EMAIL PROTECTED]
> Subject: Re: Context started twice
>
> This is my first time using nabble.com and surprised
> to see how prompt I can get response.
Nabble has nothing to do with it - it's merely a web-based GUI for
several mailing lists, includ
On 4/30/07, sc <[EMAIL PROTECTED]> wrote:
All my mistake. I apologize for my stupidity. It turns out it wasn't invoked
twice. It just prints twice. I had the following in log4j.properties.
log4j.rootLogger=ERROR, TRIP
log4j.logger.org.hibernate=WARN, TRIP
log4j.logger.net.sf.hibernate=INFO, TRI
All my mistake. I apologize for my stupidity. It turns out it wasn't invoked
twice. It just prints twice. I had the following in log4j.properties.
log4j.rootLogger=ERROR, TRIP
log4j.logger.org.hibernate=WARN, TRIP
log4j.logger.net.sf.hibernate=INFO, TRIP
log4j.logger.com.cutetrip=DEBUG, TRIP
I c
I tested your code, the init is called exactly once, when Tomcat starts.
Try one of these:
1) Change
log.info("TestServlet init");
log.info("TestServlet destroy");
to something else like
log.info("TestServlet init ## ");
log.info("TestServlet destroy ##")
On 4/30/07, sc <[EMAIL PROTECTED]> wrote:
As you suggested, I started from scratch. I downloaded tomcat 6 from
apache.org. changed $catalina_home to point to the new directory. Under
$catalina_home/webapps, I created a new folder, which only has one servlet
TestServlet
Do a global search on y
Can you post your dummyservlet Code ?
Thanks
Guru
-Original Message-
From: sc [mailto:[EMAIL PROTECTED]
Sent: 29 April 2007 06:21
To: users@tomcat.apache.org
Subject: Context started twice
There was a thread on this
"http://www.nabble.com/Context-starts-twice-t1351694.html";.
As you suggested, I started from scratch. I downloaded tomcat 6 from
apache.org. changed $catalina_home to point to the new directory. Under
$catalina_home/webapps, I created a new folder, which only has one servlet
TestServlet
public class TestServlet extends HttpServlet
{
private Log log =
> From: sc [mailto:[EMAIL PROTECTED]
> Subject: RE: Context started twice
>
> prefix="local_cutetrip." suffix=".log"
> timestamp="true"/>
Note the following from the 5.5 doc:
"An important consequence for Tomcat 5
Please ignore my previous post.
Sorry, when you mentioned context.xml I was thinking of the one
located under the project's META-INF folder.
Chuck is right, there's no need to move the contents of the
conf/context.xml file anywhere.
Whenever configuration gets messed up (happens very rarely), I
ote:
>
>> From: Rashmi Rubdi [mailto:[EMAIL PROTECTED]
>> Subject: Re: Context started twice
>>
>> Seems to me that the Context is defined in 2 places First:
>> > context.xml is empty except this line
>> > WEB-INF/web.xml
>>
>> I would suggest
> From: Rashmi Rubdi [mailto:[EMAIL PROTECTED]
> Subject: Re: Context started twice
>
> Seems to me that the Context is defined in 2 places First:
> > context.xml is empty except this line
> > WEB-INF/web.xml
>
> I would suggest moving
> WEB-INF/web.xml also
On 4/29/07, sc <[EMAIL PROTECTED]> wrote:
There was a thread on this
"http://www.nabble.com/Context-starts-twice-t1351694.html";. But my
configuration is a bit different.
this is my configuration:
server.xml doesn't have context definition.
Seems to me that the Context is defined in 2 places
in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy. Thank you.
- Original Message -
From: "sc" <[EMAIL PROTECTED]>
To:
Sent: Sunday, April 29, 2007 10:41 AM
Subject: Re: Context started twice
I remo
I removed /path. Still the same problem. The version I am using is 5.5.17 and
it is win xp.
Pid-2 wrote:
>
> sc wrote:
>> There was a thread on this
>> "http://www.nabble.com/Context-starts-twice-t1351694.html";. But my
>> configuration is a bit different.
>>
>> this is my configuration:
>>
sc wrote:
There was a thread on this
"http://www.nabble.com/Context-starts-twice-t1351694.html";. But my
configuration is a bit different.
this is my configuration:
server.xml doesn't have context definition.
context.xml is empty except this line
WEB-INF/web.xml
under $CATALINA_HOME/Catal
15 matches
Mail list logo