Announcement Announcement Module
Collapse
No announcement yet.
spring ContextLoader failsl on Jboss 5.1 on IBM AIX 5.1 OS Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • spring ContextLoader failsl on Jboss 5.1 on IBM AIX 5.1 OS

    I try to deploy my WAR application in JBoss 5.1.0 (on an IBM AIX 5.1 64 bit)

    first :context start and i have this line
    2009-09-22 11:40:40,213 INFO [org.springframework.web.context.ContextLoader] (main) Root WebApplicationContext: initialization started


    next : starting the application hangs and I have the following line. And then nothing: 2009-09-22 11:40:41,224 INFO [org.springframework.web.context.ContextLoader] (main) Root WebApplicationContext: initialization completed in 1011 ms

    who ca help me.

  • #2
    Enable debug logging and provide more data... With this we cannot help you...

    Comment


    • #3
      logs - spring ContextLoader failsl on Jboss 5.1 on IBM AIX

      I EDIT THIS FILE
      $JBOSS_HOME/server/default/deployers/jbossweb.deployer/META-INF/war-deployers-jboss-beans.xml

      AND COMMENTS TO THESE LIGNES

      <bean name="WarClassLoaderDeployer" class="org.jboss.web.tomcat.service.deployers.WarC lassLoaderDeployer">
      <property name="relativeOrder">-1</property>
      <property name="filteredPackages">javax.servlet,org.apache.c ommons.logging</property>
      </bean>

      NOW SPRING ContextLoader START PROPERLY. ON JBOSS ADMINISTRATION CONSOLE, I SHOW MY APPLICATION
      IS START(UP). BUT WHEN I TRY TO ACCES TO MY APPLICATION A GET : 21:08:22,244 ERROR [SeamPhaseListener] swallowing exception java.lang.NullPointerException at org.jboss.seam.Component.getInstance(Component.jav a:1964)


      18:47:08,369 INFO [FilterChainProxyPostProcessor] Filter chain...
      18:47:08,370 INFO [FilterChainProxyPostProcessor] [0] - org.springframework.security.context.HttpSessionCo ntextIntegrationFilter[ order=200; ]
      18:47:08,370 INFO [FilterChainProxyPostProcessor] [1] - org.springframework.security.ui.logout.LogoutFilte r[ order=300; ]
      18:47:08,370 INFO [FilterChainProxyPostProcessor] [2] - org.springframework.security.ui.webapp.Authenticat ionProcessingFilter[ order=700; ]
      18:47:08,370 INFO [FilterChainProxyPostProcessor] [3] - org.springframework.security.ui.basicauth.BasicPro cessingFilter[ order=1000; ]
      18:47:08,370 INFO [FilterChainProxyPostProcessor] [4] - org.springframework.security.wrapper.SecurityConte xtHolderAwareRequestFilter[ order=1100; ]
      18:47:08,370 INFO [FilterChainProxyPostProcessor] [5] - org.springframework.security.ui.rememberme.Remembe rMeProcessingFilter[ order=1200; ]
      18:47:08,370 INFO [FilterChainProxyPostProcessor] [6] - org.springframework.security.providers.anonymous.A nonymousProcessingFilter[ order=1300; ]
      18:47:08,371 INFO [FilterChainProxyPostProcessor] [7] - org.springframework.security.ui.ExceptionTranslati onFilter[ order=1400; ]
      18:47:08,371 INFO [FilterChainProxyPostProcessor] [8] - org.springframework.security.ui.SessionFixationPro tectionFilter[ order=1600; ]
      18:47:08,371 INFO [FilterChainProxyPostProcessor] [9] - org.springframework.security.intercept.web.FilterS ecurityInterceptor@571b571b
      18:47:08,378 INFO [FilterChainProxyPostProcessor] Checking whether login URL '/faces/login.jsp' is accessible with your configuration
      18:47:08,378 INFO [FilterChainProxyPostProcessor] FilterChainProxy: FilterChainProxy[ UrlMatcher = org.springframework.security.util.AntUrlPathMatche r[requiresLowerCase='true']; Filter Chains: {/face
      s/login.jsp*=[], /**=[org.springframework.security.context.HttpSessionCo ntextIntegrationFilter[ order=200; ], org.springframework.security.ui.logout.LogoutFilte r[ order=300; ], org.springframework.sec
      urity.ui.webapp.AuthenticationProcessingFilter[ order=700; ], org.springframework.security.ui.basicauth.BasicPro cessingFilter[ order=1000; ], org.springframework.security.wrapper.SecurityConte xtHolder
      AwareRequestFilter[ order=1100; ], org.springframework.security.ui.rememberme.Remembe rMeProcessingFilter[ order=1200; ], org.springframework.security.providers.anonymous.A nonymousProcessingFilter[ ord
      er=1300; ], org.springframework.security.ui.ExceptionTranslati onFilter[ order=1400; ], org.springframework.security.ui.SessionFixationPro tectionFilter[ order=1600; ], org.springframework.security.inte
      rcept.web.FilterSecurityInterceptor@571b571b]}]
      18:47:08,403 INFO [ContextLoader] Root WebApplicationContext: initialization completed in 5623 ms
      18:47:08,855 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console
      18:47:09,110 INFO [Http11Protocol] D´┐Żmarrage de Coyote HTTP/1.1 sur http-0.0.0.0-8080
      18:47:09,200 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009
      18:47:09,211 INFO [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)] Started in 2m:41s:374ms



      21:08:22,244 ERROR [SeamPhaseListener] swallowing exception
      java.lang.NullPointerException
      at org.jboss.seam.Component.getInstance(Component.jav a:1964)
      at org.jboss.seam.Component.getInstance(Component.jav a:1957)
      at org.jboss.seam.Component.getInstance(Component.jav a:1951)
      at org.jboss.seam.Component.getInstance(Component.jav a:1924)
      at org.jboss.seam.web.Session.getInstance(Session.jav a:122)
      at org.jboss.seam.contexts.FacesLifecycle.beginReques t(FacesLifecycle.java:57)
      at org.jboss.seam.jsf.SeamPhaseListener.beforeRestore View(SeamPhaseListener.java:379)
      at org.jboss.seam.jsf.SeamPhaseListener.beforeServlet Phase(SeamPhaseListener.java:138)
      at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(S eamPhaseListener.java:116)
      at com.sun.faces.lifecycle.Phase.handleBeforePhase(Ph ase.java:214)
      at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:9 6)
      at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(R estoreViewPhase.java:103)
      at com.sun.faces.lifecycle.LifecycleImpl.execute(Life cycleImpl.java:118)
      at javax.faces.webapp.FacesServlet.service(FacesServl et.java:265)
      at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
      at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(Base XMLFilter.java:178)
      at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseF ilter.java:290)
      at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHa ndleRequest(BaseFilter.java:390)
      at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter .java:517)
      at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
      at org.springframework.security.util.FilterChainProxy $VirtualFilterChain.doFilter(FilterChainProxy.java :378)
      at org.springframework.security.intercept.web.FilterS ecurityInterceptor.invoke(FilterSecurityIntercepto r.java:109)
      at org.springframework.security.intercept.web.FilterS ecurityInterceptor.doFilter(FilterSecurityIntercep tor.java:83)
      at org.springframework.security.util.FilterChainProxy $VirtualFilterChain.doFilter(FilterChainProxy.java :390)
      at org.springframework.security.ui.SessionFixationPro tectionFilter.doFilterHttp(SessionFixationProtecti onFilter.java:52)
      at org.springframework.security.ui.SpringSecurityFilt er.doFilter(SpringSecurityFilter.java:53)
      at org.springframework.security.util.FilterChainProxy $VirtualFilterChain.doFilter(FilterChainProxy.java :390)
      at org.springframework.security.ui.ExceptionTranslati onFilter.doFilterHttp(ExceptionTranslationFilter.j ava:101)
      at org.springframework.security.ui.SpringSecurityFilt er.doFilter(SpringSecurityFilter.java:53)
      at org.springframework.security.util.FilterChainProxy $VirtualFilterChain.doFilter(FilterChainProxy.java :390)
      at org.springframework.security.providers.anonymous.A nonymousProcessingFilter.doFilterHttp(AnonymousPro cessingFilter.java:105)
      at org.springframework.security.ui.SpringSecurityFilt er.doFilter(SpringSecurityFilter.java:53)
      at org.springframework.security.util.FilterChainProxy $VirtualFilterChain.doFilter(FilterChainProxy.java :390)
      at org.springframework.security.ui.rememberme.Remembe rMeProcessingFilter.doFilterHttp(RememberMeProcess ingFilter.java:109)
      at org.springframework.security.ui.SpringSecurityFilt er.doFilter(SpringSecurityFilter.java:53)
      at org.springframework.security.util.FilterChainProxy $VirtualFilterChain.doFilter(FilterChainProxy.java :390)
      at org.springframework.security.wrapper.SecurityConte xtHolderAwareRequestFilter.doFilterHttp(SecurityCo ntextHolderAwareRequestFilter.java:91)
      at org.springframework.security.ui.SpringSecurityFilt er.doFilter(SpringSecurityFilter.java:53)
      at org.springframework.security.util.FilterChainProxy $VirtualFilterChain.doFilter(FilterChainProxy.java :390)
      at org.springframework.security.ui.basicauth.BasicPro cessingFilter.doFilterHttp(BasicProcessingFilter.j ava:174)
      at org.springframework.security.ui.SpringSecurityFilt er.doFilter(SpringSecurityFilter.java:53)
      at org.springframework.security.util.FilterChainProxy $VirtualFilterChain.doFilter(FilterChainProxy.java :390)
      at org.springframework.security.ui.AbstractProcessing Filter.doFilterHttp(AbstractProcessingFilter.java: 277)
      at org.springframework.security.ui.SpringSecurityFilt er.doFilter(SpringSecurityFilter.java:53)
      at org.springframework.security.util.FilterChainProxy $VirtualFilterChain.doFilter(FilterChainProxy.java :390)
      at org.springframework.security.ui.logout.LogoutFilte r.doFilterHttp(LogoutFilter.java:89)
      at org.springframework.security.ui.SpringSecurityFilt er.doFilter(SpringSecurityFilter.java:53)

      Comment

      Working...
      X