0 Replies Latest reply on Jan 1, 2013 3:52 AM by Gaurav Gupta

    when i deploy my application on Jboss 7.1.1 final facing following issues

    Gaurav Gupta Newbie

      server.log:

       

      14:07:08,768 INFO  [org.jboss.seam.Component] (MSC service thread 1-2) Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init

      14:07:08,865 INFO  [org.jboss.seam.init.Initialization] (MSC service thread 1-2) Installing components...

      14:07:08,875 INFO  [org.jboss.seam.init.Initialization] (MSC service thread 1-2) done initializing Seam

      14:07:53,801 INFO  [no.messageman.protectoria.core.contextlistener.InitializeGlobalContext] (MSC service thread 1-2) Charset Cp1252 will be used for sending notification mails.

      14:07:58,960 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-2) Initializing Mojarra (1.2_15.jbossorg-1-20111019-SNAPSHOT) for context '/protectoria'

      14:08:03,596 SEVERE [javax.enterprise.resource.webcontainer.jsf.application] (MSC service thread 1-2) JSF1051: Service entry 'org.jboss.as.web.deployment.jsf.JsfInjectionProvider' does not extend DiscoverableInjectionProvider.  Entry will be ignored.

      14:08:03,604 INFO  [javax.enterprise.resource.webcontainer.jsf.application] (MSC service thread 1-2) JSF1048: PostConstruct/PreDestroy annotations present.  ManagedBeans methods marked with these annotations will have said annotations processed.

      14:08:08,733 INFO  [org.ajax4jsf.cache.CacheManager] (MSC service thread 1-2) Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory

      14:08:08,742 INFO  [org.ajax4jsf.cache.LRUMapCacheFactory] (MSC service thread 1-2) Creating LRUMap cache instance using parameters: {org.jboss.jbossfaces.JSF_CONFIG_NAME=Mojarra-1.2, facelets.DEVELOPMENT=false, javax.faces.CONFIG_FILES=/WEB-INF/navigation.xml, org.richfaces.SKIN=blueSky, javax.faces.STATE_SAVING_METHOD=client, javax.faces.DEFAULT_SUFFIX=.jsp}

      14:08:08,751 INFO  [org.ajax4jsf.cache.LRUMapCacheFactory] (MSC service thread 1-2) Creating LRUMap cache instance of default capacity

      14:08:08,814 INFO  [org.ajax4jsf.cache.CacheManager] (MSC service thread 1-2) Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory

      14:08:08,818 INFO  [org.ajax4jsf.cache.LRUMapCacheFactory] (MSC service thread 1-2) Creating LRUMap cache instance using parameters: {org.jboss.jbossfaces.JSF_CONFIG_NAME=Mojarra-1.2, facelets.DEVELOPMENT=false, javax.faces.CONFIG_FILES=/WEB-INF/navigation.xml, org.richfaces.SKIN=blueSky, javax.faces.STATE_SAVING_METHOD=client, javax.faces.DEFAULT_SUFFIX=.jsp}

      14:08:08,827 INFO  [org.ajax4jsf.cache.LRUMapCacheFactory] (MSC service thread 1-2) Creating LRUMap cache instance of default capacity

      14:08:08,838 FATAL [no.messageman.protectoria.init.ProtectoriaInitServlet] (MSC service thread 1-2) Problems while lookup for LookupHandler. Directory Listener not started. No message will be delivered.: javax.naming.NameNotFoundException: protectoria/LookupHandler/local -- service jboss.naming.context.java.global.protectoria.LookupHandler.local

                at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:97)

                at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:178)

                at org.jboss.as.naming.InitialContext.lookup(InitialContext.java:123)

                at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:214)

                at javax.naming.InitialContext.lookup(InitialContext.java:392) [rt.jar:1.6.0_21]

                at no.messageman.protectoria.init.ProtectoriaInitServlet.init(ProtectoriaInitServlet.java:89) [app.jar:]

                at javax.servlet.GenericServlet.init(GenericServlet.java:242) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

                at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1202) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1102) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3655) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardContext.start(StandardContext.java:3873) [jbossweb-7.0.13.Final.jar:]

                at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_21]

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_21]

                at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_21]

       

       

      14:08:08,916 FATAL [no.messageman.protectoria.init.ProtectoriaInitJobsServlet] (MSC service thread 1-2) Problems encountered registering and scheduling MailStoreQuota Timer Job [no.messageman.protectoria.core.jobs.MailStoreQuotaAwareJob]: no.messageman.protectoria.core.exception.TimerException: Timer not started yet. Something gone wrong. Please check.

                at no.messageman.protectoria.core.timer.TimerHandler.assertSchedulerStarted(TimerHandler.java:184) [app.jar:]

                at no.messageman.protectoria.core.timer.TimerHandler.isJobRegistered(TimerHandler.java:307) [app.jar:]

                at no.messageman.protectoria.init.ProtectoriaInitJobsServlet.registerJobInQuartz(ProtectoriaInitJobsServlet.java:232) [app.jar:]

                at no.messageman.protectoria.init.ProtectoriaInitJobsServlet.initMailStoreQuotaAwareJob(ProtectoriaInitJobsServlet.java:126) [app.jar:]

                at no.messageman.protectoria.init.ProtectoriaInitJobsServlet.init(ProtectoriaInitJobsServlet.java:75) [app.jar:]

                at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1202) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1102) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3655) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardContext.start(StandardContext.java:3873) [jbossweb-7.0.13.Final.jar:]

                at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_21]

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_21]

                at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_21]

       

       

      14:08:08,972 FATAL [no.messageman.protectoria.init.ProtectoriaInitJobsServlet] (MSC service thread 1-2) Problems encountered registering and scheduling CRMFailedOperations Timer Job [no.messageman.protectoria.core.timer.jobs.SFFailedOperationsJob]: no.messageman.protectoria.core.exception.TimerException: Timer not started yet. Something gone wrong. Please check.

                at no.messageman.protectoria.core.timer.TimerHandler.assertSchedulerStarted(TimerHandler.java:184) [app.jar:]

                at no.messageman.protectoria.core.timer.TimerHandler.isJobRegistered(TimerHandler.java:307) [app.jar:]

                at no.messageman.protectoria.init.ProtectoriaInitJobsServlet.registerJobInQuartz(ProtectoriaInitJobsServlet.java:232) [app.jar:]

                at no.messageman.protectoria.init.ProtectoriaInitJobsServlet.initCRMFailedOperationsJob(ProtectoriaInitJobsServlet.java:136) [app.jar:]

                at no.messageman.protectoria.init.ProtectoriaInitJobsServlet.init(ProtectoriaInitJobsServlet.java:81) [app.jar:]

                at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1202) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1102) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3655) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardContext.start(StandardContext.java:3873) [jbossweb-7.0.13.Final.jar:]

                at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_21]

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_21]

                at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_21]

       

       

      14:08:09,026 FATAL [no.messageman.protectoria.init.ProtectoriaInitJobsServlet] (MSC service thread 1-2) Problems encountered registering and scheduling DeletePurgedMessages Timer Job [no.messageman.protectoria.core.jobs.DeletePurgedMessagesJob]: no.messageman.protectoria.core.exception.TimerException: Timer not started yet. Something gone wrong. Please check.

                at no.messageman.protectoria.core.timer.TimerHandler.assertSchedulerStarted(TimerHandler.java:184) [app.jar:]

                at no.messageman.protectoria.core.timer.TimerHandler.isJobRegistered(TimerHandler.java:307) [app.jar:]

                at no.messageman.protectoria.init.ProtectoriaInitJobsServlet.registerJobInQuartz(ProtectoriaInitJobsServlet.java:232) [app.jar:]

                at no.messageman.protectoria.init.ProtectoriaInitJobsServlet.initDeletePurgedMessagesJob(ProtectoriaInitJobsServlet.java:147) [app.jar:]

                at no.messageman.protectoria.init.ProtectoriaInitJobsServlet.init(ProtectoriaInitJobsServlet.java:84) [app.jar:]

                at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1202) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1102) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3655) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardContext.start(StandardContext.java:3873) [jbossweb-7.0.13.Final.jar:]

                at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_21]

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_21]

                at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_21]

       

       

      14:08:09,079 FATAL [no.messageman.protectoria.init.ProtectoriaInitJobsServlet] (MSC service thread 1-2) Problems encountered registering and scheduling AccountBalanceReminer Timer Job [no.messageman.protectoria.core.jobs.AccountBalanceReminderjob]: no.messageman.protectoria.core.exception.TimerException: Timer not started yet. Something gone wrong. Please check.

                at no.messageman.protectoria.core.timer.TimerHandler.assertSchedulerStarted(TimerHandler.java:184) [app.jar:]

                at no.messageman.protectoria.core.timer.TimerHandler.isJobRegistered(TimerHandler.java:307) [app.jar:]

                at no.messageman.protectoria.init.ProtectoriaInitJobsServlet.registerJobInQuartz(ProtectoriaInitJobsServlet.java:232) [app.jar:]

                at no.messageman.protectoria.init.ProtectoriaInitJobsServlet.initAccountBalanceReminderJob(ProtectoriaInitJobsServlet.java:162) [app.jar:]

                at no.messageman.protectoria.init.ProtectoriaInitJobsServlet.init(ProtectoriaInitJobsServlet.java:87) [app.jar:]

                at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1202) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1102) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3655) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardContext.start(StandardContext.java:3873) [jbossweb-7.0.13.Final.jar:]

                at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_21]

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_21]

                at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_21]

       

       

      14:08:09,143 FATAL [no.messageman.protectoria.init.ProtectoriaInitJobsServlet] (MSC service thread 1-2) Problems encountered registering and scheduling AssertDirectoryPollerAlive Timer Job [no.messageman.protectoria.core.timer.jobs.AssertDirectoryPollerAliveJob]: no.messageman.protectoria.core.exception.TimerException: Timer not started yet. Something gone wrong. Please check.

                at no.messageman.protectoria.core.timer.TimerHandler.assertSchedulerStarted(TimerHandler.java:184) [app.jar:]

                at no.messageman.protectoria.core.timer.TimerHandler.isJobRegistered(TimerHandler.java:307) [app.jar:]

                at no.messageman.protectoria.init.ProtectoriaInitJobsServlet.registerJobInQuartz(ProtectoriaInitJobsServlet.java:232) [app.jar:]

                at no.messageman.protectoria.init.ProtectoriaInitJobsServlet.initAssertDirectoryPollerAliveJob(ProtectoriaInitJobsServlet.java:173) [app.jar:]

                at no.messageman.protectoria.init.ProtectoriaInitJobsServlet.init(ProtectoriaInitJobsServlet.java:93) [app.jar:]

                at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1202) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1102) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3655) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardContext.start(StandardContext.java:3873) [jbossweb-7.0.13.Final.jar:]

                at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_21]

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_21]

                at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_21]

       

       

      14:08:09,215 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/protectoria]] (MSC service thread 1-2) StandardWrapper.Throwable: java.lang.ClassCastException: no.messageman.protectoria.core.utility.ILookup$$$view61 cannot be cast to no.messageman.protectoria.core.utility.ILookup

                at no.messageman.protectoria.core.finder.ProtectoriaLookup.getGlobalLookupHandler(ProtectoriaLookup.java:304) [app.jar:]

                at no.messageman.protectoria.core.utility.GlobalLookupValues.getTimeIntervalToPingSMSGateway(GlobalLookupValues.java:168) [app.jar:]

                at no.messageman.protectoria.init.ProtectoriaInitJobsServlet.initSMSGatewayPingJob(ProtectoriaInitJobsServlet.java:208) [app.jar:]

                at no.messageman.protectoria.init.ProtectoriaInitJobsServlet.init(ProtectoriaInitJobsServlet.java:100) [app.jar:]

                at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1202) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1102) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3655) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardContext.start(StandardContext.java:3873) [jbossweb-7.0.13.Final.jar:]

                at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_21]

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_21]

                at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_21]

       

       

      14:08:09,265 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/protectoria]] (MSC service thread 1-2) Servlet /protectoria threw load() exception: java.lang.ClassCastException: no.messageman.protectoria.core.utility.ILookup$$$view61 cannot be cast to no.messageman.protectoria.core.utility.ILookup

                at no.messageman.protectoria.core.finder.ProtectoriaLookup.getGlobalLookupHandler(ProtectoriaLookup.java:304) [app.jar:]

                at no.messageman.protectoria.core.utility.GlobalLookupValues.getTimeIntervalToPingSMSGateway(GlobalLookupValues.java:168) [app.jar:]

                at no.messageman.protectoria.init.ProtectoriaInitJobsServlet.initSMSGatewayPingJob(ProtectoriaInitJobsServlet.java:208) [app.jar:]

                at no.messageman.protectoria.init.ProtectoriaInitJobsServlet.init(ProtectoriaInitJobsServlet.java:100) [app.jar:]

                at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1202) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1102) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3655) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardContext.start(StandardContext.java:3873) [jbossweb-7.0.13.Final.jar:]

                at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_21]

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_21]

                at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_21]

       

       

      14:08:09,358 INFO  [org.jboss.web] (MSC service thread 1-2) JBAS018210: Registering web context: /protectoria

      14:08:09,368 INFO  [org.jboss.as] (MSC service thread 1-2) JBAS015951: Admin console listening on http://127.0.0.1:9990

      14:08:09,372 INFO  [org.jboss.as] (MSC service thread 1-2) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 135752ms - Started 1908 of 1993 services (84 services are passive or on-demand)

      14:08:09,858 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "protectoria.ear"

       

      Any idea how i can remove this errors.

       

      Thanks in advance...:)