-
1. Re: Deploying sar and har inside of esb archive
jhd Sep 10, 2012 3:47 PM (in response to jhd)Does anyone have any ideas? Anyone? I am blocked on a ESB 4.11 migration until I can find a resolution.
I tried alternatively deploying the sar(s) and har at the root of the esb archive. Same result.
The only sub-deployment types I have been able to successfully deploy inside of an esb is war and jar. Are any other sub-deployment types supported? I have not found any reference to this in the ESB documentation.
If I am missing something simple please point me in the right direction.
Thanks.
-
2. Re: Deploying sar and har inside of esb archive
jhd Sep 12, 2012 7:12 PM (in response to jhd)Update ...
I was able to successfully deploy the Ejb, Sar and Har components as peers to the Esb archive. Now the deployment structure looks like:
%JBOSS_HOME%\server\MyServer\deploy\
|___ my-esb.esb
|___ my-common.jar (shared POJOs)
|___ my-ejb.jar (EJB3 SSBs)
|___ my-service.sar (Mbean services)
|___ my-hibernate.har (Native hibernate deployment)
|
...
Deployment dependencies I now have defined between my-esb.esb and various EJBs and Mbeans inside of my-ejb.jar and my-service.sar do get resolved at server startup. Will I run into runtime classpath issues with this structure? I have more testing to perform but hopefully this deployment structure will work.
Any input from JBoss ESB team?
Thanks.
-
3. Re: Deploying sar and har inside of esb archive
tcunning Sep 12, 2012 10:37 PM (in response to jhd)John,
Sorry for the lack of replies - it sounds like the right solution to me given the issues with deployment inside the .esb. I'm not sure what you're doing in your code, and .sar/.har deployment inside of an .esb on AS 6.1 isn't a common use case, so it is hard to know whether you will run into classpath issues. If you do, post them here and we'll try to help in any way we can.