Re: How to configure Taglib in Tomcat
send me the struts-config.xml and jsp please to [EMAIL PROTECTED] I shall have a look.. from what i see ... it is a jsp struts error rather than tomcat error ... also the web.xml Regards Guru - Original Message - From: Kevin Kang (CSS) [EMAIL PROTECTED] To: Tomcat User Mailing List tomcat-user@jakarta.apache.org Sent: Monday, June 27, 2005 4:22 AM Subject: How to configure Taglib in Tomcat Hi, all I am practicing Struts in Tomcat. So there is a file named struts-html.tld should be used. I have configured as what getting started said, but still got an exception. The exception info is below: org.apache.jasper.JasperException: /index.jsp(26,0) Attribute name invalid for tag form according to TLD html:form tag has been used at line 26 in index.jsp file. That tag is not default tag of html and I found tag definition in struts-html.tld, but why it still throws this kind of exception. I think maybe caused by configuring issue. So please tell me how to configure Taglib in Tomcat and what should be paid attention, thanks. Best Regards Kevin Kang MSN: [EMAIL PROTECTED] [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Please help me sir
Sir I have installed Jdk1.5.0 in windows 2000 server. After that I have installed Apache Tomcat/5.0.29. I have deployed all of my JSPs in Root directory and all of my beans in classes. Now after starting of the Tomcat server. when I want to see the paged in IE6, It is giving errors javac: target release 1.3 conflicts with default source release 1.5 . Now sir please tell me what can I I do for this purpose. Thanking you in anticipation. Regards Asit Basak email - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Please help me sir
Hello Asit Could it be that you write for Java 1.5 whilst your Tomcat somehow expects Java 1.3? Try this link: http://blog.taragana.com/index.php/archive/how-to-run-javac-15-or-beyond-compiler-for-jsp-compilation-in-tomcat-55-with-generics-enabled-and-other-15-only-features/1/ hope it helps have a nice day J.Zaruba On 6/27/05, Asit Basak [EMAIL PROTECTED] wrote: Sir I have installed Jdk1.5.0 in windows 2000 server. After that I have installed Apache Tomcat/5.0.29. I have deployed all of my JSPs in Root directory and all of my beans in classes. Now after starting of the Tomcat server. when I want to see the paged in IE6, It is giving errors javac: target release 1.3 conflicts with default source release 1.5 . Now sir please tell me what can I I do for this purpose. Thanking you in anticipation. Regards Asit Basak email - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
deploying war files
Hi, I have a project which generates log files within the project area. When I deploy a war file to a running tomcat instance the project appears to be deleted and re-created. Is there anyway to deploy automatically without deleting these files (or any files that exist in the project area that are not deployed in the war file)? I use netbeans to generate the war file if that gives me any more options on how to do this. Thanks in advance Darren - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: deploying war files
Move your log file out of your context. -Original Message- From: Darren Carman [mailto:[EMAIL PROTECTED] Sent: June 27, 2005 9:39 AM To: tomcat-user@jakarta.apache.org Subject: deploying war files Hi, I have a project which generates log files within the project area. When I deploy a war file to a running tomcat instance the project appears to be deleted and re-created. Is there anyway to deploy automatically without deleting these files (or any files that exist in the project area that are not deployed in the war file)? I use netbeans to generate the war file if that gives me any more options on how to do this. Thanks in advance Darren - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] !DSPAM:42c00287226251759967747!
AW: deploying war files
Hi Darren, what I do is to deploy the war file as zip file, then extract it and reload the applicataion. It's not very nice, but it's working automatically in an ant script, I did it because the war file deployment was to unstable. Cheers Bernhard -Ursprüngliche Nachricht- Von: Darren Carman [mailto:[EMAIL PROTECTED] Gesendet: Montag, 27. Juni 2005 15:39 An: tomcat-user@jakarta.apache.org Betreff: deploying war files Hi, I have a project which generates log files within the project area. When I deploy a war file to a running tomcat instance the project appears to be deleted and re-created. Is there anyway to deploy automatically without deleting these files (or any files that exist in the project area that are not deployed in the war file)? I use netbeans to generate the war file if that gives me any more options on how to do this. Thanks in advance Darren - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: http session lost between struts action
Jack, I dont understand why you keep saying there is nothing worng. The session got established at the log in page and kept valid in the security re-diredct pages till the welcome page. Then session got lost. Why there is nothing wrong with it? The session id did not get lost, just the http session lost. Regards, Angelina Dakota Jack [EMAIL PROTECTED] wrote: There is nothing wrong. You don't have a new session in your browser. On 6/23/05, angelina zh wrote: Hi, Can anyone please help me on this session lost issue? Here is the problem I am getting: -- If I open a IE 6.0 browser and log into the web site we are developing, I get into a welcome page with a few of link options. In the login action class, we set some attributes into the session. If I click on any of the links, I got null pointer exception in next action class when we try to get attributes from the session. I tried to use Eclipse to debug, noticed that the session of the request after the welcome page became to null. --If I keep that browser open and go to the log in page again. After I log in, I get into the welcome page and if I click any of the links now, the session of the request is not null and I can go to any links without any problem. The null pointer did not occur in the following action class. --If I close the browser then open browser again, I get NullPointerException again if I repeat those steps. What might be wrong? Thanks so much in advance. Angelina - Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football -- You can lead a horse to water but you cannot make it float on its back. ~Dakota Jack~ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: http session lost between struts action
Check these: 1. Your browser is accepting cookies 2. Your links are being generated by taglibs that insure the jsessionid is attached if needed. I say if needed because if tomcat is getting a valid session cookie from your browser, the jsessionid won't be added to the link. They don't both have to be done, but chances of eliminating errors are best if they are. Beyond that, I would have to suspect the way you are trying to access the session attributes either in setting them or in retrieving them. Could you post code snippets that show how you are setting and retrieving attributes? --David angelina zh wrote: Jack, I dont understand why you keep saying there is nothing worng. The session got established at the log in page and kept valid in the security re-diredct pages till the welcome page. Then session got lost. Why there is nothing wrong with it? The session id did not get lost, just the http session lost. Regards, Angelina Dakota Jack [EMAIL PROTECTED] wrote: There is nothing wrong. You don't have a new session in your browser. On 6/23/05, angelina zh wrote: Hi, Can anyone please help me on this session lost issue? Here is the problem I am getting: -- If I open a IE 6.0 browser and log into the web site we are developing, I get into a welcome page with a few of link options. In the login action class, we set some attributes into the session. If I click on any of the links, I got null pointer exception in next action class when we try to get attributes from the session. I tried to use Eclipse to debug, noticed that the session of the request after the welcome page became to null. --If I keep that browser open and go to the log in page again. After I log in, I get into the welcome page and if I click any of the links now, the session of the request is not null and I can go to any links without any problem. The null pointer did not occur in the following action class. --If I close the browser then open browser again, I get NullPointerException again if I repeat those steps. What might be wrong? Thanks so much in advance. Angelina - Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: http session lost between struts action
Don't know if it is related, but a note on an issue in session tracking we got here (an how we soluced it) We got the following scenario: 1) someone get a link to a struts form in an email 2) He get to the page by clicking on link 3) The page is in a 'secure' area, meaning he gets a popup from browser for the basic-auth 4) User login in and see the form (This is the first time tomcat send a webpage in this session) 5) User fills the form and submit 6) in the Action, request.getUserPrincipal() returns null Diagnostic: session is lost at the second request (that is when tomcat will check if cookies is supported) Reason: it seems tomcat does not parse the ;JSESSIONID= par of url when the form is multipart (for file uploads) Solution: have to user go to an intermediate redirect page before *and* have the browser with cookies enabled Le Lundi 27 Juin 2005 15:56, angelina zh a écrit : Jack, I dont understand why you keep saying there is nothing worng. The session got established at the log in page and kept valid in the security re-diredct pages till the welcome page. Then session got lost. Why there is nothing wrong with it? The session id did not get lost, just the http session lost. Regards, Angelina Dakota Jack [EMAIL PROTECTED] wrote: There is nothing wrong. You don't have a new session in your browser. On 6/23/05, angelina zh wrote: Hi, Can anyone please help me on this session lost issue? Here is the problem I am getting: -- If I open a IE 6.0 browser and log into the web site we are developing, I get into a welcome page with a few of link options. In the login action class, we set some attributes into the session. If I click on any of the links, I got null pointer exception in next action class when we try to get attributes from the session. I tried to use Eclipse to debug, noticed that the session of the request after the welcome page became to null. --If I keep that browser open and go to the log in page again. After I log in, I get into the welcome page and if I click any of the links now, the session of the request is not null and I can go to any links without any problem. The null pointer did not occur in the following action class. --If I close the browser then open browser again, I get NullPointerException again if I repeat those steps. What might be wrong? Thanks so much in advance. Angelina - Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football -- David Delbecq Royal Meteorological Institute of Belgium - Is there life after /sbin/halt -p? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Unable to get Console in Solaris
Hi, I have loaded Apache Tomcat 4.1 on Solaris machine. After I use the startup.sh script,Iam not getting the console. Can anyone tell me hoe do i get the console. Thank You Sharath __
Re: Unable to get Console in Solaris
Like for other unixes: tail -f logs/catalina.out Le Lundi 27 Juin 2005 17:07, Sharath Srivatsa a écrit : Hi, I have loaded Apache Tomcat 4.1 on Solaris machine. After I use the startup.sh script,Iam not getting the console. Can anyone tell me hoe do i get the console. Thank You Sharath __ -- David Delbecq Royal Meteorological Institute of Belgium - Is there life after /sbin/halt -p? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: 503 Service Temporarily Unavailable
It turns out that it was an issue with load balancing. The client had decided that they wanted to setup their own OS-level load balancing, so I had disabled it in Apache/Tomcat setup. Apparently, when they applied the patches to the servers, this must have affected their load balancing. When I restored the Apache/Tomcat load balancing, all was fine. Thank you for everyone's suggestions on this! John --- [EMAIL PROTECTED] wrote: Apache and Tomcat use ports other than 80 to communicate with each other. probably something like 8080 8007 8009 or something similar. netstat -noa works on XP, so presumable on WS2003 etc Cheap trick is to temporarily disable the firewall to see if that makes a difference. Reenabling 80 (default used by every web server) and not reenabling unknown ports (like for tomcat) is quite plausible. If you're lucky it's something that easy. I wish you luck. -Original Message- From: charly [mailto:[EMAIL PROTECTED] Sent: Saturday, June 25, 2005 2:52 AM To: Tomcat Users List Subject: Re: 503 Service Temporarily Unavailable Have you checked the tomcat/mod_jk logs (catalina,localhost)? And only to be sure... have you checked the modification dates of your apache/mod_jk config files? of course you have tried restarting tomcat and apache? I have done a quick check and it seems ok. The front page of the site is just html and it serves that up just fine, so port 80 should be fine. Is there something I'm not thinking of? John --- [EMAIL PROTECTED] wrote: I'm sure you have already, but check the Windows Firewall settings. Also check what is actually running and listening on what ports. -Original Message- From: John Lindley [mailto:[EMAIL PROTECTED] Sent: Saturday, June 25, 2005 12:41 AM To: tomcat-user@jakarta.apache.org Subject: 503 Service Temporarily Unavailable I am a consultant running Windows server 2003, Apache 2.0.54, Tomcat 5.0.28, mod_jk2 2.0.4 This machine is stored on site of my client. Last night, they applied some server patches which apparently should have had nothing to do with the Apache/Tomcat setup. Before these patches were applied, everything was working completely fine. After the patches were applied and the machine was restarted, we now get a 503 Service Temporarily Unavailable error. Apache is correctly serving html, and when port 8080 is specified Tomcat serves the jsp pages fine. I saw that someone posted almost the exact same problem on another site earlier today. Did anyone else have this problem pop up? Does anyone have any ideas? I essentially need to get this fixed before Monday, so any help would be greatly appreciated. Thanks! John ___ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Yahoo! Mail Mobile Take Yahoo! Mail with you! Check email on your mobile phone. http://mobile.yahoo.com/learn/mail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Please help with PermGen OutOfMemory error
After many webapp installs, I get this in my tomcat logs... Exception in thread ContainerBackgroundProcessor[StandardEngine[Catalina]] java.lang.OutOfMemory Error: PermGen space MaxPermSize=128m, but the errors still happen. I understand that this comes from apps not releasing all their resources. How do I track down what part of my app is leaving these resources behind? I'm hoping for pointers to tools/articles/blog entries - anything that'll let me isolate this problem (hopefully to a part of my code that I can actually fix as opposed to third party code I have no control over). thx andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: http session lost between struts action
David, Thanks a lot for your help. My browser accepts cookies. Actually I inspected the cookies as well as the session object when I was debugging. The cookies is a valid array with valid sessionId inside and the method isRequestedSessionIdFromCookie() returns true as long as the http session object is valid. But when the session got lost, the cookies became to null and the method isRequestedSessionIdFromCookie() returns false. The links are the paths defined in the struct-config.xml file. The jsessionid is still valid when the session get lost. Here is how the code looks like in the LogInAction: MyObject myObj = new MyObject(); myObj.setAbc(Abc); myObj,setDef(Def); HttpSession session = request.getSession(true); session.setAttribute(MySessionName, myObj); Here is how the code looks like in the following actions: MyObject myObj = (MyObject)request.getSession(true).getAttribute(MySessionName); I have a FrontController servlet class to hand request and response. When a link on the welcome page got clicked, I noticed that in the FrontController servlet class, the session in the request became to null via eclipse's debugging tool. (Before this point, the session is all valid.) Then in the following action class, a new standard session got created. So my personal session information totally lost. Anything else I shall try? Thanks so much! Angelina David Smith [EMAIL PROTECTED] wrote: Check these: 1. Your browser is accepting cookies 2. Your links are being generated by taglibs that insure the jsessionid is attached if needed. I say if needed because if tomcat is getting a valid session cookie from your browser, the jsessionid won't be added to the link. They don't both have to be done, but chances of eliminating errors are best if they are. Beyond that, I would have to suspect the way you are trying to access the session attributes either in setting them or in retrieving them. Could you post code snippets that show how you are setting and retrieving attributes? --David - Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football
RE: http session lost between struts action
Well the issue is request.getSession(true) Try something like MyObject myObj = new MyObject(); myObj.setAbc(Abc); myObj,setDef(Def); HttpSession session = request.getSession(false); If ( session == null ) { session = request.getSession(true); } session.setAttribute(MySessionName, myObj); HttpSession session = request.getSession(false); If ( session != null ) { MyObject myObj = (MyObject)request.getSession(true).getAttribute(MySessionName); } Because HttpSession session = request.getSession(true); will always create a new session Regards Guru -Original Message- From: angelina zh [mailto:[EMAIL PROTECTED] Sent: 27 June 2005 17:18 To: Tomcat Users List Subject: Re: http session lost between struts action David, Thanks a lot for your help. My browser accepts cookies. Actually I inspected the cookies as well as the session object when I was debugging. The cookies is a valid array with valid sessionId inside and the method isRequestedSessionIdFromCookie() returns true as long as the http session object is valid. But when the session got lost, the cookies became to null and the method isRequestedSessionIdFromCookie() returns false. The links are the paths defined in the struct-config.xml file. The jsessionid is still valid when the session get lost. Here is how the code looks like in the LogInAction: MyObject myObj = new MyObject(); myObj.setAbc(Abc); myObj,setDef(Def); HttpSession session = request.getSession(true); session.setAttribute(MySessionName, myObj); Here is how the code looks like in the following actions: MyObject myObj = (MyObject)request.getSession(true).getAttribute(MySessionName); I have a FrontController servlet class to hand request and response. When a link on the welcome page got clicked, I noticed that in the FrontController servlet class, the session in the request became to null via eclipse's debugging tool. (Before this point, the session is all valid.) Then in the following action class, a new standard session got created. So my personal session information totally lost. Anything else I shall try? Thanks so much! Angelina David Smith [EMAIL PROTECTED] wrote: Check these: 1. Your browser is accepting cookies 2. Your links are being generated by taglibs that insure the jsessionid is attached if needed. I say if needed because if tomcat is getting a valid session cookie from your browser, the jsessionid won't be added to the link. They don't both have to be done, but chances of eliminating errors are best if they are. Beyond that, I would have to suspect the way you are trying to access the session attributes either in setting them or in retrieving them. Could you post code snippets that show how you are setting and retrieving attributes? --David - Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: http session lost between struts action
I thought that at first too Guru, I had to go remind myself... looking at the javadoc for request.getSession(boolean)... Returns the current HttpSession associated with this request or, if there is no current session and create is true, returns a new session. That OR, IF clause is whats important.. it should only create a new session if none already exists. So, calling getSession(true) is going to return to you a session either way, whether it's a pre-existing one or a new one. I do however agree that calling getSession(true) in this case does not seem appropriate... Angelina, I would call it with false and check for null, as Guru says. It probably won't solve the problem, but it will tell you a little bit more, namely whether the session really exists or not in a more explicit manner. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Mon, June 27, 2005 12:23 pm, Raghupathy,Gurumoorthy said: Well the issue is request.getSession(true) Try something like MyObject myObj = new MyObject(); myObj.setAbc(Abc); myObj,setDef(Def); HttpSession session = request.getSession(false); If ( session == null ) { session = request.getSession(true); } session.setAttribute(MySessionName, myObj); HttpSession session = request.getSession(false); If ( session != null ) { MyObject myObj = (MyObject)request.getSession(true).getAttribute(MySessionName); } Because HttpSession session = request.getSession(true); will always create a new session Regards Guru -Original Message- From: angelina zh [mailto:[EMAIL PROTECTED] Sent: 27 June 2005 17:18 To: Tomcat Users List Subject: Re: http session lost between struts action David, Thanks a lot for your help. My browser accepts cookies. Actually I inspected the cookies as well as the session object when I was debugging. The cookies is a valid array with valid sessionId inside and the method isRequestedSessionIdFromCookie() returns true as long as the http session object is valid. But when the session got lost, the cookies became to null and the method isRequestedSessionIdFromCookie() returns false. The links are the paths defined in the struct-config.xml file. The jsessionid is still valid when the session get lost. Here is how the code looks like in the LogInAction: MyObject myObj = new MyObject(); myObj.setAbc(Abc); myObj,setDef(Def); HttpSession session = request.getSession(true); session.setAttribute(MySessionName, myObj); Here is how the code looks like in the following actions: MyObject myObj = (MyObject)request.getSession(true).getAttribute(MySessionName); I have a FrontController servlet class to hand request and response. When a link on the welcome page got clicked, I noticed that in the FrontController servlet class, the session in the request became to null via eclipse's debugging tool. (Before this point, the session is all valid.) Then in the following action class, a new standard session got created. So my personal session information totally lost. Anything else I shall try? Thanks so much! Angelina David Smith [EMAIL PROTECTED] wrote: Check these: 1. Your browser is accepting cookies 2. Your links are being generated by taglibs that insure the jsessionid is attached if needed. I say if needed because if tomcat is getting a valid session cookie from your browser, the jsessionid won't be added to the link. They don't both have to be done, but chances of eliminating errors are best if they are. Beyond that, I would have to suspect the way you are trying to access the session attributes either in setting them or in retrieving them. Could you post code snippets that show how you are setting and retrieving attributes? --David - Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Please help with PermGen OutOfMemory error
What is the version of your tomcat? 5.5 supposed to have resolved this issue by flush reflection cache when undeploy your web app. -Original Message- From: Andy Kriger [mailto:[EMAIL PROTECTED] Sent: June 27, 2005 12:12 PM To: tomcat-user@jakarta.apache.org Subject: Please help with PermGen OutOfMemory error After many webapp installs, I get this in my tomcat logs... Exception in thread ContainerBackgroundProcessor[StandardEngine[Catalina]] java.lang.OutOfMemory Error: PermGen space MaxPermSize=128m, but the errors still happen. I understand that this comes from apps not releasing all their resources. How do I track down what part of my app is leaving these resources behind? I'm hoping for pointers to tools/articles/blog entries - anything that'll let me isolate this problem (hopefully to a part of my code that I can actually fix as opposed to third party code I have no control over). thx andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] !DSPAM:42c02542251611437718752!
RE: http session lost between struts action
Frank, Guru Thank you guys so much for the comments. But I forget to mention that the code was originally coded to request.getSession(false). Since it did not work for me, I changed to request.getSession(true). So neither was working for me. Angelina Frank W. Zammetti [EMAIL PROTECTED] wrote: I thought that at first too Guru, I had to go remind myself... looking at the javadoc for request.getSession(boolean)... Returns the current HttpSession associated with this request or, if there is no current session and create is true, returns a new session. That OR, IF clause is whats important.. it should only create a new session if none already exists. So, calling getSession(true) is going to return to you a session either way, whether it's a pre-existing one or a new one. I do however agree that calling getSession(true) in this case does not seem appropriate... Angelina, I would call it with false and check for null, as Guru says. It probably won't solve the problem, but it will tell you a little bit more, namely whether the session really exists or not in a more explicit manner. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Mon, June 27, 2005 12:23 pm, Raghupathy,Gurumoorthy said: Well the issue is request.getSession(true) Try something like MyObject myObj = new MyObject(); myObj.setAbc(Abc); myObj,setDef(Def); HttpSession session = request.getSession(false); If ( session == null ) { session = request.getSession(true); } session.setAttribute(MySessionName, myObj); HttpSession session = request.getSession(false); If ( session != null ) { MyObject myObj = (MyObject)request.getSession(true).getAttribute(MySessionName); } Because HttpSession session = request.getSession(true); will always create a new session Regards Guru -Original Message- From: angelina zh [mailto:[EMAIL PROTECTED] Sent: 27 June 2005 17:18 To: Tomcat Users List Subject: Re: http session lost between struts action David, Thanks a lot for your help. My browser accepts cookies. Actually I inspected the cookies as well as the session object when I was debugging. The cookies is a valid array with valid sessionId inside and the method isRequestedSessionIdFromCookie() returns true as long as the http session object is valid. But when the session got lost, the cookies became to null and the method isRequestedSessionIdFromCookie() returns false. The links are the paths defined in the struct-config.xml file. The jsessionid is still valid when the session get lost. Here is how the code looks like in the LogInAction: MyObject myObj = new MyObject(); myObj.setAbc(Abc); myObj,setDef(Def); HttpSession session = request.getSession(true); session.setAttribute(MySessionName, myObj); Here is how the code looks like in the following actions: MyObject myObj = (MyObject)request.getSession(true).getAttribute(MySessionName); I have a FrontController servlet class to hand request and response. When a link on the welcome page got clicked, I noticed that in the FrontController servlet class, the session in the request became to null via eclipse's debugging tool. (Before this point, the session is all valid.) Then in the following action class, a new standard session got created. So my personal session information totally lost. Anything else I shall try? Thanks so much! Angelina David Smith wrote: Check these: 1. Your browser is accepting cookies 2. Your links are being generated by taglibs that insure the jsessionid is attached if needed. I say if needed because if tomcat is getting a valid session cookie from your browser, the jsessionid won't be added to the link. They don't both have to be done, but chances of eliminating errors are best if they are. Beyond that, I would have to suspect the way you are trying to access the session attributes either in setting them or in retrieving them. Could you post code snippets that show how you are setting and retrieving attributes? --David - Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: Please help with PermGen OutOfMemory error
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Phillip Qin wrote: What is the version of your tomcat? 5.5 supposed to have resolved this issue by flush reflection cache when undeploy your web app. I get this with 5.5.9, using jdk 1.5, under Solaris 8, when I copy my new beehive-based webapp into my webapps directory. After about 5-8 new versions within a few hours then I get this error and have to restart tomcat. - -- Love is mutual self-giving that ends in self-recovery. Fulton Sheen James Black[EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCwDZhikQgpVn8xrARAmGqAJ90O/O0HFgB6cCL/PvpcqOldhoFPQCeJ60A kPBnA55zhnUmNtiNp6z1iqU= =s7n+ -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Please help with PermGen OutOfMemory error
I did see this issue happened with my tomcat 4.1/5.0. After I upgraded to 5.5, I have encountered any outofmemory even after 100 hundreds deployments. Does your web app use struts? You can always clean up resource by adding Introspector.flushCaches(); in your context listener's contextDestroyed method. Otherwise, you will have to go through your web app carefully to find out if there is any memory leak. -Original Message- From: James Black [mailto:[EMAIL PROTECTED] Sent: June 27, 2005 1:25 PM To: Tomcat Users List Subject: Re: Please help with PermGen OutOfMemory error -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Phillip Qin wrote: What is the version of your tomcat? 5.5 supposed to have resolved this issue by flush reflection cache when undeploy your web app. I get this with 5.5.9, using jdk 1.5, under Solaris 8, when I copy my new beehive-based webapp into my webapps directory. After about 5-8 new versions within a few hours then I get this error and have to restart tomcat. - -- Love is mutual self-giving that ends in self-recovery. Fulton Sheen James Black[EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCwDZhikQgpVn8xrARAmGqAJ90O/O0HFgB6cCL/PvpcqOldhoFPQCeJ60A kPBnA55zhnUmNtiNp6z1iqU= =s7n+ -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] !DSPAM:42c03666260791431712512!
Re: Please help with PermGen OutOfMemory error
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Phillip Qin wrote: I did see this issue happened with my tomcat 4.1/5.0. After I upgraded to 5.5, I have encountered any outofmemory even after 100 hundreds deployments. Does your web app use struts? You can always clean up resource by adding Introspector.flushCaches(); in your context listener's contextDestroyed method. Otherwise, you will have to go through your web app carefully to find out if there is any memory leak. Struts is used in my beehive-based project (http://incubator.apache.org/beehive), but I will need to check if there is some memory leak otherwise. Thanx. - -- Love is mutual self-giving that ends in self-recovery. Fulton Sheen James Black[EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCwEduikQgpVn8xrARAooaAJsEjG6T/a52rsNyIQjIPbbOP7nm7ACfepMP ukLUqtHP8YY5mkK41AEdcFk= =lOrA -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Building tomcat-connectors with ANT
Has anyone been successful in this? The documentation seems to be very scarce to say the least. -SB - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Building tomcat-connectors with ANT
BATCHELOR, SCOTT (CONTRACTOR) wrote: Has anyone been successful in this? Yes. Regularly. 4.1.x, 5.0.x and 5.5.x Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
how to change default logs path directory
Hi, OS: Windows Tomcat: 5.5.9 Tomcat User: student without privilege, will not have the wright to write in CATALINA_HOME Each student will have its own webapps, logs, work etc. directories. By default all logs in Tomcat 5.5.9 are written in CATALINA_HOME/logs directory. Logs doc http://jakarta.apache.org/tomcat/faq/logging.html [ As you read these questions, please keep in mind that Tomcat's internal logging is separate from your own webapp's logging. You would typically be concerned only with your own webapp's logging.] I suppose by Tomcat's internal logging they meant the logs sent to the file catalina.-MM-DD.log? if so, how to change the default directory of the Tomcat's internal logging? Why I want to do it As I said, I would like each user, without privilege, running Tomcat on a windows machine to have his/her own logs, even the server logs. I tried to move elsewhere the logs, by changing the default path. For localhost's log file, I added AccessLogValve to the engine and host in server.xml; and context in context.xml, problem resolved. But I didn't find a way to change the default directory for the file catalina.-MM-DD.log! Thx! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Building tomcat-connectors with ANT
Would you mind pointing me in the right direction for some docs? I really only want to build mod_jk Thanks, -SB -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Monday, June 27, 2005 2:08 PM To: Tomcat Users List Subject: Re: Building tomcat-connectors with ANT BATCHELOR, SCOTT (CONTRACTOR) wrote: Has anyone been successful in this? Yes. Regularly. 4.1.x, 5.0.x and 5.5.x Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Please help with PermGen OutOfMemory error
As per tools - I think you can use JMeter. It gives u some pretty useful graphs and analysis. -Anoop On 6/27/05, James Black [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Phillip Qin wrote: I did see this issue happened with my tomcat 4.1/5.0. After I upgraded to 5.5, I have encountered any outofmemory even after 100 hundreds deployments. Does your web app use struts? You can always clean up resource by adding Introspector.flushCaches(); in your context listener's contextDestroyed method. Otherwise, you will have to go through your web app carefully to find out if there is any memory leak. Struts is used in my beehive-based project (http://incubator.apache.org/beehive), but I will need to check if there is some memory leak otherwise. Thanx. - -- Love is mutual self-giving that ends in self-recovery. Fulton Sheen James Black[EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCwEduikQgpVn8xrARAooaAJsEjG6T/a52rsNyIQjIPbbOP7nm7ACfepMP ukLUqtHP8YY5mkK41AEdcFk= =lOrA -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Thanks and best regards, Anoop - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Building tomcat-connectors with ANT
Ah. It wasn't clear from your original post which part of the connectors you were trying to build. I was referring to the Tomcat end of things (the Java AJP/HTTP connectors) rather than mod_jk. The following from the dev list might help. Failing that, with the clarification of what it is you want to do, someone else may pitch in with some help. http://marc.theaimsgroup.com/?l=tomcat-devm=50341215849w=2 Mark BATCHELOR, SCOTT (CONTRACTOR) wrote: Would you mind pointing me in the right direction for some docs? I really only want to build mod_jk Thanks, -SB -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Monday, June 27, 2005 2:08 PM To: Tomcat Users List Subject: Re: Building tomcat-connectors with ANT BATCHELOR, SCOTT (CONTRACTOR) wrote: Has anyone been successful in this? Yes. Regularly. 4.1.x, 5.0.x and 5.5.x Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat Just Shuts down without reason (that i can see)
Tomcat 4.1.31 - Solaris 9 - Java 1.5 Currently Tomcat shuts down after what seems to be a variable amount of time.All contexts within the host are shut down And the following are evident in the logs:- log12005-06-27 17:15:41 StandardHost[localhost]: Removing web application at context path /admin2005-06-27 17:15:41 StandardHost[localhost]: Removing web application at context path /webdav2005-06-27 17:15:41 StandardHost[localhost]: Removing web application at context path /examples2005-06-27 17:15:41 StandardHost[localhost]: Removing web application at context path /tomcat-docs2005-06-27 17:15:41 StandardHost[localhost]: Removing web application at context path /arsys2005-06-27 17:15:41 StandardHost[localhost]: Removing web application at context path 2005-06-27 17:15:41 StandardHost[localhost]: Removing web application at context path /manager log2 2005-06-27 17:15:41 StandardContext[/arsys]: Stopping2005-06-27 17:15:41 StandardContext[/arsys]: Stopping filters2005-06-27 17:15:41 StandardContext[/arsys]: Sending application stop events2005-06-27 17:15:41 StandardContext[/arsys]: Processing standard container shutdown2005-06-27 17:15:41 ContextConfig[/arsys]: ContextConfig: Processing STOP2005-06-27 17:15:41 StandardContext[/arsys]: Stopping complete log3 2005-06-27 17:15:41 SessionListener: contextDestroyed()2005-06-27 17:15:41 ContextListener: contextDestroyed() Looks like its performing a normal shutdown to me - but why? is it an inactivity timeout - as i am not seeing any activity around the time of the shutdown. This is the second server we have had this happen on and on two different versions of tomcat and two versions of Java. Any ideas? Simon Taylor (Engineer)Service Tools Solutions (STS)Nortel p - 01628 617291 (ESN 6 861 7291)m - 07740 533743 (ESN 748 3743)e - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
img tag's src not working for image files in a JSP in tomcat 5.5
All, I've read quite a few articles on this issue and tried all the solutions given and none of them seem to be working. I'm using Netbeans 4.1 with Tomcat 5.5. My application is using the MVC patter so I have a controller that is using the request dispatcher to forward a request to a JSP page. Basically I have an application at the context /Company. I have all my images in a folder called img and all my JSP's in a folder called jsp. I've tried using relative paths to the image directory and the images don't show up in the browser however if I look at the URL it seems right. I right-clicked to get properties and copied the URL: http://localhost:8085/Company/img/image.jpg If I paste that into a browser I get a 404 error from Tomcat. However, if I take off the image name and do: http://localhost:8085/Company/img I get a listing of the image files. If I click on the link for the image image.jpg it opens the file in the browser and I see the URL as: http://localhost:8085/Company/img/image.jpg which is exactly the same as what I had manually typed in. Doesn't make any sense to me as to why it works one way and not the other. Possibly a permissions issue? Can anyone shed some light on why I can't get my image files to show up in my JSP pages? Thanks, Ryan
Re: img tag's src not working for image files in a JSP in tomcat 5.5
Sounds like a browser caching issue or maybe some referrer checking getting in the way although I don't how that would be setup in Tomcat. Are you using SSL or have any other types of constriants in place? Regards, -- Jason Bainbridge http://kde.org - [EMAIL PROTECTED] Personal Site - http://jasonbainbridge.com On 6/27/05, Ryan Champlin [EMAIL PROTECTED] wrote: All, I've read quite a few articles on this issue and tried all the solutions given and none of them seem to be working. I'm using Netbeans 4.1 with Tomcat 5.5. My application is using the MVC patter so I have a controller that is using the request dispatcher to forward a request to a JSP page. Basically I have an application at the context /Company. I have all my images in a folder called img and all my JSP's in a folder called jsp. I've tried using relative paths to the image directory and the images don't show up in the browser however if I look at the URL it seems right. I right-clicked to get properties and copied the URL: http://localhost:8085/Company/img/image.jpg If I paste that into a browser I get a 404 error from Tomcat. However, if I take off the image name and do: http://localhost:8085/Company/img I get a listing of the image files. If I click on the link for the image image.jpg it opens the file in the browser and I see the URL as: http://localhost:8085/Company/img/image.jpg which is exactly the same as what I had manually typed in. Doesn't make any sense to me as to why it works one way and not the other. Possibly a permissions issue? Can anyone shed some light on why I can't get my image files to show up in my JSP pages? Thanks, Ryan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Building tomcat-connectors with ANT
I must really be missing something? It was my understanding that using mod_jk-1-2-10.so was the same thing as using the ajp connector? Am I completely misinformed in this? -SB -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Monday, June 27, 2005 3:08 PM To: Tomcat Users List Subject: Re: Building tomcat-connectors with ANT Ah. It wasn't clear from your original post which part of the connectors you were trying to build. I was referring to the Tomcat end of things (the Java AJP/HTTP connectors) rather than mod_jk. The following from the dev list might help. Failing that, with the clarification of what it is you want to do, someone else may pitch in with some help. http://marc.theaimsgroup.com/?l=tomcat-devm=50341215849w=2 Mark BATCHELOR, SCOTT (CONTRACTOR) wrote: Would you mind pointing me in the right direction for some docs? I really only want to build mod_jk Thanks, -SB -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Monday, June 27, 2005 2:08 PM To: Tomcat Users List Subject: Re: Building tomcat-connectors with ANT BATCHELOR, SCOTT (CONTRACTOR) wrote: Has anyone been successful in this? Yes. Regularly. 4.1.x, 5.0.x and 5.5.x Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: img tag's src not working for image files in a JSP in tomcat 5.5
I've tried clearing my browser cach and tried both Firefox and IE. Neither seem to be able to access those images at that location. So I don't think it's the browser necessarily. Not using SSL and don't have any security in place for this application. Ryan -Original Message- From: Jason Bainbridge [mailto:[EMAIL PROTECTED] Sent: Monday, June 27, 2005 3:46 PM To: Tomcat Users List Subject: Re: img tag's src not working for image files in a JSP in tomcat 5.5 Sounds like a browser caching issue or maybe some referrer checking getting in the way although I don't how that would be setup in Tomcat. Are you using SSL or have any other types of constriants in place? Regards, -- Jason Bainbridge http://kde.org - [EMAIL PROTECTED] Personal Site - http://jasonbainbridge.com On 6/27/05, Ryan Champlin [EMAIL PROTECTED] wrote: All, I've read quite a few articles on this issue and tried all the solutions given and none of them seem to be working. I'm using Netbeans 4.1 with Tomcat 5.5. My application is using the MVC patter so I have a controller that is using the request dispatcher to forward a request to a JSP page. Basically I have an application at the context /Company. I have all my images in a folder called img and all my JSP's in a folder called jsp. I've tried using relative paths to the image directory and the images don't show up in the browser however if I look at the URL it seems right. I right-clicked to get properties and copied the URL: http://localhost:8085/Company/img/image.jpg If I paste that into a browser I get a 404 error from Tomcat. However, if I take off the image name and do: http://localhost:8085/Company/img I get a listing of the image files. If I click on the link for the image image.jpg it opens the file in the browser and I see the URL as: http://localhost:8085/Company/img/image.jpg which is exactly the same as what I had manually typed in. Doesn't make any sense to me as to why it works one way and not the other. Possibly a permissions issue? Can anyone shed some light on why I can't get my image files to show up in my JSP pages? Thanks, Ryan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Building tomcat-connectors with ANT
There are two parts to any connector that links Tomcat and a web server, a Java part and a native part. See http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html for my attempt at a fuller explanation. Mark BATCHELOR, SCOTT (CONTRACTOR) wrote: I must really be missing something? It was my understanding that using mod_jk-1-2-10.so was the same thing as using the ajp connector? Am I completely misinformed in this? -SB -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Monday, June 27, 2005 3:08 PM To: Tomcat Users List Subject: Re: Building tomcat-connectors with ANT Ah. It wasn't clear from your original post which part of the connectors you were trying to build. I was referring to the Tomcat end of things (the Java AJP/HTTP connectors) rather than mod_jk. The following from the dev list might help. Failing that, with the clarification of what it is you want to do, someone else may pitch in with some help. http://marc.theaimsgroup.com/?l=tomcat-devm=50341215849w=2 Mark BATCHELOR, SCOTT (CONTRACTOR) wrote: Would you mind pointing me in the right direction for some docs? I really only want to build mod_jk Thanks, -SB -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Monday, June 27, 2005 2:08 PM To: Tomcat Users List Subject: Re: Building tomcat-connectors with ANT BATCHELOR, SCOTT (CONTRACTOR) wrote: Has anyone been successful in this? Yes. Regularly. 4.1.x, 5.0.x and 5.5.x Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: img tag's src not working for image files in a JSP in tomcat 5.5
Even I faced this frustrating problem recently - I couldnt really solved it and just switched images - (I created a new image and it somehow worked). I am just trying to get u a workaround (not exactly a cause analysis of your problem) - HTH -Anoop On 6/27/05, Ryan Champlin [EMAIL PROTECTED] wrote: I've tried clearing my browser cach and tried both Firefox and IE. Neither seem to be able to access those images at that location. So I don't think it's the browser necessarily. Not using SSL and don't have any security in place for this application. Ryan -Original Message- From: Jason Bainbridge [mailto:[EMAIL PROTECTED] Sent: Monday, June 27, 2005 3:46 PM To: Tomcat Users List Subject: Re: img tag's src not working for image files in a JSP in tomcat 5.5 Sounds like a browser caching issue or maybe some referrer checking getting in the way although I don't how that would be setup in Tomcat. Are you using SSL or have any other types of constriants in place? Regards, -- Jason Bainbridge http://kde.org - [EMAIL PROTECTED] Personal Site - http://jasonbainbridge.com On 6/27/05, Ryan Champlin [EMAIL PROTECTED] wrote: All, I've read quite a few articles on this issue and tried all the solutions given and none of them seem to be working. I'm using Netbeans 4.1 with Tomcat 5.5. My application is using the MVC patter so I have a controller that is using the request dispatcher to forward a request to a JSP page. Basically I have an application at the context /Company. I have all my images in a folder called img and all my JSP's in a folder called jsp. I've tried using relative paths to the image directory and the images don't show up in the browser however if I look at the URL it seems right. I right-clicked to get properties and copied the URL: http://localhost:8085/Company/img/image.jpg If I paste that into a browser I get a 404 error from Tomcat. However, if I take off the image name and do: http://localhost:8085/Company/img I get a listing of the image files. If I click on the link for the image image.jpg it opens the file in the browser and I see the URL as: http://localhost:8085/Company/img/image.jpg which is exactly the same as what I had manually typed in. Doesn't make any sense to me as to why it works one way and not the other. Possibly a permissions issue? Can anyone shed some light on why I can't get my image files to show up in my JSP pages? Thanks, Ryan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Thanks and best regards, Anoop - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat Just Shuts down without reason (that i can see)
looks like there is some code in one of your webapps that is causing a shutdown - I know for one that if you put System.exit(0) in one of your servlets and this servlet is invoked at startup (or through another servlet) then it simulates a normal shutdown of Tomcat (or any app server for that matter) I would look into each of the webapps and see if code is helping Tomcat behave in that way - I would start with the arpsys webapp since the others seem to be default tomcat provided examples. Also my suggesting is to remove all webapps that u do not need and leave only those webapps that u absolutely require. In our setup since no one would be using the manager/admin apps we have completely done away with those and I think it helps in the server performnace - lesser webapps - lesser load. -Anoop On 6/27/05, Simon Taylor [EMAIL PROTECTED] wrote: Tomcat 4.1.31 - Solaris 9 - Java 1.5 Currently Tomcat shuts down after what seems to be a variable amount of time. All contexts within the host are shut down And the following are evident in the logs:- log1 2005-06-27 17:15:41 StandardHost[localhost]: Removing web application at context path /admin 2005-06-27 17:15:41 StandardHost[localhost]: Removing web application at context path /webdav 2005-06-27 17:15:41 StandardHost[localhost]: Removing web application at context path /examples 2005-06-27 17:15:41 StandardHost[localhost]: Removing web application at context path /tomcat-docs 2005-06-27 17:15:41 StandardHost[localhost]: Removing web application at context path /arsys 2005-06-27 17:15:41 StandardHost[localhost]: Removing web application at context path 2005-06-27 17:15:41 StandardHost[localhost]: Removing web application at context path /manager log2 2005-06-27 17:15:41 StandardContext[/arsys]: Stopping 2005-06-27 17:15:41 StandardContext[/arsys]: Stopping filters 2005-06-27 17:15:41 StandardContext[/arsys]: Sending application stop events 2005-06-27 17:15:41 StandardContext[/arsys]: Processing standard container shutdown 2005-06-27 17:15:41 ContextConfig[/arsys]: ContextConfig: Processing STOP 2005-06-27 17:15:41 StandardContext[/arsys]: Stopping complete log3 2005-06-27 17:15:41 SessionListener: contextDestroyed() 2005-06-27 17:15:41 ContextListener: contextDestroyed() Looks like its performing a normal shutdown to me - but why? is it an inactivity timeout - as i am not seeing any activity around the time of the shutdown. This is the second server we have had this happen on and on two different versions of tomcat and two versions of Java. Any ideas? Simon Taylor (Engineer) Service Tools Solutions (STS) Nortel p - 01628 617291 (ESN 6 861 7291) m - 07740 533743 (ESN 748 3743) e - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Thanks and best regards, Anoop - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: how to change default logs path directory
why dont u just use log4j. You can have the log4j.jar in the common/lib folder and each webapp can have an individual log4j.properties file in the webapp classpath. YOu can configure log4j.properties to have a filehandler (FileAppender). check this also: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html HTH -Anoop On 6/27/05, Mohamed Lokbani [EMAIL PROTECTED] wrote: Hi, OS: Windows Tomcat: 5.5.9 Tomcat User: student without privilege, will not have the wright to write in CATALINA_HOME Each student will have its own webapps, logs, work etc. directories. By default all logs in Tomcat 5.5.9 are written in CATALINA_HOME/logs directory. Logs doc http://jakarta.apache.org/tomcat/faq/logging.html [ As you read these questions, please keep in mind that Tomcat's internal logging is separate from your own webapp's logging. You would typically be concerned only with your own webapp's logging.] I suppose by Tomcat's internal logging they meant the logs sent to the file catalina.-MM-DD.log? if so, how to change the default directory of the Tomcat's internal logging? Why I want to do it As I said, I would like each user, without privilege, running Tomcat on a windows machine to have his/her own logs, even the server logs. I tried to move elsewhere the logs, by changing the default path. For localhost's log file, I added AccessLogValve to the engine and host in server.xml; and context in context.xml, problem resolved. But I didn't find a way to change the default directory for the file catalina.-MM-DD.log! Thx! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Thanks and best regards, Anoop - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: http session lost between struts action
You might want to setup the Request Dumper Valve (*org.apache.catalina.valves.RequestDumperValve*.) and see if that offer's any insight. I suspect the cookie isn't being returned in subsequent requests after the welcome page. Unfortunately, I don't have enough info about your setup to even begin theorizing why that might happen. --David angelina zh wrote: Frank, Guru Thank you guys so much for the comments. But I forget to mention that the code was originally coded to request.getSession(false). Since it did not work for me, I changed to request.getSession(true). So neither was working for me. Angelina Frank W. Zammetti [EMAIL PROTECTED] wrote: I thought that at first too Guru, I had to go remind myself... looking at the javadoc for request.getSession(boolean)... Returns the current HttpSession associated with this request or, if there is no current session and create is true, returns a new session. That OR, IF clause is whats important.. it should only create a new session if none already exists. So, calling getSession(true) is going to return to you a session either way, whether it's a pre-existing one or a new one. I do however agree that calling getSession(true) in this case does not seem appropriate... Angelina, I would call it with false and check for null, as Guru says. It probably won't solve the problem, but it will tell you a little bit more, namely whether the session really exists or not in a more explicit manner. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat Just Shuts down without reason (that i can see)
I tend to agree - but wouldn't I see somewhere this system.exit being run somewhere in a tomcat logfile. In investigating this ive had verbose debug set on at all levels within the Tomcat log structure and havent found a call anywhere that might indicate this is happening. Do you have any suggestions as to where to look within the tomcat log to discover which code is causing the issue. The arsys app in question is a packaged Remedy application (yes im following up with them also). Thanks Simon -Original Message- From: Anoop kumar V [mailto:[EMAIL PROTECTED] Sent: 27 June 2005 22:39 To: Tomcat Users List Subject: Re: Tomcat Just Shuts down without reason (that i can see) looks like there is some code in one of your webapps that is causing a shutdown - I know for one that if you put System.exit(0) in one of your servlets and this servlet is invoked at startup (or through another servlet) then it simulates a normal shutdown of Tomcat (or any app server for that matter) I would look into each of the webapps and see if code is helping Tomcat behave in that way - I would start with the arpsys webapp since the others seem to be default tomcat provided examples. Also my suggesting is to remove all webapps that u do not need and leave only those webapps that u absolutely require. In our setup since no one would be using the manager/admin apps we have completely done away with those and I think it helps in the server performnace - lesser webapps - lesser load. -Anoop On 6/27/05, Simon Taylor [EMAIL PROTECTED] wrote: Tomcat 4.1.31 - Solaris 9 - Java 1.5 Currently Tomcat shuts down after what seems to be a variable amount of time. All contexts within the host are shut down And the following are evident in the logs:- log1 2005-06-27 17:15:41 StandardHost[localhost]: Removing web application at context path /admin 2005-06-27 17:15:41 StandardHost[localhost]: Removing web application at context path /webdav 2005-06-27 17:15:41 StandardHost[localhost]: Removing web application at context path /examples 2005-06-27 17:15:41 StandardHost[localhost]: Removing web application at context path /tomcat-docs 2005-06-27 17:15:41 StandardHost[localhost]: Removing web application at context path /arsys 2005-06-27 17:15:41 StandardHost[localhost]: Removing web application at context path 2005-06-27 17:15:41 StandardHost[localhost]: Removing web application at context path /manager log2 2005-06-27 17:15:41 StandardContext[/arsys]: Stopping 2005-06-27 17:15:41 StandardContext[/arsys]: Stopping filters 2005-06-27 17:15:41 StandardContext[/arsys]: Sending application stop events 2005-06-27 17:15:41 StandardContext[/arsys]: Processing standard container shutdown 2005-06-27 17:15:41 ContextConfig[/arsys]: ContextConfig: Processing STOP 2005-06-27 17:15:41 StandardContext[/arsys]: Stopping complete log3 2005-06-27 17:15:41 SessionListener: contextDestroyed() 2005-06-27 17:15:41 ContextListener: contextDestroyed() Looks like its performing a normal shutdown to me - but why? is it an inactivity timeout - as i am not seeing any activity around the time of the shutdown. This is the second server we have had this happen on and on two different versions of tomcat and two versions of Java. Any ideas? Simon Taylor (Engineer) Service Tools Solutions (STS) Nortel p - 01628 617291 (ESN 6 861 7291) m - 07740 533743 (ESN 748 3743) e - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Thanks and best regards, Anoop - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Apache2+JK2+Tomcat-5.028 URI UTF-8 problem
It's about apache-tomcat configuration with UTF-8. I added URI encoding to the tomcat configuration and I set defaultcharset utf-8 in apache2. Im using mod_jk2. It doesnt work when I use special characters like áéíóúñ... If I use URL with port 8080 (tomcat answers) It's fine but If I use the redirection apache-tomcat it doesn't work... Any suggestion? Thanks -- Luis Sánchez Sánchez [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: http session lost between struts action
Hi Can you assist me in setting up an infrastruture on the following ground: linux, mysql, tomcat, jdbc. I am not in a position to sym the last three to get my site up Regards Medha Parthasarathy On MoHin, 27 Jun 2005 17:23:15 +0100, Raghupathy,Gurumoorthy [EMAIL PROTECTED] said: Well the issue is request.getSession(true) Try something like MyObject myObj = new MyObject(); myObj.setAbc(Abc); myObj,setDef(Def); HttpSession session = request.getSession(false); If ( session == null ) { session = request.getSession(true); } session.setAttribute(MySessionName, myObj); HttpSession session = request.getSession(false); If ( session != null ) { MyObject myObj = (MyObject)request.getSession(true).getAttribute(MySessionName); } Because HttpSession session = request.getSession(true); will always create a new session Regards Guru -Original Message- From: angelina zh [mailto:[EMAIL PROTECTED] Sent: 27 June 2005 17:18 To: Tomcat Users List Subject: Re: http session lost between struts action David, Thanks a lot for your help. My browser accepts cookies. Actually I inspected the cookies as well as the session object when I was debugging. The cookies is a valid array with valid sessionId inside and the method isRequestedSessionIdFromCookie() returns true as long as the http session object is valid. But when the session got lost, the cookies became to null and the method isRequestedSessionIdFromCookie() returns false. The links are the paths defined in the struct-config.xml file. The jsessionid is still valid when the session get lost. Here is how the code looks like in the LogInAction: MyObject myObj = new MyObject(); myObj.setAbc(Abc); myObj,setDef(Def); HttpSession session = request.getSession(true); session.setAttribute(MySessionName, myObj); Here is how the code looks like in the following actions: MyObject myObj = (MyObject)request.getSession(true).getAttribute(MySessionName); I have a FrontController servlet class to hand request and response. When a link on the welcome page got clicked, I noticed that in the FrontController servlet class, the session in the request became to null via eclipse's debugging tool. (Before this point, the session is all valid.) Then in the following action class, a new standard session got created. So my personal session information totally lost. Anything else I shall try? Thanks so much! Angelina David Smith [EMAIL PROTECTED] wrote: Check these: 1. Your browser is accepting cookies 2. Your links are being generated by taglibs that insure the jsessionid is attached if needed. I say if needed because if tomcat is getting a valid session cookie from your browser, the jsessionid won't be added to the link. They don't both have to be done, but chances of eliminating errors are best if they are. Beyond that, I would have to suspect the way you are trying to access the session attributes either in setting them or in retrieving them. Could you post code snippets that show how you are setting and retrieving attributes? --David - Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- http://www.fastmail.fm - Accessible with your email software or over the web - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
ClientAbortException: java.net.SocketException: Connection reset by peer: socket write error
Hello, I got this exception and I don't know how to solve it, I have a web application with a servlet which sends video with formats avi, mpeg, and mov, it shows the video but the tomcat throws this exception: ClientAbortException: java.net.SocketException: Connection reset by peer: socket write error at org.apache.coyote.tomcat5.OutputBuffer.realWriteBytes(OutputBuffer.java:373) at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:323) at org.apache.coyote.tomcat5.OutputBuffer.writeBytes(OutputBuffer.java:401) at org.apache.coyote.tomcat5.OutputBuffer.write(OutputBuffer.java:388) at org.apache.coyote.tomcat5.CoyoteOutputStream.write(CoyoteOutputStream.java:76) at java.io.BufferedOutputStream.write(BufferedOutputStream.java:106) at helloworldservlet.ServletVideo.streamBinaryData(ServletVideo.java:71) at helloworldservlet.ServletVideo.doGet(ServletVideo.java:37) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:534) and this is where the code fails: private void streamBinaryData(String urlstr,String format,ServletOutputStream outstr, HttpServletResponse resp) { String ErrorStr = null; try{ //find the right mime type and set it as contenttype resp.setContentType(getMimeType(format)); BufferedInputStream bis = null; BufferedOutputStream bos = null; try{ URL url = new URL(urlstr); URLConnection urlc= url.openConnection(); int length =urlc.getContentLength(); resp.setContentLength(length); // Use Buffered Stream for reading/writing. InputStream in = urlc.getInputStream(); bis = new BufferedInputStream(in); bos = new BufferedOutputStream(outstr); byte[] buff = new byte[length]; int bytesRead; // Simple read/write loop. while(-1 != (bytesRead = bis.read(buff, 0, buff.length))) { bos.write(buff, 0, bytesRead); } } catch (Exception e) { e.printStackTrace(); ErrorStr = Error Streaming the Data; outstr.print(ErrorStr); } finally { if( bis != null ) { bis.close(); } if( bos != null ) { bos.close(); } if( outstr != null ) { outstr.flush(); outstr.close(); } } } catch(Exception e){ e.printStackTrace(); } } I have
Re: Test - please[don't] ignore!
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, This is really wierd - I can't post this msg to the list! The Test went through fine, but every time I try and post the msg below, it just disappears. Anyone guess why? Anyone know the answer?!! cheers, David Subject: Get Tomcat's port in startup servlet Body: Hi, I have a servlet which runs on startup. Within it, I need to get the port number that tomcat is using. Does anyone know the best way to do this? Strictly speaking, you want request.getLocalPort(). However, usually you want request.getServerPort() instead. cheers, David |-+ | | David Hay | | | [EMAIL PROTECTED]| | | l.com | | || | | 06/24/2005 09:19 | | | AM | | | Please respond to| | | Tomcat Users| | | List| | || |-+ ---| | | | To: tomcat-user@jakarta.apache.org | | cc: | | Subject: Test - please ignore! | ---| testing - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Building tomcat-connectors with ANT
Mark Thomas [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Ah. It wasn't clear from your original post which part of the connectors you were trying to build. I was referring to the Tomcat end of things (the Java AJP/HTTP connectors) rather than mod_jk. The following from the dev list might help. Failing that, with the clarification of what it is you want to do, someone else may pitch in with some help. http://marc.theaimsgroup.com/?l=tomcat-devm=50341215849w=2 Yup. The Ant build of mod_jk isn't supported and I don't think that it has worked in a very long time. Use the configure/make option as outlined in the link above. Mark BATCHELOR, SCOTT (CONTRACTOR) wrote: Would you mind pointing me in the right direction for some docs? I really only want to build mod_jk Thanks, -SB -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Monday, June 27, 2005 2:08 PM To: Tomcat Users List Subject: Re: Building tomcat-connectors with ANT BATCHELOR, SCOTT (CONTRACTOR) wrote: Has anyone been successful in this? Yes. Regularly. 4.1.x, 5.0.x and 5.5.x Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Properly setting src attribute for an img tag in a JSP
All, Can someone at least let me know what the proper way to set the src attribute on an img tag is? I've currently used relative ../img/image.jpg and also the following: img src=%=request.getContextPath()%/img/image.jpg/ When using either I'm seeing the same URL show up at the browser when getting properties on the unfound image. I'm able to load that image in the browser using that path only after I've taken the file name off and see the directory listing. Then I'm able to put the image name back in and access the image. This is really getting frustrating as I can't get a single image to show up in any of my JSP's. I even tried creating a simple HTML page, not a JSP, with an img tag and that image can't be found either. Same type of case as mentioned in my previous post. It can't load the image from that URL. But as soon as I hack off the file name and get the directory listing I can then readd the file name and the file will load in the browser. Any clue?? I'm completely stuck on this one. Ryan -Original Message- From: Anoop kumar V [mailto:[EMAIL PROTECTED] Sent: Monday, June 27, 2005 4:34 PM To: Tomcat Users List Subject: Re: img tag's src not working for image files in a JSP in tomcat 5.5 Even I faced this frustrating problem recently - I couldnt really solved it and just switched images - (I created a new image and it somehow worked). I am just trying to get u a workaround (not exactly a cause analysis of your problem) - HTH -Anoop On 6/27/05, Ryan Champlin [EMAIL PROTECTED] wrote: I've tried clearing my browser cach and tried both Firefox and IE. Neither seem to be able to access those images at that location. So I don't think it's the browser necessarily. Not using SSL and don't have any security in place for this application. Ryan -Original Message- From: Jason Bainbridge [mailto:[EMAIL PROTECTED] Sent: Monday, June 27, 2005 3:46 PM To: Tomcat Users List Subject: Re: img tag's src not working for image files in a JSP in tomcat 5.5 Sounds like a browser caching issue or maybe some referrer checking getting in the way although I don't how that would be setup in Tomcat. Are you using SSL or have any other types of constriants in place? Regards, -- Jason Bainbridge http://kde.org - [EMAIL PROTECTED] Personal Site - http://jasonbainbridge.com On 6/27/05, Ryan Champlin [EMAIL PROTECTED] wrote: All, I've read quite a few articles on this issue and tried all the solutions given and none of them seem to be working. I'm using Netbeans 4.1 with Tomcat 5.5. My application is using the MVC patter so I have a controller that is using the request dispatcher to forward a request to a JSP page. Basically I have an application at the context /Company. I have all my images in a folder called img and all my JSP's in a folder called jsp. I've tried using relative paths to the image directory and the images don't show up in the browser however if I look at the URL it seems right. I right-clicked to get properties and copied the URL: http://localhost:8085/Company/img/image.jpg If I paste that into a browser I get a 404 error from Tomcat. However, if I take off the image name and do: http://localhost:8085/Company/img I get a listing of the image files. If I click on the link for the image image.jpg it opens the file in the browser and I see the URL as: http://localhost:8085/Company/img/image.jpg which is exactly the same as what I had manually typed in. Doesn't make any sense to me as to why it works one way and not the other. Possibly a permissions issue? Can anyone shed some light on why I can't get my image files to show up in my JSP pages? Thanks, Ryan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Thanks and best regards, Anoop - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
problems with Fedora Core 4
Note: this is not meant to be a detailed bug report. I'm just fishing to see if anyone else is having some these problems. Hi, I'm a newbie on the list. I've used tomcat with Windows-IIS for about a year, and I just made the switch to Apache on Fedora Core 4. Tomcat 5 comes packaged with the FC4 distro, but it's using the GCJ jvm; I'm used to using Sun's jvm. A couple of issues: (1) It took me days to configure mod_jk to link Apache and Tomcat. The documentation sucks. I think I finally got it right after quite a bit of trial and error. (2) Now I can access the standard built-in webapps through something like http://localhost/jsp-examples/ without any problem. So I threw the JSPWiki.war into my webapps directory. It unpacked just fine, but when I tried to access it through http://localhost/JSPWiki/, I got a permission denied error. I'm quite certain that my permissions are set correctly. (3) I tried accessing it on the standard http connecter (i.e. http://localhost:8080/JSPWiki/) and I get 'WikiEngine not properly started' JasperException. (4) I also installed Sun's jvm and pointed Tomcat there, but now Tomcat won't work at all. It's all very weird, but here's my theory. The permission denied error I'm getting when accessing it through Apache is really just a cover for the JasperException I'm getting through the http connector. The real problem might be that JSPWiki (and probably lots of other apps I want to use) won't work with the GCJ jvm. I'm thinking about uninstalling the packaged Tomcat 5 that came with FC4 and reinstalling it pointing at Sun's jvm. Has anyone else had experience using Tomcat 5 on FC4? Or have you had any problems similar to this? Thanks in advance, Paul Constantine - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]