[JBossWS] - JBossWS, Portlets, JAAS and Multiple JBoss Application Serve
by hartsock
I'm just starting in on a new project. I have been directed to create a SOAP service that will be consumed by a Portlet. The portal server is on a physically separate server from the JBoss EJB3/SOAP server.
What I want to do is to take the Authenticated Principal from the Portal and pass it back to the server running the SOAP services. How would I do this? I assume that JAAS plays a role and the secret is in a properly configured realm.
The documentation I have assumes the SOAP and Portal programs are on the same server... but these programs are on physically different servers. I can see this being a problem if I have to coordinate authentication between multiple SOAP servers which I know many shops must have to do. So, I figure there must be a straight forward solution that I'm not finding in the JBoss wiki, the JBoss text books I have, or the other training materials.
I'm trying to answer this security question before I start writing application code.
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052678#4052678
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052678
18Â years, 10Â months
[Messaging, JMS & JBossMQ] - Unique Constraint PK_JMS_TRANSACTIONS with 2 JBoss MQ instan
by fgarsombke
We are setting up a clustered JBoss environment. HA JMS is not an option for us. Each JBoss instance has unique queue names. The two JBoss iinstances are using one Oracle database. When we place a certain amount of load on the systems (like 6-8 msgs/sec) with the two JBoss vms writing to the same database tables we can produce this error:
Thoughts? Using JBoss 4.0.4.GA
TP-Processor33] TransactionImpl.logXAException 2007-06-08 08:24:16,436
WARN XAException: tx=TransactionImpl:XidImpl[FormatId=257,
GlobalId=ngtest1.f4tech.com/78237,
BranchQual=, localId=78237] errorCode=XAER_RMERR
org.jboss.mq.SpyXAException: - nested throwable:
(org.jboss.mq.SpyTransactionRolledBackException: Transaction was rolled back.; - nested
throwable: (org.jboss.mq.SpyJM
SException: Could not create tx: 26635; - nested throwable:
(java.sql.SQLException: ORA-00001: unique constraint (NGTEST.PK_JMS_TRANSACTIONS)
violated
)))
at org.jboss.mq.SpyXAResource.prepare(SpyXAResource.java:149)
at
org.jboss.tm.TransactionImpl$Resource.prepare(TransactionImpl.java:2212)
at
org.jboss.tm.TransactionImpl.prepareResources(TransactionImpl.java:1660)
at
org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:347)
at org.jboss.tm.TxManager.commit(TxManager.java:240)
at
Thanks in advance.
Franz
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052671#4052671
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052671
18Â years, 10Â months
[JBoss Seam] - Simple question from an not-noob developer
by beligum
Hi all,
Quick question I've been stuggling with for a day now:
I have a page that uses an outjected variable/bean.
That variable is set by an action bean after selection from a list.
However, when a user accesses the target page directly, without going through the selection page, that variable will be null (normal behaviour indeed).
Now, is there a way to redirect the user to the selection-page when this happens?
I could do this in a page-action method, but the problem is that the target page is restricted (in pages.xml) :
| <page view-id="/showSpace.xhtml">
| <restrict>#{s:hasPermission('space', 'view', selectedSpaceInstance)}</restrict>
| </page>
|
The outjected variable in question here is selectedSpaceInstance, and the restriction-check crashes when it is null, throwing this exception:
| javax.el.PropertyNotFoundException: ELResolver cannot handle a null base Object with identifier 'selectedSpaceInstance'
|
even before any page-action is invoked.
Seems like something simple to me, usually done in pages.xml, but I can't seem to find a solution.
any help is, of course, welcome.
b.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052668#4052668
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052668
18Â years, 10Â months
[JBoss Portal] - Re: Exception in Management Portlet
by Kiyone
I have the same Exception, is there any solution to this problem?
My System
Windows XP SP2
JBoss 4.0.5 GA
Portal 2.4.1
PostgreSQL 8.2
JDK6
- Copied postgresql-8.2-505.jdbc3.jar to server default lib folder
- Downloaded the zip version of JBoss 4.0.5 - this works just fine
- Downloaded the Portal binaries - made the changes to portal-postgresql-ds.xml to match my db settings.
- copied folder jboss-portal.sar and file portal-postgresql-ds.xml to the server default deploy folder.
Previously i've tested it with jboss-4.2.0.GA but there i had even more exceptions - i gave up on this setup after several hours on the forum and trying to find a solution.
Just installing the bundle isn't a solution for me, because i want to know why errors occur and how i can fix them.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052665#4052665
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052665
18Â years, 10Â months