• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Error while deploy EJBProject

 
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

While I try to deploy EJBProject, I am getting this error message. Any pointer towards this really helpful.


Deployment from com.ibm.etools.ejbdeploy.EJBDeployer had errors: Error during generation of deployment code: null.

com.ibm.etools.ejbdeploy.EJBDeploymentException: Error during generation of deployment code: null.
at com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.getException(Unknown Source)
at com.ibm.etools.ejbdeploy.EJBDeployer.visit(Unknown Source)
at com.ibm.etools.ejbdeploy.EJBDeployer.doExecute(Unknown Source)
at com.ibm.etools.ejbdeploy.EJBDeployer.execute(Unknown Source)
at com.ibm.wtp.j2ee.deploy.J2EEDeployOperation.deploy(Unknown Source)
at com.ibm.wtp.j2ee.deploy.J2EEDeployOperation.execute(Unknown Source)
at com.ibm.wtp.common.operation.WTPOperation.doRun(Unknown Source)
at com.ibm.wtp.common.operation.WTPOperation$1.run(Unknown Source)
at org.eclipse.core.internal.resources.Workspace.run(Unknown Source)
at org.eclipse.core.internal.resources.Workspace.run(Unknown Source)
at com.ibm.wtp.common.operation.WTPOperation.run(Unknown Source)
at com.ibm.wtp.common.operation.WTPOperationJobAdapter.run(Unknown Source)
at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
Deployment from com.ibm.etools.ejbdeploy.EJBDeployer had errors: Error during generation of deployment code: null.

com.ibm.etools.ejbdeploy.EJBDeploymentException: Error during generation of deployment code: null.
at com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.getException(Unknown Source)
at com.ibm.etools.ejbdeploy.EJBDeployer.visit(Unknown Source)
at com.ibm.etools.ejbdeploy.EJBDeployer.doExecute(Unknown Source)
at com.ibm.etools.ejbdeploy.EJBDeployer.execute(Unknown Source)
at com.ibm.wtp.j2ee.deploy.J2EEDeployOperation.deploy(Unknown Source)
at com.ibm.wtp.j2ee.deploy.J2EEDeployOperation.execute(Unknown Source)
at com.ibm.wtp.common.operation.WTPOperation.doRun(Unknown Source)
at com.ibm.wtp.common.operation.WTPOperation$1.run(Unknown Source)
at org.eclipse.core.internal.resources.Workspace.run(Unknown Source)
at org.eclipse.core.internal.resources.Workspace.run(Unknown Source)
at com.ibm.wtp.common.operation.WTPOperation.run(Unknown Source)
at com.ibm.wtp.common.operation.WTPOperationJobAdapter.run(Unknown Source)
at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
Deployment from com.ibm.etools.webservice.was.deployer.WSDeployer completed successfully
 
author and cow tipper
Posts: 5000
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which version of IRAD/WSAD are you using?

Before you deploy, you must generate deployment code for the distributed EJBs to work properly. That's a right-click from within the WSAD/IRAD tool.

Potentially, this will fail if a method defined in your remote interface or home interface is not defined correctly in your EJB Bean class. Make sure everything matches up, and generate the bean code again.

Here's a tutorial on creating and testing EJBs within IRAD 6, and it includes the step for generated deploy code (without an exception, might I add).

Creating, Testing and Deploying EJBs in WSAD / IRAD 6

I hope this points you in the right direction.

Happy WebSphere!

-Cameron McKenzie
 
I'm full of tinier men! And a tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic