[JBoss Portal] - Portlet Instance ID error
by hreintke
LS,
I am running Portal 2.7.0GA and defining new portlets/pages for the portal.
Created a new Portlet Instance of the RSS News portlet, named NU news.
Now when accessing the "Portlet Instances" tab of the "admin portal" I get the error :
ERROR
Cause: javax.portlet.PortletException: Error process faces request
Message: Error process faces request
StackTrace:
javax.portlet.PortletException: Error process faces request
at javax.portlet.faces.GenericFacesPortlet.doFacesDispatch(GenericFacesPortlet.java:346)
at javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:306)
at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:328)
at javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:287)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
Using a fresh/new portal installation I managed to find that this is caused by the space in the name that I used when creating the portlet instance. When using no spaces in the portlet I can configure with no problems.
But now I have a partly configured portal which I cannot administer due to the error and I would like to prevent that I have to start all over again.
I expected that the configuration I did using the admin interface would be visible in the jboss configuration files but I was not able to find any of my specific configurations in there.
Questions :
- Should it be possible to use spaces in Portlet Instance ID's ?
- Where is the configuration saved that I do using the admin interface ?
- Could I manually change that configuration to remove the space from the name ?
Kind regards,
Herman
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201598#4201598
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4201598
17 years, 6 months
[Remoting] - Re: Why so many retries?
by ron.sigal@jboss.com
"mohitanchlia" wrote :
| Is there a way to change the timeout and make it applicable only for certain EJBs. The change timeout=xxxx is a global change but what I really want is to apply it to only certain EJB invocations.
|
Well, one thing you could try would be to create multiple EJB3 Connectors in $JBOSS_HOME/server/$CONFIG/deploy/ejb3.deployer/META-INF/jboss-service.xml, each with a different "timeout" value, and associate different JNDI bindings with the different Connectors. For example, something like this in jboss.xml:
| <session>
| <ejb-name>SampleEjb3Bean</ejb-name>
| <remote-binding>
| <jndi-name>SampleEjb3Bean/fasttimeout</jndi-name>
| <client-bind-url>
| socket://${jboss.bind.address}:3873/?timeout=1000
| </client-bind-url>
| </remote-binding>
| <remote-binding>
| <jndi-name>SampleEjb3Bean/slowtimeout</jndi-name>
| <client-bind-url>
| socket://${jboss.bind.address}:3873/?timeout=3600000
| </client-bind-url>
| </remote-binding>
| </session>
|
where the InvokerLocators for the two Connectors would be "socket://${jboss.bind.address}:3873/?timeout=1000" and "socket://${jboss.bind.address}:3873/?timeout=3600000". Then, you could get two proxies for the same EJB3, and use each as appropriate.
Note: I haven't tried it. If it works for you, let us know.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201581#4201581
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4201581
17 years, 6 months