Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • 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

Deployemnt problem

 
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I am using Myeclipse IDE and webspherecommunity edition as application server.Using java1.4 and server's java is 1.5. I have created a sample application of stateless bean When I deploy it to the server it shows me error:

Server started.

19:43:41,911 ERROR [Deployer] Deployment failed: plan=null, module=C:\Program Files\IBM\WebSphere\AppServerCommunityEdition\deploy\SampleEJBProject.jar

org.apache.geronimo.common.DeploymentException

: Cannot deploy the requested application module because no deployer is able to handle it. This can happen if you have omitted the J2EE deployment descriptor, disabled a deployer module, or if, for example, you are trying to deploy an EJB module on a minimal Geronimo server that does not have EJB support installed. (moduleFile=C:\Program Files\IBM\WebSphere\AppServerCommunityEdition\deploy\SampleEJBProject.jar)
at org.apache.geronimo.deployment.Deployer.deploy(

Deployer.java:239)
at org.apache.geronimo.deployment.Deployer.deploy(

Deployer.java:124)
at org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.invoke(<generated>

at net.sf.cglib.reflect.FastMethod.invoke(

FastMethod.java:53)
at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(

FastMethodInvoker.java:38)
at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(

GBeanOperation.java:122)
at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(

GBeanInstance.java:852)
at org.apache.geronimo.kernel.basic.BasicKernel.invoke(

BasicKernel.java:239)
at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(

AbstractDeployCommand.java:106)
at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(

DistributeCommand.java:60)
at java.lang.Thread.run(Unknown Source)

19:43:41,991 ERROR [Hot Deployer] Unable to deploy: Cannot deploy the requested application module because no deployer is able to handle it. This can happen if you have omitted the J2EE deployment descriptor, disabled a deployer module, or if, for example, you are trying to deploy an EJB module on a minimal Geronimo server that does not have EJB support installed. (moduleFile=C:\Program Files\IBM\WebSphere\AppServerCommunityEdition\deploy\SampleEJBProject.jar)

org.apache.geronimo.common.DeploymentException

: Cannot deploy the requested application module because no deployer is able to handle it. This can happen if you have omitted the J2EE deployment descriptor, disabled a deployer module, or if, for example, you are trying to deploy an EJB module on a minimal Geronimo server that does not have EJB support installed. (moduleFile=C:\Program Files\IBM\WebSphere\AppServerCommunityEdition\deploy\SampleEJBProject.jar)
at org.apache.geronimo.deployment.Deployer.deploy(

Deployer.java:239)
at org.apache.geronimo.deployment.Deployer.deploy(

Deployer.java:124)
at org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.invoke(<generated>

at net.sf.cglib.reflect.FastMethod.invoke(

FastMethod.java:53)
at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(

FastMethodInvoker.java:38)
at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(

GBeanOperation.java:122)
at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(

GBeanInstance.java:852)
at org.apache.geronimo.kernel.basic.BasicKernel.invoke(

BasicKernel.java:239)
at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(

AbstractDeployCommand.java:106)
at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(

DistributeCommand.java:60)
at java.lang.Thread.run(Unknown Source)


Exception in thread "Geronimo hot deploy scanner" java.lang.NoClassDefFoundError: org/apache/geronimo/deployment/util/DeploymentUtil

at org.apache.geronimo.deployment.hot.DirectoryHotDeployer.fileAdded(

DirectoryHotDeployer.java:299)
at org.apache.geronimo.deployment.hot.DirectoryMonitor.scanDirectory(

DirectoryMonitor.java:371)
at org.apache.geronimo.deployment.hot.DirectoryMonitor.run(

DirectoryMonitor.java:217)
at java.lang.Thread.run(Unknown Source)

Please help me where I went wrong!!!

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

Check your deployment description files.

Whether you are correctly mentioned class, Remote and JNDI .

I think problem in the deployments .

Check the link

http://groups.google.co.in/groups?q=what+are+deployment+files+in+the+IBM+Websphere&hl=en&um=1&ie=UTF-8&sa=X&oi=groups&ct=title
 
divya sharma
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Thanks for the reply!!!

Well I was trying this tutorial it based on jdk 1.5 n ejb3

http://www.myeclipseide.com/documentation/quickstarts/ejb3/

They dont mention to create ejb-jar.xml . I am new to EJB so I dont know what do I do. Please help.

Thanks
 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you tell me what are the files you are making and deploying a application???
 
divya sharma
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well I am using Myeclipse IDE and following it's EJB3 tutorial .Here is it's link : http://www.myeclipseide.com/documentation/quickstarts/ejb3/

I just follow the steps that they have mention I dont even create any ejb-jar.xml becuase when I tried to create it with XDoclet it shows me error.

My java is 1.5 & ejb3 Applicaion server is : websphere community edition.

Please reply and Thanks for help!!
 
In the renaissance, how big were the dinosaurs? Did you have tiny ads?
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
    Bookmark Topic Watch Topic
  • New Topic