You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by Christopher Wash <ch...@gmail.com> on 2009/08/26 15:22:32 UTC

Problem scanning JAR with deprecated EJB2.0 elements in ejb-jar.xml

I’m seeing the following fatal error when OpenEJB hits a jar file on the
classpath that has an ejb-jar.xml file with some deprecated EJB2.0 elements
in it.  I can provide the JAR file if you like. (jbpm-enterprise.jar)

Is this perhaps related to https://issues.apache.org/jira/browse/OPENEJB-701?

Thanks,

Chris


INFO - Beginning load: /Users/chris/Documents/workspace/claims/
jboss-4.2.2.GA/server/default/lib/jbpm-enterprise.jar[severity=ERROR,message=unexpected
element (uri:"
http://java.sun.com/xml/ns/javaee", local:"acknowledge-mode"). Expected
elements are <{http://java.sun.com/xml/ns/javaee}display-name>,<{
http://java.sun.com/xml/ns/javaee}post-construct>,<{
http://java.sun.com/xml/ns/javaee}timeout-method>,<{
http://java.sun.com/xml/ns/javaee}ejb-ref>,<{
http://java.sun.com/xml/ns/javaee}around-invoke>,<{
http://java.sun.com/xml/ns/javaee}messaging-type>,<{
http://java.sun.com/xml/ns/javaee}icon>,<{
http://java.sun.com/xml/ns/javaee}resource-ref>,<{
http://java.sun.com/xml/ns/javaee}activation-config>,<{
http://java.sun.com/xml/ns/javaee}transaction-type>,<{
http://java.sun.com/xml/ns/javaee}ejb-class>,<{
http://java.sun.com/xml/ns/javaee}ejb-local-ref>,<{
http://java.sun.com/xml/ns/javaee}message-destination-ref>,<{
http://java.sun.com/xml/ns/javaee}message-driven-destination>,<{
http://java.sun.com/xml/ns/javaee}env-entry>,<{
http://java.sun.com/xml/ns/javaee}description>,<{
http://java.sun.com/xml/ns/javaee}security-identity>,<{
http://java.sun.com/xml/ns/javaee}ejb-name>,<{
http://java.sun.com/xml/ns/javaee}mapped-name>,<{
http://java.sun.com/xml/ns/javaee}service-ref>,<{
http://java.sun.com/xml/ns/javaee}message-destination-type>,<{
http://java.sun.com/xml/ns/javaee}persistence-context-ref>,<{
http://java.sun.com/xml/ns/javaee}message-destination-link>,<{
http://java.sun.com/xml/ns/javaee}resource-env-ref>,<{
http://java.sun.com/xml/ns/javaee}persistence-unit-ref>,<{
http://java.sun.com/xml/ns/javaee}pre-destroy>,locator=[node=null,object=null,url=null,line=69,col=25,offset=-1]]
WARN - Jar not loaded. /Users/chris/Documents/workspace/vwc/claims/
jboss-4.2.2.GA/server/default/lib/jbpm-enterprise.jar.  Cannot unmarshall
the ejb-jar.xml file: jar:file:/Users/chris/Documents/workspace/vwc/claims/
jboss-4.2.2.GA/server/default/lib/jbpm-enterprise.jar!/META-INF/ejb-jar.xml:
unexpected element (uri:"http://java.sun.com/xml/ns/javaee",
local:"acknowledge-mode"). Expected elements are <{
http://java.sun.com/xml/ns/javaee}display-name>,<{
http://java.sun.com/xml/ns/javaee}post-construct>,<{
http://java.sun.com/xml/ns/javaee}timeout-method>,<{
http://java.sun.com/xml/ns/javaee}ejb-ref>,<{
http://java.sun.com/xml/ns/javaee}around-invoke>,<{
http://java.sun.com/xml/ns/javaee}messaging-type>,<{
http://java.sun.com/xml/ns/javaee}icon>,<{
http://java.sun.com/xml/ns/javaee}resource-ref>,<{
http://java.sun.com/xml/ns/javaee}activation-config>,<{
http://java.sun.com/xml/ns/javaee}transaction-type>,<{
http://java.sun.com/xml/ns/javaee}ejb-class>,<{
http://java.sun.com/xml/ns/javaee}ejb-local-ref>,<{
http://java.sun.com/xml/ns/javaee}message-destination-ref>,<{
http://java.sun.com/xml/ns/javaee}message-driven-destination>,<{
http://java.sun.com/xml/ns/javaee}env-entry>,<{
http://java.sun.com/xml/ns/javaee}description>,<{
http://java.sun.com/xml/ns/javaee}security-identity>,<{
http://java.sun.com/xml/ns/javaee}ejb-name>,<{
http://java.sun.com/xml/ns/javaee}mapped-name>,<{
http://java.sun.com/xml/ns/javaee}service-ref>,<{
http://java.sun.com/xml/ns/javaee}message-destination-type>,<{
http://java.sun.com/xml/ns/javaee}persistence-context-ref>,<{
http://java.sun.com/xml/ns/javaee}message-destination-link>,<{
http://java.sun.com/xml/ns/javaee}resource-env-ref>,<{
http://java.sun.com/xml/ns/javaee}persistence-unit-ref>,<{
http://java.sun.com/xml/ns/javaee}pre-destroy>
org.apache.openejb.OpenEJBException: Cannot unmarshall the ejb-jar.xml file:
jar:file:/Users/chris/Documents/workspace/vwc/claims/
jboss-4.2.2.GA/server/default/lib/jbpm-enterprise.jar!/META-INF/ejb-jar.xml:
unexpected element (uri:"http://java.sun.com/xml/ns/javaee",
local:"acknowledge-mode"). Expected elements are <{
http://java.sun.com/xml/ns/javaee}display-name>,<{
http://java.sun.com/xml/ns/javaee}post-construct>,<{
http://java.sun.com/xml/ns/javaee}timeout-method>,<{
http://java.sun.com/xml/ns/javaee}ejb-ref>,<{
http://java.sun.com/xml/ns/javaee}around-invoke>,<{
http://java.sun.com/xml/ns/javaee}messaging-type>,<{
http://java.sun.com/xml/ns/javaee}icon>,<{
http://java.sun.com/xml/ns/javaee}resource-ref>,<{
http://java.sun.com/xml/ns/javaee}activation-config>,<{
http://java.sun.com/xml/ns/javaee}transaction-type>,<{
http://java.sun.com/xml/ns/javaee}ejb-class>,<{
http://java.sun.com/xml/ns/javaee}ejb-local-ref>,<{
http://java.sun.com/xml/ns/javaee}message-destination-ref>,<{
http://java.sun.com/xml/ns/javaee}message-driven-destination>,<{
http://java.sun.com/xml/ns/javaee}env-entry>,<{
http://java.sun.com/xml/ns/javaee}description>,<{
http://java.sun.com/xml/ns/javaee}security-identity>,<{
http://java.sun.com/xml/ns/javaee}ejb-name>,<{
http://java.sun.com/xml/ns/javaee}mapped-name>,<{
http://java.sun.com/xml/ns/javaee}service-ref>,<{
http://java.sun.com/xml/ns/javaee}message-destination-type>,<{
http://java.sun.com/xml/ns/javaee}persistence-context-ref>,<{
http://java.sun.com/xml/ns/javaee}message-destination-link>,<{
http://java.sun.com/xml/ns/javaee}resource-env-ref>,<{
http://java.sun.com/xml/ns/javaee}persistence-unit-ref>,<{
http://java.sun.com/xml/ns/javaee}pre-destroy>    at
org.apache.openejb.config.ReadDescriptors.readEjbJar(ReadDescriptors.java:374)
at
org.apache.openejb.config.DeploymentLoader.createEjbModule(DeploymentLoader.java:459)
at
org.apache.openejb.config.DeploymentLoader.load(DeploymentLoader.java:134)
at
org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:509)
at
org.apache.openejb.config.ConfigurationFactory.getOpenEjbConfiguration(ConfigurationFactory.java:380)
at
org.apache.openejb.assembler.classic.Assembler.getOpenEjbConfiguration(Assembler.java:292)
at
org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:271)
at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:137)    at
org.apache.openejb.OpenEJB.init(OpenEJB.java:286)    at
org.apache.openejb.OpenEJB.init(OpenEJB.java:265)    at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)    at
org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:36)
at
org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:71)
at
org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:53)
at
org.apache.openejb.client.LocalInitialContextFactory.getInitialContext(LocalInitialContextFactory.java:42)
at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
at javax.naming.InitialContext.init(InitialContext.java:223)    at
javax.naming.InitialContext.<init>(InitialContext.java:197)    at
us.va.state.vwc.search.service.ClaimSearchServiceTest.setUp(ClaimSearchServiceTest.java:40)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)    at
org.junit.internal.runners.BeforeAndAfterRunner.invokeMethod(BeforeAndAfterRunner.java:74)
at
org.junit.internal.runners.BeforeAndAfterRunner.runBefores(BeforeAndAfterRunner.java:50)
at
org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:33)
at
org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
at
org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
at
org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:66)
at
org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)
at
org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
at
org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
at
org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
at
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)
at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
Caused by: javax.xml.bind.UnmarshalException: unexpected element (uri:"
http://java.sun.com/xml/ns/javaee", local:"acknowledge-mode"). Expected
elements are <{http://java.sun.com/xml/ns/javaee}display-name>,<{
http://java.sun.com/xml/ns/javaee}post-construct>,<{
http://java.sun.com/xml/ns/javaee}timeout-method>,<{
http://java.sun.com/xml/ns/javaee}ejb-ref>,<{
http://java.sun.com/xml/ns/javaee}around-invoke>,<{
http://java.sun.com/xml/ns/javaee}messaging-type>,<{
http://java.sun.com/xml/ns/javaee}icon>,<{
http://java.sun.com/xml/ns/javaee}resource-ref>,<{
http://java.sun.com/xml/ns/javaee}activation-config>,<{
http://java.sun.com/xml/ns/javaee}transaction-type>,<{
http://java.sun.com/xml/ns/javaee}ejb-class>,<{
http://java.sun.com/xml/ns/javaee}ejb-local-ref>,<{
http://java.sun.com/xml/ns/javaee}message-destination-ref>,<{
http://java.sun.com/xml/ns/javaee}message-driven-destination>,<{
http://java.sun.com/xml/ns/javaee}env-entry>,<{
http://java.sun.com/xml/ns/javaee}description>,<{
http://java.sun.com/xml/ns/javaee}security-identity>,<{
http://java.sun.com/xml/ns/javaee}ejb-name>,<{
http://java.sun.com/xml/ns/javaee}mapped-name>,<{
http://java.sun.com/xml/ns/javaee}service-ref>,<{
http://java.sun.com/xml/ns/javaee}message-destination-type>,<{
http://java.sun.com/xml/ns/javaee}persistence-context-ref>,<{
http://java.sun.com/xml/ns/javaee}message-destination-link>,<{
http://java.sun.com/xml/ns/javaee}resource-env-ref>,<{
http://java.sun.com/xml/ns/javaee}persistence-unit-ref>,<{
http://java.sun.com/xml/ns/javaee}pre-destroy>    at
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent(UnmarshallingContext.java:523)
at
com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:199)
at
com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:194)
at
com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportUnexpectedChildElement(Loader.java:71)
at
com.sun.xml.bind.v2.runtime.unmarshaller.Loader.childElement(Loader.java:65)
at
com.sun.xml.bind.v2.runtime.unmarshaller.StructureLoader.childElement(StructureLoader.java:209)
at
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement(UnmarshallingContext.java:366)
at
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement(UnmarshallingContext.java:347)
at
com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement(SAXConnector.java:101)
at org.xml.sax.helpers.XMLFilterImpl.startElement(XMLFilterImpl.java:527)
at
org.apache.openejb.jee.JaxbJavaee$NamespaceFilter.startElement(JaxbJavaee.java:126)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
Source)    at
org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)    at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)    at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)    at
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:333)    at
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:194)
at
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:167)
at
javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:120)
at
javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:103)
at org.apache.openejb.jee.JaxbJavaee.unmarshal(JaxbJavaee.java:104)    at
org.apache.openejb.config.ReadDescriptors.readEjbJar(ReadDescriptors.java:370)
... 42 more

Re: Problem scanning JAR with deprecated EJB2.0 elements in ejb-jar.xml

Posted by David Blevins <da...@visi.com>.
On Aug 26, 2009, at 6:22 AM, Christopher Wash wrote:

> I’m seeing the following fatal error when OpenEJB hits a jar file on  
> the
> classpath that has an ejb-jar.xml file with some deprecated EJB2.0  
> elements
> in it.  I can provide the JAR file if you like. (jbpm-enterprise.jar)
>
> Is this perhaps related to https://issues.apache.org/jira/browse/OPENEJB-701?

Looks like that's the case.  Seems we were also missing <message- 
selector>.

Added both:

https://issues.apache.org/jira/browse/OPENEJB-1065
https://issues.apache.org/jira/browse/OPENEJB-1066

Fixed now and will be released in 3.1.2.

Published new maven snapshots for you at:

  http://repository.apache.org/snapshots/

And a zip file if you need it:

  http://repository.apache.org/snapshots/org/apache/openejb/openejb-standalone/3.1.2-SNAPSHOT/openejb-standalone-3.1.2-20090827.210255-5.zip

Thanks for reporting this!


-David


>
> Thanks,
>
> Chris
>
>
> INFO - Beginning load: /Users/chris/Documents/workspace/claims/
> jboss-4.2.2.GA/server/default/lib/jbpm- 
> enterprise.jar[severity=ERROR,message=unexpected
> element (uri:"
> http://java.sun.com/xml/ns/javaee", local:"acknowledge-mode").  
> Expected
> elements are <{http://java.sun.com/xml/ns/javaee}display-name>,<{
> http://java.sun.com/xml/ns/javaee}post-construct>,<{
> http://java.sun.com/xml/ns/javaee}timeout-method>,<{
> http://java.sun.com/xml/ns/javaee}ejb-ref>,<{
> http://java.sun.com/xml/ns/javaee}around-invoke>,<{
> http://java.sun.com/xml/ns/javaee}messaging-type>,<{
> http://java.sun.com/xml/ns/javaee}icon>,<{
> http://java.sun.com/xml/ns/javaee}resource-ref>,<{
> http://java.sun.com/xml/ns/javaee}activation-config>,<{
> http://java.sun.com/xml/ns/javaee}transaction-type>,<{
> http://java.sun.com/xml/ns/javaee}ejb-class>,<{
> http://java.sun.com/xml/ns/javaee}ejb-local-ref>,<{
> http://java.sun.com/xml/ns/javaee}message-destination-ref>,<{
> http://java.sun.com/xml/ns/javaee}message-driven-destination>,<{
> http://java.sun.com/xml/ns/javaee}env-entry>,<{
> http://java.sun.com/xml/ns/javaee}description>,<{
> http://java.sun.com/xml/ns/javaee}security-identity>,<{
> http://java.sun.com/xml/ns/javaee}ejb-name>,<{
> http://java.sun.com/xml/ns/javaee}mapped-name>,<{
> http://java.sun.com/xml/ns/javaee}service-ref>,<{
> http://java.sun.com/xml/ns/javaee}message-destination-type>,<{
> http://java.sun.com/xml/ns/javaee}persistence-context-ref>,<{
> http://java.sun.com/xml/ns/javaee}message-destination-link>,<{
> http://java.sun.com/xml/ns/javaee}resource-env-ref>,<{
> http://java.sun.com/xml/ns/javaee}persistence-unit-ref>,<{
> http://java.sun.com/xml/ns/javaee}pre- 
> destroy 
> >,locator=[node=null,object=null,url=null,line=69,col=25,offset=-1]]
> WARN - Jar not loaded. /Users/chris/Documents/workspace/vwc/claims/
> jboss-4.2.2.GA/server/default/lib/jbpm-enterprise.jar.  Cannot  
> unmarshall
> the ejb-jar.xml file: jar:file:/Users/chris/Documents/workspace/vwc/ 
> claims/
> jboss-4.2.2.GA/server/default/lib/jbpm-enterprise.jar!/META-INF/ejb- 
> jar.xml:
> unexpected element (uri:"http://java.sun.com/xml/ns/javaee",
> local:"acknowledge-mode"). Expected elements are <{
> http://java.sun.com/xml/ns/javaee}display-name>,<{
> http://java.sun.com/xml/ns/javaee}post-construct>,<{
> http://java.sun.com/xml/ns/javaee}timeout-method>,<{
> http://java.sun.com/xml/ns/javaee}ejb-ref>,<{
> http://java.sun.com/xml/ns/javaee}around-invoke>,<{
> http://java.sun.com/xml/ns/javaee}messaging-type>,<{
> http://java.sun.com/xml/ns/javaee}icon>,<{
> http://java.sun.com/xml/ns/javaee}resource-ref>,<{
> http://java.sun.com/xml/ns/javaee}activation-config>,<{
> http://java.sun.com/xml/ns/javaee}transaction-type>,<{
> http://java.sun.com/xml/ns/javaee}ejb-class>,<{
> http://java.sun.com/xml/ns/javaee}ejb-local-ref>,<{
> http://java.sun.com/xml/ns/javaee}message-destination-ref>,<{
> http://java.sun.com/xml/ns/javaee}message-driven-destination>,<{
> http://java.sun.com/xml/ns/javaee}env-entry>,<{
> http://java.sun.com/xml/ns/javaee}description>,<{
> http://java.sun.com/xml/ns/javaee}security-identity>,<{
> http://java.sun.com/xml/ns/javaee}ejb-name>,<{
> http://java.sun.com/xml/ns/javaee}mapped-name>,<{
> http://java.sun.com/xml/ns/javaee}service-ref>,<{
> http://java.sun.com/xml/ns/javaee}message-destination-type>,<{
> http://java.sun.com/xml/ns/javaee}persistence-context-ref>,<{
> http://java.sun.com/xml/ns/javaee}message-destination-link>,<{
> http://java.sun.com/xml/ns/javaee}resource-env-ref>,<{
> http://java.sun.com/xml/ns/javaee}persistence-unit-ref>,<{
> http://java.sun.com/xml/ns/javaee}pre-destroy>
> org.apache.openejb.OpenEJBException: Cannot unmarshall the ejb- 
> jar.xml file:
> jar:file:/Users/chris/Documents/workspace/vwc/claims/
> jboss-4.2.2.GA/server/default/lib/jbpm-enterprise.jar!/META-INF/ejb- 
> jar.xml:
> unexpected element (uri:"http://java.sun.com/xml/ns/javaee",
> local:"acknowledge-mode"). Expected elements are <{
> http://java.sun.com/xml/ns/javaee}display-name>,<{
> http://java.sun.com/xml/ns/javaee}post-construct>,<{
> http://java.sun.com/xml/ns/javaee}timeout-method>,<{
> http://java.sun.com/xml/ns/javaee}ejb-ref>,<{
> http://java.sun.com/xml/ns/javaee}around-invoke>,<{
> http://java.sun.com/xml/ns/javaee}messaging-type>,<{
> http://java.sun.com/xml/ns/javaee}icon>,<{
> http://java.sun.com/xml/ns/javaee}resource-ref>,<{
> http://java.sun.com/xml/ns/javaee}activation-config>,<{
> http://java.sun.com/xml/ns/javaee}transaction-type>,<{
> http://java.sun.com/xml/ns/javaee}ejb-class>,<{
> http://java.sun.com/xml/ns/javaee}ejb-local-ref>,<{
> http://java.sun.com/xml/ns/javaee}message-destination-ref>,<{
> http://java.sun.com/xml/ns/javaee}message-driven-destination>,<{
> http://java.sun.com/xml/ns/javaee}env-entry>,<{
> http://java.sun.com/xml/ns/javaee}description>,<{
> http://java.sun.com/xml/ns/javaee}security-identity>,<{
> http://java.sun.com/xml/ns/javaee}ejb-name>,<{
> http://java.sun.com/xml/ns/javaee}mapped-name>,<{
> http://java.sun.com/xml/ns/javaee}service-ref>,<{
> http://java.sun.com/xml/ns/javaee}message-destination-type>,<{
> http://java.sun.com/xml/ns/javaee}persistence-context-ref>,<{
> http://java.sun.com/xml/ns/javaee}message-destination-link>,<{
> http://java.sun.com/xml/ns/javaee}resource-env-ref>,<{
> http://java.sun.com/xml/ns/javaee}persistence-unit-ref>,<{
> http://java.sun.com/xml/ns/javaee}pre-destroy>    at
> org 
> .apache 
> .openejb.config.ReadDescriptors.readEjbJar(ReadDescriptors.java:374)
> at
> org 
> .apache 
> .openejb 
> .config.DeploymentLoader.createEjbModule(DeploymentLoader.java:459)
> at
> org 
> .apache.openejb.config.DeploymentLoader.load(DeploymentLoader.java: 
> 134)
> at
> org 
> .apache 
> .openejb 
> .config 
> .ConfigurationFactory.configureApplication(ConfigurationFactory.java: 
> 509)
> at
> org 
> .apache 
> .openejb 
> .config 
> .ConfigurationFactory 
> .getOpenEjbConfiguration(ConfigurationFactory.java:380)
> at
> org 
> .apache 
> .openejb 
> .assembler.classic.Assembler.getOpenEjbConfiguration(Assembler.java: 
> 292)
> at
> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java: 
> 271)
> at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:137)    at
> org.apache.openejb.OpenEJB.init(OpenEJB.java:286)    at
> org.apache.openejb.OpenEJB.init(OpenEJB.java:265)    at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at
> sun 
> .reflect 
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun 
> .reflect 
> .DelegatingMethodAccessorImpl 
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)    at
> org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java: 
> 36)
> at
> org 
> .apache 
> .openejb 
> .client 
> .LocalInitialContextFactory.init(LocalInitialContextFactory.java:71)
> at
> org 
> .apache 
> .openejb 
> .client 
> .LocalInitialContextFactory.init(LocalInitialContextFactory.java:53)
> at
> org 
> .apache 
> .openejb 
> .client 
> .LocalInitialContextFactory 
> .getInitialContext(LocalInitialContextFactory.java:42)
> at
> javax.naming.spi.NamingManager.getInitialContext(NamingManager.java: 
> 667)
> at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java: 
> 247)
> at javax.naming.InitialContext.init(InitialContext.java:223)    at
> javax.naming.InitialContext.<init>(InitialContext.java:197)    at
> us 
> .va 
> .state 
> .vwc 
> .search 
> .service.ClaimSearchServiceTest.setUp(ClaimSearchServiceTest.java:40)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at
> sun 
> .reflect 
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun 
> .reflect 
> .DelegatingMethodAccessorImpl 
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)    at
> org 
> .junit 
> .internal 
> .runners.BeforeAndAfterRunner.invokeMethod(BeforeAndAfterRunner.java: 
> 74)
> at
> org 
> .junit 
> .internal 
> .runners.BeforeAndAfterRunner.runBefores(BeforeAndAfterRunner.java:50)
> at
> org 
> .junit 
> .internal 
> .runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java: 
> 33)
> at
> org 
> .junit 
> .internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
> at
> org 
> .junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
> at
> org 
> .junit 
> .internal 
> .runners 
> .TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java: 
> 66)
> at
> org 
> .junit 
> .internal 
> .runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)
> at
> org.junit.internal.runners.TestClassRunner 
> $1.runUnprotected(TestClassRunner.java:42)
> at
> org 
> .junit 
> .internal 
> .runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java: 
> 34)
> at
> org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java: 
> 52)
> at
> org 
> .eclipse 
> .jdt 
> .internal 
> .junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)
> at
> org 
> .eclipse 
> .jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
> at
> org 
> .eclipse 
> .jdt 
> .internal 
> .junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
> at
> org 
> .eclipse 
> .jdt 
> .internal 
> .junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
> at
> org 
> .eclipse 
> .jdt 
> .internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
> at
> org 
> .eclipse 
> .jdt 
> .internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java: 
> 196)
> Caused by: javax.xml.bind.UnmarshalException: unexpected element  
> (uri:"
> http://java.sun.com/xml/ns/javaee", local:"acknowledge-mode").  
> Expected
> elements are <{http://java.sun.com/xml/ns/javaee}display-name>,<{
> http://java.sun.com/xml/ns/javaee}post-construct>,<{
> http://java.sun.com/xml/ns/javaee}timeout-method>,<{
> http://java.sun.com/xml/ns/javaee}ejb-ref>,<{
> http://java.sun.com/xml/ns/javaee}around-invoke>,<{
> http://java.sun.com/xml/ns/javaee}messaging-type>,<{
> http://java.sun.com/xml/ns/javaee}icon>,<{
> http://java.sun.com/xml/ns/javaee}resource-ref>,<{
> http://java.sun.com/xml/ns/javaee}activation-config>,<{
> http://java.sun.com/xml/ns/javaee}transaction-type>,<{
> http://java.sun.com/xml/ns/javaee}ejb-class>,<{
> http://java.sun.com/xml/ns/javaee}ejb-local-ref>,<{
> http://java.sun.com/xml/ns/javaee}message-destination-ref>,<{
> http://java.sun.com/xml/ns/javaee}message-driven-destination>,<{
> http://java.sun.com/xml/ns/javaee}env-entry>,<{
> http://java.sun.com/xml/ns/javaee}description>,<{
> http://java.sun.com/xml/ns/javaee}security-identity>,<{
> http://java.sun.com/xml/ns/javaee}ejb-name>,<{
> http://java.sun.com/xml/ns/javaee}mapped-name>,<{
> http://java.sun.com/xml/ns/javaee}service-ref>,<{
> http://java.sun.com/xml/ns/javaee}message-destination-type>,<{
> http://java.sun.com/xml/ns/javaee}persistence-context-ref>,<{
> http://java.sun.com/xml/ns/javaee}message-destination-link>,<{
> http://java.sun.com/xml/ns/javaee}resource-env-ref>,<{
> http://java.sun.com/xml/ns/javaee}persistence-unit-ref>,<{
> http://java.sun.com/xml/ns/javaee}pre-destroy>    at
> com 
> .sun 
> .xml 
> .bind 
> .v2 
> .runtime 
> .unmarshaller 
> .UnmarshallingContext.handleEvent(UnmarshallingContext.java:523)
> at
> com 
> .sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java: 
> 199)
> at
> com 
> .sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java: 
> 194)
> at
> com 
> .sun 
> .xml 
> .bind 
> .v2 
> .runtime 
> .unmarshaller.Loader.reportUnexpectedChildElement(Loader.java:71)
> at
> com 
> .sun 
> .xml.bind.v2.runtime.unmarshaller.Loader.childElement(Loader.java:65)
> at
> com 
> .sun 
> .xml 
> .bind 
> .v2 
> .runtime 
> .unmarshaller.StructureLoader.childElement(StructureLoader.java:209)
> at
> com 
> .sun 
> .xml 
> .bind 
> .v2 
> .runtime 
> .unmarshaller 
> .UnmarshallingContext._startElement(UnmarshallingContext.java:366)
> at
> com 
> .sun 
> .xml 
> .bind 
> .v2 
> .runtime 
> .unmarshaller 
> .UnmarshallingContext.startElement(UnmarshallingContext.java:347)
> at
> com 
> .sun 
> .xml 
> .bind 
> .v2.runtime.unmarshaller.SAXConnector.startElement(SAXConnector.java: 
> 101)
> at org.xml.sax.helpers.XMLFilterImpl.startElement(XMLFilterImpl.java: 
> 527)
> at
> org.apache.openejb.jee.JaxbJavaee 
> $NamespaceFilter.startElement(JaxbJavaee.java:126)
> at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
> Source)    at
> org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown  
> Source)
> at  
> org 
> .apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
> Source)    at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl 
> $FragmentContentDispatcher.dispatch(Unknown
> Source)    at
> org 
> .apache 
> .xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> Source)    at  
> org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)    at  
> org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)    at org.apache.xerces.parsers.XMLParser.parse(Unknown  
> Source)
> at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown  
> Source)    at
> org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown  
> Source)
> at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java: 
> 333)    at
> com 
> .sun 
> .xml 
> .bind 
> .v2 
> .runtime 
> .unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:194)
> at
> com 
> .sun 
> .xml 
> .bind 
> .v2 
> .runtime 
> .unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:167)
> at
> javax 
> .xml 
> .bind 
> .helpers 
> .AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:120)
> at
> javax 
> .xml 
> .bind 
> .helpers 
> .AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:103)
> at org.apache.openejb.jee.JaxbJavaee.unmarshal(JaxbJavaee.java: 
> 104)    at
> org 
> .apache 
> .openejb.config.ReadDescriptors.readEjbJar(ReadDescriptors.java:370)
> ... 42 more