Hector I. Londoño/MDE/PBCO/CO está ausente de la oficina.

2004-02-05 Thread Hector_I_Londono
Estaré ausente de la oficina desde el  28/01/2004 y no volveré hasta el
09/02/2004.

Responderé a su mensaje cuando regrese de vacaciones.
La presente información se envía únicamente para el destinatario, es de
carácter CONFIDENCIAL y PRIVADO y es propiedad de Coca-Cola Femsa sus
afiliadas, subsidiarias, y/o asociadas. Está PROHIBIDA la modificación,
retransmisión, difusión, copia u otro uso de esta información por cualquier
medio, por personas distintas al destinatario, o para otro fin que no esté
dentro de los términos previamente aceptados. Si usted ha recibido este
mensaje por error, favor de contactar al remitente y borrar el mensaje y
sus anexos, en su caso.

This e-mail and any files transmitted with it are private and confidential
property of Coca-Cola FEMSA its subsidiaries or affiliates,and are intended
solely for the use of the individual or entity to whom they are addressed.
The modification, forwarding, dissemination, copying or any other use
ofthis e-mail by any person, other than the intended recipient,by any means
that have not been previously accepted,is prohibited. If you have received
this e-mail in error,please immediately notify the sender and delete it
andany attached  files from all computers.



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



Re: What's the most stable version now?

2004-02-05 Thread Bill Barker
"Dmitriy ." <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi, does anyone know what the most stable version is now? We've got 4.1.29
> and it doesn't seem to be very stable and I think there was a report that
it
> has memory leaks. Do you know what version is the most stable?
>
3.3.2-dev ;-).

> Thanks.
>
> _
> Tired of slow downloads? Compare online deals from your local high-speed
> providers now.  https://broadband.msn.com




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



Re: Administering and monitoring under TC 5

2004-02-05 Thread Bill Barker

"Aadi Deshpande" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Hello all,
>
> There's much talk about how TC5 is JMX-enabled, so I'm wondering what
> tools are available for monitoring and administering a TC5 server.
>
> I've checked out the manager application and it provides some basic
> information ( such as sessions ), but I was wondering what people's
> experiences were with more detailed tools ( if any exist ).
>
> Particularly, I'm looking for monitoring software that will let me view
> the number of sessions, and how active my JNDI datasource are ( how many
> connections in the pool, how many active, etc.. ).
>
> The manager app gives you the ability to get the number of sessions,
> but  Datasources must be listed in the globalresources section,  and to
> date, I haven't figured out how to describe a Resource/ResourceParams
> in the GlobalNamingResources section and still utilize it in my context
> ( I've had to  list it under the Context that I wish to utilize it for
> ).  If anyone has any hints in this department, that would be very
helpful.
>
> Finally, I'd like to know if it's possible to set up TC5 to be a
> JMX-enabled "server" in such a fashion that you can access it remotely
> using some tool like MC4J, and if so where  I can find some
> documentation wrt. setting this up.
>

If you enable the AJP/1.3 Connector (even if you are not using
Apache/IIS/SunOne), then if you set in jk2.properties:
  mx.jrmpPort=
and/or
  mx.httpPort=

(where  is an actual port number :), and replace the MXRI jars with
the MX4J jars, then you can use the MX4J Adaptors to remotely configure
Tomcat.

>
> Again, thanks for any input you may have.
>
>
> -aadi




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



Tomcat, Oracle and connection caching.

2004-02-05 Thread David Short
Does anyone have Tomcat 4.1.x running with connection caching using the
Oracle oci8 driver?  I can get it to work using the thin driver but it won't
work with the oci8 driver.  The oci8 driver works just fine with the test
program provided by Oracle, so my configuration is right.  There's something
about the OracleConnectionCacheImpl class that the oci8 driver doesn't like.

Here's the error: java.sql.SQLException: No suitable driver

Any help would be greatly appreciated.




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



Re: tomcat.conf missing

2004-02-05 Thread Bill Barker
You can use the commons-daemon jsvc (that ships with TC 5.x).

"hostmaster" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I just installed Tomcat 4.1.29
>
> The problem I got is: Tomcat is running under root.
>
> I'd like to change this to tomcat4
>
> But there is no longer a tomcat.conf file available
> where I can change this setting.
>
> The question I got is:
>
> where can I enable tomcat4 instead of root to
> run Tomcat ?
>
> TOMCAT_USER="tomcat4"




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



RE: JNDI datasource lost on redeploy

2004-02-05 Thread Hernani Mourao
thanks anyway: it did help me for changing the focus into another possible
reason: now I have the META-INF in uppercase. I just changed a setting in
winzip and it went ok.

But my problem steel remains. The context.xml simply does not execute.
Hernani


-Original Message-
From: todd runstein [mailto:[EMAIL PROTECTED]
Sent: sexta-feira, 6 de Fevereiro de 2004 0:50
To: Tomcat Users List
Subject: RE: JNDI datasource lost on redeploy


Don't know if this is the reason, but this is from the
ant manuals war task entry:

We regulary receive bug reports that this task is
creating the WEB-INF directory, and thus it is our
fault your webapp doesn't work. The cause of these
complaints lies in WinZip, which turns an all
upper-case directory into an all lower case one in a
fit of helpfulness. Please check that jar xvf
yourwebapp.war shows the same behaviour before filing
another report.


--- Hernani_Mourao <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> I have the same problem . . . .
> But by no means I manage to get the context.xml file
> processed: some
> parameters donnot make any change when I check in
> Admin.
>
> I am using W2K and Ant makes meta-inf in lower case.
> Would that be the
> problem? I already did every test and nothing seems
> to work. I have already
> set "unpackWARs" to "false" which improved the way
> the app is loaded.
>
> Any help will be very much appreciated.
> Thanks,
> Hernani
>
> -Original Message-
> From: Burgess, Jay S [mailto:[EMAIL PROTECTED]
> Sent: quinta-feira, 5 de Fevereiro de 2004 23:48
> To: Tomcat Users List
> Subject: RE: JNDI datasource lost on redeploy
>
>
> Having just gone through this headache last week, I
> can provide a
> solution that works for me (for TC5 only!).
>
> First, create a file called context.xml and put it
> in a directory called
> "META-INF" at the same level in your source
> hierarchy as WEB-INF.
> context.xml should contain your  and
>  definitions,
> something like:
>
>  override="true"
> cachingAllowed="true" useNaming="true"
> reloadable="false" debug="0">
>
>  type="javax.sql.DataSource" />
> 
>
> ...
>
> Second, make sure your web.xml file contains the
> necessary
>  details:
>
> 
> jdbc/protodb
> javax.sql.DataSource
> Container
> 
>
> Third, use the Tomcat Ant tasks to undeploy/deploy
> your WAR to the
> appbase directory:
>
>   username="${manager.username}"
> password="${manager.password}" />
>
>  username="${manager.username}"
>  password="${manager.password}" path="/${app.name}"
>  war="file:///${dist.home}/${app.name}.war" />
>
> Note that I also have "unpackWARs" set to "false" in
> server.xml, so that
> the WAR is left intact.
>
> I noticed that when using this setup, Tomcat pulls
> context.xml out of
> the WAR, renames it .war, and puts it into
> the
> "%CATALINA_HOME%/conf/Catalina/localhost" directory.
>  I just it alone,
> as it goes away on undeploy.
>
> Let me know if this doesn't work for you.
>
> Jay
>
> -Original Message-
> From: todd runstein [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 05, 2004 4:51 PM
> To: [EMAIL PROTECTED]
> Subject: JNDI datasource lost on redeploy
>
> I've set up a JNDI datasource on my test server that
> works just fine (Tomcat=5.0.18, JDK=1.4.1, RedHat=8,
> M$_SQL=2000).  However, each time I recompile and
> redeploy the application, I lose my connection pool,
> recieving the "Cannot create JDBC driver of class ''
> for connect URL 'null'" error.  I have to restart
> Tomcat to get it working again.
>
> This sort of makes sense, since I'm defining the
> Resource within a Context in server.xml.  It seems
> that I either need to make the resource globally
> available to every web app, or move the resource
> definition to within my web app.  Unfortunately, I
> don't know what to move or where to move it or what
> options might work.  Any advice or suggestions?
>
> I'm including all the code used to get the
> connection
> as it stands now.  Again, this currently works up
> until I try to redeploy the web app.
>
> My driver jars (there are 3 for MS SQL) are in
> $CATALINA_HOME/common/lib
>
> server.xml:
>docBase="mfgreports" debug="5">
>name="datasource.testtrk.circuits"
> auth="Container"
> type="javax.sql.DataSource" />
>name="datasource.testtrk.circuits">
> 
> factory
>
>
org.apache.commons.dbcp.BasicDataSourceFactory
> 
> .
> 
> driverClassName
>
>
com.microsoft.jdbc.sqlserver.SQLServerDriver
> 
> 
> url
>
>
jdbc:microsoft:sqlserver://testtrk:1433;databasename=Circuits lue>
> 
>
>   
>   
>
>
> web.xml:
>   
>
>
datasource.testtrk.circuits
>   javax.sql.DataSource
>   Container
>   
>
>
> Code used to get connection:
> public class JNDIConnection {
>
>   

RE: JNDI datasource lost on redeploy

2004-02-05 Thread todd runstein
Don't know if this is the reason, but this is from the
ant manuals war task entry:

We regulary receive bug reports that this task is
creating the WEB-INF directory, and thus it is our
fault your webapp doesn't work. The cause of these
complaints lies in WinZip, which turns an all
upper-case directory into an all lower case one in a
fit of helpfulness. Please check that jar xvf
yourwebapp.war shows the same behaviour before filing
another report.


--- Hernani_Mourao <[EMAIL PROTECTED]> wrote:
> Hi there,
> 
> I have the same problem . . . .
> But by no means I manage to get the context.xml file
> processed: some
> parameters donnot make any change when I check in
> Admin.
> 
> I am using W2K and Ant makes meta-inf in lower case.
> Would that be the
> problem? I already did every test and nothing seems
> to work. I have already
> set "unpackWARs" to "false" which improved the way
> the app is loaded.
> 
> Any help will be very much appreciated.
> Thanks,
> Hernani
> 
> -Original Message-
> From: Burgess, Jay S [mailto:[EMAIL PROTECTED]
> Sent: quinta-feira, 5 de Fevereiro de 2004 23:48
> To: Tomcat Users List
> Subject: RE: JNDI datasource lost on redeploy
> 
> 
> Having just gone through this headache last week, I
> can provide a
> solution that works for me (for TC5 only!).
> 
> First, create a file called context.xml and put it
> in a directory called
> "META-INF" at the same level in your source
> hierarchy as WEB-INF.
> context.xml should contain your  and
>  definitions,
> something like:
> 
>  override="true"
> cachingAllowed="true" useNaming="true"
> reloadable="false" debug="0">
> 
>  type="javax.sql.DataSource" />
> 
> 
> ...
> 
> Second, make sure your web.xml file contains the
> necessary
>  details:
> 
> 
> jdbc/protodb
> javax.sql.DataSource
> Container
> 
> 
> Third, use the Tomcat Ant tasks to undeploy/deploy
> your WAR to the
> appbase directory:
> 
>   username="${manager.username}"
> password="${manager.password}" />
> 
>  username="${manager.username}"
>  password="${manager.password}" path="/${app.name}"
>  war="file:///${dist.home}/${app.name}.war" />
> 
> Note that I also have "unpackWARs" set to "false" in
> server.xml, so that
> the WAR is left intact.
> 
> I noticed that when using this setup, Tomcat pulls
> context.xml out of
> the WAR, renames it .war, and puts it into
> the
> "%CATALINA_HOME%/conf/Catalina/localhost" directory.
>  I just it alone,
> as it goes away on undeploy.
> 
> Let me know if this doesn't work for you.
> 
> Jay
> 
> -Original Message-
> From: todd runstein [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 05, 2004 4:51 PM
> To: [EMAIL PROTECTED]
> Subject: JNDI datasource lost on redeploy
> 
> I've set up a JNDI datasource on my test server that
> works just fine (Tomcat=5.0.18, JDK=1.4.1, RedHat=8,
> M$_SQL=2000).  However, each time I recompile and
> redeploy the application, I lose my connection pool,
> recieving the "Cannot create JDBC driver of class ''
> for connect URL 'null'" error.  I have to restart
> Tomcat to get it working again.
> 
> This sort of makes sense, since I'm defining the
> Resource within a Context in server.xml.  It seems
> that I either need to make the resource globally
> available to every web app, or move the resource
> definition to within my web app.  Unfortunately, I
> don't know what to move or where to move it or what
> options might work.  Any advice or suggestions?
> 
> I'm including all the code used to get the
> connection
> as it stands now.  Again, this currently works up
> until I try to redeploy the web app.
> 
> My driver jars (there are 3 for MS SQL) are in
> $CATALINA_HOME/common/lib
> 
> server.xml:
>docBase="mfgreports" debug="5">
>name="datasource.testtrk.circuits"
> auth="Container"
> type="javax.sql.DataSource" />
>name="datasource.testtrk.circuits">
> 
> factory
> 
>
org.apache.commons.dbcp.BasicDataSourceFactory
> 
> .
> 
> driverClassName
> 
>
com.microsoft.jdbc.sqlserver.SQLServerDriver
> 
> 
> url
> 
>
jdbc:microsoft:sqlserver://testtrk:1433;databasename=Circuits lue>
> 
> 
>   
>   
> 
> 
> web.xml:
>   
> 
>
datasource.testtrk.circuits
>   javax.sql.DataSource
>   Container
>   
> 
> 
> Code used to get connection:
> public class JNDIConnection {
> 
>   public static Connection getConnection(String
> datasource)
>   throws NamingException, SQLException{
>   Context ctx = new InitialContext();
> //This syntax is a bit different than the docs show,
> but it appears to be working
>   DataSource ds =
> (DataSource)ctx.lookup("java:comp/env/"+datasource);
>   return ds.getConnection();
>  

RE: JNDI datasource lost on redeploy

2004-02-05 Thread Hernani Mourao
Hi there,

I have the same problem . . . .
But by no means I manage to get the context.xml file processed: some
parameters donnot make any change when I check in Admin.

I am using W2K and Ant makes meta-inf in lower case. Would that be the
problem? I already did every test and nothing seems to work. I have already
set "unpackWARs" to "false" which improved the way the app is loaded.

Any help will be very much appreciated.
Thanks,
Hernani

-Original Message-
From: Burgess, Jay S [mailto:[EMAIL PROTECTED]
Sent: quinta-feira, 5 de Fevereiro de 2004 23:48
To: Tomcat Users List
Subject: RE: JNDI datasource lost on redeploy


Having just gone through this headache last week, I can provide a
solution that works for me (for TC5 only!).

First, create a file called context.xml and put it in a directory called
"META-INF" at the same level in your source hierarchy as WEB-INF.
context.xml should contain your  and  definitions,
something like:






...

Second, make sure your web.xml file contains the necessary
 details:


jdbc/protodb
javax.sql.DataSource
Container


Third, use the Tomcat Ant tasks to undeploy/deploy your WAR to the
appbase directory:





Note that I also have "unpackWARs" set to "false" in server.xml, so that
the WAR is left intact.

I noticed that when using this setup, Tomcat pulls context.xml out of
the WAR, renames it .war, and puts it into the
"%CATALINA_HOME%/conf/Catalina/localhost" directory.  I just it alone,
as it goes away on undeploy.

Let me know if this doesn't work for you.

Jay

-Original Message-
From: todd runstein [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 05, 2004 4:51 PM
To: [EMAIL PROTECTED]
Subject: JNDI datasource lost on redeploy

I've set up a JNDI datasource on my test server that
works just fine (Tomcat=5.0.18, JDK=1.4.1, RedHat=8,
M$_SQL=2000).  However, each time I recompile and
redeploy the application, I lose my connection pool,
recieving the "Cannot create JDBC driver of class ''
for connect URL 'null'" error.  I have to restart
Tomcat to get it working again.

This sort of makes sense, since I'm defining the
Resource within a Context in server.xml.  It seems
that I either need to make the resource globally
available to every web app, or move the resource
definition to within my web app.  Unfortunately, I
don't know what to move or where to move it or what
options might work.  Any advice or suggestions?

I'm including all the code used to get the connection
as it stands now.  Again, this currently works up
until I try to redeploy the web app.

My driver jars (there are 3 for MS SQL) are in
$CATALINA_HOME/common/lib

server.xml:
  
  
  

factory

org.apache.commons.dbcp.BasicDataSourceFactory

.

driverClassName

com.microsoft.jdbc.sqlserver.SQLServerDriver


url

jdbc:microsoft:sqlserver://testtrk:1433;databasename=Circuits


  
  


web.xml:


datasource.testtrk.circuits
javax.sql.DataSource
Container



Code used to get connection:
public class JNDIConnection {

public static Connection getConnection(String
datasource)
throws NamingException, SQLException{
Context ctx = new InitialContext();
//This syntax is a bit different than the docs show,
but it appears to be working
DataSource ds =
(DataSource)ctx.lookup("java:comp/env/"+datasource);
return ds.getConnection();
}
}

Thanks again!

=
The only "dumb question" is the one you were too afraid to ask.


Check out RouteRuler - Free software for runners, cyclists, walkers,
etc.
http://routeruler.sourceforge.net


__
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html

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



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


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



Re: JNDI datasource lost on redeploy

2004-02-05 Thread Josh Rehman
That's a really nice write up, Jay. Would it be convenient for you to 
post a simple project that does this with a build file? Sounds like 
something that could make it into the FAQ. If that's too much trouble I 
can produce a project zip perhaps.

Burgess, Jay S wrote:
Having just gone through this headache last week, I can provide a
solution that works for me (for TC5 only!).
First, create a file called context.xml and put it in a directory called
"META-INF" at the same level in your source hierarchy as WEB-INF.
context.xml should contain your  and  definitions,
something like:

cachingAllowed="true" useNaming="true" reloadable="false" debug="0">




...

Second, make sure your web.xml file contains the necessary
 details:

jdbc/protodb
javax.sql.DataSource
Container

Third, use the Tomcat Ant tasks to undeploy/deploy your WAR to the
appbase directory:


Note that I also have "unpackWARs" set to "false" in server.xml, so that
the WAR is left intact.  

I noticed that when using this setup, Tomcat pulls context.xml out of
the WAR, renames it .war, and puts it into the
"%CATALINA_HOME%/conf/Catalina/localhost" directory.  I just it alone,
as it goes away on undeploy.
Let me know if this doesn't work for you.

Jay

-Original Message-
From: todd runstein [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 05, 2004 4:51 PM
To: [EMAIL PROTECTED]
Subject: JNDI datasource lost on redeploy

I've set up a JNDI datasource on my test server that
works just fine (Tomcat=5.0.18, JDK=1.4.1, RedHat=8,
M$_SQL=2000).  However, each time I recompile and
redeploy the application, I lose my connection pool,
recieving the "Cannot create JDBC driver of class ''
for connect URL 'null'" error.  I have to restart
Tomcat to get it working again.
This sort of makes sense, since I'm defining the
Resource within a Context in server.xml.  It seems
that I either need to make the resource globally
available to every web app, or move the resource
definition to within my web app.  Unfortunately, I
don't know what to move or where to move it or what
options might work.  Any advice or suggestions?
I'm including all the code used to get the connection
as it stands now.  Again, this currently works up
until I try to redeploy the web app.
My driver jars (there are 3 for MS SQL) are in
$CATALINA_HOME/common/lib
server.xml:
  
docBase="mfgreports" debug="5">
  
name="datasource.testtrk.circuits"
auth="Container"
type="javax.sql.DataSource" />
  
name="datasource.testtrk.circuits">

factory
   
org.apache.commons.dbcp.BasicDataSourceFactory

.

driverClassName
   
com.microsoft.jdbc.sqlserver.SQLServerDriver


url
   
jdbc:microsoft:sqlserver://testtrk:1433;databasename=Circuits
lue>


  
  
web.xml:


datasource.testtrk.circuits
javax.sql.DataSource
Container

Code used to get connection:
public class JNDIConnection {
	public static Connection getConnection(String
datasource) 
		throws NamingException, SQLException{
			Context ctx = new InitialContext();
//This syntax is a bit different than the docs show,
but it appears to be working
			DataSource ds =
(DataSource)ctx.lookup("java:comp/env/"+datasource); 
			return ds.getConnection();
	}
}

Thanks again!

=
The only "dumb question" is the one you were too afraid to ask.

Check out RouteRuler - Free software for runners, cyclists, walkers,
etc.
http://routeruler.sourceforge.net

__
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Josh Rehman
citysearch.com
213.739.3559
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: JNDI datasource lost on redeploy

2004-02-05 Thread Burgess, Jay S
Having just gone through this headache last week, I can provide a
solution that works for me (for TC5 only!).

First, create a file called context.xml and put it in a directory called
"META-INF" at the same level in your source hierarchy as WEB-INF.
context.xml should contain your  and  definitions,
something like:






...

Second, make sure your web.xml file contains the necessary
 details:


jdbc/protodb
javax.sql.DataSource
Container


Third, use the Tomcat Ant tasks to undeploy/deploy your WAR to the
appbase directory:





Note that I also have "unpackWARs" set to "false" in server.xml, so that
the WAR is left intact.  

I noticed that when using this setup, Tomcat pulls context.xml out of
the WAR, renames it .war, and puts it into the
"%CATALINA_HOME%/conf/Catalina/localhost" directory.  I just it alone,
as it goes away on undeploy.

Let me know if this doesn't work for you.

Jay

-Original Message-
From: todd runstein [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 05, 2004 4:51 PM
To: [EMAIL PROTECTED]
Subject: JNDI datasource lost on redeploy

I've set up a JNDI datasource on my test server that
works just fine (Tomcat=5.0.18, JDK=1.4.1, RedHat=8,
M$_SQL=2000).  However, each time I recompile and
redeploy the application, I lose my connection pool,
recieving the "Cannot create JDBC driver of class ''
for connect URL 'null'" error.  I have to restart
Tomcat to get it working again.

This sort of makes sense, since I'm defining the
Resource within a Context in server.xml.  It seems
that I either need to make the resource globally
available to every web app, or move the resource
definition to within my web app.  Unfortunately, I
don't know what to move or where to move it or what
options might work.  Any advice or suggestions?

I'm including all the code used to get the connection
as it stands now.  Again, this currently works up
until I try to redeploy the web app.

My driver jars (there are 3 for MS SQL) are in
$CATALINA_HOME/common/lib

server.xml:
  
  
  

factory
   
org.apache.commons.dbcp.BasicDataSourceFactory

.

driverClassName
   
com.microsoft.jdbc.sqlserver.SQLServerDriver


url
   
jdbc:microsoft:sqlserver://testtrk:1433;databasename=Circuits


  
  


web.xml:
  

datasource.testtrk.circuits
javax.sql.DataSource
Container



Code used to get connection:
public class JNDIConnection {

public static Connection getConnection(String
datasource) 
throws NamingException, SQLException{
Context ctx = new InitialContext();
//This syntax is a bit different than the docs show,
but it appears to be working
DataSource ds =
(DataSource)ctx.lookup("java:comp/env/"+datasource); 
return ds.getConnection();
}
}

Thanks again!

=
The only "dumb question" is the one you were too afraid to ask.


Check out RouteRuler - Free software for runners, cyclists, walkers,
etc.
http://routeruler.sourceforge.net


__
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html

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



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



Re: JNDI datasource lost on redeploy - solved

2004-02-05 Thread todd runstein
Got it!  

The reference to conf/Catalina/localhost helped me
search the archives to find a message from Derek Mahar
on 12/15/03 named "JNDI Issue with
GlobalNamingResources & DefaultContext Solved".  In
it, Derek suggests placing the context file in
META-INF/context.xml.  So I pulled out the 
node from server.xml, pasted that in a new file named
context.xml, had ant put that file in META-INF while
building the war file and viola - success!  

Thanks Josh and Derek!


--- Josh Rehman <[EMAIL PROTECTED]> wrote:
> Can't solve your problem, but two things:first, try
> posting a war that 
> reproduces the bug. In this case it might be an ant
> script that 
> undeploys and redeploys a trivial war. Second, it
> has recently come to 
> light that you aren't supposed to mess with
> server.xml Contexts anymore 
> with TC5. You should modify the context xml fragment
> in 
> conf/Catalina/localhost/ (or something like that).
> The fragment will be 
> named after the context.
> 
> todd runstein wrote:
> > problems..
> 
> -- 
> Josh Rehman
> citysearch.com
> 213.739.3559
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 

=
The only "dumb question" is the one you were too afraid to ask.


Check out RouteRuler - Free software for runners, cyclists, walkers, etc.
http://routeruler.sourceforge.net


__
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html

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



Re: JNDI datasource lost on redeploy

2004-02-05 Thread Josh Rehman
Can't solve your problem, but two things:first, try posting a war that 
reproduces the bug. In this case it might be an ant script that 
undeploys and redeploys a trivial war. Second, it has recently come to 
light that you aren't supposed to mess with server.xml Contexts anymore 
with TC5. You should modify the context xml fragment in 
conf/Catalina/localhost/ (or something like that). The fragment will be 
named after the context.

todd runstein wrote:
problems..
--
Josh Rehman
citysearch.com
213.739.3559
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


JNDI datasource lost on redeploy

2004-02-05 Thread todd runstein
I've set up a JNDI datasource on my test server that
works just fine (Tomcat=5.0.18, JDK=1.4.1, RedHat=8,
M$_SQL=2000).  However, each time I recompile and
redeploy the application, I lose my connection pool,
recieving the "Cannot create JDBC driver of class ''
for connect URL 'null'" error.  I have to restart
Tomcat to get it working again.

This sort of makes sense, since I'm defining the
Resource within a Context in server.xml.  It seems
that I either need to make the resource globally
available to every web app, or move the resource
definition to within my web app.  Unfortunately, I
don't know what to move or where to move it or what
options might work.  Any advice or suggestions?

I'm including all the code used to get the connection
as it stands now.  Again, this currently works up
until I try to redeploy the web app.

My driver jars (there are 3 for MS SQL) are in
$CATALINA_HOME/common/lib

server.xml:
  
  
  

factory
   
org.apache.commons.dbcp.BasicDataSourceFactory

.

driverClassName
   
com.microsoft.jdbc.sqlserver.SQLServerDriver


url
   
jdbc:microsoft:sqlserver://testtrk:1433;databasename=Circuits


  
  


web.xml:
  

datasource.testtrk.circuits
javax.sql.DataSource
Container



Code used to get connection:
public class JNDIConnection {

public static Connection getConnection(String
datasource) 
throws NamingException, SQLException{
Context ctx = new InitialContext();
//This syntax is a bit different than the docs show,
but it appears to be working
DataSource ds =
(DataSource)ctx.lookup("java:comp/env/"+datasource); 
return ds.getConnection();
}
}

Thanks again!

=
The only "dumb question" is the one you were too afraid to ask.


Check out RouteRuler - Free software for runners, cyclists, walkers, etc.
http://routeruler.sourceforge.net


__
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html

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



Re: Back to the "nonsecure items" thread

2004-02-05 Thread Wendy Smoak

For the archives, so that in six months when I forget what happened, I
can find it again.

The "fix" to keep IE from complaining about "nonsecure items" when
requesting non-html over https after a POST, seems to be to send it some
HTML.

If you POST a form over https, and then try to response.sendRedirect()
to a Servlet that sends, for example, a PDF over https, IE will
complain.

But if you instead POST the form, then forward to some HTML that does
nothing but redirect with a  tag, to the exact same Servlet, IE is
happy.  Go figure.

-- 
Wendy Smoak
Application Systems Analyst, Sr.
ASU IA Information Resources Management 



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



Re: SSO

2004-02-05 Thread Jeanfrancois Arcand


rlipi wrote:

Hi,
I found that it is possible to set Single Sign On for all web
aplications running in some "Host". 

I do that according to this topic:
http://www.ingrid.org/jajakarta/tomcat/tomcat-4.0b5/src/catalina/docs/si
nglesignon.html#Security. And it also works on Tomcat 5.
I welcome this feature. Nevertheless, by this way, it authenticates user
to the ALL web applications. But I have a few of them where I need
special authentication (for example manager or admin web application). 

Is it possible to configure Tomcat server:
1) to use SSO authentication for nearly all web aplication
2) to use specific authentication (Realm) for a few particular web
aplications?
 

Not with the current version since we don't support the notion of 
group/realm. But a patch will be welcome. I don't have any free time 
right now, but that will be nice to implement such feature in Tomcat 5.

-- Jeanfrancois




Thank You,
Radek.




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



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


Problem adding access log valve.

2004-02-05 Thread Mufaddal Khumri
Hi

I have the following in my server.xml

  
  


 directory="logs/acesslogs"
 pattern="%a %A %b %B %h %H %l %m %p %q %r %s %S %t %u 
%U %v"
 prefix="access_log." suffix=".txt"
	timestamp="true"/>


  

I added the AccessLogValve above and now Tomcat does not start? What 
did I do wrong?

Tomcat works fine if I remove the accessvalvelog i added above.

Thanks.

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


Errors not going to

2004-02-05 Thread Wendy Smoak

I'm getting an Status 500 page with this:
ExceptionConverter: java.io.IOException: The document has no pages.

Even though I have this in web.xml:
   
  java.io.IOException
  /WEB-INF/jsp/exceptions/Exception.jsp
   

What did I miss?

-- 
Wendy Smoak
Application Systems Analyst, Sr.
ASU IA Information Resources Management 

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



Re: apache-tomcat ssl doc download error in IE

2004-02-05 Thread Daniel

Hi,

I actually just got this working and the answer is unbelievably bizarre.

It all sorta boiled down to the Pragma header.  I can't set the pragma
header in my servlet and must do it in the Apache httpd.conf like this:
Header append Pragma "blah"

And "blah" could be anything and would still work, it's just the fact
that it's set in the Apache httpd.conf!  Weird, this isn't scientific, I
must be missing something. :)

Here's the combo I got it working with:

Pragma: no-cache, blah
Cache-Control: private
Content-Length: sizeof(stream)
Content-disposition: attachment; filename="doc.pdf"

Regards,
Daniel

On Thu, 5 Feb 2004, Mark W. Webb wrote:

> I am seeing a very similar problem with Tomcat 4.1.24 and Apache over
> SSL on Solaris 9.  I am using Tomcat4.1.24, JDK 1.4.2 Apache
> 2.0.48(mod_ssl, mod_jk), OpenSSL 0.9.7c.  Everything compiled from
> source except JDK.
>
> >Hi,
> >
> >I'm really stumped and hope someone can provide insight :(
> >
> >We got a tomcat server connected behind a an apache web server via mod_jk.
> >
> >when running without ssl, a user submits a form and is able to
> >retrieve a pdf document (they can save or open it) using IE6.  But over
> >ssl they would get this error:
> >
> >"Internet Explorer cannot download doc.pdf from myhost.com.
> > Internet EXplorer was not able to open this Internet site. The requested
> > site is either unavailable or cannnot be found. Please try again later."
> >
> >This doesn't happen with Mozilla and it would work as expected.
> >
> >Thing is, we've got a *solution* for this when using mod_python and
> >mod_perl...just not with Java/Tomcat.  The solution for those were to set
> >special http headers so IE can interpret things correctly:
> >
> >- Pragma = 'nocache'
> >- Expires = 'now'
> >- Cache-Control = 'private'
> >- Content-Length = sizeof(stream)
> >- Content-disposition = 'attachment; filename="doc.pdf"'
> >
> >This was done by a co-worker of mine and it worked.  I later saw something
> >about setting Cache-Control = public cuz IE won't "save" private stuff.
> >But even when I explicity setHeader("Cache-Control", "public") I still see
> >Cache-Control = private, public.
> >
> >So I have 2 questions:
> >
> >1. Does anyone know why there are two values even when I explicity call
> >   setHeader(..) for the Cache-Control?  Is Tomcat silently setting this?
> >   The source doesn't seem to have that though... :(
> >
> >2. Has anyone run into this and solved it?  I'd be much more interested in
> >   this answer :))
> >
> >We're using:
> >- Tomcat 4.0.6, via mod_jk to Apache 1.3.x with mod_ssl, on Linux.
> >- Turbine 2.3 framework
> >- JDK 1.4.x.
> >
> >TIA,
> >Daniel
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

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



Tomcat commiters : Enhancing DirContextStreamHandlerFactory

2004-02-05 Thread Sankaranarayanan \(Ganesh\) Ganapathy
A stream handler factory can be registered once per VM and tomcat
registers the DirContextStreamHandlerFactory for the jndi protocol.
However if there are web applications running inside that want to
register handlers for custom scheme currently it is not possible.

 

Can the DirContextStreamHandlerFactory be enhanced to allow applications
to register stream handler for custom schemes they might have. Or better
can this be a made a property in the context.xml file ?

 

Is this already there - or can this enhanced in the future?

 

Thanks

Ganesh



Re: apache-tomcat ssl doc download error in IE

2004-02-05 Thread Mark W. Webb
I am seeing a very similar problem with Tomcat 4.1.24 and Apache over 
SSL on Solaris 9.  I am using Tomcat4.1.24, JDK 1.4.2 Apache 
2.0.48(mod_ssl, mod_jk), OpenSSL 0.9.7c.  Everything compiled from 
source except JDK.

Hi,

I'm really stumped and hope someone can provide insight :(

We got a tomcat server connected behind a an apache web server via mod_jk.

when running without ssl, a user submits a form and is able to
retrieve a pdf document (they can save or open it) using IE6.  But over
ssl they would get this error:
"Internet Explorer cannot download doc.pdf from myhost.com.
Internet EXplorer was not able to open this Internet site. The requested
site is either unavailable or cannnot be found. Please try again later."
This doesn't happen with Mozilla and it would work as expected.

Thing is, we've got a *solution* for this when using mod_python and
mod_perl...just not with Java/Tomcat.  The solution for those were to set
special http headers so IE can interpret things correctly:
- Pragma = 'nocache'
- Expires = 'now'
- Cache-Control = 'private'
- Content-Length = sizeof(stream)
- Content-disposition = 'attachment; filename="doc.pdf"'
This was done by a co-worker of mine and it worked.  I later saw something
about setting Cache-Control = public cuz IE won't "save" private stuff.
But even when I explicity setHeader("Cache-Control", "public") I still see
Cache-Control = private, public.
So I have 2 questions:

1. Does anyone know why there are two values even when I explicity call
  setHeader(..) for the Cache-Control?  Is Tomcat silently setting this?
  The source doesn't seem to have that though... :(
2. Has anyone run into this and solved it?  I'd be much more interested in
  this answer :))
We're using:
- Tomcat 4.0.6, via mod_jk to Apache 1.3.x with mod_ssl, on Linux.
- Turbine 2.3 framework
- JDK 1.4.x.
TIA,
Daniel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 



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


RE: failure notice

2004-02-05 Thread Mike Curwen
GAH!
 
Sent: 5 Feb 2004 12:43
Received: 5 Feb 2004 14:05

 
Whilst I'm complaining (thank you Vitor), and doing it in a thread that
hopefully those that set up client-side rules are already ignoring...  I
might complain about the delays all my emails are experiencing.  Talk
about feeling like a tool!  My complaint comes after someone tells us
all to stop whining.  When clearly, I was whining quite some time ago,
thanks.  
 
And besides... everyone's already moved on to bigger and  better things,
and will miss my clearly "just stuff, no fluff" postings.

:)
 
 

> -Original Message-
> From: Mike Curwen [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, February 05, 2004 12:43 PM
> To: 'Tomcat Users List'
> Subject: RE: failure notice
> 
> 


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



jk2_init() Can 't find child xxxxx in scoreboard

2004-02-05 Thread Tuan Luu
hello
I have
Apache 2.0.48 ssl and mod_jk2 connected to
Tomcat 4.1.29
Everything works fine, the only thing that I'm wondering is this message 
in the error_log:

[error] jk2_init() Can 't find child x in scoreboard

What is this? Can this be ignored? How can I ged rid of this?

thangs for any help
Tuan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Slow Java app on Tomcat with a 667 MHz CPU

2004-02-05 Thread Filip Hanik \(lists\)
if you precompile the jsp pages? is it still dogging?
and how is your CPU state when running
Filip

-Original Message-
From: Matt Raible [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 04, 2004 7:57 AM
To: [EMAIL PROTECTED]
Subject: Slow Java app on Tomcat with a 667 MHz CPU


I have developed a webapp that uses basic open source stuff (struts,
hibernate, etc.).  I've been developing/testing it on the following
platforms - where it works fine and runs lickedy-split:

OS X 10.3, 1.33 GHz, 1 GB RAM
Windows XP, 2.6 GHz, 1.5 GB RAM
Windows 2000 Server, 1 GHz, 512 MB RAM
Windows 2000 Server, 1.5 GHz, 256 MB RAM

All of these are running Tomcat 4.1.29 or 4.1.12.  I recently tried to
deploy it to the "test web server" at my client and it runs dreadfully
slow.  It takes almost 30 seconds to load a page.  The main difference
is that the test web server has a 667 MHz CPU.  It has 512 MB RAM, and
we upgraded it to 1 GB, but that didn't help at all.  

I've recommended we get a faster CPU for the test web server, but I
wanted to confirm that this could be the source of the problem.  On this
server, and the 1.5 GHz/256 MB RAM machine, IIS is integrated with
Tomcat.  All machines are running JDK 1.4.0 or above.

Thanks,

Matt



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004


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



Re: Slow Java app on Tomcat with a 667 MHz CPU

2004-02-05 Thread Tim Funk
Before getting a new CPU - check and see what the CPU is doing. Is the 
bottleneck in IIS, tomcat, or antivirus software checking all filesystem access?

-Tim

Matt Raible wrote:

I have developed a webapp that uses basic open source stuff (struts,
hibernate, etc.).  I've been developing/testing it on the following
platforms - where it works fine and runs lickedy-split:
OS X 10.3, 1.33 GHz, 1 GB RAM
Windows XP, 2.6 GHz, 1.5 GB RAM
Windows 2000 Server, 1 GHz, 512 MB RAM
Windows 2000 Server, 1.5 GHz, 256 MB RAM
All of these are running Tomcat 4.1.29 or 4.1.12.  I recently tried to
deploy it to the "test web server" at my client and it runs dreadfully
slow.  It takes almost 30 seconds to load a page.  The main difference
is that the test web server has a 667 MHz CPU.  It has 512 MB RAM, and
we upgraded it to 1 GB, but that didn't help at all.  

I've recommended we get a faster CPU for the test web server, but I
wanted to confirm that this could be the source of the problem.  On this
server, and the 1.5 GHz/256 MB RAM machine, IIS is integrated with
Tomcat.  All machines are running JDK 1.4.0 or above.


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


Re: failure notice

2004-02-05 Thread Josh Rehman
There's a really easy way to stop this problem, and it's through a 
slight modification of the subscription protocol. Simply require that 
the body of the confirmation email be a single word, like "confirmed". 
That way autoresponders won't be able to confirm themselves.

Very easy to do, and effective. Who owns the list? Is such a change in 
protocol possible?

Mike Curwen wrote:

This is an age-old argument, and besides that, I don't enjoy talking
religion.  But the advice to create a client filter really grates
sometimes.
It is *still* a waste of bandwidth. The client can't filter until I
download the 200 odd messages every morning. 

Aside from the annoyance factor, I think it's only being a good
'internet citizen' to actively and aggresively manage these unnecessary
emails.  Let's clear the pipes for those important things like streaming
radio. ;)


 

-Original Message-
From: Graham Reeds [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 05, 2004 10:00 AM
To: Tomcat Users List
Subject: Re: failure notice

I'm getting loads of people complaining about a stupid 
responder.  Is that normal?

:-)

Seriously though, there's not a lot that anyone can do.  I 
would guess that some one on this list has opened the 
document.zip.scr and it has infected his/her machine and has 
started spamming the known world, even if him/her has left 
the list it still could be in his address book.

The spamming could be any of us.  Company policy here is to 
have Sophos running constantly which sucks resources and 
is/was effective as a chocolate fireguard when MSBlast went 
around as every machine in the building (except our Linux boxes).

I suggest you get used to creating rules in your favourite 
email client.

G.

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



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



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


Starting a different process for each java operation

2004-02-05 Thread Lott, Carey
If this is in the archives or docs, I'm sorry.  The company proxy is
blocking the tomcat site.

Can tomcat be configured to start child processes for each java operation?  

A developer has a servlet that needs to change the uid for the process that
runs it to do some shared memory operations.  Right now when this servlet
runs it is changing the uid of the root process for Tomcat which causes
other servlets to stop working. This is bad.
Is this something that I am supposed to configure in the server.xml or
global web.xml?

Thanks for the help.
Carey Lott

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



tomcat.conf missing

2004-02-05 Thread hostmaster
I just installed Tomcat 4.1.29

The problem I got is: Tomcat is running under root.

I'd like to change this to tomcat4

But there is no longer a tomcat.conf file available
where I can change this setting.

The question I got is:

where can I enable tomcat4 instead of root to
run Tomcat ?

TOMCAT_USER="tomcat4"




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



Re: failure notice

2004-02-05 Thread Tuan Luu
Yeah, I just received 170 Mails with this messages!!

Kannan Sundararajan wrote:

I am getting lot of messages like this. Any one experiencing the same? 

-Original Message-
From:
[EMAIL PROTECTED]
g
[mailto:[EMAIL PROTECTED]
pache.org]
Sent: None
Subject: failure notice
X-Auto: [EMAIL PROTECTED]
X-Loop-Detect: 1
To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N


Hi. This is the qmail-send program at mail18b.gatewayhost.net.

I'm afraid I wasn't able to deliver your message to the addresses.

This is a permanent error; I've given up. Sorry it didn't work out.



 does not like recipient.

Remote host said: ... inactive user

Giving up.



This is not a monitored account and replies to

this account will not be received.





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



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


Re: preloading JSPs

2004-02-05 Thread Lists
look at jspc.bat or jasper.sh for JSP compiler.. This can be done 
through ant on Startup

On Feb 5, 2004, at 10:12 AM, Alex Korneyev wrote:

Hello,

 all of my .jsp files are located on a network drive, so it takes much
 longer for them to be compiled the first time around. So, is there an
 option in 4.1.29 to preload and pre compile all the .jsp fles on
 start up?
 best regards,

 alex k

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



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


RE: preloading JSPs

2004-02-05 Thread Subir Sengupta
Use the jspc precompile script to precompile your jsp's.  The script is
in Tomcats bin directory.

-Original Message-
From: Alex Korneyev [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 05, 2004 8:12 AM
Cc: Tomcat Users List
Subject: preloading JSPs


Hello,

 all of my .jsp files are located on a network drive, so it takes much
longer for them to be compiled the first time around. So, is there an
option in 4.1.29 to preload and pre compile all the .jsp fles on  start
up?

 best regards,

 alex k


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



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



RE: failure notice

2004-02-05 Thread Mike Curwen
This is (probably?) because there is someone subscribed to tomcat-user,
and that someone's email is sitting behind a Norton anti-spam product.
So it's not an advertisement, rather a notification that the recipient
you sent to , did not get the email.

So I get one of these messages every time I send an email to
tomcat-user.
 
I've finally managed to push through an email to [EMAIL PROTECTED]  I've
asked them to call me personally on my company's 800 number.  I will be
asking them to please allow tomcat-user email, or to ask their employees
to unsubscribe.
 
So far, no response.

(or perhaps someone here can unsub anyone from @leds.com  and/or
@leadingedgedesign.com )
 
although I'm pretty sure Yoav has stated no-one is subscribed under the
@leds.com domain.


> -Original Message-
> From: FRANCOIS Dufour [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, February 05, 2004 10:45 AM
> To: [EMAIL PROTECTED]
> Subject: RE: failure notice
> 
> 
> got a similaire bug wen i rite to the userlist i got an symantec 
> advertisment saying that i sent
> a mesage whit prohibed content  writed to them no answer does 
> anybody got 
> this bug?
> 
> 
> 
> [EMAIL PROTECTED]
> administrateur http://entre-nous.qc.tc
> 
> 
> 
> 
> 
> >From: "Shapira, Yoav" <[EMAIL PROTECTED]>
> >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
> >To: "Tomcat Users List" <[EMAIL PROTECTED]>
> >Subject: RE: failure notice
> >Date: Thu, 5 Feb 2004 10:47:02 -0500
> >
> >
> >Howdy,
> >Should be taken care of now.  Maybe one or two more circulating, but 
> >that's it I hope.
> >
> >Yoav Shapira
> >Millennium ChemInformatics
> >
> >
> > >-Original Message-
> > >From: A.White [mailto:[EMAIL PROTECTED]
> > >Sent: Thursday, February 05, 2004 10:06 AM
> > >To: Tomcat Users List
> > >Subject: RE: failure notice
> > >
> > >Yes, I am
> > >
> > >-Original Message-
> > >From: Kannan Sundararajan [mailto:[EMAIL PROTECTED]
> > >Sent: 05 February 2004 14:34
> > >To: 'Tomcat Users List'
> > >Subject: RE: failure notice
> > >
> > >
> > >I am getting lot of messages like this. Any one experiencing the 
> > >same?
> > >
> > >-Original Message-
> > >From: 
> > 
> >[EMAIL PROTECTED]
> > >.o
> >r
> > >g 
> > 
> >[mailto:[EMAIL PROTECTED]
> > >a.
> >a
> > >pache.org]
> > >Sent: None
> > >Subject: failure notice
> > >
> > >
> > >X-Auto: [EMAIL PROTECTED]
> > >X-Loop-Detect: 1
> > >To: [EMAIL PROTECTED]
> > >From: [EMAIL PROTECTED]
> > >Reply-To: [EMAIL PROTECTED]
> > >X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
> > >
> > >
> > >
> > >Hi. This is the qmail-send program at mail18b.gatewayhost.net.
> > >
> > >I'm afraid I wasn't able to deliver your message to the addresses.
> > >
> > >This is a permanent error; I've given up. Sorry it didn't work out.
> > >
> > >
> > >
> > > does not like recipient.
> > >
> > >Remote host said: ... inactive user
> > >
> > >Giving up.
> > >
> > >
> > >
> > >This is not a monitored account and replies to
> > >
> > >this account will not be received.
> > >
> > >
> > >
> > >
> > >
> > 
> >-
> > >To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >For additional commands, e-mail: 
> [EMAIL PROTECTED]
> > >
> > 
> >-
> > >To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >For additional commands, e-mail: 
> [EMAIL PROTECTED]
> > >
> > >
> > 
> >-
> > >To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >For additional commands, e-mail: 
> [EMAIL PROTECTED]
> >
> >
> >
> >
> >This e-mail, including any attachments, is a confidential business
> >communication, and may contain information that is confidential, 
> >proprietary and/or privileged.  This e-mail is intended only for the 
> >individual(s) to whom it is addressed, and may not be saved, copied, 
> >printed, disclosed or used by anyone else.  If you are not 
> the(an) intended 
> >recipient, please immediately delete this e-mail from your 
> computer system 
> >and notify the sender.  Thank you.
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> 
> _
> MSN Search, le moteur de recherche qui pense comme vous !  
> http://fr.ca.search.msn.com/
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


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



close-notify error

2004-02-05 Thread Bill Harrelson
When I run a java test program using SSL to my Tomcat 4.1.24 
server, it connects, transmits and receives messages, gets a 
normal 200 response back, closes and exits just fine.  However a 
javax.net.debug trace of Tomcat for that session shows a "close-
notify" warning being sent to the client, and I can't figure out what's 
causing it.

This wouldn't be a problem, except that we have a customer 
running some middleware connecting to us that elevates the close-
notify warning to the users.  They are asking us if we can get rid of 
the warning, and I'm at a loss.  I can't find anything in the 
documentation, the archives, or googling.  Hopefully someone here 
can help.  

Thanks,

Bill


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



RE: Do the tomcat developers use bugzilla?

2004-02-05 Thread Mark Thomas
From: Josh Rehman [mailto:[EMAIL PROTECTED] 
> Subject: Do the tomcat developers use bugzilla?
> 
> At first I was shocked that TC5 has only 15 bugs registered. Then I 
> looked at the TC4 bugs: only 647, and almost all of them new.
> 
> Should I bother filing any more bugs? Are the TC developers using 
> another bug system? Are they using any bug system? Speaking of which, 
> who *is* developing Tomcat these days?

I have spent the best part of the last 3 months working my way through the TC4
bugs, fixing those that need fixing.

Ignoring enhancement requests (of which there were 125 at the last count) there
are about 570 unresolved bug reports. I am resolving around 10 a week so around
this time next year...

You, and the others that raise this topic from time to time, might be interested
in the following. Based on the bugs resolved to date I would estimate that the
breakdown of bugs is as follows:

< 1% Significant issues - these get dealt with pretty promptly
10% Invalid bugs from inexperienced users who should have used tomcat-user first
5%  Documentation errors/clarifications/issues
10% Real issues but unusual use cases rarely seen by more than one user
10% Totally useless bug reports with no where near enough info to reproduce
20% Duplicates
25% Issues in old versions that have already been fixed
10% Trivial issues (eg javadoc compilation warnings)
5%  Spec issues that are outside the control of the tomcat team
5%  Things that should actually be enhancement requests

Note: The figures above are based on my impression. I haven't done any detailed
analysis - to busy fixing bugs ;)

Personally, I would love to see the total number of open bugs reduced at an even
faster rate. Any offers of help gratefully received. On that note by far the
most helpful thing anyone reporting a bug in bugzilla can do is attach a simple
war that exhibits the problem. The less time I spend building test apps for
bugs, the more time I can spend fixing them.

Mark



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



RE: [OT] avoiding getOutputStream() being called twice

2004-02-05 Thread Robert Priest
I agree. I have pretty much decided to go the Servlet route, based on some
other information I found (see my previous response). Thanks.

-Original Message-
From: Philipp Taprogge [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 05, 2004 11:51 AM
To: Tomcat Users List
Subject: Re: [OT] avoiding getOutputStream() being called twice


Hi!

Robert Priest wrote:

> How can I pass a byte[] down to my client, without calling
> "response.getOutputStream" explicitly?
> 
> Here is my problem:
> 
> I want to pass a file down to the client via  a jsp page.

At first glance, I can't tell you why you get this error, but IMHO you 
could save yourself a lot of trouble if you used a servlet directly in 
this case. A JSP is a bad choice here, I think, since a JSP response 
is presumed to have text (or html rather) content. I think your 
problem might be that some jsp header information is already sent to 
the client using the jspwriter when you call the getOutputStream() method.
You should decide what you want. If you want the client to display 
something, send text, if you want to push a file to the client, send 
bytes, but not both in the same reply.
In such cases I use a servlet, that first sends the binary data to the 
client and then sendRedirect()s the client to a jsp that displays the 
outcome of the operation.

Phil


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

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



RE: What's the most stable version now?

2004-02-05 Thread FRANCOIS Dufour
i use 4.0.6 aint got no crash very stable

[EMAIL PROTECTED]
administrateur http://entre-nous.qc.tc




From: "Dmitriy ." <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: What's the most stable version now?
Date: Thu, 05 Feb 2004 11:22:14 -0500
Hi, does anyone know what the most stable version is now? We've got 4.1.29 
and it doesn't seem to be very stable and I think there was a report that 
it has memory leaks. Do you know what version is the most stable?

Thanks.

_
Tired of slow downloads? Compare online deals from your local high-speed 
providers now.  https://broadband.msn.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
MSN Messenger : discutez en direct avec vos amis !  
http://messenger.fr.msn.ca/

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


Slow Java app on Tomcat with a 667 MHz CPU

2004-02-05 Thread Matt Raible
I have developed a webapp that uses basic open source stuff (struts,
hibernate, etc.).  I've been developing/testing it on the following
platforms - where it works fine and runs lickedy-split:

OS X 10.3, 1.33 GHz, 1 GB RAM
Windows XP, 2.6 GHz, 1.5 GB RAM
Windows 2000 Server, 1 GHz, 512 MB RAM
Windows 2000 Server, 1.5 GHz, 256 MB RAM

All of these are running Tomcat 4.1.29 or 4.1.12.  I recently tried to
deploy it to the "test web server" at my client and it runs dreadfully
slow.  It takes almost 30 seconds to load a page.  The main difference
is that the test web server has a 667 MHz CPU.  It has 512 MB RAM, and
we upgraded it to 1 GB, but that didn't help at all.  

I've recommended we get a faster CPU for the test web server, but I
wanted to confirm that this could be the source of the problem.  On this
server, and the 1.5 GHz/256 MB RAM machine, IIS is integrated with
Tomcat.  All machines are running JDK 1.4.0 or above.

Thanks,

Matt



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



Re: Tomcat Loads Deleted Context?

2004-02-05 Thread Josh Rehman
Shapira, Yoav wrote:

Howdy,

 

I don't think Remy's suggestion above is unreasonable -- AS LONG AS
IT'S DOCUMENTED (sorry for shouting).  Especially if it's as simple as
adding a few lines in server.xml.  (Well, it would be nice if it were
added to the server configuration documentation as well.)
   

Added to Context configuration documentation.  Added to Tomcat FAQ
(deployment page).  And Remy just beat me to removing the 
example altogether (as opposed to commenting it out as it has been) from
server.xml.
 

Thanks. BTW, why can't server.xml be reloaded?  Here's part of your commit:

You may define as many Context elements as you
 -  wish, nested within a Host element in
 -  conf/server.xml.  Each such Context MUST have a unique
 +  wish.  Each such Context MUST have a unique
context path, which is defined by the path attribute.
In addition, you MUST define a Context with a context path equal to
a zero-length string.  This Context becomes the default
 @@ -53,7 +52,9 @@
Application Deployment for more information. This method allows dynamic
reconfiguration of the web application, since the main 
conf/server.xml file cannot be reloaded without restarting
 -  Tomcat.
 +  Tomcat. Please note that for tomcat 5.x, unlike tomcat 4.x, it is NOT
 +  recommended to place  elements directory in the server.xml file.
 +  

note that "directory" is should be "directly". It might also be clearer 
about *where* context elts should be placed.

Again, I think this is a bad way to configure software. "Everything in 
one place" is the quite reasonable mantra espoused in _The Practical 
Programmer_ among other places, not to mention I've had success with it 
as a rule of thumb. Logically, I want to see all contexts in one place. 
Moving that responsibility to the manager app doesn't count as "one 
place" because then I have to be pointing and clicking everywhere. I 
should be able to use vi to manage my server with one file. The apache 
web server has been doing it this way for a long, long time and it seems 
to work pretty well. I work alongside Perl and Apache folk, and I can 
hear their sniggers when I tell them I have to navigate a directory tree 
to modify a context...and they'd be right!

Perhaps there is some technical limitation to reloading server.xml. but 
I can't see it. Remy has said it's a "hack" but of course that doesn't 
really say anything. You are just trading one hierarchical data 
structure for another (directories for nested XML elts).

(I am looking into this but I can't get tomcat built, and no-one on the 
dev list has replied to my build questions yet. When I have more time 
tonight I'll try again.)

Thanks

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


Re: What's the most stable version now?

2004-02-05 Thread Vitor Buitoni
I think it's 5.0.18

Dmitriy . wrote:

Hi, does anyone know what the most stable version is now? We've got 
4.1.29 and it doesn't seem to be very stable and I think there was a 
report that it has memory leaks. Do you know what version is the most 
stable?

Thanks.

_
Tired of slow downloads? Compare online deals from your local 
high-speed providers now.  https://broadband.msn.com

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

*Vitor Buitoni*
/Programador - APC/
*DÍGITRO TECNOLOGIA*
*E-mail:* [EMAIL PROTECTED] 
*Fone:* (0xx48) 281-7314 / (0xx48) 281-7000
*Fax:* (0xx48) 281-7000
*Site:* www.portaldigitro.com.br 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: failure notice

2004-02-05 Thread Vitor Buitoni
It also would be great if people STOP complaining about it, that WON'T 
help stop the messages.
As we can see the administrator/moderator team is aware of the problem 
and is doing its best to take care of the the problem.

The first real help would be stop complaining, because this is beggining 
to get worse than the auto-replys.

Thanks!

Vitor

Shapira, Yoav wrote:

Howdy,
Yeah, we got it.  Everyone is getting them.  I've tried to do what I can
to remove them, but so far that doesn't seem to work.  I'm working with
the Apache infrastructure team on this.  Meanwhile block these
senders/topics.
Yoav Shapira
Millennium ChemInformatics
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 05, 2004 10:33 AM
To: Tomcat Users List
Subject: Re: failure notice
yes i am also

- Original Message -
From: "Kannan Sundararajan" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, February 05, 2004 9:34 AM
Subject: RE: failure notice
   

I am getting lot of messages like this. Any one experiencing the
 

same?
 

-Original Message-
From:
 

[EMAIL PROTECTED]
 

g

 

[mailto:[EMAIL PROTECTED]
 

pache.org]
Sent: None
Subject: failure notice
X-Auto: [EMAIL PROTECTED]
X-Loop-Detect: 1
To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N


Hi. This is the qmail-send program at mail18b.gatewayhost.net.

I'm afraid I wasn't able to deliver your message to the addresses.

This is a permanent error; I've given up. Sorry it didn't work out.



 does not like recipient.

Remote host said: ... inactive user

Giving up.



This is not a monitored account and replies to

this account will not be received.





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

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   





This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged.  This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender.  Thank you.

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



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


POST method not working

2004-02-05 Thread Kumar Abhay-CAK203C
Hi,

I am suing post method of sending data to servlet  from a JSP page. I am unable to get 
the data by request.getParameter(). If I am sing get method I am able to retrieve data 
from JSP page

Please let me know how to achieve this ? And what is the bug ?

Abhay



Re: jdbc3

2004-02-05 Thread Tim Funk
Tomcat is jdbc agnostic. You'll need to download the appropriate libraries 
and drop them in the appropriate classloader.

-Tim

Edson Alves Pereira wrote:
Does anybody here knows where can i find jdbc3 extension to
tomcat-4.1.24?


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


test

2004-02-05 Thread Ingmars Rubenis










Best Wishes
Ingmars Rubenis
LU
University of Latvia
Developer
IT department
(371) 7034736




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



RE: [OT] avoiding getOutputStream() being called twice

2004-02-05 Thread Robert Priest
Thanks Yoav,

I think the following post, explains exactly what my problem was:

http://archives.real-time.com/rte-tomcat/2000/May/msg00049.html


In short, when the java file is created from the jsp page, the getWriter()
call is already made for you (in the translation). So one is not supposed to
call getOutputStream on top of that.

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 05, 2004 11:23 AM
To: Tomcat Users List
Subject: RE: [OT] avoiding getOutputStream() being called twice



Howdy,

>How can I pass a byte[] down to my client, without calling
>"response.getOutputStream" explicitly?

Can't.

>Which works for me. However, I am in danger of getting the
>"getOutputStream() called twice" error. Doesn't always happen, but
>sometimes
>it does.

When and why does it happen?

>I don't want to use the JspWriter "out" because writers use
>character streams. And everytime I use a character stream my files end
up
>corrupted when I pass a file that has "unicode" characters in it.

You should call response.setCharacterEncoding first to set it to
Unicode.  Then the writer will handle Unicode correctly.  But your
output stream approach should be fine as well, so perhaps if you provide
more details about your error...

Yoav Shapira



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


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

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



Weird tomcat/java problem need help

2004-02-05 Thread McClure, Timothy J\(GE Infrastructure\)
I am experiencing a bizzarre Java/Tomcat problem.  We are using tomcat 4.1.27 and sun  
jvm 4.2 on windows.  A couple of machines (not all machines) when bring up Tomcat and 
then try to bring on any other Java application and other java apps freeze.  However 
if I bring up the client before the server the server comes up and everything works.  
When it does not work there are no errors in any logs.  What resource could the jvm or 
tomcat being locking that prevents other java apps from?  Any input to this problem 
will be greatly approeciated.

Tim

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



failure notice

2004-02-05 Thread daemon

Hi. This is the qmail-send program at mail18b.gatewayhost.net.
I'm afraid I wasn't able to deliver your message to the addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

 does not like recipient.
Remote host said: ... inactive user
Giving up.

This is not a monitored account and replies to
this account will not be received.



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



test

2004-02-05 Thread Ingmars Rubenis










Best Wishes
Ingmars Rubenis
LU
University of Latvia
Developer
IT department





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



failure notice

2004-02-05 Thread daemon

Hi. This is the qmail-send program at mail18b.gatewayhost.net.
I'm afraid I wasn't able to deliver your message to the addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

 does not like recipient.
Remote host said: ... inactive user
Giving up.

This is not a monitored account and replies to
this account will not be received.



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



failure notice

2004-02-05 Thread daemon

Hi. This is the qmail-send program at mail18b.gatewayhost.net.
I'm afraid I wasn't able to deliver your message to the addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

 does not like recipient.
Remote host said: ... inactive user
Giving up.

This is not a monitored account and replies to
this account will not be received.



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



failure notice

2004-02-05 Thread daemon

Hi. This is the qmail-send program at mail18b.gatewayhost.net.
I'm afraid I wasn't able to deliver your message to the addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

 does not like recipient.
Remote host said: ... inactive user
Giving up.

This is not a monitored account and replies to
this account will not be received.



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



failure notice

2004-02-05 Thread daemon

Hi. This is the qmail-send program at mail18b.gatewayhost.net.
I'm afraid I wasn't able to deliver your message to the addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

 does not like recipient.
Remote host said: ... inactive user
Giving up.

This is not a monitored account and replies to
this account will not be received.



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



failure notice

2004-02-05 Thread daemon

Hi. This is the qmail-send program at mail18b.gatewayhost.net.
I'm afraid I wasn't able to deliver your message to the addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

 does not like recipient.
Remote host said: ... inactive user
Giving up.

This is not a monitored account and replies to
this account will not be received.



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



failure notice

2004-02-05 Thread daemon

Hi. This is the qmail-send program at mail18b.gatewayhost.net.
I'm afraid I wasn't able to deliver your message to the addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

 does not like recipient.
Remote host said: ... inactive user
Giving up.

This is not a monitored account and replies to
this account will not be received.



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



RE: context configuration file being overwritten

2004-02-05 Thread Cox, Charlie


> -Original Message-
> From: Milt Epstein [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 05, 2004 10:34 AM
> To: Tomcat Users List
> Subject: RE: context configuration file being overwritten
> 
> On Wed, 4 Feb 2004, Cox, Charlie wrote:
> 
> > > From: Milt Epstein [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, February 04, 2004 2:47 PM
> [ ... ]
> > > > Have you tried using CATALINA_BASE and CATALINA_HOME to separate
> > > > your webapps/configuration(BASE) and your tomcat
> > > > installation(HOME)?  Maybe this would serve your needs instead
> > > > of symbolic links.
> > > [ ... ]
> > >
> > > Thanks for the response.
> > >
> > > I am aware of using CATALINA_HOME/CATALINA_BASE, but I don't think
> > > that would serve my needs better.  That's more for when you're
> > > going to have multiple Tomcat instances, and you want to eliminate
> > > redundancy and reduce the amount of total space used.  And it
> > > still has problems when it comes to upgrades.
> >
> > Actually I am using CATALINA_HOME/CATALINA_BASE for a single
> > instance for the ease of upgrading. I have separated /webapps,
> > /conf, and /temp from /bin, /common, /shared, and /server. The only
> > issue that I see upon upgrade is that I need to copy my libs in
> > /common and /shared if I install the new version to a new directory
> > and change CATALINA_HOME appropriately. I'm interested to hear what
> > other issues you see with this as /conf wouldn't be affected by a
> > new tomcat point release to CATALINA_HOME.
> [ ... ]
> 
> Well, with the caveats that I don't have extensive experience with
> different Tomcat setups and I've only just come up with my current
> setup (so it's kind of a work in progress) ...
> 
> The setup I'm trying now has:
> 
> 1. the tomcat distrib under /usr/local
>(e.g., /usr/local/jakarta-tomcat-5.0.18)
This can be your CATALINA_HOME

> 2. /usr/local/tomcat as a symbolic link to the "current" distrib
This may not be needed since you can just change CATALINA_HOME

> 3. all my webapps, with their associated context configuration files,
>under /usr/local/webapps
> 
> So to get things working, all I do is copy the context configuration
> files to the appropriate Tomcat directory (it used to be
> /webapps in Tomcat 4, but in 5 it's apparently
> /conf//).  (I was hoping to use symbolic links,
> but then I ran into the problem I posted about.)
> 
This is the step you can avoid with CATALINA_BASE

> When I upgrade Tomcat versions, all I do is drop the new distrib in,
> change the /usr/local/tomcat link, 
you can just update CATALINA_HOME instead of changing you link, or you could
have CATALINA_HOME point to this link.

> copy the context configuration
This step can be avoided because you aren't changing CATALINA_BASE at all.

> files in, and voila!, I'm up and running.
> > Maybe the differences are minor as compared to your setup, but I think
> they are there.  For example, you may have to re-copy conf and/or
> webapps (I believe there can be changes in what's under those
> directories on new point releases). 
No, /webapps and /conf are part of your CATALINA_BASE. They only change on
point releases if you are using the tomcat supplied
webapps(tomcat-docs,examples,etc). The /manger and /admin are under
/server/webapps, so you would still get all changes to them.

> Basically you don't have to worry
> about splitting the distrib up between $CATALINA_HOME and
> $CATALINA_BASE, 

There is no splitting. For a new release, I delete /webapps, /logs, /conf
and /work that are created by default since these are all located at my
CATALINA_BASE.

> and any potential issues related to that that could
> come up with an upgrade to a new version.
> 

Well, there's always potential for bugs and that's why I have a test
environment.

So you can create a /usr/local/catalinabase that contains /conf and /work
and optionally /webapps and /logs (depends on server.xml settings). This is
your CATALINA_BASE.

Then you set CATALINA_HOME to /usr/local/tomcat if you want to maintain your
sym link, or to the actual tomcat installation dir. This contains /bin,
/common, /server, /shared, and /temp

This way only CATALINA_HOME changes with each release.

Charlie

> Milt Epstein
> Research Programmer
> Integration and Software Engineering (ISE)
> Campus Information Technologies and Educational Services (CITES)
> University of Illinois at Urbana-Champaign (UIUC)
> [EMAIL PROTECTED]


Re: encoding-problem with tomcat, jk2, apache

2004-02-05 Thread Stefan Burkard
isn't this file.encoding about how the java-vm reads and writes files in 
the filesystem? my problem is just in delivery through apache. tomcat 
itself displays everything correct.

but i did another test in the meantime:
-> when i edit the "addDefaultCharset"-directive of apache2 to UTF-8 it 
works fine with apache/jk2! but i can't change this value because of the 
risk to break other websites on the same server.

so i think i should be able to tell tomcat that he sould deliver this 
pages in utf-8. how i explained in postings below, it just says 
"text/html" in the header - no encoding. and therefore apache adds its 
standardencoding of iso-8859-1

can anybody tell me how to tell tomcat to deliver pages in a specific 
encoding?

greetings
stefan
Edson Alves Pereira wrote:
You must check your java´s file.encoding property, maybe its setted
to ISO-8859-1
--
De: Stefan Burkard[SMTP:[EMAIL PROTECTED]
Responder:  Tomcat Users List
Enviada:quinta-feira, 5 de fevereiro de 2004 9:18
Para:   [EMAIL PROTECTED]
Assunto:Re: encoding-problem with tomcat, jk2, apache
hi folks

ok, i've found a tool that shows the whole http-header of my requests:

if i connect directly on tomcat (port 8080) there is a 
content-type-attribute in the header that says just "text/html".

if i connect via apache/mod_jk2 the attribute has the data "text/html; 
charset=ISO-8859-1" what is completely wrong. it should be utf-8, not 
iso-8859-1.

cocoon automatically inserts the code
 into 
the html-page.

so the resulting question: why has apache/jk2 the wrong encoding? is 
there a default-encoding that is used if nothing other is specified?

greetings
stefan
Yansheng Lin wrote:

Hi Stefan, you figured out this problem yet.  I would like to know what
was

causing the problem:).  Did you take a look at the header?  Compare the
headers

generated when running tomcat standalone with running apache-tomcat to
see the

difference.  (I used a Encoding Filter for my i18n application, so far
all the

development had been done on a localhost).  

Good luck!

-Yan

-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Stefan Burkard
Sent: Tuesday, February 03, 2004 10:41 AM
To: [EMAIL PROTECTED]
Subject: encoding-problem with tomcat, jk2, apache
hello tomcat-users

i've set up a cocoon-page with tomcat, apache and jk2. everything works 
fine as long as i just use languages with standard-encoding iso-8859-1.

now i'm on the way to implement the russian version of the site and 
therefore i need to display russian (cyrillic) characters.

if i connect on tomcat-standalone with port 8080, the russian characters

are displayed correct.
but if i connect via apache and jk2, alle cyrillic characters go wrong. 
i think apache delivers the page with iso-8859-1 instead of utf-8.

does anybody know if this is a problem of apache or jk2 and how to solve

it???

thanks
stefan


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


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




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


RE: Can deployment order be captured.

2004-02-05 Thread Mike Curwen
Yes, we'll eventually move the issue tracker onto our development box,
since we're the only ones who use it.  It's not really a long startup
time. It's that it prevents the 'real' apps from being available for
that time, which is never good. It's not good we're restarting a
production box in the middle of the day.. it's worse when it takes 30
seconds longer than it absolutely has to.

So if I set the autoDeploy to false, that means I'd have to ANT script
or use the web interface to use the manager app to deploy each and every
context I wanted deployed, whenver Tomcat restarts?

> -Original Message-
> From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, February 05, 2004 10:08 AM
> To: Tomcat Users List
> Subject: RE: Can deployment order be captured.
> 
> 
> 
> Howdy,
> 
> >So if I set
> >autoDeploy false, who does the deployment?
> 
> The Manager webapp.
> 
> >I'm looking at your recommendation below, to be able to 
> specify startup 
> >order.  The reason is not a dependency.  Rather, we have a number of 
> >webapps (about 15) that we want started up and ready, before the 
> >container attempts to start a single webapp that takes about 
> 30 seconds 
> >to 'complete its startup'.  While we're waiting for this one 
> to finish, 
> >our other ones are not available, and their startup time is
> 'vanishingly
> >small'. As it happens, the 15 webapps are the ones my company makes 
> >money with, and the 1 that takes so d**n long is a issue 
> tracker, for 
> >internal use only.
> 
> Put the issue tracker in a separate tomcat instance?  Modify 
> its startup so that it does the 30 second (which is not long 
> IMHO, but obviously that's a personal thing) operation upon 
> the first request? 
> Yoav Shapira
> 
> 
> 
> This e-mail, including any attachments, is a confidential 
> business communication, and may contain information that is 
> confidential, proprietary and/or privileged.  This e-mail is 
> intended only for the individual(s) to whom it is addressed, 
> and may not be saved, copied, printed, disclosed or used by 
> anyone else.  If you are not the(an) intended recipient, 
> please immediately delete this e-mail from your computer 
> system and notify the sender.  Thank you.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


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



failure notice

2004-02-05 Thread daemon

Hi. This is the qmail-send program at mail18b.gatewayhost.net.
I'm afraid I wasn't able to deliver your message to the addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

 does not like recipient.
Remote host said: ... inactive user
Giving up.

This is not a monitored account and replies to
this account will not be received.



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



failure notice

2004-02-05 Thread daemon

Hi. This is the qmail-send program at mail18b.gatewayhost.net.
I'm afraid I wasn't able to deliver your message to the addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

 does not like recipient.
Remote host said: ... inactive user
Giving up.

This is not a monitored account and replies to
this account will not be received.



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



failure notice

2004-02-05 Thread daemon

Hi. This is the qmail-send program at mail18b.gatewayhost.net.
I'm afraid I wasn't able to deliver your message to the addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

 does not like recipient.
Remote host said: ... inactive user
Giving up.

This is not a monitored account and replies to
this account will not be received.



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



failure notice

2004-02-05 Thread daemon

Hi. This is the qmail-send program at mail18b.gatewayhost.net.
I'm afraid I wasn't able to deliver your message to the addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

 does not like recipient.
Remote host said: ... inactive user
Giving up.

This is not a monitored account and replies to
this account will not be received.



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



trying to get trough

2004-02-05 Thread FRANCOIS Dufour
no mail is comming trough or in +i got sily mesage saying prohibed content 
??

[EMAIL PROTECTED]
administrateur http://entre-nous.qc.tc
_
MSN Search, le moteur de recherche qui pense comme vous !  
http://fr.ca.search.msn.com/

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


RE: failure notice

2004-02-05 Thread Mike Curwen
This is an age-old argument, and besides that, I don't enjoy talking
religion.  But the advice to create a client filter really grates
sometimes.
 
It is *still* a waste of bandwidth. The client can't filter until I
download the 200 odd messages every morning. 
 
Aside from the annoyance factor, I think it's only being a good
'internet citizen' to actively and aggresively manage these unnecessary
emails.  Let's clear the pipes for those important things like streaming
radio. ;)



> -Original Message-
> From: Graham Reeds [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, February 05, 2004 10:00 AM
> To: Tomcat Users List
> Subject: Re: failure notice
> 
> 
> I'm getting loads of people complaining about a stupid 
> responder.  Is that normal?
> 
> :-)
> 
> Seriously though, there's not a lot that anyone can do.  I 
> would guess that some one on this list has opened the 
> document.zip.scr and it has infected his/her machine and has 
> started spamming the known world, even if him/her has left 
> the list it still could be in his address book.
> 
> The spamming could be any of us.  Company policy here is to 
> have Sophos running constantly which sucks resources and 
> is/was effective as a chocolate fireguard when MSBlast went 
> around as every machine in the building (except our Linux boxes).
> 
> I suggest you get used to creating rules in your favourite 
> email client.
> 
> G.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


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



failure notice

2004-02-05 Thread daemon

Hi. This is the qmail-send program at mail18b.gatewayhost.net.
I'm afraid I wasn't able to deliver your message to the addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

 does not like recipient.
Remote host said: ... inactive user
Giving up.

This is not a monitored account and replies to
this account will not be received.



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



RE: encoding-problem with tomcat, jk2, apache

2004-02-05 Thread Yan Lin
(SORRY IF THIS IS A DUPLICATE, MY MESSAGE DIDN'T GO
THROUGH?  I AM USING A DIFFERENT ACCOUNT.)

---
Oh hi, I researched on the following problme last
night.  And like you said, I could display my Japanese
UTF-8 encoded file with Tomcat correctly, but not with
Apache-Tomcat-jk2.  Somehow the charset was still
iso-8859-1.  I couldn't figure out why apache didn't
use the UTF-8 encoding defined in httpd.conf:
AddCharset UTF-8   .utf8

So my quick fix was to change the default charset to
UTF-8:
AddDefaultCharset UTF-8

After that I could see in my header, the charset is
utf-8.  And I could view the Japanese hiragan's with
Apache.  But since all my pages were display under
utf-8, the font was kind of screwed up(utf-8 has less
font support).  So I don't think I found the solution
to your problem.  And I couldn't spend more time on
that. Let me know if you get this one figured out.  

Have fun!

-Yan
-

> > --
> > De: Stefan Burkard[SMTP:[EMAIL PROTECTED]
> > Responder:  Tomcat Users List
> > Enviada:quinta-feira, 5 de fevereiro de 2004
> 9:18
> > Para:   [EMAIL PROTECTED]
> > Assunto:Re: encoding-problem with tomcat, jk2,
> apache
> > 
> > hi folks
> > 
> > ok, i've found a tool that shows the whole
> http-header of my requests:
> > 
> > if i connect directly on tomcat (port 8080) there
> is a 
> > content-type-attribute in the header that says
> just "text/html".
> > 
> > if i connect via apache/mod_jk2 the attribute has
> the data "text/html; 
> > charset=ISO-8859-1" what is completely wrong. it
> should be utf-8, not 
> > iso-8859-1.
> > 
> > cocoon automatically inserts the code
> >  content="text/html; charset=UTF-8"> into 
> > the html-page.
> > 
> > so the resulting question: why has apache/jk2 the
> wrong encoding? is 
> > there a default-encoding that is used if nothing
> other is specified?
> > 
> > greetings
> > stefan
> > 
> > 
> > Yansheng Lin wrote:
> > > Hi Stefan, you figured out this problem yet.  I
> would like to know what
> > was
> > > causing the problem:).  Did you take a look at
> the header?  Compare the
> > headers
> > > generated when running tomcat standalone with
> running apache-tomcat to
> > see the
> > > difference.  (I used a Encoding Filter for my
> i18n application, so far
> > all the
> > > development had been done on a localhost).  
> > > 
> > > Good luck!
> > > 
> > > -Yan
> > > 
> > > -Original Message-
> > > From: news [mailto:[EMAIL PROTECTED] On Behalf
> Of Stefan Burkard
> > > Sent: Tuesday, February 03, 2004 10:41 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: encoding-problem with tomcat, jk2,
> apache
> > > 
> > > 
> > > hello tomcat-users
> > > 
> > > i've set up a cocoon-page with tomcat, apache
> and jk2. everything works 
> > > fine as long as i just use languages with
> standard-encoding iso-8859-1.
> > > 
> > > now i'm on the way to implement the russian
> version of the site and 
> > > therefore i need to display russian (cyrillic)
> characters.
> > > 
> > > if i connect on tomcat-standalone with port
> 8080, the russian characters
> > 
> > > are displayed correct.
> > > but if i connect via apache and jk2, alle
> cyrillic characters go wrong. 
> > > i think apache delivers the page with iso-8859-1
> instead of utf-8.
> > > 
> > > does anybody know if this is a problem of apache
> or jk2 and how to solve
> > 
> > > it???
> > > 
> > > thanks
> > > stefan
> > > 
> > > 
> > > 
> > >
>
-
> > > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> [EMAIL PROTECTED]
> > 
> > 
> > 
> >
>
-
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> > 
> 


__
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html

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



Re: failure notice

2004-02-05 Thread Philipp Taprogge
Hi!

Shapira, Yoav wrote:

Howdy,
Should be taken care of now.  Maybe one or two more circulating, but
that's it I hope.
Hmm... I still getting those failure notices... at least 5 or so every 
minute... :-/

	Phil

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


failure notice

2004-02-05 Thread daemon

Hi. This is the qmail-send program at mail18b.gatewayhost.net.
I'm afraid I wasn't able to deliver your message to the addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

 does not like recipient.
Remote host said: ... inactive user
Giving up.

This is not a monitored account and replies to
this account will not be received.



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



RE: failure notice

2004-02-05 Thread FRANCOIS Dufour
yes and i cant get trough at all dont see my own mesage comming in !!!



[EMAIL PROTECTED]
administrateur http://entre-nous.qc.tc




From: "Shapira, Yoav" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Subject: RE: failure notice
Date: Thu, 5 Feb 2004 10:47:02 -0500
Howdy,
Should be taken care of now.  Maybe one or two more circulating, but
that's it I hope.
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: A.White [mailto:[EMAIL PROTECTED]
>Sent: Thursday, February 05, 2004 10:06 AM
>To: Tomcat Users List
>Subject: RE: failure notice
>
>Yes, I am
>
>-Original Message-
>From: Kannan Sundararajan [mailto:[EMAIL PROTECTED]
>Sent: 05 February 2004 14:34
>To: 'Tomcat Users List'
>Subject: RE: failure notice
>
>
>I am getting lot of messages like this. Any one experiencing the same?
>
>-Original Message-
>From:
>[EMAIL PROTECTED]
r
>g
>[mailto:[EMAIL PROTECTED]
a
>pache.org]
>Sent: None
>Subject: failure notice
>
>
>X-Auto: [EMAIL PROTECTED]
>X-Loop-Detect: 1
>To: [EMAIL PROTECTED]
>From: [EMAIL PROTECTED]
>Reply-To: [EMAIL PROTECTED]
>X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
>
>
>
>Hi. This is the qmail-send program at mail18b.gatewayhost.net.
>
>I'm afraid I wasn't able to deliver your message to the addresses.
>
>This is a permanent error; I've given up. Sorry it didn't work out.
>
>
>
> does not like recipient.
>
>Remote host said: ... inactive user
>
>Giving up.
>
>
>
>This is not a monitored account and replies to
>
>this account will not be received.
>
>
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]


This e-mail, including any attachments, is a confidential business 
communication, and may contain information that is confidential, 
proprietary and/or privileged.  This e-mail is intended only for the 
individual(s) to whom it is addressed, and may not be saved, copied, 
printed, disclosed or used by anyone else.  If you are not the(an) intended 
recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
MSN Messenger : discutez en direct avec vos amis !  
http://messenger.fr.msn.ca/

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


Re: [OT] avoiding getOutputStream() being called twice

2004-02-05 Thread Philipp Taprogge
Hi!

Robert Priest wrote:

How can I pass a byte[] down to my client, without calling
"response.getOutputStream" explicitly?
Here is my problem:

I want to pass a file down to the client via  a jsp page.
At first glance, I can't tell you why you get this error, but IMHO you 
could save yourself a lot of trouble if you used a servlet directly in 
this case. A JSP is a bad choice here, I think, since a JSP response 
is presumed to have text (or html rather) content. I think your 
problem might be that some jsp header information is already sent to 
the client using the jspwriter when you call the getOutputStream() method.
You should decide what you want. If you want the client to display 
something, send text, if you want to push a file to the client, send 
bytes, but not both in the same reply.
In such cases I use a servlet, that first sends the binary data to the 
client and then sendRedirect()s the client to a jsp that displays the 
outcome of the operation.

	Phil

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


failure notice

2004-02-05 Thread daemon

Hi. This is the qmail-send program at mail18b.gatewayhost.net.
I'm afraid I wasn't able to deliver your message to the addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

 does not like recipient.
Remote host said: ... inactive user
Giving up.

This is not a monitored account and replies to
this account will not be received.



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



RE: failure notice

2004-02-05 Thread Jan Behrens
Many thanks Yoav!

> -Original Message-
> From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 05, 2004 4:47 PM
> To: Tomcat Users List
> Subject: RE: failure notice
> 
> 
> 
> Howdy,
> Should be taken care of now.  Maybe one or two more circulating, but
> that's it I hope.
> 
> Yoav Shapira
> Millennium ChemInformatics
> 
> 
> >-Original Message-
> >From: A.White [mailto:[EMAIL PROTECTED]
> >Sent: Thursday, February 05, 2004 10:06 AM
> >To: Tomcat Users List
> >Subject: RE: failure notice
> >
> >Yes, I am
> >
> >-Original Message-
> >From: Kannan Sundararajan [mailto:[EMAIL PROTECTED]
> >Sent: 05 February 2004 14:34
> >To: 'Tomcat Users List'
> >Subject: RE: failure notice
> >
> >
> >I am getting lot of messages like this. Any one experiencing the same?
> >
> >-Original Message-
> >From:
> >[EMAIL PROTECTED]
> r
> >g
> >[mailto:[EMAIL PROTECTED]
> a
> >pache.org]
> >Sent: None
> >Subject: failure notice
> >
> >
> >X-Auto: [EMAIL PROTECTED]
> >X-Loop-Detect: 1
> >To: [EMAIL PROTECTED]
> >From: [EMAIL PROTECTED]
> >Reply-To: [EMAIL PROTECTED]
> >X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
> >
> >
> >
> >Hi. This is the qmail-send program at mail18b.gatewayhost.net.
> >
> >I'm afraid I wasn't able to deliver your message to the addresses.
> >
> >This is a permanent error; I've given up. Sorry it didn't work out.
> >
> >
> >
> > does not like recipient.
> >
> >Remote host said: ... inactive user
> >
> >Giving up.
> >
> >
> >
> >This is not a monitored account and replies to
> >
> >this account will not be received.
> >
> >
> >
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> This e-mail, including any attachments, is a confidential 
> business communication, and may contain information that is 
> confidential, proprietary and/or privileged.  This e-mail is 
> intended only for the individual(s) to whom it is addressed, and 
> may not be saved, copied, printed, disclosed or used by anyone 
> else.  If you are not the(an) intended recipient, please 
> immediately delete this e-mail from your computer system and 
> notify the sender.  Thank you.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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



RE: failure notice

2004-02-05 Thread FRANCOIS Dufour
got a similaire bug wen i rite to the userlist i got an symantec 
advertisment saying that i sent
a mesage whit prohibed content  writed to them no answer does anybody got 
this bug?



[EMAIL PROTECTED]
administrateur http://entre-nous.qc.tc




From: "Shapira, Yoav" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Subject: RE: failure notice
Date: Thu, 5 Feb 2004 10:47:02 -0500
Howdy,
Should be taken care of now.  Maybe one or two more circulating, but
that's it I hope.
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: A.White [mailto:[EMAIL PROTECTED]
>Sent: Thursday, February 05, 2004 10:06 AM
>To: Tomcat Users List
>Subject: RE: failure notice
>
>Yes, I am
>
>-Original Message-
>From: Kannan Sundararajan [mailto:[EMAIL PROTECTED]
>Sent: 05 February 2004 14:34
>To: 'Tomcat Users List'
>Subject: RE: failure notice
>
>
>I am getting lot of messages like this. Any one experiencing the same?
>
>-Original Message-
>From:
>[EMAIL PROTECTED]
r
>g
>[mailto:[EMAIL PROTECTED]
a
>pache.org]
>Sent: None
>Subject: failure notice
>
>
>X-Auto: [EMAIL PROTECTED]
>X-Loop-Detect: 1
>To: [EMAIL PROTECTED]
>From: [EMAIL PROTECTED]
>Reply-To: [EMAIL PROTECTED]
>X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
>
>
>
>Hi. This is the qmail-send program at mail18b.gatewayhost.net.
>
>I'm afraid I wasn't able to deliver your message to the addresses.
>
>This is a permanent error; I've given up. Sorry it didn't work out.
>
>
>
> does not like recipient.
>
>Remote host said: ... inactive user
>
>Giving up.
>
>
>
>This is not a monitored account and replies to
>
>this account will not be received.
>
>
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]


This e-mail, including any attachments, is a confidential business 
communication, and may contain information that is confidential, 
proprietary and/or privileged.  This e-mail is intended only for the 
individual(s) to whom it is addressed, and may not be saved, copied, 
printed, disclosed or used by anyone else.  If you are not the(an) intended 
recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
MSN Search, le moteur de recherche qui pense comme vous !  
http://fr.ca.search.msn.com/

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


failure notice

2004-02-05 Thread daemon

Hi. This is the qmail-send program at mail18b.gatewayhost.net.
I'm afraid I wasn't able to deliver your message to the addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

 does not like recipient.
Remote host said: ... inactive user
Giving up.

This is not a monitored account and replies to
this account will not be received.



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



apache-tomcat ssl doc download error in IE

2004-02-05 Thread Daniel

Hi,

I'm really stumped and hope someone can provide insight :(

We got a tomcat server connected behind a an apache web server via mod_jk.

when running without ssl, a user submits a form and is able to
retrieve a pdf document (they can save or open it) using IE6.  But over
ssl they would get this error:

"Internet Explorer cannot download doc.pdf from myhost.com.
 Internet EXplorer was not able to open this Internet site. The requested
 site is either unavailable or cannnot be found. Please try again later."

This doesn't happen with Mozilla and it would work as expected.

Thing is, we've got a *solution* for this when using mod_python and
mod_perl...just not with Java/Tomcat.  The solution for those were to set
special http headers so IE can interpret things correctly:

- Pragma = 'nocache'
- Expires = 'now'
- Cache-Control = 'private'
- Content-Length = sizeof(stream)
- Content-disposition = 'attachment; filename="doc.pdf"'

This was done by a co-worker of mine and it worked.  I later saw something
about setting Cache-Control = public cuz IE won't "save" private stuff.
But even when I explicity setHeader("Cache-Control", "public") I still see
Cache-Control = private, public.

So I have 2 questions:

1. Does anyone know why there are two values even when I explicity call
   setHeader(..) for the Cache-Control?  Is Tomcat silently setting this?
   The source doesn't seem to have that though... :(

2. Has anyone run into this and solved it?  I'd be much more interested in
   this answer :))

We're using:
- Tomcat 4.0.6, via mod_jk to Apache 1.3.x with mod_ssl, on Linux.
- Turbine 2.3 framework
- JDK 1.4.x.

TIA,
Daniel

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



failure notice

2004-02-05 Thread daemon

Hi. This is the qmail-send program at mail18b.gatewayhost.net.
I'm afraid I wasn't able to deliver your message to the addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

 does not like recipient.
Remote host said: ... inactive user
Giving up.

This is not a monitored account and replies to
this account will not be received.



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



jdbc3

2004-02-05 Thread Edson Alves Pereira
Does anybody here knows where can i find jdbc3 extension to
tomcat-4.1.24?

Regards,
Edson


failure notice

2004-02-05 Thread daemon

Hi. This is the qmail-send program at mail18b.gatewayhost.net.
I'm afraid I wasn't able to deliver your message to the addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

 does not like recipient.
Remote host said: ... inactive user
Giving up.

This is not a monitored account and replies to
this account will not be received.



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



RE: encoding-problem with tomcat, jk2, apache

2004-02-05 Thread Yansheng Lin
Oh hi, I researched on the following problme last night.  And like you said, I
could display my Japanese UTF-8 encoded file with Tomcat correctly, but not with
Apache-Tomcat-jk2.  Somehow the charset was still iso-8859-1.  I couldn't figure
out why apache didn't use the UTF-8 encoding defined in httpd.conf:
AddCharset UTF-8   .utf8

So my quick fix was to change the default charset to UTF-8:
AddDefaultCharset UTF-8

After that I could see in my header, the charset is utf-8.  And I could view the
Japanese hiragan's with Apache.  But since all my pages were display under
utf-8, the font was kind of screwed up(utf-8 has less font support).  So I don't
think I found the solution to your problem.  And I couldn't spend more time on
that. Let me know if you get this one figured out.  

Have fun!

-Yan

-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Stefan Burkard
Sent: Thursday, February 05, 2004 5:18 AM
To: [EMAIL PROTECTED]
Subject: Re: encoding-problem with tomcat, jk2, apache


hi folks

ok, i've found a tool that shows the whole http-header of my requests:

if i connect directly on tomcat (port 8080) there is a 
content-type-attribute in the header that says just "text/html".

if i connect via apache/mod_jk2 the attribute has the data "text/html; 
charset=ISO-8859-1" what is completely wrong. it should be utf-8, not 
iso-8859-1.

cocoon automatically inserts the code
 into 
the html-page.

so the resulting question: why has apache/jk2 the wrong encoding? is 
there a default-encoding that is used if nothing other is specified?

greetings
stefan


Yansheng Lin wrote:
> Hi Stefan, you figured out this problem yet.  I would like to know what was
> causing the problem:).  Did you take a look at the header?  Compare the
headers
> generated when running tomcat standalone with running apache-tomcat to see the
> difference.  (I used a Encoding Filter for my i18n application, so far all the
> development had been done on a localhost).  
> 
> Good luck!
> 
> -Yan
> 
> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Stefan Burkard
> Sent: Tuesday, February 03, 2004 10:41 AM
> To: [EMAIL PROTECTED]
> Subject: encoding-problem with tomcat, jk2, apache
> 
> 
> hello tomcat-users
> 
> i've set up a cocoon-page with tomcat, apache and jk2. everything works 
> fine as long as i just use languages with standard-encoding iso-8859-1.
> 
> now i'm on the way to implement the russian version of the site and 
> therefore i need to display russian (cyrillic) characters.
> 
> if i connect on tomcat-standalone with port 8080, the russian characters 
> are displayed correct.
> but if i connect via apache and jk2, alle cyrillic characters go wrong. 
> i think apache delivers the page with iso-8859-1 instead of utf-8.
> 
> does anybody know if this is a problem of apache or jk2 and how to solve 
> it???
> 
> thanks
> stefan
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



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


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



failure notice

2004-02-05 Thread daemon

Hi. This is the qmail-send program at mail18b.gatewayhost.net.
I'm afraid I wasn't able to deliver your message to the addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

 does not like recipient.
Remote host said: ... inactive user
Giving up.

This is not a monitored account and replies to
this account will not be received.



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



failure notice

2004-02-05 Thread daemon

Hi. This is the qmail-send program at mail18b.gatewayhost.net.
I'm afraid I wasn't able to deliver your message to the addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

 does not like recipient.
Remote host said: ... inactive user
Giving up.

This is not a monitored account and replies to
this account will not be received.



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



failure notice

2004-02-05 Thread daemon

Hi. This is the qmail-send program at mail18b.gatewayhost.net.
I'm afraid I wasn't able to deliver your message to the addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

 does not like recipient.
Remote host said: ... inactive user
Giving up.

This is not a monitored account and replies to
this account will not be received.



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



RE: failure notice

2004-02-05 Thread Shapira, Yoav

Howdy,
Yeah, we got it.  Everyone is getting them.  I've tried to do what I can
to remove them, but so far that doesn't seem to work.  I'm working with
the Apache infrastructure team on this.  Meanwhile block these
senders/topics.

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Sent: Thursday, February 05, 2004 10:33 AM
>To: Tomcat Users List
>Subject: Re: failure notice
>
>yes i am also
>
>- Original Message -
>From: "Kannan Sundararajan" <[EMAIL PROTECTED]>
>To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
>Sent: Thursday, February 05, 2004 9:34 AM
>Subject: RE: failure notice
>
>
>> I am getting lot of messages like this. Any one experiencing the
same?
>>
>> -Original Message-
>> From:
>>
[EMAIL PROTECTED]
>> g
>>
[mailto:[EMAIL PROTECTED]
>> pache.org]
>> Sent: None
>> Subject: failure notice
>>
>>
>> X-Auto: [EMAIL PROTECTED]
>> X-Loop-Detect: 1
>> To: [EMAIL PROTECTED]
>> From: [EMAIL PROTECTED]
>> Reply-To: [EMAIL PROTECTED]
>> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
>>
>>
>>
>> Hi. This is the qmail-send program at mail18b.gatewayhost.net.
>>
>> I'm afraid I wasn't able to deliver your message to the addresses.
>>
>> This is a permanent error; I've given up. Sorry it didn't work out.
>>
>>
>>
>>  does not like recipient.
>>
>> Remote host said: ... inactive user
>>
>> Giving up.
>>
>>
>>
>> This is not a monitored account and replies to
>>
>> this account will not be received.
>>
>>
>>
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
>---
>Outgoing mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



CoyoteConnector startup warning

2004-02-05 Thread Vano Beridze
Hello
I've got tomcat 4.1.29
Recently I changed my http connector with Coyote Connector and my 
server.xml fragment is

.

.
When I start tomcat everything works fine, but there is a message in
catalina_log.txt
CoyoteConnector Coyote can't register jmx for protocol.

What does that mean? What should I do to remove that warning?

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


RE: [OT] avoiding getOutputStream() being called twice

2004-02-05 Thread Shapira, Yoav

Howdy,

>How can I pass a byte[] down to my client, without calling
>"response.getOutputStream" explicitly?

Can't.

>Which works for me. However, I am in danger of getting the
>"getOutputStream() called twice" error. Doesn't always happen, but
>sometimes
>it does.

When and why does it happen?

>I don't want to use the JspWriter "out" because writers use
>character streams. And everytime I use a character stream my files end
up
>corrupted when I pass a file that has "unicode" characters in it.

You should call response.setCharacterEncoding first to set it to
Unicode.  Then the writer will handle Unicode correctly.  But your
output stream approach should be fine as well, so perhaps if you provide
more details about your error...

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



failure notice

2004-02-05 Thread daemon

Hi. This is the qmail-send program at mail18b.gatewayhost.net.
I'm afraid I wasn't able to deliver your message to the addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

 does not like recipient.
Remote host said: ... inactive user
Giving up.

This is not a monitored account and replies to
this account will not be received.



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



What's the most stable version now?

2004-02-05 Thread Dmitriy .
Hi, does anyone know what the most stable version is now? We've got 4.1.29 
and it doesn't seem to be very stable and I think there was a report that it 
has memory leaks. Do you know what version is the most stable?

Thanks.

_
Tired of slow downloads? Compare online deals from your local high-speed 
providers now.  https://broadband.msn.com

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


failure notice

2004-02-05 Thread daemon

Hi. This is the qmail-send program at mail18b.gatewayhost.net.
I'm afraid I wasn't able to deliver your message to the addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

 does not like recipient.
Remote host said: ... inactive user
Giving up.

This is not a monitored account and replies to
this account will not be received.



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



RE: Tomcat Loads Deleted Context?

2004-02-05 Thread Shapira, Yoav

Howdy,

>I don't think Remy's suggestion above is unreasonable -- AS LONG AS
>IT'S DOCUMENTED (sorry for shouting).  Especially if it's as simple as
>adding a few lines in server.xml.  (Well, it would be nice if it were
>added to the server configuration documentation as well.)

Added to Context configuration documentation.  Added to Tomcat FAQ
(deployment page).  And Remy just beat me to removing the 
example altogether (as opposed to commenting it out as it has been) from
server.xml.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



failure notice

2004-02-05 Thread daemon

Hi. This is the qmail-send program at mail18b.gatewayhost.net.
I'm afraid I wasn't able to deliver your message to the addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

 does not like recipient.
Remote host said: ... inactive user
Giving up.

This is not a monitored account and replies to
this account will not be received.



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



RE: Configuration file help

2004-02-05 Thread Randall Svancara
Milt,

Thank you for your assistance.  

-Original Message-
From: Milt Epstein [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 05, 2004 8:13 AM
To: Tomcat Users List
Subject: Re: Configuration file help


On Thu, 5 Feb 2004, Randall Svancara wrote:

> I am wondering what the following configuration directive
> accomplishes for tomcat 4.1.29 in the server XML file when added
> right below the line with " debug="0">".
>
>  modJk="C:/ApacheGroup/Apache2/modules/mod_jk.dll" />
>
> Also I am currious to know what the following configuration
> directive accomplishes under the host container in the server.xml
> file.
>
>  append="true" forwardAll="false"
> modJk="C:/ApacheGroup/Apache2/modules/mod_jk.dll" />
>
> These configuration directives are posted at
> http://johnturner.com/howto/apache2-tomcat4129-jk-winxp-howto.html
> and I was just trying to understand what they accomplish, since I
> have never seen them before when configuring mod_jk with Apache Http
> server and Tomcat 4.1.29.
>
> Thank you,
>
> Randall

If memory serves, those directives are to help automatically generate
the necessary apache-related JK config stuff.  (When using mod_jk to
connect tomcat to apache, you need to add some stuff to the apache
config file.)  You might notice an extra file there, perhaps called
something like mod-jk.conf (and not sure if it generates the
workers.properties), which supposedly can be included (directly or
indirectly) in the apache config file.  I say "supposedly" because I
seem to recall that the config stuff it generated, while certainly
helpful, wasn't always 100% complete/correct, and usually needed to be
modified a bit to work.

Milt Epstein
Research Programmer
Integration and Software Engineering (ISE)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]

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


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



failure notice

2004-02-05 Thread daemon

Hi. This is the qmail-send program at mail18b.gatewayhost.net.
I'm afraid I wasn't able to deliver your message to the addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

 does not like recipient.
Remote host said: ... inactive user
Giving up.

This is not a monitored account and replies to
this account will not be received.



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



preloading JSPs

2004-02-05 Thread Alex Korneyev
Hello,

 all of my .jsp files are located on a network drive, so it takes much
 longer for them to be compiled the first time around. So, is there an
 option in 4.1.29 to preload and pre compile all the .jsp fles on
 start up?

 best regards,

 alex k


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



failure notice

2004-02-05 Thread daemon

Hi. This is the qmail-send program at mail18b.gatewayhost.net.
I'm afraid I wasn't able to deliver your message to the addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

 does not like recipient.
Remote host said: ... inactive user
Giving up.

This is not a monitored account and replies to
this account will not be received.



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



failure notice

2004-02-05 Thread daemon

Hi. This is the qmail-send program at mail18b.gatewayhost.net.
I'm afraid I wasn't able to deliver your message to the addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

 does not like recipient.
Remote host said: ... inactive user
Giving up.

This is not a monitored account and replies to
this account will not be received.



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



failure notice

2004-02-05 Thread daemon

Hi. This is the qmail-send program at mail18b.gatewayhost.net.
I'm afraid I wasn't able to deliver your message to the addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

 does not like recipient.
Remote host said: ... inactive user
Giving up.

This is not a monitored account and replies to
this account will not be received.



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



RE: Can deployment order be captured.

2004-02-05 Thread Shapira, Yoav

Howdy,

>So if I set
>autoDeploy false, who does the deployment?

The Manager webapp.

>I'm looking at your recommendation below, to be able to specify startup
>order.  The reason is not a dependency.  Rather, we have a number of
>webapps (about 15) that we want started up and ready, before the
>container attempts to start a single webapp that takes about 30 seconds
>to 'complete its startup'.  While we're waiting for this one to finish,
>our other ones are not available, and their startup time is
'vanishingly
>small'. As it happens, the 15 webapps are the ones my company makes
>money with, and the 1 that takes so d**n long is a issue tracker, for
>internal use only.

Put the issue tracker in a separate tomcat instance?  Modify its startup
so that it does the 30 second (which is not long IMHO, but obviously
that's a personal thing) operation upon the first request?
Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



RE: failure notice

2004-02-05 Thread Teresa Brydon
Try being someone who never signed up for this User List and has been
receiving all of your emails!  It's like OZ - and I don't seem to have
the good witch on my side.

>>> [EMAIL PROTECTED] 02/05/04 10:14AM >>>
Yes, me too. It's annoying.

-- 

- Tony Sutton
- http://www.hypertony.co.uk 


Quoting Kannan Sundararajan <[EMAIL PROTECTED]>:

> I am getting lot of messages like this. Any one experiencing the
same? 
> 



-
This mail sent through IMP: http://horde.org/imp/ 

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



RE: context configuration file being overwritten

2004-02-05 Thread Milt Epstein
On Wed, 4 Feb 2004, Shapira, Yoav wrote:

> >Hate to repost this unchanged, but I'm surprised this hasn't gotten
> >any response.  Any Tomcat developers on the list?  Am I missing
> >something about how context configurations files are supposed to
> >work?  Because otherwise this looks like a bug.
>
> Yes, there are tomcat developers who watch this list.  There's
> always the possibility no one cares enough to respond to your post,
> or no one is interested enough to research it.

Yes, I'm well aware of that possibility :-).


> If you think it's a bug, feel free to write and suggest a patch.  If

Again, the "fix it yourself" response.  Like I said, I don't want to
get into a discussion of this (I've been in on them in the past :-),
but, I'll just say that that reasoning only goes so far.

> you don't think this is a bug, or don't feel like writing a patch,

Actually, I don't have a problem investigating it -- and in fact I
have started to.  But it would be nice if I first at least got some
insight into how/why things work the way they do and/or a pointer,
even a rough one, to where the relevant code exists.

> change your deployment practices.

Well, in fact, I have changed them (because I've been forced to).  But
I don't like this response.  For one thing, Tomcat is a community
effort, and reporting info about suspected anomalies/bugs is one way
of participating in that community effort.

>Personally I don't deploy
> anything other than a packed WAR file to tomcat's webapps directory.
> I don't make use of symlinks nor put anything in the conf directory,
> as support for these is not mandated by the servlet specification
> and I want my app and its deployment to be portable.

This is another Pandora's box.  Not everything Tomcat does is
controlled by the spec, so some choices it makes, and some choices you
make in using it, are not going to be covered by the spec, and hence
subject to the potential of not being portable.  Further, if Tomcat
behaves some way, I think it is important to try to make sure it
behaves that way consistently, and is not subject to misbehaviors
(whether they're at the design level or the implementation level).

Milt Epstein
Research Programmer
Integration and Software Engineering (ISE)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]

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



failure notice

2004-02-05 Thread daemon

Hi. This is the qmail-send program at mail18b.gatewayhost.net.
I'm afraid I wasn't able to deliver your message to the addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

 does not like recipient.
Remote host said: ... inactive user
Giving up.

This is not a monitored account and replies to
this account will not be received.



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



RE: failure notice

2004-02-05 Thread Paresh Varatkar
I was getting lot of these in morning.
1 once I delete immediately newone use to come.
So I went to tomcat folder in my exchange 
and shift-deleted all mails from Mailer-Daemon.
Then I deleted last mail.
Then I restarted exchange and started my virus scan(Norton ant Feb 4, 2004).
Now I stopped getting these emails.
Regards
POaresh

-Original Message-
From: Tim Diez [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 05, 2004 7:14 AM
To: Tomcat Users List
Subject: RE: failure notice


Yep, I'm seeing these too:

Mycom Europe: Mail Delivery Error - [EMAIL PROTECTED]

> -Original Message-
> From: Kannan Sundararajan [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, February 05, 2004 8:34 AM
> To: 'Tomcat Users List'
> Subject: RE: failure notice
> 
> 
> I am getting lot of messages like this. Any one experiencing 
> the same? 
> 
> -Original Message-
> From: 
> [EMAIL PROTECTED]
> .apache.or
> g 
> [mailto:tomcat-user-return-91926-ksundararajan=marketaxess.com
@jakarta.a
pache.org]
Sent: None
Subject: failure notice


X-Auto: [EMAIL PROTECTED]
X-Loop-Detect: 1
To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N



Hi. This is the qmail-send program at mail18b.gatewayhost.net.

I'm afraid I wasn't able to deliver your message to the addresses.

This is a permanent error; I've given up. Sorry it didn't work out.



 does not like recipient.

Remote host said: ... inactive user

Giving up.



This is not a monitored account and replies to

this account will not be received.





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

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


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


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



Administering and monitoring under TC 5

2004-02-05 Thread Aadi Deshpande
Hello all,

There's much talk about how TC5 is JMX-enabled, so I'm wondering what 
tools are available for monitoring and administering a TC5 server.

I've checked out the manager application and it provides some basic 
information ( such as sessions ), but I was wondering what people's 
experiences were with more detailed tools ( if any exist ).

Particularly, I'm looking for monitoring software that will let me view 
the number of sessions, and how active my JNDI datasource are ( how many 
connections in the pool, how many active, etc.. ).

The manager app gives you the ability to get the number of sessions, 
but  Datasources must be listed in the globalresources section,  and to 
date, I haven't figured out how to describe a Resource/ResourceParams  
in the GlobalNamingResources section and still utilize it in my context 
( I've had to  list it under the Context that I wish to utilize it for 
).  If anyone has any hints in this department, that would be very helpful.

Finally, I'd like to know if it's possible to set up TC5 to be a 
JMX-enabled "server" in such a fashion that you can access it remotely 
using some tool like MC4J, and if so where  I can find some 
documentation wrt. setting this up.

Again, thanks for any input you may have.

-aadi



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


failure notice

2004-02-05 Thread daemon

Hi. This is the qmail-send program at mail18b.gatewayhost.net.
I'm afraid I wasn't able to deliver your message to the addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

 does not like recipient.
Remote host said: ... inactive user
Giving up.

This is not a monitored account and replies to
this account will not be received.



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



  1   2   3   >