java.lang.ClassCastException: com.sun.enterprise.config.serverbeans.JdbcResource

Oracle Community | gamigin | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Basic setup EntityManager ClassCastException

    Oracle Community | 1 decade ago | gamigin
    java.lang.ClassCastException: com.sun.enterprise.config.serverbeans.JdbcResource
  2. 0

    Debugging @PersistenceContext

    Oracle Community | 1 decade ago | 843830
    java.lang.ClassCastException: com.sun.enterprise.config.serverbeans.JdbcResource
  3. 0

    java.lang.ClassCastException: com.sun.enterprise.config.serverbeans.JdbcRes

    Oracle Community | 10 years ago | vijaypawnarkar
    java.lang.ClassCastException: com.sun.enterprise.config.serverbeans.JdbcResource
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.sun.enterprise.config.serverbeans.JdbcResource

      at com.sun.enterprise.server.ondemand.EjbServiceGroup.isXAResource()
    2. com.sun.enterprise
      ServerEntryHelper.generateJndiEntryContext
      1. com.sun.enterprise.server.ondemand.EjbServiceGroup.isXAResource(EjbServiceGroup.java:308)
      2. com.sun.enterprise.server.ondemand.EjbServiceGroup.analyseEntryContext(EjbServiceGroup.java:269)
      3. com.sun.enterprise.server.ondemand.ServiceGroup.startChildren(ServiceGroup.java:167)
      4. com.sun.enterprise.server.ondemand.MainServiceGroup.start(MainServiceGroup.java:45)
      5. com.sun.enterprise.server.ondemand.ServerEntryListenerImpl.notifyEntry(ServerEntryListenerImpl.java:72)
      6. com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.sendEvent(ServerEntryHelper.java:62)
      7. com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.generateJndiEntryContext(ServerEntryHelper.java:39)
      7 frames
    3. Glassfish Naming
      SerialContext.lookup
      1. com.sun.enterprise.naming.SerialContext.generateEntryContext(SerialContext.java:250)
      2. com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:276)
      2 frames
    4. Java RT
      InitialContext.lookup
      1. javax.naming.InitialContext.lookup(InitialContext.java:351)
      1 frame
    5. Glassfish Naming
      NamingManagerImpl.bindObjects
      1. com.sun.enterprise.naming.NamingManagerImpl.bindObjects(NamingManagerImpl.java:558)
      1 frame
    6. Glassfish
      WebContainer.loadWebModule
      1. com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1440)
      2. com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1133)
      2 frames
    7. com.sun.enterprise
      WebModuleDeployEventListener.moduleDeployed
      1. com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:171)
      2. com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:275)
      2 frames
    8. admin-util
      AdminEventMulticaster.multicastEvent
      1. com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:954)
      2. com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:941)
      3. com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:448)
      4. com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:160)
      4 frames
    9. com.sun.enterprise
      ApplicationsConfigMBean.start
      1. com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:296)
      2. com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:203)
      3. com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:285)
      4. com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:119)
      5. com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:95)
      6. com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:871)
      7. com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:541)
      8. com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:585)
      9. com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:719)
      9 frames
    10. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    11. GlassFish Admin
      MBeanHelper.invokeOperationInBean
      1. com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:353)
      2. com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:336)
      2 frames
    12. com.sun.enterprise
      BaseConfigMBean.invoke
      1. com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:448)
      1 frame
    13. Java RT
      Method.invoke
      1. com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
      2. com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
      3. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
      4. com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
      5. sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
      6. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      7. java.lang.reflect.Method.invoke(Method.java:585)
      7 frames
    14. admin-util
      ProxyClass.invoke
      1. com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:77)
      1 frame
    15. Unknown
      $Proxy1.invoke
      1. $Proxy1.invoke(Unknown Source)
      1 frame
    16. com.sun.enterprise
      RemoteJmxConnectorServlet.doPost
      1. com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:297)
      2. com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:56)
      3. com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:142)
      4. com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:109)
      5. com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:180)
      5 frames
    17. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      2 frames
    18. Glassfish Core
      StandardPipeline.doInvoke
      1. org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
      2. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278)
      3. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
      4. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
      5. org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
      6. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
      7. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
      7 frames
    19. Glassfish
      WebPipeline.invoke
      1. com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
      1 frame
    20. Glassfish Core
      StandardPipeline.doInvoke
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
      2. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
      2 frames
    21. Glassfish
      VirtualServerPipeline.invoke
      1. com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
      1 frame
    22. Glassfish Core
      ContainerBase.invoke
      1. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
      2. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
      3. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
      4. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
      5. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
      5 frames
    23. org.apache.coyote
      CoyoteAdapter.service
      1. org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:231)
      1 frame
    24. Glassfish Core
      WorkerThread.run
      1. com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
      2. com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
      3. com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
      4. com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
      5. com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
      6. com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
      7. com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
      7 frames