java.lang.IllegalArgumentException: File D:\projects\trunk\bundles\tomcat-7.0.21\temp\upload_00000021. does not exist

Liferay Issues | Davide Rossi | 5 years ago
  1. 0

    Attempting to change a theme in Manage Pages and Manage Pages through the Control Panel returns "Manage Pages is temporarily unavailable" or through the Control Panel "site Settings is temporarily unavailable". Also after Clicking Manage -> Page, opening any Overlay through the Manage Drop Down will open Manage Page until the Browser is refreshed. Manage Pages works in Revision: 91384. Steps to reproduce # Manage -> Page # Click Look and Feel # Click "look and feel of the Public Pages" # Flag the Green Radio Field # Click Save # "Manage Pages is temporarily unavailable" is displayed and an exception is thrown in the console # Refresh the Browser # Click Manage -> Page # Click Close dialog # Manage -> Site Settings # Manage Page overlay is opened instead of Site Settings {code} 20:31:59,318 ERROR [render_portlet_jsp:154] java.lang.IllegalArgumentException: File D:\projects\trunk\bundles\tomcat-7.0.21\temp\upload_00000021. does not exist at com.liferay.portal.kernel.io.ByteArrayFileInputStream.<init>(ByteArrayFileInputStream.java:35) at com.liferay.portal.kernel.io.ByteArrayFileInputStream.<init>(ByteArrayFileInputStream.java:28) at com.liferay.portlet.layoutsadmin.action.EditLayoutSetAction.updateLogo(EditLayoutSetAction.java:200) at com.liferay.portlet.layoutsadmin.action.EditLayoutSetAction.updateLayoutSet(EditLayoutSetAction.java:169) at com.liferay.portlet.layoutsadmin.action.EditLayoutSetAction.processAction(EditLayoutSetAction.java:80) at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:175) at com.liferay.portlet.StrutsPortlet.processAction(StrutsPortlet.java:190) at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:70) at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:48) at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:653) at com.liferay.portlet.InvokerPortletImpl.invokeAction(InvokerPortletImpl.java:689) at com.liferay.portlet.InvokerPortletImpl.processAction(InvokerPortletImpl.java:361) at com.liferay.portal.action.LayoutAction.processPortletRequest(LayoutAction.java:845) at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:633) at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:244) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:173) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) {code} Through the Control Panel # Go To -> Control Panel # Click Site Pages # Look and Feel # Flag the Green Radio Field # Click Save # "Site Pages is temporarily unavailable." is returned and the same exception is thrown in the console

    Liferay Issues | 5 years ago | Davide Rossi
    java.lang.IllegalArgumentException: File D:\projects\trunk\bundles\tomcat-7.0.21\temp\upload_00000021. does not exist
  2. 0

    Logging Problem with unpackWARs="false"

    Coderanch | 10 years ago | James Dekker
    java.lang.IllegalArgumentException: Document base C:\DevTools\tomcat\jakarta-tomcat-5.5.9\temp\0-mywebapp does not exist or is not a readable directory
  3. 0

    I am in the process of trying to install JSPWiki 2.9.1 on existing Apache Tomcat 6.0.20 Server that we have. I am currently running JSPWiki v2.8.4 on this server and it is working great under my context 'wiki'. I have unzipped the JSPWiki.war and placed it on my tomcat server as 'jc_wiki' under the web. I have only changed a few properties in properties file in order to start this app up. I will attach the properties file as well. I received the error below first and I removed 'commons-logging-api-1.0.4.jar' from the lib directory. I had to do this on v2.8.4 to get this to work also. {panel:title=First Error that I have fixed | borderStyle=dashed| borderColor=#ccc| titleBGColor=#F7D6C1| bgColor=#FFFFCE} Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy. You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed. (Caused by org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy. You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed.) (Caused by org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy. You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed. (Caused by org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy. You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed.)) at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209) at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351) at com.opensymphony.oscache.base.Cache.<clinit>(Cache.java:42) ... 35 more {panel} This is the next error that I receive and I am unable to resolve it. I changed security of the whole Tomcat directory and children directories to have full access for the user that is running the Tomcat server and it did not fix the issue. The jspwiki.policy is located in "D:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\jc_wiki\WEB-INF\jspwiki.policy". *Could this be an issue with the Tomcat server being installed on Windows with spaces in the install path?* {panel:title=jspwiki.policy not found Error| borderStyle=dashed| borderColor=#ccc| titleBGColor=#F7D6C1| bgColor=#FFFFCE} Starting up background thread: JSPWiki Lucene Indexer. Starting up background thread: WatchDog for 'JC Wiki'. log4j:WARN No appenders could be found for logger (com.opensymphony.oscache.base.algorithm.AbstractConcurrentReadCache). log4j:WARN Please initialize the log4j system properly. Starting up background thread: JSPWiki Lucene Indexer. Starting up background thread: WatchDog for 'JC Wiki'. java.lang.IllegalArgumentException: File d:\Program%20Files\Apache%20Software%20Foundation\Tomcat%206.0\webapps\jc_wiki\WEB-INF\jspwiki.policy does not exist, or the SecurityManager prohibited access to it. at org.freshcookies.security.policy.PolicyReader.<init>(PolicyReader.java:188) at org.freshcookies.security.policy.LocalPolicy.refresh(LocalPolicy.java:324) at org.apache.wiki.auth.AuthorizationManager.initialize(AuthorizationManager.java:491) at org.apache.wiki.WikiEngine.initialize(WikiEngine.java:562) at org.apache.wiki.WikiEngine.<init>(WikiEngine.java:406) at org.apache.wiki.WikiEngine.getInstance(WikiEngine.java:346) at org.apache.wiki.ui.WikiServletFilter.init(WikiServletFilter.java:83) at org.apache.wiki.ui.WikiJSPFilter.init(WikiJSPFilter.java:74) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397) at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3800) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4450) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:987) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:909) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:495) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:722) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:583) 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:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) {panel}

    Apache's JIRA Issue Tracker | 3 years ago | Curtis Pendleton
    java.lang.IllegalArgumentException: File d:\Program%20Files\Apache%20Software%20Foundation\Tomcat%206.0\webapps\jc_wiki\WEB-INF\jspwiki.policy does not exist, or the SecurityManager prohibited access to it.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.IllegalArgumentException: Document base D:\Program Files\Tomcat\tomcat-7.0\webapps\ROOT does not exist or is not a readable directory

    Stack Overflow | 3 months ago | lzy
    java.lang.IllegalArgumentException: Document base D:\Program Files\Tomcat\tomcat-7.0\webapps\ROOT does not exist or is not a readable directory
  6. 0

    Env=value, deploy on Tomcat | spring - maven - spring-mvc - tomcat - system-properties

    solutionscore.com | 1 year ago
    java.lang.IllegalArgumentException: Document base /opt/apache-tomcat-7.0.42/temp/0-sonar does not exist or is not a readable directory

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      File D:\projects\trunk\bundles\tomcat-7.0.21\temp\upload_00000021. does not exist

      at com.liferay.portal.kernel.io.ByteArrayFileInputStream.<init>()
    2. Liferay Portal Service
      ByteArrayFileInputStream.<init>
      1. com.liferay.portal.kernel.io.ByteArrayFileInputStream.<init>(ByteArrayFileInputStream.java:35)
      2. com.liferay.portal.kernel.io.ByteArrayFileInputStream.<init>(ByteArrayFileInputStream.java:28)
      2 frames
    3. Liferay Portal Impl
      PortletRequestProcessor.process
      1. com.liferay.portlet.layoutsadmin.action.EditLayoutSetAction.updateLogo(EditLayoutSetAction.java:200)
      2. com.liferay.portlet.layoutsadmin.action.EditLayoutSetAction.updateLayoutSet(EditLayoutSetAction.java:169)
      3. com.liferay.portlet.layoutsadmin.action.EditLayoutSetAction.processAction(EditLayoutSetAction.java:80)
      4. com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:175)
      4 frames
    4. Liferay Portal Service
      InvokerPortletImpl.processAction
      1. com.liferay.portlet.StrutsPortlet.processAction(StrutsPortlet.java:190)
      2. com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:70)
      3. com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:48)
      4. com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:653)
      5. com.liferay.portlet.InvokerPortletImpl.invokeAction(InvokerPortletImpl.java:689)
      6. com.liferay.portlet.InvokerPortletImpl.processAction(InvokerPortletImpl.java:361)
      6 frames
    5. Liferay Portal Impl
      LayoutAction.execute
      1. com.liferay.portal.action.LayoutAction.processPortletRequest(LayoutAction.java:845)
      2. com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:633)
      3. com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:244)
      3 frames
    6. struts
      RequestProcessor.process
      1. org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
      2. org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
      2 frames
    7. Liferay Portal Impl
      PortalRequestProcessor.process
      1. com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:173)
      1 frame
    8. struts
      ActionServlet.doPost
      1. org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
      2. org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
      2 frames