> I am trying to use SwiftMQ in a small application to update some
> information
> in an ActiveX window. Im using the JavaBeans Bridge for ActiveX
> packager,
> which is part of Sun's JDK 1.3.
>
> However on generating the bridge files, I get the following error from
> the
> packager:
>
> java.lang.NullPointerException
> at
> com.sun.naming.internal.ResourceManager.getInitialEnvironment(ResourceM
> anage
> r.java:135)
> at javax.naming.InitialContext.init(InitialContext.java:222)
> at javax.naming.InitialContext.<init>(InitialContext.java:202)
> at SampleUtilities.jndiLookup(SampleUtilities.java:29)
> at SubjectRX$AsynchSubscriber.run(SubjectRX.java:22)
>
> Line 29 of SampleUtilities.java is:
> jndiContext = new InitialContext(env);
>
> Any ideas as to what I should look for to fix this?
I don't see any SwiftMQ related classes in the stackdump, so I guess it's
a classpath issue. You should have the swiftmq.jar, jndi.jar, jms.jar in
your classpath. I guess also that the above 'env' contains the right
entries like provider url and so on...?
--
Andreas Mueller, [EMAIL PROTECTED], IIT GmbH, Bremen/Germany, http://www.iit.de
SwiftMQ, JMS Enterprise Messaging System, http://www.swiftmq.com
-----------------------------------------------------------------------
Support SwiftMQ! PLEASE vote for SwiftMQ as "Best Java Messaging Tool":
http://www.sys-con.com/java/readerschoice2001/
------------------------------------------------------
SwiftMQ developers mailing list * http://www.swiftmq.com
To unsubscribe from this list, send an eMail to
[EMAIL PROTECTED] and write in the body of your message:
UNSUBSCRIBE developers <your-email-address>
Archive: http://www.mail-archive.com/developers@mail.iit.de/