How limit size of catalina.out ?

2004-02-29 Thread Philippe Couas
Hi, How can i limit disk size of catalina.out file in Tomcat 4.1.30 ? Curently i use crontab each day but, theres is an option perhaps ? Thanks Philippe

RE: How limit size of catalina.out ?

2004-02-29 Thread Filip Hanik \(lists\)
1. you can change startup.sh/startup.bat to not print to catalina.out at all, or 2. there is a unix pipe program called cronolog that takes the out put from std out and std err (if you pipe) it and that one will rotate the logs for you Filip -Original Message- From: Philippe Couas

Where to get binaries for JK2 connector for Linux

2004-02-29 Thread Martas
Where can I download from Linux binaries for JK2 connector, from the jakarta.apache.org site, I found just JK2 binaries for Win32 and Solaris. Thanks a lot for advise, M. == REKLAMA Java Desktop System predstavuje prvu pouzitelnu alternativu voci

Re: Ok the \admin user\password?

2004-02-29 Thread staf wagemakers
--- George Hester [EMAIL PROTECTED] wrote: I downloaded the 4.1.29 Tomcat as a zip. I unzipped and fired Tomcat up. I chose Administrator from the splash page. I was asked for a user name and password. I tried user tomcat and pass tomcat.. Denied. What should I use here? The

Re: Lost the Administrator function

2004-02-29 Thread Adam Hardy
On 02/29/2004 01:34 AM George Hester wrote: This is the error: org.apache.jasper.JasperException: Cannot find ActionMappings or ActionFormBeans collection Hmmm, sounds like your admin app is really struggling. :) I think your best bet is to do a fresh install of tomcat. If that's a problem,

Re: Lost the Administrator function

2004-02-29 Thread Adam Hardy
On 02/29/2004 02:02 PM Adam Hardy wrote: On 02/29/2004 01:34 AM George Hester wrote: This is the error: org.apache.jasper.JasperException: Cannot find ActionMappings or ActionFormBeans collection Hmmm, sounds like your admin app is really struggling. :) I think your best bet is to do a fresh

Re: Tomcat session/load capacity?

2004-02-29 Thread Tim Funk
Nope. You can an OOM exception. Because there is no way to detect in a JVM when you'll run out of memory. Like any web-application, the server strength depends as much on how the application is architected and written as well as the load it will take. Everything after that is trade offs. For

Virtual Hosts with Apache and Tomcat

2004-02-29 Thread Stephen Carville
I am having a problem with tomcat opening up up a number of connections to an oracle server that never get closed. This causes the number of open connections to build up over time and, eventually, causes the oracle server to use all of its swap. Restarting tomcat clers this up. I think there

Re: Lost the Administrator function

2004-02-29 Thread George Hester
Yeah I know. It's just the Admin function all else seems fine. So when I get to the point that using it is necessary then I'll likely have to blow it (Tomcat 4.1.29) away. I have Tomcat 4.1.30 in a different machine so I''ll try to get that one to the point where it mimcs this installation

Re: Ok the \admin user\password?

2004-02-29 Thread George Hester
Ya ya thanks. -- George Hester __ staf wagemakers [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] --- George Hester [EMAIL PROTECTED] wrote: I downloaded the 4.1.29 Tomcat as a zip. I unzipped and fired Tomcat up. I chose Administrator from the

Re: International character problem in submitting a jsp form

2004-02-29 Thread Bilge Erkan
Thanks for the answers. I found my solution. I found very good hints from the following link. http://marc.theaimsgroup.com/?l=tomcat-userm=105532850031181w=2 that I have reached from http://jakarta.apache.org/tomcat/faq/misc.html#utf8 The conversion explained in that link is really needed. Now

Deployment: admin vs manager

2004-02-29 Thread Riaan Oberholzer
Should I deploy apps with the manager or admin interface? With the manager interface, it is easier, because I can also specify my application.xml and therefor do not have to configure my datasources manually. But, using the manager interface, everytime I restart Tomcat, I have to re-install the

Re: Deployment: admin vs manager

2004-02-29 Thread Barry Kimelman
I amusing Tomcat 5.0.16 under Linux Redhat9. I am relatively new to Tomcat myself but I have found that it is easier to use the "ant" command from your command line prompt to install (ie. deploy) a Tomcat application. In either case I use the command "ant dist"command to compile my

Re: Deployment: admin vs manager

2004-02-29 Thread Riaan Oberholzer
I am relatively new to Tomcat myself but I have found that it is easier to use the ant command from your command line prompt to install (ie. deploy) a Tomcat application. My problem with the manager app is that the application doesn't appear to be persistant if the application.xml is not in

image not displayed

2004-02-29 Thread Peter Renken
Since i am new to Tomcat i installed tomcat 5 on a Suse 8.2 linux machine and tried to install the First Webapp Servlet example. I have placed all files in subdirectories of myapp, thus: myapp/src/mypackage/Hello.java, myapp/web/WEB-INF/web.xml myapp/web/image/tomcat.gif After ant install and

Re: Virtual Hosts with Apache and Tomcat

2004-02-29 Thread Christopher Schultz
Stephen, I am having a problem with tomcat opening up up a number of connections to an oracle server that never get closed. This causes the number of open connections to build up over time and, eventually, causes the oracle server to use all of its swap. That's not good :( Restarting tomcat

Re: Lost the Administrator function

2004-02-29 Thread George Hester
Well it just died entirely. crap. -- George Hester __ George Hester [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Yeah I know. It's just the Admin function all else seems fine. So when I get to the point that using it is necessary then I'll likely

Re: image not displayed

2004-02-29 Thread Christopher Schultz
Peter, Since i am new to Tomcat i installed tomcat 5 on a Suse 8.2 linux machine and tried to install the First Webapp Servlet example. I have placed all files in subdirectories of myapp, thus: myapp/src/mypackage/Hello.java, myapp/web/WEB-INF/web.xml myapp/web/image/tomcat.gif After ant

5.0.19. [Newbie] Why it doesnt run my HelloServlet

2004-02-29 Thread Nathan Gross
Hi. I am new to j2ee app server technology (although I wrote my own non-j2ee rmi version, until I realized that I am not so smart after all, and gave-up on re-inventing the wheel) and decided to take a quick into tutorial at: http://www.coreservlets.com/Apache-Tomcat-Tutorial/ . I followed it to

RE: 5.0.19. [Newbie] Why it doesnt run my HelloServlet

2004-02-29 Thread Filip Hanik \(lists\)
you need to configure your HelloWorldServlet in webapps/ROOT/WEB-INF/web.xml -Original Message- From: Nathan Gross [mailto:[EMAIL PROTECTED] Sent: Sunday, February 29, 2004 2:02 PM To: [EMAIL PROTECTED] Subject: 5.0.19. [Newbie] Why it doesnt run my HelloServlet Hi. I am new to j2ee

Re: 5.0.19. [Newbie] Why it doesnt run my HelloServlet

2004-02-29 Thread Nathan Gross
Thank you, However, the whole idea is to sidestep this step and run servlets before even really getting involved with deployment descriptors detail (I'll get there!). And I quote: The invoker servlet lets you run servlets without first making changes to your Web application's deployment

Re: image not displayed

2004-02-29 Thread Rhino
Peter, When I display images in my servlets, I don't normally define where they are in the web.xml file. I don't know Tomcat well enough to be sure if this approach is possible but I suspect the most common way to do it is the way I do it. In my case, I simply include the HTML that displays the

Net Integrator Virus Alert

2004-02-29 Thread Virus Scanner
WARNING: a virus (probably I-Worm.Moodown.b) or suspicious attachment was detected and removed from the following message from [EMAIL PROTECTED] to [EMAIL PROTECTED] Some of the content may still be readable. ---BeginMessage--- read it immediately! ---End Message---

Re: Lost the Administrator function

2004-02-29 Thread George Hester
Well I can break the Administrator functionality at will. Using the ISAPI_Redirector.dll. Once I get that working correctly and try to make a virtual directory for Tomcat not under C:\Program Files\Apache Group\Tomcat 4.1 but somewhere else all hell breaks loose in the Administrator Function.

Re: Lost the Administrator function

2004-02-29 Thread George Hester
Well just to toot my horn for now. I have it all back. But Tomcat 4.1.30 this time. No wars installed. One virtual directory hooked up to IIS. And the Adminitrator function is still working. My sever.xml is not right. I have this: Connector className=org.apache.ajp.tomcat4.Ajp13Connector

Tomcat users

2004-02-29 Thread UmamaheswarKalluru
Hello, I would like to know how many users can access Tomcat 5.0.19 per second. i.e I need to know the hit ratio. Can some one help me please? Thank you, Best Regards, Uma - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Where to get binaries for JK2 connector for Linux

2004-02-29 Thread pavan . k
u can get them at http://johnturner.com Pavan Kumar Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http://www.tcs.comDISCLAIMER: The information contained in this message is intended only and solely for the addressed individual or entity indicated in this message and for the

Re: Virtual Hosts with Apache and Tomcat

2004-02-29 Thread Stephen Carville
On Sunday February 29 2004 11:58 am, Christopher Schultz wrote: Stephen, I am having a problem with tomcat opening up up a number of connections to an oracle server that never get closed. This causes the number of open connections to build up over time and, eventually, causes the oracle

tomcat not seeing jdbc driver

2004-02-29 Thread amrita.shrivastava
---BeginMessage--- I have started a project in JSP, Java and Oracle 8i . I have Windows - NT OS. I had downloaded Tomcat-3.3.1a and have JDK1.3.1_02 . I have classes12.zip in my classpath set in my users profile since i dont have admin priviledges of the m/c. On calling Connection from Java

reclaiming memory problem

2004-02-29 Thread Jerald Powel
Hello, How might I reclaim memory, e.g after a session expires when a client browser is closed down? Predicament: as I open up new client windows, the memory (viewed in Windows task manager) creeps up with each new window opened. The app that is loaded creates a session and stores various

Need Help in Session Management !!!

2004-02-29 Thread amit varshney
I want to use tomcat user authentication in my application. for that i am using JDBCRealm.I have set the security constraint in the web.xml. So when a request for the restricted page comes a login page comes. But the problem is that it is submitting to the j_security_check and the textboxes

Webapp on it's own port

2004-02-29 Thread Gregor . Kovac
Hi! Is it possible to configure Tomcat (I don't care which version) so that specific webapp only runs on specific port? So going to http://localhost:8080/examples would work, but https://localhost:8443/examples would not Best regards, Kovi -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~

RE: Virtual Hosts with Apache and Tomcat

2004-02-29 Thread Ralph Einfeldt
Your developers may be right in the end but with wrong arguments. With virtual hosting or several webapps you have just one jvm. But each webapp has it's own classloader. If the pool is loaded by the wepapp classloader you will have one instance of the pool for each webapp. -Original

Re: Need Help in Session Management !!!

2004-02-29 Thread shanmugampl
I think you can get the user name by getting the Principal object from request and then getting the name from it like String userName = request.getUserPrincipal().getName(); -Shanmugam- amit varshney wrote: I want to use tomcat user authentication in my application. for that i am using

Re: Virtual Hosts with Apache and Tomcat

2004-02-29 Thread Antonio Fiol Bonnn
Stephen Carville wrote: Restarting tomcat clers this up. That's good! :) And bad. Every time I restart, Tomcat loses the state information for established login sessions. Customer don't like that. That (with a high probability) is because some objects they store in sessions are