tags:

views:

362

answers:

1

Hello good fellas this week i poste on stackoverflow about a script to start/stop/restart tomcat on a mac. i got it working finally but apparently springsource tool suite (based on eclipse galileo 3.5.1) can't publish to it. so i thought it's eclipse bug.I started suspecting tomcat itself after i tried with netbeans 6.7.1 (i've always worked with netbeans6.7.1 on windows) since netbeans handle that just perfectly and also i coult .so this is what i've got

<--cut here-->
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20 Nov 4, 2009 11:00:11 AM org.apache.jasper.EmbeddedServletOptions
SEVERE: The scratchDir you specified: /Library/apache-tomcat-6.0.20/work/Catalina/localhost/host-manager is unusable.
Nov 4, 2009 11:00:11 AM org.apache.jasper.EmbeddedServletOptions
SEVERE: The scratchDir you specified: /Library/apache-tomcat-6.0.20/work/Catalina/localhost/manager is unusable.
Nov 4, 2009 11:00:11 AM org.apache.jasper.EmbeddedServletOptions
SEVERE: The scratchDir you specified: /Library/apache-tomcat-6.0.20/work/Catalina/localhost/docs is unusable.
Nov 4, 2009 11:00:11 AM org.apache.jasper.EmbeddedServletOptions
SEVERE: The scratchDir you specified: /Library/apache-tomcat-6.0.20/work/Catalina/localhost/examples is unusable.
Nov 4, 2009 11:00:12 AM org.apache.jasper.EmbeddedServletOptions
SEVERE: The scratchDir you specified: /Library/apache-tomcat-6.0.20/work/Catalina/localhost/_ is unusable.
Nov 4, 2009 11:00:12 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
java.io.FileNotFoundException: /Library/apache-tomcat-6.0.20/conf/Catalina/localhost/IFPWAFCAD..xml (Permission denied)
<--cut here-->
java.io.FileNotFoundException: /Library/apache-tomcat-6.0.20/work/Catalina/localhost/host-manager/SESSIONS.ser (Permission denied) <--cut here and so on for the rest of each file -->

here are the permission on tomcat

-rw-r--r--@ 1 highjo staff 37951 May 13 23:15 LICENSE
-rw-r--r--@ 1 highjo staff 556 May 13 23:15 NOTICE
-rw-r--r--@ 1 highjo staff 7317 May 13 23:15 RELEASE-NOTES
-rw-r--r--@ 1 highjo staff 6368 May 13 23:15 RUNNING.txt
drwxr-xr-x@ 26 highjo staff 884 Oct 30 10:46 bin
drwxr-xr-x@ 11 highjo staff 374 Nov 4 10:47 conf
drwxr-xr-x@ 18 highjo staff 612 Oct 30 10:46 lib
drwxr-xr-x@ 20 highjo staff 680 Nov 4 10:41 logs
drwxr-xr-x@ 3 highjo staff 102 Oct 30 10:46 temp
drwxr-xr-x@ 8 highjo staff 272 Nov 3 11:56 webapps
drwxr-xr-x@ 3 highjo staff 102 Oct 30 11:44 work

A: 

solve it.reinstalled everything

black sensei