• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Error while deploy EJBProject

 
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 5009
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
What are you doing? You are supposed to be reading this tiny ad!
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic