[Design the new POJO MicroContainer] - Re: jboss-structure help needed
by anil.saldhana@jboss.com
org.jboss.deployers.spi.DeploymentException: Only one file is allowed, found=[Ja
| rEntryHandler(a)29129210[path=calleridentity-ds.xml context=file:/C:/cygwin/home/a
| saldhana/jboss-5.0/jboss-head/testsuite/output/lib/jca-securedejb.jar real=jar:f
| ile:/C:/cygwin/home/asaldhana/jboss-5.0/jboss-head/testsuite/output/lib/jca-secu
| redejb.jar!/calleridentity-ds.xml], JarEntryHandler(a)15480059[path=notxfs-ds.xml
| context=file:/C:/cygwin/home/asaldhana/jboss-5.0/jboss-head/testsuite/output/lib
| /jca-securedejb.jar real=jar:file:/C:/cygwin/home/asaldhana/jboss-5.0/jboss-head
| /testsuite/output/lib/jca-securedejb.jar!/notxfs-ds.xml]]
| at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse
| (AbstractVFSParsingDeployer.java:108)
| at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithO
| utput.createMetaData(AbstractParsingDeployerWithOutput.java:225)
| at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithO
| utput.createMetaData(AbstractParsingDeployerWithOutput.java:199)
| at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithO
| utput.deploy(AbstractParsingDeployerWithOutput.java:162)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121968#4121968
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121968
18 years, 2 months
[Design the new POJO MicroContainer] - jboss-structure help needed
by anil.saldhana@jboss.com
The ejb jar looks as follows:
| jar tvf jca-securedejb.jar
| 0 Sat Dec 08 12:05:56 CST 2007 META-INF/
| 106 Sat Dec 08 12:05:54 CST 2007 META-INF/MANIFEST.MF
| 0 Sat Dec 08 12:04:18 CST 2007 org/
| 0 Sat Dec 08 12:04:00 CST 2007 org/jboss/
| 0 Sat Dec 08 12:04:18 CST 2007 org/jboss/test/
| 0 Sat Dec 08 12:04:12 CST 2007 org/jboss/test/jca/
| 0 Sat Dec 08 12:04:12 CST 2007 org/jboss/test/jca/securedejb/
| 369 Sat Dec 08 12:04:12 CST 2007 org/jboss/test/jca/securedejb/CallerIdentity.class
| 6472 Sat Dec 08 12:04:12 CST 2007 org/jboss/test/jca/securedejb/CallerIdentityBean.class
| 326 Sat Dec 08 12:04:12 CST 2007 org/jboss/test/jca/securedejb/CallerIdentityHome.class
| 13042 Sat Dec 08 12:05:54 CST 2007 notxfs.rar
| 4244 Sat Dec 08 12:02:52 CST 2007 META-INF/ejb-jar.xml
| 2320 Sat Dec 08 12:02:32 CST 2007 META-INF/jboss.xml
| 2150 Sat Dec 08 12:02:46 CST 2007 calleridentity-ds.xml
| 3730 Sat Dec 08 12:02:26 CST 2007 login-config.xml
| 631 Sat Dec 08 12:02:28 CST 2007 notxfs-ds.xml
|
There are two DS files and a login-config.xml in the deployment.
I tried a jboss-structure.xml as follows:
| <structure>
| <context>
| <path name=""/>
| <metaDataPath>
| <path name="META-INF"/>
| <path name="calleridentity-ds.xml"/>
| <path name="login-config.xml"/>
| <path name="notxfs-ds.xml"/>
| </metaDataPath>
| <classpath>
| <path name=""/>
| </classpath>
| </context>
| </structure>
|
I saw errors such as:
| 2008-01-21 14:31:44,953 DEBUG [org.jboss.deployers.vfs.plugins.structure.Abstrac
| tVFSDeploymentContext] Error retrieving meta data: name=null suffix=-beans.xml^M
| java.lang.IllegalStateException: File cannot contain children: JarEntryHandler@3
| 1854819[path=calleridentity-ds.xml context=file:/C:/cygwin/home/asaldhana/jboss-
| 5.0/jboss-head/testsuite/output/lib/jca-securedejb.jar real=jar:file:/C:/cygwin/
| home/asaldhana/jboss-5.0/jboss-head/testsuite/output/lib/jca-securedejb.jar!/cal
| leridentity-ds.xml]^M
| at org.jboss.virtual.VirtualFile.getChildren(VirtualFile.java:305)^M
| at org.jboss.deployers.vfs.plugins.structure.AbstractVFSDeploymentContex
| t.getMetaDataFiles(AbstractVFSDeploymentContext.java:238)^M
| at org.jboss.deployers.vfs.plugins.structure.AbstractVFSDeploymentUnit.g
|
I tried the .xml files outside the METADataPath in the structure file in vain.
Can you please give me some examples of jboss-structure files?
The test in question is:
| org.jboss.test.jca.test.SecurityContextUnitTestCase
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121955#4121955
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121955
18 years, 2 months