[JBoss-user] [Clustering/JBoss] - Re: Where to specify custom LoadBalancePolicy?

2006-07-08 Thread jboss2005_01
So you don't want to actually use clustering at all since you sent eacht request to the same node every time... To achieve a request specific node for subsequent requests within the same application, I think you need to write your own LoadBalance policies Where do you need this behaviour fo

[JBoss-user] [Clustering/JBoss] - Re: Unique for every server instance.

2006-07-08 Thread jboss2005_01
Hi, Perhaps a stupid idea, but why don't you bind a constant value to each JBoss AS's Naming Service with the same name and a different value that you use as a unique ID and include this value in your request to the server. Take a look at the properties service provided with each JBoss AS. Per

[JBoss-user] [Clustering/JBoss] - Re: Problem with Loadbalancing of Sateless Session Beans acr

2006-07-08 Thread jboss2005_01
Interesting point you mention. I guess this is normal since EJBs rely on the dynamic proxy to decide to which node the request from the client application should be redirected. It actually contains a list of all nodes and this list is being iterated when you use round robin. Activate load-balan

[JBoss-user] [Installation, Configuration & Deployment] - Re: Adjusting all port numbers

2006-07-08 Thread jboss2005_01
Another option is using the service binding MBean. You can activate this within jboss-service.xml (look for binding) in which you define a server name that must be in correspondence with a service binding declared in a binding XML configuration file (take a look at docs/examples/service-binding

[JBoss-user] [JNDI/Naming/Network] - Re: JNDI on a central server.

2006-07-08 Thread jboss2005_01
Hmm, my question doesn't seem that easy :-( Can anyone provide me some useful information if possible please? I would be great if someone could assist me on this one :-) K. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956369#3956369 Reply to the post : ht

[JBoss-user] [JBossCache] - Re: Global caching

2006-07-08 Thread jboss2005_01
Anyone? I can't be the onlyone wondering how to set this up... Or am I?? K. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956368#3956368 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956368 Using Tomcat but need to

[JBoss-user] [JNDI/Naming/Network] - JNDI on a central server.

2006-07-06 Thread jboss2005_01
Hello everybody, One simple question. Is it possible to use JBoss 4.0.x to set-up a central JNDI server that is used by different JBoss ASs in a distributed J2EE application architecture? If I am correct, this has something to do with the ExternalContext that could be used, but I don't seem

[JBoss-user] [JBossCache] - Re: Global caching

2006-07-06 Thread jboss2005_01
Some additional research has shown that the TcpCacheServer stays in the STARTING state after starting the JBoss AS. Am I missing some configuration parameters or specific settings perhaps? Kurt View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955804#3955804

[JBoss-user] [JBossCache] - Re: Global caching

2006-07-06 Thread jboss2005_01
Hi there, Some additional information about the question described above. First you need to add a dependency to get rid of the error message about the datasource. Adding the statement below in my HttpCache MBean definition solved the dependency problem when you deploy both the mysql-ds.xml and

[JBoss-user] [JBossCache] - Global caching

2006-07-05 Thread jboss2005_01
Hello everybody, I've searching around for the last two weeks trying to find a solution for the following set-up. What I would like to achieve is a set-up where 4 JBoss instances work together in a clustered environment. Two nodes are actually serving client requests while two other nodes are

[JBoss-user] [Remoting] - Re: Client connections.

2006-06-15 Thread jboss2005_01
Hi everybody, I recently got back working to this matter again and was wondering the following. Is there a way to distinct a call to lets say to a stateless session bean X in the container performed by client A on a certain remote machine A and a similar call to the same method defined in the

[JBoss-user] [Beginners Corner] - Re: java.lang.OutOfMemoryError: PermGen space

2006-04-20 Thread jboss2005_01
Don't know about such issues related to Windows, I think I can't be to any help concerning this matter. Perhaps you could increase the heap size by changing the -Xmx parameter to a higher value. I personally think it's a little bit strange to set -Xms and -Xmx to the same value. I prefer a valu

[JBoss-user] [Remoting] - Re: JBoss Remoting with JBossAS4.0.2.

2006-04-14 Thread jboss2005_01
Thanks for your reply :-) Regards, Kurt View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3937346#3937346 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3937346 --- This

[JBoss-user] [Remoting] - Re: JBoss Remoting with JBossAS4.0.2.

2006-04-13 Thread jboss2005_01
Oke, it was a stupid question :-) At least the second part. The "test"-classes are examples, not required classes according to the documentation. RTFM for the second part of my question thus :-)) But my first question remains, what's the best part to put the JAR libraries and which are required

[JBoss-user] [Remoting] - JBoss Remoting with JBossAS4.0.2.

2006-04-13 Thread jboss2005_01
Hello, Possibly a very stupid question and a very easy one too I guess. Is it possible to set-up JBoss Remoting within JBoss AS 4.0.2? I know it's embedded with JBoss 4.0.4, but I am forced to use 4.0.2. If so, which JARs do I need to copy to which location since the lib folder of JBoss Remotin

[JBoss-user] [Remoting] - Re: Client connections.

2006-04-12 Thread jboss2005_01
Hi Tom, Indeed, the issue about multiple clients invoking the application at the same time could cause some difficulties. The question was rather simple, the answer is not. I'm going to re-evaluate my concept and try to solve it by using JMS as proposed earlier in this discussion. Thank you

[JBoss-user] [Beginners Corner] - Re: How to use DB connection pool from DB ?

2006-04-11 Thread jboss2005_01
Sorry, my mistake... The JBoss output states : MySqlDS Your deployment descriptor says : MySQLDS --> JNDI names are case sensitive... Regards, Kurt View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936546#3936546 Reply to the post : http://www.jboss.com/index

[JBoss-user] [Beginners Corner] - Re: How to use DB connection pool from DB ?

2006-04-11 Thread jboss2005_01
Try by removing "java:comp/env" in the lookup... Regards, Kurt View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936545#3936545 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3936545 -

[JBoss-user] [Remoting] - Re: Client connections.

2006-04-11 Thread jboss2005_01
Is it possible to modify the code to provide this functionality or would it require to much modifications at server level? Greets, Kurt View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936538#3936538 Reply to the post : http://www.jboss.com/index.html?module=

[JBoss-user] [Beginners Corner] - Re: java.lang.OutOfMemoryError: PermGen space

2006-04-11 Thread jboss2005_01
Hi Marc, What we did is enter the following statement to the .bashrc file from the user that will be starting JBoss. This file should be located below the home folder of the user that will run JBoss. If it does not exist, just create it. This should be enough. In this file you should place: e

[JBoss-user] [Beginners Corner] - Re: ClassCastException for remote acccess of entity bean

2006-04-11 Thread jboss2005_01
Local and remote interface apply to all kinds of EJBs, entity and session. Are you using BMP or CMP for your entity beans? Under normal circumstances there can be up to 5 classes defining your EJB : 2 home interfaces (defining create, finders,...), 2 remote interfaces (containing your business m

[JBoss-user] [Beginners Corner] - Re: jboss messaging

2006-04-07 Thread jboss2005_01
Sure, take a look at java.mail and you will probably find all answers you need... Regards, Kurt View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935827#3935827 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935827 ---

[JBoss-user] [Beginners Corner] - Re: deploy .sar after .ear in Jboss

2006-04-07 Thread jboss2005_01
Or use the ordered deployment mechanism provided by JBoss... Replace in the jboss.service.xml org.jboss.deployment.DeploymentSorter | | with org.jboss.deployment.scanner.PrefixDeploymentSorter | This way you can add numbers in front of your archive files to specifiy the deployment ord

[JBoss-user] [Beginners Corner] - Re: javax.naming.NameNotFoundException: OracleDS not bound

2006-04-07 Thread jboss2005_01
Could you provide the stacktrace and the web.xml together with the jboss-web.xml please? Cheers, Kurt View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935819#3935819 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935819

[JBoss-user] [Beginners Corner] - Re: ClassCastException for remote acccess of entity bean

2006-04-07 Thread jboss2005_01
Hi PieterJan, Be carefull by putting application code in het lib folder. This is not the place to be for this kind of code. It should be under the deploy folder and only there unless you are using libraries used by multiple applications to share the same code. In this case you should put it in

[JBoss-user] [Beginners Corner] - Re: settings properties at application level

2006-04-07 Thread jboss2005_01
Hi, You can pass properties to your application by altering the deployment descriptors of your application to define constants, resources without having to rebuild your application. Check subjects like environment entries, resources, etc. if this is something you need. There is no such servic

[JBoss-user] [Beginners Corner] - Re: Can not access site outside LAN

2006-04-07 Thread jboss2005_01
Hi, We need more information to help you solve your problem. Numerous reasons can cause inaccessability from the internet. 1. What start-up command do you use? Perhaps you bind JBoss to a non-routable IP address by using the -b xxx.xxx.xxx.xxx option. 2. Otherwise a firewall might be blocking i

[JBoss-user] [Beginners Corner] - Re: java.lang.OutOfMemoryError: PermGen space

2006-04-07 Thread jboss2005_01
You could try to set the following environment variable for your JBoss process on your Linux machine : LD_ASSUME_KERNEL=2.4.1 There are known issues with Linux kernels after 2.4 and Tomcat (included within JBoss) causing OutOfMemoryError. I had the same behaviour on a production server running

[JBoss-user] [Remoting] - Re: Client connections.

2006-04-06 Thread jboss2005_01
I prefer not to use JMS because I want synchronous communication between client and server. JMS can create a delay between client request and processing at server level, since it does not specify time constraints in processing requests. I want to prevent those type of delays in my application.

[JBoss-user] [Remoting] - Re: Client connections.

2006-04-06 Thread jboss2005_01
Hi Tom, I was just wondering if it was possible to write a mechanism that allowed us to trigger all connected J2EE client applications when for example an enterprise javabean was triggered by another client using the same application at server side. This way we could create real model view co

[JBoss-user] [EJB/JBoss] - Caching EJB and persisting cache

2006-02-08 Thread jboss2005_01
Hello, I have two question which are probably very easy to answer for all you JBoss masters out there. First, is it possible to perform all actions on EJB's (session beans and entity beans) in JBoss cache and then let JBoss update the database for example periodically without having EJB's to

[JBoss-user] [JBossCache] - JBossCache and EJB's

2006-02-06 Thread jboss2005_01
Hi, I spend a serious amout of time Googling and searching the different JBoss forums in an attempt to find some information concerning JBossCache and EJB's. What I would like to configure is a clustered set-up in which SFSB are replicated between the different members to a JDBC database. If I

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JbossMQ and Delphi as client

2006-02-01 Thread jboss2005_01
Hi, If you intend to use Delpgi 2006, you could try to use CsIL which is an Invoker for JBoss that lets you use JBossMQ from within C#. Perhaps this might solve your problem by calling this C# library from within Delphi... CsIL can be found at sourceforge.net Regard, Kurt View the original

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Using CsIL

2006-01-20 Thread jboss2005_01
Hi, Thanks for your advise. This one actually solved my problem. The default config parameters seem to be incorrect. After replacing them by the ones specified in the NUnit csil-conf.xml file I was able to connect to my JBoss server. Currently I am using the following configuration : Connecti

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Using CsIL

2006-01-20 Thread jboss2005_01
Oke, there seems to be an error in the code provided above. | AuthenticationRequest auth = new AuthenticationRequest("admin", "admin"); | Connection conn = factory.CreateConnection(); | should be | AuthenticationRequest auth = new AuthenticationRequest("admin", "admin"); | Connectio

[JBoss-user] [Messaging, JMS & JBossMQ] - Using CsIL

2006-01-19 Thread jboss2005_01
Moved from original topic found at: anonymous wrote : http://www.jboss.com/index.html?module=bb&op=viewtopic&t=61886&postdays=0&postorder=asc&start=10 Hi, Great that you responded in such a fast way. It would be nice if everybody answered that fast on different forums :-). I tried the code you

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBoss messaging with .NET

2006-01-17 Thread jboss2005_01
Hi everybody, Thanks for your reply. It's really very usefull information for me. Appreciate it !!! Regards, Kurt View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917831#3917831 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=r

[JBoss-user] [Messaging, JMS & JBossMQ] - JBoss messaging with .NET

2006-01-04 Thread jboss2005_01
Hello everybody, Is there a way to let .NET clients send and receive message to and from JBoss message queues or topics. If so, does anyone have some usefull references or examples on how this should be done. Any advice would be greatly appreciated. Kind regards, Kurt View the original post

[JBoss-user] [Installation, Configuration & Deployment] - Re: Confused by the installer...

2005-12-22 Thread jboss2005_01
I see, the configuration provided with the JBoss installer can have whatever name you like. Now when I choose to install the ejb3 installation with whatever name I like (e.g. EJB3) by using the installer. Do I get the same configuration as I would have by downloading a ZIP archive and starting

[JBoss-user] [Installation, Configuration & Deployment] - Confused by the installer...

2005-12-22 Thread jboss2005_01
Hello everybody, I seem to be a bit confused concerning the JBoss installer. When you choose to install the ejb3 configuration, the default configuration seems to be installed allthough the console states the initialization of cluster elements during start-up. Is the ejb3 enabled configuration a

[JBoss-user] [Advanced Documentation] - Re: Extending JBoss

2005-12-22 Thread jboss2005_01
Hello, First of all thanks for your reply and I have to admit that the application server itself has very nice documentation. I posted my question and corresponding statement because I was looking (and googling) around for some particular information concerning building your own interceptors a

[JBoss-user] [Advanced Documentation] - Re: Extending JBoss

2005-12-21 Thread jboss2005_01
Woops, my question seems to be posted twice... My mistake ;-) Anyway, since there are no replies at all, this doesn't matter, but it seems to confirm my statement concerning open source in general... nice products, no or poor documentation... Greetings, Kurt View the original post : http://

[JBoss-user] [Advanced Documentation] - Extending JBoss

2005-12-19 Thread jboss2005_01
Hi there everybody, I am trying to gather some information about JBoss kernel development. I would like some references about developing interceptors, invokers, etc... to extend the different possibilities for JBoss with custom developed services (MBeans). Does anyone know some nice material a

[JBoss-user] [Advanced Documentation] - Extending JBoss

2005-12-19 Thread jboss2005_01
Hi there everybody, I am trying to gather some information about JBoss kernel development. I would like some references about developing interceptors, invokers, etc... to extend the different possibilities for JBoss with custom developed services (MBeans). Does anyone know some nice material a

[JBoss-user] [Clustering/JBoss] - EJB fail-over

2005-12-02 Thread jboss2005_01
Hello, I have the following situation: 1. Two JBoss 4.0.2 servers running on WinXP PRO and Suse 9.2 configured as a cluster using the all configuration 2. I create a very simple EAR containing a stateful session bean with the clusterable attribute set in the deployment descriptor and deployed b