1 2 Previous Next 23 Replies Latest reply on Sep 3, 2008 1:28 PM by Pete Muir

    No application context active. ERROR

    Mikail Ahundov Newbie

      Hello. I use Jboss Server 4.2.2.GA, Seam 2.0.2, MySQL5.0.51a
      Created new Eclipse project and added there code and files from Seam example seamspace (blogging example). Deploy. And when I'm trying to open http://localhost:8080/seam-space - getting this error in console
      Database is working, all tables and data is right.
      What this error mean? How to fix?


      There is in console log this string





      at org.mikail.koltso7.ProfileAction.newMembers(ProfileAction.java:101)



      The code in seamspace in this place is:





      @Factory("newMembers")
         public void newMembers()
         {
            newMembers = entityManager.createQuery(
                  "from Member order by memberSince desc")
                  .setMaxResults(10)
                  .getResultList();



      line where error is - .getResultList();


      Thank you!


      "INFO: Added Library from: jar:file:/opt/jboss-4.2.2.GA/server/default/deploy/koltso7.ear/koltso7.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/richfaces.taglib.xml
      05:53:50,834 ERROR [STDERR] 28.08.2008 5:53:50 com.sun.facelets.FaceletViewHandler handleRenderException
      SEVERE: Error Rendering View[/home.xhtml]
      javax.ejb.EJBTransactionRolledbackException: No application context active
              at org.jboss.ejb3.tx.Ejb3TxPolicy.handleInCallerTx(Ejb3TxPolicy.java:87)
              at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:130)
              at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
              at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95)
              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
              at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:83)
              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
              at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
              at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110)
              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
              at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
              at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
              at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:206)
              at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:119)
              at $Proxy364.newMembers(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:597)
              at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
              at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
              at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:76)
              at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
              at org.jboss.seam.ejb.RemoveInterceptor.aroundInvoke(RemoveInterceptor.java:41)
              at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
              at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
              at org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:54)
              at org.javassist.tmp.java.lang.Object_$$_javassist_1.newMembers(Object_$$_javassist_1.java)
              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:597)
              at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
              at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:125)
              at org.jboss.seam.Component.callComponentMethod(Component.java:2092)
              at org.jboss.seam.Component.getInstanceFromFactory(Component.java:1929)
              at org.jboss.seam.Component.getInstance(Component.java:1866)
              at org.jboss.seam.Component.getInstance(Component.java:1843)
              at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55)
              at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50)
              at org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:166)
              at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:53)
              at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
              at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
              at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44)
              at org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
              at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
              at javax.faces.component.ValueBindingValueExpressionAdapter.getValue(ValueBindingValueExpressionAdapter.java:102)
              at com.sun.facelets.component.UIRepeat.getValue(UIRepeat.java:143)
              at com.sun.facelets.component.UIRepeat.getDataModel(UIRepeat.java:121)
              at com.sun.facelets.component.UIRepeat.setIndex(UIRepeat.java:305)
              at com.sun.facelets.component.UIRepeat.process(UIRepeat.java:333)
              at com.sun.facelets.component.UIRepeat.encodeChildren(UIRepeat.java:617)
              at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)
              at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
              at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592)
              at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
              at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216)
              at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
              at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
              at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
              at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
              at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
              at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
              at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)
              at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
              at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
              at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
              at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
              at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
              at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
              at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
              at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
              at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
              at java.lang.Thread.run(Thread.java:619)
      Caused by: ja
      05:53:50,835 ERROR [STDERR] va.lang.IllegalStateException: No application context active
              at org.jboss.seam.Component.forName(Component.java:1810)
              at org.jboss.seam.Component.getInstance(Component.java:1860)
              at org.jboss.seam.Component.getInstance(Component.java:1855)
              at org.jboss.seam.Component.getInstance(Component.java:1832)
              at org.jboss.seam.Component.getInstance(Component.java:1827)
              at org.jboss.seam.security.EntityPermissionChecker.instance(EntityPermissionChecker.java:35)
              at org.jboss.seam.security.EntitySecurityListener.postLoad(EntitySecurityListener.java:24)
              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:597)
              at org.hibernate.ejb.event.ListenerCallback.invoke(ListenerCallback.java:31)
              at org.hibernate.ejb.event.EntityCallbackHandler.callback(EntityCallbackHandler.java:78)
              at org.hibernate.ejb.event.EntityCallbackHandler.postLoad(EntityCallbackHandler.java:71)
              at org.hibernate.ejb.event.EJB3PostLoadEventListener.onPostLoad(EJB3PostLoadEventListener.java:35)
              at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:201)
              at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:854)
              at org.hibernate.loader.Loader.doQuery(Loader.java:729)
              at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
              at org.hibernate.loader.Loader.doList(Loader.java:2220)
              at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
              at org.hibernate.loader.Loader.list(Loader.java:2099)
              at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378)
              at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
              at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
              at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
              at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
              at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:64)
              at org.mikail.koltso7.ProfileAction.newMembers(ProfileAction.java:101)
              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:597)
              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
              at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
              at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:44)
              at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
              at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)
              at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
              at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:46)
              at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
              at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)
              at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
              at org.jboss.seam.persistence.EntityManagerProxyInterceptor.aroundInvoke(EntityManagerProxyInterceptor.java:26)
              at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
              at org.jboss.seam.persistence.HibernateSessionProxyInterceptor.aroundInvoke(HibernateSessionProxyInterceptor.java:27)
              at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
              at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
              at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:50)
              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:597)
              at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
              at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
              at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57)
              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
              at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
              at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
              at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
              ... 98 more
      05:53:50,877 WARN  [JDBCExceptionReporter] SQL Error: 0, SQLState: null
      05:53:50,877 ERROR [JDBCExceptionReporter] Transaction is not active: tx=TransactionImple < ac, BasicAction: 7f000001:a85e:48b5fd8b:82 status: ActionStatus.ABORT_ONLY >; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: 7f000001:a85e:48b5fd8b:82 status: ActionStatus.ABORT_ONLY >)"
      



        • 1. Re: No application context active. ERROR
          Samuel Mendenhall Apprentice

          There is a JIRA open against JBoss Tools that deals with project naming and the exception: java.lang.IllegalStateException: No application context active so you might be encountering that.  I'd say to make sure there are not any spaces in the path to your project/workspace.  Take out the - and if starting with a lowercase, try uppercase/vice versa with the project name.

          • 2. Re: No application context active. ERROR
            blabno Master

            Show your archive structure (especially location of each library).

            • 3. Re: No application context active. ERROR
              Mikail Ahundov Newbie

              This is content of /opt/jboss-4.2.2.GA/server/default/deploy/koltso7.ear



              .:
               860
              -rw-rw-r-- 1 mike mike 856864  28 05:53 jboss-seam.jar
              drwxrwxr-x 4 mike mike   4096  28 05:53 koltso7.jar
              drwxrwxr-x 5 mike mike   4096  28 05:53 koltso7.war
              drwxrwxr-x 2 mike mike   4096  28 05:53 lib
              drwxrwxr-x 2 mike mike   4096  28 05:53 META-INF
              -rw-rw-r-- 1 mike mike      0  29 18:48 x
              
              ./koltso7.jar:
               108
              -rw-rw-r-- 1 mike mike 88866  28 05:53 import.sql
              drwxrwxr-x 2 mike mike  4096  28 05:53 META-INF
              drwxrwxr-x 3 mike mike  4096  28 05:53 org
              -rw-rw-r-- 1 mike mike     0  28 05:53 seam.properties
              -rw-rw-r-- 1 mike mike   139  28 05:53 security.drl
              -rw-rw-r-- 1 mike mike  2084  28 05:53 security-rules.drl
              
              ./koltso7.jar/META-INF:
               12
              -rw-rw-r-- 1 mike mike  705  28 05:53 ejb-jar.xml
              -rw-rw-r-- 1 mike mike 1042  28 05:53 persistence.xml
              -rw-rw-r-- 1 mike mike 2084  28 05:53 security-rules.drl
              
              ./koltso7.jar/org:
               4
              drwxrwxr-x 3 mike mike 4096  28 05:53 mikail
              
              ./koltso7.jar/org/mikail:
               4
              drwxrwxr-x 2 mike mike 4096  28 05:53 koltso7
              
              ./koltso7.jar/org/mikail/koltso7:
               92
              -rw-rw-r-- 1 mike mike 2568  28 05:53 Authenticator.class
              -rw-rw-r-- 1 mike mike 3790  28 05:53 BlogAction.class
              -rw-rw-r-- 1 mike mike 2576  28 05:53 BlogComment.class
              -rw-rw-r-- 1 mike mike 1289  28 05:53 ContentAction.class
              -rw-rw-r-- 1 mike mike  241  28 05:53 ContentLocal.class
              -rw-rw-r-- 1 mike mike 4411  28 05:53 ContentServlet.class
              -rw-rw-r-- 1 mike mike 3661  28 05:53 FriendAction.class
              -rw-rw-r-- 1 mike mike 2380  28 05:53 FriendComment.class
              -rw-rw-r-- 1 mike mike  298  28 05:53 FriendLocal.class
              -rw-rw-r-- 1 mike mike 1785  28 05:53 Hash.class
              -rw-rw-r-- 1 mike mike 1128  28 05:53 MemberBlog$1.class
              -rw-rw-r-- 1 mike mike 3532  28 05:53 MemberBlog.class
              -rw-rw-r-- 1 mike mike 6954  28 05:53 Member.class
              -rw-rw-r-- 1 mike mike 2146  28 05:53 MemberFriend.class
              -rw-rw-r-- 1 mike mike 1512  28 05:53 Member$Gender.class
              -rw-rw-r-- 1 mike mike 1763  28 05:53 MemberImage.class
              -rw-rw-r-- 1 mike mike 1066  28 05:53 MemberRole.class
              -rw-rw-r-- 1 mike mike 3638  28 05:53 ProfileAction.class
              -rw-rw-r-- 1 mike mike  367  28 05:53 ProfileLocal.class
              -rw-rw-r-- 1 mike mike 4705  28 05:53 RegisterAction.class
              
              ./koltso7.war:
               84
              -rw-rw-r-- 1 mike mike 3264  28 05:53 blogentry.xhtml
              -rw-rw-r-- 1 mike mike 2394  28 05:53 blog.xhtml
              -rw-rw-r-- 1 mike mike 2597  28 05:53 comment.xhtml
              -rw-rw-r-- 1 mike mike 2803  28 05:53 createBlog.xhtml
              -rw-rw-r-- 1 mike mike 2675  28 05:53 friendcomment.xhtml
              -rw-rw-r-- 1 mike mike 1894  28 05:53 friendrequest.xhtml
              -rw-rw-r-- 1 mike mike 3169  28 05:53 home.xhtml
              drwxrwxr-x 2 mike mike 4096  28 05:53 images
              -rw-rw-r-- 1 mike mike   86  28 05:53 index.html
              -rw-rw-r-- 1 mike mike 4636  28 05:53 profile.xhtml
              -rw-rw-r-- 1 mike mike 1499  28 05:53 register2.xhtml
              -rw-rw-r-- 1 mike mike 5003  28 05:53 register.xhtml
              -rw-rw-r-- 1 mike mike  592  28 05:53 security_error.xhtml
              drwxrwxr-x 2 mike mike 4096  28 05:53 style
              -rw-rw-r-- 1 mike mike 2048  28 05:53 template.xhtml
              -rw-rw-r-- 1 mike mike 2754  28 05:53 userdetail.xhtml
              -rw-rw-r-- 1 mike mike 2609  28 05:53 usermanager.xhtml
              drwxrwxr-x 4 mike mike 4096  28 05:53 WEB-INF
              -rw-rw-r-- 1 mike mike  414  28 05:53 welcome.xhtml
              
              ./koltso7.war/images:
               24
              -rw-rw-r-- 1 mike mike  495  28 05:53 bg_button.png
              -rw-rw-r-- 1 mike mike 2405  28 05:53 btn_newuser.png
              -rw-rw-r-- 1 mike mike 1068  28 05:53 checkmark.png
              -rw-rw-r-- 1 mike mike  207  28 05:53 cross.png
              -rw-rw-r-- 1 mike mike  204  28 05:53 ellipsis.png
              -rw-rw-r-- 1 mike mike 2253  28 05:53 no_image.png
              
              ./koltso7.war/style:
               40
              -rw-rw-r-- 1 mike mike 5002  28 05:53 advertising.png
              -rw-rw-r-- 1 mike mike  202  28 05:53 cal-next.png
              -rw-rw-r-- 1 mike mike  204  28 05:53 cal-prev.png
              -rw-rw-r-- 1 mike mike 3227  28 05:53 date.css
              -rw-rw-r-- 1 mike mike  158  28 05:53 divider.png
              -rw-rw-r-- 1 mike mike 8870  28 05:53 seamspace.css
              -rw-rw-r-- 1 mike mike 3058  28 05:53 seamspace.png
              
              ./koltso7.war/WEB-INF:
               28
              drwxrwxr-x 2 mike mike 4096  28 05:53 classes
              -rw-rw-r-- 1 mike mike 2555  28 05:53 components.xml
              -rw-rw-r-- 1 mike mike  447  28 05:53 faces-config.xml
              drwxrwxr-x 2 mike mike 4096  28 05:53 lib
              -rw-rw-r-- 1 mike mike 4717  28 05:53 pages.xml
              -rw-rw-r-- 1 mike mike 2292  28 05:53 web.xml
              
              ./koltso7.war/WEB-INF/classes:
               64
              -rw-rw-r-- 1 mike mike 20657  28 05:53 messages_bg.properties
              -rw-rw-r-- 1 mike mike  7869  28 05:53 messages_de.properties
              -rw-rw-r-- 1 mike mike  6208  28 05:53 messages_en.properties
              -rw-rw-r-- 1 mike mike  8775  28 05:53 messages_fr.properties
              -rw-rw-r-- 1 mike mike    73  28 05:53 messages.properties
              -rw-rw-r-- 1 mike mike  8090  28 05:53 messages_tr.properties
              
              ./koltso7.war/WEB-INF/lib:
               4188
              -rw-rw-r-- 1 mike mike  188671  28 05:53 commons-beanutils.jar
              -rw-rw-r-- 1 mike mike  143602  28 05:53 commons-digester.jar
              -rw-rw-r-- 1 mike mike   14274  28 05:53 jboss-seam-debug.jar
              -rw-rw-r-- 1 mike mike   47565  28 05:53 jboss-seam-ioc.jar
              -rw-rw-r-- 1 mike mike   26131  28 05:53 jboss-seam-mail.jar
              -rw-rw-r-- 1 mike mike   82656  28 05:53 jboss-seam-pdf.jar
              -rw-rw-r-- 1 mike mike  100145  28 05:53 jboss-seam-remoting.jar
              -rw-rw-r-- 1 mike mike  224187  28 05:53 jboss-seam-ui.jar
              -rw-rw-r-- 1 mike mike  300771  28 05:53 jsf-facelets.jar
              -rw-rw-r-- 1 mike mike 1304704  28 05:53 richfaces-impl.jar
              -rw-rw-r-- 1 mike mike 1796003  28 05:53 richfaces-ui.jar
              
              ./lib:
               7868
              -rw-rw-r-- 1 mike mike   92015  28 05:53 antlr-runtime.jar
              -rw-rw-r-- 1 mike mike 4014911  28 05:53 core.jar
              -rw-rw-r-- 1 mike mike  559574  28 05:53 drools-compiler.jar
              -rw-rw-r-- 1 mike mike 1095272  28 05:53 drools-core.jar
              -rw-rw-r-- 1 mike mike  451973  28 05:53 janino.jar
              -rw-rw-r-- 1 mike mike  133493  28 05:53 jboss-el.jar
              -rw-rw-r-- 1 mike mike  668249  28 05:53 jbpm-jpdl.jar
              -rw-rw-r-- 1 mike mike  867446  28 05:53 mvel14.jar
              -rw-rw-r-- 1 mike mike  117592  28 05:53 richfaces-api.jar
              
              ./META-INF:
               12
              -rw-rw-r-- 1 mike mike  662  28 05:53 application.xml
              -rw-rw-r-- 1 mike mike  279  28 05:53 jboss-app.xml
              -rw-rw-r-- 1 mike mike 2084  28 05:53 security-rules.drl


              • 5. Re: No application context active. ERROR
                Mikail Ahundov Newbie

                19:24:16,531 INFO  [TomcatDeployer] undeploy, ctxPath=/koltso7, warUrl=.../deploy/koltso7.ear/koltso7.war/
                19:24:16,802 INFO  [EJBContainer] STOPPED EJB: org.mikail.koltso7.FriendAction ejbName: FriendAction
                19:24:16,803 WARN  [JmxKernelAbstraction] jboss.j2ee:ear=koltso7.ear,jar=koltso7.jar,name=FriendAction,service=EJB3 is not registered
                19:24:16,806 INFO  [EJBContainer] STOPPED EJB: org.mikail.koltso7.ProfileAction ejbName: ProfileAction
                19:24:16,806 WARN  [JmxKernelAbstraction] jboss.j2ee:ear=koltso7.ear,jar=koltso7.jar,name=ProfileAction,service=EJB3 is not registered
                19:24:16,808 INFO  [EJBContainer] STOPPED EJB: org.mikail.koltso7.ContentAction ejbName: ContentAction
                19:24:16,809 WARN  [JmxKernelAbstraction] jboss.j2ee:ear=koltso7.ear,jar=koltso7.jar,name=ContentAction,service=EJB3 is not registered
                19:24:16,809 INFO  [PersistenceUnitDeployment] Stopping persistence unit persistence.units:ear=koltso7.ear,jar=koltso7.jar,unitName=koltso7
                19:24:16,809 INFO  [SessionFactoryImpl] closing
                19:24:16,809 INFO  [SessionFactoryObjectFactory] Unbinding factory from JNDI name: persistence.units:ear=koltso7.ear,jar=koltso7.jar,unitName=koltso7
                19:24:16,809 INFO  [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
                19:24:16,809 INFO  [SessionFactoryObjectFactory] Unbound factory from JNDI name: persistence.units:ear=koltso7.ear,jar=koltso7.jar,unitName=koltso7
                19:24:16,809 INFO  [SchemaExport] Running hbm2ddl schema export
                19:24:16,809 INFO  [SchemaExport] exporting generated schema to database
                19:24:18,094 INFO  [SchemaExport] schema export complete
                19:24:18,095 WARN  [JmxKernelAbstraction] persistence.units:ear=koltso7.ear,jar=koltso7.jar,unitName=koltso7 is not registered
                19:24:18,097 INFO  [EJBContainer] STOPPED EJB: org.jboss.seam.async.TimerServiceDispatcher ejbName: TimerServiceDispatcher
                19:24:18,097 WARN  [JmxKernelAbstraction] jboss.j2ee:ear=koltso7.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3 is not registered
                19:24:18,101 INFO  [EJBContainer] STOPPED EJB: org.jboss.seam.transaction.EjbSynchronizations ejbName: EjbSynchronizations
                19:24:18,102 WARN  [JmxKernelAbstraction] jboss.j2ee:ear=koltso7.ear,jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3 is not registered
                19:24:18,131 INFO  [EARDeployer] Undeploying J2EE application, destroy step: file:/opt/jboss-4.2.2.GA/server/default/deploy/koltso7.ear/
                19:24:18,131 INFO  [EARDeployer] Undeployed J2EE application: file:/opt/jboss-4.2.2.GA/server/default/deploy/koltso7.ear/
                19:24:18,136 INFO  [ConnectionFactoryBindingService] Unbound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=koltso7Datasource' from JNDI name 'java:koltso7Datasource'
                19:24:23,445 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=koltso7Datasource' to JNDI name 'java:koltso7Datasource'
                19:24:23,455 INFO  [EARDeployer] Init J2EE application: file:/opt/jboss-4.2.2.GA/server/default/deploy/koltso7.ear/
                19:24:24,702 WARN  [JAXWSDeployerHookPreJSE] Cannot load servlet class: org.jboss.seam.example.seamspace.ContentServlet
                19:24:24,711 INFO  [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
                19:24:24,712 INFO  [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=koltso7.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3 with dependencies:
                19:24:24,726 INFO  [EJBContainer] STARTED EJB: org.jboss.seam.async.TimerServiceDispatcher ejbName: TimerServiceDispatcher
                19:24:24,744 INFO  [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateful.StatefulContainer
                19:24:24,744 INFO  [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=koltso7.ear,jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3 with dependencies:
                19:24:24,768 INFO  [EJBContainer] STARTED EJB: org.jboss.seam.transaction.EjbSynchronizations ejbName: EjbSynchronizations
                19:24:24,773 INFO  [EJB3Deployer] Deployed: file:/opt/jboss-4.2.2.GA/server/default/deploy/koltso7.ear/jboss-seam.jar
                19:24:24,774 INFO  [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.entity.PersistenceUnitDeployment
                19:24:24,774 INFO  [JmxKernelAbstraction] installing MBean: persistence.units:ear=koltso7.ear,jar=koltso7.jar,unitName=koltso7 with dependencies:
                19:24:24,774 INFO  [JmxKernelAbstraction]      jboss.jca:name=koltso7Datasource,service=DataSourceBinding
                19:24:24,775 INFO  [PersistenceUnitDeployment] Starting persistence unit persistence.units:ear=koltso7.ear,jar=koltso7.jar,unitName=koltso7
                19:24:24,781 INFO  [Ejb3Configuration] found EJB3 Entity bean: org.mikail.koltso7.BlogComment
                19:24:24,782 INFO  [Ejb3Configuration] found EJB3 Entity bean: org.mikail.koltso7.FriendComment
                19:24:24,785 INFO  [Ejb3Configuration] found EJB3 Entity bean: org.mikail.koltso7.MemberBlog
                19:24:24,792 INFO  [Ejb3Configuration] found EJB3 Entity bean: org.mikail.koltso7.Member
                19:24:24,793 INFO  [Ejb3Configuration] found EJB3 Entity bean: org.mikail.koltso7.MemberRole
                19:24:24,796 INFO  [Ejb3Configuration] found EJB3 Entity bean: org.mikail.koltso7.MemberFriend
                19:24:24,797 INFO  [Ejb3Configuration] found EJB3 Entity bean: org.mikail.koltso7.MemberImage
                19:24:24,802 INFO  [Configuration] Reading mappings from resource : META-INF/orm.xml
                19:24:24,802 INFO  [Ejb3Configuration] [PersistenceUnit: koltso7] no META-INF/orm.xml found
                19:24:24,804 INFO  [AnnotationBinder] Binding entity from annotated class: org.mikail.koltso7.BlogComment
                19:24:24,804 INFO  [EntityBinder] Bind entity org.mikail.koltso7.BlogComment on table BlogComment
                19:24:24,806 INFO  [AnnotationBinder] Binding entity from annotated class: org.mikail.koltso7.FriendComment
                19:24:24,806 INFO  [EntityBinder] Bind entity org.mikail.koltso7.FriendComment on table FriendComment
                19:24:24,809 INFO  [AnnotationBinder] Binding entity from annotated class: org.mikail.koltso7.MemberBlog
                19:24:24,809 INFO  [EntityBinder] Bind entity org.mikail.koltso7.MemberBlog on table MemberBlog
                19:24:24,811 INFO  [AnnotationBinder] Binding entity from annotated class: org.mikail.koltso7.Member
                19:24:24,811 INFO  [EntityBinder] Bind entity org.mikail.koltso7.Member on table Member
                19:24:24,817 INFO  [AnnotationBinder] Binding entity from annotated class: org.mikail.koltso7.MemberRole
                19:24:24,817 INFO  [EntityBinder] Bind entity org.mikail.koltso7.MemberRole on table MemberRole
                19:24:24,819 INFO  [AnnotationBinder] Binding entity from annotated class: org.mikail.koltso7.MemberFriend
                19:24:24,819 INFO  [EntityBinder] Bind entity org.mikail.koltso7.MemberFriend on table MemberFriend
                19:24:24,821 INFO  [AnnotationBinder] Binding entity from annotated class: org.mikail.koltso7.MemberImage
                19:24:24,821 INFO  [EntityBinder] Bind entity org.mikail.koltso7.MemberImage on table MemberImage
                19:24:24,822 INFO  [CollectionBinder] Mapping collection: org.mikail.koltso7.MemberBlog.comments -> BlogComment
                19:24:24,823 INFO  [CollectionBinder] Mapping collection: org.mikail.koltso7.Member.friends -> MemberFriend
                19:24:24,823 INFO  [CollectionBinder] Mapping collection: org.mikail.koltso7.Member.images -> MemberImage
                19:24:24,842 INFO  [ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
                19:24:24,843 INFO  [InjectedDataSourceConnectionProvider] Using provided datasource
                19:24:24,851 INFO  [SettingsFactory] RDBMS: MySQL, version: 5.0.51a
                19:24:24,851 INFO  [SettingsFactory] JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-5.1.6 ( Revision: ${svn.Revision} )
                19:24:24,852 INFO  [Dialect] Using dialect: org.hibernate.dialect.MySQLDialect
                19:24:24,852 INFO  [TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
                19:24:24,852 INFO  [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
                19:24:24,852 INFO  [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
                19:24:24,852 INFO  [SettingsFactory] Automatic flush during beforeCompletion(): disabled
                19:24:24,852 INFO  [SettingsFactory] Automatic session close at end of transaction: disabled
                19:24:24,852 INFO  [SettingsFactory] JDBC batch size: 15
                19:24:24,852 INFO  [SettingsFactory] JDBC batch updates for versioned data: disabled
                19:24:24,852 INFO  [SettingsFactory] Scrollable result sets: enabled
                19:24:24,852 INFO  [SettingsFactory] JDBC3 getGeneratedKeys(): enabled
                19:24:24,853 INFO  [SettingsFactory] Connection release mode: auto
                19:24:24,853 INFO  [SettingsFactory] Maximum outer join fetch depth: 2
                19:24:24,853 INFO  [SettingsFactory] Default batch fetch size: 1
                19:24:24,853 INFO  [SettingsFactory] Generate SQL with comments: disabled
                19:24:24,853 INFO  [SettingsFactory] Order SQL updates by primary key: disabled
                19:24:24,853 INFO  [SettingsFactory] Order SQL inserts for batching: disabled
                19:24:24,853 INFO  [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
                19:24:24,853 INFO  [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
                19:24:24,853 INFO  [SettingsFactory] Query language substitutions: {}
                19:24:24,853 INFO  [SettingsFactory] JPA-QL strict compliance: enabled
                19:24:24,853 INFO  [SettingsFactory] Second-level cache: enabled
                19:24:24,853 INFO  [SettingsFactory] Query cache: disabled
                19:24:24,853 INFO  [SettingsFactory] Cache provider: org.hibernate.cache.HashtableCacheProvider
                19:24:24,853 INFO  [SettingsFactory] Optimize cache for minimal puts: disabled
                19:24:24,853 INFO  [SettingsFactory] Cache region prefix: koltso7_ear,koltso7_jar,koltso7
                19:24:24,853 INFO  [SettingsFactory] Structured second-level cache entries: disabled
                19:24:24,853 INFO  [SettingsFactory] Echoing all SQL to stdout
                19:24:24,853 INFO  [SettingsFactory] Statistics: disabled
                19:24:24,853 INFO  [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
                19:24:24,854 INFO  [SettingsFactory] Default entity-mode: pojo
                19:24:24,854 INFO  [SettingsFactory] Named query checking : enabled
                19:24:24,859 INFO  [SessionFactoryImpl] building session factory
                19:24:24,899 INFO  [SessionFactoryObjectFactory] Factory name: persistence.units:ear=koltso7.ear,jar=koltso7.jar,unitName=koltso7
                19:24:24,899 INFO  [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
                19:24:24,901 INFO  [SessionFactoryObjectFactory] Bound factory to JNDI name: persistence.units:ear=koltso7.ear,jar=koltso7.jar,unitName=koltso7
                19:24:24,901 WARN  [SessionFactoryObjectFactory] InitialContext did not implement EventContext
                19:24:24,911 INFO  [SchemaExport] Running hbm2ddl schema export
                19:24:24,912 INFO  [SchemaExport] exporting generated schema to database
                19:24:25,031 INFO  [SchemaExport] Executing import script: /import.sql
                19:24:25,039 ERROR [SchemaExport] schema export unsuccessful
                org.hibernate.JDBCException: Error during import script execution
                     at org.hibernate.tool.hbm2ddl.SchemaExport.importScript(SchemaExport.java:258)
                     at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:192)
                     at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:133)
                     at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:311)
                     at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
                     at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:713)
                     at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:127)
                     at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:246)
                     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:597)
                     at org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:103)
                     at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
                     at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
                     at sun.reflect.GeneratedMethodAccessor293.invoke(Unknown Source)
                     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                     at java.lang.reflect.Method.invoke(Method.java:597)
                     at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                     at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                     at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                     at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                     at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
                     at $Proxy0.start(Unknown Source)
                     at org.jboss.system.ServiceController.start(ServiceController.java:417)
                     at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
                     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                     at java.lang.reflect.Method.invoke(Method.java:597)
                     at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                     at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                     at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                     at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                     at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                     at $Proxy390.start(Unknown Source)
                     at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:120)
                     at org.jboss.ejb3.Ejb3Deployment.startPersistenceUnits(Ejb3Deployment.java:627)
                     at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:351)
                     at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:91)
                     at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
                     at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
                     at sun.reflect.GeneratedMethodAccessor293.invoke(Unknown Source)
                     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                     at java.lang.reflect.Method.invoke(Method.java:597)
                     at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                     at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                     at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                     at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                     at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
                     at $Proxy0.start(Unknown Source)
                     at org.jboss.system.ServiceController.start(ServiceController.java:417)
                     at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
                     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                     at java.lang.reflect.Method.invoke(Method.java:597)
                     at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                     at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                     at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                     at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                     at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                     at $Proxy33.start(Unknown Source)
                     at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:512)
                     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:597)
                     at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                     at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                     at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                     at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                     at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                     at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
                     at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
                     at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:87)
                     at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
                     at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
                     at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                     at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                     at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                     at $Proxy34.start(Unknown Source)
                     at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
                     at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
                     at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
                     at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
                     at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
                     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                     at java.lang.reflect.Method.invoke(Method.java:597)
                     at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                     at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                     at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                     at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                     at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                     at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                     at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                     at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                     at $Proxy9.deploy(Unknown Source)
                     at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
                     at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
                     at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
                     at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
                     at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
                Caused by: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'text' at row 1
                     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3489)
                     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3423)
                     at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1936)
                     at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2060)
                     at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2536)
                     at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2465)
                     at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:734)
                     at org.jboss.resource.adapter.jdbc.WrappedStatement.execute(WrappedStatement.java:84)
                     at org.hibernate.tool.hbm2ddl.SchemaExport.importScript(SchemaExport.java:254)
                     ... 104 more
                19:24:25,053 INFO  [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
                19:24:25,065 INFO  [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateful.StatefulContainer
                19:24:25,065 INFO  [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=koltso7.ear,jar=koltso7.jar,name=FriendAction,service=EJB3 with dependencies:
                19:24:25,075 INFO  [EJBContainer] STARTED EJB: org.mikail.koltso7.FriendAction ejbName: FriendAction
                19:24:25,077 INFO  [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateful.StatefulContainer
                19:24:25,078 INFO  [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=koltso7.ear,jar=koltso7.jar,name=ProfileAction,service=EJB3 with dependencies:


                • 6. Re: No application context active. ERROR
                  Mikail Ahundov Newbie

                  19:24:25,089 INFO  [EJBContainer] STARTED EJB: org.mikail.koltso7.ProfileAction ejbName: ProfileAction
                  19:24:25,093 INFO  [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
                  19:24:25,093 INFO  [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=koltso7.ear,jar=koltso7.jar,name=ContentAction,service=EJB3 with dependencies:
                  19:24:25,098 INFO  [EJBContainer] STARTED EJB: org.mikail.koltso7.ContentAction ejbName: ContentAction
                  19:24:25,104 INFO  [EJB3Deployer] Deployed: file:/opt/jboss-4.2.2.GA/server/default/deploy/koltso7.ear/koltso7.jar/
                  19:24:25,138 INFO  [TomcatDeployer] deploy, ctxPath=/koltso7, warUrl=.../deploy/koltso7.ear/koltso7.war/
                  19:24:26,116 INFO  [ServletContextListener] Welcome to Seam 2.0.2.SP1
                  19:24:27,222 INFO  [Initialization] Namespace: http://jboss.com/products/seam/async, package: org.jboss.seam.async, prefix: org.jboss.seam.async
                  19:24:27,223 INFO  [Initialization] Namespace: http://jboss.com/products/seam/framework, package: org.jboss.seam.framework, prefix: org.jboss.seam.core.framework
                  19:24:27,223 INFO  [Initialization] Namespace: http://jboss.com/products/seam/theme, package: org.jboss.seam.theme, prefix: org.jboss.seam.theme
                  19:24:27,223 INFO  [Initialization] Namespace: http://jboss.com/products/seam/bpm, package: org.jboss.seam.bpm, prefix: org.jboss.seam.bpm
                  19:24:27,223 INFO  [Initialization] Namespace: http://jboss.com/products/seam/mail, package: org.jboss.seam.mail, prefix: org.jboss.seam.mail
                  19:24:27,223 INFO  [Initialization] Namespace: http://jboss.com/products/seam/security, package: org.jboss.seam.security, prefix: org.jboss.seam.security
                  19:24:27,223 INFO  [Initialization] Namespace: http://jboss.com/products/seam/web, package: org.jboss.seam.web, prefix: org.jboss.seam.web
                  19:24:27,223 INFO  [Initialization] Namespace: http://jboss.com/products/seam/captcha, package: org.jboss.seam.captcha, prefix: org.jboss.seam.captcha
                  19:24:27,223 INFO  [Initialization] Namespace: http://jboss.com/products/seam/navigation, package: org.jboss.seam.navigation, prefix: org.jboss.seam.navigation
                  19:24:27,223 INFO  [Initialization] Namespace: http://jboss.com/products/seam/core, package: org.jboss.seam.core, prefix: org.jboss.seam.core
                  19:24:27,223 INFO  [Initialization] Namespace: http://jboss.com/products/seam/international, package: org.jboss.seam.international, prefix: org.jboss.seam.international
                  19:24:27,223 INFO  [Initialization] Namespace: http://jboss.com/products/seam/pdf, package: org.jboss.seam.pdf, prefix: 
                  19:24:27,223 INFO  [Initialization] Namespace: http://jboss.com/products/seam/jms, package: org.jboss.seam.jms, prefix: org.jboss.seam.jms
                  19:24:27,223 INFO  [Initialization] Namespace: http://jboss.com/products/seam/transaction, package: org.jboss.seam.transaction, prefix: org.jboss.seam.transaction
                  19:24:27,223 INFO  [Initialization] Namespace: http://jboss.com/products/seam/remoting, package: org.jboss.seam.remoting, prefix: org.jboss.seam.remoting
                  19:24:27,223 INFO  [Initialization] Namespace: http://jboss.com/products/seam/drools, package: org.jboss.seam.drools, prefix: org.jboss.seam.drools
                  19:24:27,223 INFO  [Initialization] Namespace: http://jboss.com/products/seam/persistence, package: org.jboss.seam.persistence, prefix: org.jboss.seam.persistence
                  19:24:27,223 INFO  [Initialization] Namespace: http://jboss.com/products/seam/spring, package: org.jboss.seam.ioc.spring, prefix: org.jboss.seam.ioc.spring
                  19:24:27,224 INFO  [Initialization] reading /WEB-INF/components.xml
                  19:24:27,249 INFO  [Initialization] reading jar:file:/opt/jboss-4.2.2.GA/server/default/tmp/deploy/tmp43618jboss-seam.jar!/META-INF/components.xml
                  19:24:27,251 INFO  [Initialization] reading jar:file:/opt/jboss-4.2.2.GA/server/default/deploy/koltso7.ear/koltso7.war/WEB-INF/lib/jboss-seam-ioc.jar!/META-INF/components.xml
                  19:24:27,253 INFO  [Initialization] reading jar:file:/opt/jboss-4.2.2.GA/server/default/deploy/koltso7.ear/koltso7.war/WEB-INF/lib/jboss-seam-remoting.jar!/META-INF/components.xml
                  19:24:27,255 INFO  [Initialization] reading jar:file:/opt/jboss-4.2.2.GA/server/default/deploy/koltso7.ear/koltso7.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/components.xml
                  19:24:27,258 INFO  [Initialization] reading properties from: /seam.properties
                  19:24:27,258 INFO  [Initialization] reading properties from: /jndi.properties
                  19:24:27,259 INFO  [Initialization] initializing Seam
                  19:24:27,266 INFO  [Initialization] two components with same name, higher precedence wins: org.jboss.seam.web.parameters
                  19:24:27,267 INFO  [Initialization] two components with same name, higher precedence wins: org.jboss.seam.core.locale
                  19:24:27,267 INFO  [Initialization] two components with same name, higher precedence wins: org.jboss.seam.core.locale
                  19:24:27,267 INFO  [Initialization] two components with same name, higher precedence wins: org.jboss.seam.core.expressions
                  19:24:27,270 INFO  [Initialization] two components with same name, higher precedence wins: org.jboss.seam.core.manager
                  19:24:27,275 INFO  [Initialization] two components with same name, higher precedence wins: org.jboss.seam.security.identity
                  19:24:27,276 INFO  [Initialization] two components with same name, higher precedence wins: org.jboss.seam.web.isUserInRole
                  19:24:27,276 INFO  [Initialization] two components with same name, higher precedence wins: org.jboss.seam.transaction.synchronizations
                  19:24:27,277 INFO  [Initialization] two components with same name, higher precedence wins: org.jboss.seam.web.userPrincipal
                  19:24:27,278 INFO  [Initialization] two components with same name, higher precedence wins: org.jboss.seam.bpm.businessProcess
                  19:24:27,279 INFO  [Initialization] two components with same name, higher precedence wins: org.jboss.seam.security.entityPermissionChecker
                  19:24:27,279 INFO  [Initialization] two components with same name, higher precedence wins: org.jboss.seam.persistence.persistenceProvider
                  19:24:27,281 INFO  [Initialization] two components with same name, higher precedence wins: org.jboss.seam.core.resourceLoader
                  19:24:27,294 INFO  [Component] Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init
                  19:24:27,331 WARN  [Initialization] Did not install PojoCache due to NoClassDefFoundError: org/jgroups/MembershipListener
                  19:24:27,331 INFO  [Initialization] Installing components...
                  19:24:27,343 INFO  [Component] Component: authenticator, scope: EVENT, type: JAVA_BEAN, class: org.mikail.koltso7.Authenticator
                  19:24:27,356 WARN  [Component] Component class should be serializable: blog
                  19:24:27,356 INFO  [Component] Component: blog, scope: CONVERSATION, type: JAVA_BEAN, class: org.mikail.koltso7.BlogAction
                  19:24:27,362 INFO  [Component] Component: blogComment, scope: CONVERSATION, type: ENTITY_BEAN, class: org.mikail.koltso7.BlogComment
                  19:24:27,364 INFO  [Component] Component: contentAction, scope: STATELESS, type: STATELESS_SESSION_BEAN, class: org.mikail.koltso7.ContentAction, JNDI: koltso7/ContentAction/local
                  19:24:27,369 INFO  [Component] Component: entityManager, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.persistence.ManagedPersistenceContext
                  19:24:27,371 INFO  [Component] Component: friend, scope: CONVERSATION, type: STATEFUL_SESSION_BEAN, class: org.mikail.koltso7.FriendAction, JNDI: koltso7/FriendAction/local
                  19:24:27,374 INFO  [Component] Component: friendComment, scope: CONVERSATION, type: ENTITY_BEAN, class: org.mikail.koltso7.FriendComment
                  19:24:27,375 INFO  [Component] Component: hash, scope: EVENT, type: JAVA_BEAN, class: org.mikail.koltso7.Hash
                  19:24:27,376 INFO  [Component] Component: member, scope: CONVERSATION, type: ENTITY_BEAN, class: org.mikail.koltso7.Member
                  19:24:27,378 INFO  [Component] Component: memberBlog, scope: CONVERSATION, type: ENTITY_BEAN, class: org.mikail.koltso7.MemberBlog
                  19:24:27,379 INFO  [Component] Component: memberFriend, scope: CONVERSATION, type: ENTITY_BEAN, class: org.mikail.koltso7.MemberFriend
                  19:24:27,379 INFO  [Component] Component: memberImage, scope: CONVERSATION, type: ENTITY_BEAN, class: org.mikail.koltso7.MemberImage
                  19:24:27,380 INFO  [Component] Component: memberRole, scope: CONVERSATION, type: ENTITY_BEAN, class: org.mikail.koltso7.MemberRole
                  19:24:27,381 INFO  [Component] Component: org.jboss.seam.async.dispatcher, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.async.ThreadPoolDispatcher
                  19:24:27,384 INFO  [Component] Component: org.jboss.seam.captcha.captcha, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.captcha.Captcha
                  19:24:27,386 INFO  [Component] Component: org.jboss.seam.captcha.captchaImage, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.captcha.CaptchaImage
                  19:24:27,386 INFO  [Component] Component: org.jboss.seam.core.ConversationIdGenerator, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationIdGenerator
                  19:24:27,387 INFO  [Component] Component: org.jboss.seam.core.contexts, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Contexts
                  19:24:27,388 INFO  [Component] Component: org.jboss.seam.core.conversation, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Conversation
                  19:24:27,389 INFO  [Component] Component: org.jboss.seam.core.conversationEntries, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationEntries
                  19:24:27,390 INFO  [Component] Component: org.jboss.seam.core.conversationListFactory, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationList
                  19:24:27,391 INFO  [Component] Component: org.jboss.seam.core.conversationPropagation, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationPropagation
                  19:24:27,391 INFO  [Component] Component: org.jboss.seam.core.conversationStackFactory, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationStack
                  19:24:27,392 INFO  [Component] Component: org.jboss.seam.core.events, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Events
                  19:24:27,393 INFO  [Component] Component: org.jboss.seam.core.expressions, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.FacesExpressions
                  19:24:27,393 INFO  [Component] Component: org.jboss.seam.core.interpolator, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Interpolator
                  19:24:27,394 INFO  [Component] Component: org.jboss.seam.core.locale, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.international.Locale
                  19:24:27,398 INFO  [Component] Component: org.jboss.seam.core.manager, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.faces.FacesManager
                  19:24:27,400 INFO  [Component] Component: org.jboss.seam.core.resourceBundle, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.ResourceBundle
                  19:24:27,400 INFO  [Component] Component: org.jboss.seam.core.resourceLoader, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.faces.ResourceLoader
                  19:24:27,403 INFO  [Component] Component: org.jboss.seam.core.validators, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Validators
                  19:24:27,408 INFO  [Component] Component: org.jboss.seam.exception.exceptions, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.exception.Exceptions
                  19:24:27,411 INFO  [Component] Component: org.jboss.seam.faces.dataModels, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.faces.DataModels
                  19:24:27,411 INFO  [Component] Component: org.jboss.seam.faces.facesContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.FacesContext
                  19:24:27,413 INFO  [Component] Component: org.jboss.seam.faces.facesMessages, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.faces.FacesMessages
                  19:24:27,413 INFO  [Component] Component: org.jboss.seam.faces.facesPage, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.faces.FacesPage
                  19:24:27,414 INFO  [Component] Component: org.jboss.seam.faces.httpError, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.HttpError
                  19:24:27,414 INFO  [Component] Component: org.jboss.seam.faces.redirect, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.faces.Redirect
                  19:24:27,419 INFO  [Component] Component: org.jboss.seam.faces.renderer, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.ui.facelet.FaceletsRenderer
                  19:24:27,420 INFO  [Component] Component: org.jboss.seam.faces.switcher, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.faces.Switcher
                  19:24:27,421 INFO  [Component] Component: org.jboss.seam.faces.uiComponent, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.faces.UiComponent
                  19:24:27,421 INFO  [Component] Component: org.jboss.seam.faces.validation, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.faces.Validation
                  19:24:27,422 INFO  [Component] Component: org.jboss.seam.framework.currentDate, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentDate
                  19:24:27,423 INFO  [Component] Component: org.jboss.seam.framework.currentDatetime, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentDatetime
                  19:24:27,424 INFO  [Component] Component: org.jboss.seam.framework.currentTime, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentTime
                  19:24:27,426 INFO  [Component] Component: org.jboss.seam.graphicImage.image, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.ui.graphicImage.Image
                  19:24:27,428 INFO  [Component] Component: org.jboss.seam.international.localeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.international.LocaleSelector
                  19:24:27,429 INFO  [Component] Component: org.jboss.seam.international.messagesFactory, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.international.Messages
                  19:24:27,429 INFO  [Component] Component: org.jboss.seam.international.timeZone, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.international.TimeZone
                  19:24:27,430 INFO  [Component] Component: org.jboss.seam.international.timeZoneSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.international.TimeZoneSelector
                  19:24:27,432 INFO  [Component] Component: org.jboss.seam.mail.mailSession, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.mail.MailSession
                  19:24:27,441 INFO  [Component] Component: org.jboss.seam.navigation.pages, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.navigation.Pages
                  19:24:27,445 INFO  [Component] Component: org.jboss.seam.navigation.safeActions, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.navigation.SafeActions
                  19:24:27,445 INFO  [Component] Component: org.jboss.seam.pdf.documentStore, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.pdf.DocumentStore
                  19:24:27,446 INFO  [Component] Component: org.jboss.seam.persistence.persistenceContexts, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.persistence.PersistenceContexts
                  19:24:27,449 INFO  [Component] Component: org.jboss.seam.persistence.persistenceProvider, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.persistence.HibernatePersistenceProvider
                  19:24:27,452 INFO  [Component] Component: org.jboss.seam.remoting.gwt.gwtToSeamAdapter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.gwt.GWTToSeamAdapter
                  19:24:27,454 INFO  [Component] Component: org.jboss.seam.remoting.remoting, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.Remoting
                  19:24:27,455 INFO  [Component] Component: org.jboss.seam.security.configurationFactory, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.security.Configuration
                  19:24:27,457 INFO  [Component] Component: org.jboss.seam.security.entityPermissionChecker, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.security.HibernateEntityPermissionChecker
                  19:24:27,460 INFO  [Component] Component: org.jboss.seam.security.facesSecurityEvents, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.security.FacesSecurityEvents
                  19:24:27,464 INFO  [Component] Component: org.jboss.seam.security.identity, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.security.RuleBasedIdentity
                  19:24:27,483 INFO  [Component] Component: org.jboss.seam.theme.themeFactory, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.theme.Theme
                  19:24:27,485 INFO  [Component] Component: org.jboss.seam.theme.themeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.theme.ThemeSelector
                  19:24:27,486 INFO  [Component] Component: org.jboss.seam.transaction.synchronizations, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.transaction.SeSynchronizations
                  19:24:27,488 INFO  [Component] Component: org.jboss.seam.transaction.transaction, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.transaction.Transaction
                  19:24:27,492 INFO  [Component] Component: org.jboss.seam.ui.EntityConverter, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.ui.converter.EntityConverter
                  19:24:27,494 INFO  [Component] Component: org.jboss.seam.ui.entityIdentifierStore, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.ui.converter.entityConverter.EntityIdentifierStore
                  19:24:27,496 INFO  [Component] Component: org.jboss.seam.ui.entityLoader, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.ui.converter.entityConverter.EntityLoader
                  19:24:27,500 INFO  [Component] Component: org.jboss.seam.ui.facelet.faceletCompiler, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.ui.facelet.FaceletCompiler
                  19:24:27,500 INFO  [Component] Component: org.jboss.seam.ui.graphicImage.graphicImageResource, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.ui.graphicImage.GraphicImageResource
                  19:24:27,501 INFO  [Component] Component: org.jboss.seam.ui.graphicImage.graphicImageStore, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.ui.graphicImage.GraphicImageStore
                  19:24:27,503 INFO  [Component] Component: org.jboss.seam.ui.hibernateEntityLoader, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.ui.converter.entityConverter.HibernateEntityLoader
                  19:24:27,505 INFO  [Component] Component: org.jboss.seam.ui.resource.safeStyleResources, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.ui.resource.SafeStyleResources
                  19:24:27,506 INFO  [Component] Component: org.jboss.seam.ui.resource.styleResource, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.ui.resource.StyleResource
                  19:24:27,506 INFO  [Component] Component: org.jboss.seam.ui.resource.webResource, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.ui.resource.WebResource
                  19:24:27,507 INFO  [Component] Component: org.jboss.seam.web.ajax4jsfFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.Ajax4jsfFilter
                  19:24:27,509 INFO  [Component] Component: org.jboss.seam.web.ajax4jsfFilterInstantiator, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.ui.filter.Ajax4jsfFilterInstantiator
                  19:24:27,509 INFO  [Component] Component: org.jboss.seam.web.contextFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.ContextFilter
                  19:24:27,512 INFO  [Component] Component: org.jboss.seam.web.exceptionFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.ExceptionFilter
                  19:24:27,513 INFO  [Component] Component: org.jboss.seam.web.isUserInRole, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.IsUserInRole
                  19:24:27,513 INFO  [Component] Component: org.jboss.seam.web.loggingFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.LoggingFilter
                  19:24:27,514 INFO  [Component] Component: org.jboss.seam.web.multipartFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.MultipartFilter
                  19:24:27,515 INFO  [Component] Component: org.jboss.seam.web.parameters, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.faces.Parameters
                  19:24:27,515 INFO  [Component] Component: org.jboss.seam.web.redirectFilter, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.web.RedirectFilter
                  19:24:27,516 INFO  [Component] Component: org.jboss.seam.web.servletContexts, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.web.ServletContexts
                  19:24:27,516 INFO  [Component] Component: org.jboss.seam.web.session, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.web.Session
                  19:24:27,517 INFO  [Component] Component: org.jboss.seam.web.userPrincipal, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.faces.UserPrincipal
                  19:24:27,517 INFO  [Component] Component: profile, scope: EVENT, type: STATEFUL_SESSION_BEAN, class: org.mikail.koltso7.ProfileAction, JNDI: koltso7/ProfileAction/local
                  19:24:27,520 WARN  [Component] Component class should be serializable: register
                  19:24:27,520 INFO  [Component] Component: register, scope: CONVERSATION, type: JAVA_BEAN, class: org.mikail.koltso7.RegisterAction
                  19:24:27,521 INFO  [Component] Component: securityRules, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.drools.RuleBase
                  19:24:27,524 INFO  [Contexts] starting up: org.jboss.seam.navigation.pages
                  19:24:27,535 INFO  [Contexts] starting up: org.jboss.seam.security.facesSecurityEvents
                  19:24:27,536 INFO  [Initialization] done initializing Seam
                  19:24:27,541 INFO  [SeamFilter] Initializing filter: org.jboss.seam.web.loggingFilter
                  19:24:27,541 INFO  [SeamFilter] Initializing filter: org.jboss.seam.web.ajax4jsfFilter
                  19:24:27,570 INFO  [CacheManager] Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
                  19:24:27,573 INFO  [LRUMapCacheFactory] Creating LRUMap cache instance using parameters: {facelets.DEVELOPMENT=true, org.richfaces.SKIN=blueSky, com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossInjectionProvider, javax.faces.DEFAULT_SUFFIX=.xhtml}
                  19:24:27,573 INFO  [LRUMapCacheFactory] Creating LRUMap cache instance of default capacity
                  19:24:27,588 INFO  [CacheManager] Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
                  19:24:27,588 INFO  [LRUMapCacheFactory] Creating LRUMap cache instance using parameters: {facelets.DEVELOPMENT=true, org.richfaces.SKIN=blueSky, com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossInjectionProvider, javax.faces.DEFAULT_SUFFIX=.xhtml}
                  19:24:27,588 INFO  [LRUMapCacheFactory] Creating LRUMap cache instance of default capacity
                  19:24:27,588 INFO  [SeamFilter] Initializing filter: org.jboss.seam.web.contextFilter
                  19:24:27,588 INFO  [SeamFilter] Initializing filter: org.jboss.seam.web.redirectFilter
                  19:24:27,588 INFO  [SeamFilter] Initializing filter: org.jboss.seam.web.exceptionFilter
                  19:24:27,588 INFO  [SeamFilter] Initializing filter: org.jboss.seam.web.multipartFilter
                  19:24:27,608 INFO  [EARDeployer] Started J2EE application: file:/opt/jboss-4.2.2.GA/server/default/deploy/koltso7.ear/
                  


                  • 7. Re: No application context active. ERROR
                    Mikail Ahundov Newbie

                    I shortened strings in import-dev.sql. Import Error disappeared. But Error about No aplication context active remained

                    • 8. Re: No application context active. ERROR
                      Mikail Ahundov Newbie

                      Bernard, is it all right with deployment log?

                      • 9. Re: No application context active. ERROR
                        blabno Master

                        Deployment log is fine. Show your full ProfileAction and Member classes, components.xml and page from which you invoke this action.

                        • 10. Re: No application context active. ERROR
                          Mikail Ahundov Newbie

                          THANK YOU VERY MUCH!!!!


                          This is - ProfileAction.java


                          package org.mikail.koltso7;
                          
                          import static org.jboss.seam.ScopeType.CONVERSATION;
                          
                          import java.util.List;
                          import java.util.Random;
                          
                          import javax.ejb.Remove;
                          import javax.ejb.Stateful;
                          import javax.persistence.EntityManager;
                          import javax.persistence.NoResultException;
                          
                          import org.jboss.seam.ScopeType;
                          import org.jboss.seam.annotations.Destroy;
                          import org.jboss.seam.annotations.Factory;
                          import org.jboss.seam.annotations.In;
                          import org.jboss.seam.annotations.Name;
                          import org.jboss.seam.annotations.Out;
                          import org.jboss.seam.annotations.web.RequestParameter;
                          import org.jboss.seam.annotations.Scope;
                          
                          @Stateful
                          @Name("profile")
                          @Scope(ScopeType.EVENT)
                          public class ProfileAction implements ProfileLocal
                          {
                             @RequestParameter
                             private String name;
                          
                             @In(required = false) @Out(required = false, scope = CONVERSATION)
                             private Member selectedMember;
                             
                             @In(required = false)
                             private Member authenticatedMember;
                             
                             @Out(required = false)
                             List newMembers;
                             
                             @Out(required = false)
                             List memberBlogs;   
                             
                             @In
                             private EntityManager entityManager;
                          
                             @Factory("selectedMember")
                             public void display()
                             {      
                                if (name == null && authenticatedMember != null)
                                {
                                   selectedMember = (Member) entityManager.find(Member.class, 
                                         authenticatedMember.getMemberId());
                                }
                                else if (name != null)
                                {
                                   try
                                   {
                                      selectedMember = (Member) entityManager.createQuery(
                                      "from Member where memberName = :memberName")
                                      .setParameter("memberName", name)
                                      .getSingleResult(); 
                                   }
                                   catch (NoResultException ex) { }
                                }
                             }
                             
                             /**
                              * Returns the 5 latest blog entries for a member
                              */
                             public List getLatestBlogs()
                             {
                                return entityManager.createQuery(
                                     "from MemberBlog b where b.member = :member order by b.entryDate desc")
                                     .setParameter("member", selectedMember)
                                     .setMaxResults(5)
                                     .getResultList();
                             }
                          
                             /**
                              * Used to read all blog entries for a member
                              */
                             @Factory("memberBlogs")
                             public void getMemberBlogs()
                             {
                                if (name == null && authenticatedMember != null)
                                {
                                   name = authenticatedMember.getMemberName();
                                }      
                                
                                memberBlogs = entityManager.createQuery( 
                                      "from MemberBlog b where b.member.memberName = :memberName order by b.entryDate desc")
                                      .setParameter("memberName", name)
                                      .getResultList();
                             }   
                             
                             @Factory("newMembers") 
                             public void newMembers()
                             {
                                newMembers = entityManager.createQuery(
                                      "from Member order by memberSince desc")
                                      .setMaxResults(10)
                                      .getResultList();
                                
                                // Randomly select 3 of the latest 10 members
                                Random rnd = new Random(System.currentTimeMillis());
                                while (newMembers.size() > 3)
                                {
                                   newMembers.remove(rnd.nextInt(newMembers.size()));
                                }
                             }
                             
                             public List getFriends()
                             {
                                return entityManager.createQuery(
                                      "select f.friend from MemberFriend f where f.member = :member and authorized = true")
                                      .setParameter("member", selectedMember)
                                      .getResultList();
                             }
                             
                             public List getFriendComments()
                             {
                                return entityManager.createQuery(
                                      "from FriendComment c where c.member = :member order by commentDate desc")
                                      .setParameter("member", selectedMember)
                                      .getResultList();
                             }
                             
                             @Remove @Destroy
                             public void destroy() { }   
                          }
                          


                          • 11. Re: No application context active. ERROR
                            Mikail Ahundov Newbie

                            This is Member.java


                            package org.mikail.koltso7;
                            
                            import java.io.Serializable;
                            import java.util.Calendar;
                            import java.util.Date;
                            import java.util.GregorianCalendar;
                            import java.util.Set;
                            
                            import javax.persistence.Entity;
                            import javax.persistence.FetchType;
                            import javax.persistence.GeneratedValue;
                            import javax.persistence.Id;
                            import javax.persistence.JoinColumn;
                            import javax.persistence.JoinTable;
                            import javax.persistence.ManyToMany;
                            import javax.persistence.OneToMany;
                            import javax.persistence.OneToOne;
                            import javax.persistence.Table;
                            import javax.persistence.Transient;
                            import javax.persistence.UniqueConstraint;
                            
                            import org.hibernate.validator.Email;
                            import org.hibernate.validator.Length;
                            import org.hibernate.validator.NotNull;
                            import org.hibernate.validator.Pattern;
                            import org.jboss.seam.annotations.Name;
                            
                            /**
                             * A member account
                             * 
                             * @author Shane Bryzak
                             */
                            @Entity
                            @Name("member")
                            @Table(uniqueConstraints = @UniqueConstraint(columnNames = "membername"))
                            public class Member implements Serializable
                            {
                               private static final long serialVersionUID = 5179242727836683375L;
                               
                               public enum Gender {
                                  male("Male", "his"), 
                                  female("Female", "her");
                                  
                                 private String descr;
                                 private String possessive;
                                 
                                 Gender(String descr, String possessive) {
                                   this.descr = descr;
                                   this.possessive = possessive;
                                  }
                                 public String getDescr() {
                                    return descr;
                                 }
                                 
                                 public String getPossessive() {
                                    return possessive;
                                 }
                               };
                               
                               private Integer memberId;
                               private String username;
                            
                               private String hashedPassword;
                               private String memberName;
                               private String firstName;
                               private String lastName;
                               private String email;
                               private MemberImage picture;
                               
                               private String tagline;
                               private Gender gender;
                               private Date dob;
                               private String location;
                               private Date memberSince;
                               
                               private Set<MemberRole> roles;
                               private Set<MemberImage> images;   
                               private Set<MemberFriend> friends;
                            
                               @Id @GeneratedValue
                               public Integer getMemberId()
                               {
                                  return memberId;
                               }
                            
                               public void setMemberId(Integer memberId)
                               {
                                  this.memberId = memberId;
                               }
                            
                               @NotNull
                               @Length(min = 4, max = 20)
                               public String getUsername()
                               {
                                  return username;
                               }
                            
                               public void setUsername(String username)
                               {
                                  this.username = username;
                               }
                            
                               @NotNull
                               public String getHashedPassword()
                               {
                                  return hashedPassword;
                               }
                            
                               public void setHashedPassword(String hashedPassword)
                               {
                                  this.hashedPassword = hashedPassword;
                               }
                               
                               @NotNull
                               @Length(min = 3, max = 40)
                               @Pattern(regex="[a-zA-Z]?[a-zA-Z0-9_]+", 
                                     message="Member name must start with a letter, and only contain letters, numbers or underscores")
                               public String getMemberName()
                               {
                                  return memberName;
                               }
                            
                               public void setMemberName(String memberName)
                               {
                                  this.memberName = memberName;
                               }
                               
                               @NotNull
                               @Length(min = 3, max = 40)
                               @Pattern(regex="[a-zA-Z]+", message="First name must only contain letters")
                               public String getFirstName()
                               {
                                  return firstName;
                               }
                               
                               public void setFirstName(String firstName)
                               {
                                  this.firstName = firstName;
                               }
                               
                               @NotNull
                               @Length(min = 3, max = 40)
                               @Pattern(regex="[a-zA-Z]+", message="Last name must only contain letters")
                               public String getLastName()
                               {
                                  return lastName;
                               }
                               
                               public void setLastName(String lastName)
                               {
                                  this.lastName = lastName;
                               }   
                               
                               @NotNull @Email
                               public String getEmail()
                               {
                                  return email;
                               }
                               
                               public void setEmail(String email)
                               {
                                  this.email = email;
                               }
                            
                               @ManyToMany
                               @JoinTable(name = "MemberRoles", joinColumns = @JoinColumn(name = "MEMBER_ID"), inverseJoinColumns = @JoinColumn(name = "ROLE_ID"))
                               public Set<MemberRole> getRoles()
                               {
                                  return roles;
                               }
                            
                               public void setRoles(Set<MemberRole> roles)
                               {
                                  this.roles = roles;
                               }
                            
                               @OneToOne(fetch = FetchType.LAZY)
                               @JoinColumn(name = "PICTURE_ID")
                               public MemberImage getPicture()
                               {
                                  return picture;
                               }
                            
                               public void setPicture(MemberImage picture)
                               {
                                  this.picture = picture;
                               }
                            
                               @NotNull
                               public Date getDob()
                               {
                                  return dob;
                               }
                            
                               public void setDob(Date dob)
                               {
                                  this.dob = dob;
                               }
                            
                               @NotNull
                               public Gender getGender()
                               {
                                  return gender;
                               }
                            
                               public void setGender(Gender gender)
                               {
                                  this.gender = gender;
                               }
                            
                               public String getLocation()
                               {
                                  return location;
                               }
                            
                               public void setLocation(String location)
                               {
                                  this.location = location;
                               }
                               
                               @NotNull
                               public Date getMemberSince()
                               {
                                  return memberSince;
                               }
                               
                               public void setMemberSince(Date memberSince)
                               {
                                  this.memberSince = memberSince;
                               }
                            
                               public String getTagline()
                               {
                                  return tagline;
                               }
                            
                               public void setTagline(String tagline)
                               {
                                  this.tagline = tagline;
                               }
                            
                               @OneToMany(mappedBy = "member", fetch = FetchType.LAZY)
                               public Set<MemberImage> getImages()
                               {
                                  return images;
                               }
                            
                               public void setImages(Set<MemberImage> images)
                               {
                                  this.images = images;
                               }
                               
                               @OneToMany(mappedBy = "member")
                               public Set<MemberFriend> getFriends()
                               {
                                  return friends;
                               }
                               
                               public void setFriends(Set<MemberFriend> friends)
                               {
                                  this.friends = friends;
                               }
                               
                               @Transient
                               public String getAge()
                               {
                                  Calendar birthday = new GregorianCalendar();
                                  birthday.setTime(dob);
                                  int by = birthday.get(Calendar.YEAR);
                                  int bm = birthday.get(Calendar.MONTH);
                                  int bd = birthday.get(Calendar.DATE);
                                  
                                  Calendar now = new GregorianCalendar();
                                  now.setTimeInMillis(System.currentTimeMillis());
                                  int ny = now.get(Calendar.YEAR);
                                  int nm = now.get(Calendar.MONTH);
                                  int nd = now.get(Calendar.DATE);      
                                  
                                  int age = ny - by + (nm > bm || (nm == bm && nd >= bd) ? 0 : -1);                              
                                  return String.format("%d years old", age);                              
                               }
                            }


                            • 12. Re: No application context active. ERROR
                              Mikail Ahundov Newbie

                              This is - components.xml


                              <?xml version="1.0" encoding="UTF-8"?>
                              <components xmlns="http://jboss.com/products/seam/components"
                                          xmlns:core="http://jboss.com/products/seam/core"
                                          xmlns:persistence="http://jboss.com/products/seam/persistence"
                                          xmlns:security="http://jboss.com/products/seam/security"
                                          xmlns:drools="http://jboss.com/products/seam/drools"
                                          xmlns:captcha="http://jboss.com/products/seam/captcha"
                                          xmlns:web="http://jboss.com/products/seam/web"
                                          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                                          xsi:schemaLocation=
                                              "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.0.xsd 
                                               http://jboss.com/products/seam/persistence http://jboss.com/products/seam/persistence-2.0.xsd
                                               http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.0.xsd
                                               http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.0.xsd
                                               http://jboss.com/products/seam/web http://jboss.com/products/seam/web-2.0.xsd
                                               http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-2.0.xsd
                                               http://jboss.com/products/seam/captcha http://jboss.com/products/seam/captcha-2.0.xsd">
                              
                                  <core:init jndi-pattern="@jndiPattern@" debug="false"/>
                               
                                  <core:manager conversation-timeout="120000" 
                                                concurrent-request-timeout="500"
                                                conversation-id-parameter="cid"/>
                                  
                                  <security:identity security-rules="#{securityRules}" authenticate-method="#{authenticator.authenticate}"/>
                                     
                                  <drools:rule-base name="securityRules">
                                     <drools:rule-files>
                                         <value>/META-INF/security-rules.drl</value>
                                     </drools:rule-files>
                                  </drools:rule-base>
                                  
                                  <web:multipart-filter create-temp-files="true" 
                                                        max-request-size="1000000" 
                                                        url-pattern="*.seam"/>
                                                        
                                  <web:context-filter url-pattern="/content/*"/>
                              
                                  <persistence:managed-persistence-context name="entityManager" auto-create="true"
                                              persistence-unit-jndi-name="java:/seamspaceEntityManagerFactory"/>
                                  
                                  <event type="org.jboss.seam.security.notLoggedIn">
                                      <action execute="#{redirect.captureCurrentView}"/>
                                  </event>
                                  
                                  <event type="org.jboss.seam.security.loginSuccessful">
                                      <action execute="#{redirect.returnToCapturedView}"/>
                                  </event>    
                                          
                              </components>


                              • 13. Re: No application context active. ERROR
                                Mikail Ahundov Newbie

                                This is - home.xhtml


                                <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
                                <html xmlns="http://www.w3.org/1999/xhtml"
                                    xmlns:ui="http://java.sun.com/jsf/facelets"
                                    xmlns:h="http://java.sun.com/jsf/html"
                                    xmlns:f="http://java.sun.com/jsf/core"
                                    xmlns:s="http://jboss.com/products/seam/taglib">
                                
                                  <ui:composition template="template.xhtml">
                                    <ui:define name="content">
                                      <div id="contentMain">
                                        <h1>Welcome to seamspace!</h1>
                                        
                                        <p>
                                          This example project is an imitation of a popular social networking site, and has
                                          been put together to demonstrate the various features of the Seam Security API.
                                        </p>
                                        
                                      </div>
                                
                                      <div id="contentDivider">
                                      </div>
                                
                                      <div id="contentSide">
                                        <div class="advertising"></div>
                                        
                                        <h:form rendered="#{not identity.loggedIn}">
                                          <div class="memberLogin">
                                            <div class="loginHeader">Member Login</div>
                                            
                                            <h:messages globalOnly="true"/>
                                            
                                            <div class="loginRow">
                                              <h:outputLabel for="name" value="Member name" styleClass="loginLabel"/>
                                              <h:inputText id="name" value="#{identity.username}"/>
                                            </div>
                                            
                                            <div class="validationMsg">
                                              <h:message for="name"/>
                                            </div>
                                            
                                            <div class="loginRow">
                                              <h:outputLabel for="password" value="Password" styleClass="loginLabel"/>
                                              <h:inputSecret id="password" value="#{identity.password}" redisplay="true"/>
                                            </div>
                                            
                                            <div class="validationMsg">
                                              <h:message for="password"/>
                                            </div>          
                                            
                                            <div class="loginRow">
                                              <h:outputLabel for="rememberMe" value="Remember me" styleClass="loginLabel"/>
                                              <h:selectBooleanCheckbox id="rememberMe" value="#{identity.rememberMe}"/>
                                            </div>
                                
                                            <div class="buttons">
                                              <h:commandButton value="LOGIN" action="#{identity.login}" styleClass="loginButton"/>
                                              <h:commandButton value="SIGN UP!" action="#{register.start}" styleClass="registerButton"/>
                                            </div>
                                
                                            <br class="clear"/>
                                          
                                          </div>
                                          
                                          <span>Tip: You can log in using <b>demo/demo</b> as the username/password</span>
                                        </h:form>
                                        
                                        <div class="newMembers">
                                          <div class="newMembersHeader">Cool new members</div>
                                                    
                                          <ui:repeat value="#{newMembers}" var="newMember">
                                            <div class="newMember">
                                
                                              <s:link view="/profile.seam" propagation="none">
                                                <f:param name="name" value="#{newMember.memberName}"/>
                                                #{newMember.memberName}<br/>
                                                <h:graphicImage value="/content/images?id=#{newMember.picture.imageId}&amp;width=90"/>
                                              </s:link>
                                              
                                            </div>
                                          </ui:repeat>          
                                          
                                          <br class="clear"/>
                                        </div>
                                      </div>
                                     
                                    </ui:define>
                                    
                                  </ui:composition>
                                </html>
                                


                                • 14. Re: No application context active. ERROR
                                  blabno Master

                                  I have no idea what is wrong. Please send me your project and I will try to debug it. s4237 at pjwstk dot edu dot pl

                                  1 2 Previous Next