[JBoss Portal] - Admin Portlet: Strange Behavior with Oracle-DB
by IronMan77
Hi,
using this setup
* Version: jboss-portal-2.6.1.GA and jboss-portal-2.6.4.GA
* Download Version
* JBoss AS Version: 4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)] and 4.2.2
* Database: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production With the Partitioning and Data Mining options
* JDBC Connector and Version: ojdb14.jar (10.2.0.1.0 and 10.2.0.4.0)
* OS Platform: SUSE Linux Enterprise Server 10 (i586)
* Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
i have a rather strange behavoir when using the admin portlet. Adding a property to a page or modifying a user does not work as expected. The data seems to be written to the oracle database but it is NOT shown in the admin portlet. Using a mysql 5.0.26 database with the same setup does work as expected.
This seems to a strange effect, as it affects 2.6.1 and 2.6.4 without any modification. Is this a known bug (i have found nothing in the jira) or could it be related to the setup of the oracle database?
Oracle seems to be a quite popular database, so i am under the expression that this could be a bug with portal 2.6.1 AND 2.6.4?
Thanks in advance!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137817#4137817
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137817
18 years, 1 month
[JBoss jBPM] - accessing context variable map outside of session?
by simonbaker
What is the correct way to get a processinstance context variable map if we only want to use it for "read-only" access to look up variable values outside of a jbpm session?
For example, here is an experimental method to retrieve a handle to a context variable map, but since the method opens and closes a session, is the handle still pointing to a valid map, or should we make a copy of the map to return from the method?
| public static Map getProcessVariableMap(long LprocessId) throws Exception
| {
| Map mapVariables;
|
| if (jbpmConfiguration == null)
| jbpmConfiguration = JbpmConfiguration.getInstance();
|
| JbpmContext jbpmContext = null;
|
| try
| {
| jbpmContext = jbpmConfiguration.createJbpmContext();
|
| ProcessInstance procinst = jbpmContext.getProcessInstance(LprocessId);
|
| mapVariables = procinst.getContextInstance().getVariables();
| }
| finally
| {
| if (jbpmContext != null) jbpmContext.close();
| }
|
| return mapVariables;
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137816#4137816
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137816
18 years, 1 month
[Performance Tuning] - Re: 100% CPU usage with lots of memory
by PeterJ
The set of GC output you posted at 9:37 looks good. Earlier, all of your GCs were full GCs taking around 10 seconds. Now you have minor GCs taking less than 1/10th of a second.
Your post at 10:02 shows that you have overrun the 5GB heap you set. Note the heap sizes both before and after the collection are around 5GB.
Now you have to find out why the amount of heap in use jumped from 2.5GB in the 9:37 posting to 5GB in the 10:02 posting. Look at the GC outputs for where the heap sizes started to increase and find out what was going on at that time. If the increase is a jump, then something changed, find out what it was. If the increase was gradual, I would suspect a memory leak.
Add -XX:+PrintGCTimestamps to the JVM options - this will let you know when each GC was done (amount of time since the app started).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137815#4137815
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137815
18 years, 1 month