I want to used a exploded deployment for a webmodule, and the exploded 
directory (web-uri) is outside of jboss, is this possible?
If tested it on Oracle OC4J and Bea Weblogic, and this works. Is this not 
standard?

application.xml:

  |   <module>
  |      <ejb>catalogserver.jar</ejb>
  |   </module>
  | 
  |   <module>
  |      <web>
  |          <web-uri>D:\data/prg/TRUNK/platform/ext/webmc/web/webroot</web-uri>
  |        <context-root>/webmc</context-root>
  |      </web>
  |   </module>
  | 


results in:

  | 17:42:07,387 INFO  [EARDeployer] Init J2EE application: 
file:/D:/data/prg/TRUNK/appserver/jboss-4.0.4/server/default/deploy/hybrisplatform.ear/
  | 17:42:07,403 ERROR [MainDeployer] Could not initialise deployment: 
file:/D:/data/prg/TRUNK/appserver/jboss-4.0.4/server/default/deploy/hybrisplatform.ear/
  | org.jboss.deployment.DeploymentException: url 
file:/D:/data/prg/TRUNK/appserver/jboss-4.0.4/server/default/deploy/hybrisplatform.ear/D:/data/prg/TRUNK/platform/ext/webmc/web/webroot
 could not be opened, does it exist?
  |         at 
org.jboss.deployment.DeploymentInfo.<init>(DeploymentInfo.java:211)
  |         at org.jboss.deployment.EARDeployer.init(EARDeployer.java:250)
  |         at org.jboss.deployment.MainDeployer.init(MainDeployer.java:861)
  |         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:798)
  |         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
  |         at sun.reflect.GeneratedMethodAccessor58.invoke(Unknown Source)
  |         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | 

It looks like the path

  | file:/D:/data/prg/TRUNK/appserver/jboss-4.0.4/
  |       
server/default/deploy/hybrisplatform.ear/D:/data/prg/TRUNK/platform/ext/webmc/web/webroot
  | 

is obviously not valid, but why is the web-uri path appended to the ear 
directory, in spite of using it as an absolute path?
Has the web-uri path always to point INSIDE the jboss folder?

Thanks in advance, for every comment. 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944424#3944424

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944424


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to