[ openjms-Bugs-1052643 ] Exception while using INITIAL_CONTEXT_FACTORY
"SourceForge.net" <[email protected]> Fri, 22 Oct 2004 23:00:23 -0700
| Newsgroups | gmane.comp.java.openjms.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #1052643, was opened at 2004-10-23 06:00
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=1052643&group_id=54559
Category: jndi
Group: None
Status: Open
Resolution: None
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
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=1052643&group_id=54559
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl