× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I'm running a standard alone EJB Client program. It gives me this error
when I ran it. I've found the jar file. It is ws_runtime.jar. After I
added this to the classpath, I'm now getting this error:
Caused by: javax.naming.NamingException: Failed to initialize the ORB
[Root exception is java.lang.ClassCastException]



"James Perkins" <jrperkinsjr@xxxxxxxxx> wrote in message
news:<mailman.5845.1241736621.23468.web400@xxxxxxxxxxxx>...
I'm sure what JAR this class is in, but I use it on WAS 6.1 without
problems. Did you set-up the JDBC connection (pool hopefully) via the
WAS
6.1 admin console?
--
James R. Perkins


On Thu, May 7, 2009 at 13:25, Lim Hock-Chai
<Lim.Hock-Chai@xxxxxxxxxxxxxxx>wrote:

When I run my client program on iseries. I'm getting the following
error.
Caused by: java.lang.ClassNotFoundException:
com.ibm.websphere.naming.WsnInitialContextFactory



Does anyone know which jar file in the WAS6.1 install path has this
class?

thanks


--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.