ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Unsolvable Problem arising when using EJB client in java nod

Post new topic  Reply to topic
 Unsolvable Problem arising when using EJB client in java nod « View previous topic :: View next topic » 
Author Message
suneelsh
PostPosted: Fri Apr 19, 2002 5:04 am    Post subject: Reply with quote

Acolyte

Joined: 13 Apr 2002
Posts: 69
Location: Pune,India

Dear all
I have a EJB application client that runs fine in cmd prompt. Now i want to run this client in a java node so i put the Remote,Home,EJB,HomeStub,RemoteStub classes along with the plugin class in one jar say JavaEJBNode.jar . Now when i try deploy it, it says :-
cannot find the classes. How can this be when i have included them all in the jar?? Any suggestions?

Back to top
View user's profile Send private message Send e-mail
kolban
PostPosted: Fri Apr 19, 2002 5:51 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2001
Posts: 1072
Location: Fort Worth, TX, USA

Check that the JAR contains the the classes at the right package levels. I am also assuming that you put the jar in the plugins directory?
Back to top
View user's profile Send private message
suneelsh
PostPosted: Fri Apr 19, 2002 9:40 pm    Post subject: Reply with quote

Acolyte

Joined: 13 Apr 2002
Posts: 69
Location: Pune,India

of course..the jar files include all the file. The files i have are
1._Converter_Stub.class
2._Converter_Home.class
3.Converter.class
4.ConverterEJB.class
5.ConverterHome.class
6.JavaEJBNode.class
all these are put into JavaEJBNode.jar. But still i get the stupid error cannot find
-> Converter.class........._Converter_Stub.class

Back to top
View user's profile Send private message Send e-mail
suneelsh
PostPosted: Sun Apr 21, 2002 12:50 am    Post subject: Reply with quote

Acolyte

Joined: 13 Apr 2002
Posts: 69
Location: Pune,India

Now that i have solved the class problem...i get a new error that
SerialInitContextFactory.class cannot be found. This file is present in the j2ee.jar in thelib dir. Now i extraced this file and put it to the node file with the package path and also without the package path. But still it nt working..



[ This Message was edited by: suneelsh on 2002-04-21 01:50 ]
Back to top
View user's profile Send private message Send e-mail
suneelsh
PostPosted: Sat Apr 27, 2002 4:43 am    Post subject: Reply with quote

Acolyte

Joined: 13 Apr 2002
Posts: 69
Location: Pune,India

I have still not been able to solve this EJB problem. I have a client EJB in a java plugin node that should call the server. I get the following error

javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.enterprise.naming.SerialInitContextFactory. Root exception is java.lang.ClassNotFoundException: com/sun/enterprise/naming/SerialInitContextFactory
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:212)
at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:46)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:656)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:199)
at JavaEJBNode.evaluate(JavaEJBNode.java:51)

The program works fine in dos prompt but wmqi gives the above error.

[ This Message was edited by: suneelsh on 2002-04-27 05:43 ]
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Unsolvable Problem arising when using EJB client in java nod
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.