embedded-jboss

Help configuring JNDI with embedded JBoss in Tomcat 5.5.x

When I try the following lookup in my code: Context initCtx = new InitialContext(); Context envCtx = (Context) initCtx.lookup("java:comp/env"); return (DataSource) envCtx.lookup("jdbc/mydb"); I get the following exception: java.sql.SQLException: QueryResults: Unable to initialize naming context: Name java:comp is not bound in th...

Running JUnit tests with Embedded Jboss

Hi I need to run junit tests for classes using ejb3 beans. In our case setting up jboss just for this purpose is not an option and therefore we need an alternative way to simulate the ejb communication. I've read that this should be possible with Embedded Jboss's EJB3StandaloneBootstrapper, but the problem is that I cannot get it to wor...

Has anyone successfully run integration tests with Jboss embedded, Seam and Maven?

Have been trying to get integration testing working with my seam project and the Jboss embedded container but am not having much success. Have been doing a lot of reading and have been trying what is mentioned in this JIRA but am not having any luck. Amy currently just trying to get the 'testproject-master-JBSEAM-2371.zip' project work...

how to redeploy an application on Jboss within Eclipse ?

Hi there, i'm developing a spring-based application with facelets and Java Server Faces which works on Jboss Application Server. As a development Framework, i'm using Eclipse Ganymede Platform Version: 3.4.2 , which integrates the Web Standard Tools and therefore offers support for different servers, like Jboss 5.0. I'm deploying my a...

How to add a jar to the server lib for *embedded* JBoss?

I need to add a crypto provider to the embedded JBoss used by Seam for integration tests. For the regular JBoss it's a simple matter, just drop the files into the /lib folder of the server instance. With the embedded JBoss, however, things seem to be different. I've tried putting the jars in /embedded-jboss/bootstrap/lib and /embedded-j...