11 Replies Latest reply on Jul 18, 2013 2:31 PM by bsgcic

    How can I influence people at this forum to help me with this bug?

    bsgcic Newbie

      I have had this posted here for I think about a month and no one has offered any help. What can I do here for someone to help on this. I offered to pay as well. Thank you.

       

      Subject: Willing to Pay!! Unknown Source error. Seems to occur when click after page idle for a while.

       

      7/5/2013: This is still happening even when pages are not changed on the server. Multiple tabs in browser open to the site. When click on a menu item of a tab that did not have activity for a bit of time, error sometimes appears.

       

      6/19/2013: Update - This just happened again. I am running the server within Eclipse Helios JBoss App Server on both the dev and production machines. This time, I had opened a page on the production machine. Then I updated the page on the dev machine. Copied the page from the dev machine to production and refreshed which caused an instant publish on the production machine. I then refreshed (F5) in Firefox to that page (production machine version) and the error surfaced.

       

      Original Post Submitted on 6/7/2013 Below:

      I have been getting this error for a while and still cannot figure out what is doing this or how to solve it. It is really disruptive.

      Normally, the error does not show itself. But if a page to my site is left idle for a while and then later clicked on, sometimes it shows.

      Any ideas? Please inform of what additional details would be helpful.

       

      javax.el.ELException: /layout/common/defaultAHeader.xhtml: Error reading 'companyObj' on type org.javassist.tmp.java.lang.Object_$$_javassist_seam_1

          at com.sun.facelets.compiler.TextInstruction.write(TextInstruction.java:48)

          at com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:39)

          at com.sun.facelets.compiler.UILeaf.encodeAll(UILeaf.java:149)

          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)

          at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592)

          at com.oneaction.common.util.ReverseProxyViewHandler.renderView(ReverseProxyViewHandler.java:510)

          at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)

          at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)

          at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)

          at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)

          at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)

          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)

          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.IdentityFilter.doFilter(IdentityFilter.java:40)

          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

          at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)

          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.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)

          at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)

          at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368)

          at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)

          at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)

          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

          at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)

          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

          at org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53)

          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:235)

          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

          at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)

          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)

          at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)

          at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)

          at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)

          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:158)

          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)

          at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:436)

          at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:384)

          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

          at java.lang.Thread.run(Thread.java:662)

      Caused by: javax.ejb.EJBTransactionRolledbackException: org.jboss.serial.exception.SerializationException: Could not create instance of com.local.util.LocalSessionStatefulAction$SitePathAction - com.local.util.LocalSessionStatefulAction$SitePathAction

          at org.jboss.ejb3.tx.Ejb3TxPolicy.handleInCallerTx(Ejb3TxPolicy.java:115)

          at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:130)

          at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:194)

          at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

          at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)

          at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

          at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)

          at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

          at org.jboss.ejb3.security.RoleBasedAuthorizationInterceptorv2.invoke(RoleBasedAuthorizationInterceptorv2.java:201)

          at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

          at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:186)

          at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

          at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41)

          at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

          at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67)

          at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

          at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67)

          at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

          at org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:176)

          at org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:216)

          at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:207)

          at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:164)

          at $Proxy729.getCompanyObj(Unknown Source)

          at sun.reflect.GeneratedMethodAccessor714.invoke(Unknown Source)

          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:22)

          at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32)

          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:43)

          at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)

          at org.jboss.seam.core.SynchronizationInterceptor.aroundInvoke(SynchronizationInterceptor.java:32)

          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_seam_1.getCompanyObj(Object_$$_javassist_seam_1.java)

          at sun.reflect.GeneratedMethodAccessor713.invoke(Unknown Source)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

          at java.lang.reflect.Method.invoke(Method.java:597)

          at javax.el.BeanELResolver.getValue(BeanELResolver.java:62)

          at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54)

          at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)

          at org.jboss.el.parser.AstPropertySuffix.getValue(AstPropertySuffix.java:53)

          at org.jboss.el.parser.AstValue.getValue(AstValue.java:67)

          at org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)

          at com.sun.facelets.el.ELText$ELTextVariable.writeText(ELText.java:184)

          at com.sun.facelets.el.ELText$ELTextComposite.writeText(ELText.java:108)

          at com.sun.facelets.compiler.TextInstruction.write(TextInstruction.java:45)

          ... 54 more

      Caused by: java.lang.RuntimeException: org.jboss.serial.exception.SerializationException: Could not create instance of com.local.util.LocalSessionStatefulAction$SitePathAction - com.local.util.LocalSessionStatefulAction$SitePathAction

          at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:896)

          at org.jboss.ejb3.stateful.StatefulBeanContext.postActivate(StatefulBeanContext.java:449)

          at org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.activateSession(StatefulSessionFilePersistenceManager.java:324)

          at org.jboss.ejb3.cache.simple.SimpleStatefulCache.get(SimpleStatefulCache.java:476)

          at org.jboss.ejb3.cache.simple.SimpleStatefulCache.get(SimpleStatefulCache.java:430)

          at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:59)

          at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

          at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)

          ... 101 more

      Caused by: org.jboss.serial.exception.SerializationException: Could not create instance of com.local.util.LocalSessionStatefulAction$SitePathAction - com.local.util.LocalSessionStatefulAction$SitePathAction

          at org.jboss.serial.classmetamodel.ClassMetaData.newInstance(ClassMetaData.java:342)

          at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:239)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82)

          at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643)

          at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353)

          at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273)

          at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82)

          at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643)

          at org.jboss.serial.persister.ArrayPersister.readObjectArray(ArrayPersister.java:196)

          at org.jboss.serial.persister.ArrayPersister.readData(ArrayPersister.java:172)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412)

          at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82)

          at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643)

          at org.jboss.serial.io.JBossObjectInputStream.readObjectOverride(JBossObjectInputStream.java:163)

          at java.io.ObjectInputStream.readObject(ObjectInputStream.java:344)

          at org.jboss.serial.io.MarshalledObject.get(MarshalledObject.java:68)

          at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:867)

          ... 108 more

      Caused by: java.lang.InstantiationException: com.local.util.LocalSessionStatefulAction$SitePathAction

          at java.lang.Class.newInstance0(Class.java:340)

          at java.lang.Class.newInstance(Class.java:308)

          at org.jboss.serial.classmetamodel.ClassMetaData.newInstance(ClassMetaData.java:334)

          ... 127 more

       

       

      LocalSessionStateful.java:

      @Local public interface LocalSessionStateful {

      ...

        @Local public interface SitePath {

          ...

          public void destroy();

        }

        public SitePath getSitePath();

        public void setSitePath(SitePath sitePath);

       

        @Local public interface CompanyObj {

        ...

        public void destroy();

        }

        public CompanyObj getCompanyObj();

        public void setCompanyObj(CompanyObj companyObj);

      }

       

      LocalSessionStatefulAction.java:

      @Stateful

      @Name("localSessionStateful")

      @Scope(ScopeType.SESSION)

      @AutoCreate

      @Startup(depends="com.oneaction.common.util.SessionGeneral")

      public class LocalSessionStatefulAction implements LocalSessionStateful {

      ...

      public class SitePathAction implements SitePath {

        public final String publicBaseTLDDomain = "com";

        public String getPublicBaseTLDDomain() { return publicBaseTLDDomain; }

        ...

        @Destroy

        @Remove

        public void destroy() {}

      }

      private SitePath sitePath = new SitePathAction();

      public SitePath getSitePath(){return sitePath;}

      public void setSitePath(SitePath sitePath){this.sitePath = sitePath;}

       

      public class CompanyObjAction implements CompanyObj {

        public class CompanyNameObjAction implements CompanyNameObj {

          public final String shortName = "ABC Company";

        ...

        @Destroy

        @Remove

        public void destroy() {}

        }

      }

       

      Thank you,

      Jeff

        • 1. Re: Unknown Source error. Seems to occur when click after page idle for a while.
          bsgcic Newbie

          Finally seemed to solve this.

          Solution is to add the following:

          @TransactionAttribute(REQUIRES_NEW)

          • 2. Re: Unknown Source error. Seems to occur when click after page idle for a while.
            bsgcic Newbie

            Just happened again. Could someone please find it in their heart to take a quick read and send your ideas??? I really would appreciate it.  This is really a problem. I would be willing to pay someone a reasonable amount to assist. I am not rich, though would have to be pretty reasonable.

            • 4. Re: How can I influence people at this forum to help me with this bug?
              Hector Mendoza Newbie

              I think I had an issue similar to yours...

               

              It looks like you have something that can't be serialized after the passivate time from your ejb, in my case for example I had Map's and no-initialize Boolean's, so when stay inactive over pass the ejb timeout so the container write them on temp's files, after did any click or action the container  try to instantiate from temp's and raise an exception, that or in the moment when the container try's to passivate (serialize the ejb's) raise the exception.

               

              Look for object's that aren't serialize in your global variables, maybe is a clue for you.

               

              Edit:

              I think you should look in this line:

              Caused by: javax.ejb.EJBTransactionRolledbackException: org.jboss.serial.exception.SerializationException: Could not create instance of com.local.util.LocalSessionStatefulAction$SitePathAction - com.local.util.LocalSessionStatefulAction$SitePathAction

              When the container try to read it back, it can't instanciate this class com.local.util.LocalSessionStatefulAction$SitePathAction, which I think is a subclass.

              • 5. Re: How can I influence people at this forum to help me with this bug?
                bsgcic Newbie

                Hector,

                Thank you so much for your assistance. I have been wrestling with this for so long and finally have some help (your help) with it. I really appreciate it.

                I am going to check into an issue with something not being able to be serialized or global variables that aren't serialized.

                I noticed those error log lines as well about not being able to create an instance of subclass objects. I have subclasses of subclasses within com.local.util.LocalSessionStatefulAction. I haven't figured out what to do about it yet.

                 

                Jeff

                • 6. Re: How can I influence people at this forum to help me with this bug?
                  Hector Mendoza Newbie

                  Hi,

                   

                  You should look for non-serializable global objects in LocalSessionStatefulAction and subclases/classes that don't implement's java.io.Serializable,  this kind of details gave me a lot of problems in QA and are hard to find and solve.

                  • 7. Re: How can I influence people at this forum to help me with this bug?
                    bsgcic Newbie

                    Hi Hector,

                    Ok thank you. That is really helpful!

                    I am going to re-study the concept of serialization tomorrow so that I know what to look for. I forget the details about serialization (other than having implements Serializable in the class declaration.

                    Jeff

                    • 8. Re: How can I influence people at this forum to help me with this bug?
                      bsgcic Newbie

                      Hi Hector,

                       

                      I have added implements serialization to the classes that were being reported in the error log and am trying to see if it occurs again. Given that the errors are erratic in their surfacing, it makes it difficult to QA as you mentioned.

                       

                      I have a better understanding now of your advice. The issues with ensuring proper serialization in classes and sub-classes so that temp files can be correctly created and later restored.

                      I guess that means all of my classes (there are hundreds) should be changed to implementing serialization, right?

                       

                      Thanks

                      Jeff

                      • 9. Re: How can I influence people at this forum to help me with this bug?
                        Hector Mendoza Newbie

                        Hi bsgcic,

                         

                        It is not really necessary in all your classes, it depends the kind of usage of each one, scope, type etc, for example a session bean should be serializable but with the @local annotation it automatically convert to a serializable one by the engine, but classes declared inside the ejb should be serialized because when the engine read back the data, in another instance for example stateless beans is not necessary because of the short lifecycle, so never get to the passivate phase.

                         

                        If you have global variables that are out of your scope, because is from a framework (lib,etc) or something, maybe you could try null them before passivation and also declared globally as null (Foo f =null), so the engine don't try to instantiate them.

                         

                        PS. Sorry for my writing, english is not my native language.

                        • 10. Re: How can I influence people at this forum to help me with this bug?
                          bsgcic Newbie

                          Hi Hector,

                           

                          That is helpful. I imagine that having a non-serializable class import a serializable global one should be ok, right? I have been setting many of the global variables within the global script. Some of them are declared as final. I wonder if that contributes to the problem.

                          I am going to see which variables can be declared to null globally. I don't think there are many though.

                          I think your English is great by the way.

                           

                          Thanks,

                          Jeff

                          • 11. Re: How can I influence people at this forum to help me with this bug?
                            bsgcic Newbie

                            This error is really killing me.

                             

                            Is there anything (or things) in this servlet that looks like it could be the culprit?

                             

                            //$Id: SessionStatefulAction.java 2009-11-13 10:25:00 JMW $

                            package com.oneaction.common.util;

                             

                            import static javax.ejb.TransactionAttributeType.REQUIRES_NEW;

                             

                            import java.io.Serializable;

                             

                            import java.util.HashMap;

                            import java.util.Map;

                             

                            import javax.ejb.Remove;

                            import javax.ejb.Stateful;

                            import javax.ejb.Stateless;

                            import javax.ejb.TransactionAttribute;

                             

                            import javax.persistence.EntityManager;

                            import javax.persistence.NoResultException;

                            import javax.persistence.PersistenceContext;

                            import javax.persistence.PersistenceContextType;

                            import javax.persistence.Transient;

                             

                            import org.jboss.seam.annotations.AutoCreate;

                            import org.jboss.seam.annotations.Create;

                            import org.jboss.seam.annotations.Destroy;

                            import org.jboss.seam.annotations.In;

                            import org.jboss.seam.annotations.Name;

                            import org.jboss.seam.annotations.Scope;

                            import org.jboss.seam.annotations.Startup;

                            import org.jboss.seam.ScopeType;

                             

                            import org.jboss.seam.faces.FacesMessages;

                             

                            import com.oneaction.common.conversation.GeneralSettingsPage;

                            import com.oneaction.common.conversation.GeneralSettingsPageAction;

                            import com.oneaction.common.entity.QuoteRule;

                             

                            import javax.swing.JOptionPane;

                             

                            @Stateful

                            //CTM20130716 @Stateless

                            @Name("sessionStateful")

                            @Scope(ScopeType.SESSION)

                            //CTM20130716 @Scope(ScopeType.STATELESS)

                            //CTM20130611 @Scope(ScopeType.APPLICATION)

                            //CTM20130611 @Scope(ScopeType.CONVERSATION)

                            @TransactionAttribute(REQUIRES_NEW)

                            @AutoCreate

                            @Startup(depends="com.oneaction.common.util.SessionGeneral")

                            public class SessionStatefulAction implements SessionStateful, Serializable

                            //CTM20130718 public class SessionStatefulAction implements SessionStateful

                            //CTM20130711 Ref: https://community.jboss.org/message/822283#822283

                            //CTM20130711 Ref: http://www.onjava.com/pub/a/onjava/excerpt/JavaRMI_10/?page=3

                            {

                                //public static void SesionStateful() {}

                                //public SesionStateful() {}

                               

                                /**

                                 *

                                 */

                                private static final long serialVersionUID = -6825505819243206695L;

                               

                               

                               

                                //CTM20130715 ADDITION BEGIN

                                //CTM20130716 public SessionStatefulAction()

                                //CTM20130716 {

                                    //CTM20130716 create();

                                   

                                //CTM20130716 }

                                //CTM20130715 ADDITION END

                                public SessionStatefulAction() {}

                                //public SessionStatefulAction() {}

                               

                            //CTM20130717 COMMENTOUT BEGIN

                            //CTM20130717-COMMENTOUT     @PersistenceContext(type=PersistenceContextType.EXTENDED)

                            //CTM20130717-COMMENTOUT     //CTM20130715 @PersistenceContext

                            //CTM20130717-COMMENTOUT     @In(create=true)

                            //CTM20130717-COMMENTOUT     private EntityManager entityManager;

                            //CTM20130717-COMMENTOUT     //CTM20130715 private EntityManager entityManager = new EntityManager();

                            //CTM20130717-COMMENTOUT     //CTM20130715 Ref: http://javanotepad.blogspot.com/2007/08/managing-jpa-entitymanager-lifecycle.html

                            //CTM20130717-COMMENTOUT     //CTM20130715 Notes: entityManager.close();

                            //CTM20130717-COMMENTOUT     //CTM20130715 Notes: if (em != null)

                            //CTM20130717-COMMENTOUT     //CTM20130715 Notes:     em.lazyClose();

                            //CTM20130717-COMMENTOUT     //CTM20130715 javax.persistence.EntityManagerFactory entityManager = EntityManager.getInstance().getEntityManagerFactory();

                            //CTM20130717-COMMENTOUT     //CTM20130715 org.jboss.seam.persistence.EntityManagerFactory entityManager = EntityManager.getInstance().getEntityManagerFactory();

                            //CTM20130717-COMMENTOUT    

                            //CTM20130717-COMMENTOUT    

                            //CTM20130717-COMMENTOUT //CTM20130716 @In

                            //CTM20130717-COMMENTOUT @In(create=true)

                            //CTM20130717-COMMENTOUT private SessionGeneral sessionGeneral;

                            //CTM20130717-COMMENTOUT    

                            //CTM20130717-COMMENTOUT    

                            //CTM20130717-COMMENTOUT    

                            //CTM20130717-COMMENTOUT     @Create

                            //CTM20130717-COMMENTOUT     public void create() //Definition Begin

                            //CTM20130717-COMMENTOUT     {

                            //CTM20130717-COMMENTOUT         ////Note: DebugCommented (Options DebugCommented=If clause commented out; DebugNoIf=IfChecksCommentedDebugStatementsUnCommented; DebugIf=If clause to decide if to enter; DebugTest=Test condition (e.g., for debbuger); DebugNoTest=Commented out test condition (e.g., for debbuger))

                            //CTM20130717-COMMENTOUT         ////if (sessionGeneral.getDebug().OutputBln() == true && sessionGeneral.getDebug().getComponent().OutputBln() == true)

                            //CTM20130717-COMMENTOUT         ////{

                            //CTM20130717-COMMENTOUT             ////javax.faces.context.FacesContext.getCurrentInstance().addMessage("messagesPageProcessing", new FacesMessage("The following exception occurred: " +

                            //CTM20130717-COMMENTOUT                     ////noResultException.getMessage());

                            //CTM20130717-COMMENTOUT             //String debugMessageSegment = "";

                            //CTM20130717-COMMENTOUT             ////debugMessageSegment = "";

                            //CTM20130717-COMMENTOUT             //debugMessageSegment += "Inside SessionStatefulAction object.";

                            //CTM20130717-COMMENTOUT             //debugMessageSegment += "\n";

                            //CTM20130717-COMMENTOUT             //debugMessageSegment += "Inside public void Create().";

                            //CTM20130717-COMMENTOUT             //debugMessageSegment += "\n";

                            //CTM20130717-COMMENTOUT             //debugMessageSegment += "Before if (this.activityStatusObjectCls.getActiveObj() == null || this.activityStatusObjectCls.getActiveObj().getId() == null)";

                            //CTM20130717-COMMENTOUT            

                            //CTM20130717-COMMENTOUT             //sessionGeneral.getDebug().getAlertBox().open(debugMessageSegment);

                            //CTM20130717-COMMENTOUT            

                            //CTM20130717-COMMENTOUT         ////} //if (sessionGeneral.getDebug().OutputBln() == true && sessionGeneral.getDebug().getComponent().OutputBln() == true)

                            //CTM20130717-COMMENTOUT        

                            //CTM20130717-COMMENTOUT        

                            //CTM20130717-COMMENTOUT         //if (this.activityStatusObjectCls.getActiveObj() == null)

                            //CTM20130717-COMMENTOUT         if (this.activityStatusObjectCls.getActiveObj() == null || this.activityStatusObjectCls.getActiveObj().getId() == null)

                            //CTM20130717-COMMENTOUT         {

                            //CTM20130717-COMMENTOUT             //activeObj = new com.oneaction.entity.ActivityStatus();

                            //CTM20130717-COMMENTOUT            

                            //CTM20130717-COMMENTOUT            

                            //CTM20130717-COMMENTOUT             ////Note: DebugCommented (Options DebugCommented=If clause commented out; DebugNoIf=IfChecksCommentedDebugStatementsUnCommented; DebugIf=If clause to decide if to enter; DebugTest=Test condition (e.g., for debbuger); DebugNoTest=Commented out test condition (e.g., for debbuger))

                            //CTM20130717-COMMENTOUT             ////if (sessionGeneral.getDebug().OutputBln() == true && sessionGeneral.getDebug().getComponent().OutputBln() == true)

                            //CTM20130717-COMMENTOUT             ////{

                            //CTM20130717-COMMENTOUT                 ////javax.faces.context.FacesContext.getCurrentInstance().addMessage("messagesPageProcessing", new FacesMessage("The following exception occurred: " +

                            //CTM20130717-COMMENTOUT                         ////noResultException.getMessage());

                            //CTM20130717-COMMENTOUT                 ////String debugMessageSegment = "";

                            //CTM20130717-COMMENTOUT                 //debugMessageSegment = "";

                            //CTM20130717-COMMENTOUT                 //debugMessageSegment += "Inside SessionStatefulAction object.";

                            //CTM20130717-COMMENTOUT                 //debugMessageSegment += "\n";

                            //CTM20130717-COMMENTOUT                 //debugMessageSegment += "Inside public void Create().";

                            //CTM20130717-COMMENTOUT                 //debugMessageSegment += "\n";

                            //CTM20130717-COMMENTOUT                 //debugMessageSegment += "After if (this.activityStatusObjectCls.getActiveObj() == null || this.activityStatusObjectCls.getActiveObj().getId() == null))";

                            //CTM20130717-COMMENTOUT                 //debugMessageSegment += "\n";

                            //CTM20130717-COMMENTOUT                 //debugMessageSegment += "Before try {this.activityStatusObjectCls.setActiveObj ....";

                            //CTM20130717-COMMENTOUT                

                            //CTM20130717-COMMENTOUT                 //sessionGeneral.getDebug().getAlertBox().open(debugMessageSegment);

                            //CTM20130717-COMMENTOUT                

                            //CTM20130717-COMMENTOUT             ////} //if (sessionGeneral.getDebug().OutputBln() == true && sessionGeneral.getDebug().getComponent().OutputBln() == true)

                            //CTM20130717-COMMENTOUT            

                            //CTM20130717-COMMENTOUT                

                            //CTM20130717-COMMENTOUT             try

                            //CTM20130717-COMMENTOUT             {

                            //CTM20130717-COMMENTOUT                 this.activityStatusObjectCls.setActiveObj

                            //CTM20130717-COMMENTOUT                 (

                            //CTM20130717-COMMENTOUT                     //(com.oneaction.entity.ActivityStatus) entityManager.createQuery(

                            //CTM20130717-COMMENTOUT                     (com.oneaction.common.entity.ActivityStatus) entityManager.createQuery(

                            //CTM20130717-COMMENTOUT                         "select r from ActivityStatus r where " +

                            //CTM20130717-COMMENTOUT                         "r.id = :id")

                            //CTM20130717-COMMENTOUT                        

                            //CTM20130717-COMMENTOUT                         //.setParameter("id", ActivityStatusAction.IdAction.this.ACTIVE)

                            //CTM20130717-COMMENTOUT                         .setParameter("id", 1L)

                            //CTM20130717-COMMENTOUT                         .getSingleResult()

                            //CTM20130717-COMMENTOUT                 );

                            //CTM20130717-COMMENTOUT                

                            //CTM20130717-COMMENTOUT                

                            //CTM20130717-COMMENTOUT                

                            //CTM20130717-COMMENTOUT                 ////Note: DebugCommented (Options DebugCommented=If clause commented out; DebugNoIf=IfChecksCommentedDebugStatementsUnCommented; DebugIf=If clause to decide if to enter; DebugTest=Test condition (e.g., for debbuger); DebugNoTest=Commented out test condition (e.g., for debbuger))

                            //CTM20130717-COMMENTOUT                 ////if (sessionGeneral.getDebug().OutputBln() == true && sessionGeneral.getDebug().getComponent().OutputBln() == true)

                            //CTM20130717-COMMENTOUT                 ////{

                            //CTM20130717-COMMENTOUT                     ////javax.faces.context.FacesContext.getCurrentInstance().addMessage("messagesPageProcessing", new FacesMessage("The following exception occurred: " +

                            //CTM20130717-COMMENTOUT                             ////noResultException.getMessage());

                            //CTM20130717-COMMENTOUT                     ////String debugMessageSegment = "";

                            //CTM20130717-COMMENTOUT                     //debugMessageSegment = "";

                            //CTM20130717-COMMENTOUT                     //debugMessageSegment += "Inside SessionStatefulAction object.";

                            //CTM20130717-COMMENTOUT                     //debugMessageSegment += "\n";

                            //CTM20130717-COMMENTOUT                     //debugMessageSegment += "Inside public void Create().";

                            //CTM20130717-COMMENTOUT                     //debugMessageSegment += "\n";

                            //CTM20130717-COMMENTOUT                     //debugMessageSegment += "After if (this.activityStatusObjectCls.getActiveObj() == null || this.activityStatusObjectCls.getActiveObj().getId() == null)";

                            //CTM20130717-COMMENTOUT                     //debugMessageSegment += "\n";

                            //CTM20130717-COMMENTOUT                     //debugMessageSegment += "Inside try and after {this.activityStatusObjectCls.setActiveObj ....";

                            //CTM20130717-COMMENTOUT                     //debugMessageSegment += "\n";

                            //CTM20130717-COMMENTOUT                     //debugMessageSegment += "this.activityStatusObjectCls.getActiveObj().getId(): " +

                            //CTM20130717-COMMENTOUT                         //this.activityStatusObjectCls.getActiveObj().getId().toString();

                            //CTM20130717-COMMENTOUT                    

                            //CTM20130717-COMMENTOUT                     //sessionGeneral.getDebug().getAlertBox().open(debugMessageSegment);

                            //CTM20130717-COMMENTOUT                    

                            //CTM20130717-COMMENTOUT                 ////} //if (sessionGeneral.getDebug().OutputBln() == true && sessionGeneral.getDebug().getComponent().OutputBln() == true)

                            //CTM20130717-COMMENTOUT                

                            //CTM20130717-COMMENTOUT             } //try

                            //CTM20130717-COMMENTOUT            

                            //CTM20130717-COMMENTOUT             //catch (InstantiationException instantiationException)

                            //CTM20130717-COMMENTOUT             //catch (IllegalAccessException illegalAccessException)

                            //CTM20130717-COMMENTOUT             catch (NoResultException noResultException)

                            //CTM20130717-COMMENTOUT             {

                            //CTM20130717-COMMENTOUT                 noResultException.printStackTrace();

                            //CTM20130717-COMMENTOUT                

                            //CTM20130717-COMMENTOUT                 ////Note: DebugCommented (Options DebugCommented=If clause commented out; DebugNoIf=IfChecksCommentedDebugStatementsUnCommented; DebugIf=If clause to decide if to enter; DebugTest=Test condition (e.g., for debbuger); DebugNoTest=Commented out test condition (e.g., for debbuger))

                            //CTM20130717-COMMENTOUT                 ////if (sessionGeneral.getDebug().OutputBln() == true && sessionGeneral.getDebug().getComponent().OutputBln() == true)

                            //CTM20130717-COMMENTOUT                 ////{

                            //CTM20130717-COMMENTOUT                     ////javax.faces.context.FacesContext.getCurrentInstance().addMessage("messagesPageProcessing", new FacesMessage("The following exception occurred: " +

                            //CTM20130717-COMMENTOUT                             ////noResultException.getMessage());

                            //CTM20130717-COMMENTOUT                     ////String debugMessageSegment = "";

                            //CTM20130717-COMMENTOUT                     //debugMessageSegment = "";

                            //CTM20130717-COMMENTOUT                     //debugMessageSegment += "Inside SessionStatefulAction object.";

                            //CTM20130717-COMMENTOUT                     //debugMessageSegment += "\n";

                            //CTM20130717-COMMENTOUT                     //debugMessageSegment += "Inside public void Create().";

                            //CTM20130717-COMMENTOUT                     //debugMessageSegment += "\n";

                            //CTM20130717-COMMENTOUT                     //debugMessageSegment += "After if (this.activityStatusObjectCls.getActiveObj() == null || this.activityStatusObjectCls.getActiveObj().getId() == null)";

                            //CTM20130717-COMMENTOUT                     //debugMessageSegment += "\n";

                            //CTM20130717-COMMENTOUT                     //debugMessageSegment += "Inside catch (NoResultException noResultException).";

                            //CTM20130717-COMMENTOUT                     //debugMessageSegment += "\n";

                            //CTM20130717-COMMENTOUT                     //debugMessageSegment += "After try {this.activityStatusObjectCls.setActiveObj ....";

                            //CTM20130717-COMMENTOUT                    

                            //CTM20130717-COMMENTOUT                     //sessionGeneral.getDebug().getAlertBox().open(debugMessageSegment);

                            //CTM20130717-COMMENTOUT                    

                            //CTM20130717-COMMENTOUT                 ////} //if (sessionGeneral.getDebug().OutputBln() == true && sessionGeneral.getDebug().getComponent().OutputBln() == true)

                            //CTM20130717-COMMENTOUT                

                            //CTM20130717-COMMENTOUT             } //catch (NoResultException noResultException)

                            //CTM20130717-COMMENTOUT             //catch (Exception exception)

                            //CTM20130717-COMMENTOUT            

                            //CTM20130717-COMMENTOUT         } //if (this.activityStatusObjectCls.getActiveObj() == null || this.activityStatusObjectCls.getActiveObj().getId() == null)

                            //CTM20130717-COMMENTOUT        

                            //CTM20130717-COMMENTOUT        

                            //CTM20130717-COMMENTOUT         //else //Not (if (this.activityStatusObjectCls.getActiveObj() == null || this.activityStatusObjectCls.getActiveObj().getId() == null))

                            //CTM20130717-COMMENTOUT         //{

                            //CTM20130717-COMMENTOUT             ////Note: DebugCommented (Options DebugCommented=If clause commented out; DebugNoIf=IfChecksCommentedDebugStatementsUnCommented; DebugIf=If clause to decide if to enter; DebugTest=Test condition (e.g., for debbuger); DebugNoTest=Commented out test condition (e.g., for debbuger))

                            //CTM20130717-COMMENTOUT             ////if (sessionGeneral.getDebug().OutputBln() == true && sessionGeneral.getDebug().getComponent().OutputBln() == true)

                            //CTM20130717-COMMENTOUT             ////{

                            //CTM20130717-COMMENTOUT                 ////javax.faces.context.FacesContext.getCurrentInstance().addMessage("messagesPageProcessing", new FacesMessage("The following exception occurred: " +

                            //CTM20130717-COMMENTOUT                         ////noResultException.getMessage());

                            //CTM20130717-COMMENTOUT                 ////String debugMessageSegment = "";

                            //CTM20130717-COMMENTOUT                 //debugMessageSegment = "";

                            //CTM20130717-COMMENTOUT                 //debugMessageSegment += "Inside SessionStatefulAction object.";

                            //CTM20130717-COMMENTOUT                 //debugMessageSegment += "\n";

                            //CTM20130717-COMMENTOUT                 //debugMessageSegment += "Inside public void Create().";

                            //CTM20130717-COMMENTOUT                 //debugMessageSegment += "\n";

                            //CTM20130717-COMMENTOUT                 //debugMessageSegment += "Inside else //Not (if (this.activityStatusObjectCls.getActiveObj() == null || this.activityStatusObjectCls.getActiveObj().getId() == null)).";

                            //CTM20130717-COMMENTOUT                 //debugMessageSegment += "\n";

                            //CTM20130717-COMMENTOUT                 //debugMessageSegment += "this.activityStatusObjectCls.getActiveObj().getId():" +

                            //CTM20130717-COMMENTOUT                     //this.activityStatusObjectCls.getActiveObj().getId().toString();

                            //CTM20130717-COMMENTOUT                

                            //CTM20130717-COMMENTOUT                 //sessionGeneral.getDebug().getAlertBox().open(debugMessageSegment);

                            //CTM20130717-COMMENTOUT                

                            //CTM20130717-COMMENTOUT             ////} //if (sessionGeneral.getDebug().OutputBln() == true && sessionGeneral.getDebug().getComponent().OutputBln() == true)

                            //CTM20130717-COMMENTOUT            

                            //CTM20130717-COMMENTOUT         //} //else //Not (if (this.activityStatusObjectCls.getActiveObj() == null))

                            //CTM20130717-COMMENTOUT        

                            //CTM20130717-COMMENTOUT        

                            //CTM20130717-COMMENTOUT     } //public void Create() //Definition End

                            //CTM20130717-COMMENTOUT    

                            //CTM20130717-COMMENTOUT    

                            //CTM20130717-COMMENTOUT     //@AutoCreate

                            //CTM20130717-COMMENTOUT     //@Startup(depends="com.oneaction.common.util.SessionGeneral")

                            //CTM20130717-COMMENTOUT     public class ActivityStatusObjectClsAction implements ActivityStatusObjectCls //Definition Begin

                            //CTM20130717-COMMENTOUT     {

                            //CTM20130717-COMMENTOUT         /**

                            //CTM20130717-COMMENTOUT          *

                            //CTM20130717-COMMENTOUT          */

                            //CTM20130717-COMMENTOUT         private static final long serialVersionUID = -6461459617691425543L;

                            //CTM20130717-COMMENTOUT        

                            //CTM20130717-COMMENTOUT         //private ActivityStatus ACTIVE = new ActivityStatus();

                            //CTM20130717-COMMENTOUT         //private ActivityStatus activeObj = null;

                            //CTM20130717-COMMENTOUT         //private com.oneaction.entity.ActivityStatus activeObj = new com.oneaction.entity.ActivityStatus();

                            //CTM20130717-COMMENTOUT         //private com.oneaction.entity.ActivityStatus activeObj = null;

                            //CTM20130717-COMMENTOUT         private com.oneaction.common.entity.ActivityStatus activeObj = new com.oneaction.common.entity.ActivityStatus();

                            //CTM20130717-COMMENTOUT        

                            //CTM20130717-COMMENTOUT         //CTM20130716 ADDITION BEGIN

                            //CTM20130717-COMMENTOUT         @Transient

                            //CTM20130717-COMMENTOUT         //CTM20130716 ADDITION END

                            //CTM20130717-COMMENTOUT         //public com.oneaction.entity.ActivityStatus getActiveObj(){return activeObj;}

                            //CTM20130717-COMMENTOUT         public com.oneaction.common.entity.ActivityStatus getActiveObj(){return activeObj;}

                            //CTM20130717-COMMENTOUT         //public void setActiveObj(com.oneaction.entity.ActivityStatus activeObjParam){activeObj = activeObjParam;}

                            //CTM20130717-COMMENTOUT         public void setActiveObj(com.oneaction.common.entity.ActivityStatus activeObjParam){activeObj = activeObjParam;}

                            //CTM20130717-COMMENTOUT        

                            //CTM20130717-COMMENTOUT        

                            //CTM20130717-COMMENTOUT         //@Create

                            //CTM20130717-COMMENTOUT         //public void Create() //Definition Begin

                            //CTM20130717-COMMENTOUT         //{

                            //CTM20130717-COMMENTOUT             ////activeObj = new com.oneaction.entity.ActivityStatus();

                            //CTM20130717-COMMENTOUT            

                            //CTM20130717-COMMENTOUT            

                            //CTM20130717-COMMENTOUT             ////Note: DebugCommented (Options DebugCommented=If clause commented out; DebugNoIf=IfChecksCommentedDebugStatementsUnCommented; DebugIf=If clause to decide if to enter; DebugTest=Test condition (e.g., for debbuger); DebugNoTest=Commented out test condition (e.g., for debbuger))

                            //CTM20130717-COMMENTOUT             ////if (sessionGeneral.getDebug().OutputBln() == true && sessionGeneral.getDebug().getComponent().OutputBln() == true)

                            //CTM20130717-COMMENTOUT             ////{

                            //CTM20130717-COMMENTOUT                 ////javax.faces.context.FacesContext.getCurrentInstance().addMessage("messagesPageProcessing", new FacesMessage("The following exception occurred: " +

                            //CTM20130717-COMMENTOUT                         ////noResultException.getMessage());

                            //CTM20130717-COMMENTOUT                 //String debugMessageSegment = "";

                            //CTM20130717-COMMENTOUT                 ////debugMessageSegment = "";

                            //CTM20130717-COMMENTOUT                 //debugMessageSegment += "Inside SessionStatefulAction object.";

                            //CTM20130717-COMMENTOUT                 //debugMessageSegment += "\n";

                            //CTM20130717-COMMENTOUT                 //debugMessageSegment += "Inside public class ActivityStatusObjectClsAction implements ActivityStatusObjectCls.";

                            //CTM20130717-COMMENTOUT                 //debugMessageSegment += "\n";

                            //CTM20130717-COMMENTOUT                 //debugMessageSegment += "Inside public void Create().";

                            //CTM20130717-COMMENTOUT                 //debugMessageSegment += "\n";

                            //CTM20130717-COMMENTOUT                 //debugMessageSegment += "Before try {activeObj = ....";

                            //CTM20130717-COMMENTOUT                

                            //CTM20130717-COMMENTOUT                 //sessionGeneral.getDebug().getAlertBox().open(debugMessageSegment);

                            //CTM20130717-COMMENTOUT                

                            //CTM20130717-COMMENTOUT             ////} //if (sessionGeneral.getDebug().OutputBln() == true && sessionGeneral.getDebug().getComponent().OutputBln() == true)

                            //CTM20130717-COMMENTOUT            

                            //CTM20130717-COMMENTOUT            

                            //CTM20130717-COMMENTOUT             //try

                            //CTM20130717-COMMENTOUT             //{

                            //CTM20130717-COMMENTOUT                 //activeObj =

                            //CTM20130717-COMMENTOUT                     //(com.oneaction.entity.ActivityStatus) entityManager.createQuery(

                            //CTM20130717-COMMENTOUT                         //"select r from ActivityStatus r where " +

                            //CTM20130717-COMMENTOUT                         //"r.id = :id")

                            //CTM20130717-COMMENTOUT                        

                            //CTM20130717-COMMENTOUT                         ////.setParameter("id", ActivityStatusAction.IdAction.this.ACTIVE)

                            //CTM20130717-COMMENTOUT                         //.setParameter("id", 1L)

                            //CTM20130717-COMMENTOUT                         //.getSingleResult();

                            //CTM20130717-COMMENTOUT             //} //try

                            //CTM20130717-COMMENTOUT            

                            //CTM20130717-COMMENTOUT             ////catch (InstantiationException instantiationException)

                            //CTM20130717-COMMENTOUT             ////catch (IllegalAccessException illegalAccessException)

                            //CTM20130717-COMMENTOUT             //catch (NoResultException noResultException)

                            //CTM20130717-COMMENTOUT             //{

                            //CTM20130717-COMMENTOUT                 ////Note: DebugCommented (Options DebugCommented=If clause commented out; DebugNoIf=IfChecksCommentedDebugStatementsUnCommented; DebugIf=If clause to decide if to enter; DebugTest=Test condition (e.g., for debbuger); DebugNoTest=Commented out test condition (e.g., for debbuger))

                            //CTM20130717-COMMENTOUT                 ////if (sessionGeneral.getDebug().OutputBln() == true && sessionGeneral.getDebug().getComponent().OutputBln() == true)

                            //CTM20130717-COMMENTOUT                 ////{

                            //CTM20130717-COMMENTOUT                     ////javax.faces.context.FacesContext.getCurrentInstance().addMessage("messagesPageProcessing", new FacesMessage("The following exception occurred: " +

                            //CTM20130717-COMMENTOUT                             ////noResultException.getMessage());

                            //CTM20130717-COMMENTOUT                     ////String debugMessageSegment = "";

                            //CTM20130717-COMMENTOUT                     //debugMessageSegment = "";

                            //CTM20130717-COMMENTOUT                     //debugMessageSegment += "Inside SessionStatefulAction object.";

                            //CTM20130717-COMMENTOUT                     //debugMessageSegment += "\n";

                            //CTM20130717-COMMENTOUT                     //debugMessageSegment += "Inside public class ActivityStatusObjectClsAction implements ActivityStatusObjectCls.";

                            //CTM20130717-COMMENTOUT                     //debugMessageSegment += "\n";

                            //CTM20130717-COMMENTOUT                     //debugMessageSegment += "Inside public void Create().";

                            //CTM20130717-COMMENTOUT                     //debugMessageSegment += "\n";

                            //CTM20130717-COMMENTOUT                     //debugMessageSegment += "Inside catch (NoResultException noResultException).";

                            //CTM20130717-COMMENTOUT                     //debugMessageSegment += "\n";

                            //CTM20130717-COMMENTOUT                     //debugMessageSegment += "After try {activeObj = ....";

                            //CTM20130717-COMMENTOUT                    

                            //CTM20130717-COMMENTOUT                     //sessionGeneral.getDebug().getAlertBox().open(debugMessageSegment);

                            //CTM20130717-COMMENTOUT                    

                            //CTM20130717-COMMENTOUT                 ////} //if (sessionGeneral.getDebug().OutputBln() == true && sessionGeneral.getDebug().getComponent().OutputBln() == true)

                            //CTM20130717-COMMENTOUT                

                            //CTM20130717-COMMENTOUT             //} //catch (NoResultException noResultException)

                            //CTM20130717-COMMENTOUT             ////catch (Exception exception)

                            //CTM20130717-COMMENTOUT            

                            //CTM20130717-COMMENTOUT         //} //public void Create() //Definition End

                            //CTM20130717-COMMENTOUT        

                            //CTM20130717-COMMENTOUT        

                            //CTM20130717-COMMENTOUT        

                            //CTM20130717-COMMENTOUT         @Destroy

                            //CTM20130717-COMMENTOUT         @Remove

                            //CTM20130717-COMMENTOUT         public void destroy() {}

                            //CTM20130717-COMMENTOUT        

                            //CTM20130717-COMMENTOUT     } //public class ActivityStatusObjectClsAction implements ActivityStatusObjectCls

                            //CTM20130717-COMMENTOUT     private ActivityStatusObjectCls activityStatusObjectCls = new ActivityStatusObjectClsAction();

                            //CTM20130717-COMMENTOUT     public ActivityStatusObjectCls getActivityStatusObjectCls(){return activityStatusObjectCls;}

                            //CTM20130717-COMMENTOUT     public void setActivityStatusObjectCls(ActivityStatusObjectCls activityStatusObjectCls){this.activityStatusObjectCls = activityStatusObjectCls;}

                            //CTM20130717 COMMENTOUT END

                               

                               

                               

                               

                               

                               

                                public class GeneralSettingsPageObjectClsAction implements GeneralSettingsPageObjectCls //Definition Begin

                                {

                                    //private GeneralSettingsPage generalSettingsPageObj = new GeneralSettingsPage();

                                    //private GeneralSettingsPage generalSettingsPageObj = new GeneralSettingsPageAction();

                                    //private GeneralSettingsPage generalSettingsPageObj;

                                   

                                   

                                    //private String tstA = "This is tstA.";

                                   

                                    /**

                                     *

                                     */

                                    private static final long serialVersionUID = -3311089488921214017L;

                                   

                                    //private String mainTopicHeadingA;

                                    //private Map<Integer,String> mainTopicHeadingByConversationIdAMap = new HashMap<Integer,String>();

                                    private Map<String,String> mainTopicHeadingByCurrentURLAMap = new HashMap<String,String>();

                                   

                                    private Map<String,String> mainTopicHeadingATitlizedByCurrentURLAMap = new HashMap<String,String>();

                                   

                                    private Map<String,String> mainTopicHeadingShortByCurrentURLAMap = new HashMap<String,String>();

                                   

                                   

                                    public GeneralSettingsPageObjectClsAction() {};

                                    //public GeneralSettingsPageObjectClsAction()

                                    //{

                                        //create();

                                       

                                    //};

                                   

                                    @Create

                                  public void create()

                                  {

                                        //generalSettingsPageObj = new GeneralSettingsPageAction();

                                     

                                  } //public void create()

                                   

                                   

                                    //public GeneralSettingsPage getGeneralSettingsPageObj(){return generalSettingsPageObj;}

                                   

                                    //public void setGeneralSettingsPageObj(GeneralSettingsPage generalSettingsPageObjParam)

                                    //{

                                        //generalSettingsPageObj = generalSettingsPageObjParam;

                                       

                                        //generalSettingsPageObj.setMainTopicHeadingA("Set within SessionStatefulAction");

                                       

                                    //}

                                   

                                    //public String getTstA(){return tstA;}

                                    //public void setTstA(String tstAParam){tstA = tstAParam;}

                                   

                                   

                                   

                                    public Map<String, String> getMainTopicHeadingByCurrentURLAMap()

                                    {

                                        return mainTopicHeadingByCurrentURLAMap;

                                    }

                                   

                                    public void setMainTopicHeadingByCurrentURLAMap(Map<String, String> mainTopicHeadingByCurrentURLAMap)

                                    {

                                        this.mainTopicHeadingByCurrentURLAMap = mainTopicHeadingByCurrentURLAMap;

                                    }

                                   

                                   

                                   

                                    public Map<String, String> getMainTopicHeadingATitlizedByCurrentURLAMap()

                                    {

                                        return mainTopicHeadingATitlizedByCurrentURLAMap;

                                    }

                                   

                                    public void setMainTopicHeadingATitlizedByCurrentURLAMap(Map<String, String> mainTopicHeadingATitlizedByCurrentURLAMap)

                                    {

                                        this.mainTopicHeadingATitlizedByCurrentURLAMap = mainTopicHeadingATitlizedByCurrentURLAMap;

                                    }

                                   

                                   

                                   

                                    public Map<String, String> getMainTopicHeadingShortByCurrentURLAMap()

                                    {

                                        return mainTopicHeadingShortByCurrentURLAMap;

                                    }

                                   

                                    public void setMainTopicHeadingShortByCurrentURLAMap(Map<String, String> mainTopicHeadingShortByCurrentURLAMap)

                                    {

                                        this.mainTopicHeadingShortByCurrentURLAMap = mainTopicHeadingShortByCurrentURLAMap;

                                    }

                                   

                                   

                                   

                                    //public String getMainTopicHeadingA()

                                    public String getMainTopicHeadingA(Integer conversationId, String currentURL)

                                    {

                                        //return mainTopicHeadingA;

                                        //return this.mainTopicHeadingByConversationIdAMap.get(conversationId);

                                        return this.mainTopicHeadingByCurrentURLAMap.get(currentURL);

                                       

                                    }

                                   

                                    public void setMainTopicHeadingA(Integer conversationId, String currentURL, String mainTopicHeadingA)

                                    //public void setMainTopicHeadingA(String mainTopicHeadingA)

                                    {

                                        //this.mainTopicHeadingA = mainTopicHeadingA;

                                        //this.mainTopicHeadingByConversationIdAMap.put(conversationId, mainTopicHeadingA);

                                        this.mainTopicHeadingByCurrentURLAMap.put(currentURL, mainTopicHeadingA);

                                       

                                    }

                                   

                                   

                                   

                                    public String getMainTopicHeadingATitlized(Integer conversationId, String currentURL)

                                    {

                                        return this.mainTopicHeadingShortByCurrentURLAMap.get(currentURL);

                                       

                                    }

                                   

                                    public void setMainTopicHeadingATitlized(Integer conversationId, String currentURL, String mainTopicHeadingATitlized)

                                    {

                                        this.mainTopicHeadingShortByCurrentURLAMap.put(currentURL, mainTopicHeadingATitlized);

                                       

                                    }

                                   

                                   

                                   

                                    public String getMainTopicHeadingAShortA(Integer conversationId, String currentURL)

                                    {

                                        return this.mainTopicHeadingShortByCurrentURLAMap.get(currentURL);

                                       

                                    }

                                   

                                    public void setMainTopicHeadingAShortA(Integer conversationId, String currentURL, String mainTopicHeadingAShortA)

                                    {

                                        this.mainTopicHeadingShortByCurrentURLAMap.put(currentURL, mainTopicHeadingAShortA);

                                       

                                    }

                                   

                                   

                                    @Destroy

                                    @Remove

                                    public void destroy() {}

                                   

                                } //public class GeneralSettingsPageObjectClsAction implements GeneralSettingsPageObjectCls

                                private GeneralSettingsPageObjectCls generalSettingsPageObjectCls = new GeneralSettingsPageObjectClsAction();

                                public GeneralSettingsPageObjectCls getGeneralSettingsPageObjectCls(){return generalSettingsPageObjectCls;}

                                public void setGeneralSettingsPageObjectCls(GeneralSettingsPageObjectCls generalSettingsPageObjectCls){this.generalSettingsPageObjectCls = generalSettingsPageObjectCls;}

                               

                               

                               

                               

                               

                                public class GeneralObjectClsAction implements GeneralObjectCls //Definition Begin

                                {

                                    /**

                                     *

                                     */

                                    private static final long serialVersionUID = 8813939347640010298L;

                                   

                                    private Integer currentYear = 2013;

                                   

                                    public Integer getCurrentYear(){return currentYear;}

                                    public void setCurrentYear(Integer currentYearParam){currentYear = currentYearParam;}

                                   

                                    @Destroy

                                    @Remove

                                    public void destroy() {}

                                   

                                } //public class GeneralObjectClsAction implements GeneralObjectCls

                                private GeneralObjectCls generalObjectCls = new GeneralObjectClsAction();

                                public GeneralObjectCls getGeneralObjectCls(){return generalObjectCls;}

                                public void setGeneralObjectCls(GeneralObjectCls generalObjectCls){this.generalObjectCls = generalObjectCls;}

                               

                               

                               

                                //public class SitePathAction implements SitePath //Definition Begin

                                //{

                                    //public final String context = "com-oneaction/";

                                   

                                    //public String getContext()

                                    //{

                                        //return context;

                                       

                                    //} //public String getContext()

                                   

                                //} //public class SitePathAction //Definition End

                                //private SitePath sitePath = new SitePathAction();

                                //public SitePath getSitePath(){return sitePath;}

                                //public void setSitePath(SitePath sitePath){this.sitePath = sitePath;}

                               

                               

                               

                                public static class ActivityStatusAction implements ActivityStatus

                                {

                                    public static class IdAction implements Id

                                    {

                                        //public Long getACTIVE() { return 1L; }

                                        private Long ACTIVE = 1L;

                                        public Long getACTIVE(){return ACTIVE;}

                                        public void setACTIVE(Long active){ACTIVE = active;}

                                       

                                        //@Destroy

                                        //@Remove

                                        //public void destroy() {}

                                       

                                    } //public class IdAction implements Id

                                    private Id id = new IdAction();

                                    public Id getId(){return id;}

                                    public void setId(Id id){this.id = id;}

                                   

                                   

                                    public static class IdStrAction implements IdStr

                                    {

                                        //public String getACTIVE() { return "active"; }

                                        private String ACTIVE = "active";

                                        public String getACTIVE(){return ACTIVE;}

                                        public void setACTIVE(String active){ACTIVE = active;}

                                       

                                        //@Destroy

                                        //@Remove

                                        //public void destroy() {}

                                       

                                    } //public class IdStrAction implements IdStr

                                    private IdStr idStr = new IdStrAction();

                                    public IdStr getIdStr(){return idStr;}

                                    public void setIdStr(IdStr idStr){this.idStr = idStr;}

                                   

                                   

                                } //public class ActivityStatusAction implements ActivityStatus

                                private ActivityStatus activityStatus = new ActivityStatusAction();

                                public void setActivityStatus(ActivityStatus activityStatus){this.activityStatus = activityStatus;}

                                public ActivityStatus getActivityStatus(){return activityStatus;}

                               

                               

                               

                               

                                public class GeneralMessagesObjAction implements GeneralMessagesObj //Definition Begin

                                {

                                    /**

                                     *

                                     */

                                    private static final long serialVersionUID = 7638219345668393007L;

                                   

                                    public class WebFormMessagesObjAction implements WebFormMessagesObj //Definition Begin

                                    {

                                        /**

                                         *

                                         */

                                        private static final long serialVersionUID = 6189631456375049673L;

                                       

                                       

                                        public class SubmissionResultMessagesObjAction implements SubmissionResultMessagesObj //Definition Begin

                                        {

                                            /**

                                             *

                                             */

                                            private static final long serialVersionUID = 3060147302969283020L;

                                           

                                            public class SuccessMessagesObjAction implements SuccessMessagesObj //Definition Begin

                                            {

                                                /**

                                                 *

                                                 */

                                                private static final long serialVersionUID = 6774326997544455934L;

                                               

                                                public final String emailSentSuccessfullyParam = "Email sent successfully.";

                                               

                                                public String getEmailSentSuccessfullyParam()

                                                {

                                                    return emailSentSuccessfullyParam;

                                                   

                                                } //public String getEmailSentSuccessfullyParam()

                                               

                                               

                                                public final String webInquiryReceivedParam = "Your web inquiry has been received.";

                                               

                                                public String getWebInquiryReceivedParam()

                                                {

                                                    return webInquiryReceivedParam;

                                                   

                                                } //public String getWebInquiryReceivedParam()

                                               

                                               

                                                public final String receiveResponseWithinTimeframeParam = "You should receive a response within one to two business days.";

                                               

                                                public String getReceiveResponseWithinTimeframeParam()

                                                {

                                                    return receiveResponseWithinTimeframeParam;

                                                   

                                                } //public String getReceiveResponseWithinTimeframeParam()

                                               

                                               

                                                public final String belowIsInfoSubmittedParam = "Below is the information that you just submitted.";

                                               

                                                public String getBelowIsInfoSubmittedParam()

                                                {

                                                    return belowIsInfoSubmittedParam;

                                                   

                                                } //public String getBelowIsInfoSubmittedParam()

                                               

                                               

                                                public final String attachmentFieldNowDisplayBlankParam = "Note that the attachment field will now display as blank.";

                                                //CTM20120820 public final String attachmentFieldNowDisplayBlankParam = "";

                                               

                                                public String getAttachmentFieldNowDisplayBlankParam()

                                                {

                                                    return attachmentFieldNowDisplayBlankParam;

                                                   

                                                } //public String getAttachmentFieldNowDisplayBlankParam()

                                               

                                               

                                                public final String howeverIfAttachmentSubmittedThenWasReceivedParam = "However if you just submitted an attachment then it was received.";

                                            //CTM20120820 public final String howeverIfAttachmentSubmittedThenWasReceivedParam = "";

                                               

                                                public String getHoweverIfAttachmentSubmittedThenWasReceivedParam()

                                                {

                                                    return howeverIfAttachmentSubmittedThenWasReceivedParam;

                                                   

                                                } //public String getHoweverIfAttachmentSubmittedThenWasReceivedParam()

                                               

                                               

                                                @Destroy

                                                @Remove

                                                public void destroy() {}

                                               

                                            } //public class SuccessMessagesObjAction //Definition End

                                            private SuccessMessagesObj successMessagesObj = new SuccessMessagesObjAction();

                                            public SuccessMessagesObj getSuccessMessagesObj(){return successMessagesObj;}

                                            public void setSuccessMessagesObj(SuccessMessagesObj successMessagesObj){this.successMessagesObj = successMessagesObj;}

                                           

                                            @Destroy

                                            @Remove

                                            public void destroy() {}

                                           

                                        } //public class SubmissionResultMessagesObjAction //Definition End

                                        private SubmissionResultMessagesObj submissionResultMessagesObj = new SubmissionResultMessagesObjAction();

                                        public SubmissionResultMessagesObj getSubmissionResultMessagesObj(){return submissionResultMessagesObj;}

                                        public void setSubmissionResultMessagesObj(SubmissionResultMessagesObj submissionResultMessagesObj){this.submissionResultMessagesObj = submissionResultMessagesObj;}

                                       

                                       

                                       

                                       

                                        @Destroy

                                        @Remove

                                        public void destroy() {}

                                       

                                    } //public class WebFormMessagesObjAction implements WebFormMessagesObj

                                    private WebFormMessagesObj webFormMessagesObj = new WebFormMessagesObjAction();

                                    public WebFormMessagesObj getWebFormMessagesObj(){return webFormMessagesObj;}

                                    public void setWebFormMessagesObj(WebFormMessagesObj webFormMessagesObj){this.webFormMessagesObj = webFormMessagesObj;}

                                   

                                    @Destroy

                                    @Remove

                                    public void destroy() {}

                                   

                                } //public class GeneralMessagesObjAction //Definition End

                                private GeneralMessagesObj generalMessagesObj = new GeneralMessagesObjAction();

                                public GeneralMessagesObj getGeneralMessagesObj(){return generalMessagesObj;}

                                public void setGeneralMessagesObj(GeneralMessagesObj generalMessagesObj){this.generalMessagesObj = generalMessagesObj;}

                               

                               

                               

                               

                                public static class MyMathAction implements MyMath

                                {

                                    //Note: 20100203: Ref: http://en.wikipedia.org/wiki/Geometric_series

                                    //Note: 20100203: For r != 1, the sum  for the first n terms of a geometric series is:

                                    //Note: 20100203:     a + ar + ar2 + ar3 + ... + a*(r to the n-1 power) = a * ( (1-(r to the nth power))/(1-r) )

                                    public Double sumOfGeometricSeries //Definition Begin

                                        (

                                            Double firstTerm,

                                            Double commonRatio,

                                            Double numberOfTerms,

                                            String debugUuidStr

                                        )

                                   

                                    {

                                        Double sumToReturn = 0D;

                                       

                                        if (commonRatio != 1)

                                        {

                                            sumToReturn = firstTerm *

                                                    (

                                                        (1 - Math.pow(commonRatio, numberOfTerms)) /

                                                        (1 - commonRatio)

                                                    );

                                           

                                        } //if (commonRatio != 1)

                                       

                                        else //Not (if (commonRatio != 1))

                                        {

                                            //jmwtodo: 20100203: Are there other invalid values for commonRatio or firstTerm?

                                            sumToReturn = firstTerm * numberOfTerms;

                                           

                                        } //else //Not (if (commonRatio != 1))

                                       

                                        return sumToReturn;

                                       

                                    } //public Double sumOfGeometricSeries //Definition End

                                   

                                   

                                   

                                   

                                    //Note: 20100203: Ref: http://en.wikipedia.org/wiki/Geometric_series

                                    //Note: 20100203: For r != 1, the sum  of an infinite geometric series is:

                                    //Note: 20100203:     a + ar + ar2 + ar3 + ... = a / (1-r)

                                    public Double sumOfInfiniteGeometricSeries //Definition Begin

                                        (

                                            Double firstTerm,

                                            Double commonRatio,

                                            String debugUuidStr

                                        )

                                   

                                    {

                                        Double sumToReturn = 0D;

                                       

                                        if (commonRatio != 1)

                                        {

                                            sumToReturn = firstTerm / (1 - commonRatio);

                                           

                                        } //if (commonRatio != 1)

                                       

                                        else //Not (if (commonRatio != 1))

                                        {

                                            //jmwtodo: 20100203: Are there other invalid values for commonRatio or firstTerm?

                                            sumToReturn = Double.POSITIVE_INFINITY;

                                           

                                        } //else //Not (if (commonRatio != 1))

                                       

                                        return sumToReturn;

                                       

                                    } //public Double sumOfGeometricSeries //Definition End

                                   

                                } //public class MyMathAction implements MyMath

                                private MyMath myMath = new MyMathAction();

                                public void setMyMath(MyMath myMath){this.myMath = myMath;}

                                public MyMath getMyMath(){return myMath;}

                               

                               

                               

                               

                                @Destroy

                                @Remove

                                public void destroy() {}

                               

                               

                            } //public class SessionStatefulAction implements SessionStateful

                             

                             

                             

                             

                             

                             

                             

                             

                             

                             

                             

                             

                            //$Id: SessionStateful.java 2009-11-13 10:25:00 JMW $

                            package com.oneaction.common.util;

                             

                            import java.util.Map;

                             

                            import javax.ejb.Local;

                             

                            import com.oneaction.common.conversation.GeneralSettingsPage;

                             

                            @Local

                            public interface SessionStateful

                            {

                                //public SessionStateful(){};

                               

                                //public void SessionStatefulAction();

                                //public SessionStatefulAction();

                               

                               

                            //CTM20130717 COMMENTOUT BEGIN

                            //CTM20130717-COMMENTOUT         public void create();

                            //CTM20130717-COMMENTOUT    

                            //CTM20130717-COMMENTOUT    

                            //CTM20130717-COMMENTOUT     @Local

                            //CTM20130717-COMMENTOUT     public interface ActivityStatusObjectCls

                            //CTM20130717-COMMENTOUT     {

                            //CTM20130717-COMMENTOUT         //public com.oneaction.entity.ActivityStatus getActiveObj();

                            //CTM20130717-COMMENTOUT         public com.oneaction.common.entity.ActivityStatus getActiveObj();

                            //CTM20130717-COMMENTOUT         //public void setActiveObj(com.oneaction.entity.ActivityStatus activeObjParam);

                            //CTM20130717-COMMENTOUT         public void setActiveObj(com.oneaction.common.entity.ActivityStatus activeObjParam);

                            //CTM20130717-COMMENTOUT        

                            //CTM20130717-COMMENTOUT         //public void Create();

                            //CTM20130717-COMMENTOUT        

                            //CTM20130717-COMMENTOUT         public void destroy();

                            //CTM20130717-COMMENTOUT        

                            //CTM20130717-COMMENTOUT     } //public interface ActivityStatusObjectCls

                            //CTM20130717-COMMENTOUT     public ActivityStatusObjectCls getActivityStatusObjectCls();

                            //CTM20130717-COMMENTOUT     public void setActivityStatusObjectCls(ActivityStatusObjectCls activityStatusObjectCls);

                               

                               

                               

                                @Local

                                public interface GeneralSettingsPageObjectCls

                                {

                                    //public com.oneaction.entity.GeneralSettingsPage getGeneralSettingsPageObj();

                                    //public GeneralSettingsPage getGeneralSettingsPageObj();

                                    //public void setGeneralSettingsPageObj(com.oneaction.conversation.GeneralSettingsPage generalSettingsPageObjParam);

                                    //public void setGeneralSettingsPageObj(GeneralSettingsPage generalSettingsPageObjParam);

                                   

                                    public void create();

                                   

                                    //public String getTstA();

                                    //public void setTstA(String tstA);

                                   

                                    public Map<String, String> getMainTopicHeadingByCurrentURLAMap();

                                    public void setMainTopicHeadingByCurrentURLAMap(Map<String, String> mainTopicHeadingByCurrentURLAMap);

                                   

                                   

                                    public Map<String, String> getMainTopicHeadingATitlizedByCurrentURLAMap();

                                    public void setMainTopicHeadingATitlizedByCurrentURLAMap(Map<String, String> mainTopicHeadingATitlizedByCurrentURLAMap);

                                   

                                   

                                    public Map<String, String> getMainTopicHeadingShortByCurrentURLAMap();

                                    public void setMainTopicHeadingShortByCurrentURLAMap(Map<String, String> mainTopicHeadingShortByCurrentURLAMap);

                                   

                                   

                                    public String getMainTopicHeadingA(Integer conversationId, String currentURL);

                                    public void setMainTopicHeadingA(Integer conversationId, String currentURL, String mainTopicHeadingA);

                                   

                                   

                                    public String getMainTopicHeadingATitlized(Integer conversationId, String currentURL);

                                    public void setMainTopicHeadingATitlized(Integer conversationId, String currentURL, String mainTopicHeadingATitlized);

                                   

                                   

                                    public String getMainTopicHeadingAShortA(Integer conversationId, String currentURL);

                                    public void setMainTopicHeadingAShortA(Integer conversationId, String currentURL, String mainTopicHeadingAShortA);

                                   

                                    public void destroy();

                                   

                                } //public interface GeneralSettingsPageObjectCls

                                public GeneralSettingsPageObjectCls getGeneralSettingsPageObjectCls();

                                public void setGeneralSettingsPageObjectCls(GeneralSettingsPageObjectCls generalSettingsPageObjectCls);

                               

                               

                               

                               

                                @Local

                                public interface GeneralObjectCls

                                {

                                    public Integer getCurrentYear();

                                    public void setCurrentYear(Integer currentYearParam);

                                   

                                    public void destroy();

                                   

                                } //public interface GeneralObjectCls

                                public GeneralObjectCls getGeneralObjectCls();

                                public void setGeneralObjectCls(GeneralObjectCls generalObjectCls);

                               

                               

                                //@Local

                                //public interface SitePath

                                //{

                                    //public String getContext();

                                   

                                //} //public interface SitePath

                                //public SitePath getSitePath();

                                //public void setSitePath(SitePath sitePath);

                               

                               

                                @Local

                                public static interface ActivityStatus

                                {

                                    @Local

                                    public static interface Id

                                    {

                                        public Long getACTIVE();

                                        public void setACTIVE(Long active);

                                       

                                        //public void destroy();

                                       

                                    } //public interface Id

                                    public Id getId();

                                    public void setId(Id id);

                                   

                                    @Local

                                    public static interface IdStr

                                    {

                                        public String getACTIVE();

                                        public void setACTIVE(String active);

                                       

                                        //public void destroy();

                                       

                                    } //public interface IdStr

                                    public IdStr getIdStr();

                                    public void setIdStr(IdStr idStr);

                                   

                                } //public interface ActivityStatus

                                public ActivityStatus getActivityStatus();

                                public void setActivityStatus(ActivityStatus activityStatus);

                               

                               

                                @Local

                                public interface GeneralMessagesObj

                                {

                                    @Local

                                    public interface WebFormMessagesObj

                                    {

                                        @Local

                                        public interface SubmissionResultMessagesObj

                                        {

                                            @Local

                                            public interface SuccessMessagesObj

                                            {

                                                public String getEmailSentSuccessfullyParam();

                                               

                                                public String getWebInquiryReceivedParam();

                                               

                                                public String getReceiveResponseWithinTimeframeParam();

                                               

                                                public String getBelowIsInfoSubmittedParam();

                                               

                                                public String getAttachmentFieldNowDisplayBlankParam();

                                               

                                                public String getHoweverIfAttachmentSubmittedThenWasReceivedParam();

                                               

                                                public void destroy();

                                               

                                            } //public interface SuccessMessagesObj

                                            public SuccessMessagesObj getSuccessMessagesObj();

                                            public void setSuccessMessagesObj(SuccessMessagesObj successMessagesObj);

                                           

                                           

                                            public void destroy();

                                           

                                        } //public interface SubmissionResultMessagesObj

                                        public SubmissionResultMessagesObj getSubmissionResultMessagesObj();

                                        public void setSubmissionResultMessagesObj(SubmissionResultMessagesObj submissionResultMessagesObj);

                                       

                                       

                                        public void destroy();

                                       

                                    } //public interface WebFormMessagesObj

                                    public WebFormMessagesObj getWebFormMessagesObj();

                                    public void setWebFormMessagesObj(WebFormMessagesObj webFormMessagesObj);

                                   

                                   

                                    public void destroy();

                                   

                                } //public interface GeneralMessagesObj

                                public GeneralMessagesObj getGeneralMessagesObj();

                                public void setGeneralMessagesObj(GeneralMessagesObj generalMessagesObjObj);

                               

                               

                                @Local

                                public static interface MyMath

                                {

                                    public Double sumOfGeometricSeries //Definition Begin

                                    (

                                        Double firstTerm,

                                        Double commonRatio,

                                        Double numberOfTerms,

                                        String debugUuidStr

                                    );

                                   

                                   

                                    public Double sumOfInfiniteGeometricSeries //Definition Begin

                                    (

                                        Double firstTerm,

                                        Double commonRatio,

                                        String debugUuidStr

                                    );

                                   

                                } //public interface MyMath

                                public MyMath getMyMath();

                                public void setMyMath(MyMath myMath);

                               

                               

                                public void destroy();

                               

                            } //public interface SessionStateful