Thanks Thomasmarkus 's patch, It works very well for exploded ear. But I want 
to deploy a exploded war with web-uri point to directory outside of the ear 
file. I changed the code from 256 line of EARDeployer, it works for me. Hope 
the later JBoss AS release support this feature, it's very important if 
application want to support more than one J2EE AS(sicne other J2EE AS have such 
feature, even it is not J2EE mandatory feature).

  | //                  if( nestedURL == null )
  | //                     throw new DeploymentException("Failed to find module 
file: "+fileName);
  | //                  sub = new DeploymentInfo(nestedURL, di, getServer());
  | 
  |                   if( nestedURL == null ) {
  |                                       File f = new File(fileName);
  |                                       if (f.exists())
  |                                       {
  |                                             sub = new 
DeploymentInfo(f.toURL(), di, getServer());
  |                                       } else {
  |                          throw new DeploymentException("Failed to find 
module file: "+fileName);
  |                                       }
  |                   } else {
  |                       sub = new DeploymentInfo(nestedURL, di, getServer());
  |                               }
  | 
  | 
  | 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030076
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to