Hi All,
i want to load my own jar files (not virtual) to Embeded jBoss for JUnit testing
i copied my jar to deploy dir and after i run Bootstrap.getInstance().bootstrap();
in stacktrace i see next errors:
ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Real: name=vfsfile:/C:/KMnetAdmin/Version_i11/main/TEST/bootstrap/deploy/acnt-ejb.jar state=PostClassLoader mode=Manual requiredState=Real
org.jboss.deployers.spi.DeploymentException: Error during deploy: vfsfile:/C:/KMnetAdmin/Version_i11/main/TEST/bootstrap/deploy/acnt-ejb.jar
.....
Caused by: java.lang.IllegalStateException: Container configuration not found: Standard Stateless SessionBean available: []
at org.jboss.metadata.ejb.jboss.JBossEnterpriseBeanMetaData.determineContainerConfiguration(JBossEnterpriseBeanMetaData.java:648)
at org.jboss.ejb.deployers.EjbDeployer.deploy(EjbDeployer.java:261)
.....
What's wrong and how i can test my own Beans under Embeded JBoss?
What steps i should do to correct load my jars?
thanks
Hi traffic_11,
did you try to deploy your jar directly with
Bootstrap.getInstance().deploy(file);