hello... I can't seem to find much info on this...

This is valid in ejb-jar.xml for JBoss AND Weblogic

<session-type>Stateless</session-type>

these are only valid for Weblogic... it appears to be just the new lines and
whitespace messing it up...

<session-type>    Stateless    </session-type>

<session-type>
Stateless
</session-type>

they give this error...

[Container factory]
Deploying:file:/C:/dev/JBoss-2.4.1/tmp/deploy/Default/interest.jar/
[Container factory] org.jboss.ejb.DeploymentException: Error in ejb-jar.xml
for Session Bean Interest: session type should be 'Stateful' or 'Stateless'
[Container factory] at
org.jboss.metadata.ApplicationMetaData.importEjbJarXml(ApplicationMetaData.j
ava:140)
[Container factory] at
org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:140)
[Container factory] at
org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:438)
[Container factory] at
org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:369)
[Container factory] at
org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:304)

I tried switching parsers to xerces... no difference...

I was under the impression that white space wouldn't mater in the
ejb-jar.xml... Is this how the parsing is supposed to behave? thanks



_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to