[JBoss-user] [Beginners Corner] - Re: JBoss Dependencies

2005-10-20 Thread jpsabadini
I didn't find the PrefixDeploymentSorter...
:(

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: JBoss Dependencies

2005-10-20 Thread jpsabadini
It must be a better way... this is a very common issue. I'm still wondering a 
solution for this
PLEASE SOMEBODY HELP US (specially for the GURUS)
:P

JP

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: JBoss Dependencies

2005-10-10 Thread jpsabadini
But there is no way to specify an order that I want?

thanks...
JP

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - JBoss Dependencies

2005-10-07 Thread jpsabadini
Hi there!!
I`m looking for some way to configure the modules (.ear, .war, .sar, 
etc...)dependencies. I trying to specify an order to deploy my modules. If 
anyone have a tutorial or something like that please send it to me...

thanks
JP 

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Method to kill HttpSession (besides invalidate() )

2005-07-13 Thread jpsabadini
Hi there!
I have an application variable that have all the session Id (one sid for each 
logged users). I want that de System Administrator be able to kill any session 
for a given sid, so I need a method or something that kills a session given the 
sid. 
I cannot use the invalidate() method from HttpSession because I have not an 
instanciated HttpSession class, I'm only have a sid List.
Any clues???

Thanks in advance,
JP

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

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


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: NEWBIE: Deploying a SAR

2005-03-23 Thread jpsabadini
Follow this:

http://www.jboss.org/wiki/Wiki.jsp?page=ExampleHelloWorldService

JP

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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Deployment dependencies

2005-03-23 Thread jpsabadini
Can I set dependencies between different deploy files? How?

Regards,
JP

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

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


---
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: How access an MBean service

2005-03-21 Thread jpsabadini
thanks!!!

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

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


---
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-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - How access an MBean service

2005-03-21 Thread jpsabadini
Hi, I want to know how make a client to access a certain method of a certain 
MBean. IE.: I have the EquipmentQuerie class, that implements the 
EquipmentMBean interface ( this interface have two public methods hiGreeting() 
and byeGreeting() ). The service's name is Greeting. 
I've been searching on the web and I found this:

public class TestClient{
  | public static void main (String a[]){
  | InitialContext ctx;
  | try {
  | ctx = new InitialContext();
  | ctx.lookup("Greeting/hiGreeting");  
  | } catch (NamingException e) {
  | e.printStackTrace();
  | }
  | }
  | }

But I get the following exception:

javax.naming.NoInitialContextException: Need to specify class name in 
environment or system property, or as an applet parameter, or in an application 
resource file:  java.naming.factory.initial
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.lookup(Unknown Source)
at com.Test.main(Test.java:23)

Thanks in advance
JP

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

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


---
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-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Problem to deploy

2005-03-21 Thread jpsabadini
dimitris:
 It's tue, but this makes no difference. I still have the same exception.

JP

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

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


---
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-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Problem to deploy

2005-03-21 Thread jpsabadini
Hi! I'm getting a javax.management.NotCompliantMBeanException when deploy my 
MBean:

Here is the interface:

package com.miradores.vmon.mbean;
  | 
  | import javax.management.ObjectName;
  | import org.jboss.mx.util.ObjectNameFactory;
  | import org.jboss.system.ServiceMBean;
  | 
  | public interface EquipmentQueriesMBean extends ServiceMBean {
  | 
  | public void hiGreeting();
  | public void byeGreeting();  
  | }


Here is the class:

package com.miradores.vmon.mbean;
  | 
  | import com.miradores.vmon.mbean.EquipmentQueriesMBean;
  | import org.jboss.system.ServiceMBeanSupport;
  | 
  | public class EquipementQueries extends ServiceMBeanSupport mplements 
EquipmentQueriesMBean {
  | 
  | 
  | public EquipementQueries() {
  | }
  | 
  | public void hiGreeting() {
  | System.out.println("HELLO WORLD!!!");
  | }
  | 
  | public void byeGreeting() {
  | System.out.println("BYE  WORLD!!!");
  | }   
  | }/


and here is the xml (called jboss-service.xml):



  | 
  | 
  | 
  | 
  |  
  | 

And finally the exception is:

11:15:34,712 ERROR [MainDeployer] could not create deployment: 
file:/C:/DevApps/Java/jboss/server/vm/deploy/eqqu-service.sar/
org.jboss.deployment.DeploymentException: Class does not expose a management 
interface: java.lang.Object; - nested throwable: 
(javax.management.NotCompliantMBeanException: Class does not expose a 
management interface: java.lang.Object)
at 
org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:143)
at 
org.jboss.system.ServiceController.install(ServiceController.java:200)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.install(Unknown Source)
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:208)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy8.deploy(Unknown Source)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:481)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:277)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx

[JBoss-user] [Beginners Corner] - Creating a service

2005-03-18 Thread jpsabadini
Hi there!
I trying to put as a service a class created by me. Anybody knows a really good 
tutorial for service creation?? 

regards
JP

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

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


---
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-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Help for a super beginner user

2005-03-16 Thread jpsabadini
Hi there! I`m trying to solve a problem and I'm think that MBeans can be the 
solution. But I don't finish to understand what is a MBean. Is there any really 
good tutorial for MBeans?
That was my fist question, the second one is a little more complicated: My 
application consist in a client implemented with Struts (war) and an ear with 
EJB 2.0. The problem is that I want to have an object in the ear or in the 
JBoss as a Service (sar) that instanciate this Object (this object uses a 
singleton pattern) and it can be accessed from anywhere since the war. 
Instanciate this object in the war with an application scope is not good for 
because I want to feel free to change or add other clients implemented with 
another technologies (such Swing, or clients for palms, etc...)

Best regards
JP

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

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


---
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-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user