[JBoss Portal] - Clustered SSO
by gressho
Hello,
I'm trying to install a clustered version of JBossPortal 2.6.2 on top on JBoss 4.2.1 on two
different nodes.
Following the documentation I managed to cluster JBoss with no difficulties using
TCP instead of UDP. So far I didn't install clustering for JMS and stay using HSQL
locally.
I installed jboss-portal-ha.sar in the jboss/server/all/deploy directory and created
a central Oracle scheme for the PortalDS.
Then I installed the load balancing, but instead of using mod_jk I used mod_proxy
and mod_proxy_balancer, following the samples in the apache docs (also setting
stickysession=JSESSIONID).
The problem is: when I try to log in I allways get an HTTP code 400 returned, the
second try will work properly. When I'm logged in I can shutdown any of the
nodes and all stays working fine.
Is there anyone having similar problems? Is there a problem with mod_proxy(_balancer)?
Any help will be greatly appreciated.
Thanks
Werner
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112523#4112523
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4112523
18 years, 4 months
[JNDI/Naming/Network] - Re: New EJB causes JNDI failure on existing EJB?
by hmccartney
Thanks very much for your reply.
The lookup is being done after the deployment of the application.
Both applications on both machines are packaged as ears containing several ejb3 and jar files. So on machine 2 we have MyApp1.ear and MyApp2.ear. MyWorkerBean is in Worker.ejb3 inside MyApp1.ear.
I should have said that in MyWorkerBean I have specified the JNDI name with:
public @Stateless
| @TransactionAttribute(value = TransactionAttributeType.REQUIRES_NEW)
| @RemoteBinding(jndiBinding = "MyWorkerBean/remote")
| class MyWorkerBean implements MyWorker {
Does the rule about prefixing the JNDI name with the name of the ear still apply in this case?
I don't have access to the test system at the minute but I'll try using
MyWorker myWorker = (MyWorker) context.lookup("MyApp1/MyWorkerBean/remote");
instead as soon as I get the chance. I'll also double-check the JNDI tree in the JMX console.
Thanks again for your suggestions.
Heather
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112522#4112522
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4112522
18 years, 4 months