facebook

Glassfish Run Server got exception

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 3 posts - 16 through 18 (of 18 total)
  • Author
    Posts
  • #297963 Reply

    Scott Doner
    Member

    There are problems with “GlassFish Tools Bundle For Eclipse” too, but it does work with glassfish. Does any version of ME work with GlassFish?

    regards

    #298003 Reply

    Shane Fisher
    Member

    I’m experiencing the same issue. Also, the bundled tutorial for EJB3 does not deploy correctly and complains with this error:

    [#|2009-04-29T11:38:17.437-0700|SEVERE|sun-appserver2.1|javax.enterprise.system.tools.deployment|_ThreadID=16;_ThreadName=Timer-10;_RequestID=30581dbb-dbd8-47f7-8a83-e330c34895b1;|Exception occured in J2EEC Phasejava.lang.IllegalArgumentException: Invalid ejb jar [C:\glassfish-2.1\domains\domain1\autodeploy\SampleEJBProject.jar]: it contains zero ejb.
    Note:
    1. A valid ejb jar requires at least one session, entity (1.x/2.x style), or message driven bean.
    2. EJB3+ entity beans (@Entity) are POJOs and please package them as library jar.
    3. If the jar file contains valid EJBs which are annotated with EJB component level annotations (@Stateless, @Stateful, @MessageDriven), please check server.log to see whether the annotations were processed properly.

    com.sun.enterprise.deployment.backend.IASDeploymentException: Error loading deployment descriptors for module [SampleEJBProject] — Invalid ejb jar [C:\glassfish-2.1\domains\domain1\autodeploy\SampleEJBProject.jar]: it contains zero ejb.
    Note:
    1. A valid ejb jar requires at least one session, entity (1.x/2.x style), or message driven bean.
    2. EJB3+ entity beans (@Entity) are POJOs and please package them as library jar.
    3. If the jar file contains valid EJBs which are annotated with EJB component level annotations (@Stateless, @Stateful, @MessageDriven), please check server.log to see whether the annotations were processed properly.

    at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:406)

    at com.sun.enterprise.deployment.backend.ModuleDeployer.loadDescriptors(ModuleDeployer.java:426)

    at com.sun.enterprise.deployment.backend.EjbModuleDeployer.deploy(EjbModuleDeployer.java:141)

    at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:182)

    at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:208)

    at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)

    at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:966)

    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:280)

    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:298)

    at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.deploy(ApplicationsConfigMBean.java:584)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:585)

    at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:381)

    at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:364)

    at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:477)

    at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)

    at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)

    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)

    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)

    at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:585)

    at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)

    at $Proxy1.invoke(Unknown Source)

    at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)

    at com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)

    at com.sun.enterprise.deployment.autodeploy.AutoDeployer.invokeDeploymentService(AutoDeployer.java:583)

    at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployJavaEEArchive(AutoDeployer.java:564)

    at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:495)

    at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:270)

    at com.sun.enterprise.deployment.autodeploy.AutoDeployControllerImpl$AutoDeployTask.run(AutoDeployControllerImpl.java:374)

    at java.util.TimerThread.mainLoop(Timer.java:512)

    at java.util.TimerThread.run(Timer.java:462)

    #298012 Reply

    support-joy
    Member

    shanefisher1,

    Invalid ejb jar [C:\glassfish-2.1\domains\domain1

    Can you confirm if you are running GlassFish 2.1? If yes, currently there is a problem with the connector for GlassFish2.1. This issue is fixed in our next release 7.5 which is due in May. Please keep a lookout for ME7.5. In the interim, I would suggest you to either deploy your application on GlassFish 2.0 or GlassFish 2.1 ourside of ME and test.

    Sorry for the inconvinience caused.

Viewing 3 posts - 16 through 18 (of 18 total)
Reply To: Glassfish Run Server got exception

You must be logged in to post in the forum log in