Re: Tomcat Datasource , can we define them in war file (whithout accessing to Admin console)?

2005-12-27 Thread Legolas Woodland
Khawaja Shams wrote: Hello, I am assuming that you are trying to define this datasource in order to do application server managed connection pooling. The closest I have done to what you described is declare a datasource as a global resource in the server.xml and refer to it in context

Re[2]: About possible memory leak in Tomcat 5.x

2005-12-27 Thread Àíäðèåâñêèé Äìèòðèé
Hello Anoop, I hope you will have the tomcat developers look into this by sending this to tomcat-developers forum. I did, and they have already fixed it up in one of recent svn (is it the same as cvs?..) commit. May be not because of my letter, though :) 20.dec.05: subject: svn commit: r358036

Re: restart servlet from cron

2005-12-27 Thread Bjørge Solli
[EMAIL PROTECTED] wrote: Here's what's in one of my ant files to stop a web app. Start and restart are probably similar. taskdef name=tc-stop classname=org.apache.catalina.ant.StopTask / target name=tomcat-stop tc-stop url=http://myhost.mycompany.com/manager/;

Re: Re: Tomcat Datasource , can we define them in war file (whithout

2005-12-27 Thread Warren Pace
I'd like to know the answer to this one as well. Does Tomcat allow for per-application realms and can they be of different types (datasource realm, memory realm, etc.)? From: Legolas Woodland [EMAIL PROTECTED] Date: 2005/12/27 Tue AM 04:29:37 EST To: Tomcat Users List

Re: restart servlet from cron

2005-12-27 Thread Bjørge Solli
Bjørge Solli wrote: location=/usr/share/java/catalina5-ant.jar/ Typo. '5' in wrong place. Really sorry I bothered you all with this! -- Bjørge Solli - Private cellphone: +47 91614343 Nansen Environmental and Remote Sensing Center - Bergen http://www.nersc.no Reception: +47 55205800 Dept.:

RE: Connection refused

2005-12-27 Thread mukesh
Hi pulkit, 1) Well I can access http://server/axis/ page 2) well I am connection using stubs generated by AXIS (WSDL2Java) 3) ?? 4) I am getting nested exception is: java.net.ConnectException: Connection refused Regards, Mukesh -Original

Re: Connection refused

2005-12-27 Thread Dakota Jack
You need to give the details of your code. The issues are not related to Tomcat. On 12/27/05, mukesh [EMAIL PROTECTED] wrote: Hi pulkit, 1) Well I can access http://server/axis/ page 2) well I am connection using stubs generated by AXIS (WSDL2Java) 3)

Tomcat 5.5 installation problem

2005-12-27 Thread ebrahim . faisal
Hi I am trying to install more than one copy of Tomcat 5.5 and use Apache 2 to achieve load balancing. But i have a problem in doing so. When i install the first copy of Tomcat 5.5, it gets installed properly and works fine. But when i try to install another copy of Tomcat 5.5, i mean the

Vedr.: Tomcat 5.5 installation problem

2005-12-27 Thread Thomas Nybro Bolding
In a Windows environment (dunno about *nix) you need to: i) download the TC zip-distribution and unzip in the choosen directory (avoid spaces preferably) ii) modify server.xml accordingly ii) run services.bat to install it as a service Regards Thomas [EMAIL PROTECTED] 27-12-2005 15:00

Re: Vedr.: Tomcat 5.5 installation problem

2005-12-27 Thread ebrahim . faisal
I face the problem when i try to install using an executable apache-tomcat-5.5.12.exe. Thanks for the help Thanx Regards E.Faisal Senior Software Engineer Scandent Solutions Growing.Together. www.scandentsolutions.com 4th Floor, KRM Centre, No.2, Harrington Road, Chetpet, Chennai - 600 031

tomcat servles tutorial

2005-12-27 Thread WJ van Zyl
Hi there. Bit new to Tomcat and Servles Do anyone know of a great tutotial explaining everything. Thanks. W - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: UDP Server app

2005-12-27 Thread Caldarale, Charles R
From: kjr_23 [mailto:[EMAIL PROTECTED] Subject: RE: UDP Server app This will be a brand new application. We will be tracking a fleet of about 300 - 400 vehicles with modems in them which send out udp data. We will configure them to send to a port of our choosing. I am planning to host

RE: Tomcat uses locally only.

2005-12-27 Thread Caldarale, Charles R
From: Travis Morris [mailto:[EMAIL PROTECTED] Subject: Tomcat uses locally only. Is there a setting in the connector to specify that the server is only to be accessed via localhost? RTFM. In particular, http://tomcat.apache.org/tomcat-5.5-doc/config/http.html Look at the address

Re: Tomcat 5.5 installation problem

2005-12-27 Thread Laurent FALLET
Hello, Normally you shouldn't have any problem, I've achieved this (3 tomcat 5 on the same physical machine and OS, linked through load balancing with Apache. Try again but it should work with the usual install. Regards, Laurent 2005/12/27, [EMAIL PROTECTED] [EMAIL PROTECTED]: Hi I am

RE: UDP Server app

2005-12-27 Thread Caldarale, Charles R
From: Pulkit Singhal [mailto:[EMAIL PROTECTED] Subject: Re: UDP Server app a) I think that since main() is a static method, it should run automagically when you deploy your app into webapps and start tomcat. At best, that's wishful thinking. Tomcat is not the same as java.exe (or the

RE: Keystore password in clear text

2005-12-27 Thread Caldarale, Charles R
From: Shibu Vachery [mailto:[EMAIL PROTECTED] Subject: Keystore password in clear text Is there a way in tomcat on (Windows / Unix) that we can avoid the keystore password being set in clear text in the server.xml file? If your system is so wide open that unauthorized users have access

Re: tomcat servles tutorial

2005-12-27 Thread marju jalloh
for servlet this is the best http://pdf.coreservlets.com/ and for tomcat google tomcat tutorial Marju WJ van Zyl [EMAIL PROTECTED] wrote: Hi there. Bit new to Tomcat and Servles Do anyone know of a great tutotial explaining everything. Thanks. W

does Tomcat support optional packages?

2005-12-27 Thread Marina
Hi! I'm trying to use optional packages (JAR files) as defined in the J2EE1.4 specification, and this does not seem to work in Tomcat 5.5.12. Basically, what it is , is that you declare some JARs that you want to share between multiple WAR applications by specifying an Extension-Name attribute

RE: UDP Server app

2005-12-27 Thread KJ R
Charles, The main reason to run under Tomcat for me would be when I update the database, I'd like to use a JNDI connection pool for my dataaccess class. I'm also much more familiar with Tomcat than a standalone java app, although I'm not committed to using it. Being able to port it over to

RE: UDP Server app

2005-12-27 Thread KJ R
Yes I know JNDI itself is not a Tomcat feature, but their CONNECTION POOL implementation IS a feature I'm interested in. I'm not planning on writing my own connection pool, I like the way they've done it, as well as their price! Tomcat also offers advantages in ease of debugging, error handling,

RE: UDP Server app

2005-12-27 Thread Caldarale, Charles R
From: KJ R [mailto:[EMAIL PROTECTED] Subject: RE: UDP Server app Yes I know JNDI itself is not a Tomcat feature, but their CONNECTION POOL implementation IS a feature I'm interested in. Take a look at the DBCP package from Jakarta Commons - it's what Tomcat uses:

Re: UDP Server app

2005-12-27 Thread Martin Gainty
Agreed.. To confirm that you are already connected to the specified ports I would encourage you to take a look at netstat -a which will display all used ports in which case you can then grep for the port to ascertain its 'in use' status To extend on that concept..Take for instance SunOne which

Re: does Tomcat support optional packages?

2005-12-27 Thread Mark Thomas
Marina wrote: Does anybody know whether this optional package support exists in Tomcat, or maybe I'm doing something wrong ? It is there but the compatibility checking is too strict at the moment. See http://issues.apache.org/bugzilla/show_bug.cgi?id=37854 for more info. In summary it affects

Re: detecting a new file

2005-12-27 Thread Jeremy Thomerson
If you still need a general scheduling solution, or the suggestion(s) below won't work, perhaps you could investigate using Quartz and configuring it within your container (Spring is handy for this). http://www.opensymphony.com/quartz/ Article on others using it: