I am using spring deployer to deploy my spring beans , archived as abc.spring
and specified in application.xml as follows :
module
ejbspring/abc.spring
/ module
The spring beans do a jndi lookup for hibernate session factory deployed as a
har file which is specified in jboss-app.xml as
alesj wrote :
| Edit org.jboss.deployment.MainDeployer-xmbean.xml file in
[JBoss_home]\server\default\conf\xmdesc directory. You'll see which line to fix.
|
As far as I understood, the maindeployer defines the order of artifacts which
it can deploy. Individual deployers are supposed to
I am using spring deployer to deploy my spring beans , archived as abc.spring
and specified in application.xml as follows :
module
ejbspring/abc.spring
/ module
The spring beans do a jndi lookup for hibernate session factory deployed as a
har file which is specified in
module
harhar/xyz.har
/ module
is not acceptable in application.xml. If you specify it as java module then the
required jndi bounding does not happens .
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4027771#4027771
Reply to the post :
Actually I did find a solution to this.
local-directory path=xxxentry explainedas follows :
!-- The optional path attribute gives the prefix of the sar entries that
should be copied into the data directory. If it is not specified the entire sar
contents will be placed into the data directory.
I have built a custom login module and trying to deploy it as a .sar.
The directory structure is like
.sar
--META-INF
jboss-service.xml
--com.xyz.abc
-class files
--lib
required jar files
This all works fine. If a put the above sar in ..\deply folder it is deplyed
correctly.