Re: 403 errors for webdav PUT on TC 4.0.3
Hi Remy, Well, I wiped the egg off my face and saw the comment in $TOMCAT/ webapps/webdav/WEF-INF/web.xml to uncomment the entries that set readonly to false. That did the trick. Thx :) -- marcia Remy Maucherat wrote: Hi, I tried using the DAVExplorer webdav client app w/ Tomcat v4.0.3 (on Solaris). I connected with URL http://myhost:8080/webdav/; and was able to GET files from the $TOMCAT_HOME/webapps/webdav/ directory w/ no problem. But when I tried to 'make collection' or 'PUT', I get 403 errors. So I did the obvious--since in these cases I'm trying to write to a directory in the tomcat tree, I checked ownership, group, and permissions. I'm running TC as user 'mperry', group 'xyz' and I ran the client as 'mperry', group 'xyz' and I did a 'chmod -R 777' on the whole Tomcat doc tree, just TEMPORARILY to rule out UNIX file permission restrictions. I checked in the Tomcat logs for any security or restraints and see nothing. I do see in localhost_log***.txt that the /webdav webapp was loaded, w/ no errors. And I know that w/ Apache (using mod_dav), you need to put a DAVOn entry in httpd.conf, but this isn't Apache. Any suggestions on how I can get the Tomcat webdav web app to do writes (PUT, MKCOL, ...)? You have to enable read/write for the WebDAV servlet, which is commented out in /WEB-INF/web.xml (for obvious security reasons). Remy -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- Marcia Perry[EMAIL PROTECTED] Lawrence Berkeley National Laboratory WORK# (510) 486-6786 1 Cyclotron RoadFAX# (510) 486-6363 Berkeley, CA 94720 MS: 50A-3111 -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
403 errors for webdav PUT on TC 4.0.3
Hi, I tried using the DAVExplorer webdav client app w/ Tomcat v4.0.3 (on Solaris). I connected with URL http://myhost:8080/webdav/; and was able to GET files from the $TOMCAT_HOME/webapps/webdav/ directory w/ no problem. But when I tried to 'make collection' or 'PUT', I get 403 errors. So I did the obvious--since in these cases I'm trying to write to a directory in the tomcat tree, I checked ownership, group, and permissions. I'm running TC as user 'mperry', group 'xyz' and I ran the client as 'mperry', group 'xyz' and I did a 'chmod -R 777' on the whole Tomcat doc tree, just TEMPORARILY to rule out UNIX file permission restrictions. I checked in the Tomcat logs for any security or restraints and see nothing. I do see in localhost_log***.txt that the /webdav webapp was loaded, w/ no errors. And I know that w/ Apache (using mod_dav), you need to put a DAVOn entry in httpd.conf, but this isn't Apache. Any suggestions on how I can get the Tomcat webdav web app to do writes (PUT, MKCOL, ...)? Thanks, Marcia Marcia Perry[EMAIL PROTECTED] Lawrence Berkeley National Laboratory WORK# (510) 486-6786 1 Cyclotron RoadFAX# (510) 486-6363 Berkeley, CA 94720 MS: 50A-3111 -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
ClassLoader error
Hi, I'm running the pre-compiled binary of Tomcat 3.1 on Solaris 2.7. If I compile my servlets with JDK1.2 and use environment variables for JDK1.2, my servlets run fine. However, if I compile a servlet w/ JDK1.4 (and also change my environment vars for jdk1.4), I get this error: Bad major version number from the ClassLoader. Any suggestions on how to get TC to load/execute servlets compiled with jdk1.4? Thanks -- marcia Marcia Perry[EMAIL PROTECTED] Lawrence Berkeley National Laboratory WORK# (510) 486-6786 1 Cyclotron RoadFAX# (510) 486-6363 Berkeley, CA 94720 MS: 50A-3111
building tomcat v3.2.3
Hi, I'm trying to build tomcat v3.2.3 from source (on Solaris 2.7) and I'm following the README that comes w/ the src distribution. I got stuck on the ant directives. The README says that after running bootstrap.sh for the ant src, I'll get an ant.jar file which I'll use later to build Tomcat. The jakarta website has the source for ant v1.4 and so I got and built that. I have a crimson.jar and a jaxp.jar, but no ant.jar. The 'ant' build output was successful. So can I go ahead and build Tomcat w/ crimson.jar and jaxp.jar and no ant.jar?? Or does anyone know where I can get the ant v1.2 src? Thanks, marcia -- Marcia Perry[EMAIL PROTECTED] Lawrence Berkeley National Laboratory WORK# (510) 486-6786 1 Cyclotron RoadFAX# (510) 486-6363 Berkeley, CA 94720 MS: 50A-3111
Re: TOMCAT Installation
Tan Khim Siang wrote: did you copy the compiled mod_jk.so to the libexec dir for apache? In addition to putting mod_jk.so (or any .so Apache is using) into Apache's libexec directory, I had to set my LD_LIBRARY_PATH on Solaris. I added a line to the apache start script (i.e., apachectl): LD_LIBRARY_PATH=/my_apache_home/libexec export LD_LIBRARY_PATH -- Marcia - Original Message - From: Samuzeau Pascal [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 27, 2001 5:16 PM Subject: TOMCAT Installation Hi, I'm still installing Cocoon on my Unix/SunOS platform. I've installing Tomcat and start it. It works well and has created automatically some files. When I try to restart Apache, I have the following error : Syntax error on line 8 of mod_jk.conf-auto : Cannot load mod_jk.so into server : no such file or directory So, I've searched of the mod_jk.so file, and I haven't found it. Everything is clear. But, If I have well understood, I don't need to install the JServ, Tomcat is here now. Am I right ? How can I resolve my problem Sincerily PS -- Marcia Perry[EMAIL PROTECTED] Lawrence Berkeley National Laboratory WORK# (510) 486-6786 1 Cyclotron RoadFAX# (510) 486-6363 Berkeley, CA 94720 MS: 50A-3111