[JBoss-user] [Clustering/JBoss] - Re: JBoss Cluster issue

2006-06-29 Thread tterm
Ok thank you all for the fast replies! I tried it again with tracing and a small sample application. The node (node pluto) which serves the user did the following during a normal request: 12:20:03,195 DEBUG [JBossCacheManager] Creating an empty ClusteredSession | 12:20:03,196 DEBUG [JBossCach

[JBoss-user] [Clustering/JBoss] - JBoss Cluster issue

2006-06-22 Thread tterm
Hello, I tried to setup a cluster with 3 nodes (A,B,C). The apllication which should run is the xpetstore from the JBoss CVS which I updated for clustering support. The app server is the newest JBoss 4.0.4GA (session replication). I used the apache web server as loadbalancer with sticky_session

[JBoss-user] [EJB 3.0] - Re: java.lang.ClassCastException: $Proxy0

2006-04-04 Thread tterm
Hello, I guess you forgot some client jars. Look for the NoClassDefFoundError mesages and find the jars. Thomas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934810#3934810 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=repl

[JBoss-user] [EJB 3.0] - Re: java.lang.ClassCastException: $Proxy0

2006-04-04 Thread tterm
Hello SimpleFacade sf = (SimpleFacade) context.lookup("SimpleFacade/local"); Are you sure about doing a lookup for the remote interface? And you should always do a lookup for the remote/local interface not for the bean directly. Thomas View the original post : http://www.jboss.com/index.html

[JBoss-user] [EJB 3.0] - Re: separate container configurations

2006-03-31 Thread tterm
Thank you, That is exactly what I want! And it is the @RemoteBinding(interceptorStack="TestStack") to add another Stack for the client side. Thomas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934126#3934126 Reply to the post : http://www.jboss.com/in

[JBoss-user] [EJB 3.0] - separate container configurations

2006-03-30 Thread tterm
Hello, Is it possible to have separate container configurations like in ejb2 with the jboss.xml descriptor? I need for different Stateless Session Beans different Interceptor-Stacks. I would like to extend the default configuration for each Bean. If yes how does it work? Thomas View the or

[JBoss-user] [JBoss AOP] - Re: currentInterceptor

2006-03-27 Thread tterm
Hello, that would be great! I don't need a set method just a get! Thanks Thomas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932891#3932891 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932891 ---

[JBoss-user] [EJB/JBoss] - Re: Questions about stateless session bean life cycle from c

2006-03-26 Thread tterm
Hello Scott, I tested it and you are right. You can share the same proxy for multiple threads but each thread will get a separate instance from the pool of stateless beans. That means one session bean instance will never be shared for multiple threads on the same time, whether if you use the sa

[JBoss-user] [JBoss AOP] - currentInterceptor

2006-03-24 Thread tterm
Hello, There is no method to get the currentInterceptor value in the InvocationBase class (getCurrentInterceptor() would be nice)! I don't know why there is no such method because I would need the value in my interceptors. Is there another possibility to get this value? Thanks in advance! Tho

[JBoss-user] [EJB/JBoss] - Re: Limit number of instances of a specified bean in the con

2006-03-23 Thread tterm
Hello, I don't understand your question correctly. Where do you want to see this? In the EJB? Thomas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932100#3932100 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=393210

[JBoss-user] [EJB/JBoss] - Re: Limit number of instances of a specified bean in the con

2006-03-22 Thread tterm
Hello, >From the adminguide: "By placing a jboss.xml file in the EJB JAR METAINF directory, you can specify either overrides for container configurations in the standardjboss.xml file, or entirely new named container configurations. This provides great flexibility in the configuration of contai

[JBoss-user] [EJB/JBoss] - Re: Limit number of instances of a specified bean in the con

2006-03-22 Thread tterm
Hello, maybe you could create separate container configurations for those beans and extend from the default configuration. Thomas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931938#3931938 Reply to the post : http://www.jboss.com/index.html?module=bb&op

[JBoss-user] [EJB/JBoss] - Re: Stateless EJB not pooled at JBOSS startup

2006-03-22 Thread tterm
Hello, Yes you are right but there is this sentence in the adminguide: "MinimumSize: The MinimumSize element gives the minimum number of instances to keep in the pool, although JBoss does not currently seed an InstancePool to the MinimumSize value." J guess you would expect that there is a po

[JBoss-user] [EJB/JBoss] - Re: Questions about stateless session bean life cycle from c

2006-03-22 Thread tterm
Hello 2) Is it safe to make multiple calls through the same proxy on multiple threads? Do I have to think about managing pools of them to save on create() calls, or can I just get one and use it freely? This is from the ejb specification and should answer this question: "The container must e

[JBoss-user] [EJB/JBoss] - Re: when i deploy an ejb with jboss4.0.4,those exceptions oc

2006-03-22 Thread tterm
Hello, It would be good if you would have an ejbCreate() method in your SB. That is the first message from the exception! Thomas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931802#3931802 Reply to the post : http://www.jboss.com/index.html?module=bb&op

[JBoss-user] [EJB/JBoss] - Re: Stateless EJB not pooled at JBOSS startup

2006-03-22 Thread tterm
Hello, there is no pooling during the startup. You can see your log statement after you do an create(). Thomas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931801#3931801 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=repl

[JBoss-user] [EJB/JBoss] - Re: EntiyBean and auto-increment

2006-03-17 Thread tterm
Hello, this is a possible solution for me: /** | * @ejb.bean name="Example" | * display-name="Name for Example" | * description="Description for Example" | * jndi-name="ejb/Example" | * type="CMP" | * cmp-version="2.x" | *

[JBoss-user] [EJB/JBoss] - Re: Input the data into context in Swing

2006-03-17 Thread tterm
Hello, you should explain the problem a little bit more detailed. You can insert a value in a client interceptor and access it in the server interceptor. client interceptor: public Object invoke(Invocation invocation) | { |HashMap hm = new HashMap(); |invocation.setValue("key",

[JBoss-user] [EJB/JBoss] - Re: EJB2 Interceptor Response Values

2006-03-09 Thread tterm
Hello, I tried the following approach: I have a wrapper bean class where I can put in the original result from the bean and some other return values which are interessting for the client interceptor. The client interceptor then put the original response object back to the interceptor response.

[JBoss-user] [EJB/JBoss] - Re: EJB2 Interceptor Response Values

2006-03-08 Thread tterm
Hello Scott, Thank you for your fast response. But I don't understand exactly what you mean or how it works. What does this mean to return an unwrapped value. Maybe a small example would help. Thanks in advance Thomas View the original post : http://www.jboss.com/index.html?module=bb&op=view

[JBoss-user] [EJB/JBoss] - EJB2 Interceptor Response Values

2006-03-08 Thread tterm
Hello, I don't know if this is the right forum for my question! If it is, sorry about that and maybe point me to the right forum. I created some interceptors for the client container and the server container to undertake a generic performance instrumentation for the EJB-container. Now the pro

[JBoss-user] [Installation, Configuration & Deployment] - Re: unable to deploy an ear archive in JBoss4.0.3RC1

2005-08-02 Thread tterm
I used the nice installer! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3887859#3887859 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3887859 --- SF.Net email is s

[JBoss-user] [Installation, Configuration & Deployment] - Re: unable to deploy an ear archive in JBoss4.0.3RC1

2005-08-01 Thread tterm
Hello folks, I solved the problem by myself. The ear deployer is missing what means that the EARDeployer MBean is not registered so you can deploy no ear archives. There should be an ear-deployer.xml file in the deploy folder. Not sure if it is a bug or deliberate. Thanks to the JBoss devel

[JBoss-user] [Installation, Configuration & Deployment] - unable to deploy an ear archive in JBoss4.0.3RC1

2005-08-01 Thread tterm
Hello, I tried to deploy the EJB3Trail.ear and my own ear archive as well but I get always the same error message: 15:56:34,185 ERROR [URLDeploymentScanner] Incomplete Deployment listing: --- Packages waiting for a deployer --- [EMAIL PROTECTED] { url=file:/opt/jboss-4.0.3RC1/server/all/deploy