1 Reply Latest reply on Aug 20, 2007 12:13 PM by Ales Justin

    JBOSS portal not accessing the ejb's

    lsk lsk Newbie

      Hi,
      I am working on a jboss portal 2.2.1 +jboss application server 4.0.3SP1 system that was working fine on linux .But now it is down AFTER i RESTARTED lINUX WITHOUT SHUTTING DOWN JBOSS. iT IS giving me a lot of exceptions while restarting and shutting down the server.So how do we solve this issue.The sample errors are as follows.

      2007-08-20 17:11:25,496 INFO [org.jboss.naming.NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50,
      bindAddress=/0.0.0.0, Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
      2007-08-20 17:11:34,896 INFO [org.jboss.cache.TreeCache] interceptor chain is:
      class org.jboss.cache.interceptors.CallInterceptor
      class org.jboss.cache.interceptors.LockInterceptor
      class org.jboss.cache.interceptors.UnlockInterceptor
      2007-08-20 17:11:34,896 INFO [org.jboss.cache.TreeCache] cache mode is local, will not create the channel
      2007-08-20 17:11:37,829 INFO [org.apache.catalina.startup.Embedded] Catalina naming disabled
      2007-08-20 17:11:38,408 INFO [org.apache.coyote.http11.Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-80
      2007-08-20 17:11:39,045 INFO [org.apache.coyote.http11.Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-443
      2007-08-20 17:11:39,045 INFO [org.apache.catalina.startup.Catalina] Initialization processed in 1099 ms
      2007-08-20 17:11:39,048 INFO [org.jboss.web.tomcat.tc5.StandardService] Starting service jboss.web
      2007-08-20 17:11:39,054 INFO [org.apache.catalina.core.StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5
      2007-08-20 17:11:39,110 INFO [org.apache.catalina.core.StandardHost] XML validation disabled
      2007-08-20 17:11:39,133 INFO [org.apache.catalina.startup.Catalina] Server startup in 88 ms
      2007-08-20 17:11:39,290 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invo
      ker.sar/invoker.war/
      2007-08-20 17:11:39,741 INFO [org.apache.catalina.loader.WebappLoader] Dual registration of jndi stream handler: factory alr
      eady defined
      2007-08-20 17:11:40,396 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/portal-cms, warUrl=.../tmp/deploy/tm
      p53923jboss-portal.sar-contents/portal-cms.war/
      2007-08-20 17:11:41,399 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/portal-core, warUrl=.../tmp/deploy/t
      mp53923jboss-portal.sar-contents/portal-core.war/
      2007-08-20 17:11:41,931 INFO [org.apache.myfaces.config.FacesConfigurator] Reading standard config org/apache/myfaces/resour
      ce/standard-faces-config.xml
      2007-08-20 17:11:42,102 INFO [org.apache.myfaces.config.FacesConfigurator] Reading config jar:file:/home/jboss/YangBackup/jb
      oss-4.0.3SP1_yang/server/default/tmp/deploy/tmp53923jboss-portal.sar-contents/lib/jsf-facelets.jar!/META-INF/faces-config.xml
      2007-08-20 17:11:42,121 INFO [org.apache.myfaces.config.FacesConfigurator] Reading config jar:file:/home/jboss/YangBackup/jb
      oss-4.0.3SP1_yang/server/default/tmp/deploy/tmp53923jboss-portal.sar-contents/lib/tomahawk.jar!/META-INF/faces-config.xml
      2007-08-20 17:11:42,265 INFO [org.apache.myfaces.config.FacesConfigurator] Reading config /WEB-INF/faces-config.xml
      2007-08-20 17:11:42,505 ERROR [org.apache.myfaces.util.LocaleUtils] Locale name null or empty, ignoring
      2007-08-20 17:11:43,388 INFO [org.apache.myfaces.webapp.StartupServletContextListener] ServletContext '/home/jboss/YangBacku
      p/jboss-4.0.3SP1_yang/server/default/./tmp/deploy/tmp53923jboss-portal.sar-contents/portal-core.war/' initialized.
      2007-08-20 17:11:43,429 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/portal-samples, warUrl=.../tmp/deplo
      y/tmp53923jboss-portal.sar-contents/portal-samples.war/
      2007-08-20 17:11:43,532 INFO [org.apache.catalina.startup.ContextConfig] Missing application web.xml, using defaults only St
      andardEngine[jboss.web].StandardHost[localhost].StandardContext[/portal-samples]
      2007-08-20 17:11:43,608 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/portal, warUrl=.../tmp/deploy/tmp539
      23jboss-portal.sar-contents/portal-server.war/
      2007-08-20 17:11:43,830 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=.../tmp/deploy/tmp5392
      8jboss-ws4ee.war/
      2007-08-20 17:11:44,021 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat5
      5.sar/ROOT.war/


      2007-08-20 17:12:46,800 INFO [org.hibernate.cfg.Configuration] Configured SessionFactory: null
      2007-08-20 17:12:46,818 INFO [org.hibernate.cfg.Configuration] processing extends queue
      2007-08-20 17:12:46,819 INFO [org.hibernate.cfg.Configuration] processing collection mappings
      2007-08-20 17:12:46,819 INFO [org.hibernate.cfg.HbmBinder] Mapping collection: org.jboss.portlet.forums.impl.CategoryImpl.fo
      rums -> jbp_forums_forums
      2007-08-20 17:12:46,819 INFO [org.hibernate.cfg.HbmBinder] Mapping collection: org.jboss.portlet.forums.impl.ForumImpl.topic
      s -> jbp_forums_topics
      2007-08-20 17:12:46,819 INFO [org.hibernate.cfg.HbmBinder] Mapping collection: org.jboss.portlet.forums.impl.ForumImpl.forum
      :
      va:173)
      2007-08-20 17:12:50,029 INFO [STDOUT] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213
      )
      2007-08-20 17:12:50,029 INFO [STDOUT] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178
      )
      2007-08-20 17:12:50,029 INFO [STDOUT] at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.jav
      a:39)
      2007-08-20 17:12:50,030 INFO [STDOUT] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationV
      alve.java:159)
      2007-08-20 17:12:50,030 INFO [STDOUT] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
      2007-08-20 17:12:50,030 INFO [STDOUT] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      2007-08-20 17:12:50,030 INFO [STDOUT] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      2007-08-20 17:12:50,031 INFO [STDOUT] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      2007-08-20 17:12:50,031 INFO [STDOUT] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      2007-08-20 17:12:50,031 INFO [STDOUT] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
      2007-08-20 17:12:50,032 INFO [STDOUT] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(
      Http11Protocol.java:744)
      2007-08-20 17:12:50,032 INFO [STDOUT] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      2007-08-20 17:12:50,032 INFO [STDOUT] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.jav
      a:112)
      2007-08-20 17:12:50,032 INFO [STDOUT] at java.lang.Thread.run(Thread.java:534)
      2007-08-20 17:12:50,033 INFO [STDOUT] javax.ejb.EJBException: Could not instantiate bean; CausedByException is:
      createBeanClassInstanceCommand == null
      2007-08-20 17:12:50,035 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.java:191)
      2007-08-20 17:12:50,035 INFO [STDOUT] at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceIntercept
      or.java:98)
      2007-08-20 17:12:50,035 INFO [STDOUT] at org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:
      61)
      2007-08-20 17:12:50,035 INFO [STDOUT] at org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationIntercept
      or.java:28)
      2007-08-20 17:12:50,036 INFO [STDOUT] at org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationIntercept
      or.java:41)
      2007-08-20 17:12:50,036 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:
      110)
      2007-08-20 17:12:50,036 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:3
      63)
      2007-08-20 17:12:50,036 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:146)
      2007-08-20 17:12:50,037 INFO [STDOUT] at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:130)
      2007-08-20 17:12:50,037 INFO [STDOUT] at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:121)
      2007-08-20 17:12:50,037 INFO [STDOUT] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderI
      nterceptor.java:93)
      2007-08-20 17:12:50,038 INFO [STDOUT] at org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:508)
      2007-08-20 17:12:50,038 INFO [STDOUT] at org.jboss.ejb.Container.invoke(Container.java:894)
      :
      at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:106)
      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)
      at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:153)
      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
      at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
      at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
      at org.jboss.ejb.Container.invoke(Container.java:873)
      at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:415)
      at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:88)
      at $Proxy251.purchasePinsByPaypal(Unknown Source)
      at com.insigma.mobmeee.paypal.PaypalMDB.onMessage(Unknown Source)
      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:324)
      at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
      at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:475)
      at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:149)
      at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:101)
      at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
      at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:106)
      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)
      at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:94)
      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
      at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
      at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:389)
      at org.jboss.ejb.Container.invoke(Container.java:873)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:1077)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1379)
      at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:256)
      at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:904)
      at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:160)
      at org.jboss.mq.SpySession.run(SpySession.java:333)
      at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:180)
      at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
      at java.lang.Thread.run(Thread.java:534)
      2007-08-20 17:13:18,520 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackLocalException in method: public ab
      stract boolean com.insigma.mobmeee.billing.PrepaidPinManagerLocal.purchasePinsByPaypal(java.lang.String,java.lang.String,int)
      throws java.lang.Exception, causedBy:
      java.lang.IllegalStateException: createBeanClassInstanceCommand == null
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.createBeanClassInstance(JDBCStoreManager.java:560)


      ectionInterceptor.java:149)
      2007-08-20 17:13:21,697 INFO [STDOUT] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionI
      nstanceInterceptor.java:154)
      2007-08-20 17:13:21,697 INFO [STDOUT] at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInter
      ceptor.java:54)
      2007-08-20 17:13:21,697 INFO [STDOUT] at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.j
      ava:48)
      2007-08-20 17:13:21,697 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:
      106)
      2007-08-20 17:13:21,698 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:3
      35)
      2007-08-20 17:13:21,698 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)
      2007-08-20 17:13:21,698 INFO [STDOUT] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:153)
      2007-08-20 17:13:21,698 INFO [STDOUT] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
      2007-08-20 17:13:21,698 INFO [STDOUT] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInter
      ceptor.java:122)
      2007-08-20 17:13:21,698 INFO [STDOUT] at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
      2007-08-20 17:13:21,698 INFO [STDOUT] at org.jboss.ejb.Container.invoke(Container.java:873)
      2007-08-20 17:13:21,698 INFO [STDOUT] at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.jav
      a:415)
      2007-08-20 17:13:21,698 INFO [STDOUT] at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.jav
      a:88)
      2007-08-20 17:13:21,698 INFO [STDOUT] at $Proxy251.purchasePinsByPaypal(Unknown Source)
      2007-08-20 17:13:21,699 INFO [STDOUT] at com.insigma.mobmeee.paypal.PaypalMDB.onMessage(Unknown Source)
      2007-08-20 17:13:21,699 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2007-08-20 17:13:21,699 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      2007-08-20 17:13:21,699 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
      25)
      2007-08-20 17:13:21,699 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
      2007-08-20 17:13:21,699 INFO [STDOUT] at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
      2007-08-20 17:13:21,699 INFO [STDOUT] at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenCont
      ainer.java:475)
      2007-08-20 17:13:21,699 INFO [STDOUT] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConn
      ectionInterceptor.java:149)
      2007-08-20 17:13:21,699 INFO [STDOUT] at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanc
      eInterceptor.java:101)
      2007-08-20 17:13:21,699 INFO [STDOUT] at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.j
      ava:48)
      2007-08-20 17:13:21,699 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:
      106)
      2007-08-20 17:13:21,700 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:3
      35)
      :