[JBoss-dev] [Design of Messaging on JBoss (Messaging/JBoss)] - SecurityInterceptor and TransactionInterceptor

2005-03-27 Thread spiritualmechanic
I see this in the new design doc, but I don't see it used in HEAD. Am I missing 
it? Is this something I can work on? Are you just going to use the AO aspects 
for these interceptors, are do you need something different?

Thanks,

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871724#3871724

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871724


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: JMS Facade

2005-03-27 Thread spiritualmechanic
Okay, I'll start looking at it soon. I've written a super-basic JCAContainer 
which uses the Apache Commons Pool. I'll be looking at your stuff to see how 
the AO interceptors work. Hopefully I can be useful in the near future.

Thanks,

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871723#3871723

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871723


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Design of Messaging on JBoss (Messaging/JBoss)] - Messaging interceptors for facade

2005-03-23 Thread spiritualmechanic
Hey Ovidiu,

I'm looking at the interceptors for EJB3 and they seem based on Hibernate3 
stuff. I doubt you're going to be using the same exact interceptors for the 
Facade (since it's using onLoad, etc and Messaging doesn't really need the 
exact same events).

I notice your interceptors in the core stuff uses the aop interceptors. Which 
events are you going to use in your JMS Facade interceptors?

I hope these questions aren't too basic. I'm just trying to figure out what's 
similar and what's unique between different containers (EJB container vs. JMS 
container).

Thanks,

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871242#3871242

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871242


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: JMS Facade

2005-03-16 Thread spiritualmechanic
Okay, we cross-posted on the other thread. I'll be looking for it in the near 
future. I'll probably look at the interceptors first.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3870426#3870426

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3870426


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: What to work on

2005-03-16 Thread spiritualmechanic
Actually, above you say:

As for the communication between remote clients and server peers, I will use 
Tom Elrod's Remoting. 

So it seems that the Remoting is just for clients wanting to use Messaging 
outside of the JMS API? Or will you create a JMS client as well?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3870420#3870420

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3870420


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: What to work on

2005-03-16 Thread spiritualmechanic
Hello Ovidiu.

I've looked over the remoting stuff. Which Handler(s) do you expect to have, 
and how many?

Will you expose the JMS facade directly over the remoting API (i.e. use a 
Remoting Client to use JMS) or are the remote handlers just for JMS<->JMS 
communication? As in, between servers that serve JMS?

I'm guessing the latter, but I'm just checking.

THanks,

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3870416#3870416

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3870416


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Design of JCA on JBoss] - Re: Moving Xids from XidFactory to XAManagedConnectionFactor

2005-03-07 Thread spiritualmechanic
Oh. Duh. Yes, of course. An XA resource adapter won't use 
XAManagedConnectionFactory or XAManagedConnection. They'll have their own 
implementations. So doing it on the ConnectionListener makes total sense.

Thanks.

"[EMAIL PROTECTED]" wrote : On the main point, we don't control/write the 
ManagedConnectionFactory or ManagedConnection. These are application classes.
  | 
  | But we do control where these are created and we can wrap them with our
  | own processing, e.g. ConnectionListener wraps ManagedConnection.
  | 
  | What we actually want to wrap is the XAResource associated with the 
ManagedConnection
  | to perform any necessary padding or flag manipulation.
  | 
  | In particular we want to modify the start()/end() used by our 
ConnectionListener
  | and recover() used by the yet to written Recoverable implementation.
  | 
  | This processing then becomes transparent to the transaction manager
  | and is configured/controlled at each resource.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869077#3869077

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869077


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Design of JBossXB] - Re: Returning different type

2005-03-06 Thread spiritualmechanic
Yeah this should be fine. 

addConnectionPool,
addNoTxDataSource etc.
Thanks,

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869001#3869001

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869001


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Design of JBossXB] - Re: Returning different type

2005-03-06 Thread spiritualmechanic
Actually, what I could do instead is just have a 

public class DsDotXMLMetaData {
  | ArrayList connectionPools;
  | ArrayList noTxDataSources;
  | ArrayList localTxDataSources;
  | ArrayList XADataSources;
  | }

That should be doable, I think. Time for me to read more docs.
Thanks,

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868999#3868999

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3868999


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Design of JBossXB] - Returning different type

2005-03-06 Thread spiritualmechanic
Is there a way with XB to return a different type, depending on the XML data? 
As in, instead of just Person, have an interface Person, but concrete classes 
of GreenPerson and PurplePerson?

Actually, looking at it, it seems one could do that based on the Attributes, 
but what if you need to decide later on down the line?

What I'd like to do is use (from admin-console) the  
org\jboss\admin\model\datasource\DataSource and its concrete classes and return 
a ConnectionPool or NoTxDataSource, etc depending on what the XML says. Is 
there a way to decide the type of object after the first line of XML? If you 
have an example let me know, I checked the testsuite examples and didn't see 
anything that jumped out at me.

Thanks,

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868998#3868998

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3868998


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Design of Messaging on JBoss (Messaging/JBoss)] - What to work on

2005-03-05 Thread spiritualmechanic
Hey Ovidiu,

I've looked over some of the docs/issues and they seem to be nice and clear. Is 
there anything in particular you'd like me to investigate? It may take me a 
little while to get up to speed but I don't mind.

I've begun to look into the Point/Multipoint issue, which seems fairly easy, 
but you may want me to look into something else.

Thanks,

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868921#3868921

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3868921


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Design of JBoss Admin Console] - Re: What to work on

2005-03-05 Thread spiritualmechanic
"[EMAIL PROTECTED]" wrote : Hey Steve,
  | 
  | Have you had a chance to attend the messaging presentation? There was a big 
"Help wanted" slide in the end 
  | 
  | http://www.jboss.org/wiki/Wiki.jsp?page=JBossMessaging
  | 
  | Regards,
  | Ovidiu 

I went to another one, but looking back that's one that I should have gone to. 
There were so many good presentations. We don't use messaging currently where I 
work, so it's not something I've really messed with very much. Let me read the 
documentation you guys have on wiki/elsewhere. I'd love to help but I know some 
of the other codebases better, so if you don't mind helping me understand 
things a bit I can help.

Do you have the slides for the messaging presentation posted? I'd like to check 
it out if you don't mind.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868918#3868918

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3868918


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Design of JCA on JBoss] - Moving Xids from XidFactory to XAManagedConnectionFactory

2005-03-04 Thread spiritualmechanic
 The issue, that http://jira.jboss.com/jira/browse/JBAS-1405:

So we can take out the Xid padding from the XidFactory, and pad the Xid right 
before sending it to start and end. But according to Bill Burke in that issue,

"The way this will work will be to add the padding flag to both the 
ManagedConnectionFactory wrapper and to the Connection Manager."

And then ...

"One more comment, ConnectionManager will use this metadata and store it within 
a ConnectionListener. The ConnectionListener will be responsible for doing 
padding on the XAResource if it requires it."

So I understand how to make the metadata, and set it using it an -xa-ds.xml 
file, which would set a flag in the TxConnectionManager instance. The 
TxConnectionManager would then be passed into the XAManagedConnectionFactory.

My question is: Will the ConnectionListener really be the one to pad? The 
XAManagedConnection is the one with the

start(Xid xid, int flags)
end(Xid xid, int flags)

methods. Couldn't the flag get passed on to the XAManagedConnection and allow 
the XAManagedConnection to be responsible? Maybe there's something I'm missing 
but the ConnectionListener doesn't seem to do much. Or maybe it needs to use 
the Xid for recovery.

Thanks,

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868900#3868900

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3868900


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Design of JBoss Admin Console] - What to work on

2005-03-04 Thread spiritualmechanic
Hey Charles,

What stuff should I work on if I do something. The JMS stuff? Or what? I sort 
of want to work on JCA but it looks like your metadata is probably the best way 
to do it.

I've been away for a while but I went to JBoss World 2005 and so I'm psyched to 
do something, even if it's small.

Steve

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868892#3868892

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3868892


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Deployers on JBoss (Deployers/JBoss)] - Re: Classloading Question

2004-07-27 Thread spiritualmechanic
Scott:

Oops, you asked for bug report. I put a patch. Let me know if you need me to move it 
or something.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843373#3843373

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843373


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Deployers on JBoss (Deployers/JBoss)] - Re: Classloading Question

2004-07-27 Thread spiritualmechanic
Scott:

I created a patch on sourceforge with the sample test zipped up if you want to look at 
it.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843371#3843371

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843371


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Deployers on JBoss (Deployers/JBoss)] - Re: Classloading Question

2004-07-21 Thread spiritualmechanic
UnifiedLoaderRepository3 rep = (UnifiedLoaderRepository3) 
server.getClassLoaderRepository();
  | rep.addClassLoader(Thread.currentThread().getContextClassLoader());

This didn't seem to solve it. Still got the same NoClassDefFound for 
TestManagedConnectionFactory.

There's obviously something I still don't understand about class loaders. :) Still 
looking.
Steve 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842888#3842888

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842888


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Deployers on JBoss (Deployers/JBoss)] - Re: Classloading Question

2004-07-21 Thread spiritualmechanic
Is there any way I can add the top classloader to the LoaderRepository? If I do that 
maybe my JUnit constructions will be seen by the MBeanServer.

Something like:

ClassLoader cl = Thread.currentThread().getContextClassLoader();
LoaderRepository.addClassLoader(cl);

Then when I do:

RARDeployment rd = new RARDeployment();

My rd will be able to see the TestManagedConnectionFactory.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842832#3842832

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842832


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Deployers on JBoss (Deployers/JBoss)] - Re: Classloading Question

2004-07-19 Thread spiritualmechanic
What are the classes involved in the Default class loading model? (i.e. extensions of 
ClassLoader). I see NoAnnotationURLClassLoader in the jboss-system project. Are there 
any others?

Maybe if load the 

RARDeployment rd = new RARDeployment();

in the right classloader it will see everything whenever I start the MBean. I'll 
experiment with this a little bit.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842610#3842610

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842610


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Deployers on JBoss (Deployers/JBoss)] - Re: Classloading Question

2004-07-19 Thread spiritualmechanic
Sure thing. Just so you know, I'm not bootstrapping JBoss under the usual process. I'm 
creating the MBeanServer similar to something that Andrew Oliver did for his unit 
testing on jboss-mail.

I'll put it on sourceforge with source, jars, etc.

Thanks,

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842607#3842607

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842607


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Deployers on JBoss (Deployers/JBoss)] - Re: Classloading Question

2004-07-19 Thread spiritualmechanic
I did a small test to see what the classloader is for the MBean for 
jbosstestadapter.rar:


  | ObjectName oldName = new 
ObjectName("jboss.jca:name='jbosstestadapter.rar',service=RARDeployment");
  | 
  | ClassLoader loader = server.getClassLoaderFor(oldName);
  | System.out.println("ClassLoader is: " + loader);

The output I get is:

anonymous wrote : 09:46:56,789 INFO  [STDOUT] ClassLoader is: 
org.jboss.mx.loading.UnifiedClassLoa
  | [EMAIL PROTECTED] 
url=file:/C:/eclipse/workspace/jbossserver/bin/./server/default/tmp
  | /deploy/tmp53524jbosstestadapter.rar ,addedOrder=4}

So it does seem to be loading somewhere, but my other code can't see it when I get 
inside my unit test.

Hmmm. Here's another test:

ClassLoader parent1 = loader.getParent();
  | System.out.println("Parent1 is: " + parent1);
  | while (parent1 != null) {
  | parent1 = parent1.getParent();
  | System.out.println("Parent1 is: " + parent1);   
  | }

I'm wonder. If I remember correctly (I'll do some research on this), a child 
classloader can see its parent's classes, but not vice versa. I bet I'm running into 
that. My JUnit class is the parent, initing the .rar in a child loader, which doesn't 
help my programmatic creation of the ManagedConnectionFactory MBean.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842572#3842572

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842572


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Deployers on JBoss (Deployers/JBoss)] - Classloading Question

2004-07-14 Thread spiritualmechanic
I have a question concerning classloading in JBoss4. I'm trying to construct a 
RARDeployment programmatically, such that it picks up the jbosstestadapter.rar and 
creates the connection factory.

I get the following error:

anonymous wrote : 15:31:40,208 INFO [STDOUT] Registered RARDeployment
  | 15:31:40,218 INFO [STDOUT] Registered RARDeployment ... create
  | 15:31:40,218 ERROR [RARDeployment] Could not find ManagedConnectionFactory class
  | : org.jboss.test.jca.adapter.TestManagedConnectionFactory
  | java.lang.ClassNotFoundException: org.jboss.test.jca.adapter.TestManagedConnecti
  | onFactory
  | at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
  | at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
  | at org.jboss.resource.connectionmanager.RARDeployment.startService(RARDe
  | ployment.java:543)


The code I have is pretty minimal (I create an MBeanServer programmatically) and it 
picks up my jbosstestadapter.rar, just looking through the logs and making sure it was 
there.


  | RARDeployment rd = new RARDeployment(); 
rd.setManagedConnectionFactoryClass("org.jboss.test.jca.adapter.TestManagedConnectionFactory");
  | ObjectName oldName = new 
ObjectName("jboss.jca:name='jbosstestadapter.rar',service=RARDeployment");
  | rd.setOldRarDeployment(oldName);
  | rd.setConnectionDefinition("javax.resource.cci.ConnectionFactory");
  | ObjectName name = new 
ObjectName("jboss.jca:service=ManagedConnectionFactory,name='jbosstestadapter.rar'");
  | server.registerMBean(rd, name);
  | System.out.println("Registered RARDeployment");
  | server.invoke(name, "create", null, null);
  | System.out.println("Registered RARDeployment ... create");
  | 
  | server.invoke(name, "start", null, null);





I don't think this is anything JCA-specific (although I may be wrong). I think there's 
something I need to do with the MBeanServer classloader or something?

Thanks,

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842075#3842075

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842075


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [TODO -- DEVELOPMENT] - Classloading Question

2004-07-13 Thread spiritualmechanic
I have a question concerning classloading in JBoss4. I'm trying to construct a 
RARDeployment programmatically, such that it picks up the jbosstestadapter.rar and 
creates the connection factory. 

I get the following error:

anonymous wrote : 15:31:40,208 INFO  [STDOUT] Registered RARDeployment
  | 15:31:40,218 INFO  [STDOUT] Registered RARDeployment ... create
  | 15:31:40,218 ERROR [RARDeployment] Could not find ManagedConnectionFactory class
  | : org.jboss.test.jca.adapter.TestManagedConnectionFactory
  | java.lang.ClassNotFoundException: org.jboss.test.jca.adapter.TestManagedConnecti
  | onFactory
  | at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
  | at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
  | at org.jboss.resource.connectionmanager.RARDeployment.startService(RARDe
  | ployment.java:543)

The code I have is pretty minimal (I create an MBeanServer programmatically) and it 
picks up my jbosstestadapter.rar, just looking through the logs and making sure it was 
there.


  | 
  | RARDeployment rd = new RARDeployment(); 
rd.setManagedConnectionFactoryClass("org.jboss.test.jca.adapter.TestManagedConnectionFactory");
  | ObjectName oldName = new 
ObjectName("jboss.jca:name='jbosstestadapter.rar',service=RARDeployment");
  | rd.setOldRarDeployment(oldName);
  | rd.setConnectionDefinition("javax.resource.cci.ConnectionFactory");
  | ObjectName name = new 
ObjectName("jboss.jca:service=ManagedConnectionFactory,name='jbosstestadapter.rar'");
  | server.registerMBean(rd, name);
  | System.out.println("Registered RARDeployment");
  | server.invoke(name, "create", null, null);
  | System.out.println("Registered RARDeployment ... create");
  | 
  | server.invoke(name, "start", null, null);
  | 
  | 

I don't think this is anything JCA-specific (although I may be wrong). I think there's 
something I need to do with the MBeanServer classloader or something?

Thanks,

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841922#3841922

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841922


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [TODO -- DEVELOPMENT] - Classloading Question

2004-07-13 Thread spiritualmechanic
I have a question concerning classloading in JBoss4. I'm trying to construct a 
RARDeployment programmatically, such that it picks up the jbosstestadapter.rar and 
creates the connection factory. 

I get the following error:

anonymous wrote : 15:31:40,208 INFO  [STDOUT] Registered RARDeployment
  | 15:31:40,218 INFO  [STDOUT] Registered RARDeployment ... create
  | 15:31:40,218 ERROR [RARDeployment] Could not find ManagedConnectionFactory class
  | : org.jboss.test.jca.adapter.TestManagedConnectionFactory
  | java.lang.ClassNotFoundException: org.jboss.test.jca.adapter.TestManagedConnecti
  | onFactory
  | at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
  | at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
  | at org.jboss.resource.connectionmanager.RARDeployment.startService(RARDe
  | ployment.java:543)

The code I have is pretty minimal (I create an MBeanServer programmatically) and it 
picks up my jbosstestadapter.rar, just looking through the logs and making sure it was 
there.


  | 
  | RARDeployment rd = new RARDeployment(); 
rd.setManagedConnectionFactoryClass("org.jboss.test.jca.adapter.TestManagedConnectionFactory");
  | ObjectName oldName = new 
ObjectName("jboss.jca:name='jbosstestadapter.rar',service=RARDeployment");
  | rd.setOldRarDeployment(oldName);
  | rd.setConnectionDefinition("javax.resource.cci.ConnectionFactory");
  | ObjectName name = new 
ObjectName("jboss.jca:service=ManagedConnectionFactory,name='jbosstestadapter.rar'");
  | server.registerMBean(rd, name);
  | System.out.println("Registered RARDeployment");
  | server.invoke(name, "create", null, null);
  | System.out.println("Registered RARDeployment ... create");
  | 
  | server.invoke(name, "start", null, null);
  | 
  | 

I don't think this is anything JCA-specific (although I may be wrong). I think there's 
something I need to do with the MBeanServer classloader or something?

Thanks,

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841910#3841910

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841910


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JCA on JBoss] - Re: TODO: ConnectionDefinitionDeployer - replace XSLSubDeplo

2004-06-22 Thread spiritualmechanic
Okay, I'm trying to register, create, and start a ManagedConnectionFactory 
(connectionmanager.RARDeployment) programmatically.

I'm getting fairly close, but when it tries to find my test connection factory class, 
it can't find it.

I've added the .rar to deploy, and the MBean is there (I do a 
MBeanServer.isRegistered() on its ObjectName.

2004-06-22 20:24:32,348 ERROR [org.jboss.resource.connectionmanager.RARDeployment] 
Could not find ManagedConnectionFactory class: 
org.jboss.test.jca.adapter.TestManagedConnectionFactory
java.lang.ClassNotFoundException: 
org.jboss.test.jca.adapter.TestManagedConnectionFactory

Do I need to be using a specific classloader somehow, or is there a way for an MBean 
for OldRARDeployment to be registered w/o loading the classes? I thought RARDeployer 
did that, but I'll check.

I'm using a pretty custom configuration, somewhat akin to Andy Oliver's unit test 
stuff, and I just stuff all the necessary MBeans in the top-level/default 
jboss-service.xml. This could be the source of my problem as well.

Thanks,

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839584#3839584

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839584


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JMS on JBoss (JMS/JBoss)] - JBoss/JMS

2004-06-19 Thread spiritualmechanic
I just saw the new(ish) page on the Wiki about JBoss/Mess and I'm interested. Is there 
a design? If not I can help document or something. I'm currently learning about 
JBoss/JCA but I'm also interested to learn about JMS as well. I'm not sure how much 
I'll be able to do, but I'd like to help start the conversation.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839330#3839330

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839330


---
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JCA on JBoss] - Re: TODO: Admin objects

2004-06-18 Thread spiritualmechanic
Would a AdminObjectObjectModelFactory suffice or does it need to be abstracted out so 
that both *-ds.xml and jboss.xml could do it?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839239#3839239

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839239


---
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JCA on JBoss] - Re: TODO: RAR metadata repository

2004-06-17 Thread spiritualmechanic
HashMaps. I'm going to try that first. I just found ResourceAdapterObjectModelFactory 
after looking through SimpleSubDeployerSupport. I don't know why I didn't see this 
earlier.

I'm going to start experimenting with putting the metadata from 
ResourceAdapterObjectModelFactory into some sort of repository, and organizing it in a 
way that makes sense, so it can be reused later. I'm not committing anything, although 
I'm not even sure I have commit access.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839142#3839142

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839142


---
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JCA on JBoss] - Re: TODO: RAR metadata repository

2004-06-15 Thread spiritualmechanic
What kind of store were you thinking of using for the metadata repository. Would 
JBossCache be overkill?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838889#3838889

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838889


---
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JCA on JBoss] - Re: TODO: RAR metadata repository

2004-06-15 Thread spiritualmechanic
Actually, resourceadapter isnt' passed in. It's generated from the factory (passing in 
metadata). The RARDeployer is passed in. Maybe that's not really necessary either. 
Although if you're creating a connection programmatically, I doubt you'd want to send 
it the deployer. (Since we're assuming JCA anyways).



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=383#383

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=383


---
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JCA on JBoss] - Re: TODO: RAR metadata repository

2004-06-15 Thread spiritualmechanic
Adrian,

Do you want to put the ConnectorMetaData in the repository as well? I'm looking at 
RARDeployment and there's really no reason to pass the ResourceAdapter & 
ConnectorMetaData in if you have a handle to the data. How do you want to organize it, 
by MBean name? Or maybe by something else .. JNDI name?


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838887#3838887

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838887


---
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


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

2004-06-14 Thread spiritualmechanic
I believe that JCA1.5 will be backported to 3.x eventually. Most things will end up 
this way. Probably not all.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838654#3838654

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838654


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JCA on JBoss] - Re: TODO: ConnectionDefinitionDeployer - replace XSLSubDeplo

2004-06-03 Thread spiritualmechanic
Is the RARDeployment class one of the main ones I'm going to have to rework? It 
appears so, but it uses a DeploymentInfo passed into its constructor.

Just looking at the dependency tree in the generated jboss-service.xml (from the XSL), 
RARDeployment comes before the Pool and the ConnectionManager in the order of things.

What I'm doing is letting the RARDeployer be set up using XML, then starting 
programmatically from there.

Talk to you later,

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837491#3837491

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3837491


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


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

2004-06-03 Thread spiritualmechanic
Right you are. They aren't mutually exclusive.

Right now I'm just trying to familiarize myself with JCA and JBoss's implementation of 
JCA, so I can think correctly about going about this "simplification."

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837487#3837487

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3837487


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


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

2004-06-03 Thread spiritualmechanic
"It" meaning not that Hibernate uses AOP, but both AOP & Hibernate use bytecode 
manipulation.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837479#3837479

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3837479


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


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

2004-06-03 Thread spiritualmechanic
An XDoclet approach would definitely be a first step. I don't know XDoclet, and AOP 
seems more interesting to me at this point. It seems to work well for Hibernate, and 
the idea was "Why can't we have Hibernate for JCA?"

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837478#3837478

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3837478


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JCA on JBoss] - Re: TODO: ConnectionDefinitionDeployer - replace XSLSubDeplo

2004-06-01 Thread spiritualmechanic
I noticed the RAR deployer is pretty different between 3.2.4RC2 and jboss-head. Which 
one should I be coding/testing against? I can do current now and head later, but you 
may just want to skip to head. Doesn't matter to me.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837158#3837158

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3837158



---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JCA on JBoss] - Re: TODO: ConnectionDefinitionDeployer - replace XSLSubDeplo

2004-06-01 Thread spiritualmechanic
Ah. Okay. I think I get how this needs to be chopped up now. I'm going to work on 
programmatically creating Factory, Pool, and ConnectionManager using the new metadata.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837075#3837075

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3837075



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JCA on JBoss] - Re: TODO: ConnectionDefinitionDeployer - replace XSLSubDeplo

2004-05-31 Thread spiritualmechanic
You mentioned:

"We still need the connection properties (passed the jdbc driver) 
or xa datasource properties (to configure the xads)"

Do you want to call:

ConnectionFactoryPropertiesMetaData.setName("TrackConnectionByTx");
ConnectionFactoryPropertiesMetaData.setValue("true");
ConnectionFactoryPropertiesMetaData.setType("java.lang.String");

Or do you want to call:

ConnectionFactoryMetaData.setTrackConnectionByTx(true);

Or

TxMetaData txmd = new TxMetaData();
txmd.setTrackConnectionByTx(true);
ConnectionFactoryMetaData.setTxMetaData(txmd);

The first is the most generic, which I think would be adequate.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837006#3837006

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3837006



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JCA on JBoss] - Re: TODO: ConnectionDefinitionDeployer - replace XSLSubDeplo

2004-05-30 Thread spiritualmechanic
- 
  |   true 
  |   false 
  |   
  | - 
  |   false 
  |   false 
  |   

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836918#3836918

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836918



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JCA on JBoss] - Re: TODO: ConnectionDefinitionDeployer - replace XSLSubDeplo

2004-05-30 Thread spiritualmechanic
Do we want to add some info for the common transaction params?

I mean, this is common between the XA/local transactional connectors, so we might 
break it out, or we can just treat it as another property and not give it special 
typing.

I think the current ideas are adequate, although maybe we want to add more typing 
info. What do you think?

- 
  true 
  false 
  
- 
  false 
  false 
  


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836915#3836915

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836915



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JCA on JBoss] - Re: TODO: RAR metadata repository

2004-05-28 Thread spiritualmechanic
"See TransactionSupportMetaData. 

Where it makes sense, we should "share" metadata with the rar deployment"

Okay. That makes sense. For instance,

NoTransaction

If the ConnectionFactoryDeployer does not have the transaction support defined, it 
would grab the property from the RAR as a default.

Obviously, we could implement it in a (somewhat) obvious way,where we define all the 
"required" properties, and if a particular one is not set, then grab it from the 
default.

But that may be more brittle than what you're thinking about, using the nomenclature 
of "MetaData Repository." That sounds pretty generic :) Which is fine.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836772#3836772

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836772



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JCA on JBoss] - Re: TODO: ConnectionDefinitionDeployer - replace XSLSubDeplo

2004-05-28 Thread spiritualmechanic
I'll work on that too, then.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836770#3836770

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836770



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JCA on JBoss] - Re: TODO: ConnectionDefinitionDeployer - replace XSLSubDeplo

2004-05-28 Thread spiritualmechanic
Okay. So does the ConnectionFactoryMetaData include a Local or an XA metadata object, 
depending on how it's set up?

I'm just trying to see how those fit into the genericity of CFMD thus far.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836765#3836765

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836765



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JCA on JBoss] - Re: TODO: ConnectionDefinitionDeployer - replace XSLSubDeplo

2004-05-28 Thread spiritualmechanic
public ConnectionFactoryPropertiesMetaData
   private String name;
   private String value;
   private String type;

public ConnectionFactoryMetaData
   private Set properties; // of type above

public DataSourceMetaData extends ConnectionFactoryMetaData
   public void setUserName(String)
   public String getUserName()
   public void setNewConnectionSQL(String)
   public String getNewConnectionSQL()
   etc.

This would make ConnectionFactoryMetaData very generic (which is fine) and 
DataSourceMetaData would have more type information on the properties.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836762#3836762

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836762



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JCA on JBoss] - Re: TODO: ConnectionDefinitionDeployer - replace XSLSubDeplo

2004-05-28 Thread spiritualmechanic
Actually, I may have put too much in the above one, if we have a 
ConnectionPropertyMetaData (getConnection properties for local jdbc)

Most of those look like local JDBC params. Maybe I'm wrong.

Yeah. ConnectionFactoryPropertiesMetaData should have:

1. userName
2. password
3. configProperties

There seem to be a lot of common properties between local and XA. From the XSL:

"template for the ManagedConnectionFactory properties shared between our local and xa 
wrappers"

private String userName;
private String password;
private String transactionIsolation;
private String newConnectionSQL;
private String checkValidConnectionSQL;
private String validConnectionCheckerClassName;
private String exceptionSorterClassName;
private boolean trackStatements;
private int preparedStatementCacheSize;
private boolean txQueryTimeout;


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836755#3836755

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836755



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JCA on JBoss] - Re: TODO: ConnectionDefinitionDeployer - replace XSLSubDeplo

2004-05-28 Thread spiritualmechanic
Okay, here's my first attempt at ConnectionFactoryProperties. I think I'm grabbing all 
the right ones. I'm not experienced in XSL so I'm deciphering that as well.

public class ConnectionFactoryPropertiesMetaData
  | extends ConfigPropertyMetaDataContainer {
  | // Constants -
  | 
  | // Attributes 
  | 
  | private String userName;
  | private String password;
  | private String transactionIsolation;
  | private String newConnectionSQL;
  | private String checkValidConnectionSQL;
  | private String validConnectionCheckerClassName;
  | private String exceptionSorterClassName;
  | private boolean trackStatements;
  | private int preparedStatementCacheSize;
  | private boolean txQueryTimeout;
  | 
  | private HashSet configProperties;

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836752#3836752

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836752



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JCA on JBoss] - Re: TODO: ConnectionDefinitionDeployer - replace XSLSubDeplo

2004-05-28 Thread spiritualmechanic
Ok. Simple. Can do.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836728#3836728

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836728



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JCA on JBoss] - Re: TODO: ConnectionDefinitionDeployer - replace XSLSubDeplo

2004-05-28 Thread spiritualmechanic
Also, ConnectionFactoryDeployerMetaData, which will be the main one, passed into the 
constructor of ConnectionFactoryDeployment, or into an invoke to create the necessary 
MBeans.

ConnectionFactoryDeployerMetaData will contain the necessary 
NoTx/TxConnectionFactoryMetaData, Pool, etc. MetaData.

So it's the one that will contain all the specific stuff.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836697#3836697

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836697



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JCA on JBoss] - Re: TODO: ConnectionDefinitionDeployer - replace XSLSubDeplo

2004-05-28 Thread spiritualmechanic
MetaData classes, this is just the ConnectionFactory stuff... DataSource will be 
similar but specialized:

* AbstractConnectionFactoryMetaData
* NoTxConnectionFactoryMetaData extends AbstractConnectionFactoryMetaData
* TxConnectionFactoryMetaData extends AbstractConnectionFactoryMetaData
* ManagedConnectionPoolMetaData
* ManagedConnectionFactoryMetaData

It looks like the XSL uses "connection factory" but the java uses ConnectionManager. 
So depending on what  we want to use (probably the java) we can change the naming.

Let me know what you prefer.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836691#3836691

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836691



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JCA on JBoss] - Re: TODO: ConnectionDefinitionDeployer - replace XSLSubDeplo

2004-05-28 Thread spiritualmechanic
"Talking to yourself in a forum is a scary sign."

If I don't, I forget which personalities knew what about which parts of code.

If I'm getting a little too verbose for anyone's liking I can just start putting it on 
my blog. I really don't mind and don't want to pollute the forums :)


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836645#3836645

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836645



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JCA on JBoss] - Re: TODO: ConnectionDefinitionDeployer - replace XSLSubDeplo

2004-05-28 Thread spiritualmechanic
"The DeploymentInfo is ignorable. I only use to gain access to the deployer,
metadata and url. It can easily be factored out into the components and removed
from the deployment layer."

Yeah that makes sense. There's no need for JCA to know  about the main deployments and 
how it does things.

I'll look at those folders. It sounds like we want to have a

ConnectionFactoryDeployment (similar to RARDeployment)
ConnectionFactoryDeployer (similar to RARDeployer)
DataSourceDeployment extends ConnectionFactoryDeployment with some magic pixie dust to 
hide the details.

Thanks,

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836644#3836644

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836644



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JCA on JBoss] - Re: TODO: ConnectionDefinitionDeployer - replace XSLSubDeplo

2004-05-27 Thread spiritualmechanic
I just looked at the CVS tree and there's stuff there already for metadata and 
deployment. Is there anything specific I need to look at in there, do you think? I 
don't want to duplicate whatever has been done.

Is that stuff just 1.5, or both 1.5 and 1.0? Will this TODO help 1.0 and 1.5, or just 
1.0?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836572#3836572

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836572



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JCA on JBoss] - Re: TODO: ConnectionDefinitionDeployer - replace XSLSubDeplo

2004-05-27 Thread spiritualmechanic
Okay, I see it now. I think I'm getting pretty close to start coding so XSLSubDeployer 
can be put to sleep. The major arc of the changes is making sense. I'm sure there will 
be some details I run into.

Assuming someone wants to create a ConnectionFactory programmatically, can they call 
ConnectionFactoryDeployer.create()? Or will that totally mess up the JMX lifecycle? Do 
we only need to use init when we add the XML piece (when it's called by MainDeployer)?

Still thinking.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836570#3836570

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836570



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JCA on JBoss] - Re: TODO: ConnectionDefinitionDeployer - replace XSLSubDeplo

2004-05-27 Thread spiritualmechanic
How does the XSLSubDeployer tell the MainDeployer that it's a necessary SubDeployer? I 
see the addDeployer(SubDeployer) but I don't see where it's called to add the XSL.

I'm just tracing through the code of XSLSubDeployer starting with its createService() 
method, but I don't see how its init(DeploymentInfo) method is called. Does something 
else register XSLSubDeployer

OH. There it is. Parent class SubDeployerSupport has the mainDeployer. Duh.

RARDeployer extends SubDeployerSupport, so instead of using XSLSubDeployer we want 
ConnectionFactoryDeployer to extend SubDeployerSupport as well.

Who creates a DeploymentInfo object? Is it something that is created when a file is 
found under the deploy directory?

I'll keep looking :) Maybe I'm a masochist, but I'm actually enjoying this.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836567#3836567

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836567



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Mail Services] - Re: javamail Session, Store, Folder, JCA

2004-05-27 Thread spiritualmechanic
Which operations do you think you'd want on the connection interface? This is 
definitely interesting, and a more interesting line of thinking than just 
pooling/securing a Session.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836466#3836466

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836466



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Mail Services] - Re: javamail Session, Store, Folder, JCA

2004-05-27 Thread spiritualmechanic
Okay, let me read what Mike said and I'll get back to you. I've been looking into the 
JCA code itself a bunch, so I haven't spent much time on mail.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836461#3836461

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836461



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JCA on JBoss] - Re: TODO: ConnectionDefinitionDeployer - replace XSLSubDeplo

2004-05-27 Thread spiritualmechanic
Oh! Okay. I got confused. I thought you were renaming RARDeployer and creating 
ConnectionFactoryDeployer.

My mistake, thanks for clearing it up.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836445#3836445

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836445



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JCA on JBoss] - Re: TODO: ConnectionDefinitionDeployer - replace XSLSubDeplo

2004-05-27 Thread spiritualmechanic
"DataSources are just ConnectionFactories with some hard-wiring.
See the xsl - if you can read xsl :-)"

Yeah, I've looked at it before when I was doing my own adapter for LDAP. Basically it 
spits out a jboss-service.xml file, although the file isn't saved to disk, just used 
in memory to configure the settings.

Okay, looking at the jboss-service.xml in jboss-jca.sar, I see RAR and XSLSubDeployer. 
So in place of those we'd have

1. ConnectionDefinitionDeployment
2. ConnectionFactoryDeployer

Looking at the XSL, I see that for my ldap adapter, I did in fact use the more 
long-winded ConnectionFactory method.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836423#3836423

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836423



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JCA on JBoss] - Re: TODO: ConnectionDefinitionDeployer - replace XSLSubDeplo

2004-05-26 Thread spiritualmechanic
Right. That makes sense. It doesn't matter what the XML looks like as long as the 
metadata accurately describes the configuration options. XML is just a store of that.

Is there a preferred JMX operation:

"There should be an option to create 
ConnectionFactories/DataSources by
passing the meta data object on a JMX operation."

Does the MBean already exist or will it be a completely new MBean? I'll check out what 
MBeans exist for JCA currently.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836376#3836376

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836376



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JCA on JBoss] - Re: TODO: ConnectionDefinitionDeployer - replace XSLSubDeplo

2004-05-26 Thread spiritualmechanic
Would the meta data name be something like "ConnectionDefinitionMetaData"? Or actually 
that'd be for RARDeployer. What would the name be to replace XSLSubDeployer? 
ConnectionInstanceDeployment?

Minimal methods of the metadata would be:

importXml(Element)
setClassLoader
getClassLoader

jndiName (get and set)
connectionUrl
driver-class
securityDomain
minPoolSize
maxPoolSize
adapterDisplayName

Actually, since the root is "connection-factories" you could have more than one 
(meaning more than one MBean, one for each connection factory listed). So you either 
have a list of ConnectionInstanceMetaData or ConnectionInstanceMetaData has to allow 
for multiple definitions.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836372#3836372

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836372



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JCA on JBoss] - Testing JCA

2004-05-25 Thread spiritualmechanic
Okay, I got a barebones JBoss running inside a JUnit test and I set up a 
NoTxConnectionManager programmatically, and am requesting a connection from the 
connectionfactory.

I noticed the tests you mentioned in the CVS tree, and maybe someone has already done 
this, but I'd like to create a test harness to do some testing of a JCA adapter, sort 
of "in-container", yet still black-box. That way, I could test my adapter and make 
sure all the connection counts are right, etc.

Would this be of help to you? I know you guys already have a testing framework and I 
don't want to step on that, but I am sort of interested it trying to treat JBoss as a 
"lightweight container." We can't let Spring, etc. get all the good press can we? ;)

Anyways, I'm sort of rambling. Take care,
Steve

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836130#3836130

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836130



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Mail Services] - Re: javamail Session, Store, Folder, JCA

2004-05-24 Thread spiritualmechanic
Okay, now I'm planning on using org.jboss.mail.smtp.sender classes. I'll probably have 
the JCA implement SMTPSenderBean.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836056#3836056

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836056


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Mail Services] - Re: javamail Session, Store, Folder, JCA

2004-05-24 Thread spiritualmechanic
Okay so you want to use the mailing-out features of Mail Services instead. Which class 
do you want me to wrap/use? One of the SMTP ones?

Sometimes I think the actual coding in software development is the easy part. 
Communication is the hard part. :)

Not me: "Do you understand?"
Me: "Of course I do!"

... one month later ...

Not me: "No you don't, sucka."
Me: "Doh!"

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836051#3836051

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836051


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Mail Services] - Re: javamail Session, Store, Folder, JCA

2004-05-23 Thread spiritualmechanic
Unless I misunderstood (and I may) I thought a pooled, secure, JavaMail session was 
wanted. If there are other pieces of Mail Services we want to JCA-ify, that can be 
done as well.

I thought the JCA was just the first piece, and there'd be a piece on top, a subsystem 
using the Mail Services to handle relays, etc.

The reason Session.getInstance() is going to be used is because you pass in the 
user/password to get a Mail Session bound to the mail server with those credentials. 
Maybe there's another way I've missed?

Not trying to give you a heart attack, honest! :)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836008#3836008

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836008


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Mail Services] - Re: bounce ClassCastException

2004-05-23 Thread spiritualmechanic
What happens when you do a 

rcpts.getClass().getName()?

This should tell you what class is actually it's expecting. You may already know this 
sort of thing, not trying to be insulting.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835995#3835995

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835995


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Mail Services] - Re: javamail Session, Store, Folder, JCA

2004-05-23 Thread spiritualmechanic
Hey, the status is very alpha, untested. The code is uploaded, but with no unit tests. 
I'm still working on the unit tests and figuring out all I need in order to bootstrap 
the server with JNDI/JCA and load it up correctly.

I didn't mean for things to take so long, but things have been crazy at work and this 
week is going to be no different.

If you look at the source of MailService (in varia), you see:

  Session session = Session.getInstance(props, a);
  bind(session);

Which I guess shows that all they do is act like a client. Pop3 attribute is available 
in the MBean, which implies that one in theory, could retrieve email. I know very 
little about that part of the JavaMail spec.

Right now, the way things are planned, the JCA adapter will do the same thing 
MailService does.

Steve

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835994#3835994

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835994


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JCA on JBoss] - Re: TODO: Improve management

2004-05-23 Thread spiritualmechanic
Adrian,

I'm going to probably need to plug into the timer stuff to do monitoring of SQL 
executions. Should I look at the timer stuff first?

Is there timer stuff in jbosscx project? I searched but I don't see createTimer, so 
maybe it's in common. I'll do some more searching.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835959#3835959

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835959


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: java.lang.NoClassDefFoundError

2004-05-22 Thread spiritualmechanic
Actually, I understand what you're asking now. Let me see if I can reproduce it. Duh.

Steve

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835947#3835947

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835947


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: java.lang.NoClassDefFoundError

2004-05-22 Thread spiritualmechanic
Okay I'll use the other way of loading it. I figured it out :) Thanks! I know you do 
this so much you get ahead of yourself.

Take care,

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835946#3835946

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835946


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


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

2004-05-22 Thread spiritualmechanic
I added a patch for the proof-of-concept of AOP-ing a client object to retrieve it 
from a pool, without the user of the client knowing it's coming from a pool.

Thanks!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835944#3835944

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835944


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: java.lang.NoClassDefFoundError

2004-05-22 Thread spiritualmechanic
Ah! Nevermind! It works. I must have forgotten to restart the JBoss server or there 
was some caching thing going on, because it works now.

Sweet. Now on to testing :D
Steve

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835938#3835938

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835938


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - java.lang.NoClassDefFoundError

2004-05-22 Thread spiritualmechanic
I'm not sure if this is an AOP issue or just a generic classloading issue, but I think 
I have my MBeans set up correctly.

Here's the error:

  | java.lang.NoClassDefFoundError
  | at java.lang.Class.forName0(Native Method)
  | at java.lang.Class.forName(Class.java:141)
  | at org.jboss.resource.pool.JCPool.start(JCPool.java:65)

Which points to my MBean code:

public void start() throws Exception {
  | for (int i = 0; i < size; i++) {
  | v.add(Class.forName(poolType));
  | System.out.println("Added " + poolType);
  | }
  | used = new boolean[v.size()];
  | }

And here's my jboss-service.xml:


  |   
  | 
  |   
  |  org.jboss.resource.pool.JavaClient
  |  4
  |   
  |   service=AspectDeployer
  | 

Here's where the AOP comes in. I'm trying to intercept the construction of an object 
and return a JavaClient from my pooling MBean:

public class JavaClient {
  | 
  | /**
  |  * 
  |  */
  | public JavaClient() {
  | super();
  | }
  | 
  | public void close() {
  | 
  | }
  | 
  | }

So here's my two Interceptors, first ConstructorInterceptor:

public Object invoke(Invocation invocation) throws Throwable {
  | try {
  | 
  | // Get JMX 
  | MBeanServer server = MBeanServerLocator.locateJBoss();
  | ObjectName name = new 
ObjectName("jboss.jca:service=GenericPool");
  | String s = (String) server.getAttribute(name, "instance");
  | return s;
  | } finally {
  | System.out.println(">>> Leaving MethodInterceptor");
  | }
  | }

And CloseInterceptor,

  | public Object invoke(Invocation invocation) throws Throwable {
  | try {
  | Object o = invocation.targetObject;
  | Object[] os = {o};
  | 
  | // Get JMX 
  | MBeanServer server = MBeanServerLocator.locateJBoss();
  | ObjectName name = new 
ObjectName("jboss.jca:service=GenericPool");
  | String s = (String) server.invoke(name, "returnInstance", os, 
new String[] {Object.class.getName()});
  | return s;
  | } finally {
  | System.out.println(">>> Leaving CloseInterceptor");
  | }
  | }

And finally my jboss-aop.xml:


  | 
  | 
  |
  |
  |
  | 
  |
  |
  |
  | 
  | 
  | 

The thing is, the 

points to the jar that has my already-AOPC'ed classes.

Is there something obvious I'm missing? Am I getting the deploy order wrong? I added 
the service=AspectDeployer to see if that was missing, but thinking about it, it 
shouldn't really matter if the deployer hasn't started if the classes are already 
pre-compiled.

Thanks for any ideas. I'm still using JB4DR2 and AOP beta1. Congrats on Beta2 as well. 
Very cool stuff!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835925#3835925

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835925


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: AOPC question

2004-05-19 Thread spiritualmechanic
Okay, yeah I saw .. oh duh. I'm looking at the wrong classes. Looking at the 
decompiled POJO, I see it now.

I was just curious because I tried just putting my .aop file in the deploy dir of 
JB4DR2 and it didn't seem to pick it up, so I thought I'd try precompiling, which was 
right, but I was looking at the wrong decompiled object.

Steve

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835554#3835554

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835554


---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Mail Services] - Re: M1 issue - database gets corrupted.

2004-05-16 Thread spiritualmechanic
What is your basic strategy for "rationalize our logging and error handling a bit"? 
That's something easy that I can do and would save you guys some time.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835122#3835122

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835122


---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Mail Services] - Re: Last minute major revisions to M1 (uh oh)

2004-05-15 Thread spiritualmechanic
Sounds good :)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835084#3835084

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835084


---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - AOPC question

2004-05-14 Thread spiritualmechanic
In the Wiki it says that we can precompile our aspects and then run them inside the 
JBoss server. I've adapted the build.xml from one of the examples, and aopc runs on my 
Driver class, but I can't really tell if it's being modified or not. Should it be 
modified, or is it just an in-memory change?

My aspect seems to work though, it gets into the intercept when I run my small test. I 
just am using JMX so I need to put it into the server. But it works perfectly right up 
to the point where it tries to hit JMX ;)

Thanks!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835044#3835044

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835044


---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Mail Services] - Re: Kabir: Thanks and bigfoot sucks

2004-05-12 Thread spiritualmechanic
Can I have a mail account, too? It'd give me an excuse to use popmail. All I use right 
now is web-based mail, and Notes (for work).

I want to see the new Mozilla client, although I can start testing out others as well.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834696#3834696

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3834696


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Mail Services] - Re: M1 final release.....??? (Please vote)

2004-05-12 Thread spiritualmechanic
Very cool. Congratulations. Sorry I've been away, I haven't meant to be. But I got an 
XBox for my birthday and I've been learning Hibernate at work. I've got my head back 
up above water now :D

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834695#3834695

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3834695


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


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

2004-05-05 Thread spiritualmechanic
Looking at the Observable example on the wiki, I see


   
In the jboss-aop.xml.

Is "prepare" something that's in the 1.0Beta? I'm looking for it, but I'm thinking 
maybe this stuff is in HEAD.

Very cool stuff. I really enjoyed Marc's statement saying that the GOF behavioral 
patterns fit very well into an AOP implementation. That's some meaty stuff you don't 
see very often.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833845#3833845

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3833845


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


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

2004-04-28 Thread spiritualmechanic
Yeah. I haven't been able to do much on it lately, but it looks like I just need to 
register the RARDeployer with the MainDeployer, and then scoop up my jcamail-ds.xml 
into the RARDeployment.

Steve

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832871#3832871

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832871


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Re: Confused about JSR-77 compliant

2004-04-24 Thread spiritualmechanic
JBoss had one of the first JMX implementations ever. The JBoss implementation fills in 
some needed holes that weren't filled in (at least) the first JMX spec. This is 
probably what you are seeing when you see "Service=whatever".

I doubt you can drop an MBean from WebLogic into JBoss and vice versa and get it to 
work immediately. From what I've gathered, WLS uses some sort of MBeanHome apparatus, 
while in JBoss everything goes through an MBeanServer.

In addition, JBoss only has one MBeanServer.

I'm honestly not sure how compatible the various J2EE servers are with JMX. From what 
I've gathered there are enough holes in the spec that large variations cropped up in 
the actual implementation.

If you abstract things out enough, though, you should be able to reuse your MBeans (as 
much as is possible) since they implement the same javax.manaagement interfaces.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832257#3832257

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832257


---
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


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

2004-04-24 Thread spiritualmechanic
Okay, I have the JNDI service up and running, so I'm working on init/binding the JCA 
service. If I can I'd like to document all the necessary steps and explain what's 
going on, once I get everything up and running.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832251#3832251

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832251


---
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


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

2004-04-24 Thread spiritualmechanic
I'm not really working on the relay server right now. I'm just trying to test the JCA 
Mail stuff in-container. Perhaps I'm making things more difficult than they really 
are. I'm just trying to:

1. Start up JBoss
2. Init the JNDI service.
3. Init the JCA service.
4. Bind JCAMail to JNDI.
5. Test JCAMail.

Tha'ts really it. I think I'm getting fairly close. Things really are making more 
sense. I'm just kind of slow sometimes :D

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832245#3832245

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832245


---
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Mail Services] - Re: Hibernate Mailbox

2004-04-23 Thread spiritualmechanic
I think right now all you'll need is one hibernate bean. Where hibernate really shines 
is the relationships. I'm just amazed.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832110#3832110

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832110


---
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JCA on JBoss] - Re: TODO: Debugging features

2004-04-22 Thread spiritualmechanic
begin

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832023#3832023

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832023


---
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JCA on JBoss] - Re: TODO: Debugging features

2004-04-22 Thread spiritualmechanic
In addition to this, I'd also like to construct a list of necessary unit tests that a 
RAR developer should execute that would double-check all the connection counts, 
connection creates, connection closes, etc.

I can add XA and Message unit tests as well, once I being to understand everything 
under the hood.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832022#3832022

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832022


---
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Mail Services] - Re: Hibernate Mailbox

2004-04-22 Thread spiritualmechanic
+1

I'm just learning Hibernate myself at work, and it ROCKS.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832007#3832007

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832007


---
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


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

2004-04-22 Thread spiritualmechanic
Ah ha! I got a super-basic server up and running. I took out all the JBossMQ stuff.

I think (and I may be wrong) that I want to try to get a minimal relay server going. 
This should require:

1. Mail Service (JavaMail client stuff)
2. The JCA Mail
3. Some of the mail stuff.
4. I'm not sure if we'd want mail storage or not for a basic mail relay server. If so, 
include all the MQ stuff. If not, maybe we can get away without it. Although we may 
still be using at least one MessageBean.





View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831929#3831929

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831929


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


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

2004-04-22 Thread spiritualmechanic
Yeah it's probably not *real* hard, but there definitely is a learning curve between 
trusting run.bat and bootstrapping your own. But this is stuff I've always wanted to 
learn.

If Andy thinks uploading the path is okay, that'd be fine with me. I don't want anyone 
to make a special excuse for me on the "no patches without unit tests" rule. I don't 
mind learning the hard way, that way I won't forget as easy.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831923#3831923

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831923


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


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

2004-04-21 Thread spiritualmechanic
I'm trying to test my JCA adapter, and for the life of me I can't get "java:/MailDS" 
to be retrieved. Is that even exposed on the listener? I'm beginning to think it's not.

I can get "jmx/rmi/RMIAdapter", though.

So anyways, I'm starting to set up my unit tests. It looks like in the current tests a 
small JMX server is created, then the Mail MBeans are attached, and then you start 
testing.

Should I try binding my JCA adapter programmatically (ctx.bind) to do testing? Or 
should I just use some cactus tests to test in-container?


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831837#3831837

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831837


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Mail Services] - Re: MailServicesPatches Wiki Fubar

2004-04-20 Thread spiritualmechanic
Ah ha! Click the number. Now I know too.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831600#3831600

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831600


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Mail Services] - JCA Mail initial patch

2004-04-20 Thread spiritualmechanic
Okay, I still have a good bit of testing to do on this, so please, in no way consider 
it useful yet. I even need to re-format the code to JBG's likings. If you don't put it 
in the tree yet, that's fine, I just wanted to give someone (if they cared) an idea of 
what I'm doing.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831598#3831598

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831598


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Mail Services] - Re: MailServicesPatches Wiki Fubar

2004-04-20 Thread spiritualmechanic
Weird. I don't see the restore link. Maybe you have different admin rights? I see the 
diffs -/+, but I don't see a restore link.

Anyways, thanks.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831588#3831588

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831588


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Mail Services] - Re: MailServicesPatches Wiki Fubar

2004-04-20 Thread spiritualmechanic
Hah. Thanks. Yeah I saw the "more info" and I saw the full history, but I didn't see 
where to restore it. Maybe I just wasn't looking correctly.

Thanks, though!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831585#3831585

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831585


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Mail Services] - Re: MailServicesPatches Wiki Fubar

2004-04-20 Thread spiritualmechanic
Can someone maybe try deleting the MailServicesPatches Wiki page to delete the 
attached file I created? Then recreate MailServicesPatches with the above stuff?

It looks like there is a different want to add patches, where the sample patches 
weren't tied to the bottom of the page itself, but just linked.

I just don't want to screw something up more, but I'd like to also get the content 
back the way it was. I don't really feel comfortable deleting stuff that's not really 
mine after I already screwed up.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831577#3831577

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831577


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Mail Services] - Re: MailServicesPatches Wiki Fubar

2004-04-19 Thread spiritualmechanic
Now after taking the content that was before, the preview messes up. Very strange 
behavior. Is there a special character in here that Wiki is barfing on? It may not 
like the diff -u >

Old content below, according to Wiki version:

Getting R/W access to the JBoss repository requires demonstration of basic CVS 
competency and an overall commitment to the project as well as demonstration of 
non-evil intentions. Revocation happens after 6 months of non-activity or 
demonstration of evil intentions. Obvisously you have to start somewhere. Where you 
start is as a patch submitter. After your first submission to Mail Services, you are 
considered "one of us". Meaning when someone says "when you get Exchange 
functionality" the "you" includes you! The few, the proud, the Mail Services for JBoss 
developers.

!! How to submit a patch

Patching is easy. [Grab MailServices from CVS|MailServicesGetTheSource]. Submit any 
new files that you have created in a zip file preserving directories relative to the 
jboss-mail directory. Create a patch for the rest with "cvs diff -u > mypatch". Upload 
both here as an atachment and description of what it will do. Post on the [Mail 
Services Forum|http://jboss.org/index.html?module=bb&op=viewforum&f=186] that you've 
made the patch, who you are and why it should be applied.

Patches with junit tests are preferred. In fact we may not commit patches that do not 
include junit tests/modifications until someone has time to write the test. Given that 
sometimes the unit test takes more effort to write then the feature with this type of 
software, unit test patches are MOST appreciated and get you WAY more brownie points 
and karma with us! (but remember we love you anyhow)

(To attach see the bottom of the page. To understand how the attachment links work, 
see the sample.)

!! How to apply a patch

Grab the patch from below. Grab a copy of the head. cd to the jboss-mail directory. 
For zips, unzip mypatch.zip and the files SHOULD be relative to here. For patches do 
"patch -p0 -i mypatch". This SHOULD work. You may have problems with illformed patches 
and CR/LF translation. If you don't know what to do in that event you must ask 
yourself: "If that person wasn't able to follow some simple instructions for creating 
the patch, do I trust their code enough to run it?" and if you find that you do or are 
willing to risk it you must ask: "If I don't know what to do then should I trust that 
I have enough experience and knowledge to make such a determination". Then go read 
[this study|http://www.zenspider.com/RWD/Thoughts/Inept.html].

!! Patches

Here are the patches:

* Sample Patch [zipfile|MailServicesPatches/sample.zip] 
[patch.txt|MailServicesPatches/sample.patch]

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831492#3831492

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831492


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Mail Services] - MailServicesPatches Wiki Fubar

2004-04-19 Thread spiritualmechanic
Well, obviously I need to read more howto on Wiki. I'm not sure what I did, but I 
royally fucked up the MailServicesPatches page.

I attached a .zip, then I tried to follow the syntax for linking it correctly, and 
something went weird. Is there a way to undo it?

Some days. I shoulda just waited til tomorrow and drowned my sorrows in reality TV 
tonight.

Steve

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831491#3831491

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831491


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


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

2004-04-18 Thread spiritualmechanic
One question:

Do you just use JUnit tests, or do you guys ever use Cactus? The reason I ask is 
because JCA needs the container (duh, you know this.)

The *real* reason I ask is because I see in the Mail tests, you have some sort of 
TestServer. Is this a common way of doing things, or is this something you (Andy) 
started doing?

Obviously, I can do whatever you prefer, so I'll plan to start figuring out what 
exactly I need to set up. I think kab is still figuring out some jndi.properties 
stuff, so I'll probably need to use that.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831310#3831310

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831310


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


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

2004-04-18 Thread spiritualmechanic
I'm testing now, actually. I'm going somewhat methodically through the JBossCX code so 
that I can understand it the way I really need to.

You want GUI tests, or gooey tests? :D I'm not sure how long this will take, hopefully 
not too long. I need to set up a proper JUnit environment for myself as well. That 
shouldn't take too long.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831309#3831309

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831309


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


  1   2   >