You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Jim May <ji...@gmail.com> on 2011/09/30 15:54:02 UTC
Problem with ViewAccessScoped in MyFaces CODI 1.0.1
Hello,
I recently downloaded the codi library and added it to my JSF application
that is running on Glassfish 3.1.1. I am having problems where the method of
a bean is not recognized when I invoke an action. The error message I get is
that the property is null. I don't understand why it's looking for a
property when the method is specified for the action. I am using PrimeFaces
components and I have already filed the issue at the PrimeFaces forum. Still
no resolution.
For more details of my issue please go here:
http://forum.primefaces.org/viewtopic.php?f=3&t=15234
Not sure if this is a bug with the latest version of glassfish and it's
libraries. I am hoping that someone has already come across this issue.
Any help would be appreciated.
Thank You,
--
James May
Software Engineer / Architect
http://www.jamesmay.me
Re: Problem with ViewAccessScoped in MyFaces CODI 1.0.1
Posted by Jim May <ji...@gmail.com>.
nevermind. I got it. I had to remove the asterix from the google url
shortener.
On Sun, Oct 2, 2011 at 3:41 PM, Jim May <ji...@gmail.com> wrote:
> I clicked on the link and it is malformed and says page does not exist. The
> link with [1] in your first reply.
>
>
> On Sun, Oct 2, 2011 at 3:37 PM, Gerhard Petracek <
> gerhard.petracek@gmail.com> wrote:
>
>> hi james,
>>
>> i included it in my first answer.
>>
>> regards,
>> gerhard
>>
>> http://www.irian.at
>>
>> Your JSF powerhouse -
>> JSF Consulting, Development and
>> Courses in English and German
>>
>> Professional Support for Apache MyFaces
>>
>>
>>
>> 2011/10/2 Jim May <ji...@gmail.com>
>>
>> > What is the url for the snapshots and nightly builds for primefaces? I
>> am
>> > on
>> > their website and I'm trying to locate it. I only see the dev release
>> urls.
>> >
>> > On Sun, Oct 2, 2011 at 3:22 PM, Gerhard Petracek <
>> > gerhard.petracek@gmail.com
>> > > wrote:
>> >
>> > > hi james,
>> > >
>> > > with primefaces v3.0.M3 i also saw an exception.
>> > > -> please try it with v3.0.RC1-SNAPSHOT - maybe it's just a primefaces
>> > bug
>> > > in v3.0.M3.
>> > >
>> > > regards,
>> > > gerhard
>> > >
>> > > http://www.irian.at
>> > >
>> > > Your JSF powerhouse -
>> > > JSF Consulting, Development and
>> > > Courses in English and German
>> > >
>> > > Professional Support for Apache MyFaces
>> > >
>> > >
>> > >
>> > > 2011/10/2 Jim May <ji...@gmail.com>
>> > >
>> > > > Gerhard,
>> > > >
>> > > > What is the best way to get my entire project to you? The myfaces
>> email
>> > > > address will not accept a message with the attachment that large.
>> > > >
>> > > > Here is the log from deployment to error:
>> > > >
>> > > > WARNING: Illegal character in path at index 51:
>> > > > file:/home/user/Documents/Source/Bizznetworx/Iberis Web
>> > > > Admin/build/web/WEB-INF/lib/commons-logging-api-1.1.1.jar
>> > > > java.net.URISyntaxException: Illegal character in path at index 51:
>> > > > file:/home/user/Documents/Source/Bizznetworx/Iberis Web
>> > > > Admin/build/web/WEB-INF/lib/commons-logging-api-1.1.1.jar
>> > > > at java.net.URI$Parser.fail(URI.java:2825)
>> > > > at java.net.URI$Parser.checkChars(URI.java:2998)
>> > > > at java.net.URI$Parser.parseHierarchical(URI.java:3082)
>> > > > at java.net.URI$Parser.parse(URI.java:3030)
>> > > > at java.net.URI.<init>(URI.java:595)
>> > > > at java.net.URL.toURI(URL.java:936)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> com.sun.enterprise.v3.server.SnifferManagerImpl.getURIs(SnifferManagerImpl.java:268)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> com.sun.enterprise.v3.server.SnifferManagerImpl.getApplicableSniffers(SnifferManagerImpl.java:202)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> com.sun.enterprise.v3.server.SnifferManagerImpl.getSniffers(SnifferManagerImpl.java:150)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:606)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:368)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:382)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1064)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1244)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1232)
>> > > > at
>> > > >
>> >
>> com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:459)
>> > > > at
>> > >
>> com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:209)
>> > > > at
>> > > >
>> > >
>> >
>> com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)
>> > > > at
>> > > >
>> > >
>> >
>> com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:238)
>> > > > at
>> > >
>> com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
>> > > > at
>> com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
>> > > > at
>> com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
>> > > > at
>> > > >
>> > >
>> >
>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
>> > > > at
>> > > >
>> > >
>> >
>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
>> > > > at
>> > > >
>> >
>> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
>> > > > at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
>> > > > at java.lang.Thread.run(Thread.java:679)
>> > > >
>> > > > INFO: Instantiated an instance of
>> > > > org.hibernate.validator.engine.resolver.JPATraversableResolver.
>> > > > INFO:
>> > > >
>> > >
>> >
>> org.apache.myfaces.extensions.cdi.core.impl.provider.DefaultServiceProvider
>> > > > installed successfully.
>> > > > INFO:
>> > > >
>> > > >
>> > >
>> >
>> org.apache.myfaces.extensions.cdi.core.impl.provider.DefaultServiceProviderContext
>> > > > installed successfully.
>> > > > INFO: Computed the following CODI ProjectStage: Production
>> > > > INFO: Initializing Mojarra 2.1.3 (FCS b02) for context
>> > > '/Iberis_Web_Admin'
>> > > > INFO: [Started] MyFaces CODI (Extensions CDI) alternative config
>> > > >
>> > > >
>> > >
>> >
>> org.apache.myfaces.extensions.cdi.core.alternative.config.AlternativeCodiCoreConfig
>> > > > is active (v1.0.1)
>> > > >
>> > > > INFO: [Started] MyFaces CODI (Extensions CDI) alternative config
>> > > >
>> > > >
>> > >
>> >
>> org.apache.myfaces.extensions.cdi.jsf.alternative.config.AlternativeJsfModuleConfig
>> > > > is active (v1.0.1)
>> > > >
>> > > > INFO: Instantiated an instance of
>> > > > org.hibernate.validator.engine.resolver.JPATraversableResolver.
>> > > > INFO: Running on PrimeFaces 3.0.M3
>> > > > INFO: WEB0671: Loading application [Iberis_Web_Admin] at
>> > > > [/Iberis_Web_Admin]
>> > > > INFO: Iberis_Web_Admin was successfully deployed in 7,106
>> milliseconds.
>> > > > INFO: [Started] MyFaces CODI (Extensions CDI) alternative config
>> > > >
>> > > >
>> > >
>> >
>> org.apache.myfaces.extensions.cdi.core.alternative.scope.conversation.config.AlternativeWindowContextConfig
>> > > > is active (v1.0.1)
>> > > >
>> > > > INFO: [Started] MyFaces CODI (Extensions CDI) alternative config
>> > > >
>> > > >
>> > >
>> >
>> org.apache.myfaces.extensions.cdi.core.alternative.scope.conversation.config.AlternativeConversationConfig
>> > > > is active (v1.0.1)
>> > > >
>> > > > INFO: [Started] MyFaces CODI JSF-Module v1.0.1 for JSF 2.0
>> > > > Used JSF implementation: Mojarra v2.1.3-FCS
>> > > > config implementation:
>> > > >
>> > > >
>> > >
>> >
>> org.apache.myfaces.extensions.cdi.jsf.alternative.config.AlternativeJsfModuleConfig
>> > > > config implementation:
>> > > > org.apache.myfaces.extensions.cdi.jsf.api.config.JsfModuleConfig
>> > > > method: isInitialRedirectEnabled
>> > > > value: true
>> > > > method: isUseViewConfigsAsNavigationCasesEnabled
>> > > > value: true
>> > > > method: isInvalidValueAwareMessageInterpolatorEnabled
>> > > > value: true
>> > > > method: isAlwaysKeepMessages
>> > > > value: true
>> > > > config implementation:
>> > > >
>> > > >
>> > >
>> >
>> org.apache.myfaces.extensions.cdi.core.alternative.scope.conversation.config.AlternativeWindowContextConfig
>> > > > config implementation:
>> > > >
>> > > >
>> > >
>> >
>> org.apache.myfaces.extensions.cdi.core.api.scope.conversation.config.WindowContextConfig
>> > > > method: isUrlParameterSupported
>> > > > value: true
>> > > > method: isUnknownWindowIdsAllowed
>> > > > value: false
>> > > > method: isAddWindowIdToActionUrlsEnabled
>> > > > value: false
>> > > > method: getWindowContextTimeoutInMinutes
>> > > > value: 60
>> > > > method: getMaxWindowContextCount
>> > > > value: 64
>> > > > method: isCloseEmptyWindowContextsEnabled
>> > > > value: false
>> > > > method: isEagerWindowContextDetectionEnabled
>> > > > value: true
>> > > > method: isCreateWindowContextEventEnabled
>> > > > value: false
>> > > > method: isCloseWindowContextEventEnabled
>> > > > value: false
>> > > > config implementation:
>> > > >
>> > > >
>> > >
>> >
>> org.apache.myfaces.extensions.cdi.core.alternative.scope.conversation.config.AlternativeConversationConfig
>> > > > config implementation:
>> > > >
>> > > >
>> > >
>> >
>> org.apache.myfaces.extensions.cdi.core.api.scope.conversation.config.ConversationConfig
>> > > > method: getConversationTimeoutInMinutes
>> > > > value: 30
>> > > > method: isScopeBeanEventEnabled
>> > > > value: false
>> > > > method: isAccessBeanEventEnabled
>> > > > value: false
>> > > > method: isUnscopeBeanEventEnabled
>> > > > value: false
>> > > > method: isStartConversationEventEnabled
>> > > > value: false
>> > > > method: isCloseConversationEventEnabled
>> > > > value: false
>> > > > method: isRestartConversationEventEnabled
>> > > > value: false
>> > > > method: isConversationRequiredEnabled
>> > > > value: true
>> > > > MessageContextConfig class:
>> > > >
>> > >
>> >
>> org.apache.myfaces.extensions.cdi.message.impl.DefaultMessageContextConfig
>> > > > MessageInterpolator class: class
>> > > >
>> > >
>> >
>> org.apache.myfaces.extensions.cdi.jsf.impl.message.FacesMessageInterpolator
>> > > > MessageResolver class: class
>> > > >
>> > > >
>> > >
>> >
>> org.apache.myfaces.extensions.cdi.jsf.impl.message.JsfAwareApplicationMessagesMessageResolver
>> > > > MessageHandler class: class
>> > > >
>> >
>> org.apache.myfaces.extensions.cdi.jsf.impl.message.JsfAwareMessageHandler
>> > > > LocaleResolver class: class
>> > > >
>> >
>> org.apache.myfaces.extensions.cdi.jsf.impl.message.JsfAwareLocaleResolver
>> > > > FormatterFactory class: class
>> > > >
>> org.apache.myfaces.extensions.cdi.message.impl.DefaultFormatterFactory
>> > > >
>> > > > INFO: [Started] MyFaces CODI JSF-Module v1.0.1 for JSF 2.0
>> > > > Used JSF implementation: Mojarra v2.1.3-FCS
>> > > > config implementation:
>> > > >
>> > > >
>> > >
>> >
>> org.apache.myfaces.extensions.cdi.jsf.alternative.config.AlternativeJsfModuleConfig
>> > > > config implementation:
>> > > > org.apache.myfaces.extensions.cdi.jsf.api.config.JsfModuleConfig
>> > > > method: isInitialRedirectEnabled
>> > > > value: true
>> > > > method: isUseViewConfigsAsNavigationCasesEnabled
>> > > > value: true
>> > > > method: isInvalidValueAwareMessageInterpolatorEnabled
>> > > > value: true
>> > > > method: isAlwaysKeepMessages
>> > > > value: true
>> > > > config implementation:
>> > > >
>> > > >
>> > >
>> >
>> org.apache.myfaces.extensions.cdi.core.alternative.scope.conversation.config.AlternativeWindowContextConfig
>> > > > config implementation:
>> > > >
>> > > >
>> > >
>> >
>> org.apache.myfaces.extensions.cdi.core.api.scope.conversation.config.WindowContextConfig
>> > > > method: isUrlParameterSupported
>> > > > value: true
>> > > > method: isUnknownWindowIdsAllowed
>> > > > value: false
>> > > > method: isAddWindowIdToActionUrlsEnabled
>> > > > value: false
>> > > > method: getWindowContextTimeoutInMinutes
>> > > > value: 60
>> > > > method: getMaxWindowContextCount
>> > > > value: 64
>> > > > method: isCloseEmptyWindowContextsEnabled
>> > > > value: false
>> > > > method: isEagerWindowContextDetectionEnabled
>> > > > value: true
>> > > > method: isCreateWindowContextEventEnabled
>> > > > value: false
>> > > > method: isCloseWindowContextEventEnabled
>> > > > value: false
>> > > > config implementation:
>> > > >
>> > > >
>> > >
>> >
>> org.apache.myfaces.extensions.cdi.core.alternative.scope.conversation.config.AlternativeConversationConfig
>> > > > config implementation:
>> > > >
>> > > >
>> > >
>> >
>> org.apache.myfaces.extensions.cdi.core.api.scope.conversation.config.ConversationConfig
>> > > > method: getConversationTimeoutInMinutes
>> > > > value: 30
>> > > > method: isScopeBeanEventEnabled
>> > > > value: false
>> > > > method: isAccessBeanEventEnabled
>> > > > value: false
>> > > > method: isUnscopeBeanEventEnabled
>> > > > value: false
>> > > > method: isStartConversationEventEnabled
>> > > > value: false
>> > > > method: isCloseConversationEventEnabled
>> > > > value: false
>> > > > method: isRestartConversationEventEnabled
>> > > > value: false
>> > > > method: isConversationRequiredEnabled
>> > > > value: true
>> > > > MessageContextConfig class:
>> > > >
>> > >
>> >
>> org.apache.myfaces.extensions.cdi.message.impl.DefaultMessageContextConfig
>> > > > MessageInterpolator class: class
>> > > >
>> > >
>> >
>> org.apache.myfaces.extensions.cdi.jsf.impl.message.FacesMessageInterpolator
>> > > > MessageResolver class: class
>> > > >
>> > > >
>> > >
>> >
>> org.apache.myfaces.extensions.cdi.jsf.impl.message.JsfAwareApplicationMessagesMessageResolver
>> > > > MessageHandler class: class
>> > > >
>> >
>> org.apache.myfaces.extensions.cdi.jsf.impl.message.JsfAwareMessageHandler
>> > > > LocaleResolver class: class
>> > > >
>> >
>> org.apache.myfaces.extensions.cdi.jsf.impl.message.JsfAwareLocaleResolver
>> > > > FormatterFactory class: class
>> > > >
>> org.apache.myfaces.extensions.cdi.message.impl.DefaultFormatterFactory
>> > > >
>> > > > INFO: [Started] MyFaces CODI JPA-Module v1.0.1
>> > > >
>> > > > INFO: [Started] MyFaces CODI (Extensions CDI) Core v1.0.1
>> > > > Used CDI implementation: Weld v20110404-1554
>> > > > project-stage: Production
>> > > > project-stage class:
>> > > >
>> > > >
>> > >
>> >
>> org.apache.myfaces.extensions.cdi.core.api.projectstage.ProjectStage$Production
>> > > > application-parameters:
>> > > > name: com.sun.faces.forceLoadConfiguration
>> > > > value: true
>> > > > name: javax.faces.PARTIAL_STATE_SAVING
>> > > > value: false
>> > > > name: com.sun.faces.validateXml
>> > > > value: true
>> > > > name: javax.faces.PROJECT_STAGE
>> > > > value: Production
>> > > > name: primefaces.THEME
>> > > > value: aristo
>> > > > config implementation:
>> > > >
>> > > >
>> > >
>> >
>> org.apache.myfaces.extensions.cdi.core.alternative.config.AlternativeCodiCoreConfig
>> > > > config implementation:
>> > > > org.apache.myfaces.extensions.cdi.core.api.config.CodiCoreConfig
>> > > > method: isAdvancedQualifierRequiredForDependencyInjection
>> > > > value: true
>> > > > method: isConfigurationLoggingEnabled
>> > > > value: true
>> > > > method: isInvalidBeanCreationEventEnabled
>> > > > value: false
>> > > >
>> > > > INFO: [Started] MyFaces CODI Scripting-Module v1.0.1
>> > > >
>> > > > INFO: [Started] MyFaces CODI Bean-Validation-Module v1.0.1
>> > > > WARNING: PWC4011: Unable to set request character encoding to UTF-8
>> > from
>> > > > context /Iberis_Web_Admin, because request parameters have already
>> been
>> > > > read, or ServletRequest.getReader() has already been called
>> > > > WARNING: PWC4011: Unable to set request character encoding to UTF-8
>> > from
>> > > > context /Iberis_Web_Admin, because request parameters have already
>> been
>> > > > read, or ServletRequest.getReader() has already been called
>> > > > WARNING: PWC4011: Unable to set request character encoding to UTF-8
>> > from
>> > > > context /Iberis_Web_Admin, because request parameters have already
>> been
>> > > > read, or ServletRequest.getReader() has already been called
>> > > > WARNING: Target Unreachable, 'null' returned null
>> > > > javax.el.PropertyNotFoundException: Target Unreachable, 'null'
>> returned
>> > > > null
>> > > > at com.sun.el.parser.AstValue.getTarget(AstValue.java:150)
>> > > > at com.sun.el.parser.AstValue.getType(AstValue.java:76)
>> > > > at
>> com.sun.el.ValueExpressionImpl.getType(ValueExpressionImpl.java:195)
>> > > > at
>> > > >
>> > >
>> >
>> org.jboss.weld.el.WeldValueExpression.getType(WeldValueExpression.java:113)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:95)
>> > > > at
>> javax.faces.component.UIInput.getConvertedValue(UIInput.java:1030)
>> > > > at javax.faces.component.UIInput.validate(UIInput.java:960)
>> > > > at javax.faces.component.UIInput.executeValidate(UIInput.java:1233)
>> > > > at javax.faces.component.UIInput.processValidators(UIInput.java:698)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.primefaces.component.fieldset.Fieldset.processValidators(Fieldset.java:199)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
>> > > > at
>> > > >
>> >
>> org.primefaces.component.layout.Layout.processValidators(Layout.java:236)
>> > > > at javax.faces.component.UIForm.processValidators(UIForm.java:253)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
>> > > > at
>> > >
>> javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:1172)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:76)
>> > > > at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
>> > > > at
>> > com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.myfaces.extensions.cdi.jsf2.impl.listener.phase.CodiLifecycleWrapper.execute(CodiLifecycleWrapper.java:97)
>> > > > at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
>> > > > at
>> > > >
>> > >
>> >
>> org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1539)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
>> > > > at
>> > > >
>> > >
>> >
>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
>> > > > at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:330)
>> > > > at
>> > > >
>> > >
>> >
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:174)
>> > > > at
>> > >
>> com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
>> > > > at
>> com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
>> > > > at
>> com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
>> > > > at
>> > > >
>> > >
>> >
>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
>> > > > at
>> > > >
>> > >
>> >
>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
>> > > > at
>> > > >
>> >
>> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
>> > > > at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
>> > > > at
>> > > >
>> > > >
>> > >
>> >
>> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
>> > > > at java.lang.Thread.run(Thread.java:679)
>> > > >
>> > > > On Sun, Oct 2, 2011 at 2:06 PM, Gerhard Petracek <
>> > > > gerhard.petracek@gmail.com
>> > > > > wrote:
>> > > >
>> > > > > hi james,
>> > > > >
>> > > > > first of all: welcome @ myfaces!
>> > > > >
>> > > > > i tested it with primefaces v3.0.RC1-SNAPSHOT [1] and it works
>> fine.
>> > > > > please provide the whole log (startup until the exception) or a
>> demo
>> > > app
>> > > > > which shows the issue.
>> > > > >
>> > > > > regards,
>> > > > > gerhard
>> > > > >
>> > > > > [1] *http://goo.gl/cQEkC*
>> > > > >
>> > > > > http://www.irian.at
>> > > > >
>> > > > > Your JSF powerhouse -
>> > > > > JSF Consulting, Development and
>> > > > > Courses in English and German
>> > > > >
>> > > > > Professional Support for Apache MyFaces
>> > > > >
>> > > > >
>> > > > > 2011/9/30 Jim May <ji...@gmail.com>
>> > > > >
>> > > > > > Hello,
>> > > > > >
>> > > > > > I recently downloaded the codi library and added it to my JSF
>> > > > application
>> > > > > > that is running on Glassfish 3.1.1. I am having problems where
>> the
>> > > > method
>> > > > > > of
>> > > > > > a bean is not recognized when I invoke an action. The error
>> message
>> > I
>> > > > get
>> > > > > > is
>> > > > > > that the property is null. I don't understand why it's looking
>> for
>> > a
>> > > > > > property when the method is specified for the action. I am using
>> > > > > PrimeFaces
>> > > > > > components and I have already filed the issue at the PrimeFaces
>> > > forum.
>> > > > > > Still
>> > > > > > no resolution.
>> > > > > >
>> > > > > > For more details of my issue please go here:
>> > > > > > http://forum.primefaces.org/viewtopic.php?f=3&t=15234
>> > > > > >
>> > > > > > Not sure if this is a bug with the latest version of glassfish
>> and
>> > > it's
>> > > > > > libraries. I am hoping that someone has already come across this
>> > > issue.
>> > > > > >
>> > > > > > Any help would be appreciated.
>> > > > > >
>> > > > > > Thank You,
>> > > > > >
>> > > > > > --
>> > > > > > James May
>> > > > > > Software Engineer / Architect
>> > > > > > http://www.jamesmay.me
>> > > > > >
>> > > > >
>> > > >
>> > > >
>> > > >
>> > > > --
>> > > > James May
>> > > > Software Engineer / Architect
>> > > > http://www.jamesmay.me
>> > > >
>> > >
>> >
>> >
>> >
>> > --
>> > James May
>> > Software Engineer / Architect
>> > http://www.jamesmay.me
>> >
>>
>
>
>
> --
> James May
> Software Engineer / Architect
> http://www.jamesmay.me
>
>
--
James May
Software Engineer / Architect
http://www.jamesmay.me
Re: Problem with ViewAccessScoped in MyFaces CODI 1.0.1
Posted by Jim May <ji...@gmail.com>.
I clicked on the link and it is malformed and says page does not exist. The
link with [1] in your first reply.
On Sun, Oct 2, 2011 at 3:37 PM, Gerhard Petracek <gerhard.petracek@gmail.com
> wrote:
> hi james,
>
> i included it in my first answer.
>
> regards,
> gerhard
>
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>
>
>
> 2011/10/2 Jim May <ji...@gmail.com>
>
> > What is the url for the snapshots and nightly builds for primefaces? I am
> > on
> > their website and I'm trying to locate it. I only see the dev release
> urls.
> >
> > On Sun, Oct 2, 2011 at 3:22 PM, Gerhard Petracek <
> > gerhard.petracek@gmail.com
> > > wrote:
> >
> > > hi james,
> > >
> > > with primefaces v3.0.M3 i also saw an exception.
> > > -> please try it with v3.0.RC1-SNAPSHOT - maybe it's just a primefaces
> > bug
> > > in v3.0.M3.
> > >
> > > regards,
> > > gerhard
> > >
> > > http://www.irian.at
> > >
> > > Your JSF powerhouse -
> > > JSF Consulting, Development and
> > > Courses in English and German
> > >
> > > Professional Support for Apache MyFaces
> > >
> > >
> > >
> > > 2011/10/2 Jim May <ji...@gmail.com>
> > >
> > > > Gerhard,
> > > >
> > > > What is the best way to get my entire project to you? The myfaces
> email
> > > > address will not accept a message with the attachment that large.
> > > >
> > > > Here is the log from deployment to error:
> > > >
> > > > WARNING: Illegal character in path at index 51:
> > > > file:/home/user/Documents/Source/Bizznetworx/Iberis Web
> > > > Admin/build/web/WEB-INF/lib/commons-logging-api-1.1.1.jar
> > > > java.net.URISyntaxException: Illegal character in path at index 51:
> > > > file:/home/user/Documents/Source/Bizznetworx/Iberis Web
> > > > Admin/build/web/WEB-INF/lib/commons-logging-api-1.1.1.jar
> > > > at java.net.URI$Parser.fail(URI.java:2825)
> > > > at java.net.URI$Parser.checkChars(URI.java:2998)
> > > > at java.net.URI$Parser.parseHierarchical(URI.java:3082)
> > > > at java.net.URI$Parser.parse(URI.java:3030)
> > > > at java.net.URI.<init>(URI.java:595)
> > > > at java.net.URL.toURI(URL.java:936)
> > > > at
> > > >
> > > >
> > >
> >
> com.sun.enterprise.v3.server.SnifferManagerImpl.getURIs(SnifferManagerImpl.java:268)
> > > > at
> > > >
> > > >
> > >
> >
> com.sun.enterprise.v3.server.SnifferManagerImpl.getApplicableSniffers(SnifferManagerImpl.java:202)
> > > > at
> > > >
> > > >
> > >
> >
> com.sun.enterprise.v3.server.SnifferManagerImpl.getSniffers(SnifferManagerImpl.java:150)
> > > > at
> > > >
> > > >
> > >
> >
> com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:606)
> > > > at
> > > >
> > > >
> > >
> >
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:368)
> > > > at
> > > >
> > > >
> > >
> >
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
> > > > at
> > > >
> > > >
> > >
> >
> org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:382)
> > > > at
> > > >
> > > >
> > >
> >
> com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355)
> > > > at
> > > >
> > > >
> > >
> >
> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)
> > > > at
> > > >
> > > >
> > >
> >
> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1064)
> > > > at
> > > >
> > > >
> > >
> >
> com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)
> > > > at
> > > >
> > > >
> > >
> >
> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1244)
> > > > at
> > > >
> > > >
> > >
> >
> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1232)
> > > > at
> > > >
> > com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:459)
> > > > at
> > > com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:209)
> > > > at
> > > >
> > >
> >
> com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)
> > > > at
> > > >
> > >
> >
> com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
> > > > at
> > > >
> > > >
> > >
> >
> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:238)
> > > > at
> > >
> com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
> > > > at
> com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
> > > > at
> com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
> > > > at
> > > >
> > > >
> > >
> >
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
> > > > at
> > > >
> > > >
> > >
> >
> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
> > > > at
> > > >
> > >
> >
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
> > > > at
> > > >
> > >
> >
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
> > > > at
> > > >
> > com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
> > > > at
> > > >
> > > >
> > >
> >
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
> > > > at
> > > >
> > > >
> > >
> >
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
> > > > at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
> > > > at
> > > >
> > > >
> > >
> >
> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
> > > > at
> > > >
> > > >
> > >
> >
> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
> > > > at java.lang.Thread.run(Thread.java:679)
> > > >
> > > > INFO: Instantiated an instance of
> > > > org.hibernate.validator.engine.resolver.JPATraversableResolver.
> > > > INFO:
> > > >
> > >
> >
> org.apache.myfaces.extensions.cdi.core.impl.provider.DefaultServiceProvider
> > > > installed successfully.
> > > > INFO:
> > > >
> > > >
> > >
> >
> org.apache.myfaces.extensions.cdi.core.impl.provider.DefaultServiceProviderContext
> > > > installed successfully.
> > > > INFO: Computed the following CODI ProjectStage: Production
> > > > INFO: Initializing Mojarra 2.1.3 (FCS b02) for context
> > > '/Iberis_Web_Admin'
> > > > INFO: [Started] MyFaces CODI (Extensions CDI) alternative config
> > > >
> > > >
> > >
> >
> org.apache.myfaces.extensions.cdi.core.alternative.config.AlternativeCodiCoreConfig
> > > > is active (v1.0.1)
> > > >
> > > > INFO: [Started] MyFaces CODI (Extensions CDI) alternative config
> > > >
> > > >
> > >
> >
> org.apache.myfaces.extensions.cdi.jsf.alternative.config.AlternativeJsfModuleConfig
> > > > is active (v1.0.1)
> > > >
> > > > INFO: Instantiated an instance of
> > > > org.hibernate.validator.engine.resolver.JPATraversableResolver.
> > > > INFO: Running on PrimeFaces 3.0.M3
> > > > INFO: WEB0671: Loading application [Iberis_Web_Admin] at
> > > > [/Iberis_Web_Admin]
> > > > INFO: Iberis_Web_Admin was successfully deployed in 7,106
> milliseconds.
> > > > INFO: [Started] MyFaces CODI (Extensions CDI) alternative config
> > > >
> > > >
> > >
> >
> org.apache.myfaces.extensions.cdi.core.alternative.scope.conversation.config.AlternativeWindowContextConfig
> > > > is active (v1.0.1)
> > > >
> > > > INFO: [Started] MyFaces CODI (Extensions CDI) alternative config
> > > >
> > > >
> > >
> >
> org.apache.myfaces.extensions.cdi.core.alternative.scope.conversation.config.AlternativeConversationConfig
> > > > is active (v1.0.1)
> > > >
> > > > INFO: [Started] MyFaces CODI JSF-Module v1.0.1 for JSF 2.0
> > > > Used JSF implementation: Mojarra v2.1.3-FCS
> > > > config implementation:
> > > >
> > > >
> > >
> >
> org.apache.myfaces.extensions.cdi.jsf.alternative.config.AlternativeJsfModuleConfig
> > > > config implementation:
> > > > org.apache.myfaces.extensions.cdi.jsf.api.config.JsfModuleConfig
> > > > method: isInitialRedirectEnabled
> > > > value: true
> > > > method: isUseViewConfigsAsNavigationCasesEnabled
> > > > value: true
> > > > method: isInvalidValueAwareMessageInterpolatorEnabled
> > > > value: true
> > > > method: isAlwaysKeepMessages
> > > > value: true
> > > > config implementation:
> > > >
> > > >
> > >
> >
> org.apache.myfaces.extensions.cdi.core.alternative.scope.conversation.config.AlternativeWindowContextConfig
> > > > config implementation:
> > > >
> > > >
> > >
> >
> org.apache.myfaces.extensions.cdi.core.api.scope.conversation.config.WindowContextConfig
> > > > method: isUrlParameterSupported
> > > > value: true
> > > > method: isUnknownWindowIdsAllowed
> > > > value: false
> > > > method: isAddWindowIdToActionUrlsEnabled
> > > > value: false
> > > > method: getWindowContextTimeoutInMinutes
> > > > value: 60
> > > > method: getMaxWindowContextCount
> > > > value: 64
> > > > method: isCloseEmptyWindowContextsEnabled
> > > > value: false
> > > > method: isEagerWindowContextDetectionEnabled
> > > > value: true
> > > > method: isCreateWindowContextEventEnabled
> > > > value: false
> > > > method: isCloseWindowContextEventEnabled
> > > > value: false
> > > > config implementation:
> > > >
> > > >
> > >
> >
> org.apache.myfaces.extensions.cdi.core.alternative.scope.conversation.config.AlternativeConversationConfig
> > > > config implementation:
> > > >
> > > >
> > >
> >
> org.apache.myfaces.extensions.cdi.core.api.scope.conversation.config.ConversationConfig
> > > > method: getConversationTimeoutInMinutes
> > > > value: 30
> > > > method: isScopeBeanEventEnabled
> > > > value: false
> > > > method: isAccessBeanEventEnabled
> > > > value: false
> > > > method: isUnscopeBeanEventEnabled
> > > > value: false
> > > > method: isStartConversationEventEnabled
> > > > value: false
> > > > method: isCloseConversationEventEnabled
> > > > value: false
> > > > method: isRestartConversationEventEnabled
> > > > value: false
> > > > method: isConversationRequiredEnabled
> > > > value: true
> > > > MessageContextConfig class:
> > > >
> > >
> >
> org.apache.myfaces.extensions.cdi.message.impl.DefaultMessageContextConfig
> > > > MessageInterpolator class: class
> > > >
> > >
> >
> org.apache.myfaces.extensions.cdi.jsf.impl.message.FacesMessageInterpolator
> > > > MessageResolver class: class
> > > >
> > > >
> > >
> >
> org.apache.myfaces.extensions.cdi.jsf.impl.message.JsfAwareApplicationMessagesMessageResolver
> > > > MessageHandler class: class
> > > >
> > org.apache.myfaces.extensions.cdi.jsf.impl.message.JsfAwareMessageHandler
> > > > LocaleResolver class: class
> > > >
> > org.apache.myfaces.extensions.cdi.jsf.impl.message.JsfAwareLocaleResolver
> > > > FormatterFactory class: class
> > > >
> org.apache.myfaces.extensions.cdi.message.impl.DefaultFormatterFactory
> > > >
> > > > INFO: [Started] MyFaces CODI JSF-Module v1.0.1 for JSF 2.0
> > > > Used JSF implementation: Mojarra v2.1.3-FCS
> > > > config implementation:
> > > >
> > > >
> > >
> >
> org.apache.myfaces.extensions.cdi.jsf.alternative.config.AlternativeJsfModuleConfig
> > > > config implementation:
> > > > org.apache.myfaces.extensions.cdi.jsf.api.config.JsfModuleConfig
> > > > method: isInitialRedirectEnabled
> > > > value: true
> > > > method: isUseViewConfigsAsNavigationCasesEnabled
> > > > value: true
> > > > method: isInvalidValueAwareMessageInterpolatorEnabled
> > > > value: true
> > > > method: isAlwaysKeepMessages
> > > > value: true
> > > > config implementation:
> > > >
> > > >
> > >
> >
> org.apache.myfaces.extensions.cdi.core.alternative.scope.conversation.config.AlternativeWindowContextConfig
> > > > config implementation:
> > > >
> > > >
> > >
> >
> org.apache.myfaces.extensions.cdi.core.api.scope.conversation.config.WindowContextConfig
> > > > method: isUrlParameterSupported
> > > > value: true
> > > > method: isUnknownWindowIdsAllowed
> > > > value: false
> > > > method: isAddWindowIdToActionUrlsEnabled
> > > > value: false
> > > > method: getWindowContextTimeoutInMinutes
> > > > value: 60
> > > > method: getMaxWindowContextCount
> > > > value: 64
> > > > method: isCloseEmptyWindowContextsEnabled
> > > > value: false
> > > > method: isEagerWindowContextDetectionEnabled
> > > > value: true
> > > > method: isCreateWindowContextEventEnabled
> > > > value: false
> > > > method: isCloseWindowContextEventEnabled
> > > > value: false
> > > > config implementation:
> > > >
> > > >
> > >
> >
> org.apache.myfaces.extensions.cdi.core.alternative.scope.conversation.config.AlternativeConversationConfig
> > > > config implementation:
> > > >
> > > >
> > >
> >
> org.apache.myfaces.extensions.cdi.core.api.scope.conversation.config.ConversationConfig
> > > > method: getConversationTimeoutInMinutes
> > > > value: 30
> > > > method: isScopeBeanEventEnabled
> > > > value: false
> > > > method: isAccessBeanEventEnabled
> > > > value: false
> > > > method: isUnscopeBeanEventEnabled
> > > > value: false
> > > > method: isStartConversationEventEnabled
> > > > value: false
> > > > method: isCloseConversationEventEnabled
> > > > value: false
> > > > method: isRestartConversationEventEnabled
> > > > value: false
> > > > method: isConversationRequiredEnabled
> > > > value: true
> > > > MessageContextConfig class:
> > > >
> > >
> >
> org.apache.myfaces.extensions.cdi.message.impl.DefaultMessageContextConfig
> > > > MessageInterpolator class: class
> > > >
> > >
> >
> org.apache.myfaces.extensions.cdi.jsf.impl.message.FacesMessageInterpolator
> > > > MessageResolver class: class
> > > >
> > > >
> > >
> >
> org.apache.myfaces.extensions.cdi.jsf.impl.message.JsfAwareApplicationMessagesMessageResolver
> > > > MessageHandler class: class
> > > >
> > org.apache.myfaces.extensions.cdi.jsf.impl.message.JsfAwareMessageHandler
> > > > LocaleResolver class: class
> > > >
> > org.apache.myfaces.extensions.cdi.jsf.impl.message.JsfAwareLocaleResolver
> > > > FormatterFactory class: class
> > > >
> org.apache.myfaces.extensions.cdi.message.impl.DefaultFormatterFactory
> > > >
> > > > INFO: [Started] MyFaces CODI JPA-Module v1.0.1
> > > >
> > > > INFO: [Started] MyFaces CODI (Extensions CDI) Core v1.0.1
> > > > Used CDI implementation: Weld v20110404-1554
> > > > project-stage: Production
> > > > project-stage class:
> > > >
> > > >
> > >
> >
> org.apache.myfaces.extensions.cdi.core.api.projectstage.ProjectStage$Production
> > > > application-parameters:
> > > > name: com.sun.faces.forceLoadConfiguration
> > > > value: true
> > > > name: javax.faces.PARTIAL_STATE_SAVING
> > > > value: false
> > > > name: com.sun.faces.validateXml
> > > > value: true
> > > > name: javax.faces.PROJECT_STAGE
> > > > value: Production
> > > > name: primefaces.THEME
> > > > value: aristo
> > > > config implementation:
> > > >
> > > >
> > >
> >
> org.apache.myfaces.extensions.cdi.core.alternative.config.AlternativeCodiCoreConfig
> > > > config implementation:
> > > > org.apache.myfaces.extensions.cdi.core.api.config.CodiCoreConfig
> > > > method: isAdvancedQualifierRequiredForDependencyInjection
> > > > value: true
> > > > method: isConfigurationLoggingEnabled
> > > > value: true
> > > > method: isInvalidBeanCreationEventEnabled
> > > > value: false
> > > >
> > > > INFO: [Started] MyFaces CODI Scripting-Module v1.0.1
> > > >
> > > > INFO: [Started] MyFaces CODI Bean-Validation-Module v1.0.1
> > > > WARNING: PWC4011: Unable to set request character encoding to UTF-8
> > from
> > > > context /Iberis_Web_Admin, because request parameters have already
> been
> > > > read, or ServletRequest.getReader() has already been called
> > > > WARNING: PWC4011: Unable to set request character encoding to UTF-8
> > from
> > > > context /Iberis_Web_Admin, because request parameters have already
> been
> > > > read, or ServletRequest.getReader() has already been called
> > > > WARNING: PWC4011: Unable to set request character encoding to UTF-8
> > from
> > > > context /Iberis_Web_Admin, because request parameters have already
> been
> > > > read, or ServletRequest.getReader() has already been called
> > > > WARNING: Target Unreachable, 'null' returned null
> > > > javax.el.PropertyNotFoundException: Target Unreachable, 'null'
> returned
> > > > null
> > > > at com.sun.el.parser.AstValue.getTarget(AstValue.java:150)
> > > > at com.sun.el.parser.AstValue.getType(AstValue.java:76)
> > > > at
> com.sun.el.ValueExpressionImpl.getType(ValueExpressionImpl.java:195)
> > > > at
> > > >
> > >
> >
> org.jboss.weld.el.WeldValueExpression.getType(WeldValueExpression.java:113)
> > > > at
> > > >
> > > >
> > >
> >
> com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:95)
> > > > at javax.faces.component.UIInput.getConvertedValue(UIInput.java:1030)
> > > > at javax.faces.component.UIInput.validate(UIInput.java:960)
> > > > at javax.faces.component.UIInput.executeValidate(UIInput.java:1233)
> > > > at javax.faces.component.UIInput.processValidators(UIInput.java:698)
> > > > at
> > > >
> > > >
> > >
> >
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
> > > > at
> > > >
> > > >
> > >
> >
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
> > > > at
> > > >
> > > >
> > >
> >
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
> > > > at
> > > >
> > > >
> > >
> >
> org.primefaces.component.fieldset.Fieldset.processValidators(Fieldset.java:199)
> > > > at
> > > >
> > > >
> > >
> >
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
> > > > at
> > > >
> > > >
> > >
> >
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
> > > > at
> > > >
> > > >
> > >
> >
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
> > > > at
> > > >
> > org.primefaces.component.layout.Layout.processValidators(Layout.java:236)
> > > > at javax.faces.component.UIForm.processValidators(UIForm.java:253)
> > > > at
> > > >
> > > >
> > >
> >
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
> > > > at
> > > >
> > > >
> > >
> >
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
> > > > at
> > >
> javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:1172)
> > > > at
> > > >
> > > >
> > >
> >
> com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:76)
> > > > at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
> > > > at
> > com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.myfaces.extensions.cdi.jsf2.impl.listener.phase.CodiLifecycleWrapper.execute(CodiLifecycleWrapper.java:97)
> > > > at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1539)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
> > > > at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
> > > > at
> > > >
> > > >
> > >
> >
> com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
> > > > at
> > > >
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:330)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
> > > > at
> > > >
> > > >
> > >
> >
> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:174)
> > > > at
> > >
> com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
> > > > at
> com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
> > > > at
> com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
> > > > at
> > > >
> > > >
> > >
> >
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
> > > > at
> > > >
> > > >
> > >
> >
> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
> > > > at
> > > >
> > >
> >
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
> > > > at
> > > >
> > >
> >
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
> > > > at
> > > >
> > com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
> > > > at
> > > >
> > > >
> > >
> >
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
> > > > at
> > > >
> > > >
> > >
> >
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
> > > > at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
> > > > at
> > > >
> > > >
> > >
> >
> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
> > > > at
> > > >
> > > >
> > >
> >
> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
> > > > at java.lang.Thread.run(Thread.java:679)
> > > >
> > > > On Sun, Oct 2, 2011 at 2:06 PM, Gerhard Petracek <
> > > > gerhard.petracek@gmail.com
> > > > > wrote:
> > > >
> > > > > hi james,
> > > > >
> > > > > first of all: welcome @ myfaces!
> > > > >
> > > > > i tested it with primefaces v3.0.RC1-SNAPSHOT [1] and it works
> fine.
> > > > > please provide the whole log (startup until the exception) or a
> demo
> > > app
> > > > > which shows the issue.
> > > > >
> > > > > regards,
> > > > > gerhard
> > > > >
> > > > > [1] *http://goo.gl/cQEkC*
> > > > >
> > > > > http://www.irian.at
> > > > >
> > > > > Your JSF powerhouse -
> > > > > JSF Consulting, Development and
> > > > > Courses in English and German
> > > > >
> > > > > Professional Support for Apache MyFaces
> > > > >
> > > > >
> > > > > 2011/9/30 Jim May <ji...@gmail.com>
> > > > >
> > > > > > Hello,
> > > > > >
> > > > > > I recently downloaded the codi library and added it to my JSF
> > > > application
> > > > > > that is running on Glassfish 3.1.1. I am having problems where
> the
> > > > method
> > > > > > of
> > > > > > a bean is not recognized when I invoke an action. The error
> message
> > I
> > > > get
> > > > > > is
> > > > > > that the property is null. I don't understand why it's looking
> for
> > a
> > > > > > property when the method is specified for the action. I am using
> > > > > PrimeFaces
> > > > > > components and I have already filed the issue at the PrimeFaces
> > > forum.
> > > > > > Still
> > > > > > no resolution.
> > > > > >
> > > > > > For more details of my issue please go here:
> > > > > > http://forum.primefaces.org/viewtopic.php?f=3&t=15234
> > > > > >
> > > > > > Not sure if this is a bug with the latest version of glassfish
> and
> > > it's
> > > > > > libraries. I am hoping that someone has already come across this
> > > issue.
> > > > > >
> > > > > > Any help would be appreciated.
> > > > > >
> > > > > > Thank You,
> > > > > >
> > > > > > --
> > > > > > James May
> > > > > > Software Engineer / Architect
> > > > > > http://www.jamesmay.me
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > James May
> > > > Software Engineer / Architect
> > > > http://www.jamesmay.me
> > > >
> > >
> >
> >
> >
> > --
> > James May
> > Software Engineer / Architect
> > http://www.jamesmay.me
> >
>
--
James May
Software Engineer / Architect
http://www.jamesmay.me
Re: Problem with ViewAccessScoped in MyFaces CODI 1.0.1
Posted by Gerhard Petracek <ge...@gmail.com>.
hi james,
i included it in my first answer.
regards,
gerhard
http://www.irian.at
Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces
2011/10/2 Jim May <ji...@gmail.com>
> What is the url for the snapshots and nightly builds for primefaces? I am
> on
> their website and I'm trying to locate it. I only see the dev release urls.
>
> On Sun, Oct 2, 2011 at 3:22 PM, Gerhard Petracek <
> gerhard.petracek@gmail.com
> > wrote:
>
> > hi james,
> >
> > with primefaces v3.0.M3 i also saw an exception.
> > -> please try it with v3.0.RC1-SNAPSHOT - maybe it's just a primefaces
> bug
> > in v3.0.M3.
> >
> > regards,
> > gerhard
> >
> > http://www.irian.at
> >
> > Your JSF powerhouse -
> > JSF Consulting, Development and
> > Courses in English and German
> >
> > Professional Support for Apache MyFaces
> >
> >
> >
> > 2011/10/2 Jim May <ji...@gmail.com>
> >
> > > Gerhard,
> > >
> > > What is the best way to get my entire project to you? The myfaces email
> > > address will not accept a message with the attachment that large.
> > >
> > > Here is the log from deployment to error:
> > >
> > > WARNING: Illegal character in path at index 51:
> > > file:/home/user/Documents/Source/Bizznetworx/Iberis Web
> > > Admin/build/web/WEB-INF/lib/commons-logging-api-1.1.1.jar
> > > java.net.URISyntaxException: Illegal character in path at index 51:
> > > file:/home/user/Documents/Source/Bizznetworx/Iberis Web
> > > Admin/build/web/WEB-INF/lib/commons-logging-api-1.1.1.jar
> > > at java.net.URI$Parser.fail(URI.java:2825)
> > > at java.net.URI$Parser.checkChars(URI.java:2998)
> > > at java.net.URI$Parser.parseHierarchical(URI.java:3082)
> > > at java.net.URI$Parser.parse(URI.java:3030)
> > > at java.net.URI.<init>(URI.java:595)
> > > at java.net.URL.toURI(URL.java:936)
> > > at
> > >
> > >
> >
> com.sun.enterprise.v3.server.SnifferManagerImpl.getURIs(SnifferManagerImpl.java:268)
> > > at
> > >
> > >
> >
> com.sun.enterprise.v3.server.SnifferManagerImpl.getApplicableSniffers(SnifferManagerImpl.java:202)
> > > at
> > >
> > >
> >
> com.sun.enterprise.v3.server.SnifferManagerImpl.getSniffers(SnifferManagerImpl.java:150)
> > > at
> > >
> > >
> >
> com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:606)
> > > at
> > >
> > >
> >
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:368)
> > > at
> > >
> > >
> >
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
> > > at
> > >
> > >
> >
> org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:382)
> > > at
> > >
> > >
> >
> com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355)
> > > at
> > >
> > >
> >
> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)
> > > at
> > >
> > >
> >
> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1064)
> > > at
> > >
> > >
> >
> com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)
> > > at
> > >
> > >
> >
> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1244)
> > > at
> > >
> > >
> >
> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1232)
> > > at
> > >
> com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:459)
> > > at
> > com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:209)
> > > at
> > >
> >
> com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)
> > > at
> > >
> >
> com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
> > > at
> > >
> > >
> >
> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:238)
> > > at
> > com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
> > > at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
> > > at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
> > > at
> > >
> > >
> >
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
> > > at
> > >
> > >
> >
> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
> > > at
> > >
> >
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
> > > at
> > >
> >
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
> > > at
> > >
> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
> > > at
> > >
> > >
> >
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
> > > at
> > >
> > >
> >
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
> > > at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
> > > at
> > >
> > >
> >
> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
> > > at
> > >
> > >
> >
> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
> > > at java.lang.Thread.run(Thread.java:679)
> > >
> > > INFO: Instantiated an instance of
> > > org.hibernate.validator.engine.resolver.JPATraversableResolver.
> > > INFO:
> > >
> >
> org.apache.myfaces.extensions.cdi.core.impl.provider.DefaultServiceProvider
> > > installed successfully.
> > > INFO:
> > >
> > >
> >
> org.apache.myfaces.extensions.cdi.core.impl.provider.DefaultServiceProviderContext
> > > installed successfully.
> > > INFO: Computed the following CODI ProjectStage: Production
> > > INFO: Initializing Mojarra 2.1.3 (FCS b02) for context
> > '/Iberis_Web_Admin'
> > > INFO: [Started] MyFaces CODI (Extensions CDI) alternative config
> > >
> > >
> >
> org.apache.myfaces.extensions.cdi.core.alternative.config.AlternativeCodiCoreConfig
> > > is active (v1.0.1)
> > >
> > > INFO: [Started] MyFaces CODI (Extensions CDI) alternative config
> > >
> > >
> >
> org.apache.myfaces.extensions.cdi.jsf.alternative.config.AlternativeJsfModuleConfig
> > > is active (v1.0.1)
> > >
> > > INFO: Instantiated an instance of
> > > org.hibernate.validator.engine.resolver.JPATraversableResolver.
> > > INFO: Running on PrimeFaces 3.0.M3
> > > INFO: WEB0671: Loading application [Iberis_Web_Admin] at
> > > [/Iberis_Web_Admin]
> > > INFO: Iberis_Web_Admin was successfully deployed in 7,106 milliseconds.
> > > INFO: [Started] MyFaces CODI (Extensions CDI) alternative config
> > >
> > >
> >
> org.apache.myfaces.extensions.cdi.core.alternative.scope.conversation.config.AlternativeWindowContextConfig
> > > is active (v1.0.1)
> > >
> > > INFO: [Started] MyFaces CODI (Extensions CDI) alternative config
> > >
> > >
> >
> org.apache.myfaces.extensions.cdi.core.alternative.scope.conversation.config.AlternativeConversationConfig
> > > is active (v1.0.1)
> > >
> > > INFO: [Started] MyFaces CODI JSF-Module v1.0.1 for JSF 2.0
> > > Used JSF implementation: Mojarra v2.1.3-FCS
> > > config implementation:
> > >
> > >
> >
> org.apache.myfaces.extensions.cdi.jsf.alternative.config.AlternativeJsfModuleConfig
> > > config implementation:
> > > org.apache.myfaces.extensions.cdi.jsf.api.config.JsfModuleConfig
> > > method: isInitialRedirectEnabled
> > > value: true
> > > method: isUseViewConfigsAsNavigationCasesEnabled
> > > value: true
> > > method: isInvalidValueAwareMessageInterpolatorEnabled
> > > value: true
> > > method: isAlwaysKeepMessages
> > > value: true
> > > config implementation:
> > >
> > >
> >
> org.apache.myfaces.extensions.cdi.core.alternative.scope.conversation.config.AlternativeWindowContextConfig
> > > config implementation:
> > >
> > >
> >
> org.apache.myfaces.extensions.cdi.core.api.scope.conversation.config.WindowContextConfig
> > > method: isUrlParameterSupported
> > > value: true
> > > method: isUnknownWindowIdsAllowed
> > > value: false
> > > method: isAddWindowIdToActionUrlsEnabled
> > > value: false
> > > method: getWindowContextTimeoutInMinutes
> > > value: 60
> > > method: getMaxWindowContextCount
> > > value: 64
> > > method: isCloseEmptyWindowContextsEnabled
> > > value: false
> > > method: isEagerWindowContextDetectionEnabled
> > > value: true
> > > method: isCreateWindowContextEventEnabled
> > > value: false
> > > method: isCloseWindowContextEventEnabled
> > > value: false
> > > config implementation:
> > >
> > >
> >
> org.apache.myfaces.extensions.cdi.core.alternative.scope.conversation.config.AlternativeConversationConfig
> > > config implementation:
> > >
> > >
> >
> org.apache.myfaces.extensions.cdi.core.api.scope.conversation.config.ConversationConfig
> > > method: getConversationTimeoutInMinutes
> > > value: 30
> > > method: isScopeBeanEventEnabled
> > > value: false
> > > method: isAccessBeanEventEnabled
> > > value: false
> > > method: isUnscopeBeanEventEnabled
> > > value: false
> > > method: isStartConversationEventEnabled
> > > value: false
> > > method: isCloseConversationEventEnabled
> > > value: false
> > > method: isRestartConversationEventEnabled
> > > value: false
> > > method: isConversationRequiredEnabled
> > > value: true
> > > MessageContextConfig class:
> > >
> >
> org.apache.myfaces.extensions.cdi.message.impl.DefaultMessageContextConfig
> > > MessageInterpolator class: class
> > >
> >
> org.apache.myfaces.extensions.cdi.jsf.impl.message.FacesMessageInterpolator
> > > MessageResolver class: class
> > >
> > >
> >
> org.apache.myfaces.extensions.cdi.jsf.impl.message.JsfAwareApplicationMessagesMessageResolver
> > > MessageHandler class: class
> > >
> org.apache.myfaces.extensions.cdi.jsf.impl.message.JsfAwareMessageHandler
> > > LocaleResolver class: class
> > >
> org.apache.myfaces.extensions.cdi.jsf.impl.message.JsfAwareLocaleResolver
> > > FormatterFactory class: class
> > > org.apache.myfaces.extensions.cdi.message.impl.DefaultFormatterFactory
> > >
> > > INFO: [Started] MyFaces CODI JSF-Module v1.0.1 for JSF 2.0
> > > Used JSF implementation: Mojarra v2.1.3-FCS
> > > config implementation:
> > >
> > >
> >
> org.apache.myfaces.extensions.cdi.jsf.alternative.config.AlternativeJsfModuleConfig
> > > config implementation:
> > > org.apache.myfaces.extensions.cdi.jsf.api.config.JsfModuleConfig
> > > method: isInitialRedirectEnabled
> > > value: true
> > > method: isUseViewConfigsAsNavigationCasesEnabled
> > > value: true
> > > method: isInvalidValueAwareMessageInterpolatorEnabled
> > > value: true
> > > method: isAlwaysKeepMessages
> > > value: true
> > > config implementation:
> > >
> > >
> >
> org.apache.myfaces.extensions.cdi.core.alternative.scope.conversation.config.AlternativeWindowContextConfig
> > > config implementation:
> > >
> > >
> >
> org.apache.myfaces.extensions.cdi.core.api.scope.conversation.config.WindowContextConfig
> > > method: isUrlParameterSupported
> > > value: true
> > > method: isUnknownWindowIdsAllowed
> > > value: false
> > > method: isAddWindowIdToActionUrlsEnabled
> > > value: false
> > > method: getWindowContextTimeoutInMinutes
> > > value: 60
> > > method: getMaxWindowContextCount
> > > value: 64
> > > method: isCloseEmptyWindowContextsEnabled
> > > value: false
> > > method: isEagerWindowContextDetectionEnabled
> > > value: true
> > > method: isCreateWindowContextEventEnabled
> > > value: false
> > > method: isCloseWindowContextEventEnabled
> > > value: false
> > > config implementation:
> > >
> > >
> >
> org.apache.myfaces.extensions.cdi.core.alternative.scope.conversation.config.AlternativeConversationConfig
> > > config implementation:
> > >
> > >
> >
> org.apache.myfaces.extensions.cdi.core.api.scope.conversation.config.ConversationConfig
> > > method: getConversationTimeoutInMinutes
> > > value: 30
> > > method: isScopeBeanEventEnabled
> > > value: false
> > > method: isAccessBeanEventEnabled
> > > value: false
> > > method: isUnscopeBeanEventEnabled
> > > value: false
> > > method: isStartConversationEventEnabled
> > > value: false
> > > method: isCloseConversationEventEnabled
> > > value: false
> > > method: isRestartConversationEventEnabled
> > > value: false
> > > method: isConversationRequiredEnabled
> > > value: true
> > > MessageContextConfig class:
> > >
> >
> org.apache.myfaces.extensions.cdi.message.impl.DefaultMessageContextConfig
> > > MessageInterpolator class: class
> > >
> >
> org.apache.myfaces.extensions.cdi.jsf.impl.message.FacesMessageInterpolator
> > > MessageResolver class: class
> > >
> > >
> >
> org.apache.myfaces.extensions.cdi.jsf.impl.message.JsfAwareApplicationMessagesMessageResolver
> > > MessageHandler class: class
> > >
> org.apache.myfaces.extensions.cdi.jsf.impl.message.JsfAwareMessageHandler
> > > LocaleResolver class: class
> > >
> org.apache.myfaces.extensions.cdi.jsf.impl.message.JsfAwareLocaleResolver
> > > FormatterFactory class: class
> > > org.apache.myfaces.extensions.cdi.message.impl.DefaultFormatterFactory
> > >
> > > INFO: [Started] MyFaces CODI JPA-Module v1.0.1
> > >
> > > INFO: [Started] MyFaces CODI (Extensions CDI) Core v1.0.1
> > > Used CDI implementation: Weld v20110404-1554
> > > project-stage: Production
> > > project-stage class:
> > >
> > >
> >
> org.apache.myfaces.extensions.cdi.core.api.projectstage.ProjectStage$Production
> > > application-parameters:
> > > name: com.sun.faces.forceLoadConfiguration
> > > value: true
> > > name: javax.faces.PARTIAL_STATE_SAVING
> > > value: false
> > > name: com.sun.faces.validateXml
> > > value: true
> > > name: javax.faces.PROJECT_STAGE
> > > value: Production
> > > name: primefaces.THEME
> > > value: aristo
> > > config implementation:
> > >
> > >
> >
> org.apache.myfaces.extensions.cdi.core.alternative.config.AlternativeCodiCoreConfig
> > > config implementation:
> > > org.apache.myfaces.extensions.cdi.core.api.config.CodiCoreConfig
> > > method: isAdvancedQualifierRequiredForDependencyInjection
> > > value: true
> > > method: isConfigurationLoggingEnabled
> > > value: true
> > > method: isInvalidBeanCreationEventEnabled
> > > value: false
> > >
> > > INFO: [Started] MyFaces CODI Scripting-Module v1.0.1
> > >
> > > INFO: [Started] MyFaces CODI Bean-Validation-Module v1.0.1
> > > WARNING: PWC4011: Unable to set request character encoding to UTF-8
> from
> > > context /Iberis_Web_Admin, because request parameters have already been
> > > read, or ServletRequest.getReader() has already been called
> > > WARNING: PWC4011: Unable to set request character encoding to UTF-8
> from
> > > context /Iberis_Web_Admin, because request parameters have already been
> > > read, or ServletRequest.getReader() has already been called
> > > WARNING: PWC4011: Unable to set request character encoding to UTF-8
> from
> > > context /Iberis_Web_Admin, because request parameters have already been
> > > read, or ServletRequest.getReader() has already been called
> > > WARNING: Target Unreachable, 'null' returned null
> > > javax.el.PropertyNotFoundException: Target Unreachable, 'null' returned
> > > null
> > > at com.sun.el.parser.AstValue.getTarget(AstValue.java:150)
> > > at com.sun.el.parser.AstValue.getType(AstValue.java:76)
> > > at com.sun.el.ValueExpressionImpl.getType(ValueExpressionImpl.java:195)
> > > at
> > >
> >
> org.jboss.weld.el.WeldValueExpression.getType(WeldValueExpression.java:113)
> > > at
> > >
> > >
> >
> com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:95)
> > > at javax.faces.component.UIInput.getConvertedValue(UIInput.java:1030)
> > > at javax.faces.component.UIInput.validate(UIInput.java:960)
> > > at javax.faces.component.UIInput.executeValidate(UIInput.java:1233)
> > > at javax.faces.component.UIInput.processValidators(UIInput.java:698)
> > > at
> > >
> > >
> >
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
> > > at
> > >
> > >
> >
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
> > > at
> > >
> > >
> >
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
> > > at
> > >
> > >
> >
> org.primefaces.component.fieldset.Fieldset.processValidators(Fieldset.java:199)
> > > at
> > >
> > >
> >
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
> > > at
> > >
> > >
> >
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
> > > at
> > >
> > >
> >
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
> > > at
> > >
> org.primefaces.component.layout.Layout.processValidators(Layout.java:236)
> > > at javax.faces.component.UIForm.processValidators(UIForm.java:253)
> > > at
> > >
> > >
> >
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
> > > at
> > >
> > >
> >
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
> > > at
> > javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:1172)
> > > at
> > >
> > >
> >
> com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:76)
> > > at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
> > > at
> com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
> > > at
> > >
> > >
> >
> org.apache.myfaces.extensions.cdi.jsf2.impl.listener.phase.CodiLifecycleWrapper.execute(CodiLifecycleWrapper.java:97)
> > > at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
> > > at
> > >
> >
> org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1539)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
> > > at
> > >
> >
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
> > > at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
> > > at
> > >
> > >
> >
> com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
> > > at
> > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:330)
> > > at
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
> > > at
> > >
> > >
> >
> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:174)
> > > at
> > com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
> > > at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
> > > at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
> > > at
> > >
> > >
> >
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
> > > at
> > >
> > >
> >
> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
> > > at
> > >
> >
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
> > > at
> > >
> >
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
> > > at
> > >
> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
> > > at
> > >
> > >
> >
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
> > > at
> > >
> > >
> >
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
> > > at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
> > > at
> > >
> > >
> >
> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
> > > at
> > >
> > >
> >
> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
> > > at java.lang.Thread.run(Thread.java:679)
> > >
> > > On Sun, Oct 2, 2011 at 2:06 PM, Gerhard Petracek <
> > > gerhard.petracek@gmail.com
> > > > wrote:
> > >
> > > > hi james,
> > > >
> > > > first of all: welcome @ myfaces!
> > > >
> > > > i tested it with primefaces v3.0.RC1-SNAPSHOT [1] and it works fine.
> > > > please provide the whole log (startup until the exception) or a demo
> > app
> > > > which shows the issue.
> > > >
> > > > regards,
> > > > gerhard
> > > >
> > > > [1] *http://goo.gl/cQEkC*
> > > >
> > > > http://www.irian.at
> > > >
> > > > Your JSF powerhouse -
> > > > JSF Consulting, Development and
> > > > Courses in English and German
> > > >
> > > > Professional Support for Apache MyFaces
> > > >
> > > >
> > > > 2011/9/30 Jim May <ji...@gmail.com>
> > > >
> > > > > Hello,
> > > > >
> > > > > I recently downloaded the codi library and added it to my JSF
> > > application
> > > > > that is running on Glassfish 3.1.1. I am having problems where the
> > > method
> > > > > of
> > > > > a bean is not recognized when I invoke an action. The error message
> I
> > > get
> > > > > is
> > > > > that the property is null. I don't understand why it's looking for
> a
> > > > > property when the method is specified for the action. I am using
> > > > PrimeFaces
> > > > > components and I have already filed the issue at the PrimeFaces
> > forum.
> > > > > Still
> > > > > no resolution.
> > > > >
> > > > > For more details of my issue please go here:
> > > > > http://forum.primefaces.org/viewtopic.php?f=3&t=15234
> > > > >
> > > > > Not sure if this is a bug with the latest version of glassfish and
> > it's
> > > > > libraries. I am hoping that someone has already come across this
> > issue.
> > > > >
> > > > > Any help would be appreciated.
> > > > >
> > > > > Thank You,
> > > > >
> > > > > --
> > > > > James May
> > > > > Software Engineer / Architect
> > > > > http://www.jamesmay.me
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > James May
> > > Software Engineer / Architect
> > > http://www.jamesmay.me
> > >
> >
>
>
>
> --
> James May
> Software Engineer / Architect
> http://www.jamesmay.me
>
Re: Problem with ViewAccessScoped in MyFaces CODI 1.0.1
Posted by Jim May <ji...@gmail.com>.
What is the url for the snapshots and nightly builds for primefaces? I am on
their website and I'm trying to locate it. I only see the dev release urls.
On Sun, Oct 2, 2011 at 3:22 PM, Gerhard Petracek <gerhard.petracek@gmail.com
> wrote:
> hi james,
>
> with primefaces v3.0.M3 i also saw an exception.
> -> please try it with v3.0.RC1-SNAPSHOT - maybe it's just a primefaces bug
> in v3.0.M3.
>
> regards,
> gerhard
>
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>
>
>
> 2011/10/2 Jim May <ji...@gmail.com>
>
> > Gerhard,
> >
> > What is the best way to get my entire project to you? The myfaces email
> > address will not accept a message with the attachment that large.
> >
> > Here is the log from deployment to error:
> >
> > WARNING: Illegal character in path at index 51:
> > file:/home/user/Documents/Source/Bizznetworx/Iberis Web
> > Admin/build/web/WEB-INF/lib/commons-logging-api-1.1.1.jar
> > java.net.URISyntaxException: Illegal character in path at index 51:
> > file:/home/user/Documents/Source/Bizznetworx/Iberis Web
> > Admin/build/web/WEB-INF/lib/commons-logging-api-1.1.1.jar
> > at java.net.URI$Parser.fail(URI.java:2825)
> > at java.net.URI$Parser.checkChars(URI.java:2998)
> > at java.net.URI$Parser.parseHierarchical(URI.java:3082)
> > at java.net.URI$Parser.parse(URI.java:3030)
> > at java.net.URI.<init>(URI.java:595)
> > at java.net.URL.toURI(URL.java:936)
> > at
> >
> >
> com.sun.enterprise.v3.server.SnifferManagerImpl.getURIs(SnifferManagerImpl.java:268)
> > at
> >
> >
> com.sun.enterprise.v3.server.SnifferManagerImpl.getApplicableSniffers(SnifferManagerImpl.java:202)
> > at
> >
> >
> com.sun.enterprise.v3.server.SnifferManagerImpl.getSniffers(SnifferManagerImpl.java:150)
> > at
> >
> >
> com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:606)
> > at
> >
> >
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:368)
> > at
> >
> >
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
> > at
> >
> >
> org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:382)
> > at
> >
> >
> com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355)
> > at
> >
> >
> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)
> > at
> >
> >
> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1064)
> > at
> >
> >
> com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)
> > at
> >
> >
> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1244)
> > at
> >
> >
> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1232)
> > at
> > com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:459)
> > at
> com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:209)
> > at
> >
> com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)
> > at
> >
> com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
> > at
> >
> >
> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:238)
> > at
> com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
> > at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
> > at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
> > at
> >
> >
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
> > at
> >
> >
> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
> > at
> >
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
> > at
> >
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
> > at
> > com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
> > at
> >
> >
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
> > at
> >
> >
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
> > at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
> > at
> >
> >
> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
> > at
> >
> >
> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
> > at java.lang.Thread.run(Thread.java:679)
> >
> > INFO: Instantiated an instance of
> > org.hibernate.validator.engine.resolver.JPATraversableResolver.
> > INFO:
> >
> org.apache.myfaces.extensions.cdi.core.impl.provider.DefaultServiceProvider
> > installed successfully.
> > INFO:
> >
> >
> org.apache.myfaces.extensions.cdi.core.impl.provider.DefaultServiceProviderContext
> > installed successfully.
> > INFO: Computed the following CODI ProjectStage: Production
> > INFO: Initializing Mojarra 2.1.3 (FCS b02) for context
> '/Iberis_Web_Admin'
> > INFO: [Started] MyFaces CODI (Extensions CDI) alternative config
> >
> >
> org.apache.myfaces.extensions.cdi.core.alternative.config.AlternativeCodiCoreConfig
> > is active (v1.0.1)
> >
> > INFO: [Started] MyFaces CODI (Extensions CDI) alternative config
> >
> >
> org.apache.myfaces.extensions.cdi.jsf.alternative.config.AlternativeJsfModuleConfig
> > is active (v1.0.1)
> >
> > INFO: Instantiated an instance of
> > org.hibernate.validator.engine.resolver.JPATraversableResolver.
> > INFO: Running on PrimeFaces 3.0.M3
> > INFO: WEB0671: Loading application [Iberis_Web_Admin] at
> > [/Iberis_Web_Admin]
> > INFO: Iberis_Web_Admin was successfully deployed in 7,106 milliseconds.
> > INFO: [Started] MyFaces CODI (Extensions CDI) alternative config
> >
> >
> org.apache.myfaces.extensions.cdi.core.alternative.scope.conversation.config.AlternativeWindowContextConfig
> > is active (v1.0.1)
> >
> > INFO: [Started] MyFaces CODI (Extensions CDI) alternative config
> >
> >
> org.apache.myfaces.extensions.cdi.core.alternative.scope.conversation.config.AlternativeConversationConfig
> > is active (v1.0.1)
> >
> > INFO: [Started] MyFaces CODI JSF-Module v1.0.1 for JSF 2.0
> > Used JSF implementation: Mojarra v2.1.3-FCS
> > config implementation:
> >
> >
> org.apache.myfaces.extensions.cdi.jsf.alternative.config.AlternativeJsfModuleConfig
> > config implementation:
> > org.apache.myfaces.extensions.cdi.jsf.api.config.JsfModuleConfig
> > method: isInitialRedirectEnabled
> > value: true
> > method: isUseViewConfigsAsNavigationCasesEnabled
> > value: true
> > method: isInvalidValueAwareMessageInterpolatorEnabled
> > value: true
> > method: isAlwaysKeepMessages
> > value: true
> > config implementation:
> >
> >
> org.apache.myfaces.extensions.cdi.core.alternative.scope.conversation.config.AlternativeWindowContextConfig
> > config implementation:
> >
> >
> org.apache.myfaces.extensions.cdi.core.api.scope.conversation.config.WindowContextConfig
> > method: isUrlParameterSupported
> > value: true
> > method: isUnknownWindowIdsAllowed
> > value: false
> > method: isAddWindowIdToActionUrlsEnabled
> > value: false
> > method: getWindowContextTimeoutInMinutes
> > value: 60
> > method: getMaxWindowContextCount
> > value: 64
> > method: isCloseEmptyWindowContextsEnabled
> > value: false
> > method: isEagerWindowContextDetectionEnabled
> > value: true
> > method: isCreateWindowContextEventEnabled
> > value: false
> > method: isCloseWindowContextEventEnabled
> > value: false
> > config implementation:
> >
> >
> org.apache.myfaces.extensions.cdi.core.alternative.scope.conversation.config.AlternativeConversationConfig
> > config implementation:
> >
> >
> org.apache.myfaces.extensions.cdi.core.api.scope.conversation.config.ConversationConfig
> > method: getConversationTimeoutInMinutes
> > value: 30
> > method: isScopeBeanEventEnabled
> > value: false
> > method: isAccessBeanEventEnabled
> > value: false
> > method: isUnscopeBeanEventEnabled
> > value: false
> > method: isStartConversationEventEnabled
> > value: false
> > method: isCloseConversationEventEnabled
> > value: false
> > method: isRestartConversationEventEnabled
> > value: false
> > method: isConversationRequiredEnabled
> > value: true
> > MessageContextConfig class:
> >
> org.apache.myfaces.extensions.cdi.message.impl.DefaultMessageContextConfig
> > MessageInterpolator class: class
> >
> org.apache.myfaces.extensions.cdi.jsf.impl.message.FacesMessageInterpolator
> > MessageResolver class: class
> >
> >
> org.apache.myfaces.extensions.cdi.jsf.impl.message.JsfAwareApplicationMessagesMessageResolver
> > MessageHandler class: class
> > org.apache.myfaces.extensions.cdi.jsf.impl.message.JsfAwareMessageHandler
> > LocaleResolver class: class
> > org.apache.myfaces.extensions.cdi.jsf.impl.message.JsfAwareLocaleResolver
> > FormatterFactory class: class
> > org.apache.myfaces.extensions.cdi.message.impl.DefaultFormatterFactory
> >
> > INFO: [Started] MyFaces CODI JSF-Module v1.0.1 for JSF 2.0
> > Used JSF implementation: Mojarra v2.1.3-FCS
> > config implementation:
> >
> >
> org.apache.myfaces.extensions.cdi.jsf.alternative.config.AlternativeJsfModuleConfig
> > config implementation:
> > org.apache.myfaces.extensions.cdi.jsf.api.config.JsfModuleConfig
> > method: isInitialRedirectEnabled
> > value: true
> > method: isUseViewConfigsAsNavigationCasesEnabled
> > value: true
> > method: isInvalidValueAwareMessageInterpolatorEnabled
> > value: true
> > method: isAlwaysKeepMessages
> > value: true
> > config implementation:
> >
> >
> org.apache.myfaces.extensions.cdi.core.alternative.scope.conversation.config.AlternativeWindowContextConfig
> > config implementation:
> >
> >
> org.apache.myfaces.extensions.cdi.core.api.scope.conversation.config.WindowContextConfig
> > method: isUrlParameterSupported
> > value: true
> > method: isUnknownWindowIdsAllowed
> > value: false
> > method: isAddWindowIdToActionUrlsEnabled
> > value: false
> > method: getWindowContextTimeoutInMinutes
> > value: 60
> > method: getMaxWindowContextCount
> > value: 64
> > method: isCloseEmptyWindowContextsEnabled
> > value: false
> > method: isEagerWindowContextDetectionEnabled
> > value: true
> > method: isCreateWindowContextEventEnabled
> > value: false
> > method: isCloseWindowContextEventEnabled
> > value: false
> > config implementation:
> >
> >
> org.apache.myfaces.extensions.cdi.core.alternative.scope.conversation.config.AlternativeConversationConfig
> > config implementation:
> >
> >
> org.apache.myfaces.extensions.cdi.core.api.scope.conversation.config.ConversationConfig
> > method: getConversationTimeoutInMinutes
> > value: 30
> > method: isScopeBeanEventEnabled
> > value: false
> > method: isAccessBeanEventEnabled
> > value: false
> > method: isUnscopeBeanEventEnabled
> > value: false
> > method: isStartConversationEventEnabled
> > value: false
> > method: isCloseConversationEventEnabled
> > value: false
> > method: isRestartConversationEventEnabled
> > value: false
> > method: isConversationRequiredEnabled
> > value: true
> > MessageContextConfig class:
> >
> org.apache.myfaces.extensions.cdi.message.impl.DefaultMessageContextConfig
> > MessageInterpolator class: class
> >
> org.apache.myfaces.extensions.cdi.jsf.impl.message.FacesMessageInterpolator
> > MessageResolver class: class
> >
> >
> org.apache.myfaces.extensions.cdi.jsf.impl.message.JsfAwareApplicationMessagesMessageResolver
> > MessageHandler class: class
> > org.apache.myfaces.extensions.cdi.jsf.impl.message.JsfAwareMessageHandler
> > LocaleResolver class: class
> > org.apache.myfaces.extensions.cdi.jsf.impl.message.JsfAwareLocaleResolver
> > FormatterFactory class: class
> > org.apache.myfaces.extensions.cdi.message.impl.DefaultFormatterFactory
> >
> > INFO: [Started] MyFaces CODI JPA-Module v1.0.1
> >
> > INFO: [Started] MyFaces CODI (Extensions CDI) Core v1.0.1
> > Used CDI implementation: Weld v20110404-1554
> > project-stage: Production
> > project-stage class:
> >
> >
> org.apache.myfaces.extensions.cdi.core.api.projectstage.ProjectStage$Production
> > application-parameters:
> > name: com.sun.faces.forceLoadConfiguration
> > value: true
> > name: javax.faces.PARTIAL_STATE_SAVING
> > value: false
> > name: com.sun.faces.validateXml
> > value: true
> > name: javax.faces.PROJECT_STAGE
> > value: Production
> > name: primefaces.THEME
> > value: aristo
> > config implementation:
> >
> >
> org.apache.myfaces.extensions.cdi.core.alternative.config.AlternativeCodiCoreConfig
> > config implementation:
> > org.apache.myfaces.extensions.cdi.core.api.config.CodiCoreConfig
> > method: isAdvancedQualifierRequiredForDependencyInjection
> > value: true
> > method: isConfigurationLoggingEnabled
> > value: true
> > method: isInvalidBeanCreationEventEnabled
> > value: false
> >
> > INFO: [Started] MyFaces CODI Scripting-Module v1.0.1
> >
> > INFO: [Started] MyFaces CODI Bean-Validation-Module v1.0.1
> > WARNING: PWC4011: Unable to set request character encoding to UTF-8 from
> > context /Iberis_Web_Admin, because request parameters have already been
> > read, or ServletRequest.getReader() has already been called
> > WARNING: PWC4011: Unable to set request character encoding to UTF-8 from
> > context /Iberis_Web_Admin, because request parameters have already been
> > read, or ServletRequest.getReader() has already been called
> > WARNING: PWC4011: Unable to set request character encoding to UTF-8 from
> > context /Iberis_Web_Admin, because request parameters have already been
> > read, or ServletRequest.getReader() has already been called
> > WARNING: Target Unreachable, 'null' returned null
> > javax.el.PropertyNotFoundException: Target Unreachable, 'null' returned
> > null
> > at com.sun.el.parser.AstValue.getTarget(AstValue.java:150)
> > at com.sun.el.parser.AstValue.getType(AstValue.java:76)
> > at com.sun.el.ValueExpressionImpl.getType(ValueExpressionImpl.java:195)
> > at
> >
> org.jboss.weld.el.WeldValueExpression.getType(WeldValueExpression.java:113)
> > at
> >
> >
> com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:95)
> > at javax.faces.component.UIInput.getConvertedValue(UIInput.java:1030)
> > at javax.faces.component.UIInput.validate(UIInput.java:960)
> > at javax.faces.component.UIInput.executeValidate(UIInput.java:1233)
> > at javax.faces.component.UIInput.processValidators(UIInput.java:698)
> > at
> >
> >
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
> > at
> >
> >
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
> > at
> >
> >
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
> > at
> >
> >
> org.primefaces.component.fieldset.Fieldset.processValidators(Fieldset.java:199)
> > at
> >
> >
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
> > at
> >
> >
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
> > at
> >
> >
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
> > at
> > org.primefaces.component.layout.Layout.processValidators(Layout.java:236)
> > at javax.faces.component.UIForm.processValidators(UIForm.java:253)
> > at
> >
> >
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
> > at
> >
> >
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
> > at
> javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:1172)
> > at
> >
> >
> com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:76)
> > at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
> > at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
> > at
> >
> >
> org.apache.myfaces.extensions.cdi.jsf2.impl.listener.phase.CodiLifecycleWrapper.execute(CodiLifecycleWrapper.java:97)
> > at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
> > at
> >
> org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1539)
> > at
> >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281)
> > at
> >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> > at
> >
> >
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
> > at
> >
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
> > at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
> > at
> >
> >
> com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
> > at
> >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
> > at
> >
> >
> org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:330)
> > at
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
> > at
> >
> >
> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:174)
> > at
> com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
> > at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
> > at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
> > at
> >
> >
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
> > at
> >
> >
> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
> > at
> >
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
> > at
> >
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
> > at
> > com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
> > at
> >
> >
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
> > at
> >
> >
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
> > at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
> > at
> >
> >
> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
> > at
> >
> >
> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
> > at java.lang.Thread.run(Thread.java:679)
> >
> > On Sun, Oct 2, 2011 at 2:06 PM, Gerhard Petracek <
> > gerhard.petracek@gmail.com
> > > wrote:
> >
> > > hi james,
> > >
> > > first of all: welcome @ myfaces!
> > >
> > > i tested it with primefaces v3.0.RC1-SNAPSHOT [1] and it works fine.
> > > please provide the whole log (startup until the exception) or a demo
> app
> > > which shows the issue.
> > >
> > > regards,
> > > gerhard
> > >
> > > [1] *http://goo.gl/cQEkC*
> > >
> > > http://www.irian.at
> > >
> > > Your JSF powerhouse -
> > > JSF Consulting, Development and
> > > Courses in English and German
> > >
> > > Professional Support for Apache MyFaces
> > >
> > >
> > > 2011/9/30 Jim May <ji...@gmail.com>
> > >
> > > > Hello,
> > > >
> > > > I recently downloaded the codi library and added it to my JSF
> > application
> > > > that is running on Glassfish 3.1.1. I am having problems where the
> > method
> > > > of
> > > > a bean is not recognized when I invoke an action. The error message I
> > get
> > > > is
> > > > that the property is null. I don't understand why it's looking for a
> > > > property when the method is specified for the action. I am using
> > > PrimeFaces
> > > > components and I have already filed the issue at the PrimeFaces
> forum.
> > > > Still
> > > > no resolution.
> > > >
> > > > For more details of my issue please go here:
> > > > http://forum.primefaces.org/viewtopic.php?f=3&t=15234
> > > >
> > > > Not sure if this is a bug with the latest version of glassfish and
> it's
> > > > libraries. I am hoping that someone has already come across this
> issue.
> > > >
> > > > Any help would be appreciated.
> > > >
> > > > Thank You,
> > > >
> > > > --
> > > > James May
> > > > Software Engineer / Architect
> > > > http://www.jamesmay.me
> > > >
> > >
> >
> >
> >
> > --
> > James May
> > Software Engineer / Architect
> > http://www.jamesmay.me
> >
>
--
James May
Software Engineer / Architect
http://www.jamesmay.me
Re: Problem with ViewAccessScoped in MyFaces CODI 1.0.1
Posted by Gerhard Petracek <ge...@gmail.com>.
hi james,
with primefaces v3.0.M3 i also saw an exception.
-> please try it with v3.0.RC1-SNAPSHOT - maybe it's just a primefaces bug
in v3.0.M3.
regards,
gerhard
http://www.irian.at
Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces
2011/10/2 Jim May <ji...@gmail.com>
> Gerhard,
>
> What is the best way to get my entire project to you? The myfaces email
> address will not accept a message with the attachment that large.
>
> Here is the log from deployment to error:
>
> WARNING: Illegal character in path at index 51:
> file:/home/user/Documents/Source/Bizznetworx/Iberis Web
> Admin/build/web/WEB-INF/lib/commons-logging-api-1.1.1.jar
> java.net.URISyntaxException: Illegal character in path at index 51:
> file:/home/user/Documents/Source/Bizznetworx/Iberis Web
> Admin/build/web/WEB-INF/lib/commons-logging-api-1.1.1.jar
> at java.net.URI$Parser.fail(URI.java:2825)
> at java.net.URI$Parser.checkChars(URI.java:2998)
> at java.net.URI$Parser.parseHierarchical(URI.java:3082)
> at java.net.URI$Parser.parse(URI.java:3030)
> at java.net.URI.<init>(URI.java:595)
> at java.net.URL.toURI(URL.java:936)
> at
>
> com.sun.enterprise.v3.server.SnifferManagerImpl.getURIs(SnifferManagerImpl.java:268)
> at
>
> com.sun.enterprise.v3.server.SnifferManagerImpl.getApplicableSniffers(SnifferManagerImpl.java:202)
> at
>
> com.sun.enterprise.v3.server.SnifferManagerImpl.getSniffers(SnifferManagerImpl.java:150)
> at
>
> com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:606)
> at
>
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:368)
> at
>
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
> at
>
> org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:382)
> at
>
> com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355)
> at
>
> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)
> at
>
> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1064)
> at
>
> com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)
> at
>
> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1244)
> at
>
> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1232)
> at
> com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:459)
> at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:209)
> at
> com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)
> at
> com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
> at
>
> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:238)
> at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
> at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
> at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
> at
>
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
> at
>
> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
> at
> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
> at
>
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
> at
>
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
> at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
> at
>
> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
> at
>
> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
> at java.lang.Thread.run(Thread.java:679)
>
> INFO: Instantiated an instance of
> org.hibernate.validator.engine.resolver.JPATraversableResolver.
> INFO:
> org.apache.myfaces.extensions.cdi.core.impl.provider.DefaultServiceProvider
> installed successfully.
> INFO:
>
> org.apache.myfaces.extensions.cdi.core.impl.provider.DefaultServiceProviderContext
> installed successfully.
> INFO: Computed the following CODI ProjectStage: Production
> INFO: Initializing Mojarra 2.1.3 (FCS b02) for context '/Iberis_Web_Admin'
> INFO: [Started] MyFaces CODI (Extensions CDI) alternative config
>
> org.apache.myfaces.extensions.cdi.core.alternative.config.AlternativeCodiCoreConfig
> is active (v1.0.1)
>
> INFO: [Started] MyFaces CODI (Extensions CDI) alternative config
>
> org.apache.myfaces.extensions.cdi.jsf.alternative.config.AlternativeJsfModuleConfig
> is active (v1.0.1)
>
> INFO: Instantiated an instance of
> org.hibernate.validator.engine.resolver.JPATraversableResolver.
> INFO: Running on PrimeFaces 3.0.M3
> INFO: WEB0671: Loading application [Iberis_Web_Admin] at
> [/Iberis_Web_Admin]
> INFO: Iberis_Web_Admin was successfully deployed in 7,106 milliseconds.
> INFO: [Started] MyFaces CODI (Extensions CDI) alternative config
>
> org.apache.myfaces.extensions.cdi.core.alternative.scope.conversation.config.AlternativeWindowContextConfig
> is active (v1.0.1)
>
> INFO: [Started] MyFaces CODI (Extensions CDI) alternative config
>
> org.apache.myfaces.extensions.cdi.core.alternative.scope.conversation.config.AlternativeConversationConfig
> is active (v1.0.1)
>
> INFO: [Started] MyFaces CODI JSF-Module v1.0.1 for JSF 2.0
> Used JSF implementation: Mojarra v2.1.3-FCS
> config implementation:
>
> org.apache.myfaces.extensions.cdi.jsf.alternative.config.AlternativeJsfModuleConfig
> config implementation:
> org.apache.myfaces.extensions.cdi.jsf.api.config.JsfModuleConfig
> method: isInitialRedirectEnabled
> value: true
> method: isUseViewConfigsAsNavigationCasesEnabled
> value: true
> method: isInvalidValueAwareMessageInterpolatorEnabled
> value: true
> method: isAlwaysKeepMessages
> value: true
> config implementation:
>
> org.apache.myfaces.extensions.cdi.core.alternative.scope.conversation.config.AlternativeWindowContextConfig
> config implementation:
>
> org.apache.myfaces.extensions.cdi.core.api.scope.conversation.config.WindowContextConfig
> method: isUrlParameterSupported
> value: true
> method: isUnknownWindowIdsAllowed
> value: false
> method: isAddWindowIdToActionUrlsEnabled
> value: false
> method: getWindowContextTimeoutInMinutes
> value: 60
> method: getMaxWindowContextCount
> value: 64
> method: isCloseEmptyWindowContextsEnabled
> value: false
> method: isEagerWindowContextDetectionEnabled
> value: true
> method: isCreateWindowContextEventEnabled
> value: false
> method: isCloseWindowContextEventEnabled
> value: false
> config implementation:
>
> org.apache.myfaces.extensions.cdi.core.alternative.scope.conversation.config.AlternativeConversationConfig
> config implementation:
>
> org.apache.myfaces.extensions.cdi.core.api.scope.conversation.config.ConversationConfig
> method: getConversationTimeoutInMinutes
> value: 30
> method: isScopeBeanEventEnabled
> value: false
> method: isAccessBeanEventEnabled
> value: false
> method: isUnscopeBeanEventEnabled
> value: false
> method: isStartConversationEventEnabled
> value: false
> method: isCloseConversationEventEnabled
> value: false
> method: isRestartConversationEventEnabled
> value: false
> method: isConversationRequiredEnabled
> value: true
> MessageContextConfig class:
> org.apache.myfaces.extensions.cdi.message.impl.DefaultMessageContextConfig
> MessageInterpolator class: class
> org.apache.myfaces.extensions.cdi.jsf.impl.message.FacesMessageInterpolator
> MessageResolver class: class
>
> org.apache.myfaces.extensions.cdi.jsf.impl.message.JsfAwareApplicationMessagesMessageResolver
> MessageHandler class: class
> org.apache.myfaces.extensions.cdi.jsf.impl.message.JsfAwareMessageHandler
> LocaleResolver class: class
> org.apache.myfaces.extensions.cdi.jsf.impl.message.JsfAwareLocaleResolver
> FormatterFactory class: class
> org.apache.myfaces.extensions.cdi.message.impl.DefaultFormatterFactory
>
> INFO: [Started] MyFaces CODI JSF-Module v1.0.1 for JSF 2.0
> Used JSF implementation: Mojarra v2.1.3-FCS
> config implementation:
>
> org.apache.myfaces.extensions.cdi.jsf.alternative.config.AlternativeJsfModuleConfig
> config implementation:
> org.apache.myfaces.extensions.cdi.jsf.api.config.JsfModuleConfig
> method: isInitialRedirectEnabled
> value: true
> method: isUseViewConfigsAsNavigationCasesEnabled
> value: true
> method: isInvalidValueAwareMessageInterpolatorEnabled
> value: true
> method: isAlwaysKeepMessages
> value: true
> config implementation:
>
> org.apache.myfaces.extensions.cdi.core.alternative.scope.conversation.config.AlternativeWindowContextConfig
> config implementation:
>
> org.apache.myfaces.extensions.cdi.core.api.scope.conversation.config.WindowContextConfig
> method: isUrlParameterSupported
> value: true
> method: isUnknownWindowIdsAllowed
> value: false
> method: isAddWindowIdToActionUrlsEnabled
> value: false
> method: getWindowContextTimeoutInMinutes
> value: 60
> method: getMaxWindowContextCount
> value: 64
> method: isCloseEmptyWindowContextsEnabled
> value: false
> method: isEagerWindowContextDetectionEnabled
> value: true
> method: isCreateWindowContextEventEnabled
> value: false
> method: isCloseWindowContextEventEnabled
> value: false
> config implementation:
>
> org.apache.myfaces.extensions.cdi.core.alternative.scope.conversation.config.AlternativeConversationConfig
> config implementation:
>
> org.apache.myfaces.extensions.cdi.core.api.scope.conversation.config.ConversationConfig
> method: getConversationTimeoutInMinutes
> value: 30
> method: isScopeBeanEventEnabled
> value: false
> method: isAccessBeanEventEnabled
> value: false
> method: isUnscopeBeanEventEnabled
> value: false
> method: isStartConversationEventEnabled
> value: false
> method: isCloseConversationEventEnabled
> value: false
> method: isRestartConversationEventEnabled
> value: false
> method: isConversationRequiredEnabled
> value: true
> MessageContextConfig class:
> org.apache.myfaces.extensions.cdi.message.impl.DefaultMessageContextConfig
> MessageInterpolator class: class
> org.apache.myfaces.extensions.cdi.jsf.impl.message.FacesMessageInterpolator
> MessageResolver class: class
>
> org.apache.myfaces.extensions.cdi.jsf.impl.message.JsfAwareApplicationMessagesMessageResolver
> MessageHandler class: class
> org.apache.myfaces.extensions.cdi.jsf.impl.message.JsfAwareMessageHandler
> LocaleResolver class: class
> org.apache.myfaces.extensions.cdi.jsf.impl.message.JsfAwareLocaleResolver
> FormatterFactory class: class
> org.apache.myfaces.extensions.cdi.message.impl.DefaultFormatterFactory
>
> INFO: [Started] MyFaces CODI JPA-Module v1.0.1
>
> INFO: [Started] MyFaces CODI (Extensions CDI) Core v1.0.1
> Used CDI implementation: Weld v20110404-1554
> project-stage: Production
> project-stage class:
>
> org.apache.myfaces.extensions.cdi.core.api.projectstage.ProjectStage$Production
> application-parameters:
> name: com.sun.faces.forceLoadConfiguration
> value: true
> name: javax.faces.PARTIAL_STATE_SAVING
> value: false
> name: com.sun.faces.validateXml
> value: true
> name: javax.faces.PROJECT_STAGE
> value: Production
> name: primefaces.THEME
> value: aristo
> config implementation:
>
> org.apache.myfaces.extensions.cdi.core.alternative.config.AlternativeCodiCoreConfig
> config implementation:
> org.apache.myfaces.extensions.cdi.core.api.config.CodiCoreConfig
> method: isAdvancedQualifierRequiredForDependencyInjection
> value: true
> method: isConfigurationLoggingEnabled
> value: true
> method: isInvalidBeanCreationEventEnabled
> value: false
>
> INFO: [Started] MyFaces CODI Scripting-Module v1.0.1
>
> INFO: [Started] MyFaces CODI Bean-Validation-Module v1.0.1
> WARNING: PWC4011: Unable to set request character encoding to UTF-8 from
> context /Iberis_Web_Admin, because request parameters have already been
> read, or ServletRequest.getReader() has already been called
> WARNING: PWC4011: Unable to set request character encoding to UTF-8 from
> context /Iberis_Web_Admin, because request parameters have already been
> read, or ServletRequest.getReader() has already been called
> WARNING: PWC4011: Unable to set request character encoding to UTF-8 from
> context /Iberis_Web_Admin, because request parameters have already been
> read, or ServletRequest.getReader() has already been called
> WARNING: Target Unreachable, 'null' returned null
> javax.el.PropertyNotFoundException: Target Unreachable, 'null' returned
> null
> at com.sun.el.parser.AstValue.getTarget(AstValue.java:150)
> at com.sun.el.parser.AstValue.getType(AstValue.java:76)
> at com.sun.el.ValueExpressionImpl.getType(ValueExpressionImpl.java:195)
> at
> org.jboss.weld.el.WeldValueExpression.getType(WeldValueExpression.java:113)
> at
>
> com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:95)
> at javax.faces.component.UIInput.getConvertedValue(UIInput.java:1030)
> at javax.faces.component.UIInput.validate(UIInput.java:960)
> at javax.faces.component.UIInput.executeValidate(UIInput.java:1233)
> at javax.faces.component.UIInput.processValidators(UIInput.java:698)
> at
>
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
> at
>
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
> at
>
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
> at
>
> org.primefaces.component.fieldset.Fieldset.processValidators(Fieldset.java:199)
> at
>
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
> at
>
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
> at
>
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
> at
> org.primefaces.component.layout.Layout.processValidators(Layout.java:236)
> at javax.faces.component.UIForm.processValidators(UIForm.java:253)
> at
>
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
> at
>
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
> at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:1172)
> at
>
> com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:76)
> at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
> at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
> at
>
> org.apache.myfaces.extensions.cdi.jsf2.impl.listener.phase.CodiLifecycleWrapper.execute(CodiLifecycleWrapper.java:97)
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
> at
> org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1539)
> at
>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281)
> at
>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> at
>
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
> at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
> at
>
> com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
> at
>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
> at
>
> org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:330)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
> at
>
> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:174)
> at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
> at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
> at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
> at
>
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
> at
>
> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
> at
> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
> at
>
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
> at
>
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
> at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
> at
>
> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
> at
>
> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
> at java.lang.Thread.run(Thread.java:679)
>
> On Sun, Oct 2, 2011 at 2:06 PM, Gerhard Petracek <
> gerhard.petracek@gmail.com
> > wrote:
>
> > hi james,
> >
> > first of all: welcome @ myfaces!
> >
> > i tested it with primefaces v3.0.RC1-SNAPSHOT [1] and it works fine.
> > please provide the whole log (startup until the exception) or a demo app
> > which shows the issue.
> >
> > regards,
> > gerhard
> >
> > [1] *http://goo.gl/cQEkC*
> >
> > http://www.irian.at
> >
> > Your JSF powerhouse -
> > JSF Consulting, Development and
> > Courses in English and German
> >
> > Professional Support for Apache MyFaces
> >
> >
> > 2011/9/30 Jim May <ji...@gmail.com>
> >
> > > Hello,
> > >
> > > I recently downloaded the codi library and added it to my JSF
> application
> > > that is running on Glassfish 3.1.1. I am having problems where the
> method
> > > of
> > > a bean is not recognized when I invoke an action. The error message I
> get
> > > is
> > > that the property is null. I don't understand why it's looking for a
> > > property when the method is specified for the action. I am using
> > PrimeFaces
> > > components and I have already filed the issue at the PrimeFaces forum.
> > > Still
> > > no resolution.
> > >
> > > For more details of my issue please go here:
> > > http://forum.primefaces.org/viewtopic.php?f=3&t=15234
> > >
> > > Not sure if this is a bug with the latest version of glassfish and it's
> > > libraries. I am hoping that someone has already come across this issue.
> > >
> > > Any help would be appreciated.
> > >
> > > Thank You,
> > >
> > > --
> > > James May
> > > Software Engineer / Architect
> > > http://www.jamesmay.me
> > >
> >
>
>
>
> --
> James May
> Software Engineer / Architect
> http://www.jamesmay.me
>
Re: Problem with ViewAccessScoped in MyFaces CODI 1.0.1
Posted by Jim May <ji...@gmail.com>.
Gerhard,
What is the best way to get my entire project to you? The myfaces email
address will not accept a message with the attachment that large.
Here is the log from deployment to error:
WARNING: Illegal character in path at index 51:
file:/home/user/Documents/Source/Bizznetworx/Iberis Web
Admin/build/web/WEB-INF/lib/commons-logging-api-1.1.1.jar
java.net.URISyntaxException: Illegal character in path at index 51:
file:/home/user/Documents/Source/Bizznetworx/Iberis Web
Admin/build/web/WEB-INF/lib/commons-logging-api-1.1.1.jar
at java.net.URI$Parser.fail(URI.java:2825)
at java.net.URI$Parser.checkChars(URI.java:2998)
at java.net.URI$Parser.parseHierarchical(URI.java:3082)
at java.net.URI$Parser.parse(URI.java:3030)
at java.net.URI.<init>(URI.java:595)
at java.net.URL.toURI(URL.java:936)
at
com.sun.enterprise.v3.server.SnifferManagerImpl.getURIs(SnifferManagerImpl.java:268)
at
com.sun.enterprise.v3.server.SnifferManagerImpl.getApplicableSniffers(SnifferManagerImpl.java:202)
at
com.sun.enterprise.v3.server.SnifferManagerImpl.getSniffers(SnifferManagerImpl.java:150)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:606)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:368)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
at
org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:382)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1064)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1244)
at
com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1232)
at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:459)
at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:209)
at
com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)
at
com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:238)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
at java.lang.Thread.run(Thread.java:679)
INFO: Instantiated an instance of
org.hibernate.validator.engine.resolver.JPATraversableResolver.
INFO:
org.apache.myfaces.extensions.cdi.core.impl.provider.DefaultServiceProvider
installed successfully.
INFO:
org.apache.myfaces.extensions.cdi.core.impl.provider.DefaultServiceProviderContext
installed successfully.
INFO: Computed the following CODI ProjectStage: Production
INFO: Initializing Mojarra 2.1.3 (FCS b02) for context '/Iberis_Web_Admin'
INFO: [Started] MyFaces CODI (Extensions CDI) alternative config
org.apache.myfaces.extensions.cdi.core.alternative.config.AlternativeCodiCoreConfig
is active (v1.0.1)
INFO: [Started] MyFaces CODI (Extensions CDI) alternative config
org.apache.myfaces.extensions.cdi.jsf.alternative.config.AlternativeJsfModuleConfig
is active (v1.0.1)
INFO: Instantiated an instance of
org.hibernate.validator.engine.resolver.JPATraversableResolver.
INFO: Running on PrimeFaces 3.0.M3
INFO: WEB0671: Loading application [Iberis_Web_Admin] at [/Iberis_Web_Admin]
INFO: Iberis_Web_Admin was successfully deployed in 7,106 milliseconds.
INFO: [Started] MyFaces CODI (Extensions CDI) alternative config
org.apache.myfaces.extensions.cdi.core.alternative.scope.conversation.config.AlternativeWindowContextConfig
is active (v1.0.1)
INFO: [Started] MyFaces CODI (Extensions CDI) alternative config
org.apache.myfaces.extensions.cdi.core.alternative.scope.conversation.config.AlternativeConversationConfig
is active (v1.0.1)
INFO: [Started] MyFaces CODI JSF-Module v1.0.1 for JSF 2.0
Used JSF implementation: Mojarra v2.1.3-FCS
config implementation:
org.apache.myfaces.extensions.cdi.jsf.alternative.config.AlternativeJsfModuleConfig
config implementation:
org.apache.myfaces.extensions.cdi.jsf.api.config.JsfModuleConfig
method: isInitialRedirectEnabled
value: true
method: isUseViewConfigsAsNavigationCasesEnabled
value: true
method: isInvalidValueAwareMessageInterpolatorEnabled
value: true
method: isAlwaysKeepMessages
value: true
config implementation:
org.apache.myfaces.extensions.cdi.core.alternative.scope.conversation.config.AlternativeWindowContextConfig
config implementation:
org.apache.myfaces.extensions.cdi.core.api.scope.conversation.config.WindowContextConfig
method: isUrlParameterSupported
value: true
method: isUnknownWindowIdsAllowed
value: false
method: isAddWindowIdToActionUrlsEnabled
value: false
method: getWindowContextTimeoutInMinutes
value: 60
method: getMaxWindowContextCount
value: 64
method: isCloseEmptyWindowContextsEnabled
value: false
method: isEagerWindowContextDetectionEnabled
value: true
method: isCreateWindowContextEventEnabled
value: false
method: isCloseWindowContextEventEnabled
value: false
config implementation:
org.apache.myfaces.extensions.cdi.core.alternative.scope.conversation.config.AlternativeConversationConfig
config implementation:
org.apache.myfaces.extensions.cdi.core.api.scope.conversation.config.ConversationConfig
method: getConversationTimeoutInMinutes
value: 30
method: isScopeBeanEventEnabled
value: false
method: isAccessBeanEventEnabled
value: false
method: isUnscopeBeanEventEnabled
value: false
method: isStartConversationEventEnabled
value: false
method: isCloseConversationEventEnabled
value: false
method: isRestartConversationEventEnabled
value: false
method: isConversationRequiredEnabled
value: true
MessageContextConfig class:
org.apache.myfaces.extensions.cdi.message.impl.DefaultMessageContextConfig
MessageInterpolator class: class
org.apache.myfaces.extensions.cdi.jsf.impl.message.FacesMessageInterpolator
MessageResolver class: class
org.apache.myfaces.extensions.cdi.jsf.impl.message.JsfAwareApplicationMessagesMessageResolver
MessageHandler class: class
org.apache.myfaces.extensions.cdi.jsf.impl.message.JsfAwareMessageHandler
LocaleResolver class: class
org.apache.myfaces.extensions.cdi.jsf.impl.message.JsfAwareLocaleResolver
FormatterFactory class: class
org.apache.myfaces.extensions.cdi.message.impl.DefaultFormatterFactory
INFO: [Started] MyFaces CODI JSF-Module v1.0.1 for JSF 2.0
Used JSF implementation: Mojarra v2.1.3-FCS
config implementation:
org.apache.myfaces.extensions.cdi.jsf.alternative.config.AlternativeJsfModuleConfig
config implementation:
org.apache.myfaces.extensions.cdi.jsf.api.config.JsfModuleConfig
method: isInitialRedirectEnabled
value: true
method: isUseViewConfigsAsNavigationCasesEnabled
value: true
method: isInvalidValueAwareMessageInterpolatorEnabled
value: true
method: isAlwaysKeepMessages
value: true
config implementation:
org.apache.myfaces.extensions.cdi.core.alternative.scope.conversation.config.AlternativeWindowContextConfig
config implementation:
org.apache.myfaces.extensions.cdi.core.api.scope.conversation.config.WindowContextConfig
method: isUrlParameterSupported
value: true
method: isUnknownWindowIdsAllowed
value: false
method: isAddWindowIdToActionUrlsEnabled
value: false
method: getWindowContextTimeoutInMinutes
value: 60
method: getMaxWindowContextCount
value: 64
method: isCloseEmptyWindowContextsEnabled
value: false
method: isEagerWindowContextDetectionEnabled
value: true
method: isCreateWindowContextEventEnabled
value: false
method: isCloseWindowContextEventEnabled
value: false
config implementation:
org.apache.myfaces.extensions.cdi.core.alternative.scope.conversation.config.AlternativeConversationConfig
config implementation:
org.apache.myfaces.extensions.cdi.core.api.scope.conversation.config.ConversationConfig
method: getConversationTimeoutInMinutes
value: 30
method: isScopeBeanEventEnabled
value: false
method: isAccessBeanEventEnabled
value: false
method: isUnscopeBeanEventEnabled
value: false
method: isStartConversationEventEnabled
value: false
method: isCloseConversationEventEnabled
value: false
method: isRestartConversationEventEnabled
value: false
method: isConversationRequiredEnabled
value: true
MessageContextConfig class:
org.apache.myfaces.extensions.cdi.message.impl.DefaultMessageContextConfig
MessageInterpolator class: class
org.apache.myfaces.extensions.cdi.jsf.impl.message.FacesMessageInterpolator
MessageResolver class: class
org.apache.myfaces.extensions.cdi.jsf.impl.message.JsfAwareApplicationMessagesMessageResolver
MessageHandler class: class
org.apache.myfaces.extensions.cdi.jsf.impl.message.JsfAwareMessageHandler
LocaleResolver class: class
org.apache.myfaces.extensions.cdi.jsf.impl.message.JsfAwareLocaleResolver
FormatterFactory class: class
org.apache.myfaces.extensions.cdi.message.impl.DefaultFormatterFactory
INFO: [Started] MyFaces CODI JPA-Module v1.0.1
INFO: [Started] MyFaces CODI (Extensions CDI) Core v1.0.1
Used CDI implementation: Weld v20110404-1554
project-stage: Production
project-stage class:
org.apache.myfaces.extensions.cdi.core.api.projectstage.ProjectStage$Production
application-parameters:
name: com.sun.faces.forceLoadConfiguration
value: true
name: javax.faces.PARTIAL_STATE_SAVING
value: false
name: com.sun.faces.validateXml
value: true
name: javax.faces.PROJECT_STAGE
value: Production
name: primefaces.THEME
value: aristo
config implementation:
org.apache.myfaces.extensions.cdi.core.alternative.config.AlternativeCodiCoreConfig
config implementation:
org.apache.myfaces.extensions.cdi.core.api.config.CodiCoreConfig
method: isAdvancedQualifierRequiredForDependencyInjection
value: true
method: isConfigurationLoggingEnabled
value: true
method: isInvalidBeanCreationEventEnabled
value: false
INFO: [Started] MyFaces CODI Scripting-Module v1.0.1
INFO: [Started] MyFaces CODI Bean-Validation-Module v1.0.1
WARNING: PWC4011: Unable to set request character encoding to UTF-8 from
context /Iberis_Web_Admin, because request parameters have already been
read, or ServletRequest.getReader() has already been called
WARNING: PWC4011: Unable to set request character encoding to UTF-8 from
context /Iberis_Web_Admin, because request parameters have already been
read, or ServletRequest.getReader() has already been called
WARNING: PWC4011: Unable to set request character encoding to UTF-8 from
context /Iberis_Web_Admin, because request parameters have already been
read, or ServletRequest.getReader() has already been called
WARNING: Target Unreachable, 'null' returned null
javax.el.PropertyNotFoundException: Target Unreachable, 'null' returned null
at com.sun.el.parser.AstValue.getTarget(AstValue.java:150)
at com.sun.el.parser.AstValue.getType(AstValue.java:76)
at com.sun.el.ValueExpressionImpl.getType(ValueExpressionImpl.java:195)
at
org.jboss.weld.el.WeldValueExpression.getType(WeldValueExpression.java:113)
at
com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:95)
at javax.faces.component.UIInput.getConvertedValue(UIInput.java:1030)
at javax.faces.component.UIInput.validate(UIInput.java:960)
at javax.faces.component.UIInput.executeValidate(UIInput.java:1233)
at javax.faces.component.UIInput.processValidators(UIInput.java:698)
at
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
at
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
at
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
at
org.primefaces.component.fieldset.Fieldset.processValidators(Fieldset.java:199)
at
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
at
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
at
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
at org.primefaces.component.layout.Layout.processValidators(Layout.java:236)
at javax.faces.component.UIForm.processValidators(UIForm.java:253)
at
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
at
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1214)
at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:1172)
at
com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:76)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at
org.apache.myfaces.extensions.cdi.jsf2.impl.listener.phase.CodiLifecycleWrapper.execute(CodiLifecycleWrapper.java:97)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
at
org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1539)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
at
com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
at
org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:330)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:174)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
at java.lang.Thread.run(Thread.java:679)
On Sun, Oct 2, 2011 at 2:06 PM, Gerhard Petracek <gerhard.petracek@gmail.com
> wrote:
> hi james,
>
> first of all: welcome @ myfaces!
>
> i tested it with primefaces v3.0.RC1-SNAPSHOT [1] and it works fine.
> please provide the whole log (startup until the exception) or a demo app
> which shows the issue.
>
> regards,
> gerhard
>
> [1] *http://goo.gl/cQEkC*
>
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>
>
> 2011/9/30 Jim May <ji...@gmail.com>
>
> > Hello,
> >
> > I recently downloaded the codi library and added it to my JSF application
> > that is running on Glassfish 3.1.1. I am having problems where the method
> > of
> > a bean is not recognized when I invoke an action. The error message I get
> > is
> > that the property is null. I don't understand why it's looking for a
> > property when the method is specified for the action. I am using
> PrimeFaces
> > components and I have already filed the issue at the PrimeFaces forum.
> > Still
> > no resolution.
> >
> > For more details of my issue please go here:
> > http://forum.primefaces.org/viewtopic.php?f=3&t=15234
> >
> > Not sure if this is a bug with the latest version of glassfish and it's
> > libraries. I am hoping that someone has already come across this issue.
> >
> > Any help would be appreciated.
> >
> > Thank You,
> >
> > --
> > James May
> > Software Engineer / Architect
> > http://www.jamesmay.me
> >
>
--
James May
Software Engineer / Architect
http://www.jamesmay.me
Re: Problem with ViewAccessScoped in MyFaces CODI 1.0.1
Posted by Gerhard Petracek <ge...@gmail.com>.
hi james,
first of all: welcome @ myfaces!
i tested it with primefaces v3.0.RC1-SNAPSHOT [1] and it works fine.
please provide the whole log (startup until the exception) or a demo app
which shows the issue.
regards,
gerhard
[1] *http://goo.gl/cQEkC*
http://www.irian.at
Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces
2011/9/30 Jim May <ji...@gmail.com>
> Hello,
>
> I recently downloaded the codi library and added it to my JSF application
> that is running on Glassfish 3.1.1. I am having problems where the method
> of
> a bean is not recognized when I invoke an action. The error message I get
> is
> that the property is null. I don't understand why it's looking for a
> property when the method is specified for the action. I am using PrimeFaces
> components and I have already filed the issue at the PrimeFaces forum.
> Still
> no resolution.
>
> For more details of my issue please go here:
> http://forum.primefaces.org/viewtopic.php?f=3&t=15234
>
> Not sure if this is a bug with the latest version of glassfish and it's
> libraries. I am hoping that someone has already come across this issue.
>
> Any help would be appreciated.
>
> Thank You,
>
> --
> James May
> Software Engineer / Architect
> http://www.jamesmay.me
>
Re: Problem with ViewAccessScoped in MyFaces CODI 1.0.1
Posted by Jim May <ji...@gmail.com>.
I am using glassfish 3.1.1. I also have partial state save enabled. I am
going to make that false to see if it improves things. What is the best /
stable application server and frameworks for jsf? Tomcat and open web beans?
Tired of messing with this foolishness. Btw- using () in the expression
will call the method ---- unfortunately during bean creation as well.
On Oct 1, 2011 4:59 AM, "Mark Struberg" <st...@yahoo.de> wrote:
> Hi!
>
> Guess this has nothing to do with CDI nor CODI but simple with EL ;)
> I saw you used
>
> <p:commandButton value="Save" ajax="false"
actionListener="#{dataForm.save}"/>
>
> but your method has not the right signature.
> Please try to add a () to your save call
> <p:commandButton value="Save" ajax="false"
actionListener="#{dataForm.save()}"/>
>
> If you have EL-2.2 then this should do the trick.
>
> Btw, which version of Crashfish do you use?
> There are some utterly broken glassfish versions out there and you can
find _tons_ of critical bug reports for it.
> Please try the latest nightly build form the dev line.
>
> And how does your library structure of your WAR look like? In some older
Weld versions there's a known bug that you need to unpack all your jars into
WEB-INF/classes and merge all beans.xml manually to get it working. We have
some tips for Glassfish users on our CODI wiki as well [1].
>
> LieGrue,
> strub
>
> [1] https://cwiki.apache.org/confluence/display/EXTCDI/Module+Overview
>
>
>
> ----- Original Message -----
>> From: Jim May <ji...@gmail.com>
>> To: users@myfaces.apache.org
>> Cc:
>> Sent: Friday, September 30, 2011 3:54 PM
>> Subject: Problem with ViewAccessScoped in MyFaces CODI 1.0.1
>>
>> Hello,
>>
>> I recently downloaded the codi library and added it to my JSF application
>> that is running on Glassfish 3.1.1. I am having problems where the method
of
>> a bean is not recognized when I invoke an action. The error message I get
is
>> that the property is null. I don't understand why it's looking for a
>> property when the method is specified for the action. I am using
PrimeFaces
>> components and I have already filed the issue at the PrimeFaces forum.
Still
>> no resolution.
>>
>> For more details of my issue please go here:
>> http://forum.primefaces.org/viewtopic.php?f=3&t=15234
>>
>> Not sure if this is a bug with the latest version of glassfish and it's
>> libraries. I am hoping that someone has already come across this issue.
>>
>> Any help would be appreciated.
>>
>> Thank You,
>>
>> --
>> James May
>> Software Engineer / Architect
>> http://www.jamesmay.me
>>
Re: Problem with ViewAccessScoped in MyFaces CODI 1.0.1
Posted by Mark Struberg <st...@yahoo.de>.
Hi!
Guess this has nothing to do with CDI nor CODI but simple with EL ;)
I saw you used
<p:commandButton value="Save" ajax="false" actionListener="#{dataForm.save}"/>
but your method has not the right signature.
Please try to add a () to your save call
<p:commandButton value="Save" ajax="false" actionListener="#{dataForm.save()}"/>
If you have EL-2.2 then this should do the trick.
Btw, which version of Crashfish do you use?
There are some utterly broken glassfish versions out there and you can find _tons_ of critical bug reports for it.
Please try the latest nightly build form the dev line.
And how does your library structure of your WAR look like? In some older Weld versions there's a known bug that you need to unpack all your jars into WEB-INF/classes and merge all beans.xml manually to get it working. We have some tips for Glassfish users on our CODI wiki as well [1].
LieGrue,
strub
[1] https://cwiki.apache.org/confluence/display/EXTCDI/Module+Overview
----- Original Message -----
> From: Jim May <ji...@gmail.com>
> To: users@myfaces.apache.org
> Cc:
> Sent: Friday, September 30, 2011 3:54 PM
> Subject: Problem with ViewAccessScoped in MyFaces CODI 1.0.1
>
> Hello,
>
> I recently downloaded the codi library and added it to my JSF application
> that is running on Glassfish 3.1.1. I am having problems where the method of
> a bean is not recognized when I invoke an action. The error message I get is
> that the property is null. I don't understand why it's looking for a
> property when the method is specified for the action. I am using PrimeFaces
> components and I have already filed the issue at the PrimeFaces forum. Still
> no resolution.
>
> For more details of my issue please go here:
> http://forum.primefaces.org/viewtopic.php?f=3&t=15234
>
> Not sure if this is a bug with the latest version of glassfish and it's
> libraries. I am hoping that someone has already come across this issue.
>
> Any help would be appreciated.
>
> Thank You,
>
> --
> James May
> Software Engineer / Architect
> http://www.jamesmay.me
>