facebook

Permission denied in Catalina

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #265280 Reply

    nilx
    Member

    Hello

    when I want to start the Tomcat5.5 in MyEclipse the start faild with the Exception:

    
    java.io.FileNotFoundException: /usr/share/tomcat5.5/work/Catalina/localhost/host-manager/tldCache.ser (Permission denied)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
        at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:316)
        at org.apache.catalina.core.StandardContext.processTlds(StandardContext.java:4278)...

    I have set all rigths on the tomcat-folder and the eclipse-folder to the user.

    regrads
    nilx

    #265358

    Scott Anderson
    Participant

    nilx,

    Can you start Tomcat from the commandline? Typically that will fail as well and will need to be fixed before it can work within MyEclipse.

    #266391

    davidsowerby
    Member

    I had the same error message, with no errors reported from the command line (Ubuntu Linux). It seems permissions related, and to get round it (very badly) I have now given “others” read-write access to:

    /var/cache/tomcat5.5
    /usr/share/tomcat5.5
    /var/lib/tomcat5.5
    /var/log/tomcat5.5

    Some of these are needed because of symbolic links …

    The full response is as below. I’ve still one permission to find (the first warning) and something I don’t understand (the second warning)

    Feb-2007 20:43:20 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
    INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/bin:/usr/share/tomcat5.5/bin
    19-Feb-2007 20:43:21 org.apache.coyote.http11.Http11BaseProtocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8180
    19-Feb-2007 20:43:21 org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 695 ms
    19-Feb-2007 20:43:21 org.apache.catalina.users.MemoryUserDatabase save
    WARNING: User database is not persistable – no write permissions on directory
    19-Feb-2007 20:43:21 org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    19-Feb-2007 20:43:21 org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5
    19-Feb-2007 20:43:21 org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    19-Feb-2007 20:43:21 org.apache.catalina.startup.HostConfig deployDescriptor
    WARNING: A docBase /usr/share/tomcat5.5/webapps/balancer inside the host appBase has been specified, and will be ignored
    19-Feb-2007 20:43:21 org.apache.catalina.core.ApplicationContext log
    INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
    19-Feb-2007 20:43:21 org.apache.catalina.startup.HostConfig deployDescriptor
    WARNING: A docBase /usr/share/tomcat5.5/webapps/tomcat-docs inside the host appBase has been specified, and will be ignored
    19-Feb-2007 20:43:22 org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextInitialized()
    19-Feb-2007 20:43:22 org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextInitialized()
    19-Feb-2007 20:43:22 org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextInitialized()
    19-Feb-2007 20:43:22 org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextInitialized()
    19-Feb-2007 20:43:22 org.apache.coyote.http11.Http11BaseProtocol start
    INFO: Starting Coyote HTTP/1.1 on http-8180
    19-Feb-2007 20:43:22 org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    19-Feb-2007 20:43:22 org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/84 config=null
    19-Feb-2007 20:43:22 org.apache.catalina.storeconfig.StoreLoader load
    INFO: Find registry server-registry.xml at classpath resource
    19-Feb-2007 20:43:22 org.apache.catalina.startup.Catalina start
    INFO: Server startup in 1482 ms

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Permission denied in Catalina

You must be logged in to post in the forum log in