Skip to content
This repository has been archived by the owner on May 28, 2018. It is now read-only.

Commit

Permalink
Merge pull request #189 from smillidge/master
Browse files Browse the repository at this point in the history
Fix JERSEY-2938 JAX-RS resource marked as @stateless EJB JNDI failure
  • Loading branch information
shamoh committed Aug 24, 2015
2 parents be96cfe + 8636f65 commit ce3f66d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ private void registerEjbInterceptor() {
final List<String> tempLibNames = new LinkedList<>();
for (ModuleInfo moduleInfo : appInfo.getModuleInfos()) {
final String jarName = moduleInfo.getName();
if (jarName.endsWith(".jar")) {
if (jarName.endsWith(".jar") || jarName.endsWith(".war")) {
final String moduleName = jarName.substring(0, jarName.length() - 4);
tempLibNames.add(moduleName);
final Object bundleDescriptor = moduleInfo.getMetaData(EjbBundleDescriptorImpl.class.getName());
Expand Down

0 comments on commit ce3f66d

Please sign in to comment.