2 Replies Latest reply: Oct 30, 2012 6:40 AM by Yiannis Tsesmelis RSS

    Problem creating MDS connection in JDeveloper 11.1.1.6.0

    927050
      Database (Oracle 11gR2 64-bit) is up and running.
      WLS (10.3.5 32-bit) is up and running.
      Was able to save my project in MSD from Composer.

      Was able to access MSD database from JDev.
      Was able to access WLS domain from JDev.

      MDS configuration on JDeveloper 11.1.1.5.0 worked fine.
      It did not even ask for WLS settings in this version.

      Getting the following error when setting up MSD connection in JDeveloper 11.1.1.6.0.
      Mar 28, 2012 1:40:45 AM oracle.bpm.services.instanceManagement
      SEVERE: Exception
      BPM-70203

      Error during ejb lookup from bpm services client.
      Error during lookup of remote ejb HistoryServiceBean .
      Contact Oracle support if exception can not be fixed.

      at oracle.bpm.client.impl.BPMServiceRemoteClient.getHistoryService(BPMServiceRemoteClient.java:347)
      at oracle.bpm.pml.service.util.LookupHelper.getHistoryService(LookupHelper.java:127)
      at oracle.bpm.pml.service.util.LookupHelper.lookupRemoteHistoryService(LookupHelper.java:115)
      at oracle.bpm.pml.service.impl.BaseMetadataService.<init>(BaseMetadataService.java:66)
      at oracle.bpm.pml.service.security.MetadataSecurityAccessor.<init>(MetadataSecurityAccessor.java:55)
      at oracle.bpm.pml.service.impl.StudioMetadataServiceImpl.<init>(StudioMetadataServiceImpl.java:71)
      at oracle.bpm.fusion.soa.mds.StudioMetadataService.setMdsInstance(StudioMetadataService.java:376)
      at oracle.bpm.fusion.soa.mds.StudioMetadataService.changeConnection(StudioMetadataService.java:168)
      at oracle.bpm.fusion.soa.mds.command.ConnectToBpmRepositoryCommand.execute(ConnectToBpmRepositoryCommand.java:60)
      at oracle.bpm.fusion.soa.mds.action.ConfigureMdsConnectionAction$ConfigureMdsConnectionDialog.ok(ConfigureMdsConnectionAction.java:135)
      at oracle.bpm.ui.OkCancelDialog$OkAction.run(OkCancelDialog.java:330)
      at oracle.bpm.ui.action.BaseAction.actionPerformed(BaseAction.java:219)
      at oracle.bpm.ui.peer.swing.event.SwingActionListener.actionPerformed(SwingActionListener.java:30)
      at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
      at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
      at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
      at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
      at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
      at java.awt.Component.processMouseEvent(Component.java:6289)
      at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
      at java.awt.Component.processEvent(Component.java:6054)
      at java.awt.Container.processEvent(Container.java:2041)
      at java.awt.Component.dispatchEventImpl(Component.java:4652)
      at java.awt.Container.dispatchEventImpl(Container.java:2099)
      at java.awt.Component.dispatchEvent(Component.java:4482)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
      at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
      at java.awt.Container.dispatchEventImpl(Container.java:2085)
      at java.awt.Window.dispatchEventImpl(Window.java:2478)
      at java.awt.Component.dispatchEvent(Component.java:4482)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
      at java.awt.EventQueue.access$000(EventQueue.java:85)
      at java.awt.EventQueue$1.run(EventQueue.java:603)
      at java.awt.EventQueue$1.run(EventQueue.java:601)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
      at java.awt.EventQueue$2.run(EventQueue.java:617)
      at java.awt.EventQueue$2.run(EventQueue.java:615)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
      at java.awt.Dialog$1.run(Dialog.java:1046)
      at java.awt.Dialog$3.run(Dialog.java:1098)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.awt.Dialog.show(Dialog.java:1096)
      at java.awt.Component.show(Component.java:1585)
      at java.awt.Component.setVisible(Component.java:1537)
      at java.awt.Window.setVisible(Window.java:842)
      at java.awt.Dialog.setVisible(Dialog.java:986)
      at oracle.bpm.ui.peer.swing.SwingComponent.setVisible(SwingComponent.java:388)
      at oracle.bpm.ui.UiComponent.setVisible(UiComponent.java:834)
      at oracle.bpm.ui.OkCancelDialog.setVisible(OkCancelDialog.java:183)
      at oracle.bpm.fusion.soa.mds.action.ConfigureMdsConnectionAction.configureMdsConnection(ConfigureMdsConnectionAction.java:98)
      at oracle.bpm.fusion.soa.mds.action.ConfigureMdsConnectionAction.run(ConfigureMdsConnectionAction.java:76)
      at oracle.bpm.fusion.studio.actions.DefaultStudioActionController.handleEvent(DefaultStudioActionController.java:50)
      at oracle.ide.controller.IdeAction.performAction(IdeAction.java:529)
      at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:897)
      at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:501)
      at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
      at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
      at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
      at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
      at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
      at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)
      at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:850)
      at java.awt.Component.processMouseEvent(Component.java:6289)
      at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
      at java.awt.Component.processEvent(Component.java:6054)
      at java.awt.Container.processEvent(Container.java:2041)
      at java.awt.Component.dispatchEventImpl(Component.java:4652)
      at java.awt.Container.dispatchEventImpl(Container.java:2099)
      at java.awt.Component.dispatchEvent(Component.java:4482)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
      at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
      at java.awt.Container.dispatchEventImpl(Container.java:2085)
      at java.awt.Window.dispatchEventImpl(Window.java:2478)
      at java.awt.Component.dispatchEvent(Component.java:4482)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
      at java.awt.EventQueue.access$000(EventQueue.java:85)
      at java.awt.EventQueue$1.run(EventQueue.java:603)
      at java.awt.EventQueue$1.run(EventQueue.java:601)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
      at java.awt.EventQueue$2.run(EventQueue.java:617)
      at java.awt.EventQueue$2.run(EventQueue.java:615)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
      Caused by: javax.naming.NameNotFoundException: Unable to resolve
      'ejb.bpm.services.HistoryServiceBean'. Resolved 'ejb.bpm.services'
      [Root exception is javax.naming.NameNotFoundException: Unable to
      resolve 'ejb.bpm.services.HistoryServiceBean'. Resolved
      'ejb.bpm.services']; remaining name 'HistoryServiceBean'
      at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
      at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
      at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
      at weblogic.jndi.internal.ServerNamingNode_1035_WLStub.lookup(Unknown Source)
      at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:423)
      at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:411)
      at javax.naming.InitialContext.lookup(InitialContext.java:392)
      at oracle.bpm.client.impl.BPMServiceRemoteClient.getHistoryService(BPMServiceRemoteClient.java:340)
      ... 100 more
      Caused by: javax.naming.NameNotFoundException: Unable to resolve
      'ejb.bpm.services.HistoryServiceBean'. Resolved 'ejb.bpm.services'
      at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
      at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:252)
      at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
      at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
      at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:214)
      at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:214)
      at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:214)
      at weblogic.jndi.internal.RootNamingNode_WLSkel.invoke(Unknown Source)
      at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
      at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
      at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
      at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
      at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

      Please help!
      Thank you!
        • 1. Re: Problem creating MDS connection in JDeveloper 11.1.1.6.0
          22786
          Hi,
          I had the same problem. When I have disabled my VMware and Vbox Network adapters i was able to create BPM MDS connection.

          In one case WLS was configured to listen on all addresses (no listen host configured). One of the interfaces on the server was not reachable from the client (e.g. a private network for backup devices). JDev initially connects to admin server, then tries to connect to SOA based on endpoint handed back from the admin server. In that case the address returned (from Admin server) was the address with no route. In general it's best to have WLS listen on a specific (reachable) endpoint.
          • 2. Re: Problem creating MDS connection in JDeveloper 11.1.1.6.0
            Yiannis Tsesmelis
            Hi ekilic,
            I had the same problem and googling i found your post, after setting the hostname in wls and setting the ip/host in etc/hosts, the BPM MDS connection works in jdeveloper
            Tnx !