[jboss-user] [JBossWS] - EJB3 WS endpoint generates a weird WSDL

2009-05-11 Thread sebastiendeg
Hi, I'm using EJB3.0 on JBoss 4.2.2. When my WSDL get generated, it contains unnecessary layer for input and output paramters. For example, for a Service : public UserAccount login (String login, String password); The WSDL will have 2 object that represents the return UserAccount : |

[jboss-user] [JCA/JBoss] - Re: DataSource with Dynamic IP

2009-03-09 Thread sebastiendeg
Sorry, what I'm looking for is a config in the definition of the DataSource. This config delegate the creation of the DataSource to a Class. So that in that class you can write logic to select the DB ip or other settings. hope a clear. View the original post : http://www.jboss.org/index.html?m

[jboss-user] [JCA/JBoss] - DataSource with Dynamic IP

2009-03-04 Thread sebastiendeg
Hi, I remember a possibility to use something like a "Delegate" or maybe "Wrapper" in Jboss Datasource which could give the possibility to change the DataBase settings (mainly IP). I remeber that as being a "DataSource Delegate". Any ideas ? Thanks, sebastien View the original post : http://

[jboss-user] [JBossWS] - SWA-Ref schema location unavailable

2009-01-20 Thread sebastiendeg
Hi All, I'm having a weird error deploying a EJB Session Bean as WebSerice using SWA-Ref attachment ! Everyting worked fine until today when apparently "http://ws-i.org/profiles/basic/1.1/xsd"; can't be resolved anymore !! Here is what my deplyement generates : http://www.mycompany.com/servi

[jboss-user] [Clustering/JBoss] - Dynamic PartitionName, mcast_addr and mcast_port

2008-10-09 Thread sebastiendeg
Hi guys, We have a lot of jboss as (4.2.2) running in our grid in cluster mode. They are working by Cluster of 3 servers. To simplify our deplyoment, I'd like to dynamically assign the partition name, mcast_address and mcast_port at startup (based on LDAP or DB settings). Can anyone give me an

[jboss-user] [Clustering/JBoss] - Re: Setting a Custom LoadBalancePolicy for an Application

2008-10-06 Thread sebastiendeg
Just wanted to add a comment : The reason I need a special LoadBalancePolicy is because we are using several DataCenters. So, for performance reason, we should always try to connect firstly to a server on the local Datacenter. After that, my loadBalancePolicy behaves likes a RandomRobin. Reg

[jboss-user] [Clustering/JBoss] - Setting a Custom LoadBalancePolicy for an Application

2008-10-06 Thread sebastiendeg
Hi, I'm trying to use a Custom LoadBalance Policy for my project. Is ther a Way of defining a Default LoadBalance Policy for an EJB3.0 application (through jboss.xml) ? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180596#4180596 Reply to the post

[jboss-user] [EJB 3.0] - EJB 3.0 ClassNotFoundExdeption between EAR when using Securi

2008-09-16 Thread sebastiendeg
Hi there, I have 2 EAR (only EJB) application (application1 using application 2's client ejb jar). The first EAR application is the service which has logic and web services, so it has security enabled. (Security Domain with LoginModule) So, the users have to authenticate to access any webServic

[jboss-user] [EJB 3.0] - Re: Hello EJB

2008-07-15 Thread sebastiendeg
Hi there, If I can give you an advise, try to understand the kind of problem that EJB (3 for instance) try to solve, that will help you to understand how it works. This tutorial is available http://www.jboss.org/jbossejb3/docs/tutorial/ The is also the great book "Enterprise JavaBeans 3.0" from

[jboss-user] [EJB 3.0] - Re: Calling EJB3 bean from another host, fail

2008-07-14 Thread sebastiendeg
Hi, You can use the JMX-Console to see if the EJB is corretly bind to this name. Can you also post your SessionBean code ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4164334#4164334 Reply to the post : http://www.jboss.com/index.html?module=bb&op=post

[jboss-user] [Security & JAAS/JBoss] - Re: EJB3 Remote Security propagation

2008-07-12 Thread sebastiendeg
Thank you very much. The goal was not to re-login when we access those remote service. But, I don't think there is an easy solution for that. For info, since the remote layer is completely private and not accessible outside our private network, I don't see any problem by not using security rest

[jboss-user] [Security & JAAS/JBoss] - Re: Principal propagation with remote EJB calls

2008-07-11 Thread sebastiendeg
Any update on this ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4163825#4163825 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4163825 ___ jboss-user mailing list jboss-user

[jboss-user] [Security & JAAS/JBoss] - Re: JAAS authentication over several threads

2008-07-11 Thread sebastiendeg
Is it the same for ServerWide ? Do I have to propagate the Security context manually also or is there another solution ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4163823#4163823 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting

[jboss-user] [Security & JAAS/JBoss] - Re: EJB3 Remote Security propagation

2008-07-11 Thread sebastiendeg
I've been reading JBoss (4.2.2) config guide and obviously we can use either JNDI params to send the authentication or we can use ClientLoginModule. Is there a way of defining a "Global" security "domain" which would manages the propagation of the subject across JBoss Server ? That would be ni

[jboss-user] [Security & JAAS/JBoss] - EJB3 Remote Security propagation

2008-07-09 Thread sebastiendeg
Hi, I'm trying to setup security for my EJB3 applications. I have a first JBoss Server with EJB3 calling remote EJB3 on another server. How does it work for Security ? Is there a way of propagating the principal from one server to the others like we do for Transaction ? I'm trying to find out w

[jboss-user] [J2EE Design Patterns] - Re: Tomcat5.5

2008-07-09 Thread sebastiendeg
No, at least not out of the box. You can use Tomcat and EJB's but you then need JBoss Embedded. If you need EJB and can change server, check out to use JBoss Application Server which does impmement the whole Java EE stack ! View the original post : http://www.jboss.com/index.html?module=bb&op=

[jboss-user] [Remoting] - EJB3.0 Slower when using Jboss Serialization

2008-06-13 Thread sebastiendeg
Hi All, I'm developing and EJB3.0 application, using remote Call from client (java SE). When I switch the EJB 3 Invoker to use Jboss Serialization, it seems to be slower. (about 200ms for a remote call that takes 150ms with default config). I only update the jboss-service.xml file located in

[jboss-user] [Remoting] - Re: NIO - PooledInvoker Question

2008-06-04 Thread sebastiendeg
Hi Ron, I beleive if you remove the multiplex for shared connection, there is a good reason for that, isn't it ? Does EJB 3.0 uses JBoss Remoting as any application would ? I mean, does it make any tweak for EJB stuff ? Cheers, Sebastien View the original post : http://www.jboss.com/inde

[jboss-user] [Remoting] - Re: NIO - PooledInvoker Question

2008-06-03 Thread sebastiendeg
Hi Ron, Tks for you response. I thought JBoss EJB 3.0 was using RMI, that's why I said RMI :-) Any reason to use Socket based instead of RMI ? What's the recommendation ? After fews test, JBoss remoting is promising, specially also beceause it does not keep the connection open between client

[jboss-user] [EJB/JBoss] - Remote EJB Config Question

2008-06-03 Thread sebastiendeg
Hi All, I'm using JBoss (4.2.2) with remote EJB 3. I'm trying to find out what does the client proxy do for connection. Does it keep a connection to the server or does it recreate the connection upon method call ? Can anyone tell me where I can find info on how to configure those info ? (invok

[jboss-user] [Remoting] - Re: NIO - PooledInvoker Question

2008-05-20 Thread sebastiendeg
given that fact that JBoss has an option to reuse Thread for RMI request, What would you say about moving from Custom RPC with Mina to JBoss 4.2.2 which uses JBoss remoting 2.x ? Regards, Sebastien View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4152070#415207

[jboss-user] [Remoting] - NIO - PooledInvoker Question

2008-05-20 Thread sebastiendeg
Hi All, I'm trying to find out exactly what I can do with JBoss AS and JBoss Remoting in term of Remote Invocation performance and scalability. We are currently using a custom Remote Invocation Mechanism which uses apache Mina for Scalability. We are on the process of migrating to JBoss (4.2.2

[jboss-user] [Javassist user questions] - Proxy Serialization does not keep field values

2008-05-13 Thread sebastiendeg
Hello, I'm having a proxy object that is being serialized, but on the other side, the client application, it receives the proxy serialized but with all the property set to null. My Object is a Bean with typical getter/setter and a empty constrcutor. Is there anything i should do ? This of cou

[jboss-user] [JBossWS] - Re: Steps for implementing WS-Security in JBoss using Userna

2008-04-25 Thread sebastiendeg
Hi Guys, For me, it seems it works until I remove the following line from the login-config.xml which is located in JBOSS_HOME/server/default/conf anonymous In that case, I have an Authentication failure, it seems it does not receive the parameter. I'm on JBossWS -3.0.1 Native. View the origi

[jboss-user] [JBoss Seam] - Re: GWT and long running conversation

2008-01-09 Thread sebastiendeg
Tks for the info ... I've seen that on the GWTService. Cheers,. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4118495#4118495 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4118495 _

[jboss-user] [JBoss Seam] - Re: Design question with Rich GWT Ajax Client

2008-01-09 Thread sebastiendeg
It seems that SeamPhaseListener does lots of stuff for transaction on the with JSF. When the entitymanager is injected on my SessionBean. If we are on a JSF request the entityManager look like : anonymous wrote : | em = EntityManagerProxy | em.delegate = EmtityManagerImpl | | em.deleg

[jboss-user] [JBoss Seam] - GWT and long running conversation

2008-01-09 Thread sebastiendeg
Hello, I'm now using Seam with GWT. I'm reusing the same component as I used with JSF. (same conversation setting). However, when running with GWT as client, it does not work anymore. Do I have to do something to save the conversation id ? Tks. View the original post : http://www.jboss.com/