Did anyone find a solution for this?

Doing this...

  | EJB3StandaloneBootstrap.boot(null);
  | EJB3StandaloneBootstrap.scanClasspath();
  | 
...gets me this far
DEBUG 08-10 17:36:02,421 (KernelFactory.java:assembleNewKernel:86)  -Starting 
JBoss Kernel construction...
  | DEBUG 08-10 17:36:02,734 (KernelFactory.java:assembleNewKernel:112)  
-Completed JBoss Kernel construction.  Duration: 297 milliseconds
  | WARN  08-10 17:36:03,781 (BeanSchemaBinding.java:init:233)  -You should use 
the 2.0 version of the Microcontainer xml. xmlns='urn:jboss:bean-deployer:2.0'
  | DEBUG 08-10 17:36:04,109 (BeanXMLDeployer.java:deploy:91)  -Parsing 
bundleresource://25/embedded-jboss-beans.xml took 1266 milliseconds
  | DEBUG 08-10 17:36:04,625 (UserTransactionImpl.java:start:61)  -new UserTx: 
[EMAIL PROTECTED]
  | INFO  08-10 17:36:04,828 (LocalTxDataSource.java:bindConnectionFactory:117) 
 -Bound datasource to JNDI name 'java:/DefaultDS'
  | INFO  08-10 17:36:04,859 (LocalTxDataSource.java:bindConnectionFactory:117) 
 -Bound datasource to JNDI name 'java:/VideoStoreDS'
  | DEBUG 08-10 17:36:04,859 (BeanXMLDeployer.java:deploy:98)  -Deploying 
bundleresource://25/embedded-jboss-beans.xml took 2016 milliseconds
  | DEBUG 08-10 17:46:11,594 (JaccHelper.java:initialiseJacc:61)  -Initialising 
JACC Context for deployment: startup
  | INFO  08-10 17:46:11,922 (Ejb3Deployment.java:create:309)  -EJB3 deployment 
time took: 328
  | 

so it obviously finds the .xml files in the root of the same classpath as where 
the EJB3 beans should be found. But when trying to get a service bean it isn't 
found, indicating that no classes where loaded (I guess they should've shown up 
in the log above as well).


  | InitialContext ctx;
  |         MovieService movieService;
  |         try
  |         {
  |             ctx = ContextFactory.getInitialContext();
  |             movieService = (MovieService) 
ctx.lookup("MovieServiceBean/local");
  |         }
  |         catch (NamingException e)
  |         {
  |             // TODO Auto-generated catch block
  |             e.printStackTrace();
  |         }
  | 


  | lookup 
  |   UserTransaction: org.jboss.ejb3.embedded.UserTransactionImpl
  | javax.naming.NameNotFoundException: MovieServiceBean not bound
  |     at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
  |     at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
  |     at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
  |     at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
  |     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:626)
  |     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:588)
  |     at javax.naming.InitialContext.lookup(InitialContext.java:351)
  |     at 
org.videostore.ui.view.SearchView.createPartControl(SearchView.java:123)
  |     at 
org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:332)
  |     at 
org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:197)
  |     at 
org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566)
  |     at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:290)
  |     at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:525)
  |     at 
org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:140)
  |     at 
org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268)
  |     at 
org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
  |     at 
org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:394)
  |     at 
org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1144)
  |     at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1097)
  |     at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1311)
  |     at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:601)
  |     at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:532)
  |     at 
org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:562)
  |     at 
org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:244)
  |     at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:815)
  |     at 
org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPage.java:2429)
  |     at 
org.eclipse.ui.internal.WorkbenchWindow$6.run(WorkbenchWindow.java:2616)
  |     at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
  |     at 
org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:2597)
  |     at 
org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(WorkbenchWindow.java:658)
  |     at 
org.eclipse.ui.internal.Workbench.busyOpenWorkbenchWindow(Workbench.java:795)
  |     at 
org.eclipse.ui.internal.Workbench.doOpenFirstTimeWindow(Workbench.java:1437)
  |     at 
org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbench.java:1388)
  |     at 
org.eclipse.ui.internal.WorkbenchConfigurer.openFirstTimeWindow(WorkbenchConfigurer.java:190)
  |     at 
org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:708)
  |     at org.eclipse.ui.internal.Workbench.init(Workbench.java:1085)
  |     at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1847)
  |     at 
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
  |     at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
  |     at org.videostore.ui.Application.run(Application.java:24)
  |     at 
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
  |     at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
  |     at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
  |     at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
  |     at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
  |     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:585)
  |     at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
  |     at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
  |     at org.eclipse.core.launcher.Main.run(Main.java:977)
  |     at org.eclipse.core.launcher.Main.main(Main.java:952)
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976825#3976825

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976825
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to