synyx GmbH & Co. KG Homepage Welcome Guest   | Login
  Search  
  Index  | Recent Threads  | Who's Online  | User List  | Register  | Search  | Help  | RSS feeds


Quick Go »
Thread Status: Normal
Total posts in this thread: 4
[Add To My Favorites] [Watch this Thread]
Author
Previous Thread This topic has been viewed 1711 times and has 3 replies Next Thread
Female noobje
Stranger



Joined: Jan 13, 2005
Posts: 18
Status: Offline

error (Permission denied)

hi,

i am getting this error, and i have no idea where it comes from,.. offline everything works fine but in the online version i get this exception in some JSP files....

can someone tell me where the problem is?
thz


javax.servlet.ServletException: Resource loader error in file '/system/modules/com.software.opencms.modules.templates/templates/contact.jsp'

Root cause:
org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: -1 in the jsp file: null

Generated servlet error:
[javac] Compiling 1 source file

/usr/share/tomcat/work/Catalina/localhost/opencms/org/apache/jsp/WEB_002dINF/jsp/online/system/modules/com_software_opencms_modules_templates/templates/contact_jsp_jsp.java:12: error while writing org.apache.jsp.WEB_002dINF.jsp.online.system.modules.com_software_opencms_modules_templates.templates.contact_jsp_jsp: /usr/share/tomcat/work/Catalina/localhost/opencms/org/apache/jsp/WEB_002dINF/jsp/online/system/modules/com_software_opencms_modules_templates/templates/contact_jsp_jsp.class (Permission denied)
public final class contact_jsp_jsp extends org.apache.jasper.runtime.HttpJspBase
^
1 error



and when i reboot openCMS i get this,...
it make no sence to mee,..

[2005-04-27 17:30:07,288] ERROR org.apache.struts.action.ActionServlet - Parsing error processing resource path /WEB-INF/struts-config.xml
java.lang.reflect.InvocationTargetException
at org.apache.commons.digester.Digester.createSAXException(Digester.java:2540)
at org.apache.commons.digester.Digester.createSAXException(Digester.java:2566)
at org.apache.commons.digester.Digester.startElement(Digester.java:1276)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1548)
at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:708)
at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:670)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:329)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1044)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:887)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3959)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4284)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:850)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:638)
at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:320)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:875)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:657)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:476)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1008)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:394)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1134)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:832)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1126)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:521)
at org.apache.catalina.core.StandardService.start(StandardService.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2345)
at org.apache.catalina.startup.Catalina.start(Catalina.java:594)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)

[Apr 27, 2005 5:14:49 PM] Show Printable Version of Post     [Link] Report threatening or abusive post: please login first  Go to top 
Male Arrasz
Advanced Member
Member's Avatar


Joined: Mar 9, 2003
Posts: 1279
Status: Offline

One possible reason could be that the user who start the Tomcat isn?t allowed to write in the folder where tomcat works.

Then offline everything works fine (because of the VFS) and online the compilation of the Servlet from the JSP fails because Jasper isn?t allowed to write a new file (the servlet)

hth

Achim
----------------------------------------
--
/**
* Joachim Arrasz
* OpenSource Solutions
* Synyx GmbH & Co. KG Karlstr. 68 76137 Karlsruhe
* @phone +49(0)721 66 24 866
* @eMail arrasz@synyx.de
* @www http://www.synyx.de
*/
[Apr 27, 2005 6:10:27 PM] Show Printable Version of Post        Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Female noobje
Stranger



Joined: Jan 13, 2005
Posts: 18
Status: Offline


nop, this is not the solution... do you have any other sugestions??

thx
[Apr 28, 2005 8:35:30 AM] Show Printable Version of Post     [Link] Report threatening or abusive post: please login first  Go to top 
Male Arrasz
Advanced Member
Member's Avatar


Joined: Mar 9, 2003
Posts: 1279
Status: Offline

puh .-..


not without having a look into your configuration ;)

sry

Regards Achim
----------------------------------------
--
/**
* Joachim Arrasz
* OpenSource Solutions
* Synyx GmbH & Co. KG Karlstr. 68 76137 Karlsruhe
* @phone +49(0)721 66 24 866
* @eMail arrasz@synyx.de
* @www http://www.synyx.de
*/
[Apr 28, 2005 7:27:27 PM] Show Printable Version of Post        Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
[Show Printable Version of Thread]