[jboss-jira] [JBoss JIRA] Created: (JBPORTAL-1110) Portlet Deployment Directory only allows deploy

symmetrysolutions (JIRA) jira-events at jboss.com
Fri Nov 10 09:10:41 EST 2006


Portlet Deployment Directory only allows deploy
-----------------------------------------------

                 Key: JBPORTAL-1110
                 URL: http://jira.jboss.com/jira/browse/JBPORTAL-1110
             Project: JBoss Portal
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Portal Server
    Affects Versions: 2.4 Final
         Environment: Windows XP SP1, JBoss v4.0.5.GA, Java 1.5
            Reporter: symmetrysolutions
         Assigned To: Julien Viet


When the portlet is not deployed from the JBoss Home/server/default/deploy directory the portlet will not deploy. The following error is produced:

2006-11-10 08:59:55,937 ERROR [org.apache.catalina.core.StandardContext] Error starting static Resources
java.lang.IllegalArgumentException: Document base C:\jboss-4.0.5.GA\server\default\.\deploy_40\helloworldjsf.war does not exist or is not a readable directory
	at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:140)
	at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:3848)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4019)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)

The portlet is not being deployed from  C:\jboss-4.0.5.GA\server\default\.\deploy_40 it is actually in C:\deploy_40 but the portal seems to assume the deployment is from the jboss server deploy directory.

I always modify my deploy URL in my JBoss service to allow deployments from another directory. The portal itself is actually in this directory and is deploying correctly allong with all of its default portals but my portlet will not deploy unless I put it in the C:\jboss-4.0.5.GA\server\default\deploy directory.

The portlet I am using is the default JSF Hello World portlet. I have not tried with other portlets.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list