Re: How to configure Taglib in Tomcat

2005-06-27 Thread Gurumoorthy
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

Please help me sir

2005-06-27 Thread Asit Basak
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:

Re: Please help me sir

2005-06-27 Thread Jaroslav Záruba
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

deploying war files

2005-06-27 Thread Darren Carman
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

RE: deploying war files

2005-06-27 Thread Phillip Qin
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

AW: deploying war files

2005-06-27 Thread Bernhard Slominski
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:

Re: http session lost between struts action

2005-06-27 Thread angelina zh
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

Re: http session lost between struts action

2005-06-27 Thread David Smith
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

Re: http session lost between struts action

2005-06-27 Thread delbd
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

Unable to get Console in Solaris

2005-06-27 Thread Sharath Srivatsa
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

2005-06-27 Thread delbd
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

RE: 503 Service Temporarily Unavailable

2005-06-27 Thread John Lindley
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

Please help with PermGen OutOfMemory error

2005-06-27 Thread Andy Kriger
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

Re: http session lost between struts action

2005-06-27 Thread angelina zh
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

RE: http session lost between struts action

2005-06-27 Thread Raghupathy,Gurumoorthy
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,

RE: http session lost between struts action

2005-06-27 Thread Frank W. Zammetti
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

RE: Please help with PermGen OutOfMemory error

2005-06-27 Thread Phillip Qin
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

RE: http session lost between struts action

2005-06-27 Thread angelina zh
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]

Re: Please help with PermGen OutOfMemory error

2005-06-27 Thread James Black
-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

RE: Please help with PermGen OutOfMemory error

2005-06-27 Thread Phillip Qin
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

Re: Please help with PermGen OutOfMemory error

2005-06-27 Thread James Black
-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

Building tomcat-connectors with ANT

2005-06-27 Thread BATCHELOR, SCOTT \(CONTRACTOR\)
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

2005-06-27 Thread Mark Thomas
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

2005-06-27 Thread Mohamed Lokbani
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

RE: Building tomcat-connectors with ANT

2005-06-27 Thread BATCHELOR, SCOTT \(CONTRACTOR\)
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

Re: Please help with PermGen OutOfMemory error

2005-06-27 Thread Anoop kumar V
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

Re: Building tomcat-connectors with ANT

2005-06-27 Thread Mark Thomas
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

Tomcat Just Shuts down without reason (that i can see)

2005-06-27 Thread Simon Taylor
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

img tag's src not working for image files in a JSP in tomcat 5.5

2005-06-27 Thread Ryan Champlin
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

Re: img tag's src not working for image files in a JSP in tomcat 5.5

2005-06-27 Thread Jason Bainbridge
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 -

RE: Building tomcat-connectors with ANT

2005-06-27 Thread BATCHELOR, SCOTT \(CONTRACTOR\)
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:

RE: img tag's src not working for image files in a JSP in tomcat 5.5

2005-06-27 Thread Ryan Champlin
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:

Re: Building tomcat-connectors with ANT

2005-06-27 Thread Mark Thomas
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

Re: img tag's src not working for image files in a JSP in tomcat 5.5

2005-06-27 Thread Anoop kumar V
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]

Re: Tomcat Just Shuts down without reason (that i can see)

2005-06-27 Thread Anoop kumar V
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

Re: how to change default logs path directory

2005-06-27 Thread Anoop kumar V
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:

Re: http session lost between struts action

2005-06-27 Thread David Smith
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

RE: Tomcat Just Shuts down without reason (that i can see)

2005-06-27 Thread Simon Taylor
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

Apache2+JK2+Tomcat-5.028 URI UTF-8 problem

2005-06-27 Thread Luis Sánchez Sánchez
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

RE: http session lost between struts action

2005-06-27 Thread Medha Parathasarathy
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

ClientAbortException: java.net.SocketException: Connection reset by peer: socket write error

2005-06-27 Thread Adriana Suarez
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

Re: Test - please[don't] ignore!

2005-06-27 Thread Bill Barker
[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

Re: Building tomcat-connectors with ANT

2005-06-27 Thread Bill Barker
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

Properly setting src attribute for an img tag in a JSP

2005-06-27 Thread Ryan Champlin
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

problems with Fedora Core 4

2005-06-27 Thread Paul Constantine
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