- This topic has 4 replies, 3 voices, and was last updated 20 years, 8 months ago by Scott Anderson.
-
AuthorPosts
-
Seb HutchingsMemberHi,
I am deploying my application ear file developed using eclipse. I have used the xdoclet utility to generate entity and session bean interfaces.
I am currenlty trying to deploy the application on a weblogic 6.1 server. I am using an ant build file to make the deploy files. I am getting this error on deployment.
Unable to deploy EJB: control.jar from control.jar:
In EJB FileUploadController, method ‘wait’ must not be declared as final.
In EJB FileUploadController, method ‘wait’ must not be declared as final.
In EJB FileUploadController, method ‘wait’ must not be declared as final.
In EJB FileUploadController, method ‘getClass’ must not be declared as final.
In EJB FileUploadController, method ‘notify’ must not be declared as final.
In EJB FileUploadController, method ‘notifyAll’ must not be declared as final.
at weblogic.ejb20.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:257)
at weblogic.ejb20.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBComplianceChecker.java:221)
at weblogic.ejb20.ejbc.EJBCompiler.complianceCheckJar(EJBCompiler.java:480)
at weblogic.ejb20.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:437)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:204)
at weblogic.ejb20.deployer.Deployer.runEJBC(Deployer.java:296)
at weblogic.ejb20.deployer.Deployer.compileEJB(Deployer.java:684)
at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:851)
at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:30)
at weblogic.j2ee.Application.addComponent(Application.java:163)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:491)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:361)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMBeanImpl.java:984)
at weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMBeanImpl.java:971)
at weblogic.management.internal.DynamicMBeanImpl.add(DynamicMBeanImpl.java:956)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:648)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy20.addTarget(Unknown Source)
at weblogic.management.mbeans.custom.ApplicationManager.autoDeploy(ApplicationManager.java:867)
at weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:966)
at weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:886)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:802)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:733)
at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:206)
at weblogic.management.mbeans.custom.ApplicationManager.startAdminManager(ApplicationManager.java:278)
at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:152)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy5.start(Unknown Source)
at weblogic.management.Admin.startApplicationManager(Admin.java:1184)
at weblogic.management.Admin.finish(Admin.java:590)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
at weblogic.Server.main(Server.java:35)I am using JDK 1.3 on eclipse as well as on the weblogic server.
Can you give me some pointers as to what i should look at.thanks
regards
Sachin
Scott AndersonParticipantSachin,
I’d first make sure that the ejbSpec attribute set in your ejbdoclet configuration is 2.0.
The full set of XDoclet settings can be found here:
http://www.myeclipseide.com/modules.php?op=modload&name=PostWrap&file=index&page=http://myeclipseide.com/enterpriseworkbench/help/index.jsp
Seb HutchingsMemberHi Scott,
Thanks for the reply. I have checked the ejbSpec attaribute value and it is 2.0
I could reproduce this error on eclispe on another machine by just making an ejb project with a generated
session bean (no additional changes) with rest of the interface classes. And deploying this to weblogic 6.1 or 7.0, I get the same error.
thanks
Sachin
Riyad KallaMemberSachin,
Are you still having problems or did you get the answer you needed; can I close this topic?
Scott AndersonParticipantSachin,
We’ve seen this question asked before here:
https://www.genuitec.com/forums/topic/another-one/&highlight=getclassIt’s bascially a problem with the XDoclet setting such that a remote interface isn’t being properly generated.
-
AuthorPosts