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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
-
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=
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
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
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
---
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
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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://
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
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
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
45 matches
Mail list logo