[ openjms-Bugs-1052643 ] Exception while using INITIAL_CONTEXT_FACTORY
"SourceForge.net" <[email protected]> Thu, 09 Dec 2004 19:14:02 -0800
| Newsgroups | gmane.comp.java.openjms.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #1052643, was opened at 2004-10-23 16:00
Message generated for change (Comment added) made by tanderson
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=1052643&group_id=54559
Category: jndi
Group: None
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: Sireesha Lingareddy (sireeshalr)
Assigned to: Nobody/Anonymous (nobody)
Summary: Exception while using INITIAL_CONTEXT_FACTORY
Initial Comment:
I wrote one simple Jms stand-alone application to send
a message using Topics .
I have set the INITIAL_CONTEXT_FACTORY as
props.put
(Context.INITIAL_CONTEXT_FACTORY,"org.exolab.jms.jnd
i.InitialContextFactory");
It is getting compiled successfully, but in runtime i am
getting the below exception
Exception in thread "main"
java.lang.NoClassDefFoundError: org/exolab/core/util/
URI$MalformedURIException
at
org.exolab.jms.jndi.InitialContextFactory.getInitialContext
(InitialCo
ntextFactory.java:95)
at
javax.naming.spi.NamingManager.getInitialContext
(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx
(Unknown Source)
at javax.naming.InitialContext.init(Unknown
Source)
at javax.naming.InitialContext.<init>(Unknown
Source)
at SimpleTopicPublisher.main
(SimpleTopicPublisher.java:103)
I am very grateful if u send the reply to me .
Any way thanks in advance
----------------------------------------------------------------------
>Comment By: Tim Anderson (tanderson)
Date: 2004-12-10 14:14
Message:
Logged In: YES
user_id=557161
Sounds like your missing the OpenJMS jars in your classpath
at runtime. See
http://openjms.sourceforge.net/usersguide/jars.html for
more details.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=1052643&group_id=54559
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/