maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From VUB Stefan Seidel <>
Subject Re: javax.naming.CommunicationException: Receive timed out problem
Date Tue, 04 Mar 2008 10:37:08 GMT

Neo Anderson wrote:
> However, I encounter a new question. I use test case to call my ejb application (stateless
session bean). Thus I found out when executing command 'mvn clean install,'  it will do test
first, resulting failure because  the ejb artifact is still not yet deployed to the server.
How can deploy to and launch the server first before the test case executed. 

That depends on the way you want to set up your test environment. There 
have recently been several posts about the JBoss EJB3 microcontainer, if 
that helps you.
For EJB2 and deploying to a running jboss you could move the tests to 
the integration-test phase (See


best regards,

Stefan Seidel
software developer
VUB Printmedia GmbH
Chopinstraße 4
D-04103 Leipzig
tel.    +49 (341) 9 60 50 07
fax.    +49 (341) 9 60 50 92

HRB Köln 24015
UStID DE 122 649 251
GF Dr. Achim Preuss Neudorf,
Dr. Christian Preuss Neudorf

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message