> Hello,
> 
> Please help me to find the problem, as I really reached a deadlock.
> 
> I have TEAM CMP EntityBean. After I deploy the ejb-jar file and want to
> test 
> finding the entities in the TEAM table in the database by primary key I
> get the error:
>       
> >>>>  javax.ejb.ObjectNotFoundException: Object with primary key WB not
> found in storage      <<<<
> 
> I know for sure that there is entity with primary key "WB" in the table.
> 
> Please find enclosed the complete package in a zip file with the following
> content:
> 
> META-INF\Manifest.mf                  <- files needed for deployment below
> META-INF\jboss.xml
> META-INF\jaws.xml
> META-INF\ejb-jar.xml
> team\ejb\Team.java                    <- ejb source files below
> team\ejb\TeamBean.java
> team\ejb\TeamHome.java
> team\ejb\TeamPK.java
> team\ejb\Team.class
> team\ejb\TeamBean.class
> team\ejb\TeamPK.class
> team\ejb\TeamHome.class
> util\TeamDetails.java
> util\TeamDetails.class
> team-ejb.jar                          <- ejb-jar file ready for deployment
> create_team_table.sql                 <- script for creating the TEAM
> table (Oracle 8)
> insert_team_data.sql                  <- script for inserting data to the
> TEAM table (Oracle 8)
> buildEJB.txt                          <- build script (sorry, I didn't
> migrate to Ant yet)
> packageEJB.txt                                <- script for packaging the
> ejb-jar file
> buildClient.txt                               <- script for compiling test
> program (TestTeams.java)
> runClient.txt                         <- script for activating test
> program (TestTeams.java)
> CreateTeams.class                     <- java program for inserting data
> to the TEAM table (or use insert_team_data.sql)
> CreateTeams.java
> TestTeams.class                       <- test program that attempts to
> call findByPrimaryKey(...)
> TestTeams.java
> TestTeams.log                         <- the log file with the error
> message
> team_table_query.log                  <- query that displays the data in
> the TEAM table.
> 
Note: script files with extension .txt are actually windows batch files
renamed because of restriction of the mail server.

>   <<team-ejb-all.zip>> 
>       (15.2KB)
> 
> Your help will be much appreciated.
> 

team-ejb-all.zip

Reply via email to