This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
When I run a verify on an ejb app I created with Netbeans 4.1 I receive the following message. +++++++ JDO72351: This error (All key fields of the bean corresponding to the generated class pkg.DepartmentBean978639062_JDOState must be present in the key class pkg.DepartmentBean978639062_JDOState$Oid. Add the following key fields to the generated key class: generatedPKField) should not occur. Please contact support and file a bug. +++++++ I running on Windows XP SP2, PostgreSql, Sun App Server 8.1 Please advise Mark
it would be great if you could attached the zip file for this project.
Created attachment 20431 [details] Sample Project
Also, which build of NB 4.1 are you using, please?
I'm running Netbeans 4.1 EA 2 Build 200501180000.
Could you check for primary key information - if it is properly captured for the postgress db. This can probably be done with a jdbc program or by looking at the dbschema file in the IDE. Or best, if you could attach the dbschema file, we would go faster. Thanks,
waiting for more info.
Hi, i have an Enterprise Application which is made up of two modules: An ejb Module and a web Moudle. In my ejb module i have severals Entity beans and some Stateless session beans acting like a facede. My problem comes when i call an ejb located in the ejb module from a servlet of my web module. Ok, this is what i do, first i make the entity bean and then a session facede, second i make the servlet and then press right click on the servlet a select "Enterprise resouserses -> Call enterprise bean" and chose my session facede bean. So on its everything ok (or i supouse) but when i try to verify my web module (right click on my web module -> Verifiy Project) i have this problem: Status: Error Test Description: Could not verify successfully Result: java.lang.RuntimeException: Error: Unresolved <ejb-link>: e- commerce_EJB.jar#SignOnBean Details: java.lang.RuntimeException: Error: Unresolved <ejb-link>: e- commerce_EJB.jar#SignOnBean at com.sun.enterprise.deployment.util.EjbBundleValidator.accept (EjbBundleValidator.java:158) at com.sun.enterprise.deployment.WebBundleDescriptor.visit (WebBundleDescriptor.java:1106) at com.sun.enterprise.deployment.Application.visit (Application.java:1346) at com.sun.enterprise.deployment.Application.visit (Application.java:1316) at com.sun.enterprise.tools.verifier.VerificationHandler.verifyArchive (VerificationHandler.java:72) at com.sun.enterprise.tools.verifier.Verifier.verify(Verifier.java:75) at com.sun.enterprise.tools.verifier.Verifier.main(Verifier.java:53)
gustavoorsi needs to run the verifier on the EAR project, not the webapp.
So this is a user error: the verifier is emitting the correct message when verifyin htis standalone web app. When you verify the entire J2EE project, then the verifier is happy. It means that as a standalone web app, this web app is not j2ee compatible (cannot resolved <ejb-link>) without extra ejb module , and this is the correct status.