Showing posts with label Eclipse. Show all posts
Showing posts with label Eclipse. Show all posts

Tuesday, July 13, 2010

Setup EJB 3 MDB on Weblogic using Eclipse

Setup EJB 3 MDB Project on Eclipse Shown below is a common exception which occurs when class is executed from Eclipse that depends on Weblogic libraries -
Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/kernel/KernelStatus 
    at weblogic.jndi.Environment.,clinit9(Environment.java:78) 
    at weblogic.judi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117) 
    at javax.naming spi NamingManager.getInitialContext(NamingManager.java:667) 
    at javax.naming InitialContext.getDefaultInitCtx(InitialContext.java:288) 
    at javax.naming.InitialContext.init(InitialContext.java:223) 
    at javax.naming InitialContext.einit,(InitialContext.java:197) 
    at com.MessageGenerator.getInitialContext(MessageGenerator.java:42) 

Friday, July 11, 2008

Create New Eclipse Workspace - With All Your Old Settings

If you want to create a new eclipse workspace and preserve all your settings,
simply copy the .metadata/.plugins/org.eclipse.core.runtime/.settings directory into your new workspace directory.
Here is a detaliled article Create New Eclipse Workspace - With All Your Old Settings