This content has been marked as final.
Show 2 replies
-
1. Re: Programatic creation of jboss data sources
vickyk Feb 15, 2008 8:14 AM (in response to vijaykrishnan)"vijaykrishnan" wrote:
Hi,
Can u plz let me know if there are any Mbean or programatic creation of datasources..
plz guide me
http://wiki.jboss.org/wiki/Wiki.jsp?page=DeploymentService
You need to write the velocity macro specific to datasource deployment descriptor , the data needs to be captured using MBean .
Or you can write a new MBean which will create a -ds.xml file in the deploy folder of the Jboss , this should be simpler ( not velocity macros here)
Also there is work going on this
http://jira.jboss.org/jira/browse/JBAS-1425 -
2. Re: Programatic creation of jboss data sources
vijaykrishnan Feb 18, 2008 6:23 AM (in response to vijaykrishnan)Hi Vicky,
Thanks for the support . i choose the 2nd option seems to be simpler. Now i wanna create jboss server instance programatically is it possible through MBeans or stand alone java.
Beoz there is no command or exposed api avaliable as in weblogic/websphere to create server instances. I just want to know is it possible or not?
If so can u plz provide ur valuable suggestions