File permission problem not understood

2007-02-05 Thread Alan Chandler
I have just upgraded my Debian Etch system from tomcat5 to tomcat5.5 Now when I start my applications I am getting the following javax.servlet.ServletException: Unable to initialize application servlet: access denied (java.io.FilePermission /var/lib/tomcat5.5/webapps/blog/WEB-INF/classes/META-

RE: Unable to run Tomcat 5.5.20 as a Windows service under jdk 1.6

2007-02-05 Thread Per Johnsson
Hi! I digged in the source of the service and posted some days ago, but I have also problems. I think there is some underneeth problem with either windows 2003 or some settup (user rights/permissions?) The strange thing in all this is that I managed to run 1.6 with the service on one machine of 4

Applets in JSP - writing to a file server

2007-02-05 Thread Teh Noranis Mohd Aris
Dear all, I put my applet in standard action tag. I want my applet to save data that the user input in a defined text area. The user also input the file name in a defined text field. When the user clicks the Save button, I want the file name and its contents to be saved in the apache tomc

Still have log4j and CLASSPATH problems on linux

2007-02-05 Thread Oren Livne
Dear Gaurav and everyone, Thanks so much for your help. The explanations were good and helped me better understand how the tomcat classloader works. However, I still have a problem running my web application. In short, the exception is "java.lang.NoClassDefFoundError: org/apache/log4j/Categor

Tomcat 4.1.35 coming soon

2007-02-05 Thread Mark Thomas
All, The necessary votes permitting, I am planning to release 4.1.35 in the next week or so. Currently, Bugzilla shows no open bugs and 134 open enhancements against 4.1.35. If you have a bug to report against 4.1.34 or a patch for one of the open enhancements now is the time to add it to Bugzilla

Install WAR via docBase within servlet.xml

2007-02-05 Thread Detlev Beutner
Hi there, I have a WAR which normally should be deployed via myName.xml into /tomcat/conf/Catalina/localhost, with docBase="AbsolutePathToWar". Within that xml snippet, is used. So I can call "www.server.com/myName" and it works. Now I want to call "myName.server.com" instead. I have tried to

Problem with Multiple Instances with Tomcat

2007-02-05 Thread Peter Ng
Hey all, I'm having an issue when trying to run multiple instances of tomcat per user. I have been trying to sort through the problem for a while and I can't seem to understand why its giving me this issue. The issue is upon starting tomcat up in a user directory $CATALINA_HOME/bin/star

RE: AJP Connector - Problems Proxying HTTPS Connections

2007-02-05 Thread Bill Bailey
Hassan, Thanks for your help. I am going to try making my app the ROOT context for the default host and get rid of the virtual hosts on the Tomcat side. If that still doesn't work, I'll try some of your troubleshooting ideas. I actually tried using mod_proxy_http once in my many attempts to find

RE: AJP Connector - Problems Proxying HTTPS Connections

2007-02-05 Thread Bill Bailey
Thanks, Charles. The main reason for deploying behind httpd rather than standalone was to leave a bit more flexibility in the event we decide to deploy one or more other non-J2EE (e.g. PHP) web applications to this same server at a later date, should that become desirable or necessary. I've also h

Re: AJP Connector - Problems Proxying HTTPS Connections

2007-02-05 Thread Hassan Schroeder
On 2/5/07, Bill Bailey <[EMAIL PROTECTED]> wrote: So the context (which I don't want visible to the end users) has 'escaped' into the browser world. I found that this was not a problem if I made my application appear in the ROOT context for the server, but didn't want to remove the standard ROOT

webapp, ServletContextListener and log files

2007-02-05 Thread Hugues Ferland
Hi, I use Tomcat 5.5 with Java 1.6.0-b105 on a Debian Linux. I have a context defined and want all of its logging to be in its own logfile. The first thing I tried is to modify the file logging.properties, in the conf directory of my Tomcat installation, adding a handler for my new context. Th

RE: AJP Connector - Problems Proxying HTTPS Connections

2007-02-05 Thread Caldarale, Charles R
> From: Bill Bailey [mailto:[EMAIL PROTECTED] > Subject: RE: AJP Connector - Problems Proxying HTTPS Connections > > I have a J2EE (Struts) Application running in Tomcat. I want > to use Apache HTTPD to provide the HTTPS connections and simply > proxy all requests to the Tomcat container. It see

RE: AJP Connector - Problems Proxying HTTPS Connections

2007-02-05 Thread Bill Bailey
Chris and Hassan, I removed the secure and scheme options to no avail; still seeing the same behavior. Since the waters are getting a bit muddy, let me back up and say what my goals are and maybe someone can suggest a change in direction. Let me apologize in advance for the length of this message,

Re: Unable to run Tomcat 5.5.20 as a Windows service under jdk 1.6

2007-02-05 Thread Ken Menzel
- Original Message - From: "Grassi Fabio" <[EMAIL PROTECTED]> To: Sent: Monday, February 05, 2007 6:15 AM Subject: Unable to run Tomcat 5.5.20 as a Windows service under jdk 1.6 On some machines only and only under jdk 1.6 I'm not able to run Tomcat as a Windows service. Installati

Re: AJP Connector - Problems Proxying HTTPS Connections

2007-02-05 Thread Hassan Schroeder
On 2/5/07, Bill Bailey <[EMAIL PROTECTED]> wrote: ServerName www.resourcepoint.org:80 ServerAlias www.resourcepoint.org:80 again, the port # doesn't belong there, and there's no sense to defining a ServerAlias the same as the ServerName # Note that this approach with single argum

Re: AJP Connector - Problems Proxying HTTPS Connections

2007-02-05 Thread Rainer Jung
It should be OK, it's not named based virtual hosts in his case. You should be posting this to the httpd user list, since you are using mod_proxy_* and not mod_jk. You might get help here too, but it's more a question concerning an httpd standard module. From general experience: the answer mi

Re: AJP Connector - Problems Proxying HTTPS Connections

2007-02-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bill, Bill Bailey wrote: > This one is irrelevant to this discussion, right? Your AJP connector is the only one not working. > > address="127.0.0.1" >enableLookups="false" >protocol="

Re: Tomcat launch problem

2007-02-05 Thread Steve Vanspall
I thought that was the problem, but thought I had removed all references to the Xerces that my app uses. It turns out I had all my tomcat projects adding themselves to the tomct classpath. I know i had a good reason at the time, but that was the cause of the problem Thanks Steve Varley

RE: AJP Connector - Problems Proxying HTTPS Connections

2007-02-05 Thread Bill Bailey
Thanks for your suggestions. However, I still have the same problem. I removed the NameVirtualHost entry for port 443, removed the port from the ServerName, removed the DocumentRoot and ServerAlias completely, and added the / to both the ProxyPass and ProxyPassReverse entries after removing the Lo

RE: Tomcat launch problem

2007-02-05 Thread Varley, Roger
> > > Well, check you Sysdeo Plugin settingts. See if they point to a > different server.xml file. From the stack trace it appears the > server.xml is broken. Usually this file is found in > /conf/server.xml but Sysdeo plugin might have changed it. > Could this be caused by Tomcat using a differe

Re: AJP Connector - Problems Proxying HTTPS Connections

2007-02-05 Thread Hassan Schroeder
On 2/5/07, Bill Bailey <[EMAIL PROTECTED]> wrote: To start with -- Apache Virtual Host Configuration Fragment NameVirtualHost xxx.xx.xx.x:443 NameVirtualHosting and SSL don't go together -- yank that Put the real IP that belongs to the SSL cert there ServerName www.resourcepoi

Re: Tomcat launch problem

2007-02-05 Thread Stefan Baramov
Steve Vanspall wrote: > Hi, > > I know this probably doesn't belong here, but a lack of other forums > is causing an issue. > > I have tomcat 5.5.20 set up and it runs without a hitch in standalone > mode. > > I use the sydeo tomcat plugin for eclipse, and it doesn't run claiming > a 'The markup de

Re: AJP Connector - Problems Proxying HTTPS Connections

2007-02-05 Thread David Delbecq
Not speaking of tomcat, as far as i know https and virtual hosting do not mix very well unless the same certificate is used for all hosts. En l'instant précis du 02/05/07 15:53, Bill Bailey s'exprimait en ces termes: > Hi, > > > > I am trying to run Tomcat 5.5.20 behind Win32 Apache HTTPD 2.2.4

AJP Connector - Problems Proxying HTTPS Connections

2007-02-05 Thread Bill Bailey
Hi, I am trying to run Tomcat 5.5.20 behind Win32 Apache HTTPD 2.2.4 with SSL (downloaded from apachelounge.com) using the AJP connector. I have a virtual host configured on both Tomcat and Apache HTTPD. Everything works fine if I configure my Apache HTTPD virtual host to run unsecured

Re: Disable servlet runtime

2007-02-05 Thread Subscriber
Gael Marziou wrote: Solution may depend on which criteria you use to determine whether you should enable or disable a feature. Without knowing more on your requirements, I would use a servlet controller and JAAS permissions granted per role or subject in order to enable/disable features. I

Unable to run Tomcat 5.5.20 as a Windows service under jdk 1.6

2007-02-05 Thread Grassi Fabio
On some machines only and only under jdk 1.6 I'm not able to run Tomcat as a Windows service. Installation of the service goes all right, but when I try to start the service I get the following error in jakarta_service.log: [2007-02-05 12:04:27] [info] Debugging Service... [2007-02-05 12:04:27] [

RE: Differences between tomcat 5.5.9 and tomcat 5.5.20

2007-02-05 Thread Tim Lucia
> -Original Message- > From: Claudio Chiossi [mailto:[EMAIL PROTECTED] > Sent: Monday, February 05, 2007 5:11 AM > To: users@tomcat.apache.org > Subject: Differences between tomcat 5.5.9 and tomcat 5.5.20 > > Hi, > I'm new of this mailing list. > I want to know the differences between tomc

Differences between tomcat 5.5.9 and tomcat 5.5.20

2007-02-05 Thread Claudio Chiossi
Hi, I'm new of this mailing list. I want to know the differences between tomcat 5.5.9 and 5.5.20 because I've a webapplication that work fine under tomcat 5.5.9 but under tomcat 5.5.20 it has many problem about connection to DB. Thank. -- Ing. Claudio Chiossi Quix S.r.l. - Software Solution