[JBoss Portal] - Re: Setting the content of the CMS Portlet Through the Manag
by PeterJ
The first thing to do is create another instance of the CMS portlet. Do this from the Management Portlet, click on the Portlet link on the top row of the window. Scroll the list of portlet until you see local.portal.CMSPortlet. Click on that and then to the right type is a name for the new instance and click Create Instance.
Next, adjust the default page for the new instance. Click on the Instances link in the top row (this step is not really necessary because when you create a new instance the window automatically switches to this view). Scroll the list to the new instance, it will be at the end of the list. When you see the new instance, click on the Id. To the right, click the icon showing a pencil over a piece of paper on the indexPage. Replace the current index page value (/default/index.html) with the desired page (I tried /default/project.html this time) and click the Update button.
Finally, place the new instance on a page. Click on the Portal link in the top row. Expand the tree view until the desired page is showing, and add the new instance to the page. Then go view the page (you might have to log out first), the new content should show, and the old CMS portlet should still have the old content.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966472#3966472
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966472
19 years, 8 months
[Remoting] - Re: How to unregister a ServerInvoker?
by tom.elrod@jboss.com
Just as a simple tests, I deployed a remoting-service.xml file in the deploy directory for JBossAS 4.0.4 and would then change some of the attribute values (i.e. backlog to 205). This worked without any problems. Contentes of remoting-service.xml pasted below.
Can you post the service.xml you are using (or what ever you are using) or create a jira issue and put in how to duplicate what you are doing?
Thanks.
-Tom
| <?xml version="1.0" encoding="UTF-8"?>
| <!DOCTYPE server>
|
| <server>
| <classpath codebase="lib"
| archives="*"/>
|
| <mbean code="org.jboss.remoting.network.NetworkRegistry"
| name="jboss.remoting:service=NetworkRegistry"/>
|
| <mbean code="org.jboss.remoting.transport.Connector"
| name="jboss.remoting:service=Connector,transport=Socket"
| display-name="Socket transport Connector">
|
| <attribute name="Configuration">
| <config>
| <invoker transport="socket">
| <attribute name="numAcceptThreads">1</attribute>
| <attribute name="maxPoolSize">303</attribute>
| <attribute name="clientMaxPoolSize" isParam="true">305</attribute>
| <attribute name="socketTimeout">60000</attribute>
| <attribute name="serverBindAddress">${jboss.bind.address}</attribute>
| <attribute name="serverBindPort">6666</attribute>
| <attribute name="enableTcpNoDelay" isParam="false">false</attribute>
| <attribute name="backlog">203</attribute>
| </invoker>
| <handlers>
| <handler subsystem="mock">org.jboss.remoting.samples.http.WebInvocationHandler</handler>
| </handlers>
| </config>
| </attribute>
| </mbean>
|
| </server>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966469#3966469
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966469
19 years, 8 months