Tomcat service doesn't start the server

2004-01-07 Thread Chaikin, Yaakov Y (US SSA)
Hi, I downloaded tomcat 4.1.29 for windows and installed it. A service was installed as part of the installation. However, the server doesn't appear to be running. Only after I click on "Start Tomcat" link does the server respond to requests. When I first installed it, I seem to remember that it

Re: Can not include javascript using TC 4.1.29

2004-01-07 Thread Jacob Kjome
This is simply a matter of your context path being "/" or being something like "/mycontext". With the former, as long as you aren't one or more directories deep into your webapp, then using "script/utility.js" and "/script/utility.js" are completely equivalent. However, if you are a couple di

Re: "Silent" install of Tomcat on Windows?

2004-01-07 Thread Jacob Kjome
At 12:23 PM 1/7/2004 -0500, you wrote: Is there a command I can run from the command prompt to install it as a service after I unzip the files into a dir? Thanks, Mike Yep. Actually, this was recently discussed on the list. See.. http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/catalin

RE: Retrieving the context path from a standalone class

2004-01-07 Thread Jacob Kjome
Just to contribute to delinquency, here's a couple ways to obtain the context path at runtime from the ServletContext One way is by taking advantage of Tomcat's naming conventions with the tempdir String tempdir = "" + context.getAttribute("javax.servlet.context.tempdi

Re: Best practices - doing code pushes

2004-01-07 Thread Jacob Kjome
At 03:29 PM 1/7/2004 -0700, you wrote: I have a question about how to load a new application w/o interruption of service. What do others do to remove/reduce service interruption when doing a new code push? I would like to be able to push new code for new Axis services w/o having to kill any service

Jsp bean error

2004-01-07 Thread X V Jay
Hi, I have been unable to use jsp beans. Here are the code fragments ControllerServlet.java public class ControllerServlet extends HttpServlet { public void init(ServletConfig config) throws ServletException { . . // instantiate the DbBean DatabaseBean databaseBean = new Dat

Re: No Java compiler was found ....

2004-01-07 Thread Antony Paul
Correcting the error makes things ok. Now the error is not coming as I removed jdk1.3.1 and built TC using jdk 1.4.1. Antony Paul - Original Message - From: "Shapira, Yoav" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, January 07, 2004 7:31 PM Subject: RE

Re: Unable to access secure port on RHEL 3.0

2004-01-07 Thread Bill Barker
Also same JVM? 4.1.24 doesn't fully work with IBM's JSSE implementation. "Shapira, Yoav" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Howdy, Same tomcat version, same server.xml? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Julie christiana [mailto

Re: Making index.jsp work as welcome page after upgrade

2004-01-07 Thread Bill Barker
"Talley, Angelina" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello! I just upgraded a web application from Tomcat 4.0.6/mod_jk 1.2.5 to > Tomcat 4.1.29/mod_jk2 2.0.2 (built myself), both on Apache 1.3.27 on Linux. > Our webapp runs as the ROOT context (files are in > $TOMCAT_HO

EJP-Tracer - How to do it?

2004-01-07 Thread Patrick Willart
I am trying to find a performance problem using the EJP. I have not used such a tool before and I am struggling a bit. I manage to run tracer on a simple java program without any problems. After playing around for a few hours I also managed to configure it to trace Tomcat (main class: org.apache.c

RE: Forms Authentication

2004-01-07 Thread Gregg Bolinger
If I may ask, why would you want to hit the login page directly? Is this for a "click here to login" link? Yes, I want to have a login link and a logout link. Thanks Gregg -Original Message- From: QM [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 6:02 PM To: Tomcat Users L

RE: Making index.jsp work as welcome page after upgrade

2004-01-07 Thread Jeff Tulley
What is your apache configuration, the JkMount statements and the like? It seems like there could be a problem there and the request is never getting to Tomcat for some reason >>> [EMAIL PROTECTED] 1/7/04 2:55:41 PM >>> I don't quite understand. I have the 8080 connector commented out since we do

Re: Forms Authentication

2004-01-07 Thread Tang Wern Chait
I too need to access login page directly because, of Apache redirection to Tomcat, cannot find the login page directly. Let's say, main_page.htm is a secure page. Typing the url 'http://localhost/webapplication/main_page.htm' should bring up the login page. But it just gives me 'Error 50

Re: Tomcat 5 standalone on Linux 2.6

2004-01-07 Thread David Rees
On Wed, January 7, 2004 1at 1:54 am, Remy Maucherat wrote: > > Does anyone have stability issues on this platform (without any > LD_ASSUME_KERNEL, and with Sun JDK 1.4.2 or similar very recent VM) ? > I'm trying to compare with Redhat 9 and see if the troubles also happen > with that (cleaner) plat

Re: Forms Authentication

2004-01-07 Thread QM
: So is there a way to overcome this? BTW ? if I reference the login.jsp from : a secure page, everything works fine. So I know I have things setup : correctly thus far. If I may ask, why would you want to hit the login page directly? Is this for a "click here to login" link? -QM -- software

RE: Off-topic - Java and X11 Window Server

2004-01-07 Thread Lawrence, Gabriel
If you are running java 1.4 you might be better off setting it up to run in a headless environment. I add this to my JAVA_OPTS when running startup.sh for tomcat to do this: JAVA_OPTS="-Djava.awt.headless=true" Cheers, -gabe -Original Message- From: Patrick Willart [mailto:[EMAIL PROTE

RE: Retrieving the context path from a standalone class

2004-01-07 Thread Kent Boogaart
Thanks for your input Shapira and Mike . . . don't get me wrong, I don't want the servlet spec to change unless it really is wrong in this regard. If it isn't then I want to know the correct way to deal with the problem. Sorry for my confusion about the recommended ServletRequestListener solution

Forms Authentication

2004-01-07 Thread Gregg Bolinger
I am working with Tomcat 5 and Forms authentication. I am just using the tomcat-users.xml for now until I get everything working. What I am wondering is if I go directly to my login.jsp page instead of letting Tomcat determine if I need to go there based on the page I am accessing, how do you

Best practices - doing code pushes

2004-01-07 Thread Sean Leblanc
I have a question about how to load a new application w/o interruption of service. What do others do to remove/reduce service interruption when doing a new code push? I would like to be able to push new code for new Axis services w/o having to kill any service requests currently being serviced, a

JSP engine fails when trying to compile java / Apache /Tomcat/Windows XP ...

2004-01-07 Thread RANOBROTO DUTTA
Hello Everyone, I have installed tomcat and apache, as per the User Guide for Tomcat. I've started tomcat and apparently successfully. Apache seems to work for html files ok. When I try to use it with any of the jsp examples provided, I get the following message in my browser, instead of the js

RE: tomcat 5.0.16 Replication

2004-01-07 Thread Steve Nelson
Ends up doing the same thing. The variable was set. I checked it with an echo. -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 4:05 PM To: Tomcat Users List Subject: RE: tomcat 5.0.16 Replication you should do export LD_ASSUME_KERNEL=

Re: Tomcat maximum heap size on Linux

2004-01-07 Thread John Beamon
I've seen this answer twice today, "make scripts to stress-test your app". How do you do that? What am I connecting to and looking for in a script that stress-tests a Java servlet or web app? I'm only asking because I'm a little green at this and there are obviously other people with the sam

Re: The security example doesn't

2004-01-07 Thread FTP Admin
yep. Had exactly the same behavior bad don't know the reason! Nick wrote: Help? Installed Tomcat from the binary (5.0.16) on to a Fedora box. Tried to run the security example from the Documentation. Noticed that the link wasn't changed even though the directory had been Is: http://localhost:80

RE: tomcat 5.0.16 Replication

2004-01-07 Thread Filip Hanik
you should do export LD_ASSUME_KERNEL=2.4.1 not export set LD_ASSUME_KERNEL=2.4.1 in regular bash shell -Original Message- From: Steve Nelson [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 1:38 PM To: 'Tomcat Users List' Subject: RE: tomcat 5.0.16 Replication Heh, now I

Re: Making index.jsp work as welcome page after upgrade

2004-01-07 Thread Andres Ledesma
ok...forget the second posting... I can't help you... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Making index.jsp work as welcome page after upgrade

2004-01-07 Thread Andres Ledesma
sorry, I think I did not write what I meant to say. the point is to set the default port to 80, instead of just comment the default setting of port 8080. It should be something like ... sorry again "No hay camino a la felicidad, la felicidad es el camino" --

RE: Making index.jsp work as welcome page after upgrade

2004-01-07 Thread Talley, Angelina
I don't quite understand. I have the 8080 connector commented out since we don't want to use Tomcat as standalone. I was able to disable everything else and get Tomcat up and running standalone to verify that it worked, and it does. I just run into problems as I try to connect up to Apache. >

Re: Making index.jsp work as welcome page after upgrade

2004-01-07 Thread Andres Ledesma
I was following this thread, And it occurs to me that instead of comment the port:8080 line, write port:80 give it a try !! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Making index.jsp work as welcome page after upgrade

2004-01-07 Thread Talley, Angelina
I should add I also tried Tomcat's default ROOT webapp with the same results. I get the directory listing instead of index.jsp. If I put an index.html in the directory, it works just fine. > -Original Message- > From: Talley, Angelina > Sent: Wednesday, January 07, 2004 3:27 PM > To: 'Tom

RE: tomcat 5.0.16 Replication

2004-01-07 Thread Steve Nelson
Heh, now I am replying to myself :P I tried export set LD_ASSUME_KERNEL=2.4.1 No change in Behaviour then I tried export set LD_ASSUME_KERNEL=2.2.5 again, no change. I restarted both servers between runs. I still get the CPU going crazy Scenario. -Steve -Original Message- From: Steve

RE: tomcat 5.0.16 Replication

2004-01-07 Thread Steve Nelson
Okay, I reverted back to the 5.0.16 version and now I don't have the high CPU ute. But it takes almost 60 seconds for the Manager to request the session state. Which causes it to fail to synch about half the time. Must be something in the Synch code. Which comes back to your original comments a

RE: tomcat 5.0.16 Replication

2004-01-07 Thread Steve Nelson
Yep, also happens when I use asynch. I couldn't get the profiling files to load on the machine I am using right now, when I get back to the servers I'll try to figure out what is eating up all the CPUalthough TOP tells me arround 30% of the ute is system level as opposed the the java executabl

The security example doesn't

2004-01-07 Thread Nick
Help? Installed Tomcat from the binary (5.0.16) on to a Fedora box. Tried to run the security example from the Documentation. Noticed that the link wasn't changed even though the directory had been Is: http://localhost:8080/examples/jsp/security/protected/ Should be: http://localhost:8

RE: tomcat 5.0.16 Replication

2004-01-07 Thread Filip Hanik
I'll try to get an instance going today. Will let you know how it goes also, try asynchronous replication, does it still go to 100%? Filip -Original Message- From: Steve Nelson [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 12:08 PM To: 'Tomcat Users List' Subject: RE: tomcat

RE: Making index.jsp work as welcome page after upgrade

2004-01-07 Thread Talley, Angelina
I didn't find anything in the access logs for Apache that shows anything interesting. I watched the jk2.log to see what happened for the request, and I did see this: [Wed Jan 07 19:48:45 2004] ( info) [mod_jk2.c (465)]: mod_jk.translate(): uriMap /index.jsp ajp13:localhost:8009 Since I didn't t

RE: Tomcat 5.0.16 in XP Profesional

2004-01-07 Thread FRANCOIS Dufour
did your turn your firwall down and replaced it whit an costomisable firwall so you can open needed port ? look in the folder catalina_ home/logs if tomcat have realy started you gone a have logs files there if yess it realy stated then see want those logs says could bee usefull [EMAIL PROTECTE

Tomcat: Connection reset by peer: socket write error

2004-01-07 Thread Boemio, Neil (IT, FGIC)
My W2K, Apache 2.0.47, Tomcat 4.1.27, JK2 2.0.43 setup works fine . for a while. After an hour, a few hours, maybe minutes (I don't really see a pattern), my JSP pages will hang. When I restart the Tomcat service, everything is fine again until the next hang. Here's the sequence: About

RE: tomcat 5.0.16 Replication

2004-01-07 Thread Steve Nelson
Okay, did that got this BEGIN TO RECEIVE SENT:Default 1 RECEIVED:Default 1 FROM /10.0.0.110: SENT:Default 2 BEGIN TO RECEIVE RECEIVED:Default 2 FROM /10.0.0.110: SENT:Default 3 BEGIN TO RECEIVE RECEIVED:Default 3 FROM /10.0.0.110: SENT:Default 4 BEGIN TO RECEIVE RECEIVED:Default 4 FR

Re: Tomcat stops handling HTTP connections, socket is SYN_RECV

2004-01-07 Thread Antonio Fiol Bonnín
I have not read through all the thread, so maybe I am repeating something. If so, sorry about being lazy. You seem to be hitting maxProcessors. If you do, no more threads are created, and connections start getting into SYN_RECV state, simply because Tomcat is not accept()ing them, exactly as yo

RE: tomcat 5.0.16 Replication

2004-01-07 Thread Filip Hanik
100% cpu can mean that you have a multicast problem, try to run java -cp tomcat-replication.jar MCaster download the jar from http://cvs.apache.org/~fhanik/ Filip -Original Message- From: Steve Nelson [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 6:51 AM To: '[EMAIL PROTEC

Re: tomcat 5.0.16 Replication

2004-01-07 Thread jean-philippe . belanger
Well just to make sure that I wasn't saying something untrue. I went to check my redhats. Everything DOES work fine but it's true that there is some loop somewhere because both my tomcat are having abnormal loadavg. ie: 1.15 even with the server are idle. Jean-Philippe Bélanger Filip Hanik wr

Tomcat 5 standalone on Linux 2.6

2004-01-07 Thread Remy Maucherat
Hi, Does anyone have stability issues on this platform (without any LD_ASSUME_KERNEL, and with Sun JDK 1.4.2 or similar very recent VM) ? I'm trying to compare with Redhat 9 and see if the troubles also happen with that (cleaner) platform. Bonus question: How's the performance / scalability ?

RE: Xalan redirect (to file) within Tomcat

2004-01-07 Thread Shapira, Yoav
Howdy, Thanks for posting your findings. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Chris Ward [mailto:[EMAIL PROTECTED] >Sent: Wednesday, January 07, 2004 2:43 PM >To: Tomcat Users List >Subject: RE: Xalan redirect (to file) within Tomcat > > >> Howdy, >> I don'

RE: tomcat 5.0.16 Replication

2004-01-07 Thread Steve Nelson
My CPU Util jumps to 100% on both processes. It functions properly other than maxing the machine. BTW this is with NO load. I am going to try to profile it but the EJP profile files total over 800 meg for just starting up Tomcat. And I am off-site so I had to transfer them. -Original Messag

RE: tomcat 5.0.16 Replication

2004-01-07 Thread Filip Hanik
I had socket dead locks in the java.io.OutputStream.write that never returned, caused the system to eventually hang. in the next few weeks, I'll try to get a RH9 instance going. So everything works for you? Filip -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: We

Re: tomcat 5.0.16 Replication

2004-01-07 Thread jean-philippe . belanger
Currently running tomcat 5.0.16 with the CVS HEAD of the replication module. This is under redhat 9. So far so good. What kind of problem did you encounter under rh9? Jean-Philippe Bélanger Filip Hanik wrote: my only experience with Redhat 9 is that it doesn't play well with NIO. I have not succ

RE: Xalan redirect (to file) within Tomcat

2004-01-07 Thread Chris Ward
> Howdy, > I don't know Xalan well enough to answer, but it seems pretty > clear tomcat is looking for a class called Redirect, while > the stylesheet uses redirect. It seems like a > case-sensitivity issue, but I can't help much beyond that ;) > > Yoav Shapira I agree. Anyway, a few Google

RE: tomcat 5.0.16 Replication

2004-01-07 Thread Filip Hanik
my only experience with Redhat 9 is that it doesn't play well with NIO. I have not successfully ran tomcat clustering on RH9, I use RH8. I also don't have a RH9 machine at home yet, so I can't develop for it Filip -Original Message- From: Steve Nelson [mailto:[EMAIL PROTECTED] Sent: Wedne

Re: Making index.jsp work as welcome page after upgrade

2004-01-07 Thread QM
: Is that all you need? Or could I look somewhere else? That was it -- just a quick "very likely" test before we dive into the real troubleshooting. ;) The next step would be to check the logs for JK2 and Apache, and see what they're doing with the request for "/". Also, check Tomcat's log and s

RE: Retrieving the context path from a standalone class

2004-01-07 Thread Shapira, Yoav
Howdy, >Will it's inclusion encourage programmers to >start building bad apps (no, I think.) FYI, aside from the issue of developer versus deployer, I strongly disagree with the above: adding anything that encourages bad practices is a bad idea. It'll be like another ServletRequest#getRealPath

RE: Retrieving the context path from a standalone class

2004-01-07 Thread Shapira, Yoav
Howdy, I'm not going to explain the whole rationale behind this -- this issue was discussed by many people in details even before the first servlet spec release. You can query the JSR expert group directly if you want. But basically IMHO it comes down to one of the basic concepts behind J2EE, and

RE: Off-topic - Java and X11 Window Server

2004-01-07 Thread Patrick Willart
Dear Jose, This is the document that put me on the right track. Set the DISPLAY variable as an environment variable for the user that start Tomcat. The variable has to be set before Tomcat is started To run Xvfb in a manner that pleases Java, try: /usr/X11R6/bin/Xvfb :1 -screen 0 800x600x24 Th

Re: HttpSessionListener - sessionDestroyed

2004-01-07 Thread Rod Giffin
Chakravarthy, Sundar said: > > Does Tomcat 4.x call sessionDestroyed if the user closes his browser > window or only on Session invalidate() or timeout ( 30 mts ) ? > > Notice sessionCreated is called but not sessionDestroyed. Tomcat doesn't usually have a way to tell if the user just closes his

Re: tomcat 5 mailing list

2004-01-07 Thread epyonne
That's because Tomcat 5 (release version) is very new and most people are still using Tomcat 4.x in production. It does not pay to be in the "bleeding edge" in the production environment. As time goes by, the posts will shift from mainly version 4 to mainly version 5. If you have a question or p

RE: Retrieving the context path from a standalone class

2004-01-07 Thread Mike Curwen
I think I agree with Kent. I've felt his pain, and I've done much the same thinking on this very 'gap' in the spec/API. When I do my thinking about this topic, I tend to start moving along these lines: the request is for a fully formed URL the URL includes protocol, server (port), context path,

RE: Xalan redirect (to file) within Tomcat

2004-01-07 Thread Shapira, Yoav
Howdy, I don't know Xalan well enough to answer, but it seems pretty clear tomcat is looking for a class called Redirect, while the stylesheet uses redirect. It seems like a case-sensitivity issue, but I can't help much beyond that ;) Yoav Shapira Millennium ChemInformatics >-Original Mess

RE: Tomcat maximum heap size on Linux

2004-01-07 Thread Shapira, Yoav
Howdy, Stress-test it with your max expected load and see what happens. There's no artificial reason for it to stop at 150MB. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Mindaugas Genutis [mailto:[EMAIL PROTECTED] >Sent: Wednesday, January 07, 2004 2:45 PM >To: To

RE: tomcat 5 mailing list

2004-01-07 Thread Shapira, Yoav
Howdy, This is the list for all tomcat versions. It's only natural for users and therefore messages on this list to shift versions gradually after a major release. We still get occasional tomcat 3.x questions, not to mention the rare JServ one ;) Yoav Shapira Millennium ChemInformatics >-

RE: Off-topic - Java and X11 Window Server

2004-01-07 Thread Patrick Willart
I am not an expert on any *nix system, but faced the same problem once. I had to set to DISPLAY varirable to :1.0 (export DISPLAY=:1.0). It is important that this is set for the same user that is running Tomcat. grts, Patrick -Original Message- From: Jose Euclides da Silva Junior - DATA

RE: Xalan redirect (to file) within Tomcat

2004-01-07 Thread Chris Ward
> > Howdy, > Perhaps a case-sensitivity issue? What happens if you use > Redirect instead of redirect? > I thought that, but the "redirect" is defined in the stylesheet as... extension-element-prefixes="redirect" My example is in the samples directory in the standard Xalan d

RE: Tomcat maximum heap size on Linux

2004-01-07 Thread Mindaugas Genutis
I expect to use it a few hundred Megabytes. It was quickly increasing in my eyes and stopped on 150Mb. Looks like its the system roof. Could it be so? > Howdy, > If it doesn't need more than 150MB, it won't use more than 150MB... Are > you blindly playing around with heap numbers, or did you ac

tomcat 5 mailing list

2004-01-07 Thread Mark W. Webb
Is there a tomcat 5-specific mailing list? It seems that most of the mail deals with tomcat 4. thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Tomcat maximum heap size on Linux

2004-01-07 Thread Shapira, Yoav
Howdy, If it doesn't need more than 150MB, it won't use more than 150MB... Are you blindly playing around with heap numbers, or did you actually determine 1GB was required to handle your max expected load? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Mindaugas Genu

Re: Newbie needing help in deploying servlet

2004-01-07 Thread David
Thanks for the pointers you guys! How easily one gets lured into doing evil ;). I'll mail the author of the book I'm reding! /David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Off-topic - Java and X11 Window Server

2004-01-07 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/unix.html#x -Tim Jose Euclides da Silva Junior - DATAPREVRJ wrote: Hi guys, Have anybody ever seen this error before? The X11 seems to be alive at my environment --> Conectiva Linux. The target Java app,GraficoBig, works with a free package, called org.jfree.c

RE: Problems running pre-compiled JSP classes when in subdirectories

2004-01-07 Thread Jay Glanville
Thanks Edson. I'll try that later this week. JDG -- Jay Glanville > -Original Message- > From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 07, 2004 12:00 PM > To: 'Tomcat Users List' > Subject: RE: Problems running pre-compiled JSP classes when > in subdi

Tomcat maximum heap size on Linux

2004-01-07 Thread Mindaugas Genutis
I wanted to increase Tomcat's maximum heap size. I did it by putting the following string in the catalina.sh file (I'm running RedHat Linux): CATALINA_OPTS="-Djava.awt.headless=true -Xmx1024m" So, Tomcat can use 1Gb of my RAM. However, I'm observing Tomcat's usage with "top" under Linux and it

RE: Making index.jsp work as welcome page after upgrade

2004-01-07 Thread Talley, Angelina
Apache has the following in httpd.conf: DirectoryIndex index.html index.jsp Is that all you need? Or could I look somewhere else? > -Original Message- > From: QM [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 07, 2004 1:37 PM > To: Tomcat Users List > Subject: Re: Making

Re: Making index.jsp work as welcome page after upgrade

2004-01-07 Thread QM
: I should note that if run as Tomcat : standalone (without Apache) on Windows (haven't tried Linux because of our : authentication setup), it works perfectly. Somewhat far-fetched, but: what's the welcome-file list for Apache? I'm still running the old mod_jk (not jk2) but I noticed "in

Re: Off-topic - Java and X11 Window Server

2004-01-07 Thread Robert Hall
Yes. Try running Tomcat "headless": /usr/java/bin/java -Djava.awt.headless=true Robert Jose Euclides da Silva Junior - DATAPREVRJ wrote: Hi guys, Have anybody ever seen this error before? The X11 seems to be alive at my environment --> Conectiva Linux. The target Java app,GraficoBig,

Re: Off-topic - Java and X11 Window Server

2004-01-07 Thread QM
: Have anybody ever seen this error before? The X11 seems to be alive at my : environment --> Conectiva Linux. The target Java app,GraficoBig, works with : a free package, called org.jfree.char and org.jfree.gui. : : 500 Internal Server Error : java.lang.InternalError: Can't connect to X11 window

Re: JDBCRealm with Tomcat 5 (newbie!)

2004-01-07 Thread QM
: I was trying to find an example application using the JDBCREalm (if : possible using Mysql). I don't mean the Tomcat5 configuration part, : which is well explained in the docs, but some code clarifying the : implementation with a servlet etc. : : I don't know if you could point me to some rel

Making index.jsp work as welcome page after upgrade

2004-01-07 Thread Talley, Angelina
Hello! I just upgraded a web application from Tomcat 4.0.6/mod_jk 1.2.5 to Tomcat 4.1.29/mod_jk2 2.0.2 (built myself), both on Apache 1.3.27 on Linux. Our webapp runs as the ROOT context (files are in $TOMCAT_HOME/webapps/ROOT). We have precompiled the JSP pages for 4.1.29, but did not do that in 4

RE: invoker servlet, tomcat 4.1.29, apache 2.0.48 and connector jk2

2004-01-07 Thread Maxime Pelletier
Thanks for your help. -Original Message- From: Justin Ruthenbeck [mailto:[EMAIL PROTECTED] Sent: January 6, 2004 5:27 PM To: Tomcat Users List Subject: RE: invoker servlet, tomcat 4.1.29, apache 2.0.48 and connector jk2 Hmm -- everything looks correct (though I don't use the invoker ser

RE: Xalan redirect (to file) within Tomcat

2004-01-07 Thread Shapira, Yoav
Howdy, Perhaps a case-sensitivity issue? What happens if you use Redirect instead of redirect? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Chris Ward [mailto:[EMAIL PROTECTED] >Sent: Wednesday, January 07, 2004 12:40 PM >To: [EMAIL PROTECTED] >Subject: RE: Xalan

Off-topic - Java and X11 Window Server

2004-01-07 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Hi guys, Have anybody ever seen this error before? The X11 seems to be alive at my environment --> Conectiva Linux. The target Java app,GraficoBig, works with a free package, called org.jfree.char and org.jfree.gui. 500 Internal Server Error java.lang.InternalError: Can't connect to X11 window se

JDBCRealm with Tomcat 5 (newbie!)

2004-01-07 Thread FTP Admin
Hi, I was trying to find an example application using the JDBCREalm (if possible using Mysql). I don't mean the Tomcat5 configuration part, which is well explained in the docs, but some code clarifying the implementation with a servlet etc. I don't know if you could point me to some relevant d

Re: Tomcat hangs

2004-01-07 Thread Terry Orechia
If you are running Redhat version 9.0, then it might be a problem with NPTL( stands for Native POSIX Threading Library and it is a new form of threading introduced in RedHat with version 9.0 in RedHat 9). Try setting the following environment variable: LD_ASSUME_KERNEL=2.4.1 There is a comp

I need help with JspC

2004-01-07 Thread Ikonne, Ike
Hi all, I am new to this group, but I have a problem: I am trying to compile my jsps using the following command java -classpath javax.servlet.jar:jasper-compiler.jar:jasper-runtime.jar:commons-logging.jar org.apache.jasper.JspC -v8 newAccount.jsp But I am getting the following error mess

RE: Xalan redirect (to file) within Tomcat

2004-01-07 Thread Chris Ward
Correction to previous posting... (error message) > > > > Howdy, > > Perhaps if you provided a bit more detail than just "fails > > when used within servlet" then we could help some more ;) > > Ah. Yes. Very good point. > > > Are there any errors in your log? Do you (i.e. the user > > acco

RE: HttpSessionListener - sessionDestroyed

2004-01-07 Thread Shapira, Yoav
Howdy, >I did try and it didn't work; hence the email ;-) Good, I'm glad you tried. Session creation and destruction are not always connected to browser opening and closing. >How does one trap browser close event , javascript ? Yeah, window onClose. Be careful going down this path, however,

RE: MAPPING configuration error for request URI

2004-01-07 Thread Shapira, Yoav
Howdy, There are many possible reasons. You should have more information in your logs. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Ram [mailto:[EMAIL PROTECTED] >Sent: Wednesday, January 07, 2004 12:29 AM >To: [EMAIL PROTECTED] >Subject: MAPPING configuration err

RE: Xalan redirect (to file) within Tomcat

2004-01-07 Thread Chris Ward
> Howdy, > Perhaps if you provided a bit more detail than just "fails > when used within servlet" then we could help some more ;) Ah. Yes. Very good point. > Are there any errors in your log? Do you (i.e. the user > account running tomcat) have write permissions to the > directory/file y

RE: HttpSessionListener - sessionDestroyed

2004-01-07 Thread Chakravarthy, Sundar
Hi, I did try and it didn't work; hence the email ;-) How does one trap browser close event , javascript ? Thanks -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 11:35 AM To: Tomcat Users List Subject: RE: HttpSessionListener - sess

RE: Custom-Principal

2004-01-07 Thread Shapira, Yoav
Howdy, Hmm, I could swear I've read and answered this exact message, maybe a few weeks ago. Or maybe I'm dreaming. Anyways, you need a custom Realm implementation, probably a simple extension of one of the existing Realms (see the Realm how-to and server.xml for discussion and examples). Thi

RE: Tomcat hangs

2004-01-07 Thread Shapira, Yoav
Howdy, Look at your logs for errors, including OutOfMemoryErrors. Determine what is the maximum expected load your application needs to handle, and then determine the memory your application requires in order to handle that load with acceptable response times. Create test scripts to stress test

RE: excel from java

2004-01-07 Thread Shapira, Yoav
Howdy, If you're working with Office XP or later, you can use XML spreadsheets. It actually work great. See this URL: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_xl2 003_ta/html/odc_xmllists.asp (If the link doesn't work, it's the article titled "XML in Excel and the Spre

RE: Retrieving the context path from a standalone class

2004-01-07 Thread Shapira, Yoav
Howdy, >[kb] OK, but how can my app be agnostic of the context path if I need to do >things like dynamically construct URLs? Why does the need to request a >resource in the same web app constitute a design flaw? Surely this is a >fairly common requirement . . . how else would I index dynamic reso

RE: Unable to access secure port on RHEL 3.0

2004-01-07 Thread Shapira, Yoav
Howdy, Same tomcat version, same server.xml? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Julie christiana [mailto:[EMAIL PROTECTED] >Sent: Wednesday, January 07, 2004 7:28 AM >To: [EMAIL PROTECTED] >Subject: Unable to access secure port on RHEL 3.0 > > >Hi All, >

RE: HttpSessionListener - sessionDestroyed

2004-01-07 Thread Shapira, Yoav
Howdy, Isn't it much easier to try this than to email the list? ;) Tomcat doesn't care much for the user's browser. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Chakravarthy, Sundar [mailto:[EMAIL PROTECTED] >Sent: Wednesday, January 07, 2004 11:19 AM >To: Tomcat

RE: TC 4.1.12 on Linux - session swapping

2004-01-07 Thread Shapira, Yoav
Howdy, Perhaps a threading bug that causes a race condition to the session information. It could be in tomcat or in your webapp. It'll be hard to come with a test case that always demonstrates this issue, but if you can, please contribute the tiny webapp that illustrates the bug to bugzilla. Yo

Re: "Silent" install of Tomcat on Windows?

2004-01-07 Thread Mike Kellstrand
> Mike Kellstrand schrieb: > > Are there command-line parameters or > > any other way to invoke the process from a batch file with all the > > required settings (like install dir, and to install as a service) > > so it could be an "unattended" install? > > > Why don't you just use the zip archive

RE: Newbie needing help in deploying servlet

2004-01-07 Thread Shapira, Yoav
Howdy, Read the FAQ: http://jakarta.apache.org/tomcat/faq/misc.html#invoker Yoav Shapira Millennium ChemInformatics >-Original Message- >From: news [mailto:[EMAIL PROTECTED] On Behalf Of David >Sent: Tuesday, January 06, 2004 5:43 PM >To: [EMAIL PROTECTED] >Subject: Newbie needing help

RE: Connection Pooling

2004-01-07 Thread Edson Alves Pereira
Usually every databse has its own ConnectionPool implementation. > -- > De: James Neville[SMTP:[EMAIL PROTECTED] > Responder:Tomcat Users List > Enviada: quarta-feira, 7 de janeiro de 2004 13:50 > Para: Tomcat Users List > Assunto: Re: Connection Pooling >

RE: No Java compiler was found ....

2004-01-07 Thread Shapira, Yoav
Howdy, Did you fix the actual error that's in the log, as opposed to this tools.jar error which can sometimes mask the root cause? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Antony Paul [mailto:[EMAIL PROTECTED] >Sent: Wednesday, January 07, 2004 8:34 AM >To: Tom

RE: jdk14Logger.log NoSuchMethodError

2004-01-07 Thread Shapira, Yoav
Howdy, You can't use JDK 1.4 logging in JDK 1.3.1. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: sushma [mailto:[EMAIL PROTECTED] >Sent: Tuesday, January 06, 2004 6:22 PM >To: [EMAIL PROTECTED] >Subject: jdk14Logger.log NoSuchMethodError > >I added some of the jdk l

Re: "Silent" install of Tomcat on Windows?

2004-01-07 Thread Thomas Kellerer
Mike Kellstrand schrieb: I've poked around a bit, but could find any info on this ... The standard Tomcat installer for Windows asks a number of questions during the install. Are there command-line parameters or any other way to invoke the process from a batch file with all the required settings

RE: tomcat 5.0.16 Replication (This is a Thread is a Duplicate Pl ease Ignore)

2004-01-07 Thread Steve Nelson

tomcat 5.0.16 Replication

2004-01-07 Thread Steve Nelson
I was having random problems with clustering when starting up. Mostly it had to do with Timing out when the manager was starting up. I built the CVS version and it solved that problem. But it has caused some serious performance problems. First a little background. I have 2 servers, dual 300m

MAPPING configuration error for request URI

2004-01-07 Thread Ram
Hi All, I am getting this error in Tomcat embeded with Borland Enterprise Server. Error log : "MAPPING configuration error for request URI" This keeps coming in the log window. This has been posted before but I could not locate the exact reason. Therefore can you please point the email or suggest

  1   2   >