[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: jboss-structure help needed
adrian@jboss.org
do-not-reply at jboss.com
Tue Jan 22 08:31:38 EST 2008
"alesj" wrote : "anil.saldhana at jboss.com" wrote :
| | I tried the .xml files outside the METADataPath in the structure file in vain.
| |
| Can you try this:
|
| | <metaDataPath>
| | <path name="META-INF"/>
| | <path name=""/>
| | </metaDataPath>
| |
What on earth are you doing?
The -ds.xml files in the root are subdeployments and the login-config.xml
is a resource. None of these are metadata (unless you are going to write
a new securty deployer that creates policies from META-INF/login-config.xml).
| Can you please give me some examples of jboss-structure files?
|
Have you tried looking the testsuite?
For future reference, the jboss-structure.xml should have looked
something like this:
| <structure>
| <!-- Here I define the root context name="" -->
| <context>
| <path name=""/>
|
| <!-- metadata is in META-INF -->
| <metaDataPath>
| <path name="META-INF"/>
| </metaDataPath>
|
| <!-- Classpath is the root -->
| <classpath>
| <path name=""/>
| </classpath>
| </context>
|
| <!-- Here I define a subdeployment, it has not metadata or classpath since it is just a file-->
| <context name="notxfs-ds.xml"/>
|
| <!-- etc -->
| </structure>
|
But these should be the default rules anyway.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122183#4122183
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122183
More information about the jboss-dev-forums
mailing list