Hello,
        I am working on EJB using weblogic4.0.3
application server. I am trying to create a entity bean
with Container Managed Persistence.

        I used deployment wizard to deploy the bean and
it is properly deployed in weblogic.

        I am able to contact it from the client and call
findByPrimaryKey(primarykey) and get one single record.

        But when call a finder method like findAllUsers(long)
that will return a enumeration it throws the following error
stack on the weblogic server,

Tue Nov 16 15:23:41 GMT+05:30 1999:<E> <Adapter> ServerError in
BasicAdapter
Tue Nov 16 15:23:41 GMT+05:30 1999:<E> <Adapter> java.lang.Error: NYI
        at entcmp.UserPSJDBC.findAllUsers(UserPSJDBC.java:540)
        at entcmp.UserBeanHomeImpl.findAllUsers(UserBeanHomeImpl.java:98)
        at
entcmp.WLSkel6i10132r3t6yk3f3a34596d1028m3f.execute(WLSkel6i10132r3t6
yk3f3a34596d1028m3f.java:144)
        at
weblogic.rmi.internal.BasicAdapter.invoke(BasicAdapter.java:216)
        at
weblogic.rmi.internal.BasicAdapter.execute(BasicAdapter.java:387)
        at weblogic.t3.srvr.ExecuteThread.run(Compiled Code)


        I have specified the finder method in Deployment Descriptor
as below,

        (finderDescriptors
          "findAllUsers(long)"
            "(= facilityCode $facicode)"
        ); end finderDescriptors

Any ideas folks??

regards
Sowmya S

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