Getting java.lang.ClassNotFoundException: com.stc.eventmanagement.impl.NotificationEventImpl when deploying to SunOne Application Server (Doc ID 1029506.1)

Last updated on NOVEMBER 02, 2016

Applies to:

Oracle Java CAPS - Version 5.1.0 and later
Information in this document applies to any platform.
Checked for relevance on 18-Apr-2011.
***Checked for relevance on 02-June-2014***

Symptoms

When deploying a project to SunOne Application Server EE you see the following error in the server.log file:

java.lang.ClassNotFoundException: com.stc.eventmanagement.impl.NotificationEventImpl
at com.sun.enterprise.loader.EJBClassLoader.findClass(EJBClassLoader.java:505)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at com.stc.eventmanagement.EventFactory.getNotificationEvent(EventFactory.java:215)
at com.stc.codegen.frameworkImpl.runtime.AlerterSupport.sendAlert(AlerterSupport.java:282)
at com.stc.codegen.mbeans.CollabMonitor.notifyStatus(CollabMonitor.java:941)
at com.stc.codegen.mbeans.CollabMonitor.notifyStatus(CollabMonitor.java:931)
at com.stc.codegen.mbeans.CollabMonitor.<init>(CollabMonitor.java:325)
at com.stc.codegen.mbeans.CollabMBeanLoader.createMbean(CollabMBeanLoader.java:132)
at com.stc.codegen.framework.model.AbstractMBeanLoader.execute(AbstractMBeanLoader.java:84)
at com.stc.codegen.mbeans.CollabMBeanLoader.execute(CollabMBeanLoader.java:47)
at com.stc.codegen.framework.runtime.StartUpServiceManager.startService(StartUpServiceManager.java:184)
at com.stc.codegen.framework.runtime.StartUpServiceManager.startAllServices(StartUpServiceManager.java:150)
at com.stc.codegen.frameworkImpl.startupconnector.StartUpServiceResourceAdapterImpl.start(StartUpServiceResourceAdapterImpl.java:91)
at com.sun.enterprise.connectors.ActiveInboundResourceAdapter.<init>(ActiveInboundResourceAdapter.java:107)
at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:71)
at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:267)
at com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:189)
at com.sun.enterprise.server.AbstractLoader.loadRars(AbstractLoader.java:654)
at com.sun.enterprise.server.ApplicationLoader.load(ApplicationLoader.java:122)
at com.sun.enterprise.server.HttpServiceApplicationLoader.load(HttpServiceApplicationLoader.java:97)
at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:224)
at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:164)
at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:496)
at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:872)
at com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:856)
at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:424)
at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:139)
at com.sun.enterprise.ee.admin.mbeans.ServerRuntimeMBean.forwardEvent(ServerRuntimeMBean.java:64)
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:308)
at com.sun.enterprise.admin.runtime.BaseRuntimeMBean.invoke(BaseRuntimeMBean.java:389)
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 javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1408)
at javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1245)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1341)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:782)
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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
at java.lang.Thread.run(Thread.java:595)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms