[jboss-user] [Remoting] - Re: Multiple problems with ServerInvokerServlet and HttpNami

2007-12-20 Thread martin ganserer
Hi Ron, where can I set NO_THROW_ON_ERROR to false or true? At the moment this flag is not set at all in my client! But my problem still exists that when I take a look at the debugger I can the see ServletThrowable only. It seems that the exception I expect (IllegalAccessException) has been

[jboss-user] [Remoting] - Re: Multiple problems with ServerInvokerServlet and HttpNami

2007-12-07 Thread martin ganserer
Hello Ron, thank you for your response! I changed my configuration in order to receive exceptions now. And it got better! In contrast to the old configuration I can see now the exception in the stack trace. But the problem I am facing now is that I only get an UndeclaredThrowable:

[jboss-user] [Remoting] - Re: Multiple problems with ServerInvokerServlet and HttpNami

2007-11-22 Thread martin ganserer
Hi all, I could solve the problem by myself. I simply added a UsernamePasswordHandler in my client! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4107033#4107033 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4107033

[jboss-user] [Security JAAS/JBoss] - Remote JNDI lookup over http username propagation

2007-11-21 Thread martin ganserer
Hi, I am trying to get an application working that communicates between JBOSS server and a client via HTTP. Basically this works fine. But now I am facing a problem. I want to secure the JNDI lookup by using the default security constraint defined in the web.xml of the invoker.war in the

[jboss-user] [Remoting] - Multiple problems with ServerInvokerServlet and HttpNamingCo

2007-11-20 Thread martin ganserer
Hi experts of remoting! My configuration is as follows: I use JBOSS 4.2.2 GA (EJB3). A remote client (RCP) communicates with the server via the ServerInvokerServlet. Basically everything works fine and the response time is very good. Here an example how I connect to the server:

[jboss-user] [Tomcat, HTTPD, Servlets JSP] - SSL + Apache (mod_jk) + java client

2007-10-23 Thread martin ganserer
Hello, I have a problem that is really hard to solve! My system looks like this: I use JBOSS App Server 4.2.0 GA, an Apache with (mod_jk) and a rich client that communicates via http with the Apache. Everything works absolutely perfect when using http!! But somehow I must encrypt data being

[jboss-user] [Remoting] - EJB3 + SSL + Cluster

2007-10-10 Thread martin ganserer
Hello, I found some good Wikis about how to access a remote application server via RMI over SSL! This works great when I use one client and one server. But I have really great problems when I have a cluster instead. Is this configuration possible at all? Next problem. I want to use a load

[jboss-user] [Tomcat, HTTPD, Servlets JSP] - MOD_JK and SSL

2007-07-26 Thread martin ganserer
Hi, I was able to setup an apache server including mod_jk to be used as loadbalancer for my jboss tomcat servers. This works really great when using http! But know I want to secure my traffic between client and server by using https. And my troubles begin! If my client wants to connect to

[jboss-user] [Remoting] - Bad password

2007-07-24 Thread martin ganserer
Hi, I am trying to get an application working that communicates between JBOSS server and a client via HTTP. Basically this works fine. But now I am facing a problem. I have defined a simple security domain that is used by my application. After introducing this security domain I get following

[jboss-user] [EJB 3.0] - Building reuseable components

2007-02-27 Thread martin ganserer
Hi, in several projects we have implemented yet we found out that there are some aspects that we use again and again. For example we have defined a SLSB that provides other modules with auto generated IDs in a predefined format. The SLSB works with one conifguration entity in the background.

[jboss-user] [Security JAAS/JBoss] - getAuthenticationCachePrincipals in cluster

2007-01-29 Thread martin ganserer
Hi, I am running a JBOSS 4.0.5 in a clustered environment. I can call the getAuthenticationCachePrincipals() method. It always returns some principals but it seems that I always get only some principals of all that are currently logged in! From my point of view the authentication cache is not

[jboss-user] [EJB 3.0] - Problems with self referencing entites

2006-11-26 Thread martin ganserer
Hello, I have got an entity bean let's call it users. This entity has a many to many relationship to other user entity beans. Basically everything works fine but I have got a problem when I want to get really all users of one user. (A user consists of many users and one of these users can have

[jboss-user] [EJB 3.0] - Re: @Basic(optional=true) vs @Column(nullable=true)

2006-09-14 Thread martin ganserer
Hi, yes and no! With @Basic(optional=true) the persistence provider checks if a field is nullable or not. For example if false is selected you will get an error by the persitence provider if you forget to set a field. The @Column(nullable=true) is an information that the persistence provider

[jboss-user] [EJB 3.0] - Re: Stabillity of EJB 3.0 v.s EJB2.0

2006-09-13 Thread martin ganserer
Hi, I can not tell you how stable your current configuration is in contrast to EJB3 as I have never used EJB2.0 (too much to code ;-)!) But in our company we have already finished two applications based on EJB3 including persitence and many other suff. From my point of view the software (which

[jboss-user] [EJB 3.0] - Exception handling

2006-09-13 Thread martin ganserer
Hello experts, could you please take a look at my code. I am really not sure if my exception handling is correct or maybe completely wrong. As you can see I catch every exception log what happened and throw a new RuntimeException! Could you give me a hand how I should implement exception