[JBoss-user] [JBoss Portal] - Saw exceptions stopping the portal when stopping JBoss serve

2005-06-15 Thread qdotlu
The following exception happens when stopping JBoss server. I am using the 
latest download of JBoss Portal.

10:46:04,270 ERROR [MainDeployer] Undeployment failed: file:/D:/jboss-4.0.2/serv
er/default/deploy/jboss-portal.sar/portal-core.war/WEB-INF/portlet.xml
java.lang.NullPointerException
at org.jboss.portal.server.deployment.jboss.ServerDeployer.stop(ServerDe
ployer.java:180)
at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:632)
at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:605)
at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:492)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:121)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:127)
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:644)
at org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(S
erverImpl.java:952)
at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.j
ava:927)
at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:9
15)
10:46:04,270 ERROR [MainDeployer] Undeployment failed: file:/D:/jboss-4.0.2/serv
er/default/deploy/jboss-portal.sar/portal-core.war/WEB-INF/portlet.xml
java.lang.NullPointerException
at org.jboss.portal.server.deployment.jboss.ServerDeployer.destroy(Serve
rDeployer.java:186)
at org.jboss.deployment.MainDeployer.destroy(MainDeployer.java:665)
at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:606)
at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:492)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:121)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:127)
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:644)
at org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(S
erverImpl.java:952)
at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.j
ava:927)
at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:9
15)

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

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


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


[JBoss-user] [EJB/JBoss] - Re: JBossAS 4.0.2 default ORB instance is not binded to

2005-05-20 Thread qdotlu
"reverbel" wrote : Which JBoss configuration are you using?  The "default" 
server config does not include CORBA/IIOP support. Use the "all" server config.
  | 
  | Regards,
  | 
  | Francisco

I am new to JBoss, could you let me know how to start the all configuration?

Thanks,
Qdot

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - JBossAS 4.0.2 default ORB instance is not binded to "java:co

2005-05-20 Thread qdotlu
Per J2EE specification,

"All web, enterprise bean, and application client containers are required to 
provide an ORB instance in the JNDI namespace under the name java:comp/ORB"

I am using the following code to try get ahold of the default ORB instance in 
the EJB code:

InitialContext context = new InitialContext();
ORB orb = (ORB)context.lookup("java:comp/ORB");

but failed with the following exception. Should this be corrected?

17:19:19,376 INFO [STDOUT] javax.naming.NameNotFoundException: ORB not bound
17:19:19,376 INFO [STDOUT] at org.jnp.server.NamingServer.getBinding(Naming
Server.java:491)
17:19:19,376 INFO [STDOUT] at org.jnp.server.NamingServer.getBinding(Naming
Server.java:499)
17:19:19,376 INFO [STDOUT] at org.jnp.server.NamingServer.getObject(NamingS
erver.java:505)
17:19:19,376 INFO [STDOUT] at org.jnp.server.NamingServer.lookup(NamingServ
er.java:278)
17:19:19,376 INFO [STDOUT] at org.jnp.interfaces.NamingContext.lookup(Namin
gContext.java:610)
17:19:19,376 INFO [STDOUT] at org.jnp.interfaces.NamingContext.lookup(Namin
gContext.java:701)
17:19:19,376 INFO [STDOUT] at org.jnp.interfaces.NamingContext.lookup(Namin
gContext.java:572)
17:19:19,376 INFO [STDOUT] at javax.naming.InitialContext.lookup(InitialCon
text.java:347)
17:19:19,376 INFO [STDOUT] at tester.TesterEJB.ejbCreate(TesterEJB.java:42)

17:19:19,376 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(
Native Method)
17:19:19,376 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(N
ativeMethodAccessorImpl.java:39)
17:19:19,376 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invo
ke(DelegatingMethodAccessorImpl.java:25)
17:19:19,376 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:3
24)
17:19:19,376 INFO [STDOUT] at org.jboss.ejb.StatelessSessionEnterpriseConte
xt.(StatelessSessionEnterpriseContext.java:63)
17:19:19,386 INFO [STDOUT] at org.jboss.ejb.plugins.StatelessSessionInstanc
ePool.create(StatelessSessionInstancePool.java:35)
17:19:19,386 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractInstancePool.ge
t(AbstractInstancePool.java:161)
17:19:19,386 INFO [STDOUT] at org.jboss.ejb.plugins.StatelessSessionInstanc
eInterceptor.invokeHome(StatelessSessionInstanceInterceptor.java:78)
17:19:19,386 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractInterceptor.inv
okeHome(AbstractInterceptor.java:90)
17:19:19,386 INFO [STDOUT] at org.jboss.ejb.plugins.CallValidationIntercept
or.invokeHome(CallValidationInterceptor.java:41)
17:19:19,386 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractTxInterceptor.i
nvokeNext(AbstractTxInterceptor.java:109)
17:19:19,386 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.runWit
hTransactions(TxInterceptorCMT.java:335)
17:19:19,386 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke
Home(TxInterceptorCMT.java:146)
17:19:19,386 INFO [STDOUT] at org.jboss.ejb.plugins.SecurityInterceptor.inv
okeHome(SecurityInterceptor.java:116)
17:19:19,386 INFO [STDOUT] at org.jboss.ejb.plugins.LogInterceptor.invokeHo
me(LogInterceptor.java:121)

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&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: Does JBoss 4.0.2 has full support of JSR-160 (JMX Remote

2005-05-16 Thread qdotlu
Thanks, Dimitris.

It is surprising that not many people voting for this feature, since JSR-160 
JMX Remote APIs is already incorporated in J2SE 1.5. Some other application 
server vendors already support it like WebLogic 9.0.

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Does JBoss 4.0.2 has full support of JSR-160 (JMX Remote API

2005-05-13 Thread qdotlu
As title. Thanks.

-qdotlu

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

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


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&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: Does JBoss 4.0.x support JSR-160 (JMX Remote API).

2005-03-11 Thread qdotlu
Is there a road map for the support of JMX Remote API?

Thanks,

"[EMAIL PROTECTED]" wrote : We don't fully suppor jsr160 yet, but Tom Elrod 
from the JBossRemoting project is working on this.

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

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


---
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] - Does JBoss 4.0.x support JSR-160 (JMX Remote API).

2005-03-10 Thread qdotlu

If it is supported,  which JAR file is the implementation packaged into?

Thanks,
-Mark

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

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


---
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: GaugeMonitor is not serializable?

2005-02-03 Thread qdotlu
Yes, we could register a empty GaugeMonitor in the client side and then call 
the "set attribute" methods the populate the content of the GaugeMonitor. But 
it is not as convenient as populating the content of GaugeMonitor and then 
create the MBean through RMIAdaptor. It is one remote call versus multiple.  
:)

"[EMAIL PROTECTED]" wrote : I don't get it, why you "have" to create it on the 
client side?
  | 
  | You tell the server to create it on the server side and you configure it as 
you would with any other MBean (again, through the MBean server), to monitor 
whatever you want.
  | 
  | The web-console of jboss, does exactly that.

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

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


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: GaugeMonitor is not serializable?

2005-01-27 Thread qdotlu
I want to build an application that I can use a Web GUI in the front end to 
display all the existing MBeans registered with the MBean server. If I want to 
create a monitor against one MBean attribute, I have to ask the MBean Server to 
create one Montior MBean in the client side through RMIAdaptor.

The MBeanServer is in the server side, we don't have direct access, except 
through RMIAdaptor. Therefore GaugeMonitor/StringMonitor etc. is better to be 
serializable.

Not sure how other people are using Monitors, but this use case looks common to 
me.

"[EMAIL PROTECTED]" wrote : Try to use MBeanServer.createMBean(...) to create 
and register an MBean on the Server, rather than creating it on the client side.

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

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


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - GaugeMonitor is not serializable?

2005-01-27 Thread qdotlu

If I created one GaugeMonitor instance from the client side, and set proper 
values, I am having problem using the RMIAdaptor to register it with a backend 
JBoss JMX Agent. It was complaining certain field is not Serializable.
Other Monitor implementations have the similar problem.

Is this a bug?



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

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


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - re-registering of a Monitor doesn't replace the existing one

2005-01-26 Thread qdotlu

If i use the RMIAdaptor to register one GaugeMonitor to the JMX agent, and then 
register the same GaugeMonitor again, the existing one is not replaced, neither 
an exception is thrown. If there are Listeners registered with the old instance 
of GaugeMonitor, the notification will be send by the old GaugeMonitor also. 

Seems like I have to un-register and register the monitor to prevent this from 
happening. Is this the expected behavior?

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

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


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user