[JBoss-user] [Management, JMX/JBoss] - Re: Problem with SAR file

2005-07-20 Thread fredatwork
Hello, I understood what the problem was. Sorry for the disturbance. For future readers : The 'defaut' config contains file jbossjca-service.xml which declares the CachedConnectionManager MBean. Furthermore, JBoss deploys sar files BEFORE *-service.xml files. See Wiki. This fully explains why

[JBoss-user] [Management, JMX/JBoss] - Problem with SAR file

2005-07-20 Thread fredatwork
Hello, I have trouble setting up a sar file. Please note that I'm not too familiar with these king of deployment file yet. My sar file contains a META-INF/jboss-service.xml file as well as an scheduler_ejb.jar file. The jboss-service.xml file starts a Quartz scheduler (allowing my applications

[JBoss-user] [Installation & Configuration] - Re: Deployment problem with Eclipse Profiler on

2005-06-14 Thread fredatwork
This is not the point. I use JBoss IDE as well. I may have not explained my problem clearly. The problem is that the ear file is not deployed by JBoss when it is started with JProfiler configuration parameters. JBoss does not find a class that is included in the ear file. The same ear file is

[JBoss-user] [Installation & Configuration] - Deployment problem with Eclipse Profiler on

2005-06-13 Thread fredatwork
I installed the Eclipse Profiler 0.5.33 on top of my Eclipse 3.1 M6 configuration. I run JBoss 4.0.1 as a separate thread (i.e. outside Eclipse) and followed instructions of Murray's weblog successfully (see http://www.murraywilliams.com/blog/archives/22.html). JBoss started well with the

[JBoss-user] [EJB/JBoss] - JBoss class loader fails loaging a custom java.lang class

2005-05-02 Thread fredatwork
Hello, I created a custom class in the java.lang package. This class helps me to make the Object clone() method public instead of protected : package java.lang; | | /** | * Clone util class | */ | public class CloneUtil { | | /** | * Clone an object | * @param

[JBoss-user] [Persistence & CMP/JBoss] - Acquiring a lock on a row

2005-03-31 Thread fredatwork
Hello, I'm looking for a way to try to lock on given database row in order to implement some locking mechanism for the management of my transactions. For this purpose, the immediate thought is to use the following class level XDoclet tag on my entity bean : @jboss.persistence | row-lockin

[JBoss-user] [Persistence & CMP/JBoss] - Row-level locking and the java.util.concurrent Tiger package

2005-03-31 Thread fredatwork
Hello, I'm looking for a way to try to lock on given database row in order to implement some locking mechanism for the management of my transactions. For this purpose, the immediate thought is to use the following class level XDoclet tag on my entity bean : @jboss.persistence | row-lockin

[JBoss-user] [The Lizzard's corner] - Re: Where is JBoss AS heading in terms of scheduling ?

2005-01-17 Thread fredatwork
No one at JBoss Inc. answered to this question yet. It would be nice if someone could ? Can Scott Stark answer to this topic (it is related to JBoss implementation strategy? ps: in the meantime, I rely on Quartz tfor scheduling my services. See http://www.quartzscheduler.org/[url] View the or

[JBoss-user] [The Lizzard's corner] - Where is JBoss AS heading in terms of scheduling ?

2005-01-14 Thread fredatwork
Hello, I'm interested in knowing where JBoss is heading regarding job scheduling . I read in an older post (back in 2003) that Scott Stark seemed, a while ago, be willing to use Quartz as JBoss scheduler and that this would effect EJB Timer Service as well. ? What is the status on this issue ?

[JBoss-user] [EJB/JBoss] - Re: How Can I dynimicly load a Class in Session Bean (Statel

2005-01-11 Thread fredatwork
You definitely have to load a class as Frito told you : Thread.currentThread().getContextClassLoader().loadClass() But also, I would consider migrating immediately consider to JBoss 4.0.1. I had plenty of problems with JBoss 4.0.0 loading classes of mine dynamically and more generally with the J

[JBoss-user] [EJB/JBoss] - Timer vs. cluster & scheduler

2005-01-11 Thread fredatwork
Hello, I have a few questions about EJB timers : 1/ I'm interested to know what JBoss 4.0 AS does with timers in a clustered environment. More specifically, I would like to know if timers can be made highly available with JBoss clustering features (the J2EE specification does not mandate high

[JBoss-user] [Beginners Corner] - Basic Versioning Question

2005-01-02 Thread fredatwork
Hello, I' would like to get a confimation of my understanding of JBoss versioning policy regarding the Release Candidates. More specifically, I'd like to know if version of JBoss AS "4.0.0 RC2" is an earlier release than JBoss AS "4.0.0" (and not the contrary), or if JBoss AS "4.0.0 RC1" is a

[JBoss-user] [EJB/JBoss] - Re: Best practice for sharing a data structure through JNDI

2004-12-17 Thread fredatwork
Thanks for Scott for his answer. I'm also wondering if JBoss Cache is something that I have to look into in order to implement a cache of POJOs (Plain Old Java Objects), that is a cache of objects to share among session beans ? I plan to run in a cluster. Is JNDI enough to store (in memory) a

[JBoss-user] [EJB/JBoss] - Best practice for sharing a data structure through JNDI ?

2004-12-17 Thread fredatwork
Hello, I would like to have to share a data structure though JNDI. This data structure behaves like a synchonized cache (let's say a data structure based on an instance of HashMap). Some session beans of mine will then use this shared cache to store/access some stuff. How should I do implement

[JBoss-user] [EJB/JBoss] - Access to the Unified Class Loader

2004-12-07 Thread fredatwork
Hello, I would lie to load a class by its name inside some EJB session code. Since I never did that, I carefully read the Wiki documents dedicated to class loaders and scoped applications. I realize the classes I want need to be loaded by a JBoss-specific class loader (UnifiedClassLoader). How

[JBoss-user] [EJB/JBoss] - Re: Removing stateless session beans

2004-11-16 Thread fredatwork
Thanks to Darran for his tip. I understand the life cycle of a stateless session bean better and that the create() method (invoked on the home of a stateless session bean) does not call the ejbCreate method. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=385

[JBoss-user] [EJB/JBoss] - Removing stateless session beans

2004-11-15 Thread fredatwork
Hello, I'm relatively new to EJBs and I have a question on stateless session beans. I would like to know if I need to remove stateless session beans once I'm finished using them. I understand that my J2EE server (JBoss in this case) has a reserve of bean instances ready to execution business m

[JBoss-user] [EJB/JBoss] - Re: setSessionContext() method not called

2004-11-11 Thread fredatwork
I've got it. My code did not implement ejbActivate(), nor ebjPassivate(). Now it works. Fred View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854830#3854830 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854830 -

[JBoss-user] [EJB/JBoss] - setSessionContext() method not called - JBoss Bug ?

2004-11-11 Thread fredatwork
The setSessionContext() method is called when I turn my session bean into a CMP bean (with a @ejb.bean transaction-type="Container" tag). This does not tell me why the setSessionContext() method is not called for a statefull BMP session bean. Is this a JBoss bug ? Fred View the original post :

[JBoss-user] [EJB/JBoss] - setSessionContext() method not called

2004-11-11 Thread fredatwork
Hello, I'm trying to implement a stateful session bean that manages its own transactions (see the @ejb.bean tag of my sample below). However, the setSessionContext() method is not called for my sample. If created with with a remote interface or with local one, the result is the same, JBoss doe

[JBoss-user] [Persistence & CMP/JBoss] - Re: Can XDoclet generate markups ?

2004-09-13 Thread fredatwork
Thanks for the info. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848004#3848004 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848004 --- This SF.Net email is spo

[JBoss-user] [Persistence & CMP/JBoss] - Can XDoclet generate markups ?

2004-09-11 Thread fredatwork
I use JBoss 3.2.5 and I need to generate the markup element in the jbosscmp-jdbc.xml file (using Jboss IDE wonderful tool). I realize this element allow to delete children beans "a good way". See http://www.jboss.org/wiki/Wiki.jsp?page=BatchCascadeDelete for details. However I cannot find any