2 Replies Latest reply on Aug 20, 2010 11:42 AM by 792695

    Facing Problem in Weblogic 9.2

    792695
      I am new to it and having following Exceptions while starting server from MyEclipse. Can anybody help me in this.

      10:34:06,429 DEBUG [RmiClientInterceptorUtils] Remote service [bluemobile/ejb/ScheduledMaintenance] threw exception
      java.rmi.RemoteException: Error in ejbCreate:; nested exception is:
           org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance: factory key [bluemobleApplicationContext], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bluemobleApplicationContext' defined in URL [zip:C:/bea/user_projects/domains/bluemobile_domain92/./servers/AdminServer/tmp/_WL_user/BlueMobile_BM_1_00_30_9/p6zyp6/BlueMobileEJB.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with name 'webTISMessageHelper' defined in class path resource [applicationContext.xml]: Class that bean class [com.atosorigin.bluemobile.helpers.WebTISMessageHelper] depends on not found; nested exception is java.lang.NoClassDefFoundError: com/atosorigin/bluemobile/helpers/WebTISMessageHelper
           at weblogic.ejb.container.internal.EJBRuntimeUtils.throwRemoteException(EJBRuntimeUtils.java:95)
           at weblogic.ejb.container.internal.BaseEJBObject.handleSystemException(BaseEJBObject.java:713)
           at weblogic.ejb.container.internal.BaseEJBObject.handleSystemException(BaseEJBObject.java:681)
           at weblogic.ejb.container.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:220)
           at weblogic.ejb.container.internal.StatelessEJBObject.preInvoke(StatelessEJBObject.java:64)
           at com.atosorigin.bluemobile.scheduler.webfacade.ScheduledMaintenance_ovf4gs_EOImpl.resendPendingMessages(ScheduledMaintenance_ovf4gs_EOImpl.java:186)
           at com.atosorigin.bluemobile.scheduler.webfacade.ScheduledMaintenance_ovf4gs_EOImpl_WLSkel.invoke(Unknown Source)
           at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
           at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:335)
           at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:252)
           at com.atosorigin.bluemobile.scheduler.webfacade.ScheduledMaintenance_ovf4gs_EOImpl_920_WLStub.resendPendingMessages(Unknown Source)
           at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Unknown Source)
           at java.lang.reflect.Method.invoke(Unknown Source)
           at org.springframework.remoting.rmi.RmiClientInterceptorUtils.doInvoke(RmiClientInterceptorUtils.java:106)
           at org.springframework.ejb.access.SimpleRemoteSlsbInvokerInterceptor.doInvoke(SimpleRemoteSlsbInvokerInterceptor.java:75)
           at org.springframework.ejb.access.AbstractRemoteSlsbInvokerInterceptor.invoke(AbstractRemoteSlsbInvokerInterceptor.java:114)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:169)
           at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:169)
           at $Proxy50.resendPendingMessages(Unknown Source)
           at com.atosorigin.bluemobile.scheduler.events.ResendPendingMessagesEvent.executeInternal(ResendPendingMessagesEvent.java:27)
           at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:90)
           at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
           at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
      Caused by: org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance: factory key [bluemobleApplicationContext], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bluemobleApplicationContext' defined in URL [zip:C:/bea/user_projects/domains/bluemobile_domain92/./servers/AdminServer/tmp/_WL_user/BlueMobile_BM_1_00_30_9/p6zyp6/BlueMobileEJB.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with name 'webTISMessageHelper' defined in class path resource [applicationContext.xml]: Class that bean class [com.atosorigin.bluemobile.helpers.WebTISMessageHelper] depends on not found; nested exception is java.lang.NoClassDefFoundError: com/atosorigin/bluemobile/helpers/WebTISMessageHelper
           at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:409)
           at org.springframework.ejb.support.AbstractEnterpriseBean.loadBeanFactory(AbstractEnterpriseBean.java:117)
           at org.springframework.ejb.support.AbstractStatelessSessionBean.ejbCreate(AbstractStatelessSessionBean.java:64)
           at com.atosorigin.bluemobile.scheduler.webfacade.ScheduledMaintenanceBean.ejbCreate(ScheduledMaintenanceBean.java:105)
           at com.atosorigin.bluemobile.scheduler.webfacade.ScheduledMaintenance_ovf4gs_Impl.ejbCreate(ScheduledMaintenance_ovf4gs_Impl.java:150)
           at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Unknown Source)
           at jrockit.reflect.InitialMethodInvoker.invoke(Unknown Source)
           at java.lang.reflect.Method.invoke(Unknown Source)
           at weblogic.ejb.container.pool.StatelessSessionPool.createBean(StatelessSessionPool.java:178)
           at weblogic.ejb.container.pool.StatelessSessionPool.getBean(StatelessSessionPool.java:105)
           at weblogic.ejb.container.manager.StatelessManager.preInvoke(StatelessManager.java:143)
           at weblogic.ejb.container.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:213)
           at weblogic.ejb.container.internal.StatelessEJBObject.preInvoke(StatelessEJBObject.java:64)
           at com.atosorigin.bluemobile.scheduler.webfacade.ScheduledMaintenance_ovf4gs_EOImpl.resendPendingMessages(ScheduledMaintenance_ovf4gs_EOImpl.java:186)
           at com.atosorigin.bluemobile.scheduler.webfacade.ScheduledMaintenance_ovf4gs_EOImpl_WLSkel.invoke(Unknown Source)
           at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
           at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:335)
           at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:252)
           at com.atosorigin.bluemobile.scheduler.webfacade.ScheduledMaintenance_ovf4gs_EOImpl_920_WLStub.resendPendingMessages(Unknown Source)
           at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Unknown Source)
           at java.lang.reflect.Method.invoke(Unknown Source)
           at org.springframework.remoting.rmi.RmiClientInterceptorUtils.doInvoke(RmiClientInterceptorUtils.java:106)
           at org.springframework.ejb.access.SimpleRemoteSlsbInvokerInterceptor.doInvoke(SimpleRemoteSlsbInvokerInterceptor.java:75)
           at org.springframework.ejb.access.AbstractRemoteSlsbInvokerInterceptor.invoke(AbstractRemoteSlsbInvokerInterceptor.java:114)
           at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:169)
           at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:169)
      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bluemobleApplicationContext' defined in URL [zip:C:/bea/user_projects/domains/bluemobile_domain92/./servers/AdminServer/tmp/_WL_user/BlueMobile_BM_1_00_30_9/p6zyp6/BlueMobileEJB.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with name 'webTISMessageHelper' defined in class path resource [applicationContext.xml]: Class that bean class [com.atosorigin.bluemobile.helpers.WebTISMessageHelper] depends on not found; nested exception is java.lang.NoClassDefFoundError: com/atosorigin/bluemobile/helpers/WebTISMessageHelper
           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:407)
        • 1. Re: Facing Problem in Weblogic 9.2
          René van Wijk
          From the exception
          Class that bean class [com.atosorigin.bluemobile.helpers.WebTISMessageHelper] depends on not found; nested exception is java.lang.NoClassDefFoundError: com/atosorigin/bluemobile/helpers/WebTISMessageHelper
          it looks like not all your classes are in the classpath.
          • 2. Re: Facing Problem in Weblogic 9.2
            792695
            Thanks for your reply.

            But I have set my classpath properly to the bin directory of JDK1.5.

            When i start the server in myeclipse in the beginning i am given this exception as well. pLease advise.

            IOException:log4j.xml (The system cannot find the file specified)


            <WSEE> warning. In exception com.atosorigin.bluemobile.exceptions.UnableToFindRecordException, could not find getter method that returns the constructor single param class long<WSBuilderHelper.matchException:486>
            <WSEE> warning. In exception com.atosorigin.bluemobile.exceptions.UnableToFindRecordException, could not find getter method that returns the constructor single param class long<WSBuilderHelper.matchException:486>
            log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
            log4j:WARN Please initialize the log4j system properly.