aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Deployemnt problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Deployemnt problem" Watch "Deployemnt problem" New topic
Author

Deployemnt problem

divya sharma
Ranch Hand

Joined: Jan 25, 2007
Posts: 87
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


Divya
krishnamoorthy kitcha
Ranch Hand

Joined: Feb 04, 2006
Posts: 96
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

Joined: Jan 25, 2007
Posts: 87
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
Rajesh Rathod
Greenhorn

Joined: Aug 01, 2007
Posts: 24
Can you tell me what are the files you are making and deploying a application???


Rajesh Rathod<br />SCJP 1.4
divya sharma
Ranch Hand

Joined: Jan 25, 2007
Posts: 87
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!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Deployemnt problem