Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » EJB deployment - Project dependencies
EJB deployment - Project dependencies [message #223493] Wed, 05 November 2008 19:59 Go to next message
Jan Marc Hoffmann is currently offline Jan Marc HoffmannFriend
Messages: 32
Registered: July 2009
Member
Hi!

I am using a jboss server and the eclipse j2ee tools to develop an EJB
app. The auto deployment feature works well except for a small problem.
The deploy mechanism does only deploy files within the project. It does
not deploy needed deps from the project dependencies.

As example: If i use only files that are part of my server project it
works just fine. But if i copy the files in another project (shared) and
create a project dependency i wont be able to deploy the server project
anymore. The resulting server.jar does not contain the needed class files
from the shared project. If I deploy it manually it works just fine.

I hope someone has an idea how to solve this.

thanks in advance
Jan Marc
Re: EJB deployment - Project dependencies [message #223597 is a reply to message #223493] Thu, 06 November 2008 18:25 Go to previous message
Kaloyan Raev is currently offline Kaloyan RaevFriend
Messages: 201
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi,

What type of project do you publish to the appserver? A standalone EJB or
packed in an EAR?
If you publish an EAR project then you can specify dependencies to the used
shared libraries and they will be deployed on the server toghether with the
EAR.
You need to go to the EAR project's Properties > Java EE Module
Dependencies. There you can point to the modules and JARs you want to pack
toghether.

Greetings,
Kaloyan

"Jan Marc Hoffmann" <exelnet@exelnet.de> wrote in message
news:86304cd47db295d46740124bbd48fdd3$1@www.eclipse.org...
> Hi!
>
> I am using a jboss server and the eclipse j2ee tools to develop an EJB
> app. The auto deployment feature works well except for a small problem.
> The deploy mechanism does only deploy files within the project. It does
> not deploy needed deps from the project dependencies.
>
> As example: If i use only files that are part of my server project it
> works just fine. But if i copy the files in another project (shared) and
> create a project dependency i wont be able to deploy the server project
> anymore. The resulting server.jar does not contain the needed class files
> from the shared project. If I deploy it manually it works just fine.
>
> I hope someone has an idea how to solve this.
>
> thanks in advance
> Jan Marc
>
>
Previous Topic:refactoring framework and EMF2DOMSSE
Next Topic:tag selection for copy/cut
Goto Forum:
  


Current Time: Tue Mar 19 03:26:48 GMT 2024

Powered by FUDForum. Page generated in 0.02145 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top