how to start an appli automatically while server startup

2007-04-16 Thread sureshrgsl
hai, everbody, i am struggled in this. please help me out. i am having one context in my webapps, i need this context starts run automatically,,while tomcat server starts. how to customize this. -- View this message in context:

will 5.5 war run on 6.x tomcat

2007-04-16 Thread Bischofs, Ingo
Hi List! As i've read, the folder structure of tomcat 6.x has changed slighlty. Does that have any impact on formerly deployed web-applications (deployed for 5.5), respectively: is an application deployed for the 5.5 release fully compatible to tomcat 6.x? Thx, Ingo This e-mail and any

Connectivity issues

2007-04-16 Thread Leon van der Merwe
Hi All, What can the following exception mean? Apr 16, 2007 10:59:51 AM org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler processConnection INFO: IOException reading request, ignored When the users try to login it just kinda hangs... Can this have something to do with the

Re: how to start an appli automatically while server startup

2007-04-16 Thread Adli
Use load-on-startup parameter under servlet context? On 4/16/07, sureshrgsl [EMAIL PROTECTED] wrote: hai, everbody, i am struggled in this. please help me out. i am having one context in my webapps, i need this context starts run automatically,,while tomcat server starts.

Re: Problems with clientAuth

2007-04-16 Thread Martin Cavanagh
do you want to excannge conf.xml files? I'll happily try yours on my computer I've had success running both OpenSSL JavaKeystore. I'm running OpenSSL now, because it is supposedly considerably faster. I'm not quite sure how to check though. One question though. I have

RE: manager and host manager not available problem

2007-04-16 Thread Caldarale, Charles R
From: Johnny Kewl [mailto:[EMAIL PROTECTED] Subject: Re: manager and host manager not available problem So does this mean under tomcat/server/ its just going to be classes and lib, no more webapps? There is no server directory in 6.0 - take a look at:

Andre Doeking ist außer Haus.

2007-04-16 Thread Andre Doeking
Ich werde ab 09.04.2007 nicht im Büro sein. Ich kehre zurück am 29.05.2007. Ich werde Ihre Nachricht alsbald möglich beantworten. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL

Re: Unable to get a Listener running

2007-04-16 Thread Rashmi Rubdi
On 4/16/07, Mike Peremsky [EMAIL PROTECTED] wrote: From the control panel. If I go to the system properties and look at the environment variables I have the following: (I do not have a JRE_HOME defined) CATALINA_HOME=c:\apache-tomcat JAVA_HOME=c:\jdk1.5.0 Path=C:\jdk1.5.0\bin;%ANT_HOME%\bin

RE: Connectivity issues

2007-04-16 Thread Propes, Barry L
that looks more like a connection with the Coyote connection handler. -Original Message- From: Leon van der Merwe [mailto:[EMAIL PROTECTED] Sent: Monday, April 16, 2007 4:45 AM To: users@tomcat.apache.org Subject: Connectivity issues Hi All, What can the following exception mean? Apr

Re: will 5.5 war run on 6.x tomcat

2007-04-16 Thread Rashmi Rubdi
On 4/16/07, Bischofs, Ingo [EMAIL PROTECTED] wrote: As i've read, the folder structure of tomcat 6.x has changed slighlty. I've upgraded from 5.5.12 to 6.0.10, yes the folder structure has changed and it looks a lot simpler and cleaner - all Tomcat apps (Manager, Host Manager etc) that I use

Re: will 5.5 war run on 6.x tomcat

2007-04-16 Thread Hassan Schroeder
On 4/16/07, Rashmi Rubdi [EMAIL PROTECTED] wrote: Tomcat 6.x implements Servlet 2.5/JSP 2.1 but Tomcat 5.5.x implements Servlet 2.4/JSP 2.0 spec according to the chart shown here: http://tomcat.apache.org/whichversion.html Tomcat 6 *adds* support for 2.5, which doesn't mean that it doesn't

Re: Connectivity issues

2007-04-16 Thread Martin Gainty
Good Morning Barry Apparently this happens during the destroy() method for Http11Connector and is essentially informational ..previous posting available at http://mail-archives.apache.org/mod_mbox/tomcat-dev/200205.mbox/[EMAIL PROTECTED] Assuming your tc client can ping/tracert thru to Tomcat

recognise tomcat finished starting up

2007-04-16 Thread dhay
Hi, We're trying to automate our acceptance tests and performing a remote install first. However, we have no way to know when Tomcat has finished starting so the tests can run. Has anyone any suggestions on the best way to do this? We're using maven and JUnit. cheers, David

Re: recognise tomcat finished starting up

2007-04-16 Thread Martin Gainty
David- If you're trying to emulate java class functionality in a tomcat environment I would suggest looking at David Weiss TomcatAwareTestCase com.dawidweiss.junittomcat.TomcatAwareTestCase http://www.cs.put.poznan.pl/dweiss/xml/projects/junit-tomcat/index.xml?lang=en Anyone else? Martin--

RE: recognise tomcat finished starting up

2007-04-16 Thread Peter Crowther
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] We're using Spring and therefore have quite a long startup time - checking if the service is started doesn't help therefore. So I'm looking for a way to detect if tomcat's startup has finished... Being the lazy guy I am, I'd set up a

Re: getResourceAsStream returning blank (NOT NULL)

2007-04-16 Thread Thomas Polliard
Tim Lucia wrote: -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Saturday, April 14, 2007 2:51 PM To: Tomcat Users List Subject: Re: getResourceAsStream returning blank (NOT NULL) Tim, Tim Lucia wrote: From: Johnny Kewl [mailto:[EMAIL PROTECTED]

Re: recognise tomcat finished starting up

2007-04-16 Thread Hassan Schroeder
On 4/16/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: So I'm looking for a way to detect if tomcat's startup has finished... Seems like a chicken-and-egg problem -- Tomcat's ready when it'll respond to your test :-) Why don't you just incorporate a loop[sleep]-on-fail in the first test?

Re: recognise tomcat finished starting up

2007-04-16 Thread Rashmi Rubdi
On 4/16/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: So I'm looking for a way to detect if tomcat's startup has finished... You didn't mention the version of Tomcat you're using. According to the Servlet 2.4 spec : The servlet context has javax.servlet.ServletContextListener just been

Re: recognise tomcat finished starting up

2007-04-16 Thread dhay
Thanks for the responses...I'll try the listener creating some kind of file I can check for the existence of - this is complicated by trying to do it remotely... A loop-on-fail in the first test would work...as long as my first test never breaks ;-) cheers, David

Re: recognise tomcat finished starting up

2007-04-16 Thread dhay
Hi Martin, Thanks for the link... I'm actually running the tests against a remote installed tomcat, by poking it over http akin to HTTPUnit. However, I'm working on automating the remote install and uninstall too. I have it working, but am trying to figure out how to tell whether the install

Re: recognise tomcat finished starting up

2007-04-16 Thread Martin Gainty
Good Morning David- If your spring webapplication is taking a long time to startup I would suggest looking at setting up Spring's config attribute as lazy-init=true When spring's lazy-init=true your BeanFactory will initialise the bean when requested (instead of initialising at startup of your

help - ssl on tomcat

2007-04-16 Thread Susan Teague Rector
Hi all, I just joined the list so please excuse if there are numerous postings about this topic. I did search the archives and have googled quite a bit but cannot figure out why SSL is not working on Tomcat. I have Tomcat 5.5 loaded on Linux Redhat. I followed these directions explicitly:

Re: help - ssl on tomcat

2007-04-16 Thread Hassan Schroeder
On 4/16/07, Susan Teague Rector [EMAIL PROTECTED] wrote: I have Tomcat 5.5 loaded on Linux Redhat. I followed these directions explicitly: http://tomcat.apache.org/tomcat-5.0-doc/ssl-howto.html Uh, you should use the documentation for the version that you're actually running, eh? :-)

Re: help - ssl on tomcat

2007-04-16 Thread Susan Teague Rector
Hi Hassan Whoops - I was using 5.5 - just didn't give you the right URL! :) Thanks for the tip - I will look at the SSL connector in the logs thank you! susan Hassan Schroeder wrote: On 4/16/07, Susan Teague Rector [EMAIL PROTECTED] wrote: I have Tomcat 5.5 loaded on Linux Redhat. I

running tomcat on a particular network interface and a particular port

2007-04-16 Thread Faheem Mitha
Hello everyone, I have a machine on which I want to run both apache (2.2) and tomcat (5.5) simultaneously and independently, both at port 443. To be more precise, say I have a machine with the two IP names foo.org and bar.org Then I want to run apache at foo.org:443, and tomcat at

Re: getResourceAsStream returning blank (NOT NULL)

2007-04-16 Thread Thomas Polliard
Christopher Schultz wrote: Tim, Tim Lucia wrote: If you have an instance, then of course you have a this and of course you can call getClass(). If you haven't got an instance, you can't call getClass(). I.e., public Foo { } Foo.getClass() -- illegal. This is never legal,

Re: running tomcat on a particular network interface and a particular port

2007-04-16 Thread Martin Gainty
Set this up declaring a different virtual host based on supplied namevirtualhost to repoint to different locations http://httpd.apache.org/docs/1.3/mod/core.html#namevirtualhost M-- This email message and any files transmitted with it contain confidential information intended only for the

Re: running tomcat on a particular network interface and a particular port

2007-04-16 Thread David Smith
If you add the address attribute to your tomcat connectors in server.xml, tomcat will bind specifically to those interfaces. See http://tomcat.apache.org/tomcat-5.5-doc/config/http.html for documentation on this. --David Faheem Mitha wrote: Hello everyone, I have a machine on which I

Re: running tomcat on a particular network interface and a particular port

2007-04-16 Thread Markus Schönhaber
Faheem Mitha wrote: I have a machine on which I want to run both apache (2.2) and tomcat (5.5) simultaneously and independently, both at port 443. To be more precise, say I have a machine with the two IP names foo.org and bar.org Your machine propably has two IP addresses. How many names

RE: recognise tomcat finished starting up

2007-04-16 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: Re: recognise tomcat finished starting up So I'm looking for a way to detect if tomcat's startup has finished... If you have remote access to Tomcat's logs directory, you could monitor the catalina.log file for the INFO: Server

Re: Quick Question for TomCat Gurus

2007-04-16 Thread Lionel Crine
There is many chance that the java binary is in fact a link to the real binary. If you want to change the java binary for all the distribution you can change this link. If not, as explained before, you only have to export the JAVA_HOME to the right binary. I suggest you to create setenv.sh

RE: Using a DataSource to access DB2.

2007-04-16 Thread Fargusson.Alan
I do not see any way to add the auth resource from the admin page, so I edited the server.xml to add it. The only change was the message Caused by: java.sql.SQLException: No suitable driver instead of the Null pointer exception. I tried changing the server.xml back and I still get the No

Re: Using a DataSource to access DB2.

2007-04-16 Thread Rashmi Rubdi
On 4/16/07, Fargusson.Alan [EMAIL PROTECTED] wrote: I do not see any way to add the auth resource from the admin page, so I edited the server.xml to add it. The only change was the message Caused by: java.sql.SQLException: No suitable driver instead of the Null pointer exception. I tried

Re: running tomcat on a particular network interface and a particular port

2007-04-16 Thread Faheem Mitha
On Mon, 16 Apr 2007, David Smith wrote: If you add the address attribute to your tomcat connectors in server.xml, tomcat will bind specifically to those interfaces. See http://tomcat.apache.org/tomcat-5.5-doc/config/http.html for documentation on this. --David Hi, Thanks to David and

Re: running tomcat on a particular network interface and a particular port

2007-04-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Faheem, Faheem Mitha wrote: I have earlier heard references made to the tomcat connector. Just to be clear, is this a separate piece of software or part of tomcat? All connectors all come bundled with Tomcat. It looks like the HTTP connector is

RE: Using a DataSource to access DB2.

2007-04-16 Thread Fargusson.Alan
I used the MySQL and Oracle examples to create a server.xml file. I don't actually have Oracle. I could probably try to get MySQL configured, but I don't know if it worth the effort. -Original Message- From: Rashmi Rubdi [mailto:[EMAIL PROTECTED] Sent: Monday, April 16, 2007 1:34 PM

Tomcat 6.0.9 connection stopped working and will not resume

2007-04-16 Thread Daniel Gresh
Hi, I was editing a JSP page. I saved the file, and refreshed the web page at http://localhost:port/myapp/page.jsp. Apparently, this caused Tomcat to shut down for some reason. I had this problem before, but I don't remember how I solved it. Anyway when I had the problem previously I was

Re: sending smtp mail failure

2007-04-16 Thread Len Popp
That's a timeout error. I was able to send an email thru smtp.google.com using Outlook Express, with no timeout error, so it looks like there's something wrong with either your email settings or your connection to gmail.com (firewall or something). Google has a troubleshooter program to diagnose

Re: Ajax xmlhttprequest

2007-04-16 Thread dimitryous r .
Hi Richard, As said earlier the only way to parse php files out of Apache Tomcat is something like: http://localhost:8080/myfile.jsp (Apache Tomcat 5.5.x) calling http://localhost/anyfile.php (Apache 1.3.xx with php/MySQL built-in) This means 2 servers running on the same machine. This

Re: Applet Help

2007-04-16 Thread dimitryous r.
If you are going to make several test with your applet you better off to turn off caching of all xxx.class and/or xxx.jar files in your JVM preferences ( Java 1.x.x Plugin Settings preferences). Once all is OK, turn it back to on. No need to switch your server on/off/on etc... Your server is

Re: running tomcat on a particular network interface and a particular port

2007-04-16 Thread Faheem Mitha
Hi, I can now get tomcat to run an ssl connector at port 8443 (Debian default), but doesn't work if I try to run it at 443. The log says: Apr 17, 2007 12:31:19 AM org.apache.catalina.startup.Catalina start SEVERE: Catalina.start: LifecycleException: service.getName(): Catalina; Protocol

Tomcat Administration

2007-04-16 Thread Venkata Naveen
hi Hi iam unable to get the tomcat administration page. It is giving the message like Tomcat's administration web application is no longer installed by default. Download and install the admin package to use it. where to get the tomcat admin package, and how to install that admin into the tomcat