[jboss-user] [Clustering/JBoss] - Re: EJB3 timer and cluster behaviour (JBoss 5.0.0)

2008-09-12 Thread wdfink
Hi Daniel, what you do is deploy the MDB as HASingleton and the timer will only have one server with this special MDB. But the timeout will happen for each node, because the TIMER-table is the same for all. What I need is a real cluster aware timer where a SLSB|MDB can create a timer and it is

[jboss-user] [Clustering/JBoss] - EJB3 timer and cluster behaviour (JBoss 5.0.0)

2008-09-04 Thread wdfink
I know that the ejb2 timer with JBoss 3.x/4.x is not really cluster aware. How the new ejb3-timer-service manage the timers in a clustered environment. Are the timer-events syncronized via database that a single execution of a timeout is ensured ? Anybody who know this? View the original post :

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Configuring ejb3-timer-service.xml (JBoss 5.0.0.CR1)

2008-09-04 Thread wdfink
I try to use the EJB3 timer service with Oracle DS. First of all I have to use a non XA connection, is the XA protocol not needed? If I use a local-tx-datasource the table can not created because of an illegal data type. The Statement: anonymous wrote : CREATE TABLE QRTZ_JOB_DETAILS(JOB_NAME VAR

[jboss-user] [Clustering/JBoss] - Re: Load Balancing Multiple Instances

2008-09-02 Thread wdfink
IMHO not. The only way to ensure that one process (JBoss) consume all resources is to use a resource partitioning of the system. In this case it's ensured that one system-partition can not consume more than the configured resources (CPU/Memory etc.) View the original post : http://www.jboss.com

[jboss-user] [Beginners Corner] - Re: Can 2 unclustered JBoss instances share the same DB tabl

2008-09-02 Thread wdfink
we do this, but without JMS.. just for CMP and EJB-Timers. For CMP it is not a risk if you aren't use CMP-caching. The timer tables must different (if you use timer), this can be configured in version 4.2. Otherwise ejbtimer services are started twice. JMS depends on what you using: JBossMQ -> de

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss5 deployment scanner configuration

2008-08-22 Thread wdfink
Thanks jaikiran, this looks like the right configuration. Here I found the deploy path list and the scanner. Do you know how to deactivate scanning? scanPeriod=0 ??? And how to deactivate farming? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171962#4171962

[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBoss5 deployment scanner configuration

2008-08-21 Thread wdfink
Hi, with JBoss4 the jboss-service.xml contains the scanner configuration, include lib/deploy directory and the configuration of the period to scan for new files. I found the 'lib' configuraration, but I miss the 'deploy' and the period settings. Where can I set this parameter? View the original

[jboss-user] [Clustering/JBoss] - Re: Problem with automatic discovery in jboss 4.0.4

2007-02-13 Thread wdfink
Do you have used the 'all' configuration? Is the Multicast and UDP Port/Address the same at all nodes? Is the partition name always the same? Are you sure that a multicast works? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015670#4015670 Reply to the post

[jboss-user] [Clustering/JBoss] - Re: TimerBean in cluster

2007-02-13 Thread wdfink
Hello klejs, the ejbTimer service is NOT clustered and supports no failover. You have to configure the timer on each node with a different database!!! Then the timer is started (configured) at one node and will be started at this node (even if it is alive). Also it is possible to caonfigure the

[jboss-user] [EJB 3.0] - Re: Lookup failed with TestClient

2007-01-17 Thread wdfink
Ok found, was a mistake of my JBoss installation. Using installer and running default installation works. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002782#4002782 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002

[jboss-user] [EJB 3.0] - Lookup failed with TestClient

2007-01-17 Thread wdfink
playing around with EJB3 (first itme) I create a SimpleBean: | @Stateless | public class SimpleBean { | public void aMethod() { | // log something ... | } | } | | @Remote | public interface Simple { | public void aMethod(); | } | If I deploy this, JBoss will

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: read-only

2006-11-07 Thread wdfink
Hello, in your case you prevent a lock if using the method getUuid. Any other method include findBy... will set a lock if declared. You can set the transaction of getter, finder to "Supports" and setter/create to Mandatory/Required. If you use a Session without a transaction reads to the bean wil

[jboss-user] [Beginners Corner] - Re: Cannot connect to port 1099

2006-08-29 Thread wdfink
Hi Brian, I meant that the answer from JBoss in your telnet is correct. JBoss will give a Remotestub, but telnet dont work with it. Your connection should work without the URL_PKG_PREFIXES this only restricts the packages. regards Wolf View the original post : http://www.jboss.com/index.html?m

[jboss-user] [Beginners Corner] - Re: Cannot connect to port 1099

2006-08-28 Thread wdfink
This looks OK. Your JBoss is up and running and will give a RMI connection. But telnet does not understand. IMO that is not the problem ;-( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967847#3967847 Reply to the post : http://www.jboss.com/index.html?modu

[jboss-user] [Beginners Corner] - Re: TimedObject question.

2006-08-28 Thread wdfink
in your EJB createTimerHandle() you should ask the timerService for existing timers with getTimers(). If you only one (looks like, theres no info) you skip the creation if the Collection is not empty. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967845#3967

[jboss-user] [Beginners Corner] - Re: Call EJB on a Schedule?

2006-07-24 Thread wdfink
Timers are an EJB 2.1 feature so the application has to manage. MBeans are helpful to do something server/system specific for the EJB's. A point to start for MBeans are JBoss admin guide (http://docs.jboss.org/jbossas/jboss4guide/r5/html/) chapter '2.4.3. Writing JBoss MBean Services' View the

[jboss-user] [Beginners Corner] - Re: Call EJB on a Schedule?

2006-07-24 Thread wdfink
often we have two cases: - do something for the depends on a timestamp from data (e.g. warning of a meeting in calendar) - start some checks for administrativ issues (cleaning or statistics ...) In the first case the entity manage the timer (it's easy) In the second case an administrator

[jboss-user] [Beginners Corner] - Re: Call EJB on a Schedule?

2006-07-24 Thread wdfink
Yes, you should use a Timer. implement TimerObject in you StatelessSessionBean, EntityBean or MessageBean. In your application set a Timer for this Bean. After that the timout method of your bean is called when the timeout has come The Timer is persistent (since 4.0.4 also if you shutdown t