[JBoss Portal] New message: "Long client id's for rich faces components in portlets"
by Martin Schwietzke
User development,
A new message was posted in the thread "Long client id's for rich faces components in portlets":
http://community.jboss.org/message/519855#519855
Author : Martin Schwietzke
Email : martin(a)schwietzke.net
Profile : http://community.jboss.org/people/mschwietzke
Message:
--------------------------------------------------------------
When using JSF components in Portlets, very long client id's are automatically generated inlcuding the path of the current page.
E. g. jbpns_2fdefault_2fKunde_20und_20Kontakte_2fKontaktesnpbj:_viewRoot:cf:forenameSearchterm
Is there any possibilty to get them shorter?
For example to define a very short id for each page in JBoss Portal?
Then the id's could be much shorter and many traffic could be avoid. In my opinion
it is horror that each component has got such so long id's in the source code.
Regards
Martin
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/519855#519855
16 years, 3 months
[jBPM] New message: "Re: Getting variables for completed tasks"
by Tej jbpm
User development,
A new message was posted in the thread "Getting variables for completed tasks":
http://community.jboss.org/message/519845#519845
Author : Tej jbpm
Profile : http://community.jboss.org/people/tejJBPM
Message:
--------------------------------------------------------------
Hi there,
If you cant wait for the issues to be resolved, I had implemented the same by creating my own table and inserting the variables with the process reference id. You get all the variables using the API before ending a task and insert it into your own history table and requery it .
Most of the issues in jbpm can be resolved by just implementing in your own way. Some of the functionalities which are not supported I have implemented it in my own application just be thinking of a workaround..
If you are happy with the basic functionalities of the JBPM for your project - then that is the way you go!!
Thanks
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/519845#519845
16 years, 3 months
[jBPM] New message: "Cleanup Process Engine"
by Tej jbpm
User development,
A new message was posted in the thread "Cleanup Process Engine":
http://community.jboss.org/message/519842#519842
Author : Tej jbpm
Profile : http://community.jboss.org/people/tejJBPM
Message:
--------------------------------------------------------------
Hi All,
I have implemented a solution with jbpm successfully. My problem is I get a "GC overhead limit exceeded" at times as my program spends too much time on garbage collection.
I think it is the way i am initialising the process engine and the clenaup is not happening properly.
I do this in the beginning of each file which runs in my application
+processEngine+
+= *new*+ +org.jbpm.api.Configuration().setResource("my.jbpm.cfg.xml").buildProcessEngine();+
At the end of each file I do
+processEngine.close();+
But is this the correct way to do it? Do I have initialise the engine once and then use it all over the pages? Will processEngine.close() cleanup all the executionService, taskService, RepositoryService which i initalise followed by the process engine initialisation.
Please guide me if there are any other better ways to do it.
+Thanks in advance+
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/519842#519842
16 years, 3 months
[Datasource Configuration] New message: "Re: Problem with number of database connections (Oracle)"
by Michal Rorat
User development,
A new message was posted in the thread "Problem with number of database connections (Oracle)":
http://community.jboss.org/message/519839#519839
Author : Michal Rorat
Profile : http://community.jboss.org/people/michal_rorat
Message:
--------------------------------------------------------------
adrian(a)jboss.org wrote:>
> 43-5=38
>
> 5 is the number of connections that get created when you first use the datasource, if you specify a min-pool-size of 5.
>
> Since that number matches the difference in configuration that suggests to me that there were none in the pool before the change.
>
I just tested the application with one MessageDrivenBean removed and started JBoss created 34 connections. Since I have 5 of them with preety much the same configuration we can assume that they reserve 20 connections - but still - what reserve remaining 18 of them?
this is my MDB annotation:
@MessageDriven(name = "abcQueueListener",
activationConfig =
{
@ActivationConfigProperty(propertyName = "ProviderAdapterJNDI", propertyValue = "OAQJMSProvider"),
@ActivationConfigProperty(propertyName = "UseDLQ", propertyValue = "false"),
@ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),
@ActivationConfigProperty(propertyName = "destination", propertyValue = "queue/abc"),
@ActivationConfigProperty(propertyName = "acknowledgeMode", propertyValue = "Auto-acknowledge"),
@ActivationConfigProperty(propertyName = "Durable", propertyValue = "false"),
@ActivationConfigProperty(propertyName = "SessionTransacted", propertyValue = "false"),
@ActivationConfigProperty(propertyName = "MessageSelector", propertyValue = "JMSType='abc_BLOB'"),
@ActivationConfigProperty(propertyName = "maxSession", propertyValue="3")
})
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/519839#519839
16 years, 3 months
[JBoss Portal Development] New message: "Portlet Definition in one WAR portlet-instance in another"
by Michael Helfer
User development,
A new message was posted in the thread "Portlet Definition in one WAR portlet-instance in another":
http://community.jboss.org/message/519833#519833
Author : Michael Helfer
Profile : http://community.jboss.org/people/mhelfer
Message:
--------------------------------------------------------------
I am trying to create a generic portlet in my content management project. Anybody that wants to retrieve content from my cms project will then create an instance of that portlet in their individual consumer projects. However, all projects cms/consumers will live on the same server. When I set all this up and login to the admin portal, I see the cms-portlet listed in the portlet-definition tab, however I don't see any of the consumer instances listed in the portlet-instances tab.
My question is, without setting up WSRP is there a way to reference a portlet definition contained within a separate war?
Thanks in advance
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/519833#519833
16 years, 3 months