gaurav,
         have you forgotten to expose the method that u intend to call ,
during deployment??



-adittya

> ----------
> From:         Gaurav SDC NOIDA[SMTP:[EMAIL PROTECTED]]
> Reply To:     A mailing list for Enterprise JavaBeans development
> Sent:         Thursday, August 10, 2000 11:36 AM
> To:   [EMAIL PROTECTED]
> Subject:      Re: URGENT:How to use stand alone java application client
> for EJB in Websphere app server
>
> Dear Arvind , Subhakrishna,Rajan and others
>
> This is not the prob,which u r understanding.
> Problrm is sth different..
>
>
>  I have written a client (java application stand alone)in VAJ3.02 that I
> was
> able to test it with the
>  EJBs deployed within the VAJ test environment .
> My EJB is just a simple  stateless session bean which populates the data
> in
> a simple serialized class,when client calls the corresponding function of
> that session bean. After that client just fetches data from that
> serialized
> class and prints on the console.
>
> But problem comes when I deploy that EJB in WebSphere app server and try
> to
> run the client from command prompt.
>
>  I included following files in my classpath
> *       iioptools.jar
> *       ejs.jar
> *       ujc.jar
> *       iioprt.jar
> *       servlet.jar
> *       deployedBean.jar(taken from WebSphere/AppServer/deployed bean
> directory)
> *       client.jar(ejb client jar file which I exported  from VAge
> environment)
> *       jar file containig the factory
> class(com.ibm.ejs.ns.jndi.CNInitialContextFactory)and all its resources
> and
> references.
> *       ibmwebas.jar
> I also included the ioser.dll file in my path variable.
>
>
>  Then I run the Client from the command line by issuing the
>  following command
>
>  java ClientclassName
>
> and
>
> java
> -Djavax.naming.Context.INITIAL_CONTEXT_FACTORY=com.ibm.ejs.ns.jndi.CNIniti
> al
> ContextFactory ClientclassName
>
> In both the cases
>  it reports that can't find ClientclassName or something it requires.
>
>
>  What am I missing?
>
>  Any help will be greatly appreciated.
>
> I am not sending the code, b'coz that code is perfectly running fine
> inside
> VAge test environment.
> If any of u having any idea abt it, pl. help me out.
> Thanx..
>
>
> Gaurav
> ECode-1205
> HCL Perot Systems,Noida
> (Youngest CMM level 5 company)
> email- [EMAIL PROTECTED]
>            [EMAIL PROTECTED]
>
> > -----Original Message-----
> > From: Aravind Naidu [SMTP:[EMAIL PROTECTED]]
> > Sent: Wednesday, August 09, 2000 9:40 PM
> > To:   [EMAIL PROTECTED]
> > Subject:      Re: URGENT:How to use stand alone java application client
> > for EJB in Websphere app server
> >
> > If you are deploying from VAJ to WebSphere, then for your standalone
> java
> > program you need to include the EJB client jar in the classpath. Right
> > click
> > on the EJB in the EJB tab window and use the menu's to create this.
> >
> > In addition to this you also need the standard WAS runtime in your
> > classpath, ujc.jar, ibmwebas.jar etc. etc.. There are about 5-6 jars you
> > need. All documented in the IBM manuals.
> >
> > -- Aravind
> >
> > > -----Original Message-----
> > > From: A mailing list for Enterprise JavaBeans development
> > > [mailto:[EMAIL PROTECTED]]On Behalf Of Gaurav SDC NOIDA
> > > Sent: Wednesday, 9 August 2000 18:58
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: URGENT:How to use stand alone java application client for
> > > EJB in Websphere app server
> > >
> > >
> > > Yes Rajan
> > > I first used the visual age and it was working fine in visual age.When
> I
> > > compiled and run the client code out side the Vage,it compiled
> > > successfully(b'coz of client jar file of ejb in my  system classpath),
> > but
> > > it did't run.
> > > Then I deployed that EJb in Websphere app server and included the
> > > deplyedbean.jar file in my class path,In this case also, client code
> > > compiled successfully, but it did't run.
> > > In both cases it gives message "can not find class(client class name)
> or
> > > domething it requires"
> > > If any one has the soln to this problem pl. tell me.
> > > Thanx,,,
> > > Gaurav
> > > ECode-1205
> > > HCL Perot Systems,Noida
> > > (Youngest CMM level 5 company)
> > > email- [EMAIL PROTECTED]
> > >            [EMAIL PROTECTED]
> > >
> > > > -----Original Message-----
> > > > From: Rajan Kashyap [SMTP:[EMAIL PROTECTED]]
> > > > Sent: Thursday, August 10, 2000 2:15 AM
> > > > To:   [EMAIL PROTECTED]
> > > > Subject:      Re: URGENT:How to use stand alone java application
> > client
> > > > for EJB in             Websphere app server
> > > >
> > > > Just deploy the EJB and Run your application..........
> > > > Is it giving some problem this way??
> > > >
> > > > Rajan
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: A mailing list for Enterprise JavaBeans development
> > > > [mailto:[EMAIL PROTECTED]]On Behalf Of Gaurav SDC NOIDA
> > > > Sent: Wednesday, August 09, 2000 12:54 AM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: URGENT:How to use stand alone java application client for
> EJB
> > > > in Websphere app server
> > > >
> > > >
> > > > Dear all
> > > > Could any body  tell me how to use stand alone java application
> > > client for
> > > > EJB  in Websphere app server.
> > > > Thanx,
> > > > any help would be appreciated .
> > > >
> > > > Gaurav
> > > > ECode-1205
> > > > HCL Perot Systems,Noida
> > > > (Youngest CMM level 5 company)
> > > > email- [EMAIL PROTECTED]
> > > >            [EMAIL PROTECTED]
> > > >
> > > >
> > >
> >
> ==========================================================================
> > > > =
> > > > To unsubscribe, send email to [EMAIL PROTECTED] and include in
> the
> > > > body
> > > > of the message "signoff EJB-INTEREST".  For general help, send email
> > to
> > > > [EMAIL PROTECTED] and include in the body of the message "help".
> > > >
> > > >
> > >
> >
> ==========================================================================
> > > > =
> > > > To unsubscribe, send email to [EMAIL PROTECTED] and include in
> the
> > > > body
> > > > of the message "signoff EJB-INTEREST".  For general help, send email
> > to
> > > > [EMAIL PROTECTED] and include in the body of the message "help".
> > >
> > > ==================================================================
> > > =========
> > > To unsubscribe, send email to [EMAIL PROTECTED] and include
> > > in the body
> > > of the message "signoff EJB-INTEREST".  For general help, send email
> to
> > > [EMAIL PROTECTED] and include in the body of the message "help".
> > >
> > >
> >
> >
> ==========================================================================
> > =
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> > body
> > of the message "signoff EJB-INTEREST".  For general help, send email to
> > [EMAIL PROTECTED] and include in the body of the message "help".
>
> ==========================================================================
> =
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff EJB-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to