This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 58653 - Attempt to retrieve javax.jms.TopicConnectionFactory caused NoClassDefFoundError: org/netbeans/modules/schema2beans/BaseBean
Summary: Attempt to retrieve javax.jms.TopicConnectionFactory caused NoClassDefFoundEr...
Status: RESOLVED INVALID
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: issues@serverplugins
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-06 15:01 UTC by petrfiser
Modified: 2005-07-21 09:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description petrfiser 2005-05-06 15:01:39 UTC
Attempt to retrieve javax.jms.TopicConnectionFactory via JNDI caused
java.lang.NoClassDefFoundError: org/netbeans/modules/schema2beans/BaseBean.
NetBeans: 4.1-RC2
JMS Service Provider: Sun Java System AppServer 8.1

Detail:
1. Code:
   InitialContext jndi = new InitialContext(); // appserv-rt.jar on classpath
   TopicConnectionFactory conFactory =
            (TopicConnectionFactory) jndi.lookup("jms/ConnectionFactory1");

2. Exception thrown:
6.5.2005 15:41:27 com.sun.corba.ee.spi.logging.LogWrapperBase doLog
INFO: "IOP00710299: (INTERNAL) Successfully created IIOP listener on the
specified host/port: all interfaces/1280"
Exception in thread "main" java.lang.NoClassDefFoundError:
org/netbeans/modules/schema2beans/BaseBean
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        at
com.sun.enterprise.connectors.ConnectorAdminServicesFactory.getService(ConnectorAdminServicesFactory.java:35)
        at
com.sun.enterprise.connectors.ConnectorRuntime.createServices(ConnectorRuntime.java:109)
        at
com.sun.enterprise.connectors.ConnectorRuntime.getRuntime(ConnectorRuntime.java:71)
        at
com.sun.enterprise.naming.factory.ConnectorObjectFactory.getObjectInstance(ConnectorObjectFactory.java:55)
        at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
        at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:304)
        at javax.naming.InitialContext.lookup(InitialContext.java:351)
        at jmsbook.Chat.<init>(Chat.java:23)
        at jmsbook.Chat.main(Chat.java:96)
        at jmsbook.Main.main(Main.java:17)
Java Result: 1
Comment 1 Tomas Zezula 2005-05-09 09:50:12 UTC
Probably wrong module. JNDI module represents a JNDI browser which was canceled
in NetBeans 3.4.
Comment 2 zikmund 2005-05-09 12:15:24 UTC
Reassigning for evaluation.
Comment 3 Petr Blaha 2005-05-09 13:00:07 UTC
Hi petrfiser,
the error is in your project instead of NB. You should also add to project's
classpath these jars: $SUN_APS_DIR/lib/appserv-admin.jar and
$SUN_APS_DIR/lib/install/applications/jmsra/imqjmsra.jar. I'm marking as invalid.
Comment 4 Vince Kraemer 2005-07-20 23:55:51 UTC
new / invalid