[JBossWS] - Re: Help! Call Web service error!
by lixun
Thank you Peter, you give me some instructions! But I don't think my classpath error!
In my windows platform, Jboss 4.2.2 runs OK!
But Jboss 4.2.3 and Jboss 5.0.* runs error!
Follow your instruction, I add option -verbose:gc to JAVA_OPTS in run.bat, and I find following information in server.log:
sun.boot.class.path=D:\jboss\lib\endorsed\activation.jar;D:\jboss\lib\endorsed\jaxb-api.jar;D:\jboss\lib\endorsed\jbossws-native-jaxws-ext.jar;D:\jboss\lib\endorsed\jbossws-native-jaxws.jar;D:\jboss\lib\endorsed\jbossws-native-saaj.jar;D:\jboss\lib\endorsed\resolver.jar;D:\jboss\lib\endorsed\serializer.jar;D:\jboss\lib\endorsed\stax-api.jar;D:\jboss\lib\endorsed\xalan.jar;D:\jboss\lib\endorsed\xercesImpl.jar;C:\Program Files\Java\jdk1.6.0_04\jre\lib\resources.jar;C:\Program Files\Java\jdk1.6.0_04\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0_04\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.6.0_04\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.6.0_04\jre\lib\jce.jar;C:\Program Files\Java\jdk1.6.0_04\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.6.0_04\jre\classes
I think all is OK!
Can you find sth wrong! Peter?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231463#4231463
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231463
17 years, 2 months
[JBoss Cache: Core Edition] - Re: optimal storage parameters for cache node?
by java.mastro
Dear Member,
I do faced the same problem some time back.
Right now i can not give the statistics that you requested. But will let you know the work around(s) and
follow if it suits for you.
solution 1
--------------
Instead of keeping 10,000 key value attributes under a single node,
put your all key value pairs in a hash map and keep this hash map in the node.
As effect the jboss cache will have only one node under a node. In this way jboss cache overhead will be
eliminated and will give you the more performance in start up of jboss cache and reading the contents of it.
One side effect of jboss cache is that, as the size of the node increases the performance of cache start up and persisting the updates will be affected.
solution 2
------------
do segmentation using hashing Instead of putting all key value pairs under a single node.
What i mean to say is that, as your key is a long, Apply some kind of hashing so that, for any given number you will get the hash code between 0 to 9.
now distribute your key value pairs under different nodes as below.
if /x/y/z is your node under which you are placing attributes, after segmentation it will be
/x/y/z/0 - some key value pairs
/x/y/z/1 - some key value pairs
...
/x/y/z/9 - some key value pairs
performance wise there wont be any diff between depth of 3 and 4 if your are having values only at the leaf node.
Please note that, using database persistence for a node with MBs of data will be too slow and chances of failures are more. BJDBC is preferred in such cases.
hope your requirement satisfied
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231459#4231459
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231459
17 years, 2 months
[JNDI/Naming/Network] - Re: distributed application
by vphagura
Code where the exception happens is on the 'return line where the cast is:
public FlightReservationAccessorRemote getFlightReservationAccessorRemote() throws NamingException
| {
| return (FlightReservationAccessorRemote)fetchRemoteObject( "flightReservationAccessorRemote", "FlightReservationAccessorBean" );
| }
Lookup is done here:
private Object fetchRemoteObject(String key, String clsName ) throws NamingException
| {
| Object ret = null;
| if( cache.containsKey( key ))
| {
| ret = cache.get( key );
| log.info( "Got it from CACHE..." );
| }
| else
| {
| if( ctx != null )
| {
| log.info(clsName );
| ret = ctx.lookup( "reservation/" + clsName + "/remote");
| if( ret != null )
| {
| cache.put( key, ret );
| }
| }
| }
| return ret;
| }
Here is the full JNDIView listing from 'Global JNDI Namespace'
+- UserTransactionSessionFactory (proxy: $Proxy103 implements interface org.jboss.tm.usertx.interfaces.UserTransactionSessionFactory)
| +- UUIDKeyGeneratorFactory (class: org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactory)
| +- HiLoKeyGeneratorFactory (class: org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory)
| +- XAConnectionFactory (class: org.jboss.jms.client.JBossConnectionFactory)
| +- topic (class: org.jnp.interfaces.NamingContext)
| +- reservation (class: org.jnp.interfaces.NamingContext)
| | +- FlightReservationAccessorBean (class: org.jnp.interfaces.NamingContext)
| | | +- local (class: Proxy for: com.vsp.reservation.ejb.accessor.FlightReservationAccessor)
| | | +- local-com.vsp.reservation.ejb.accessor.FlightReservationAccessor (class: Proxy for: com.vsp.reservation.ejb.accessor.FlightReservationAccessor)
| | | +- remote (class: Proxy for: com.vsp.reservation.ejb.accessor.FlightReservationAccessorRemote)
| | | +- remote-com.vsp.reservation.ejb.accessor.FlightReservationAccessorRemote (class: Proxy for: com.vsp.reservation.ejb.accessor.FlightReservationAccessorRemote)
| | +- ReservationAccessorBean (class: org.jnp.interfaces.NamingContext)
| | | +- local (class: Proxy for: com.vsp.reservation.ejb.accessor.ReservationAccessor)
| | | +- remote-com.vsp.reservation.ejb.accessor.ReservationAccessorRemote (class: Proxy for: com.vsp.reservation.ejb.accessor.ReservationAccessorRemote)
| | | +- remote (class: Proxy for: com.vsp.reservation.ejb.accessor.ReservationAccessorRemote)
| | | +- local-com.vsp.reservation.ejb.accessor.ReservationAccessor (class: Proxy for: com.vsp.reservation.ejb.accessor.ReservationAccessor)
| | +- CarReservationAccessorBean (class: org.jnp.interfaces.NamingContext)
| | | +- local (class: Proxy for: com.vsp.reservation.ejb.accessor.CarReservationAccessor)
| | | +- local-com.vsp.reservation.ejb.accessor.CarReservationAccessor (class: Proxy for: com.vsp.reservation.ejb.accessor.CarReservationAccessor)
| | | +- remote-com.vsp.reservation.ejb.accessor.CarReservationAccessorRemote (class: Proxy for: com.vsp.reservation.ejb.accessor.CarReservationAccessorRemote)
| | | +- remote (class: Proxy for: com.vsp.reservation.ejb.accessor.CarReservationAccessorRemote)
| | +- HotelReservationAccessorBean (class: org.jnp.interfaces.NamingContext)
| | | +- remote (class: Proxy for: com.vsp.reservation.ejb.accessor.HotelReservationAccessorRemote)
| | | +- remote-com.vsp.reservation.ejb.accessor.HotelReservationAccessorRemote (class: Proxy for: com.vsp.reservation.ejb.accessor.HotelReservationAccessorRemote)
| | +- CustomerAccessorBean (class: org.jnp.interfaces.NamingContext)
| | | +- local (class: Proxy for: com.vsp.reservation.ejb.accessor.CustomerAccessor)
| | | +- local-com.vsp.reservation.ejb.accessor.CustomerAccessor (class: Proxy for: com.vsp.reservation.ejb.accessor.CustomerAccessor)
| | | +- remote-com.vsp.reservation.ejb.accessor.CustomerAccessorRemote (class: Proxy for: com.vsp.reservation.ejb.accessor.CustomerAccessorRemote)
| | | +- remote (class: Proxy for: com.vsp.reservation.ejb.accessor.CustomerAccessorRemote)
| +- persistence.unit:unitName=reservation.ear (class: org.jnp.interfaces.NamingContext)
| | +- reservation.jar#reservation(class: org.hibernate.impl.SessionFactoryImpl)
| +- ClusteredConnectionFactory (class: org.jboss.jms.client.JBossConnectionFactory)
| +- ProfileService (class: AOPProxy$0)
| +- queue (class: org.jnp.interfaces.NamingContext)
| | +- DLQ (class: org.jboss.jms.destination.JBossQueue)
| | +- ExpiryQueue (class: org.jboss.jms.destination.JBossQueue)
| +- ClusteredXAConnectionFactory (class: org.jboss.jms.client.JBossConnectionFactory)
| +- UserTransaction (class: org.jboss.tm.usertx.client.ClientUserTransaction)
| +- ConnectionFactory (class: org.jboss.jms.client.JBossConnectionFactory)
| +- jmx (class: org.jnp.interfaces.NamingContext)
| | +- invoker (class: org.jnp.interfaces.NamingContext)
| | | +- RMIAdaptor (proxy: $Proxy98 implements interface org.jboss.jmx.adaptor.rmi.RMIAdaptor,interface org.jboss.jmx.adaptor.rmi.RMIAdaptorExt)
| | +- rmi (class: org.jnp.interfaces.NamingContext)
| | | +- RMIAdaptor[link -> jmx/invoker/RMIAdaptor] (class: javax.naming.LinkRef)
| +- TomcatAuthenticators (class: java.util.Properties)
| +- console (class: org.jnp.interfaces.NamingContext)
| | +- PluginManager (proxy: $Proxy100 implements org.jboss.console.manager.PluginManagerMBean (no security manager: RMI class loader disabled))
|
| Here is the Bean and the Remote interface, in case:
|
|
| @Stateless
| | public class FlightReservationAccessorBean implements FlightReservationAccessor, FlightReservationAccessorRemote
| | {
| | @PersistenceContext( unitName="reservation" )
| | EntityManager eMgr;
| |
| | public Integer createFlightResevation( Flight flight ) throws Exception
| | {
| | eMgr.persist( flight );
| | return flight.getFlightId();
| | }
| |
| | public void deleteFlightResevation( Flight flight ) throws Exception
| | {
| | eMgr.remove( flight );
| | }
| |
| | @TransactionAttribute(TransactionAttributeType.NEVER)
| | public Flight findFlightById( Integer id ) throws Exception
| | {
| | return eMgr.find( Flight.class, id );
| | }
| |
| | public void updateFlightResevation( Flight flight ) throws Exception
| | {
| | eMgr.merge( flight );
| | }
| |
| | }
|
| @Remote
| | public interface FlightReservationAccessorRemote extends FlightReservation
| | {
| | }
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231455#4231455
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231455
17 years, 2 months
[EJB/JBoss] - Remote client calls problem after migration to JBoss AS 5
by cwulf
Hello everyone,
i try to migrate my JBoss 4.2.2 Application (and an Eclipse based remote client) to JBoss 5.0.0.
I am getting some exceptions during remote calls of SLSBs and SFSBs on my client.
The context creation and lookup has been performed correctly. As I see in the server log, the SFSB has been created.
Calling method sendTextMessage of a SLSB causes:
java.lang.NullPointerException
| at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:444)
| at org.jboss.ejb3.session.InvokableContextClassProxyHack._dynamicInvoke(InvokableContextClassProxyHack.java:56)
| at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:91)
| ...
| at org.jboss.aspects.remoting.PojiProxy.invoke(PojiProxy.java:61)
| at $Proxy3.invoke(Unknown Source)
| at org.jboss.ejb3.proxy.handler.ProxyInvocationHandlerBase.invoke(ProxyInvocationHandlerBase.java:261)
| at org.jboss.ejb3.proxy.handler.session.SessionSpecProxyInvocationHandlerBase.invoke(SessionSpecProxyInvocationHandlerBase.java:101)
| at $Proxy2.sendTextMessage(Unknown Source)
| at client.Client.main(Client.java:31)
Calling method retrieve of SFSB causes:
java.lang.ClassCastException: org.jboss.aop.joinpoint.MethodInvocation cannot be cast to org.jboss.ejb3.stateful.StatefulRemoteInvocation
| at org.jboss.ejb3.stateful.StatefulContainer.dynamicInvoke(StatefulContainer.java:552)
| at org.jboss.ejb3.session.InvokableContextClassProxyHack._dynamicInvoke(InvokableContextClassProxyHack.java:56)
| at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:91)
| ...
| at org.jboss.aspects.remoting.PojiProxy.invoke(PojiProxy.java:61)
| at $Proxy3.invoke(Unknown Source)
| at org.jboss.ejb3.proxy.handler.ProxyInvocationHandlerBase.invoke(ProxyInvocationHandlerBase.java:261)
| at org.jboss.ejb3.proxy.handler.session.SessionSpecProxyInvocationHandlerBase.invoke(SessionSpecProxyInvocationHandlerBase.java:101)
| at $Proxy2.retrieve(Unknown Source)
| at client.Client.main(Client.java:36)
Could that be a Class-Path problem? jbossall-client.jar and all it's dependencies are available...
Client and server are running on JDK 1.5.0.
Any ideas?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231444#4231444
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231444
17 years, 2 months
[JBoss Cache: Core Edition] - optimal storage parameters for cache node?
by sridhar_ratna
I am using jboss cache 3.0 stand alone persistence mechanism as BJDB with c3p0 connection pool.
I stored 100,000 key value pairs under a single FQN (node) at the depth of level 3.
There was no data in the intermediate levels except at leaf level.
Key is Long object and value is byte array of size 3k.
So the total data stored in node is around 300 MB
It took 7 seconds to process(read) all the records.
key things are
1) there were no modification to the content
2) Prefetch all the records and no eviction mechanism.
3) assigned 1GB RAM to application (it used only 600 MB) (SWAP space was not used by application)
now i distributed 100,000 key value pairs under 10,000 individual FQNs so that each node has 10 key value
pairs. Now the time taken to process the records is just 1.1 seconds.
But in some other scenario i have a situation where i need to store 10,000 key value pairs where each value
is 0f 1KB. There is no way that i can distribute them to different FQNs
What i would like to know is some of the statistics like
1) what is the optimal no of key value pairs
2) what is the optimal size of each value in key value pair.
3) what is the optimal size for a node.
4) what is the optimal depth.
Is ther any way that i can get good performance with 10,000 key value pairs under a single node.
Please help me.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231437#4231437
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231437
17 years, 2 months
[JBoss AOP] - Class Cast Exception when AOP enabled
by gunaranjanc
Hi All,
I am trying AOP in an application running on JBOSS 5.01 GA. The application has some JBPM code. The process handler calls an EJB internally. When this call happens I get the below class cast exception. Any ideas?
I have an AOP interceptor for all public methods (MethodInterceptor.java)
I also have an ejb3 EJBInterceptor. I avoid AOP on the EJBInterceptor itself (using Joinpoint exclusion on its package). However the target EJB itself (all of them) is compiled for AOP and bound to the AOP based MethodInterceptor. Is this the problem and if so should I avoid the MethodInterceptor on ejbs - and just let the ejb3 EJBInterceptor handle them (Just need the simple AOP method-interceptor to kick in when they are invoked as POJOs though). Any advise?
009-05-14 16:38:06,994 ERROR [STDERR] (WorkManager(2)-12) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
2009-05-14 16:38:06,994 ERROR [STDERR] (WorkManager(2)-12) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
2009-05-14 16:38:06,994 ERROR [STDERR] (WorkManager(2)-12) at java.lang.Thread.run(Thread.java:613)
2009-05-14 16:38:06,994 ERROR [STDERR] (WorkManager(2)-12) Caused by: java.lang.ClassCastException: org.jboss.aop.joinpoint.MethodInvocation
2009-05-14 16:38:06,995 ERROR [STDERR] (WorkManager(2)-12) at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:55)
2009-05-14 16:38:06,995 ERROR [STDERR] (WorkManager(2)-12) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
2009-05-14 16:38:06,995 ERROR [STDERR] (WorkManager(2)-12) at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
2009-05-14 16:38:06,995 ERROR [STDERR] (WorkManager(2)-12) ... 189 more
Guna
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231430#4231430
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231430
17 years, 2 months
[Installation, Configuration & DEPLOYMENT] - JBoss 4.0.5.GA fails to startup on Windows 2008
by Jim H
Hi,
We have an application that uses JBoss 4.0.5.GA (Tomcat 5.5.20). We've been using the same setup for over 2 years now on a number of different servers and have never run into a problem until now.
For the first time, we're trying to set it up on a server running Windows 2008 (most other installations are Windows 2003). We're getting the below error in the out.log and similar complaints stemming from this in the server.log.
17:27:16,154 INFO [interceptors] InterceptorManager started with 2 Server Interceptors, 2 Client Interceptors and 4 IOR Interceptors
| 17:27:16,360 INFO [orb] ORB run
| 17:27:16,397 INFO [poa] oid:
| 72 6F 6F 74 root
| object is activated
| 17:27:16,605 INFO [CorbaNamingService] Naming: [IOR:(removed)]
| 17:27:16,737 INFO [giop] ClientConnectionManager: created new ClientGIOPConnection to 1.2.3.4:3528 (318293)
| 17:27:37,798 INFO [iiop] Retrying to connect to 1.2.3.4:3528
| 17:27:59,309 INFO [iiop] Retrying to connect to 1.2.3.4:3528
| 17:28:20,822 INFO [iiop] Retrying to connect to 1.2.3.4:3528
| 17:28:42,331 INFO [iiop] Retrying to connect to 1.2.3.4:3528
| 17:29:03,850 INFO [iiop] Retrying to connect to 1.2.3.4:3528
| 17:29:25,399 ERROR [CorbaTransactionService] Cannot bind transaction factory in CORBA naming service:
| org.omg.CORBA.TRANSIENT: Retries exceeded, couldn't reconnect to 1.2.3.4:3528 vmcid: 0x0 minor code: 0 completed: No
| at org.jacorb.orb.iiop.ClientIIOPConnection.connect(ClientIIOPConnection.java:219)
| at org.jacorb.orb.giop.GIOPConnection.sendMessage(GIOPConnection.java:839)
| at org.jacorb.orb.giop.GIOPConnection.sendRequest(GIOPConnection.java:809)
| at org.jacorb.orb.giop.ClientConnection.sendRequest(ClientConnection.java:309)
| at org.jacorb.orb.giop.ClientConnection.sendRequest(ClientConnection.java:289)
| at org.jacorb.orb.Delegate.invoke_internal(Delegate.java:919)
| at org.jacorb.orb.Delegate.invoke(Delegate.java:868)
| at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
| at org.omg.CosNaming._NamingContextExtStub.to_name(_NamingContextExtStub.java:79)
| at org.jboss.tm.iiop.CorbaTransactionService.startService(CorbaTransactionService.java:143)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at org.jboss.system.ServiceController.start(ServiceController.java:435)
| at org.jboss.system.ServiceController.start(ServiceController.java:435)
| at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy4.start(Unknown Source)
| at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| 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:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy8.deploy(Unknown Source)
| at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy4.start(Unknown Source)
| at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
| 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:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy5.deploy(Unknown Source)
| at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
| at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
| at org.jboss.Main.boot(Main.java:200)
| at org.jboss.Main$1.run(Main.java:490)
| at java.lang.Thread.run(Thread.java:595)
| 17:29:25,415 WARN [ServiceController] Problem starting service jboss:service=CorbaTransaction
| java.lang.Exception: Cannot bind transaction factory in CORBA naming service:
| org.omg.CORBA.TRANSIENT: Retries exceeded, couldn't reconnect to 1.2.3.4:3528 vmcid: 0x0 minor code: 0 completed: No
| at org.jboss.tm.iiop.CorbaTransactionService.startService(CorbaTransactionService.java:156)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at org.jboss.system.ServiceController.start(ServiceController.java:435)
| at org.jboss.system.ServiceController.start(ServiceController.java:435)
| at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy4.start(Unknown Source)
| at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| 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:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy8.deploy(Unknown Source)
| at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy4.start(Unknown Source)
| at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
| 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:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy5.deploy(Unknown Source)
| at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
| at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
| at org.jboss.Main.boot(Main.java:200)
| at org.jboss.Main$1.run(Main.java:490)
| at java.lang.Thread.run(Thread.java:595)
|
Here's the server log:
2009-05-15 17:27:16,716 DEBUG [jacorb.poa.controller] reset a previous completion call
| 2009-05-15 17:27:16,719 DEBUG [jacorb.orb.delegate] Delegate.getReference with POA <Transactions>
| 2009-05-15 17:27:16,737 INFO [jacorb.orb.giop] ClientConnectionManager: created new ClientGIOPConnection to 1.2.3.4:3528 (318293)
| 2009-05-15 17:27:16,749 DEBUG [jacorb.giop.conn] Successfully negotiated Codesets. Using ISO-8859-1 as TCS and UTF-16 as TCSW
| 2009-05-15 17:27:16,773 DEBUG [jacorb.giop.conn] ClientGIOPConnection to 1.2.3.4:3528 (318293): sendMessage() -- opening transport
| 2009-05-15 17:27:16,773 DEBUG [jacorb.orb.iiop] Trying to connect to 1.2.3.4:3528 with timeout=0
| 2009-05-15 17:27:16,778 DEBUG [jacorb.poa.controller] waiting for queue
| 2009-05-15 17:27:37,790 DEBUG [jacorb.orb.iiop] Exception
| java.net.ConnectException: Connection timed out: connect
| at java.net.PlainSocketImpl.socketConnect(Native Method)
| at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
| at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
| at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
| at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
| at java.net.Socket.connect(Socket.java:516)
| at java.net.Socket.connect(Socket.java:466)
| at java.net.Socket.<init>(Socket.java:366)
| at java.net.Socket.<init>(Socket.java:179)
| at org.jacorb.orb.factory.DefaultSocketFactory.createSocket(DefaultSocketFactory.java:33)
| at org.jacorb.orb.iiop.ClientIIOPConnection.createSocket(ClientIIOPConnection.java:360)
| at org.jacorb.orb.iiop.ClientIIOPConnection.connect(ClientIIOPConnection.java:151)
| at org.jacorb.orb.giop.GIOPConnection.sendMessage(GIOPConnection.java:839)
| at org.jacorb.orb.giop.GIOPConnection.sendRequest(GIOPConnection.java:809)
| at org.jacorb.orb.giop.ClientConnection.sendRequest(ClientConnection.java:309)
| at org.jacorb.orb.giop.ClientConnection.sendRequest(ClientConnection.java:289)
| at org.jacorb.orb.Delegate.invoke_internal(Delegate.java:919)
| at org.jacorb.orb.Delegate.invoke(Delegate.java:868)
| at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
| at org.omg.CosNaming._NamingContextExtStub.to_name(_NamingContextExtStub.java:79)
| at org.jboss.tm.iiop.CorbaTransactionService.startService(CorbaTransactionService.java:143)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at org.jboss.system.ServiceController.start(ServiceController.java:435)
| at org.jboss.system.ServiceController.start(ServiceController.java:435)
| at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy4.start(Unknown Source)
| at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| 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:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy8.deploy(Unknown Source)
| at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy4.start(Unknown Source)
| at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
| 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:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy5.deploy(Unknown Source)
| at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
| at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
| at org.jboss.Main.boot(Main.java:200)
| at org.jboss.Main$1.run(Main.java:490)
| at java.lang.Thread.run(Thread.java:595)
| 2009-05-15 17:27:37,798 INFO [jacorb.orb.iiop] Retrying to connect to 1.2.3.4:3528
| 2009-05-15 17:27:38,298 DEBUG [jacorb.orb.iiop] Trying to connect to 1.2.3.4:3528 with timeout=0
|
Is there anything specific to Windows 2008 that's needed? Or maybe default security/network settings in 2008 that need to be tweaked?
Thanks,
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231421#4231421
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231421
17 years, 2 months
[Management, JMX/JBoss] - Can't expose 'start' for a service XMBean
by osganian
I can't figure out how to expose a start service using an XMBean. I started with the code in the JBoss EJB3 tutorial (XMBeanService.java) and modified it to include:
| public void start() {
| System.out.println("Start was called");
| }
|
Deploying the JAR produced the expected output. I then added the following to the service-xmbean.xml file:
| <operation>
| <name>start</name>
| <return-type>void</return-type>
| </operation>
|
This produced the following exception:
| java.lang.RuntimeException: Problem registering @Management interface for @Service class org.jboss.tutorial.service.bean.XMBeanService
| at org.jboss.ejb3.service.ServiceContainer.registerManagementInterface(ServiceContainer.java:804)
| at org.jboss.ejb3.service.ServiceContainer.create(ServiceContainer.java:251)
| 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:585)
| at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
| at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
| at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
| at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241)
| at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)
| at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109)
| at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70)
| at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221)
| at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
| at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
| at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
| at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
| at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
| at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:121)
| at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:51)
| at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
| at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
| at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
| at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698)
| at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:290)
| at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
| at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
| at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
| at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:65)
| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:142)
| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:166)
| at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
| at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: java.lang.RuntimeException: javax.management.MBeanException
| at org.jboss.ejb3.deployers.JBossASKernel.installMBean(JBossASKernel.java:181)
| at org.jboss.ejb3.service.ServiceContainer.registerManagementInterface(ServiceContainer.java:797)
| ... 54 more
| Caused by: javax.management.MBeanException
| at org.jboss.ejb3.service.ServiceMBeanDelegate.invoke(ServiceMBeanDelegate.java:219)
| at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
| at org.jboss.ejb3.deployers.JBossASKernel.invokeOptionalMethod(JBossASKernel.java:287)
| at org.jboss.ejb3.deployers.JBossASKernel.installMBean(JBossASKernel.java:177)
| ... 55 more
| Caused by: org.jboss.aop.DispatcherConnectException: EJB container is not completely started, or is stopped.
| at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:62)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
| at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
| at org.jboss.ejb3.service.ServiceContainer.localInvoke(ServiceContainer.java:512)
| at org.jboss.ejb3.service.ServiceContainer.localInvoke(ServiceContainer.java:475)
| at org.jboss.ejb3.service.ServiceMBeanDelegate.invoke(ServiceMBeanDelegate.java:215)
|
Adding a start method to XMBeanServiceRemote.java and deploying the service bean with the Management annotation @Management(XMBeanServiceRemote.class)
| worked just fine. Am I missing something, or is there perhaps a bug?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231416#4231416
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231416
17 years, 2 months
[EJB 3.0] - JndiUtil - assumes HA-JNDI service is installed
by andyredhead
Hi,
in JBoss AS 4.2.3 the code for org.jboss.ejb3.JndiUtil includes:
| Object object = null;
|
| try
| {
| object = jndiContext.lookup(binding);
| }
| catch (NameNotFoundException e)
| {
| Context haCtx = InitialContextFactory.getHAContext(jndiContext);
| object = haCtx.lookup(binding);
| }
|
| return object;
| }
|
So, if the local lookup fails, a call is made to the HA context - without checking to see if the haCtx object is not null...
If the HA JNDI service is not installed (i.e. such as in my development environment) then this call fails with a null pointer exception.
I stumbled upon this when I tried to configure an XML based entity manager injection into a stateless session bean and got the persistence-context-ref-name value wrong. I then had to install the ha jndi service (along with the default partition service) to find out what the actual name being looked up was.
I thing it would be helpful if there was a not-null check on haCtx, if haCtx is null then the original naming exception should be re-thrown so the logs show what jndi name failed.
Cheers,
Andy
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231415#4231415
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231415
17 years, 2 months
[Installation, Configuration & DEPLOYMENT] - Re: Problem with logs
by chuchuaguilera
Thanks my friend, sorry for my ignorance
<appender name="FILE" class="org.jboss.logging.appender.RollingFileAppender">
| <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
| <param name="File" value="${jboss.server.log.dir}/server.log"/>
| <param name="Append" value="true"/>
| <param name="MaxFileSize" value="100MB"/>
| <param name="MaxBackupIndex" value="6"/>
|
| <layout class="org.apache.log4j.PatternLayout">
| <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
| </layout>
| </appender>
|
| <appender name="TELNET" class="org.apache.log4j.net.TelnetAppender">
| <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
| <param name="Threshold" value="INFO"/>
| <param name="Port" value="49000"/>
| <layout class="org.apache.log4j.PatternLayout">
| <!-- Original
| <param name="ConversionPattern" value="[%d{ABSOLUTE},%c{1}] [%C %M] %m%n"/>
| -->
| <param name="ConversionPattern" value="%d %-5r %-5p [%c] (%t:%x) %m%n"/>
| </layout>
| </appender>
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231395#4231395
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231395
17 years, 2 months