you're completely right!
Thank you so much for your help.
Alexis
On 11/30/06, Sivakumar Thyagarajan <Sivakumar.Thyagarajan_at_sun.com> wrote:
>
> Hi Alexis
>
> Is this a standalone java application? If yes, please add imqjmsra.jar
> in the classpath as mentioned here
> https://glassfish.dev.java.net/javaee5/docs/DG/beakt.html#beali
>
> Thanks
> --Siva.
>
> Alexis Midon wrote:
> > Hi all,
> >
> > while looking up for a JMSConnectionFactory I get the ClassNotFound
> > exception above.
> > I've scanned all the jars included in galssfish\lib and
> > glassfish\imq\lib in vain.
> > fyi, I use the version b48 of lassfish.
> >
> > Thanks in advance for your answer.
> >
> > Alexis
> >
> > run-client:
> > [echo] Runs the client application
> > [java] 30 nov. 2006 13:36:11
> > com.sun.enterprise.connectors.ActiveRAFactorycreateActiveResourceAdapter
> > [java] GRAVE: RAR6001 : Class Not found :
> > com.sun.messaging.jms.ra.ResourceAdapter
> > [java] 30 nov. 2006 13:36:11
> > com.sun.enterprise.connectors.ActiveRAFactorycreateActiveResourceAdapter
> > [java] GRAVE:
> > [java] com.sun.enterprise.connectors.ConnectorRuntimeException:
> > Error in creating active RAR
> > [java] at
> >
> com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(
> ActiveRAFactory.java:94)
> >
> > [java] at
> >
> com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter
> (ResourceAdapterAdminS
> > erviceImpl.java:287)
> > [java] at
> >
> com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter
> > (ConnectorRuntime.java:208)
> > [java] at
> >
> com.sun.enterprise.naming.factory.ConnectorObjectFactory.getObjectInstance
> (ConnectorObjectFactory.java:88)
> > [java] at javax.naming.spi.NamingManager.getObjectInstance
> > (NamingManager.java:304)
> > [java] at
> > com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:314)
> > [java] at
> > javax.naming.InitialContext.lookup(InitialContext.java:351)
> > [java] at
> > com.yaps.petstore.client.locator.ServiceLocator.getConnectionFactory
> (Unknown
> > Source)
> > [java] at
> > com.yaps.petstore.client.DestinationListener.initJMS(Unknown Source)
> > [java] at
> > com.yaps.petstore.client.ui.PetstoreFrame.menuWatchOrderActionPerformed
> > (Unknown Source)
> > [java] at
> > com.yaps.petstore.client.ui.PetstoreFrame.access$1100(Unknown Source)
> > [java] at
> > com.yaps.petstore.client.ui.PetstoreFrame$12.actionPerformed(Unknown
> Source)
> > [java] at
> > javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
> > [java] at
> > javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java
> :2169)
> > [java] at javax.swing.DefaultButtonModel.fireActionPerformed
> > (DefaultButtonModel.java:420)
> > [java] at
> > javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
> > [java] at
> > javax.swing.AbstractButton.doClick(AbstractButton.java:302)
> > [java] at
> > javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java
> :1000)
> > [java] at
> > javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(
> BasicMenuItemUI.java:1041)
> > [java] at java.awt.Component.processMouseEvent
> > (Component.java:5488)
> > [java] at
> > javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
> > [java] at java.awt.Component.processEvent(Component.java:5253)
> > [java] at java.awt.Container.processEvent (Container.java:1966)
> > [java] at java.awt.Component.dispatchEventImpl(Component.java
> :3955)
> > [java] at java.awt.Container.dispatchEventImpl(Container.java
> :2024)
> > [java] at java.awt.Component.dispatchEvent (Component.java
> :3803)
> > [java] at
> > java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
> > [java] at
> > java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
> > [java] at
> > java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
> > [java] at java.awt.Container.dispatchEventImpl(Container.java
> :2010)
> > [java] at java.awt.Window.dispatchEventImpl(Window.java:1778)
> > [java] at java.awt.Component.dispatchEvent(Component.java:3803)
> > [java] at java.awt.EventQueue.dispatchEvent(EventQueue.java
> :463)
> > [java] at java.awt.EventDispatchThread.pumpOneEventForHierarchy
> > (EventDispatchThread.java:242)
> > [java] at
> > java.awt.EventDispatchThread.pumpEventsForHierarchy(
> EventDispatchThread.java:163)
> > [java] at
> > java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java :157)
> > [java] at
> > java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
> > [java] at
> > java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
> > [java] Caused by: java.lang.ClassNotFoundException :
> > com.sun.messaging.jms.ra.ResourceAdapter
> > [java] at java.net.URLClassLoader$1.run(URLClassLoader.java
> :200)
> > [java] at java.security.AccessController.doPrivileged(Native
> > Method)
> > [java] at
> > java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> > [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> > [java] at
> > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
> > [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> > [java] at
> > java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> > [java] at java.lang.Class.forName0(Native Method)
> > [java] at java.lang.Class.forName(Class.java:164)
> > [java] at
> >
> com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(
> ActiveRAFactory.java:68)
> > [java] ... 37 more
> > [java] 30 nov. 2006 13:36:11
> > com.sun.enterprise.naming.SerialContext lookup
> > [java] GRAVE: NAM0004: Exception during name lookup : {0}
> > [java] com.sun.enterprise.connectors.ConnectorRuntimeException:
> > Error in creating active RAR
> > [java] at
> >
> com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(
> ActiveRAFactory.java:94)
> > [java] at
> >
> com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter
> (ResourceAdapterAdminS
> >
> > erviceImpl.java:287)
> > [java] at
> >
> com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter
> (ConnectorRuntime.java:208)
> > [java] at
> >
> com.sun.enterprise.naming.factory.ConnectorObjectFactory.getObjectInstance
> > (ConnectorObjectFactory.java:88)
> > [java] at
> > javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
> > [java] at
> > com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:314)
> > [java] at
> > javax.naming.InitialContext.lookup(InitialContext.java:351)
> > [java] at
> > com.yaps.petstore.client.locator.ServiceLocator.getConnectionFactory
> (Unknown
> > Source)
> > [java] at com.yaps.petstore.client.DestinationListener.initJMS
> > (Unknown Source)
> > [java] at
> > com.yaps.petstore.client.ui.PetstoreFrame.menuWatchOrderActionPerformed
> (Unknown
> > Source)
> > [java] at
> > com.yaps.petstore.client.ui.PetstoreFrame.access$1100(Unknown Source)
> > [java] at
> > com.yaps.petstore.client.ui.PetstoreFrame$12.actionPerformed(Unknown
> Source)
> > [java] at
> > javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
> > [java] at javax.swing.AbstractButton$Handler.actionPerformed
> > (AbstractButton.java:2169)
> > [java] at
> > javax.swing.DefaultButtonModel.fireActionPerformed(
> DefaultButtonModel.java:420)
> > [java] at
> > javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
> > [java] at
> > javax.swing.AbstractButton.doClick(AbstractButton.java:302)
> > [java] at
> > javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java
> :1000)
> > [java] at
> > javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased
> > (BasicMenuItemUI.java:1041)
> > [java] at java.awt.Component.processMouseEvent(Component.java
> :5488)
> > [java] at
> > javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
> > [java] at java.awt.Component.processEvent (Component.java:5253)
> > [java] at java.awt.Container.processEvent(Container.java:1966)
> > [java] at java.awt.Component.dispatchEventImpl(Component.java
> :3955)
> > [java] at java.awt.Container.dispatchEventImpl
> > (Container.java:2024)
> > [java] at java.awt.Component.dispatchEvent(Component.java:3803)
> > [java] at
> > java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
> > [java] at java.awt.LightweightDispatcher.processMouseEvent
> > (Container.java:3892)
> > [java] at
> > java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
> > [java] at java.awt.Container.dispatchEventImpl(Container.java
> :2010)
> > [java] at java.awt.Window.dispatchEventImpl (Window.java:1778)
> > [java] at java.awt.Component.dispatchEvent(Component.java:3803)
> > [java] at java.awt.EventQueue.dispatchEvent(EventQueue.java
> :463)
> > [java] at java.awt.EventDispatchThread.pumpOneEventForHierarchy
> > (EventDispatchThread.java:242)
> > [java] at
> > java.awt.EventDispatchThread.pumpEventsForHierarchy(
> EventDispatchThread.java:163)
> > [java] at
> > java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java :157)
> > [java] at
> > java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
> > [java] at
> > java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
> > [java] Caused by: java.lang.ClassNotFoundException :
> > com.sun.messaging.jms.ra.ResourceAdapter
> > [java] at java.net.URLClassLoader$1.run(URLClassLoader.java
> :200)
> > [java] at java.security.AccessController.doPrivileged(Native
> > Method)
> > [java] at
> > java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> > [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> > [java] at
> > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
> > [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> > [java] at
> > java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> > [java] at java.lang.Class.forName0(Native Method)
> > [java] at java.lang.Class.forName(Class.java:164)
> > [java] at
> >
> com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(
> ActiveRAFactory.java:68)
> > [java] ... 37 more
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>