[jboss-dev-forums] [Design of POJO Server] - Re: Regression in Smoke Test - WebIntegrationUnitTestCase
ALRubinger
do-not-reply at jboss.com
Wed Jul 16 21:49:13 EDT 2008
Though not relevant for the Web Integration tests, there's definitely some stuff amiss here. For example, I'm considering the following (as exposed by EJB3 Integration TestSuite "bank" test):
Index: server/src/main/org/jboss/deployment/MappedReferenceMetaDataResolverDeployer.java
| ===================================================================
| --- server/src/main/org/jboss/deployment/MappedReferenceMetaDataResolverDeployer.java (revision 75930)
| +++ server/src/main/org/jboss/deployment/MappedReferenceMetaDataResolverDeployer.java (working copy)
| @@ -390,6 +390,8 @@
| {
| // Add ejb/vfsPath at iface
| String remote = sbean.getRemote();
| + String remoteJndiName = sbean.determineResolvedJndiName(remote);
| + cdmd.addJndiName(remoteJndiName);
| String ifacePath = prefix + "@" + remote;
| if(endpointAlternateMap.containsKey(ifacePath))
| log.debug(ejbName+" duplicates remote: "+remote+", existing: "+endpointAlternateMap.get(ifacePath));
| @@ -451,6 +453,8 @@
| {
| // Add ejb/vfsPath at iface
| String local = sbean.getLocal();
| + String localJndiName = sbean.determineLocalJndiName();
| + cdmd.addJndiName(localJndiName);
| String ifacePath = prefix + "@" + local;
| if(endpointAlternateMap.containsKey(ifacePath))
| log.debug(ejbName+" duplicates local: "+local+", existing: "+endpointAlternateMap.get(ifacePath));
| @@ -537,8 +541,8 @@
| }
| // Add ejb/iface
| ifacePath = "ejb@" + remote;
| - if(endpointAlternateMap.containsKey(ifacePath))
| - log.debug(ejbName+" duplicates business-remote: "+remote+", existing: "+endpointAlternateMap.get(ifacePath));
| + if(endpointMap.containsKey(ifacePath))
| + log.debug(ejbName+" duplicates business-remote: "+remote+", existing: "+endpointMap.get(ifacePath));
| else
| {
| endpointAlternateMap.put(ifacePath, ejbCompID);
S,
ALR
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4164892#4164892
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4164892
More information about the jboss-dev-forums
mailing list