[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=bbop=viewtopicp=3956368#3956368

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956368

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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=bbop=viewtopicp=3956369#3956369

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956369

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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) that specifies all overloading ports for the 
named server that you activate with the service binding MBean.

It works really nice and easy ;-)


Regards,
Kurt


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956370#3956370

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956370

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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-balancing between different clients should be nice but I don't 
think you can actually do something about this behaviour. In other words, I 
don't think it's possible to control this... unless you start using hardware 
loadbalancers instead of software loadbalancers, but I'm not 100% sure about it 
:-S

Not a real response to your question, but perhaps it might be usefull for you...


Kurt

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956371#3956371

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956371

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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. Perhaps this is useful for 
your purpose.

Regards,
Kurt

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956372#3956372

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956372

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 for actually?


Kurt

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956373#3956373

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956373

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 the 
HttpCache-service.xml in the deploy folder without having a deploy.last folder.
dependsjboss.jca:service=DataSourceBinding,name=HttpCacheDS/depends 

Second: adding the additional dependency below in the TcpCacheServer definition 
seems to solve the problem of the hanging JBoss instance. After adding this 
statement, the web-console did not freeze anymore, so I guess this was missing 
in the first place.
dependsjboss.cache:service=HttpCache/depends

Now up to further experimenting concerning the use of the global cache...
I'll keep all of you informed ;-)


Cheers,
Kurt

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955757#3955757

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955757

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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=bbop=viewtopicp=3955804#3955804

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955804

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 to find a lot of documentation about how to set-up 
this kind of stuff. Does anyone have some information or references on how to 
configure this?

Second question, could the JBoss minimal configuration be used as central JNDI?


Thank you,
Kurt

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955894#3955894

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955894

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 being hot-standby being 
Apache working as software loadbalancer. This works just great and is up and 
running. So no difficulties concerning this matter.

Now I would like to extends the configuration by setting up a fifth JBoss 
instance running the default configuration that needs to serve like a 
centralized, cluster-wide cache. And this is where difficulties appear. 
Browsing  the Wiki has showed me (due to two articles written by Manik Surtani) 
that I need to set-up a TreeCache on this fifth machine together with a 
TcpCacheServer. Each node then synchronizes with the global cache by using the 
TcpDelegatingCacheLoader. The TreeCache on JBoss instance 5 can then be backed 
by a JDBCCacheLoader to persist the cached data.

As described in this article, I have installed a default JBoss instance wich I 
extended with jboss-cache.jar and jgroups.jar in it's default lib folder to 
provice caching functionality. I'm using JBossCache 1.3.0 together with the 
JGroups version provided with JBoss 4.0.2 on a JBoss 4.0.2 configuration. In 
fact, all my JBoss nodes are also running 4.0.2. I configured both the 
TreeCache and the TcpCacheServer in a HttpCache-service.xml file (located 
below) and copied this one to the deploy folder together with a mysql-ds.xml 
file because my TreeCache uses the JDBCCacheLoader.

A first strange thing appeared when starting the AS. I got an error message 
stating that the datasource was not bounded alltough it is available in the 
deploy folder. As far as I know, xxx-ds.xml files are always deployed before 
xxx-service.xml files under normal deployment order configuration. Can anyone 
explain what the reason for this behaviour might be? Anyway I solved it by 
using a deploy.last folder that contains my xxx-service.xml file which solved 
the problem.

A second problem I have is with the TcpCacheServer. As soon as this service is 
started by the AS, it seems to freeze. The web-console in fact is blocking, so 
I dont' have the possibility to do anything with the default JBoss 
configuration. Does anyone have the same behaviour in this circumstances? If 
so, did anyone found a solution for this one. I know I must be doing something 
wrong within this set-up but I can't figure out what. Any help would be greatly 
appreciated off course and any assistance for finding a solution would result 
in a neat article within the Wiki describing this entire configuration.

Below some of the configuration files I used within my attempt to set-up this 
configuration.
The JBoss instance serving as cache has the following service definition file 
called HttpCache-service.xml


  | server
  | 
  | classpath codebase=./lib archives=jboss-cache.jar, jgroups.jar/
  | 
  | mbean code=org.jboss.cache.TreeCache 
name=jboss.cache:service=HttpCache
  | dependsjboss:service=Naming/depends
  | dependsjboss:service=TransactionManager/depends
  | 
  | attribute 
name=TransactionManagerLookupClassorg.jboss.cache.JBossTransactionManagerLookup/attribute
  | 
  | attribute name=NodeLockingSchemePESSIMISTIC/attribute
  | 
  | attribute name=IsolationLevelREPEATABLE_READ/attribute
  | 
  | attribute name=CacheModeLOCAL/attribute
  | 
  | attribute name=UseInterceptorMbeansTRUE/attribute
  | 
  | attribute name=LockAcquisitionTimeout5000/attribute
  | 
  | attribute name=CacheLoaderConfiguration
  | config
  | passivationTRUE/passivation
  | preload//preload
  | sharedFALSE/shared  

  | cacheloader
  | 
classorg.jboss.cache.loader.JDBCCacheLoader/class
  | properties
  | 
cache.jdbc.datasource=java:/HttpCacheDS
  | /properties
  | 
fetchPersistentStatetrue/fetchPersistentState
  | 
ignoreModificationsfalse/ignoreModifications
  | asyncfalse/async
  | /cacheloader
  | /config
  | /attribute
  | /mbean
  | 
  | mbean code=org.jboss.cache.loader.tcp.TcpCacheServer 
  |

[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 same EJB X from within client 
B residing on a separate machine B? 

As far as I know, this will cause two instances being assigned to the calling 
client application within the container in their own thread. 
What I want to do is shift an interceptor in the request chain which can be 
performed quite easy, and provide a mechanism to distinguish the two method 
calls from eachother. 
Does either the InvocationContext, the EnterpriseContext or some other object 
referenced by the Invocation within this interceptor contain such information 
or do I have to do something else to make this separation possible?


Regards,
Kurt

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3951091#3951091

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3951091


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 value for -Xmx = 2 x -Xms. Off couse by keeping 
the maximum amount of physical memory in mind...



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3938369#3938369

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3938369


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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=bbop=viewtopicp=3937346#3937346

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3937346


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 Remoting contains a lot of JARs that are allready included with JBossAS?

I've tried to paste jboss-remoting.jar below the server/default/lib folder and 
I also put the example-service.xml below the deploy folder, but there seem to 
be missing some other vital libraries. 
During start-up JBoss complains about java.lang.ClassNotFoundException: No 
ClassLoaders found for: 
org.jboss.test.remoting.transport.mock.MockServerInvocationHandler...

Thanks in advance for any advise!!


Greetings,
Kurt


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3937137#3937137

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3937137


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 to get Remoting up and running?

Kurt

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3937149#3937149

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3937149


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 to all for your input and your time. If I find a way to implement my 
first proposal (which will be quite a challenge I guess) I'll let you know ;-)

Greetings and keep on going JBoss


Regards,
Kurt

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936792#3936792

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936792


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 methods) and the 
bean implementation class. Both remote and home interfaces have a local variant 
and a remote variant (see below).

The return type for your finder method should be Collection, Iterator or your 
EJB itself and depends on the type of interface, the local accessable and the 
remote accessable.


Typically the home interface (accessable outside the container) looks something 
like 
public interface TestEJBHome extends javax.ejb.EJBHome {
  | public Test.TestEJB findByPrimaryKey(java.lang.String aKey)
  | throws javax.ejb.FinderException, java.rmi.RemoteException;
  | 
  | public TestEJB findById() throws java.rmi.RemoteException, 
javax.ejb.FinderException;  
  | }
  | 

The local home interface (accessable only from within the container, other 
EJBs, servlets,...) looks like
public interface LocalTestEJBHome extends javax.ejb.EJBLocalHome {
  | public Test.LocalTestEJB findByPrimaryKey(java.lang.String Key) throws 
javax.ejb.FinderException;
  | 
  | public LocalTestEJB findById() throws javax.ejb.FinderException;
  | }
  | 

Notice the difference in return type for the different interfaces !!
Local interfaces are preferred if you only want to access your EJB from within 
the container (application server) and not from the outsite (swing client 
application for example). In fact, local interface are more performant since 
they don't have RMI overhead. So think well, before you start coding ;-)

Since you are accessing your entity beans from within session beans in your 
project, local interfaces will be sufficient. What you get in your code is 
typically something like
LocalTestEJBHome home = context.lookup(ejb/TestEJB);
  | LocalTestEJB bean = home.create();

In your deployment descriptors, ejb/TestEJB must be linked to the LocalTestEJB 
off course.

This is probably not much information, but if you like I could take a look at a 
piece of code, specifically the part where you access your entity bean and the 
entity bean itself.
The corresponding deployment descriptor looks like 
ejb-jar
  |   enterprise-beans
  | entity
  |   display-nameTestEJB/display-name
  |   ejb-nameTestEJB/ejb-name
  |   homeTest.TestEJBHome/home
  |   remoteTest.TestEJB/remote
  |   local-homeTest.LocalTestEJBHome/local-home
  |   localTest.LocalTestEJB/local
  |   ejb-classTest.TestEJBBean/ejb-class
  |   persistence-typeContainer/persistence-type
  |   prim-key-classjava.lang.String/prim-key-class
  |   reentrantFalse/reentrant
  |   abstract-schema-nameTestEJB/abstract-schema-name
  |   cmp-field
  | field-namedefaultField/field-name
  |   /cmp-field
  |   primkey-fielddefaultField/primkey-field
  |   query
  | query-method
  |   method-namefindById/method-name
  |   method-params/
  | /query-method
  | ejb-qlSELECT Object(o) FROM TestEJB o/ejb-ql
  |   /query
  | /entity
  |   /enterprise-beans
  | /ejb-jar

I don't have an example with me with multiple EARs, perhaps the J2EE tutorial 
found at Sun might be something useful for you...

I myself also run/ran into ClassCastExceptions, but mostly they were caused by 
JNDI reference errors in my descriptors.

Isn't it irritating to notice that the computer is always right ;-)

Cheers, 
Kurt

Good luck in your search :-)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936514#3936514

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936514


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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: export  LD_ASSUME_KERNEL=2.4.1

Hope this solves your problem.


Greets,
Kurt


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936515#3936515

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936515


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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=bbop=viewtopicp=3936538#3936538

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936538


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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=bbop=viewtopicp=3936545#3936545

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936545


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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=bbop=viewtopicp=3936546#3936546

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936546


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 approx. 15 webapps. 
Setting the kernel option solved the problem.


Regards,
Kurt

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3935725#3935725

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3935725


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 incoming requests at the default port 
8080. Check if your JBoss host is available from the outer world, not only port 
8080.
3. Misconfigured DNS might prevent you from resolving your URL to your host 
machine.
4. Remote Address/Host Filters might be blocking access to JBoss web container.
5. ...

Regards,
Kurt

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3935806#3935806

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3935806


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 service like the properties service to define application wide 
properties as far as I know.


Regards,
Kurt

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3935810#3935810

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3935810


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 into your configuration's 
lib folder instead of the server's lib folder.

You could add one.ear to two.ear to have all code available, but there are much 
better ways to do this. 
By adding only the EJB class files needed by one.ear from two.ear into one.ear. 
There is, as far as I remember, a way to provide them in a bootstrap mechanism, 
called RMI classloading but I have to admit that I am not familiar with this 
way of working. 
Anyone who can explain this approach? Feel free to do so, I'm also very 
interested in this solutions too :-)

The ClassCastException might get caused by two reasons:
1. First you retrieve a reference to a local interface while a remote interface 
is needed in your application or vice versa. Since you run on the same server, 
use local interface to retrieve EJB references instead of remote interfaces. 
Therefor check if you are retrieving a remote interace from your InitialContext 
and using a local interface in your code. Remember that if you use remote 
interface, a standard cast will not work, you have to use the narrowing 
mechanism on the PortableRemoteObject to cast successfully.

2. The type of class in the RMI registry and the one you want to use in your 
code do not match. Probably there is something wrong in your deployment 
descriptor where you specify the JNDI name together with the appropriate class. 
Check the objects types in the JNDI registry. (tip : JNDIView in the 
jmx-console)


I hope this might solve your problem and you get things up and running... :-)


Regards,
Kurt

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3935817#3935817

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3935817


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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=bbop=viewtopicp=3935819#3935819

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3935819


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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
attribute name=URLComparatororg.jboss.deployment.DeploymentSorter
  | /attribute
  | 
with 
attribute 
name=URLComparatororg.jboss.deployment.scanner.PrefixDeploymentSorter
  | /attribute

This way you can add numbers in front of your archive files to specifiy the 
deployment order. Non-prefixed packages are deployed first respecting default 
deployment order, prefixed are deployed next according to the prefix 
(nnn-name.xAR)


Cheers,
Kurt



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3935822#3935822

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3935822


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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=bbop=viewtopicp=3935827#3935827

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3935827


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 controller up to server level and push 
changes in the persistent store to all connected clients without forcing our 
clients to poll the server every now and then. Not a feature defined by any 
standard specification, I know, but a nice feature if it existed.

Have there been any attempts within JBoss in the past to provide such 
functionality? Or is it really a brand new idea that I'm introducing now ;-) As 
far as I can imagine, people should have been asking this kind of question 
before. Are there any plans to provide this kind of behaviour?


Greetings,
Kurt

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3935436#3935436

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3935436


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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.

Otherwise, JMS would solve to problem of course.

Cheers,
Kurt

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3935590#3935590

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3935590


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 access the database directly? If so, what 
do you have to do to achieve this behaviour lets say for one specific deployed 
EAR? Can the same be done in a clustered environment?

Second, can I change the destination of the persistent store used by the cache 
in that case? I would to store session information from my session beans in a 
database instead of the server's file system? Is this possible and if so, could 
someone please give me any information about this?

Any help will be greatly appreciated!!!


Regards,
Kurt


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3922299#3922299

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922299


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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'm correct, 
this should be done by configuring a CacheLoader within JBossCache. I did find 
information for defining an XML configuration file which realizes this 
approach. What I did not find was a way to link the different EJB containers to 
this cache (replicated cache)... 
In other words, how can I change the clustered session state replication from 
the in-memory solution to a JDBC solution? 
Where can I configure the link between this in-memory (or other approach) of 
caching and JBossCache configuration?

Another question I have, how can I make a J2EE application (e.g. Swing 
application) use the earlier configured session bean cache within the 
application server? Is this used by default and update with the state of the 
database when needed or do we have to perform special configurations at server 
level, of perhaps at application level?


Greetings,
Kurt

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3921911#3921911

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3921911


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3920916#3920916

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3920916


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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);
  | Connection conn = factory.CreateConnection(auth);
  | 

I also tried to change the username and password in guest - guest without any 
result :-(

Greetings,
Kurt

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3918617#3918617

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3918617


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 : 

ConnectionFactory factory = new ConnectionFactory();
  | factory.Config.ServerAddress = 192.168.3.120;
  | factory.Config.Port = 8094;
  | factory.Config.Username = dynsub;
  | factory.Config.Password = dynsub;
  | factory.Config.PingPeriod = 6;
  | factory.Config.TcpNoDelay = false;
  | factory.Config.ServerILName = 
tamalesoftware.messaging.csil.xil2.XIL2ServerIL;
  | 
  | factory.Config.ClientILServiceName = 
tamalesoftware.messaging.csil.xil2.XIL2ClientILService;
  | 
  | factory.Config.Xil2blockwriterblocksize = 128;
  | factory.Config.Xil2blockwriterdelimiterchar = 0;
  | factory.Config.Xil2blockwriterpaddingchar = 32;
  | factory.Config.Usessl = false;


Thanks and greetings,
Kurt

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3918656#3918656

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3918656


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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=bbop=viewtopict=61886postdays=0postorder=ascstart=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 provided as an 
example but I must do something wrong since I'm getting strange error messages 
from .NET. I provided the stacktrace together with my example below. Any 
suggestion what I am doing wrong? I followed the installation instruction 
provided with the installation and tried using a clean JBoss install. I am 
using Visual Studio .NET 2003 (.NET 1.1 thus) and JBoss 4.0.2 bound to JDK 
1.5.0_04. In your documents you reffer to the commons-codec-1.2.jar and 
castor-0.9.9-wml.jar. Do I have to install these libraries too perhaps? If so, 
where do I have to place them? Below jboss/server/lib?

Stacktrace:

  | Value cannot be null.
  | Parameter name: type
  |at System.Activator.CreateInstance(Type type, Boolean nonPublic)
  |at System.Activator.CreateInstance(Type type)
  |at tamalesoftware.messaging.ConnectionFactory.CreateServerIL()
  |at tamalesoftware.messaging.Connection..ctor(AuthenticationRequest 
pAuth, ConnectionFactory pFact
  | ory)
  |at 
tamalesoftware.messaging.ConnectionFactory.CreateConnection(Authentication
  | Request pAuth)
  |at tamalesoftware.messaging.ConnectionFactory.CreateConnection()
  |at JMSTest.JMSTest..ctor() in d:\visual studio 
projects\jmstest\jmstest\jmstest.cs:line 19
  | 


C# code:

  | using System;
  | using tamalesoftware.messaging;
  | using tamalesoftware.jms;
  | using tamalesoftware.concurrent;
  | 
  | namespace JMSTest
  | {
  | class JMSTest
  | {
  | public JMSTest()
  | {
  | try
  | {
  | ConnectionFactory factory = new 
ConnectionFactory();
  | factory.Config.ServerAddress = 192.168.3.120;
  | factory.Config.Port = 8094;
  | factory.Config.PingPeriod = 10;
  | AuthenticationRequest auth = new 
AuthenticationRequest(admin, admin);
  | Connection conn = factory.CreateConnection();
  | conn.Start();
  | 
  | Session session = new Session(conn, 
AcknowledgementTypes.AUTO_ACKNOWLEDGE); 
  | Topic topic = 
conn.CreateTopic(topic/SMCTopic);
  | ITopicSubscriber subscribe = 
session.CreateSubscriber((ITopic)topic);
  | subscribe.Listen += new 
OnMessageEventHandler(doEvent);
  | ITopicPublisher publish = 
session.CreatePublisher((ITopic)topic);   
  | TextMessage message = new TextMessage();
  | message.Text = Dit is een test.;
  | publish.Send(message);
  | 
  | }
  | catch(Exception ex)
  | {
  | Console.WriteLine(ex.Message);
  | Console.WriteLine(ex.StackTrace);
  | }
  | 
  | Console.ReadLine();
  | }
  | 
  | public void doEvent(object sender, OnMessageEventArgs args)
  | {
  | Console.WriteLine(--  + args.Message);
  | }
  | 
  | 
  | [STAThread]
  | static void Main(string[] args)
  | {
  | new JMSTest();
  | }
  | }
  | }


I asume that the user and password required for authentication is a password 
assigned to the JMS systems.

Again, any advise would be appreciated and thanks again for your fast response.

Greetings,
Kurt

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3918451#3918451

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3918451


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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=bbop=viewtopicp=3917831#3917831

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3917831


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3915554#3915554

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3915554


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 and invokers 
to gather some more knowledge about the bits and bytes of the JBoss 
microkernel. Are you aware of such information? Tutorials, sampe applications 
and stuff like that, allthough I could take a look at the JBoss source code off 
course ;-)


Regard,
Kurt

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3913931#3913931

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913931


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 full 
fledged all configuration or has it some services removed? If the ejb3 
installation is indeed an all configuration, what about farming and 
deploy-hasingleton? Is there some information out there to make the ejb3 
configuration a complete all configuration? Help or info highly appreciated.

Kind regards,
Kurt

*** Merry Christmas and happy Newyear ***

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3913969#3913969

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913969


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 with the -c all option? 
I would like to have an EJB3 enabled configuration providing me all the same 
services as e.g. a jboss4.0.3/server/all configuration provided with the normal 
download. Thus providing everything like farm deployment, clustering, mail 
services, etc...


Cheers,
Kurt

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3913996#3913996

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913996


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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://www.jboss.com/index.html?module=bbop=viewtopicp=3913729#3913729

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913729


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 about these issues? Everything usefull is 
well appreciated: URL's, book references, articles, tutorials, examples, 
anything ;-) Thanks for the information.


Kind regards,
Kurt

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3913360#3913360

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913360


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 about these issues? Everything usefull is 
well appreciated: URL's, book references, articles, tutorials, examples, 
anything ;-) Thanks for the information.


Kind regards,
Kurt

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3913361#3913361

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913361


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 by farming 
to both application servers.
3. A simple J2SE client application (command line) that connects to the session 
bean and calls a string returning Hello-World-like method.

Both members in the cluster are aware of eachother because when the client 
application creates several instances to the session bean, they are 
load-balanced between the two servers.

The problem occures when I shutdown one of both instances of Tomcat. 
Connections made to this server get lost although I would like to use the 
remaining to process the requests. It seems that fail-over is not working for 
my configuration. Does anyone know some good documents/examples to achieve this 
kind of behaviour? I really like JBoss so it would be a pitty to notice that 
such stuff would not be possible ;-)

Thanks for the advise 

Regards,
Kurt


The client application

  | package client;
  | 
  | import java.util.*;
  | import javax.naming.*;
  | import javax.rmi.*;
  | import server.ejb.*;
  | 
  | public class ClusterClient {
  | 
  | public ClusterClient() {
  | for(int j = 0 ; j  5 ; j++){
  | Runnable runner = new ClusterClientRunner();
  | Thread thread = new Thread(runner, Runner  + j);
  | thread.start();
  | 
  | try{
  | Thread.sleep(1000);
  | }catch(InterruptedException e){
  | }
  | }
  | }
  | 
  | private class ClusterClientRunner implements Runnable{
  | public void run(){
  | System.out.println(Thread.currentThread().getName() +  
started.);
  | try{
  | Properties props = new Properties();
  | props.setProperty(Context.INITIAL_CONTEXT_FACTORY, 
  |   
org.jnp.interfaces.NamingContextFactory);
  | //props.setProperty(Context.PROVIDER_URL,
  | //  
192.168.3.120:1100,192.168.3.159:1100);
  | Context ctx = new InitialContext(props);
  | 
  | StatefullSessionRemoteHome home = 
(StatefullSessionRemoteHome)
  | PortableRemoteObject.narrow(
  | ctx.lookup(StatefullSessionBean), 
  | StatefullSessionRemoteHome.class);
  | 
  | StatefullSessionRemote bean = home.create();
  | 
  | for(int i = 0 ; i  20 ; i++){
  | System.out.println(Thread.currentThread().getName() +  
triggering with ID =  + i);
  | bean.executedAt(Thread.currentThread().getName() +  
triggering with ID =  + i);
  | 
  | try{Thread.sleep(2500);
  | }catch(InterruptedException e){}
  | }
  | 
  | }catch(Exception ex){
  | ex.printStackTrace();
  | }
  | System.out.println(Thread.currentThread().getName() +  
completed.);
  | }
  | }
  | 
  | public static void main(String[] args) {
  | new ClusterClient();
  | }
  | }
  | 

The session bean's code

  | package server.ejb;
  | 
  | import javax.ejb.*;
  | import javax.naming.*;
  | 
  | public class StatefullSessionBean implements javax.ejb.SessionBean, 
server.ejb.StatefullSessionRemoteBusiness, 
server.ejb.StatefullSessionLocalBusiness {
  | private javax.ejb.SessionContext context;
  | private static int counter;
  | 
  | 
  | public void setSessionContext(javax.ejb.SessionContext aContext) {
  | context = aContext;
  | }
  | 
  | public void ejbActivate() {
  | 
  | }
  | 
  | public void ejbPassivate() {
  | 
  | }
  | 
  | public void ejbRemove() {
  | 
  | }
  | 
  | public void ejbCreate() {
  | }
  | 
  | public String showMessage() {
  | StringBuffer buffer = new StringBuffer();
  | buffer.append(Bean executed at :  + 
(String)System.getProperty(server));
  | System.out.println(counter +  ==  + buffer.toString());
  | counter++;
  | return buffer.toString();
  | }
  | 
  | public void executedAt(java.lang.String location) {
  | System.out.println(Triggered by :  + location);
  | }
  | 
  | }
  | 

The deployment descriptor

  | ?xml version=1.0 encoding=UTF-8?
  | jboss
  | enterprise-bean
  | session
  | ejb-nameStatefullSessionBean/ejb-name
  | jndi-nameStatefullSessionBean/jndi-name
  | 
  | clusteredTrue/clustered
  |