[JBoss Portal] - Porlet Instances not showing
by alittledog
I am attempting to deploy a exploded WAR with portlet.xml and portlet-instances.xml (in WEB-INF) so that my lead analysts can mockup what they want to see. The portlet.xml works fine and I can see all the portlets I made in the management portlet. However, I don't see any of my instances appearing. I have been browsing about and I have found and tried two different structures for my portlet-instances.xml.
<?xml version="1.0" standalone="yes"?>
<!-- LaborCostPct -->
<if-exists>overwrite</if-exists>
<instance-name>LaborCostsPctInstance</instance-name>
<component-ref>LaborCostsPctPortlet</component-ref>
and
<?xml version="1.0" standalone="yes"?>
<!-- LaborCostPct -->
<instance-id>LaborCostsPctInstance</instance-id>
<portlet-ref>LaborCostsPctPortlet</portlet-ref>
I am getting a fair number warnings during the boot :
10:30:03,058 WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.role.RoleImpl]; using defaults.
10:30:03,579 WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.user.PreferenceImpl]; using defaults.
(and variations of this)
JBoss [Zion] 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)
Thanks,
Matt
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987646#3987646
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987646
19Â years, 5Â months
[JBossCache] - Configuring JBossCluster
by urisherman
Hello,
I'm am looking into integrating JBossCache into a clustered application we will have running on WLS9.2.
I tried digging into the docs trying to figure out how to define cluster members from jbosscache but I kept ending up with that unclear "ClusterConfig" element in the xml configuration file that has no informative english documentation to come with (or at least none that I found).
Does the cache service load the cluster definition from weblogic classes at runtime? I don't have the cluster up and running yet so I couldn't check that out.
Even if so, I'd still like to know how I can manually configure it since the cluster won't necessarily be defined in weblogic.
Thanks!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987645#3987645
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987645
19Â years, 5Â months
[JBoss Seam] - Re: Concerning nested conversation
by antispart
It looks like what's happening is that when an @End annotated method is encountered the deepest level (most nested) conversation gets killed, not necessarily the one started on the same SFSB.
So if I have
public class A {
| @Begin (nested=true)
| selectA()
|
| @End
| deselectA()
| }
public class B {
| @Begin (nested=true)
| selectB()
|
| @End()
| deselectB
| }
public class C {
| @Begin (nested=true)
| selectC
|
| @End
| deselectC}
|
And I call
selectA()
selectB()
selectC()
deselectB()
Only the last conversation is being killed (the one started in selectC().
Is there any way to specify that you want to kill the conversation started on the same SFSB (and therefore all nested conversation as well)? So, deselectB would kill the conversations started by selectB and selectC. Also, deselectA would kill the conversations started by selectA, selectB, selectC.
The alternative is just to call deselectC from deselectB, but I think it'd be more clean for that to be handled transparently.
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987644#3987644
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987644
19Â years, 5Â months