Hi ,
I am facing a problem while doing a very simple findByPrimaryKey().
      The error message is as follows.The bean is deployed properly with all
its fields properly matched to my Oracle8I database.The key i am looking for
is obviously present in the database.
      One thing that i noted is the "UnknownType" (as seen below) for home
object,when i printed the home object after doing the JNDI lookup.Any idea
when this error usually occurs??
I am using weblogic4.5.1 .
Any help would be highly appreciated.
Thanks & Regards,
Vikas.


home is
com.compent.AlternateWorkWeekBeanHomeImpl_ServiceStub@538472106765070117
S208.29.253.217:[7001,7001,7002,7002,-1] com.compent.AlternateWorkWeekHome
UnknownType[
  538472106765070117S208.29.253.217:[7001,7001,7002,7002,-1]
]
javax.ejb.FinderException: Exception raised while finding bean with primary
key:
'4' in home: 'com.compent.AlternateWorkWeekHome'
weblogic.ejb.pstore.KeyNotFoundException: Bean with primary key: '4' not
found i
n home: 'com.compent.AlternateWorkWeekHome'
        at
com.compent.AlternateWorkWeekPSJDBC.refresh(AlternateWorkWeekPSJDBC.j
ava:366)
        at
com.compent.AlternateWorkWeekPSJDBC.load(AlternateWorkWeekPSJDBC.java
:308)
        at
com.compent.AlternateWorkWeekPSJDBC.findByPrimaryKey(AlternateWorkWee
kPSJDBC.java:653)
        at
com.compent.AlternateWorkWeekPSJDBC.findByPrimaryKey(AlternateWorkWee
kPSJDBC.java:634)
        at
com.compent.AlternateWorkWeekBeanHomeImpl.findByPrimaryKey(AlternateW
orkWeekBeanHomeImpl.java:89)
        at
com.compent.AlternateWorkWeekBeanHomeImpl_WLSkel.invoke(AlternateWork
WeekBeanHomeImpl_WLSkel.java:101)
        at
weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(BasicServerOb
jectAdapter.java:261)
        at
weblogic.rmi.extensions.BasicRequestHandler.handleRequest(BasicReques
tHandler.java:49)
        at
weblogic.rmi.extensions.BasicRequestDispatcher$BasicExecuteRequest.ex
ecute(BasicRequestDispatcher.java:163)
        at weblogic.t3.srvr.ExecuteThread.run(Compiled Code)

        at
weblogic.rmi.extensions.BasicRequest.sendReceive(BasicRequest.java:44
)
        at
com.compent.AlternateWorkWeekBeanHomeImpl_WLStub.findByPrimaryKey(Alt
ernateWorkWeekBeanHomeImpl_WLStub.java:194)
        at
com.compent.AlternateWorkWeekBeanHomeImpl_ServiceStub.findByPrimaryKe
y(Compiled Code)
        at test.main(Compiled Code)


________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

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