Re: tomcat crash with application when doesn't found file

2007-02-13 Thread Pid
perhaps you could define in more detail what you mean by crash the server? do you mean that it shows an error page? or do you mean that it terminates the server? in which piece of code are you requesting the non-existent file? p mast wrote: But it s a recent version tomcat 5.5.20 and i

Re: Apache 2.2.4 + Tomcat 6.0.9 using mod_proxy for ColdFusion

2007-02-13 Thread Pid
Hi Dave (again), So... your Tomcat context config problem. You've got mod_proxy setup to direct some requests to a Tomcat instance, but you are sending those requests to a Tomcat that doesn't have any cfm files in it's webapp. try putting a single test.cfm (hello world type file) into the

Re: tomcat crash with application when doesn't found file

2007-02-13 Thread master
When i mean crash the server it s simply that the tomcat server stop, after the message file not found, the tomcat server simply stop (when i do a ps it isn't there anymore) the code i use is : Source myfiletxt = new StreamSource(new File(/home/mast/myfile.txt)); whell the /home/mast/myfile.txt

Re: tomcat crash with application when doesn't found file

2007-02-13 Thread Pid
[EMAIL PROTECTED] wrote: When i mean crash the server it s simply that the tomcat server stop, after the message file not found, the tomcat server simply stop (when i do a ps it isn't there anymore) the code i use is : Source myfiletxt = new StreamSource(new File(/home/mast/myfile.txt)); And

Re: tomcat crash with application when doesn't found file

2007-02-13 Thread master
the line of the code is in a servlet i call mysite.com/myservlet (but i don t have the exact line on me ) i will search it the code i use is : Source myfiletxt = new StreamSource(new File(/home/mast/myfile.txt)); And where is this line of code, in a servlet, a listener, where?

Re: tomcat crash with application when doesn't found file

2007-02-13 Thread master
Yes but my question is why a simple servlet can cause the server to stop ? is there a way to protect the tomcat server ? i know i probably make a mistake in the code but it shouldn t affect the server like that. whereabouts, in the init method? can you post the servlet code? have you

Re: tomcat crash with application when doesn't found file

2007-02-13 Thread Pid
[EMAIL PROTECTED] wrote: Yes but my question is why a simple servlet can cause the server to stop ? is there a way to protect the tomcat server ? i know i probably make a mistake in the code but it shouldn t affect the server like that. If your code is badly constructed you can cause the

Soap envelope

2007-02-13 Thread [EMAIL PROTECTED]
Hello, I am trying to consume a web service. The operation returns array of strings and when invoking the web service I am getting the following error message: Exception in thread main AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server. userException faultSubcode:

Hy Users....

2007-02-13 Thread Thomas Rafael Modeneis
what a hell, i cant use JSF with my Tomcat 5.5.20 ??? Every JSF app i´ve try load on my deploy, happen this: what can i do ?? i´m desesperate!!! thanks. type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request.

Re: tomcat crash with application when doesn't found file

2007-02-13 Thread master
Well of course but when you have many people using the server, such problem could be very bad , as an admin of the server you can't just verify each one code and can only touch the server :) If your code is badly constructed you can cause the server to fail to start properly. Fix your code, not

Tomcat as a Standalone server

2007-02-13 Thread matthedude
Hi, I am creating a simple web application that will consist of a few servlets and a MySQL database. I have installed tomcat and am using it in development with the normal 'localhost' address but have not been able to find any good tutorials on deploying the application to a web address such as

RE: Tomcat as a Standalone server

2007-02-13 Thread Peter Crowther
From: matthedude [mailto:[EMAIL PROTECTED] have not been able to find any good tutorials on deploying the application to a web address such as 'www.application.com' so that anyone on the internet can enter their information. Same as any other Web server, whether Apache, IIS, thttpd or

Re: Tomcat as a Standalone server

2007-02-13 Thread Borut Hadžialić
Buy the domain 'application.com'. After you buy it you will be able to specify the ip address of the name server responsible for resolving host names ending with 'application.com'. Install a name server on your server, and register its ip address as responsible for 'application.com' (you do that

Re: Tomcat as a Standalone server

2007-02-13 Thread Stefan
matthedude schrieb: Hi, I am creating a simple web application that will consist of a few servlets and a MySQL database. I have installed tomcat and am using it in development with the normal 'localhost' address but have not been able to find any good tutorials on deploying the application to a

Re: Apache 2.2.4 + Tomcat 6.0.9 using mod_proxy for ColdFusion

2007-02-13 Thread Dave Shuck
Sorry, I should have been more clear. ColdFusion is properly processing files that are in the Tomcat webapp directory. Here is where I currently am: If I put a cfm template into my httpd virtual site webroot ex: http://virtualsite1/helloworld.cfm

A junk file is downloaded when port number and connection scheme is mismatched in the URL

2007-02-13 Thread uday shankar Aghalaya boregowda
Hello All, I am facing a peculiar issue in my server running Apache Tomcat/5.5.9. I have a Tomcat server setup with 8080 and 8443 ports listening for http and https connections. When I access the tomcat welcome page hosted in my server as below, http://servername:8080 OR https://servername:8443

RE: A junk file is downloaded when port number and connection scheme is mismatched in the URL

2007-02-13 Thread Peter Crowther
From: uday shankar Aghalaya boregowda http://servername:8443 So. You're asking for regular HTTP over a HTTPS port. You'll see the first few bytes of the negotiation, then the protocol will stop. Use https://servername:8443 - note the s. Please let me know if there is any solution for this

Re: A junk file is downloaded when port number and connection scheme is mismatched in the URL

2007-02-13 Thread Markus Schönhaber
uday shankar Aghalaya boregowda wrote: I am facing a peculiar issue in my server running Apache Tomcat/5.5.9. I have a Tomcat server setup with 8080 and 8443 ports listening for http and https connections. When I access the tomcat welcome page hosted in my server as below,

A Howto for Tomcat 6.0.9, mod_jk, apache 2.2 load balancing + session replication

2007-02-13 Thread Sriram Narayanan
Hi all: I just got this working, so I thought of posting a small howto for the list :) An apache instance (httpd) that serves http://localhost/examples/ where /examples is served by two Tomcat instances (if one is down/unavailable, then httpd

Apache Software DST (2007) Compliance

2007-02-13 Thread Cory L Tryon
To Whom It May Concern, With the recent changes in Daylight Savings Time, business are now attempting to determine which software is DST compliant and what is not. Would someone please let me know what versions of Apache Tomcat are DST (2007) compliant, or if not, what patches are available to

Re: Apache Software DST (2007) Compliance

2007-02-13 Thread Tim Funk
Tomcat is Daylight Savings Time compatible if the JVM it is running on is. -Tim Cory L Tryon wrote: To Whom It May Concern, With the recent changes in Daylight Savings Time, business are now attempting to determine which software is DST compliant and what is not. Would someone please let me

Re: A junk file is downloaded when port number and connection scheme is mismatched in the URL

2007-02-13 Thread uday shankar Aghalaya boregowda
Hello All, Just a clarification on this again as I see some mails asking for info. I am aware, that I am trying to access the tomcat with the url, which is erroneous i.,e http://servername:8443 Is there any way I can handle this scenario and send a page not found or any other standard errors

Re: Apache Software DST (2007) Compliance

2007-02-13 Thread David Kerber
Cory L Tryon wrote: To Whom It May Concern, With the recent changes in Daylight Savings Time, business are now attempting to determine which software is DST compliant and what is not. Would someone please let me know what versions of Apache Tomcat are DST (2007) compliant, or if not, what

Re: A junk file is downloaded when port number and connection scheme is mismatched in the URL

2007-02-13 Thread Markus Schönhaber
uday shankar Aghalaya boregowda wrote: Just a clarification on this again as I see some mails asking for info. I am aware, that I am trying to access the tomcat with the url, which is erroneous i.,e http://servername:8443 Is there any way I can handle this scenario and send a page not found

[Fwd: mod_jk load balancing problem]

2007-02-13 Thread Chris Egolf
I'm resubmitting this since we didn't get any response from the original posting. In the meantime, we've tried duplicating the problem in a non-production environment, but have been unsuccessful in reproducing the problem. The problem, again, is that users with established sessions on one of

RE: A junk file is downloaded when port number and connection scheme is mismatched in the URL

2007-02-13 Thread Peter Crowther
From: uday shankar Aghalaya boregowda i.,e http://servername:8443 Is there any way I can handle this scenario and send a page not found or any other standard errors to the user instead of making him see the junk characters or having him to download a junk file(as in firefox) No. By

mod_jk seems to fail if not in debug mode

2007-02-13 Thread Dave Gardner
mod_jk seems to fail if not in debug mode I've set up my Apache/Tomcat servers and it seems to be working. However, in my httpd.conf if I use JkLogLevel info I get the following messages in my mod_jk.log file: [Tue Feb 13 08:08:45 2007] [24399:46784] [info]

soft shutdown

2007-02-13 Thread Scott Danforth
We want to convert an application currently based on JServ to Tomcat. Does Tomcat allow you to rotate servers using a soft shutdown that routes new sessions to a different container while continuing to support existing sessions? Thanks, -- Scott. -- Scott Danforth, Ph.D. Director of

(mis)interpretation of /webapps2/ in Context.docBase

2007-02-13 Thread Paul Singleton
In Tomcat 5.5.9 (JDK 1.6.0, WinXP) I have a 'webapps2' folder alongside the default 'webapps', and server.xml has Host name=localhost appBase=webapps ... Context path=/myapp docBase=../webapps2/myapp ... / which works as intended, but originally I used an absolute path e.g. Host

Re: Hy Users....

2007-02-13 Thread Bryan Basham
Hello Thomas, We will need more information to help you. The stack trace that is shown in the browser for a JSF exception is almost never useful information for debugging. Pull out the whole stack trace from the log file and send that. The log should show three stack traces; it is the third

Advice sought: Tomcat instances on separate machines join a cluster after considerable delay

2007-02-13 Thread Sriram Narayanan
Hi: Earlier today, I managed to get a Tomcat cluster fronted by httpd 2.2, and with mod_jk as the load balancer. I followed the documentation, had to change the worker from worker1 to router in one place, and was able to get everything working. When I run both the Tomcat instances on the same

Re: A junk file is downloaded when port number and connection scheme is mismatched in the URL

2007-02-13 Thread Markus Schönhaber
Please keep the discussion on the list. Udayshankar A B. wrote: To give you a brief overview of the product we are building, it provides flexibility to the admins to configure their own port number to secure/un secure communication, of course modifying the server.xml file. (This comes with a

Tomcat load up error, w/ Oracle

2007-02-13 Thread Propes, Barry L [GCG-NAOT]
Hi folks, I've been having some issues anyway with Oracle in my Java app the last week or so. Originally, I thought it was due to some references where I was using the old sun.jdbc.odbc.JdbcOdbcDriver rather than the thin Oracle driver. So in any reference I had this, I've switched it to the

RE: Tomcat load up error, w/ Oracle

2007-02-13 Thread Jason Pyeron
Are you able to connect to the Oracle box using sqlplus from the tomcat box? -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Sr. Consultant

[OT][ANN] tuc 1.0a1 - URLConnection unit testing framework built for VELTOOLS

2007-02-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, In writing unit tests for velocity tools, I needed a component to help mock-up URLConnection objects, so I built this tool. The project can be found here: http://sourceforge.net/projects/tuc I'd appreciate any feedback or suggestions for

RE: Tomcat load up error, w/ Oracle

2007-02-13 Thread Propes, Barry L [GCG-NAOT]
only periodically. -Original Message- From: Jason Pyeron [mailto:[EMAIL PROTECTED] Sent: Monday, February 12, 2007 1:35 PM To: 'Tomcat Users List' Subject: RE: Tomcat load up error, w/ Oracle Are you able to connect to the Oracle box using sqlplus from the tomcat box?

Re: Apache 2.2.4 + Tomcat 6.0.9 using mod_proxy for ColdFusion

2007-02-13 Thread Pid
Dave Shuck wrote: Sorry, I should have been more clear. ColdFusion is properly processing files that are in the Tomcat webapp directory. Here is where I currently am: If I put a cfm template into my httpd virtual site webroot ex: http://virtualsite1/helloworld.cfm

Re: Hy Users....

2007-02-13 Thread Thomas Rafael Modeneis
Hello Bryan, I´ve fixed this problem right now, i´m put the jsf-**.jar files into c:/tomcat/common/lib and all runs fine now thanks! Regards, Thomas. On Tue, 13 Feb 2007 09:31:13 -0700, Bryan Basham [EMAIL PROTECTED] wrote: Hello Thomas, We will need more information to help

RE: Tomcat load up error, w/ Oracle

2007-02-13 Thread Jason Pyeron
The I would suggest you contact you NOC/NOG to get your connectivity resolved, as it did/does not look like a Java/Tomcat based issue. If I was abetting type, I would say that there is a faulty switch on the net. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -

Re: [OT] mod_jk seems to fail if not in debug mode

2007-02-13 Thread babu
Hi, Do you have firewall configured between Apache+mod_jk and tomcat servers, if yes then try setting following parameters. worker.tomcat61.cachesize=25 worker.tomcat61.cache_timeout=20 worker.tomcat61.socket_timeout=20 worker.tomcat61.socket_keepalive=1 and also let me know what is timeout

Re: [OT] A Howto for Tomcat 6.0.9, mod_jk, apache 2.2 load balancing + session replication

2007-02-13 Thread Babu Satasiya
Hi, Please update about cluster option in server.xml, without that how does it work. If you can post all the steps will help others, otherwise it may even confuse to others. Thanks for posting on session replication, please let me know if we anyone have live application and if they go for

socket is not connected any more (errno=11)

2007-02-13 Thread Fletcher Cocquyt
We have a problem with lost submissions in a loadbalanced (mod_jk) webapp and think these errors are related - what causes error number 11 and what can be done about it? thanks! [Tue Feb 13 08:31:28 2007] [15238:0001] [info] ajp_send_request::jk_ajp_common.c (1170): (tomcat-intranet-02)

Re: A Howto for Tomcat 6.0.9, mod_jk, apache 2.2 load balancing + session replication

2007-02-13 Thread Zack Grafton
Sriram, If you would like some google indexed webspace to post this howto, let me know. Zack Sriram Narayanan wrote: Hi all: I just got this working, so I thought of posting a small howto for the list :) An apache instance (httpd) that

RE: Tomcat load up error, w/ Oracle

2007-02-13 Thread Propes, Barry L [GCG-NAOT]
ok, thanks Jason. I'll take that into account. That very well may be. As far as I can tell, even though I didn't yet implement connection pooling, which might help a little, I've properly closed all my connections within my various JSP and servlets. -Original Message- From: Jason

Help please. Does Tomcat 5.5 support PhaseListener?

2007-02-13 Thread Tony L. Mai
Hello all, I have implemented a ForcedLoginPhaseListener that would intercept every JSF Request Processing Cycle and check if user has a valid session in the HttpServletRequest. Basically the code is as followed: public class ForcedLoginPhaseListener implements PhaseListener { public

maximum number of connections/threads

2007-02-13 Thread Mirko Car
We want to create large scale chat web application based on reverse Ajax (comet). I belive we need an open connection (thread) for every user.. so I wonder if there is explicit limit of concurrent connections to one instance of Tomcat server? I was testing this issue a little bit and it seems

insight into model.do

2007-02-13 Thread Steve Ingraham
http://172.16.255.100:8080/occa/model.do;jsessionid=9212C2FF4620210C92B6 2443EE97760A I am looking for some information on how I can track down and read the particular code on a web page. Above is an address to an intranet web page that our users use to input information into a database. I

2nd Try for Advice on Tomcat Shutdown

2007-02-13 Thread Scott Danforth
Hmmm. I just joined this mailing list today, and I'm happy to see that there's lots of action. But, so far, nobody has responded to my posting. Maybe I'm asking about something so trivial that everybody thinks somebody else will respond... Anyway, having said that, I'll try again. Hopefully,

Re: insight into model.do

2007-02-13 Thread David Smith
Actually, model.do is really just an abstract path that can map to a file or a servlet. Take a look in the WEB-INF/web.xml file of the occa webapp for the servlet mappings. There should be a servlet there mapped to *.do or model.do. The class in that mapping is responsible for handling the

RE: insight into model.do

2007-02-13 Thread Steve Ingraham
I have found that section in the /occa/webapps/web.xml file. It is showing: !-- Struts Action Servlet Mapping -- - servlet-mapping servlet-nameaction/servlet-name url-pattern*.do/url-pattern /servlet-mapping - !-- JSP Servlet Mapping Note: needed if you want to use the

[OT] RE: insight into model.do

2007-02-13 Thread Haroon Rafique
On Today at 3:15pm, SI=Steve Ingraham [EMAIL PROTECTED] wrote: SI I have found that section in the /occa/webapps/web.xml file. It is SI showing: SI SI !-- Struts Action Servlet Mapping SI -- SI - servlet-mapping SI servlet-nameaction/servlet-name SI url-pattern*.do/url-pattern SI

Re: 2nd Try for Advice on Tomcat Shutdown

2007-02-13 Thread Hassan Schroeder
On 2/13/07, Scott Danforth [EMAIL PROTECTED] wrote: Hmmm. I just joined this mailing list today, But, so far, nobody has responded to my posting. Maybe I'm asking about something so trivial or maybe you're just a wee bit impatient? :-) I kind of expect there must be something in Tomcat

RE: [OT] RE: insight into model.do

2007-02-13 Thread Steve Ingraham
Yes all the code is here but I do not really know what I am looking at when I see it. In fact the source code for individual web pages and the associated commands in the code is what I am trying to track down. I feel that if I can find the location of the web page code, the struts, Java

Re: 2nd Try for Advice on Tomcat Shutdown

2007-02-13 Thread Scott Danforth
Thanks, Hassan, I've seen session replication mentioned and suspected that might be the answer now. Just stopping a worker and letting its sessions go elsewhere is certainly more elegant than waiting around for sessions to be concluded. The only problem is that my session data isn't

Re: 2nd Try for Advice on Tomcat Shutdown

2007-02-13 Thread Hassan Schroeder
On 2/13/07, Scott Danforth [EMAIL PROTECTED] wrote: The only problem is that my session data isn't serializable. So it isn't going anywhere in the near term. That is, indeed, a fly in the ointment ... :-) -- Hassan Schroeder [EMAIL PROTECTED]

RE: [OT] RE: insight into model.do

2007-02-13 Thread Steve Ingraham
Hi Steve, Since you are using a struts application, you would be better off asking this question on the struts user mailing list. In any case, you can look inside the /WEB-INF/struts-config.xml file and there should be a mapping between the action and the invoked class: e.g.,

RE: [OT] mod_jk - tomcat sending delay

2007-02-13 Thread Propes, Barry L [GCG-NAOT]
New using Tomcat 5 series -- just where is mod_jk within Tomcat? Please let me know. Thanks, -Original Message- From: babu [mailto:[EMAIL PROTECTED] Sent: Friday, February 09, 2007 4:11 PM To: users@tomcat.apache.org Subject: Re: [OT] mod_jk - tomcat sending delay Hi, We are also

RE: mod_jk - tomcat sending delay

2007-02-13 Thread Babu Satasiya
Hi, oh!! Its always - Apache+mod_jk - connecting to multiple tomcates on different systems. With regards, Babu Satasiya Propes, Barry L [GCG-NAOT] wrote: New using Tomcat 5 series -- just where is mod_jk within Tomcat? Please let me know. Thanks, -Original Message-

Problem using Tomcat in Win98

2007-02-13 Thread Rahul Choubey
Dear Friends, I am having a problem using Tomcat in Windows 98.I am using Apache Tomcat 4.1.34 and I am getting the following error on starting Tomcat:- Syntax error The JAVA_HOME environment variable is not defined This environment variable is needed to run this program Using

Re: socket is not connected any more (errno=11)

2007-02-13 Thread Mladen Turk
Fletcher Cocquyt wrote: We have a problem with lost submissions in a loadbalanced (mod_jk) webapp and think these errors are related - what causes error number 11 and what can be done about it? This is correct behavior if Tomcat closes the connection (for example you restart Tomcat or you

Re: Problem using Tomcat in Win98

2007-02-13 Thread Michael Jouravlev
On 2/13/07, Rahul Choubey [EMAIL PROTECTED] wrote: Dear Friends, I am having a problem using Tomcat in Windows 98.I am using Apache Tomcat 4.1.34 and I am getting the following error on starting Tomcat:- Syntax error The JAVA_HOME environment variable is not defined This environment

Re: Problem using Tomcat in Win98

2007-02-13 Thread Rahul Choubey
I have already increased the environment size to 2304,since earlier the error was-Out of environment space Michael Jouravlev [EMAIL PROTECTED] wrote: On 2/13/07, Rahul Choubey wrote: Dear Friends, I am having a problem using Tomcat in Windows 98.I am using Apache Tomcat 4.1.34 and I am

Re: Problem using Tomcat in Win98

2007-02-13 Thread Mladen Turk
Rahul Choubey wrote: Dear Friends, The autoexec.bat file has the following content- SET Path=e:\Oracle\Ora81\bin;C:\PROGRA~1\ORACLE\JRE\1.1.7\BIN;%PATH%;C:\PROGRA~1\MICROSOFT SQL SERVER\80\TOOLS\BINN\;C:\MSSQL7\BINN;set JAVA_HOME=D:\j2sdk1.4.2 SET