×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Thanks James. I've resolved the problem by adding the following system
property (not sure why it needs it yet):
org.omg.CORBA.ORBClass=com.ibm.CORBA.iiop.ORB



"James Perkins" <jrperkinsjr@xxxxxxxxx> wrote in message
news:<mailman.6116.1241820651.23468.web400@xxxxxxxxxxxx>...
If it's on a PC and you wan the PC to be able to run EJB classes, you
will
(I think) need to have Java 2EE installed, or at least the j2ee.jar.

I guess I'm not sure what the problem is. JNDI is not really my strong
point, but my guess is you would need to use a different naming class
on a
PC.

Sorry I'm not much help here.

--
James R. Perkins


On Fri, May 8, 2009 at 14:56, Lim Hock-Chai
<Lim.Hock-Chai@xxxxxxxxxxxxxxx>wrote:

Yes, typo, stand-alone is what I meant. Seems like on 6.1, ibm
renamed
to ws_runtime.jar. Some clients are stand-alone apps that running
on
iseries and some are running on pc.



"James Perkins" <jrperkinsjr@xxxxxxxxx> wrote in message
news:<mailman.6109.1241819648.23468.web400@xxxxxxxxxxxx>...
I think there is a naming.jar and namingclient.jar file. These
should
be
standard with WAS 6.1 though.

When you say "standard alone" I assume this is a typo for
stand-alone.
If
so, when you say standalone do you mean something that would run
on
your PC
rather than an application server, like WebSphere Application
Server?
--
James R. Perkins


On Fri, May 8, 2009 at 14:35, Lim Hock-Chai
<Lim.Hock-Chai@xxxxxxxxxxxxxxx>wrote:

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.


--
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.


--
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 On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.