This content has been marked as final.
Show 1 reply
-
1. Re: Has anybody a runing embedded jboss env ?
arakasi69 Jul 3, 2008 3:37 AM (in response to arakasi69)OK, i've read further posts here and slowly understand, that there are some issues with the VFS-implementation.
So, i changed my code to deploy the JARs builded with ant in my build system:/** * * Deploys the JAR from the given path in the embedded jboss container. * * @throws IOException */ public static void deploy() throws IOException { try { deployUrl = new File(JAR_RELATIV_PATH).toURL(); Bootstrap.getInstance().deploy(deployUrl); } catch (DeploymentException e) { throw new RuntimeException("Unable to deploy", e); } }
This works fine for me.