[JBoss Portal] - Re: Unable to set CMS preferences
by PeterJ
I was going to try this earlier but just now go aroung to it. Downloaded source from SVN at http://anonsvn.jboss.org/repos/portal/trunk/. Compiled using JDK 1.5.0_06, deployed to JBoss 4.0.4.GA, using MysSQL 5.0. (I like the new default theme, very clean.) Logged in as admin, went to Management Portlet, clicked on Instances, clicked on CMSPortletInstance, then clicked on the paper-with-pencil icon next to the indexpage preference. Changed the value to "default/project.html" and clicked on Update. Got an HTTP Status 500 page and a lot of stack trace in the console window. Here are excerpts:
Got several of these:
08:40:59,158 ERROR [STDERR] Oct 19, 2006 8:40:59 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/F:/jboss/portal/jboss-4.0.4.GA/server/portal
| 24/tmp/deploy/tmp7608jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
followed by:
08:41:25,251 ERROR [[/portal-core]] Error calling action method of component wit
| h id jbp98eb779b_id98:jbp98eb779b_id102
| javax.faces.FacesException: Error calling action method of component with id jbp
| 98eb779b_id98:jbp98eb779b_id102
| at org.apache.myfaces.application.ActionListenerImpl.processAction(Actio
| nListenerImpl.java:74)
| at javax.faces.component.UICommand.broadcast(UICommand.java:106)
| at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:9
| 0)
| at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1
| 64)
| at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(Lifecycl
| eImpl.java:316)
| at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java
| :86)
| at org.apache.myfaces.portlet.MyFacesGenericPortlet.processAction(MyFace
| sGenericPortlet.java:221)
| . . .
| Caused by: javax.faces.el.EvaluationException: /WEB-INF/jsp/management/plugins/p
| references.xhtml @75,70 action="#{action.updateCell}": java.lang.Error: Handle m
| e gracefully please
| at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.ja
| va:73)
| at org.apache.myfaces.application.ActionListenerImpl.processAction(Actio
| nListenerImpl.java:63)
| ... 219 more
| Caused by: java.lang.Error: Handle me gracefully please
| at org.jboss.portal.core.portlet.management.actions.PreferenceAction.upd
| ateCell(PreferenceAction.java:143)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
| java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
| sorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at com.sun.el.parser.AstValue.invoke(AstValue.java:130)
| at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:274)
|
| at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.ja
| va:68)
| at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.ja
| va:69)
| ... 220 more
| Caused by: org.jboss.portal.portlet.InvalidPortletIdException: Cannot configure
| producer offered portlets
| at org.jboss.portal.portlet.state.producer.ProducerPortletInvoker.setPro
| perties(ProducerPortletInvoker.java:554)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
| java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
| sorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
| er.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
| or.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
| BeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
| java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy72.setProperties(Unknown Source)
| at org.jboss.portal.federation.impl.FederatedPortletInvokerService.setPr
| operties(FederatedPortletInvokerService.java:222)
| at org.jboss.portal.federation.impl.FederatingPortletInvokerService.setP
| roperties(FederatingPortletInvokerService.java:216)
| . . .
| 08:41:26,079 ERROR [[/portal-core]] Root cause: /WEB-INF/jsp/management/plugins/
| preferences.xhtml @75,70 action="#{action.updateCell}": java.lang.Error: Handle
| me gracefully please
| javax.faces.el.EvaluationException: /WEB-INF/jsp/management/plugins/preferences.
| xhtml @75,70 action="#{action.updateCell}": java.lang.Error: Handle me gracefull
| y please
| at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.ja
| va:73)
| at org.apache.myfaces.application.ActionListenerImpl.processAction(Actio
| nListenerImpl.java:63)
| at javax.faces.component.UICommand.broadcast(UICommand.java:106)
| at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:9
| 0)
| at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1
| 64)
| at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(Lifecycl
| eImpl.java:316)
| at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java
| :86)
| at org.apache.myfaces.portlet.MyFacesGenericPortlet.processAction(MyFace
| sGenericPortlet.java:221)
| at org.jboss.portal.portlet.container.PortletContainer.invokeAction(Port
| letContainer.java:491)
| at org.jboss.portal.portlet.container.PortletContainer.dispatch(PortletC
| ontainer.java:434)
| at org.jboss.portal.portlet.container.PortletContainerInvoker$1.invoke(P
| ortletContainerInvoker.java:73)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
| ava:134)
| at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jbos
| s$portal$core$aspects$portlet$TransactionInterceptor$invokeRequired$aop(Transact
| ionInterceptor.java:105)
| at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRe
| quired_9103964459766407072.invokeNext(TransactionInterceptor$invokeRequired_9103
| 964459766407072.java)
| at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
| . . .
| Caused by: org.jboss.portal.portlet.InvalidPortletIdException: Cannot configure
| producer offered portlets
| at org.jboss.portal.portlet.state.producer.ProducerPortletInvoker.setPro
| perties(ProducerPortletInvoker.java:554)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
| java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
| sorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
| er.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
| or.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
| BeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| . . .
|
Notice once again the "Cannot configure producer offered portlets" error, which means that the portlet id still does not start with an underscore followed by a digit.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979401#3979401
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979401
19 years, 8 months
[JBoss jBPM] - Forms in JPDL
by yanfrish
Hello,
I'm newbie in jbpm. I have a problem. I have a process definition with several task nodes. I would like to get a dinamic form like the demo application, but i would like them to have more field types and not only input text (select, radio button, files, etc). I have thought about it and i think i could do that using external database tables where keeping all data about of the forms. Maybe i could fill those tables defining the form in a xml file added to prcess definition. I know that is not trivial, but i don't know another one. If you had this problem before and you solved, I would like some orientation. I would really pleased for your help.
Thanks in advanced and regards
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979395#3979395
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979395
19 years, 8 months