[JBoss-user] [Management, JMX/JBoss] - Re: extending class that extends ServiceMBeanSupport

2005-08-24 Thread JimDwyer
On second thought

Dimitris - you are correct.  By having TestService implement a TestServiceMBean 
interface the whole things falls into place very nicely.

Thanks again.

Jim

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: extending class that extends ServiceMBeanSupport

2005-08-22 Thread JimDwyer
Thanks Guys,

I got it working.   It was mostly a deployment issue.

Jim

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - extending class that extends ServiceMBeanSupport

2005-08-19 Thread JimDwyer
Folks,

Here is what I would like to do:

public interface TestMBean extends org.jboss.system.ServiceMBean{}

public abstract class AbstractTestService 
  extends org.jboss.system.ServiceMBeanSupport
  implements TestMBean{

 public abstract boolean testMethod();
}

public  class TestService extends AbstractTestService{

 public boolean testMethod(){}
}

This arrangment will not run.  It throws a NotCompliantMBeanException.  Class 
does not expose a management interface: java.lang.Object

Any ideas as to why?

Jim

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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration Deployment] - Re: Jboss-4.0.2 throws exception with MS SQL server

2005-08-11 Thread JimDwyer
I am getting the same error but the above fixes don't work.

The original deploy/jms has hsqldb-jdbc2-service.xml and 
hsqldb-jdbc-state-service.xml files.   Do I need to change both to mysql files? 
 It seems that I do.

My mysql-jdbc files deploy on a Microsoft box but not on Fedora.   Any thoughts 
as too why?



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

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


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: MBean with plugins

2005-06-16 Thread JimDwyer
Sounds like I need a MagicBean!

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: attributes failing for Model MBean in JBoss 3.2.7

2005-06-15 Thread JimDwyer
should the name be capitalized?  
as in: name=NumPersistentWorkflowsInProgress

also you have a typo in numPersistentWorflowsInProcess but that may not be 
relevant to your code.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - MBean with plugins

2005-06-15 Thread JimDwyer
I need to create and MBean with plugins.  I have looked at passing the plugin  
info into the MBean using the attributes in the -service.xml and that is very 
clumsy and rigid as there may be 1 to n plugins.   I looked at the xmbean-dd 
xmbean-code and they don't seem to fit my needs.What is the best way to add 
plugins to an MBean in jboss?  Is modifying the jboss-service.xml and related 
.dtd the way to go?  Any suggestions would be helpful.

Thanks

Jim

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: MBean with plugins

2005-06-15 Thread JimDwyer
Cool.  I will check it out.  Editing the DTD was a last resort and not 
something I really wanted to do.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: MBean with plugins

2005-06-15 Thread JimDwyer
dimitris,

The plugins are not only classnames but also the class arguments.  Basically I 
want to be able to instantiate classes using a specific constructor.  All 
passed in through the -service.xml file.


Jim

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - JMX start()

2005-06-14 Thread JimDwyer
I have a need to start a MBean upon deployment.  i.e. have the start() method 
called.  My bean currently works if I hit the start() method from the 
jmx-console.  What is the easiest way to accomplish this? 

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: JMX start()

2005-06-14 Thread JimDwyer
Also.  Is creating an MBean the best way to create a long lived process (read 
not service) that runs in jboss?  I have a need for long lived processes that 
get kicked of by hot deploying an xml file to the deploy directory, or just 
having the xml there at deployment.  Each process will be different, use 
different plugins and such but are all created from the same MBean.

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: JMX start()

2005-06-14 Thread JimDwyer
OK.  I got it working.  I made a boo boo!  

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Closing unused services

2005-04-27 Thread JimDwyer
I need to close unused service ports.  What is the best way to undeploy unused 
services?  I have backed out what I can from the server/deploy directory.  I 
think I want to modify the jboss-service.xml file but seem to break the system 
when I do that.   My understanding of JBoss is growing by leaps and bounds 
daily but and still short of knowledge on some things.  Is there any 
documentation about the best way to back out unused services from the default 
server?

I also have a request to not use JNDI from outside of JBoss.  Using it 
internally is fine but I have been requested to not expose the service to the 
outside world.  i.e. close ports 1099, 1098.   Is it possible to do this and 
still use JNDI internally for EJB?  If so how?

Altimately I want to get down to 1 open port on my box.  That being the RMI 
port to access StatefulSession beans.   This will require some fancy client 
work but will satisfy my customers, sales group and management greatly.

Any help with this is appreciated.

Jim

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

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


---
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Closing unused services

2005-04-27 Thread JimDwyer
Thanks.  That is exactly what I needed.  Now I just need to figure out how to 
fake out a JNDI lookup for the client side.

Thanks again

Jim

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

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


---
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: J2SE application, non J2EE

2005-03-17 Thread JimDwyer
Kevliang,

I got mine working somewhat.  Still lots of work to do.  

First create an empty MBean and get that installed and working in JBoss.

Then inside the start method of the MBean create a Thread that creates a 
ServerSocket or ServerSocketChannel.  Then inside the MBean.start method use 
the Thread.start method to kick off the newly created Thread.  

You should then have a working MBean that is a server.  

Let me know if you need some help.  I can shot you am email.

Jim

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

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


---
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=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: J2SE application, non J2EE

2005-03-16 Thread JimDwyer
JBossers,

Are there any good examples of this type of server available?  I created an 
MBean already but am not sure where to put the ServerSocket piece.

Does it go right in the MBean?  I guess I am a little confused about how JBoss 
deals with ports and such.

I was looking at the naming server source and it appears to be a stand alone 
server with a Main.  Is this the way it runs within JBoss?  As a standalone?  
Should I do the same? 

This is a bit frustrating as I can't imagine it is that hard but I can't seem 
to see the light on how to construct this one.

Any help is appreciated.

Jim

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

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


---
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=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - J2SE application, non J2EE

2005-03-11 Thread JimDwyer
Hey,

I understand how to do a J2EE application.  How do I do an old fashioned 
application (non-J2EE) with a Gui on a TCP port and another UDP stream hookup?  
Is there any tutorials for that type of server?

Jim

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

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


---
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=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: J2SE application, non J2EE

2005-03-11 Thread JimDwyer
BTW,

I am going to use this as a front end for a realtime box.  There is no 
database.  I need security, naming.  I will probably be controlling a C program 
if I can.  I need a long lived connection on TCP.  I will be doing streaming 
out of a UDP.  I know this is outside of the normal for JBoss but I know it 
will work.  Just need a jump start on some things.

Jim

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

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


---
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=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: J2SE application, non J2EE

2005-03-11 Thread JimDwyer
Thanks Juha.  I will look at that.  I need to review my networking.

What I don't understand is what type of object (bean I guess) I need to create 
for such a service.  All of the examples show how to build J2EE Session and 
Entity Beans.  Would I wrap the TCP connection into a J2EE session bean?  J2EE 
seems to be a bit of overkill without a database.  Does JBoss manage the socket 
connections to such primative services?Any suggestions would be 
appreciated. 

Jim

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

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


---
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=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: J2SE application, non J2EE

2005-03-11 Thread JimDwyer
Excellent!

I am all over it like spilt coffee!

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

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


---
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=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user