I'm getting the following error: "Error assembling EJB: META-INF/ejb-jar.xml is required for ejbVersion 2.x"
Attached is the ejb-jar.xml file that I'm using, which actually being deployed onto a WebSphere 6.0 works fine, but according to Maven and Xml Writer it's not valid (doesn't comply to the refered XSD), but I can't seem to find where the problem is. Against what XSD is maven checking? Which is maven's supported structure for this kind of files? Are there any properties I can configure to avoid this check being done? Any help would be appreciated. Regards, Gonzalo Vasquez
<?xml version="1.0" encoding="UTF-8"?> <ejb-jar id="ejb-jar_ID" version="2.1" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd"> <display-name>HttpDataReceiver</display-name> <enterprise-beans> <message-driven id="net.excelsys.framework.logger.queue.MessageReceiver"> <display-name>HttpDataMessageReceiver</display-name> <ejb-name>MessageReceiver</ejb-name> <ejb-class> net.excelsys.framework.logger.queue.MessageReceiver </ejb-class> <messaging-type>javax.jms.MessageListener</messaging-type> <transaction-type>Bean</transaction-type> <message-destination-type> javax.jms.Queue </message-destination-type> <message-destination-link> PackageReceivedDestination </message-destination-link> <activation-config> <activation-config-property> <activation-config-property-name> acknowledgeMode </activation-config-property-name> <activation-config-property-value> Auto-acknowledge </activation-config-property-value> </activation-config-property> <activation-config-property> <activation-config-property-name> messageSelector </activation-config-property-name> <activation-config-property-value> JMSType = httpdata_received </activation-config-property-value> </activation-config-property> </activation-config> </message-driven> </enterprise-beans> <assembly-descriptor> <message-destination> <description></description> <message-destination-name> PackageReceivedDestination </message-destination-name> </message-destination> </assembly-descriptor> </ejb-jar>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
