I have two JBoss Instances/servers -- ServerA [10.1.1.101] ServerB
[10.1.1.102].
I have a Topic deployed on ServerA, and an EJB3 MDB on ServerB that is
attempting to connect to the remote Topic on ServerA. I have followed all of
the directions in the messaging wiki to connect an EJB3 MDB
Is it possible to use the JBoss implementation of EJB3, except with a
non-Hibernate persistence provider? In other words, can I replace the
underlying Peristence provider with a library of my own?
I'm experimenting with a library that has an implementation of
In an EJB3 SLSB, how do I lock a database table so I can do a read, then a
write in the same unit of work without having another calling thread do work in
between? Please note that EntityManager.lock(...) will not work here because I
need to lock the table BEFORE I create an entity.
Here's
Has the status of this changed?
Does the @Stateless annotation now work with the @Clustered annotation, or
should we still be doing it the way it's described in the above post?
Thanks!
David
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4126358#4126358
I'm using jboss-messaging, and am wondering what the difference between the
JMSUserManager and the 'messaging' application-policy defined in login-conf.xml
is. Which one determines my users/roles???
I'm using Mysql for persistent messaging, and in the file called
Thanks for your suggestion. I should have added this into the initial thread.
I'm getting an Authorization exception because the prinicipal and role are
null, but only if I specify a @SecurityDomain.
Here's the stack trace:
|
| 2:48:11,650 ERROR [RoleBasedAuthorizationInterceptor]
I have a secured EJB3 @Service bean as follows:
| @Service
| @Management(MyClassInterfaceManagement.class)
| @Local(MyClassInterface.class)
| @SecurityDomain(myrealm)
| @RolesAllowed( {
| admin, system
| })
| @RunAs(system)
| public class MyClass implements
Does anybody have any thoughts/opinion about the questions in my second post
(above)?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3994073#3994073
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3994073
Would you mind posting your code? I could use what you wrote.
Thanks!
David
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3992489#3992489
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992489
I can't confirm your problem using a JBoss/Java client. I'm using an Adobe
Flex2 client, and can hit my JBoss webservice using the WSSE Username Profile.
The only problem is that I have to send my password in the clear (See up above
where [EMAIL PROTECTED] addresses this point).
However,
anonymous wrote : 7. how should I capture or examine the SOAP header in order to
| look for wsse usernametoken element? Is there any log file or option to
| log the SOAP header?
In your log4j.xml file (JBOSS_HOME/server/[servername]/conf/log4j.xml), set the
CONSOLE appender threshold to
I'm having trouble calling a secured SLSB (Stateless Session Bean) from an MDB
(Message Driven Bean), and am wondering if I have discovered a bug, or if what
I am encountering is the intended usage by design.
I posted something over on the JAAS forum, and am cross-posting to the EJB3
forum
I am running JBAS 4.0.4GA_Patch1. I have an annotated EJB3 MDB, with the
following annotations:
@SecurityDomain(myRealm)
| @RunAs(system)
| @RolesAllowed( {
| admin, system
| })
|
Inside of my MDB, I am calling a function on a SLSB (called UserBean).
Inside of my SLSB
Is this still true in the context of EJB3 and the RunAs annotation?
anonymous wrote : Scott Stark: No, an mdb can never call getCallerPrincipal.
Doing a jaas login is equivalent to a dynamic run-as assignment.
Thanks!
David
View the original post :
Ok, so I recognize that while using BASIC auth, the browser controls the login
session, and nothing on the server side can logout a BASIC authenticated
client.
Just FYI, I'm calling a JBoss webservice from an Adobe FLEX Flash application
running in the browser.
So, I turned BASIC auth OFF on
Ok,
I solved my problem. As it turns out, I had a bug in my code on the Flex side
that was adding a WSSE header every time I logged out/logged in (but never
removing the headers, and re-using the WebService object used to make calls to
the JBossWS). So, while I did have the new credentials
Any update on this? Has a JIRA todo been created? I'm running into the same
problem. I'd like to base64(SHA1(nonce + createdTimeStamp + password)) and
send that value in the SOAP Header as part of the WSSE UsernameToken. However,
JBoss appears to not be doing anything with this when the
I have a JSR 181 EJB/Web Service endpoint that is secured using the BASIC auth
method. Everything works fine, and when I try to access the wsdl in a browser
(for example), I get a login popup, and I can authenticate just fine.
However, I want to be able to logout and access the web-service as
Is it possible to make an ear depend on a given service Mbean to be deployed
before the ear is loaded?
I've seen examples where a given mbean is made to wait (i.e. depend) on a given
ear loading first...but I'm trying to do the opposite.
Essentially, I have a MessageDriven EJB that calls an
Not sure if this is the reccomended strategy, but in your EJB impl class,
simply forward all WS message objects to a queue.
Then, define an MDB that listens to that queue, and that handles each WS object
in the onMessage() function. That way, your WS messages will be delivered
immediatly,
In your client, when you call the endpoint, can you confirm that the
System.getProperty(user.name) call is returning a non-null value?
| String ret = port.getHello(System.getProperty(user.name));
|
My guess is that System.getProperty(user.name) might be returning null on
you. Try the
There's not a really simple upgrade path (in terms of it happening
automatically). I suggest reading the JBossWS User guide, and go through some
examples.
There will probably be a small learning curve, but it's worth it. I'm using
JSR181 endpoints, so everything can be set using
Not sure if this will solve your problem, but you might try the IBM link below
to see the different schema formats that the various web-service document types
will produce. Either you're using the wrong WSDL-type, in which case you could
use a different type, or, you're using the correct wsdl
I haven't used wsimport. I would suggest creating your client with wstools
that comes with JBoss 4.0.4GA. You'll want to download JBossWS 1.0.2 (or
later), and also make sure you have the most recent download of EJB3.
I'm not 100% on this, but I don't think that JBossWS (which is what JBoss
Ok, so maybe I'm wrong on the JWSDP thing
This person seems to have been able to use the Sun JWSDP on Jboss 4.0.3.
http://www.jboss.org/index.html?module=bbop=viewtopict=85703
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3963917#3963917
Reply to the post
Is it possible to use a JSR 109 client with a locally packaged wsdl file (i.e.,
META-INF/Service.wsdl), yet override the soap:address that the ServiceFactory
uses?
I basically want to call a web-service at a URL that I specify at runtime.
In the JbossWS user guide, it appears that I can do
I'm encountering a strange authentication/authorization issue. I'm running
JBAS 4.0.4GA_Patch1 and JBossWS1.0.2GA.
I have a JSR181 EJB endpoint exposed as a web-service.
My Port annotation looks thus:
@PortComponent(
transportGuarantee=NONE,
contextRoot = /sample,
Can someone at JBoss please address this thread:
http://www.jboss.com/index.html?module=bbop=viewtopict=84310postdays=0postorder=ascstart=10
The EJB3 RC8 download is missing all of the client zip files (and perhaps
more), and nothing has been done in over a month (not even a comment)! Is RC9
28 matches
Mail list logo