[jboss-user] [Clustering/JBoss] - Re: Worker thread initialization failure

2008-05-15 Thread shoeb1981
It appears, to me , that the jbossall-client jar that you are using at your client side is not same as the one you have in your server installation path. Make sure you have same version for jar on both client and server, rather take the jar from the server_home/client/ location and put it into y

[jboss-user] [EJB 3.0] - Re: EJB not intialized on jboss 4.0.5

2008-02-05 Thread shoeb1981
Hi again, Is there any way to call ejb3 from a jdk 1.4 client ? Any help would be appreciated. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126553#4126553 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=412655

[jboss-user] [EJB 3.0] - EJB not intialized on jboss 4.0.5

2008-02-05 Thread shoeb1981
Hi, I've an ear containing EJB (a 3.0 implementation ) for my component. When I deploy the ear on JBoss 4.0.5, it doesn't deploy/start the EJB and hence I get ejbName not bound exception at the client side. No error is printed at the server console though. However, when I deploy the same ear (

[jboss-user] [JBossWS] - Re: Can a webservice have a constructor?

2008-01-09 Thread shoeb1981
As far as I know, web services are not like the objects you have in java/c++. Web services are actually functions/methods that you expose over web. They are not mean to be used the way you are talking. Why don't you send all the values in one call to web services. AFAIK, web services don't main

[jboss-user] [JBossWS] - Re: Can a webservice have a constructor?

2008-01-08 Thread shoeb1981
Essentially web-services are Java classes, so I think there is no harm in having a constructor in web-service. As far as having parameterized constructors are concerned, you can have that too but you need to have default constructors too. The very need of default constructor is: the application

[jboss-user] [Clustering/JBoss] - Re: querying ejb proxy stub for available nodes

2007-12-28 Thread shoeb1981
Nodes come and go. I don't if it is possible to come to know about number of nodes in the cluster from client application. However, if you have 10 nodes that are not active all the time, while some are active other might be sleeping, then you can put their names in the client url string separate

[jboss-user] [Clustering/JBoss] - Re: Cluster address

2007-12-26 Thread shoeb1981
Aren't you asking about how to call the application that is running on the jboss server cluster from client ? If yes, then following is what I know about that thing. Suppose your application is deployed on the cluster. There is a concept called HA-JNDI in JBoss that, I think, isn't a standard i

[jboss-user] [Clustering/JBoss] - Re: Setting up multiple instances of JBoss in different mach

2007-12-17 Thread shoeb1981
This is fairly simple. You start your server with the partition name (check out jboss manual for partition name variable to be used at the time of server start up, you might need to modify you run.bat/sh file also. You may also need to specify the mcast address the same way you would do the par

[jboss-user] [Clustering/JBoss] - Re: WARN in sever.log abt localhost

2007-12-13 Thread shoeb1981
Looks like the machine you are running jboss server on is a part of a network and other machines on the same network have it installed. This would generally not cause any issue if they were using different partitions. By default when you start jboss, it starts in default partition, and all other

[jboss-user] [JBossWS] - Re: String[] and jax-ws

2007-12-06 Thread shoeb1981
I've not worked much with web service. Here is my speculation only. When you use web services, your use XML to communicate with the client. Not all the java in-build types are provided by xml schema (be a DTD or XSD). In this case, you are returning Stringp[] array. There probably be no corres

[jboss-user] [JBossWS] - Re: ArrayList or Set as return type in a web method ?

2007-12-06 Thread shoeb1981
You can return any object of any complex data structure, as long as you can write an xml schema for that. However, rather than returning the Set object, you could return an array, which could further be cast down to a set by the client application. The purpose of web s

[jboss-user] [Clustering/JBoss] - Re: How to create singletons?

2007-12-04 Thread shoeb1981
It is an interesting question. Following might be helpful Before creating an instance of the singleton class, check if it exists in the system.properties. If it doesn't, create the instance and put that instance into system.properties map. For ex: if (System.properties.get("Single")=

[jboss-user] [Clustering/JBoss] - Re: For JBoss 4.2.1, will either SQL Server 2005 or MySQL 5.

2007-11-30 Thread shoeb1981
Hi, I am not sure if this is the right answer but I think your problem is when you restart the jboss server, you get the transaction issue. I think there is some problem with JBoss caching mechanism. May be when you are shutting down the JBoss it is not clearing the cache, or you probab

[jboss-user] [Clustering/JBoss] - Re: Deploying the application in selected nodes in a cluster

2007-11-30 Thread shoeb1981
I think you can do that and you can still use farming. In the cluster-config.xml, you will need to change the partition name of Node1 and Node3 to same value. Make sure you don't specify partition name for Node3 (ie. let it use default partition). If you don't want to play with the config files,