2 tomcat beginer problems

2007-10-29 Thread loredana loredana
1. I have installed tomcat 6.0.14. Everytime I make a modification in a jsp page I either have to rename the file or delete the jsp from work directory in order to see the modifications. How can I make jsp reload automatically? So that if I make a modifications in my jsp, a simple refresh page

running! a servlet at tomcat startup

2007-11-05 Thread loredana loredana
This issue is a classic one already I think. I've googled it and haven't found anything that could help solving this problem. I'm probably not the one to think about this but...if you would add the load-on-startup1/load-on-startup to a servlet, and from the init() method you would somehow try

Re: running! a servlet at tomcat startup

2007-11-05 Thread loredana loredana
server --- - Original Message - From: loredana loredana [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Monday, November 05, 2007 10:32 AM Subject: running! a servlet at tomcat startup This issue is a classic one

Re: tomcat process doesn't stop

2007-11-16 Thread loredana loredana
1.4.2_15-b02) Java HotSpot(TM) Client VM (build 1.4.2_15-b02, mixed mode) - Original Message From: Caldarale, Charles R [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Friday, November 16, 2007 9:43:15 AM Subject: RE: tomcat process doesn't stop From: loredana

Re: java.lang.OutOfMemoryError: PermGen space

2007-11-16 Thread loredana loredana
/MultimediaStandards/Parsers.pdf M- - Original Message - From: loredana loredana [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Friday, November 16, 2007 9:11 AM Subject: java.lang.OutOfMemoryError: PermGen space I'm having some problems figuring out what webapp is causing this problem. I

tomcat process doesn't stop

2007-11-16 Thread loredana loredana
Hi, i'm running tomcat 6 with jdk 1.4.2 on ubuntu. Every time I try to stop tomcat I get an error in catalina.out just after the line log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository. Tomcat stops listening on port 8080 but

java.lang.OutOfMemoryError: PermGen space

2007-11-16 Thread loredana loredana
I'm having some problems figuring out what webapp is causing this problem. I figure the cause of this is the fact that garbage collector does not clean up and memory allocated for java object generation is used . Right now i have a hunch on one of the webapps: I have an application which

why/how to use ajp connector...

2007-10-02 Thread loredana loredana
Ok, my project manager asked me to set up a server with tomcat, apache and ajp connector. This is the first time I do it and after reading some of the documentation on the ajp connector I still can't figure out it's purpose. Can anybody tell me what is it's use? I read This is used for cases

jsp modifications not visible after tomcat restart?

2007-10-02 Thread loredana loredana
I remember something like this happened to me a couple of years back but don't remember how I solved it. I run a tomcat 6 and I have a jsp file within an application. I remember that if I do a modification in a jsp file I don't have to restart tomcat, it's enough to copy the jsp file in the

tomcat and java cache

2007-10-15 Thread loredana loredana
I have a pretty big website that uses java cache from which it retrieves the html. So I have a scheduled job(servlet) that get's some data from a server and stores it in a java cache(Oscache or Ehcache for those who know it). My problem is next: whenever the server (tomcat) is restarted, the

request.getRemoteuser returns null

2007-10-16 Thread loredana loredana
I'll try to make this as short and clear as I can. I have an instalation of Apache 2.2.6 and tomcat 6.0.14. On the apache side we have instaled the kerberos mod for authentication. that one is installed ok, we have a php file that prints out the headers and remoteuser has the correct value. I

tomcat and active x problem

2008-03-22 Thread loredana loredana
Hi, i have an html page that has a javascript function that opens an outlook mail window .the function is pretty basic: function OpenOutlookDoc() {try{ var outlookApp = new ActiveXObject(Outlook.Application); var nameSpace = outlookApp.getNameSpace(MAPI); mailFolder =

Re: tomcat and active x problem

2008-03-23 Thread loredana loredana
this is the code of the page: html head script language=javascript function OpenOutlookDoc() { try { var outlookApp = new ActiveXObject(Outlook.Application); var nameSpace = outlookApp.getNameSpace(MAPI); mailFolder = nameSpace.getDefaultFolder(6); mailItem =

Re: tomcat and active x problem

2008-03-23 Thread loredana loredana
settings for Initialize and script Active x control not marked as safe from disable to prompt and it worked under tomcat as well. 10x - Original Message From: loredana loredana [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Sunday, March 23, 2008 2:10:32 PM Subject

disable jsp cache in tomcat work folder

2008-04-07 Thread loredana loredana
Long story short, as everyone know, jsp files are cached in the work folder of tomcat. If I modify something in the jsp, I can't see the difference unless I delete the files under work folder. My problem is that I don't have rights/access to delete files under that folder. Is there any other

tomcat cache wierd behaviour

2008-04-08 Thread loredana loredana
Hi, I have a wierd problem with tomcat cache. Let's say now time its 15:00. i create a test.jsp in the application folder. Using winscp, I see the tab Changed(last modified) 15:00. I access the jsp in the browser. In the work folder now will appear 2 new files: test.java and test.class files.

Re: tomcat cache wierd behaviour

2008-04-08 Thread loredana loredana
I don't think so. I run a date command on the server (which is ubuntu) and got Tue Apr 8 15:50:01 CEST 2008 Is there any configurations I have to do in tomcat? set TZ variables or anything? - Original Message From: William Bonnet [EMAIL PROTECTED] To: Tomcat Users List

Re: tomcat cache wierd behaviour

2008-04-08 Thread loredana loredana
, 2008 5:33:44 PM Subject: Re: tomcat cache wierd behaviour On Tue, Apr 8, 2008 at 7:12 AM, loredana loredana [EMAIL PROTECTED] wrote: I run a date command on the server (which is ubuntu) and got Tue Apr 8 15:50:01 CEST 2008 Using winscp, I see ... So it sounds like your problem is with winscp

Re: tomcat cache wierd behaviour

2008-04-09 Thread loredana loredana
I still can't understand how winscp has any part in this. I don't copy anything, I only use it to view the files. Tomcat automatically creates the .java and .class files. I could use putty or some other tool and the result would be the same. But it's even wierder. Now I see even the

Re: tomcat cache wierd behaviour

2008-04-09 Thread loredana loredana
Solved well, i guess you guys were right. problem was winscp which had an option preserve timestamp in the preferences panel. Disabled it and now it seems to show all times corectly. 10x a lot for everybody's help! really thanks! - Original Message From: loredana loredana [EMAIL