Hey folks,
i am having a hard time trying to figure out to set the client timeout for an
RMI-client connected to a Stateless Session Bean.
First i thought that this was not a Jboss specific question, but a RMI issue,
that's why i asked here first:
Ok,
i found the solution:
First of all for a single ejb.jar:
I had used the wrong INITIAL_CONTEXT_FACTORY, so now the corresponding line in
my client looks like this:
props.put(Context.INITIAL_CONTEXT_FACTORY,org.jboss.security.jndi.JndiLoginInitialContextFactory);
Furthermore we have to
Hey folks,
my final remark how to achieve the same as above for an EAR:
== Securing access to the EJB-application ==
* Create the file users.properties under /$PROJECT-ROOT/META-INF:
admin=secretadminpassword
| user=secretuserpassword
* Create the file roles.properties under
Hey folks,
since i started to read my Jboss books i am more confused than before.
What is the difference between security-role-ref and security-role?
The books i have do not explain that in an understandable way...
Do i have to use both in my ejb-jar.xml?
Currently i have a configuration
Hey folks,
since my first tries with JAAS and Jboss failed with a complex application, i
made a simple HelloWorld application to exclude all possible errors.
My application is really simple:
RMI-client:
| public static void main(String[] args) throws NamingException,
RemoteException
Hey folks,
one step closer to a solution.
I had to add the jar-file jboss-ejb3x.jar to my clients classpath.
Unfortunately it is still not working!
No i get the following exception (on the client side, nothing in the logs on
the Jboss side):
Exception in thread main
Thx very much, that was indeed missing!
Now i am one step further, Jboss gives me no more errors when i try to access
my EJB-application, but unfortunately the (stand-alone remote) RMI-client
does:
ERROR [SocketClientInvoker.handleException]: Got marshalling exception, exiting
|
Hey folks,
i am really becoming desperate with Jboss + JAAS.
I have a very simple RMI client which connects to a Stateless Session Bean
running within a Jboss 4.2.
This scenario works perfectly well. Now i want to secure access to my EJB by
allowing only authenticated clients to call the
Hey folks,
how and where do i report errors in the jboss-documentation?
- http://docs.jboss.org/ejb3/app-server/tutorial/jndibinding/jndi.html
says:
@Stateless
| @RemoteBinding(jndiName=custom/remote/MySession)
| public class MySessionBean implements MySession
| {
| }
which is
Thx for the hint buddy,
it is a big typo indeed..:-)
One more thing:
I assume some Jboss Admins / employees browse these forums from time to time?
Could you please fix this error in the documentation?
View the original post :
Hey folks,
i am not quite sure wether i am too dumb or wether this is an documentation
error:-)
The prehistory:
- I have a fine running ejb.
- I access this EJB via RMI using its JNDI name.
- I use the default JNDI-name: $myEarName/$myEJBName/remote
The problem:
- I need to change to
Thank you very much, Peter, works like a charm...:-)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4137721#4137721
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4137721
___
Hi,
anonymous wrote : Which version of JBoss?
sorry, totally forgot to give this information: Yes, i was referring to Jboss
V. 4.2.
anonymous wrote : In JBoss-4.2.x, you can create a folder named lib at the
root of the EAR and place your common jar files in that lib folder. These jars
will
Hi folks,
i am writing a simple jboss / ear application to get myself used to dealing
with Jboss and EJB.
I googled a lot, but i couldn't find an answer to the problem i have right now:
My project has the common EAR-layout:
- common
- ejb
- webapp
- build.xml
Now my EJB-layer uses one
Hey folks,
i know this question calls for a response like:
- use the forum search!
- Just fng google it!
- RTFM
But as a matter of fact, i did all of that without any results.
So, in a nutshell:
Does Jboss offer any functionalities to deal with Webservices over REST?
For example
Sorry,
the information i provided was way to unspecific.
Let me clarify that:
Jboss 5 Beta 2 with Java 5:
cd ../../jboss-5.0.0.Beta2/bin/
java -version
| java version 1.5.0_13
| Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05)
| Java HotSpot(TM) Client VM (build
Arrggghhh,
no edit button here: Don't get confused with the nicknames, when i wrote the
first posting i was under windows and accidentially used some account i had
already forgotten about. (damn those cookies..:-)
View the original post :
Hey ho,
i accidentally stumbled across a patch for this described here:
http://www.jboss.com/index.html?module=bbop=viewtopict=111930
anonymous wrote : I just submitted a patch (only one line was changed in the
original file), please see here:
|
|
18 matches
Mail list logo