LD 1.0 - Unable to lookup EJBs in workshop while creating EJB Control if LD is deployed on a workshop domain (Doc ID 771951.1)

Last updated on MAY 06, 2017

Applies to:

AquaLogic Data Services Platform (ALDSP) - Version 10.3 and later
Information in this document applies to any platform.
Information in this document applies to any platform
***Checked for relevance on 12-May-2014***

Goal

If we have LD deployed on the same domain as Workshop 7.0 SP1 and if we try to create a service control in workshop and
access any EJBs deployed (by looking up the JNDI tree) on the server, the server throws the following exception....

"WebLogic Workshop cannot find any JNDI entries for an Enterprise Java Bean. Please add an Enterprise Java Bean
to your application server and try again."

java.lang.NullPointerException
        at java.util.Hashtable.put(Hashtable.java:375)
        at java.util.Properties.setProperty(Properties.java:97)
        at weblogic.knex.bean.EJBGenerator$10.run(EJBGenerator.java:1188)
        at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:744)
        at weblogic.knex.bean.EJBGenerator.lookupEJBMBeans(EJBGenerator.java:1080)
        at weblogic.knex.dispatcher.ToolView.queryMBeans(ToolView.java:759)
        at weblogic.knex.dispatcher.ToolView.exec(ToolView.java:102)
        at weblogic.knex.dispatcher.JwsConsole.doGet(JwsConsole.java:283)
        at weblogic.knex.dispatcher.KnexServlet.doGet(KnexServlet.java:224)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at weblogic.knex.dispatcher.KnexServlet.service(KnexServlet.java:43)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
        at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
        at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5412)
        at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:744)
        at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3086)
        at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2544)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms