I have checked in the changes and testcases to Branch_3_2 to support ejb-link changes.

I was unable to verify that the DTD changes validate for the test cases, because if validation is enabled, then the standardjboss.xml file fails validation (both on the 3_2_1-src release and Branch_3_2 head) with the error:

2003-07-13 18:32:53,843 ERROR [org.jboss.metadata.XmlFileLoader] XmlFileLoader: File file:/usr/local/java/jboss/jboss-branch-3-2/
build/output/jboss-3.2.2RC2/server/default/conf/standardjboss.xml process error. Line: 697. Error message: The content of element
type "container-configuration" must match "(container-name,call-logging?,invoker-proxy-binding-name?,sync-on-commit-only?,contai
ner-interceptors?,instance-pool?,instance-cache?,persistence-manager?,web-class-loader?,locking-policy?,container-cache-conf?,con
tainer-pool-conf?,commit-option?,optiond-refresh-rate?,security-domain?,cluster-config?,depends*)".
2003-07-13 18:32:53,863 ERROR [org.jboss.metadata.XmlFileLoader] failed to load standardjboss.xml. There could be a syntax error
.
org.jboss.deployment.DeploymentException: Invalid XML: file=file:/usr/local/java/jboss/jboss-branch-3-2/build/output/jboss-3.2.2R
C2/server/default/conf/standardjboss.xml
at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:296)
at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:247)
at org.jboss.metadata.XmlFileLoader.getDocumentFromURL(XmlFileLoader.java:219)
at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:156)
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:433)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:774)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:766)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:629)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:603)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:587)
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:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at org.jboss.jmx.adaptor.rmi.RMIAdaptorImpl.invoke(RMIAdaptorImpl.java:278)
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:324)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
at sun.rmi.transport.Transport$1.run(Transport.java:148)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
at java.lang.Thread.run(Thread.java:536)



regards, Jan

Ok, your access is restored.

Thanks.


Please make sure there are tests added to the

following unit tests to cover these changes:

testsuite/src/main/org/jboss/test/naming/test/EjbLinkUnitTestCase.java
testsuite/src/main/org/jboss/test/web/servlets/ENCServlet.java
testsuite/src/main/org/jboss/test/web/test/ WebIntegrationUnitTestCase.java

OK, I will integrate my test cases into these.


cheers,
Jan



xxxxxxxxxxxxxxxxxxxxxxxx Scott Stark Chief Technology Officer JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx

On Thursday, July 10, 2003, at 07:27 PM, Jan Bartel wrote:

I have made the changes as agreed:

+ both war deployer and ejb deployer to examine "ejb-link" first for
  both "ejb-ref" and "ejb-local-ref".

+ war deployer to have a switch "LenientEjbLink" allowing
  misconfigured ejb-links to be ignored for backward
  compatibility. This is set to "false" by default, meaning
  misconfigured ejb-links will cause a deployment error.

+ war deployer and ejb deployer to support a new element
  in jboss descriptors called "ejb-local-ref" which contains a
  "local-jndi-name" element, similar to the "ejb-ref" element.
  This "ejb-local-ref" in the jboss deployment descriptor is only
  consulted in the case that the "ejb-local-ref" in the standard
  descriptor does not contain an "ejb-link" element (or in the
  case of the war deployer, the "LenientEjbLink" flag has been set
  and the "ejb-link" contains a name that cannot be resolved).

May I please have my cvs write access back so I can commit?

thanks
Jan

Scott M Stark wrote:

Ok, then I agree with adding the ejb-local-ref support.






-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development





------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development


--

/****************************************
 * Jan Bartel <[EMAIL PROTECTED]>
 * Associate
 * Core Developers Network LLC
 * http://www.coredevelopers.net
 ****************************************/



-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to