[jboss-user] [EJB/JBoss] - How to set a RMI client timeout?

2008-06-27 Thread j0llyr0g3r
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:

[jboss-user] [Security JAAS/JBoss] - Re: Simple Auth for HelloWorld-Example not working...

2008-06-24 Thread j0llyr0g3r
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

[jboss-user] [Security JAAS/JBoss] - Re: Simple Auth for HelloWorld-Example not working...

2008-06-24 Thread j0llyr0g3r
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

[jboss-user] [Security JAAS/JBoss] - difference between security-role-ref and security-role?

2008-06-18 Thread j0llyr0g3r
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

[jboss-user] [Security JAAS/JBoss] - Simple Auth for HelloWorld-Example not working...

2008-06-18 Thread j0llyr0g3r
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

[jboss-user] [Security JAAS/JBoss] - Re: Simple JAAS authentication not working....

2008-06-16 Thread j0llyr0g3r
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

[jboss-user] [Security JAAS/JBoss] - Re: Simple JAAS authentication not working....

2008-06-13 Thread j0llyr0g3r
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 |

[jboss-user] [Security JAAS/JBoss] - Simple JAAS authentication not working....

2008-06-09 Thread j0llyr0g3r
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

[jboss-user] [JBoss Getting Started Documentation] - Howto report documentation error?

2008-04-21 Thread j0llyr0g3r
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

[jboss-user] [JNDI/Naming/Network] - Re: RemoteBinding: attribute jndiName is undefined

2008-04-19 Thread j0llyr0g3r
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 :

[jboss-user] [JNDI/Naming/Network] - RemoteBinding: attribute jndiName is undefined

2008-04-17 Thread j0llyr0g3r
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

[jboss-user] [Beginners Corner] - Re: Where to put application- AND layer-specific jar-files w

2008-03-19 Thread j0llyr0g3r
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 ___

[jboss-user] [Beginners Corner] - Re: Where to put application- AND layer-specific jar-files w

2008-03-16 Thread j0llyr0g3r
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

[jboss-user] [Beginners Corner] - Where to put application- AND layer-specific jar-files withi

2008-03-15 Thread j0llyr0g3r
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

[jboss-user] [JBossWS] - Jboss support for Webservices over REST?

2008-03-14 Thread j0llyr0g3r
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

[jboss-user] [Beginners Corner] - Re: Jboss 5 Beta 2 won't even run with Java 5?

2007-11-05 Thread j0llyr0g3r
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

[jboss-user] [Beginners Corner] - Re: Jboss 5 Beta 2 won't even run with Java 5?

2007-11-05 Thread j0llyr0g3r
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 :

[jboss-user] [Beginners Corner] - Re: Jboss 5 Beta 2 won't even run with Java 5?

2007-11-05 Thread j0llyr0g3r
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: | |