[Tomcat Integration] - HttpSession is getting mixed up
by davewebb
I am having a weird, sporadic and impossible to duplicate problem. If this is not the correct forum, I apologize and would appreciate a shove in the right direction.
My configuration is 4 JBoss nodes clustered and running behind the Apache mod_jk load balancer.
Server Version: Apache
| JK Version: mod_jk/1.2.25
Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)
|
| Java VM: Java HotSpot(TM) Server VM 1.5.0_17-b04,Sun Microsystems Inc.
| OS-System: Linux 2.6.18.2-34-default,i386
|
Like most JEE apps, I use the HttpSession to persist user level data across HttpRequests.
My delimma is that in some cases, a user will see another users data. It is almost as if the JSessionID is getting mixed up. Has anyone seen this before?
Any ideas on where to start?
Thanks in advance!
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259771#4259771
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259771
16 years, 8 months
[Clustering] - Issue Clustering JBoss 5 over two computer
by jeronimo
Hi all, during developmente I have trying cluster on the same same machine and all works fine.
Now I need to try it on two different computer. I have a OSx and a Xubuntu notebook to do this test.
I start the instance with:
./run.sh -c node1 -g DocsPartition -b 0.0.0.0 -Djboss.messaging.ServerPeerID=1 -Djboss.default.jgroups.stack=tcp -Djgroups.tcpping.initial_hosts=192.168.1.151:7600,192.168.1.152:7600
and
./run.sh -c node2 -g DocsPartition -b 0.0.0.0 -Djboss.messaging.ServerPeerID=2 -Djboss.default.jgroups.stack=tcp -Djgroups.tcpping.initial_hosts=192.168.1.151:7600,192.168.1.152:7600
The ips of my cluster are: 192.168.1.151 and 192.168.1.152.
The instances starts, but the session replication doesn't works.
In the first node I see this log:
INFO [RPCManagerImpl] Received new cluster view: [192.168.1.151:7600|0] [192.168.1.151:7600]
While in second node:
INFO [RPCManagerImpl] Received new cluster view: [127.0.1.1:7600|0] [127.0.1.1:7600]
That's all folks.
Someone can help me? Contact me If you need more information
thanks in advantage,
Davide
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259762#4259762
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259762
16 years, 8 months
[JBoss Tools Users] - BIRT Integration dependencies conflict
by michaelcc
Trying to install jboss tools for the first time. I wanted to install the whole deal, but there is a conflict with the current BIRT 2.5 from their update site and dev/ JBoss 3.1. I rolled back and reinstalled both birt then jboss. It didnt work. I just uncheck the installation of JBoss BIRT integration for the time being. here is the error below. didnt know where to post the bug.
Michael
Cannot complete the install because of a conflicting dependency.
Software being installed: JBoss BIRT Integration 1.1.0.v200909110340M-H277-M3 (org.jboss.tools.birt.feature.feature.group 1.1.0.v200909110340M-H277-M3)
Software currently installed: Eclipse BIRT Web Tools Project 2.5.1.v20090629-3407w311A1917 (org.eclipse.birt.integration.wtp.feature.group 2.5.1.v20090629-3407w311A1917)
Only one of the following can be installed at once:
BIRT WTP Integration Plug-in 2.5.0.v20090514 (org.eclipse.birt.integration.wtp.ui 2.5.0.v20090514)
BIRT WTP Integration Plug-in 2.5.1.v20090806 (org.eclipse.birt.integration.wtp.ui 2.5.1.v20090806)
Cannot satisfy dependency:
From: Eclipse BIRT Web Tools Project 2.5.1.v20090629-3407w311A1917 (org.eclipse.birt.integration.wtp.feature.group 2.5.1.v20090629-3407w311A1917)
To: org.eclipse.birt.integration.wtp.ui [2.5.1.v20090806]
Cannot satisfy dependency:
From: JBoss BIRT Integration 1.1.0.v200909110340M-H277-M3 (org.jboss.tools.birt.feature.feature.group 1.1.0.v200909110340M-H277-M3)
To: org.eclipse.birt.integration.wtp.ui [2.5.0.v20090514]
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259745#4259745
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259745
16 years, 8 months
[jBPM Users] - Re: Using Process variables as parameters for method calls
by kukeltje
anonymous wrote : *ping kukeltje*
64 bytes from kukeltje.lombox.customer.bit.nl (87.251.48.65): icmp_seq=1 ttl=116 time=1h20m10s
64 bytes from kukeltje.lombox.customer.bit.nl (87.251.48.65): icmp_seq=2 ttl=116 time=1h20m11s
64 bytes from kukeltje.lombox.customer.bit.nl (87.251.48.65): icmp_seq=3 ttl=116 time=1h20m12s
64 bytes from kukeltje.lombox.customer.bit.nl (87.251.48.65): icmp_seq=4 ttl=116 time=1h20m13s
64 bytes from kukeltje.lombox.customer.bit.nl (87.251.48.65): icmp_seq=5 ttl=116 time=1h20m14s
64 bytes from kukeltje.lombox.customer.bit.nl (87.251.48.65): icmp_seq=6 ttl=116 time=1h20m15s
64 bytes from kukeltje.lombox.customer.bit.nl (87.251.48.65): icmp_seq=7 ttl=116 time=1h20m16s
64 bytes from kukeltje.lombox.customer.bit.nl (87.251.48.65): icmp_seq=8 ttl=116 time=1h20m17s
64 bytes from kukeltje.lombox.customer.bit.nl (87.251.48.65): icmp_seq=9 ttl=116 time=1h20m18s
"sebastian.s" wrote :
| I was reading the section about java activities and process variables in the userguide and wondering about some things.
|
| In a java or a custom activity I could use
| Object getVariable(String key);
| to retrieve the values of process variables and then I could go use them as arguments for method calls.
|
First of all I'm not sure you can get to the executioncontext in the java task. You can in the custom tastk/node
"sebastian.s" wrote :
| But that means that if I changed the names of the process variables I would need to change the implementation of the java or custom activity, too. So wouldn't it be more convient to be able to specifiy process variables in the process definition which would be passed as arguments? So in case the process variable names changed just the process definition would need need changes but the java class wouldn't need to be touched?
|
| I was also wondering why you can specify the method name for a java activity in the GPD but not the number of arguments.
|
|
For the java task you can pass arguments and use expressions for the value of the arguments. These can afaik be process variable names as well, so that solves one problem. The varying number of arguments is afaik dealt with by jBPM since it uses reflection to find the correct method signature. Not 100% completely sure though.
What you can also to in the java task is set member fields, put a list, xml document or whatever in there from the processdefinition and parse/use that in your java class. It's kind of what you mentioned in the dev forum when we talked about schema extensions.
http://docs.jboss.com/jbpm/v4/userguide/html_single/#java
I was under the impression that something like the field thing for java tasks was possible as well for custom nodes, but that might be something left in my brain from jBPM 3 (or it might just be wishful thinking) as I do not seem to be able to find anything.
"sebastian.s" wrote :
|
| If I got it wrong I'd be happy for some clarifying words. If not this seems to turn out to be a discussion for the dev forum, right?
|
Regarding passing params to the custom node, yes.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259739#4259739
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259739
16 years, 8 months