[JBoss-dev] [XDoclet on JBoss (XDoclet/JBoss)] - xdoclet + xmbean + ServiceMBeanSupport sub-optimal

2004-04-16 Thread genman
I want to take advantage of xdoclet's jboss.xmbean generation, however it is very frustrating. Especially in 3.2.4 CVS. Right now in 3.2.3, I have to do this to get the ServiceMBeanSupport methods to show up:

[JBoss-dev] [JBoss IDE] - Re: Unable to Add Std. Archive

2004-04-16 Thread letiemble
Hi, JBoss-IDE 1.2.230 doesn't work on M8, only with M6. Checkout the CVS version or wait a bit. Laurent. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3830895#3830895 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3830895

[JBoss-dev] [JBoss IDE] - XDoclets in Version 1.2.230 does not work with eclipse 3.0 M

2004-04-16 Thread mlehradt
Hi, I installed JBoss IDE 1.2.230 for a fresh installation of eclipse 3.0 with no other plugins. Unfortunately the Xdoclet support does not work at all. There are no templates listed in Window Preferences JBoss IDE XDoclet Code Assist Templates. If I try to display the templates I got an

[JBoss-dev] [Mail Services] - Re: POP3 and TLS

2004-04-16 Thread kabkhan
Nice one! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3830910#3830910 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3830910 --- This SF.Net email is sponsored by: IBM

[JBoss-dev] [JBoss IDE] - Re: JBoss Deployment

2004-04-16 Thread stanley1610
Hi all, Do you deploy the Tutorial successfully? If yes, could you share your opinion with us? Both Nilesh and I could not run it well and get the deployment error. Please help. If you think the Tutorial cannot work well actually, can you suggest any Tutorial, which could be deployed

[JBoss-dev] [IIOP on JBoss] - Re: Janeva 6 JBOSS

2004-04-16 Thread Mysteria_MM
Can you send me an example of using Janeva with JBoss if you have one?? I dont know how can I set the InitialContext!! How can I Acces a EJB running on JBOss??? Thanks!! My eMail: [EMAIL PROTECTED] View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3830933#3830933

[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: Problems with concurrent transactions isolation levels

2004-04-16 Thread spohl
This time I used a jboss-cache.jar compiled from the most recent jboss-head out of cvs. You mentioned a change in Region.java and I think you got it. With older jboss-cache.jar's I could always reproduce the dead-lock but never with the new jar in cvs :-) But there is no change with the

[JBoss-dev] JBossRMIClassLoader

2004-04-16 Thread sg
Hi jboss developer, I had already post this question to the forum, but didnt get any feedback, may be since it was the wrong forum. I will try to ask here again. I'm in the process of integration jboss in eclipse to use eclipse as j2ee gui. (sf.net/projects/jstaff) The trick is that the

[JBoss-dev] [ jboss-Patches-936293 ] Improved ChildProcessService MBean.

2004-04-16 Thread SourceForge.net
Patches item #936293, was opened at 2004-04-16 15:00 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=376687aid=936293group_id=22866 Category: JBossServer Group: v3.2 Status: Open

[JBoss-dev] [JMS on JBoss (JMS/JBoss)] - Re: Improving message selector performance

2004-04-16 Thread [EMAIL PROTECTED]
Need to implement optimized access for a message selector per destination: e.g. | mbean code=org.jboss.mq.server.jmx.Queue | name=jboss.mq.destination:service=Queue,name=A | optimized-selectorJMSMessageID=?/optimized-selector | depends

[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Clustering 2 machines in two different datacenters

2004-04-16 Thread drbeta
Hi everyone! Our customer would like to put the two machines we are clustering our application on in two different datacenters, 10km distance to each other. Has anyone experience with that or is it anyhow a good idea to do that, especially considering the latency-times of the network? Thx a

[JBoss-dev] [JCA on JBoss] - JCA in JB4/AOP

2004-04-16 Thread spiritualmechanic
I was wondering if you guys were planning any changes to the JCA infrastructure for JB4. Specifically, taking advantage of AOP to make things a little easier for people to write connectors. I'm writing a proposal for something I've been thinking about that would use advisors to generate

[JBoss-dev] [EJB on JBoss] - Accessing EJBs through a Firewall

2004-04-16 Thread kieranf
Hi. I'm putting a system together that requires access to EJBs through a firewall. Initially I only opened the 1099 port in the firewall, but then I noticed that the remote objects used different ports. But these ports can be any number. Therefore, I do not know what rules to add to the

[JBoss-dev] [Tomcat] - Re: configuaring embedded tomcat on jboss-3.2.3

2004-04-16 Thread stephoule
You can find the configuration file on: $JBOSS_HOME/server/default/deploy/jbossweb-tomcat41.sar/META-INF/jboss-service.xml View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3830977#3830977 Reply to the post :

[JBoss-dev] [JCA on JBoss] - Re: JCA in JB4/AOP

2004-04-16 Thread [EMAIL PROTECTED]
An interesting idea. A lot of the work in resource adapters follows a number of patterns and is just boilerplate code. Are you thinking of something like: | /** | * @jca:manageable | */ | public class POJOResource | { | ... | } | Yes, it is already on our list to add

[JBoss-dev] [JCA on JBoss] - Re: JCA in JB4/AOP

2004-04-16 Thread spiritualmechanic
Yes, exactly. But also like (I don't know xdoclet but you'll get the idea) /** * @jca:pooled * @jca:secure * @jca:subject * @jca:internalsync/externalsync (i.e. JDBC-like or JMS-like, respectively) * @jca:makehandlesongetters (recurse tree of objects, so you're using handles, never

[JBoss-dev] [JCA on JBoss] - Re: JCA in JB4/AOP

2004-04-16 Thread spiritualmechanic
Here's what I blogged earlier this morning. JCA is a pain. It's complex, it's subtle, and it's easy to mess up. A better solution would be to define an advisor for any resouce, and generate the necessary JCA interfaces/managedconnections/factories behind the scenes at classload time. This

[JBoss-dev] [EJB on JBoss] - MDB instance pooling at startup like in Weblogic ?

2004-04-16 Thread rmunjuluri
Hello, This is with reference to JBoss 3.2.3 with SonicMQ 5.0 plugin and JDK 1.4.2_01 I have developed about 3 MDBs that are use a simple Request/Reply paradigm. I am getting a handle to the Response Q in the EJB create method by performing a local JNDI lookup. The issue is, the MDB is

[JBoss-dev] [JCA on JBoss] - Re: JCA in JB4/AOP

2004-04-16 Thread [EMAIL PROTECTED]
Here's a challenge for you: implement it :-) Adding resource pooling to a pojo with no transaction or security injection would be a proof of concept. Don't worry about the quality of the code, we can tidy that up later with a real implementation. View the original post :

[JBoss-dev] [ jboss-Bugs-936465 ] JCA layer has invalid assumption about Log4jLoggerPlugin

2004-04-16 Thread SourceForge.net
Bugs item #936465, was opened at 2004-04-16 09:49 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=376685aid=936465group_id=22866 Category: JBossCX Group: v3.2 Status: Open Resolution: None

[JBoss-dev] [JCA on JBoss] - Re: JCA in JB4/AOP

2004-04-16 Thread spiritualmechanic
That is the plan. I'm working on a JCA adapter for the jboss-mail project, but once I'm done with that I'm going to start working on this. I need to start picking up JBoss-AOP, so now I have a good excuse :D Steve View the original post :

[JBoss-dev] [JCA on JBoss] - Re: JCA in JB4/AOP

2004-04-16 Thread spiritualmechanic
Adrian, Do you know the state of the jbosspool project in CVS? If it's old and not used, I'll just mock up a quick one myself. Steve View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831037#3831037 Reply to the post :

[JBoss-dev] [Deployers on JBoss (Deployers/JBoss)] - Re: JBoss Production Deployment Issues

2004-04-16 Thread richardzheng
Could you please tell me how to clean files from /tmp under Linux? Thanks Richard View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831039#3831039 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831039

[JBoss-dev] [JBoss IDE] - UTF-8 deployment Exception: help me please

2004-04-16 Thread mauro_franchi
Hi, i've a problem when i deploy my project in JBoss 3.2.3. My project is a J2EE application with samo Entity Bean, two Session Stateless Bean and some Servlet. When i try to deploy my project, i receive this error: 19:55:52,421 INFO [MainDeployer] Starting deployment of package:

[JBoss-dev] [JCA on JBoss] - Re: JCA in JB4/AOP

2004-04-16 Thread acoliver
Where is your blog steve? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831042#3831042 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831042 --- This SF.Net email is

[JBoss-dev] [Mail Services] - Re: Berkeley DB/Java

2004-04-16 Thread acoliver
Thanks :-). I have two step kids as well. ditto on the fun/work. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831043#3831043 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831043

[JBoss-dev] [Mail Services] - Re: TODO: Script Runner

2004-04-16 Thread acoliver
This is good news. I suggest either localhost by default but overridable or getHostName by default as opposed to XML. Also maybe the override could be a simple environment variable that we could use throughout MS_HOSTNAME=foo.org for the build... I don't really want to do a manual edit of a

[JBoss-dev] [JCA on JBoss] - Re: JCA in JB4/AOP

2004-04-16 Thread spiritualmechanic
Blog View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831048#3831048 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831048 --- This SF.Net email is sponsored by: IBM Linux

[JBoss-dev] [JCA on JBoss] - Re: JCA in JB4/AOP

2004-04-16 Thread spiritualmechanic
It's very minimal, tech oriented. Mostly it's just links to interesting things that I've found, cuz I hate using bookmarks in browsers. Steve View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831047#3831047 Reply to the post :

[JBoss-dev] [JCA on JBoss] - Re: JCA in JB4/AOP

2004-04-16 Thread [EMAIL PROTECTED]
jbosspool is legacy stuff used in 2.4.x View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831053#3831053 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831053 --- This

[JBoss-dev] [JCA on JBoss] - Re: JCA in JB4/AOP

2004-04-16 Thread spiritualmechanic
Just thinking out loud here. Don't mind me. Intercept the constructor. Instead of just returning an instance, look up from the pool (say an ArrayList) the first unused instance. Set a flag to say it's in use and return the instance. Intercept the finalize(). In the AOP-all example there's an

[JBoss-dev] [JCA on JBoss] - Re: JCA in JB4/AOP

2004-04-16 Thread [EMAIL PROTECTED]
You don't want to use finalize() it isn't guaranteed to be called and even if does get called, it wrecks gc performance. A real solution would be to do caller side analysis/weaving: i.e. POJOResource pr = new POJOResource; pr.doSomething(); becomes (pseudo code) POJOResource pr =

[JBoss-dev] [Deployers on JBoss (Deployers/JBoss)] - Found a BUG in EAR hot deployment

2004-04-16 Thread yurifyurif
I believe I found a bug in JBoss hot undeploy algorithm. Here is my setup: - Jboss 3.2.3 running on Linux - a single .ear archive - this ear includes: .war archive, .sar archive, and .jar archive: .sar - Jboss service with mbean name my.domain:id=xyz .war - a servlet - WEB-INF/jboss-web.xml with

[JBoss-dev] [JCA on JBoss] - Re: JCA in JB4/AOP

2004-04-16 Thread spiritualmechanic
Actually it doesn't look like aop-all example is using finalize. The first is a read, then a write, so it looks like it's reading the value, then ++ing it. Steve View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831058#3831058 Reply to the post :

[JBoss-dev] [Clusters on JBoss (Clusters/JBoss)] - JBoss::Cluster::GetNodes.pm

2004-04-16 Thread npdavis
All, I am building a Jboss cluster aware perl module for our legacy apps to take advantage of JBoss clustering and failover by listening to the UDP broadcasts, to maintain a near realtime list of available nodes. What is the possibility of me getting the datagram spec? If this is inappropriate

[JBoss-dev] [JCA on JBoss] - Re: JCA in JB4/AOP

2004-04-16 Thread spiritualmechanic
Yeah I think that'd be easier. Just assume there's a close and intercept that. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831059#3831059 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831059

[JBoss-dev] [JMS on JBoss (JMS/JBoss)] - Re: Improving message selector performance

2004-04-16 Thread genman
A cheap way to improve performance would be to run the selector against messages added to the queue, add references to these messages into a hashtable (key would be the selector, value would be the sorted message IDs). When reading using a selector, if it matches a pre-existing optimized

[JBoss-dev] [EJB on JBoss] - Found a BUG in EAR hot deployment (EJB related)

2004-04-16 Thread yurifyurif
I believe I found a bug in JBoss hot undeploy algorithm. Here is my setup: - Jboss 3.2.3 running on Linux - a single .ear archive - this ear includes: .war archive, .sar archive, and .jar archive: .sar - Jboss service with mbean name my.domain:id=xyz .war - a servlet - WEB-INF/jboss-web.xml with

[JBoss-dev] [JMS on JBoss (JMS/JBoss)] - Re: Improving message selector performance

2004-04-16 Thread [EMAIL PROTECTED]
Yes, but only use maintain the hashtable/hashmap if there is an optimized-selector and the receiver's selector matches the optimized selector. Care to implement it? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831064#3831064 Reply to the post :

[JBoss-dev] [JMS on JBoss (JMS/JBoss)] - Re: ChangeNotes: 3.2.4

2004-04-16 Thread [EMAIL PROTECTED]
Example jms persistence using Sybase Based on confiig provided by amresh.deshmukh at drkw.com View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831065#3831065 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831065

[JBoss-dev] [JMS on JBoss (JMS/JBoss)] - Re: ChangeNotes: 3.2.4

2004-04-16 Thread [EMAIL PROTECTED]
Bug fix: Null the exception listener such that errors during the close don't invoke it View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831066#3831066 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831066

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Intercepting Constructors

2004-04-16 Thread spiritualmechanic
I'd like to intercept a constructor such that I don't return the actual object, but an instance of the same object type from a pool. It looks like Object o = invocation.invokeNext() will get me the object, so maybe what I want to do is do: Object o = Pool.getInstance(); Is that sane? Steve

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: object pooling detrimental to performance

2004-04-16 Thread spiritualmechanic
Very interesting. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831070#3831070 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831070 --- This SF.Net email is sponsored

[JBoss-dev] [Deployers on JBoss (Deployers/JBoss)] - Re: Found a BUG in EAR hot deployment

2004-04-16 Thread [EMAIL PROTECTED]
Download the latest source from CVS (3.2.4RC2) 1) No longer exists 2) I don't follow this point can you restate it more clearly 3) Was fixed in 3.2.4RC1 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831071#3831071 Reply to the post :

[JBoss-dev] [EJB on JBoss] - Re: Found a BUG in EAR hot deployment (EJB related)

2004-04-16 Thread [EMAIL PROTECTED]
Please do not cross post. As a penance, provide a link in this post to the one where I answered your question. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831073#3831073 Reply to the post :

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: object pooling detrimental to performance

2004-04-16 Thread Bill Burke
This was a single threaded test. Maybe it is different in multithreaded test. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831074#3831074 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831074

[JBoss-dev] [Deployers on JBoss (Deployers/JBoss)] - Re: Found a BUG in EAR hot deployment

2004-04-16 Thread yurifyurif
Thanks for the response. I just realized that xml markup around tag depends in my email was eatten by html. This may make my message confusing, so I paste these fragments again with html disabled. .war - a servlet - WEB-INF/jboss-web.xml with dependsmy.domain:id=xyz/depends 2. The effect of

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Intercepting Constructors

2004-04-16 Thread [EMAIL PROTECTED]
Yes, the constructor interceptor runs in the context of the calling code. Uninstrumented code: POJO pojo = new POJO(); Instrumented and intercepted - (pseudo code): POJO pojo = POJO.staticMethodReplacingConstructor(); With a stacktrace similar to this: POJO.PoolingInterceptor.invoke();

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: object pooling detrimental to performance

2004-04-16 Thread [EMAIL PROTECTED]
Or if the Object is expensive to construct like a database connection. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831079#3831079 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831079

[JBoss-dev] [JCA on JBoss] - Re: JCA in JB4/AOP

2004-04-16 Thread spiritualmechanic
It looks like there's similar functionality already in JBoss-Cache, using AOP to cachify a List or a Map. That's basically the first step in pooling. There may be a difference in what JCA would want and what Cache already has. Not sure. Looking into it some more. Steve View the original post

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: object pooling detrimental to performance

2004-04-16 Thread [EMAIL PROTECTED]
Surely MultiThreaded would be worse (more contention) unless your pooling uses a ThreadLocal pool I removed all that crap from JBossMQ View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831080#3831080 Reply to the post :

[JBoss-dev] [Deployers on JBoss (Deployers/JBoss)] - Re: Found a BUG in EAR hot deployment

2004-04-16 Thread yurifyurif
Adrian, regarding your 3) Was fixed in 3.2.4 RC1 I just checked out rc1 source code and EjbModule.java still contains the same boolean destroyContainer = conState == CREATED || conState == STOPPED || conState == FAILED; | DESTROYED is still missing. View the original post :

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: object pooling detrimental to performance

2004-04-16 Thread Bill Burke
The test I did WAS using ThreadLocal as the pool. Object creation was still faster. Maybe Object creation has a mutex and a multithreaded test would make regular object creation slower than ThreadLocal. Bill View the original post :

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Performing post compilation on jars

2004-04-16 Thread Bill Burke
Would be interesting, but it is not a priority right now. I would be most greatful if you would take on the task. Right now, I'm just one guy and there's too much to do. BIll View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831083#3831083 Reply to the post :

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Performing post compilation on jars

2004-04-16 Thread Bill Burke
I take that back...Claude is helping with Asynch stuff, but I do need help in the core. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831084#3831084 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831084

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Intercepting Constructors

2004-04-16 Thread spiritualmechanic
Sweet. Thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831086#3831086 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831086 --- This SF.Net email is sponsored by:

[JBoss-dev] [JCA on JBoss] - Re: JCA in JB4/AOP

2004-04-16 Thread [EMAIL PROTECTED]
The way you implement it is the similar, but: cache.equals(pool) == false; cache is a map of identity to objects having different state pool is a set of equivalent objects Regards, Adrian View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831089#3831089 Reply to

[JBoss-dev] [Mail Services] - Re: TODO: Script Runner

2004-04-16 Thread mikea-xoba
right. my choice of 'ceau.com' was mainly motivated by not wanting to get in the way of other tests which put up Server mbeans, for instance, that listen on port 9000 by default --- so a fully running externally set-up localhost server on port 9000 would tend to break the unit tests. what

[JBoss-dev] [Deployers on JBoss (Deployers/JBoss)] - Re: Found a BUG in EAR hot deployment

2004-04-16 Thread [EMAIL PROTECTED]
Why would you want to destroy the container if it is DESTROYED. Your problem is with unregistering the container, look further down. http://cvs.sourceforge.net/viewcvs.py/jboss/jboss/src/main/org/jboss/ejb/EjbModule.java?r1=1.53r2=1.54 Regards, Adrian View the original post :

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: object pooling detrimental to performance

2004-04-16 Thread [EMAIL PROTECTED]
I know yours was Bill. Steve is interested in it in the context of a global pool: http://www.jboss.org/index.html?module=bbop=viewtopict=48594 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831092#3831092 Reply to the post :

[JBoss-dev] [Deployers on JBoss (Deployers/JBoss)] - Re: Found a BUG in EAR hot deployment

2004-04-16 Thread yurifyurif
Got it. Thanks. In my original message I meant exactly that - unregister, not destroy. So, as it turns out, all my 3 statements were valid, and all 3 are fixed. Wow, I'm looking forward for this 3.2.4 release! Thanks for the instant responses. Yuri View the original post :

[JBoss-dev] [EJB on JBoss] - Transaction rollback problemwith mysql

2004-04-16 Thread sharris
Simple transaction rollback was working with hypersonic, but seems not to be working when we switched to mysql. Running mysql-connector-java-3.0.11 and mysql 4.0.18-0 (client and server) with JBoss 3.2.3 java 1.4.2_04. We have 2 stateless session beans FooService and BarService. FooService

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: about MBean policy

2004-04-16 Thread [EMAIL PROTECTED]
The server.conf file is not loaded. You have to configure the use of a security manager on the command line and then pass in the policy file location. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831098#3831098 Reply to the post :

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Intercepting Constructors

2004-04-16 Thread spiritualmechanic
Do I still need to call invocation.invokeNext(), or will I be missing executing some constructor processing if I don't? Like: invokation.invokeNext(); o = Static.method(); return o; Steve View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831099#3831099 Reply

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Intercepting Constructors

2004-04-16 Thread Bill Burke
No, you do not have to call invokeNext. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831101#3831101 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831101 --- This

[JBoss-dev] [JCA on JBoss] - Re: JCA in JB4/AOP

2004-04-16 Thread spiritualmechanic
Okay, that makes sense. Righto. I'll see what I can do from that. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831100#3831100 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831100

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Intercepting Constructors

2004-04-16 Thread [EMAIL PROTECTED]
In fact, it isn't that you don't have to, you don't want to. invocation.invokeNext() will lead to the real constructor creating an Object instance you don't want. When you do want to invoke the real constructor, use reflection. POJO.class.newInstance(); Regards, Adrian View the original post :

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Providing metadata, services to pojo resources

2004-04-16 Thread [EMAIL PROTECTED]
I have added reflective setting of the MBeanServer and MBeanInfo for ModelMBean resources that support the corresponding setters: |public void setResource(Object resource) |{ | this.resource = resource; | /* Pass on the MBeanInfo and MBeanServer to pojo resources if

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Observable Pattern on the WIKI

2004-04-16 Thread [EMAIL PROTECTED]
http://jboss.org/wiki/Wiki.jsp?page=GOFObservable View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831107#3831107 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831107 ---

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: Providing metadata, services to pojo resources

2004-04-16 Thread ivelin
Scott, can you expand a bit more on the value of your addition. I am not able to follow. Ivelin View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831108#3831108 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831108

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: Providing metadata, services to pojo resources

2004-04-16 Thread [EMAIL PROTECTED]
Generically it is a callback interface like MBeanRegistration for services that want to know about their container and their configuration | public interface ContainerRegistration | { |void setContainer(Container container); |void setMetaData(MetaData metaData); | } | View

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: Providing metadata, services to pojo resources

2004-04-16 Thread [EMAIL PROTECTED]
You can take a pojo and expose it as a service using an XMBean, but it has no ability to know what MBeanServer it is registered with, or access to its management metadata. This change allows for an IOC type of setting of the container context such as the MBeanServer by providing a

[JBoss-dev] [JCA on JBoss] - Re: JCA in JB4/AOP

2004-04-16 Thread spiritualmechanic
Adrian, I can send you my JCPool mbean if you want to look at the code, to see if I'm on the right track, or if I'm missing any obvious features. If you don't want to, or don't have time, or just have better things to do, that's fine as well :D I'll send it on whenever I have the AOP part

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Observable Pattern on the WIKI

2004-04-16 Thread marc fleury
So I am looking at the code, 1- well done Adrian this is kick ass stuff 2- Why do we call it the Subject? why don't you call it observable. 3- We need to start talking of aspects. I realize we apply the observable aspect and introduce that behavior. That we introduce it on set is irrelevant,

[JBoss-dev] [JCA on JBoss] - Re: JCA in JB4/AOP

2004-04-16 Thread spiritualmechanic
Also, with regards to the real solution i.e. caller side analysis weaving, I think that would be super-cool. The point of this is to make it as easy as possible for the customer of JCA, which may make the container developer's life a little harder, but I think it'd be worth it. Steve View the

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: Providing metadata, services to pojo resources

2004-04-16 Thread [EMAIL PROTECTED]
Ok, good. One step of abstraction above this is the notion of container mediated services. So for example, in the case of my ModelMBean pojo wanting access to the MBeanServer, if it only needs this to access a service representable by an interface, it would be better if there was a dependency

[JBoss-dev] [JCA on JBoss] - Re: JCA in JB4/AOP

2004-04-16 Thread [EMAIL PROTECTED]
Post it as a patch at www.sf.net/projects/jboss I might get chance to look at it over the weekend, although it is a good friend's birthday so I will probably me non compus mentis :-) http://www.clickdocs.co.uk/glossary/non-compus-mentis.htm Regards, Adrian View the original post :

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Observable Pattern on the WIKI

2004-04-16 Thread [EMAIL PROTECTED]
I used Subject because that is the term used by the GOF View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831118#3831118 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831118

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Observable Pattern on the WIKI

2004-04-16 Thread Bill Burke
It should also be triggerable by an annotation. | bind pointcut=set(* @observable-*) | ... | /bind | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831119#3831119 Reply to the post :

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Observable Pattern on the WIKI

2004-04-16 Thread Bill Burke
Also, you can use annotations within the introduction. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831120#3831120 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831120

RE: [JBoss-dev] [JCA on JBoss] - Re: JCA in JB4/AOP

2004-04-16 Thread Scott M Stark
Hey, don't go killing too many brain cells there! You have a lot to do on the next gen micrkernel :#) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, April 16, 2004 3:49 PM To: [EMAIL PROTECTED] Subject:

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Observable Pattern on the WIKI

2004-04-16 Thread Bill Burke
Sorry, one more thing. THis should be extended to do more fine grain obervations. Not only field changes, but also method calls and such. Also, per field, per method, etc... Also, it might make sense to not bind an interceptor at the class level, but rather bind the interceptor on a

[JBoss-dev] [ jboss-Patches-936699 ] Generic test pooling MBean

2004-04-16 Thread SourceForge.net
Patches item #936699, was opened at 2004-04-17 00:02 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=376687aid=936699group_id=22866 Category: JBossCX Group: None Status: Open Resolution:

[JBoss-dev] [JCA on JBoss] - Re: JCA in JB4/AOP

2004-04-16 Thread spiritualmechanic
Posted. Have a great weekend. But not *too* great. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831122#3831122 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831122

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: Providing metadata, services to pojo resources

2004-04-16 Thread [EMAIL PROTECTED]
On call context propagation I would like to use something similar to what Bill has done container interceptors based on metadata. i.e. if you POJO has the transaction demarcation aspect then when you construct the remote proxy, it includes the client side transaction interceptor I'd also like to

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Observable Pattern on the WIKI

2004-04-16 Thread [EMAIL PROTECTED]
Can you explain the annotation usage. Is that doable now or do we have to code something? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831124#3831124 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831124

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Observable Pattern on the WIKI

2004-04-16 Thread [EMAIL PROTECTED]
I already created this topic for Observable improvements http://www.jboss.org/index.html?module=bbop=viewtopict=48622 Obviously dynamically adding/removing the interceptor is preferrable based on whether {add/remove}Observer is invoked. But I didn't want to overcomplicate the initial

[JBoss-dev] JBoss Shutdown Failed! JBoss (HEAD/winxp/1.4.1_06) [AUTOMATED]

2004-04-16 Thread kimptoc_mail
=== ==THIS IS AN AUTOMATED EMAIL - SEE http://jboss.kimptoc.net/ FOR DETAILS== ===

[JBoss-dev] [JCA on JBoss] - Re: JCA in JB4/AOP

2004-04-16 Thread acoliver
Just wanted to say this sounds like a pretty awesome idea. Anything that makes it so that I never have to write a JCA adaptor sounds awesome to me. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831131#3831131 Reply to the post :

[JBoss-dev] [Mail Services] - Re: TODO: Script Runner

2004-04-16 Thread acoliver
I'm planning to change the default port to 25/110. 9000 and 9001 was just for while I didn't want anyone to ACCIDENTLY set up an open relay while we worked out the kinks. I'm confident that our defaults won't be an open relay at least by M1. I'm planning to cut M1RC1 this weekend. View the

[JBoss-dev] [Mail Services] - M1RC1 this weekend

2004-04-16 Thread acoliver
I'm going to cut M1RC1 this weekend. I'll probably cut a branch for this so just be advised. MS_M1_BRANCH or something. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831133#3831133 Reply to the post :

[JBoss-dev] [JCA on JBoss] - Re: JCA in JB4/AOP

2004-04-16 Thread spiritualmechanic
Word, Andy. I hate it, too. I intend to only have to learn it once, then make it generic, and then help other people. I can already think of multiple cases where we could have used this at my workplace. I want to make it very smart, as well, so that if someone sets up a connector, and they use

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Intercepting Constructors

2004-04-16 Thread spiritualmechanic
Bill: One of the aspects tests actually creates a proxy and returns that instead. Is that in the AOP examples, or in jbosstest? Bill: You can also do call side constructor interception of you only want to use the pool in certain code structures. I think Adrian mentioned that as well, in the

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Intercepting Constructors

2004-04-16 Thread Bill Burke
Let me know if the tutorial is complete enough and answers your questions well enough. Thanks, Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831137#3831137 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831137

[JBoss-dev] [Mail Services] - Re: TODO: (post M1)

2004-04-16 Thread spiritualmechanic
Okay, I have the adapter deploying. I'm going to do some tests and then I'll upload it as a patch after I feel comfortable with initial use. After that, tests! Steve View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831138#3831138 Reply to the post :

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Intercepting Constructors

2004-04-16 Thread spiritualmechanic
All of the examples use invocation.invokeNext(). It might be nice to see an example that doesn't use it (i.e. the proxy you mentioned before). Do one of the unit tests do that? I'm looking through the jbosstest AOP tests and none of them jump out at me for a Proxy. View the original post :

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Intercepting Constructors

2004-04-16 Thread spiritualmechanic
Do-Does. English. Grammar. Whatever. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831140#3831140 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831140 --- This SF.Net

[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: Clustering 2 machines in two different datacenters

2004-04-16 Thread bela
1. Use async repl if you can 2. You may want to switch to a TCP-based config, if IP multicast is not supported Bela View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831141#3831141 Reply to the post :

[JBoss-dev] [Mail Services] - Re: TODO: (post M1)

2004-04-16 Thread acoliver
Don't commit to head until after I branch for the M1 release. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831142#3831142 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831142

[JBoss-dev] [Mail Services] - Re: TODO: (post M1)

2004-04-16 Thread spiritualmechanic
Which package name should I use? Right now I have org.jboss.mail.jca. I'll wait until you tell me before I even upload it to patch. Steve View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831144#3831144 Reply to the post :

  1   2   >