RE: [ANN] Apache Jakarta Tomcat 5.5.0 Released

2004-09-01 Thread V. Karthik Kumar
Hi,

Where can I get 5.5 ? (a CVS snapshot is OK.)

Regards,
Karthik.




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



Re: jndi-datasource

2004-09-01 Thread V. Karthik Kumar
Hmmm,

But seriously, there ought to be a better way to add datasources in the
future... 

Probably the only solution is to set-up a LocalDataSourceFactory, when
an entry exists in Context.xml ...  and then add these to the current
classpath... Yeah, I know it sucks, but when it's possible to have
add-on libraries, Tomcat can provide a better managed LocalDSFactory as
well, which can

a. Inherit from the Server's DS
b. Override with the User-defined one, when existent


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



RE: How to configure logs in Tomcat 5.5?

2004-09-01 Thread V. Karthik Kumar
Hi,

Are the Valves gone too?

On Wed, 2004-09-01 at 22:20, Shapira, Yoav wrote:
 Hi,
 Loggers are gone: your server.xml Logger element is invalid and should
 be removed.
 
 For configuring commons-logging with Tomcat, see
 http://jakarta.apache.org/tomcat/faq/misc.html#commonsLoggingLog4j.  If
 you're unfamiliar with commons-logging or want to learn more about it,
 check out the user guide at
 http://jakarta.apache.org/commons/logging/guide.html.
 
 Note that for people who don't care much about logging,
 System.out/System.err still behave as before, and the ServletContext#log
 method works without any special configuration.
 
 Yoav Shapira
 Millennium Research Informatics
 
 
 -Original Message-
 From: Jonathan Eric Miller [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, September 01, 2004 12:46 PM
 To: Tomcat User List
 Subject: How to configure logs in Tomcat 5.5?
 
 I noticed in the change log that some changes have been made to the way
 things are logged in Tomcat 5.5. I was using something like the
 following
 in
 my server.xml previously. However, this no longer works.
 
 Logger className=org.apache.catalina.logger.FileLogger
 directory=logs
 prefix=localhost_log.
 suffix=.txt
 timestamp=true/
 
 I'm wondering how to configure the new commons-logging? The default
 server.xml doesn't seem to have anything in it for this. Is configuring
 this
 no longer neccessary? Does it just log to catalina.out now or
 something?
 
 Jon
 
 
 -
 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: How to configure logs in Tomcat 5.5?

2004-09-01 Thread V. Karthik Kumar
Hi,

This is because the org.apache.catalina.logger.FileLogger class was
deprecated in favor of the commons-logging API (and subsequently the
log4j API, though the latter is not needed, ) ...

Also see:
http://jakarta.apache.org/commons/logging/api/org/apache/commons/logging/impl/Jdk14Logger.html

Please see this message:
http://marc.theaimsgroup.com/?l=tomcat-userm=108330970225012w=2

and a message on how to set it up, here:
http://marc.theaimsgroup.com/?l=tomcat-userm=108578233003073w=2
 
On Wed, 2004-09-01 at 22:16, Jonathan Eric Miller wrote:
 I noticed in the change log that some changes have been made to the way 
 things are logged in Tomcat 5.5. I was using something like the following in 
 my server.xml previously. However, this no longer works.
 
 Logger className=org.apache.catalina.logger.FileLogger
 directory=logs
 prefix=localhost_log.
 suffix=.txt
 timestamp=true/
 
 I'm wondering how to configure the new commons-logging? The default 
 server.xml doesn't seem to have anything in it for this. Is configuring this 
 no longer neccessary? Does it just log to catalina.out now or something?
 
 Jon
 
 
 -
 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]



Aesthetics Suggestions

2004-09-01 Thread V. Karthik Kumar
Hi,

1. Should there be a redirection page (say, index.jsp or index.htm) to
./html when manager app is invoked through http://localhost:8080/manager
, or that it entirely defeats the purpose?

2. I could run the newer version of tomcat, and a link to the admin page
has been given by default in the $CATALINA_HOME/webapps/ROOT/index.jsp
... But because the admin app was not given by default, don't you guys
feel that the link should be removed, or replaced by a page which gives
instructions on how to deploy the admin app? 

3. Should the packaging of the admin app be changed to a .war file
instead ? Else, It really doesn't make sense to split it from the main
distribution IMHO, because it is so darn inconvenient ;) to extract one
tar.gz after another... 

Regards,
Karthik


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



Hi!

2004-08-31 Thread V. Karthik Kumar
Hi,

I'm reporting this some sort of unusual behavior in the manager...  (WRT
Tomcat 5.0.27) ... 

When a user tries to start a web-app that has been started already, and
then stop it, it becomes unusable again... The current way to solve such
a thing is:

1. Shutdown the server
2. Clean up in the work/Catalina and work/Standalone directories
3. Re-start the server

Regards,
Karthik.



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



Re: tag file encoding problem

2004-08-31 Thread V. Karthik Kumar
use: 

response.setCharacterEncoding(Whatever); -- internally, this is what
the tags translate to...

Before u carry on with out.print() statements...

And one more thing.. there is an option available to add encoding
messages by default; a filter is available by default

filters.setCharacterEncodingFilter

look in the servlets-examples\WEB-INF\web.xml

:)


On Wed, 2004-09-01 at 00:37, John Villar wrote:
 then you should use the %@ page % directive. search the web it 
 has a way to specify encoding
 
 Sebastian Ryszard Kruk escribi:
 
  Dnia 08/30/2004 07:01 PM, Uytkownik John Villar napisa:
 
  i don't know much about the .tag format however, if it is an 
  XML based one, you must define the charset of your xml in the ?xml? 
  tag
 
  Sebastian Ryszard Kruk escribi:
 
  Hi,
 
  I have a strange problem - I use tomcat 5.0.14.
 
  When I try to put some strings with polish letters like ciga in 
  tag file - it results that during the translation to *.java file - 
  this text is being replaced by ciga - just as it would treat the 
  *.tag file as encoded in Latin1 rather than in UTF-8. Polish letters 
  in *.jsp files are ok, though.
 
  Any ideas ??
 
  Thanks,
 
  skruk
 
 
 
 
 
  
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
  it is not - it is rather a part of JSP page ;-(
 


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