Hi Srinivas,
Srinivas Krishnan wrote:
> I am working in moving Sailfin specific config beans which is under
> glassfish source to the sailfin source tree. Currently all the config
> beans for accessing domain.xml is available in appserv-rt.jar.
>
> I have moved the sailfin specific config beans with some common config
> beans (domain, config, availability-service, servertags,
> security-service) to sailfin source tree
I'm not sure I understand why you need to move (or copy?) any of the
"common" config beans to
SailFin.
I thought only the SailFin specific config beans were supposed to be
moved from GlassFish to SailFin.
If you did that, then there would not be any classpath issues.
Jan
> and bundling these config beans to the sailfin specific jar
> comms-appserv-rt.jar. Now to have the classpath containing first
> comms-appserv-rt.jar i use the classpath-prefix in domain.xml to
> contain comms-appserv-rt.jar so that all the sailfin specific config
> beans are picked up from comms-appserv-rt.jar.
>
> While running the Glassfish Cluster QL Tests, i get the following
> error. Any body know why this error happens?
>
>
> runclient-common:
> [echo] appclient -client
> /space/sailfin/apr26_4pm/glassfish/appserv-tests//build/module/archive/ejb-stateless-converterAppClient.jar
> -name ejb-stateless-converterClient -textauth -user j2ee -password
> j2ee -xml
> /space/sailfin/apr26_4pm/publish/glassfish/domains/sqe-domain/config/sun-acc.xml
>
> [exec] Default Context Initialized...
> [exec] Value of key is: AppClient
> [exec] Caught an unexpected exception!
> [exec] java.rmi.ServerException: RemoteException occurred in
> server thread; nested exception is:
> [exec] java.rmi.RemoteException: nested exception is:
> javax.ejb.EJBException: EJB Timer service not available; nested
> exception is:
> [exec] javax.ejb.EJBException: EJB Timer service not available
> [exec] at
> com.sun.corba.ee.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:243)
>
> [exec] at
> com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:205)
>
> [exec] at
> com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:152)
>
> [exec] at
> com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(BCELStubBase.java:225)
>
> [exec] at
> com.sun.s1peqe.ejb.stateless.converter.ejb._ConverterRemote_DynamicStub.dollarToYen(com/sun/s1peqe/ejb/stateless/converter/ejb/_ConverterRemote_DynamicStub.java)
>
> [exec] at
> com.sun.s1peqe.ejb.stateless.converter.client.ConverterClient.run(ConverterClient.java:118)
>
> [exec] at
> com.sun.s1peqe.ejb.stateless.converter.client.ConverterClient.main(ConverterClient.java:72)
>
> [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> [exec] at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> [exec] at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> [exec] at java.lang.reflect.Method.invoke(Method.java:585)
> [exec] at
> com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:266)
> [exec] at
> com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:449)
>
> [exec] at
> com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:259)
>
> [exec] at com.sun.enterprise.appclient.Main.main(Main.java:200)
> [exec] Caused by: java.rmi.RemoteException: nested exception is:
> javax.ejb.EJBException: EJB Timer service not available; nested
> exception is:
> [exec] javax.ejb.EJBException: EJB Timer service not available
> [exec] at
> com.sun.enterprise.iiop.POAProtocolMgr.mapException(POAProtocolMgr.java:251)
>
> [exec] at
> com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1386)
> [exec] at
> com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1316)
> [exec] at
> com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:210)
>
> [exec] at
> com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:120)
>
> [exec] at $Proxy43.dollarToYen(Unknown Source)
> [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> [exec] at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> [exec] at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> [exec] at java.lang.reflect.Method.invoke(Method.java:585)
> [exec] at
> com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:154)
>
> [exec] at
> com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:687)
>
> [exec] at
> com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:227)
>
> [exec] at
> com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1846)
>
> [exec] at
> com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1706)
>
> [exec] at
> com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:1088)
>
> [exec] at
> com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:223)
>
> [exec] at
> com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:806)
>
> [exec] at
> com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.dispatch(CorbaMessageMediatorImpl.java:563)
>
> [exec] at
> com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.doWork(CorbaMessageMediatorImpl.java:2567)
>
> [exec] at
> com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555)
>
> [exec] Caused by: javax.ejb.EJBException: EJB Timer service not
> available
>
> [exec] at
> com.sun.ejb.containers.SessionContextImpl.getTimerService(SessionContextImpl.java:182)
>
> [exec] at
> com.sun.s1peqe.ejb.stateless.converter.ejb.ConverterBean.testTimerService(ConverterBean.java:101)
>
> [exec] at
> com.sun.s1peqe.ejb.stateless.converter.ejb.ConverterBean.dollarToYen(ConverterBean.java:44)
>
> [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> [exec] at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> [exec] at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> [exec] at java.lang.reflect.Method.invoke(Method.java:585)
> [exec] at
> com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1068)
>
> [exec] at
> com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:176)
> [exec] at
> com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2895)
>
> [exec] at
> com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:3986)
> [exec] at
> com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:203)
>
> [exec] ... 17 more
> [exec] Generating report at
> /space/sailfin/apr26_4pm/glassfish/appserv-tests/test_results.xml
> [exec]
> [exec]
> [exec] -----------------------------------------
> [exec] - AppClient: FAIL -
> [exec] -----------------------------------------
> [exec] Total PASS: 0
> [exec] Total FAIL: 1
> [exec] Total DID NOT RUN: 0
> [exec] -----------------------------------------
> [exec] in flushAll , creating new testSuiteHash
> [exec] in flushAll , creating new testSuiteHash
>
> run-standalone-client:
> [echo] provider.url used is iiop://localhost:33700
> [java] Context Initialized with URL: iiop://localhost:33700,
> Factory: com.sun.enterprise.naming.SerialInitContextFactory
> [java] Value of key is: Standalone-Client
> [java] Caught an unexpected exception!
> [java] java.rmi.ServerException: RemoteException occurred in
> server thread; nested exception is:
> [java] java.rmi.RemoteException: nested exception is:
> javax.ejb.EJBException: EJB Timer service not available; nested
> exception is:
> [java] javax.ejb.EJBException: EJB Timer service not available
> [java] at
> com.sun.corba.ee.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:243)
>
> [java] at
> com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:205)
>
> [java] at
> com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:152)
>
> [java] at
> com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(BCELStubBase.java:225)
>
> [java] at
> com.sun.s1peqe.ejb.stateless.converter.ejb._ConverterRemote_DynamicStub.dollarToYen(com/sun/s1peqe/ejb/stateless/converter/ejb/_ConverterRemote_DynamicStub.java)
>
> [java] at
> com.sun.s1peqe.ejb.stateless.converter.client.ConverterClient.run(ConverterClient.java:118)
>
> [java] at
> com.sun.s1peqe.ejb.stateless.converter.client.ConverterClient.main(ConverterClient.java:72)
>
> [java] Caused by: java.rmi.RemoteException: nested exception is:
> javax.ejb.EJBException: EJB Timer service not available; nested
> exception is:
> [java] javax.ejb.EJBException: EJB Timer service not available
> [java] at
> com.sun.enterprise.iiop.POAProtocolMgr.mapException(POAProtocolMgr.java:251)
>
> [java] at
> com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1386)
> [java] at
> com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1316)
> [java] at
> com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:210)
>
> [java] at
> com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:120)
>
> [java] at $Proxy43.dollarToYen(Unknown Source)
> [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> [java] at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> [java] at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> [java] at java.lang.reflect.Method.invoke(Method.java:585)
> [java] at
> com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:154)
>
> [java] at
> com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:687)
>
> [java] at
> com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:227)
>
> [java] at
> com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1846)
>
> [java] at
> com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1706)
>
> [java] at
> com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:1088)
>
> [java] at
> com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:223)
>
> [java] at
> com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:806)
>
> [java] at
> com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.dispatch(CorbaMessageMediatorImpl.java:563)
>
> [java] at
> com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.doWork(CorbaMessageMediatorImpl.java:2567)
>
> [java] at
> com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555)
>
> [java] Caused by: javax.ejb.EJBException: EJB Timer service not
> available
> [java] at
> com.sun.ejb.containers.SessionContextImpl.getTimerService(SessionContextImpl.java:182)
>
> [java] at
> com.sun.s1peqe.ejb.stateless.converter.ejb.ConverterBean.testTimerService(ConverterBean.java:101)
>
> [java] at
> com.sun.s1peqe.ejb.stateless.converter.ejb.ConverterBean.dollarToYen(ConverterBean.java:44)
>
> [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> [java] at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> [java] at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
>
> [java] at java.lang.reflect.Method.invoke(Method.java:585)
> [java] at
> com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1068)
>
> [java] at
> com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:176)
> [java] at
> com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2895)
>
> [java] at
> com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:3986)
> [java] at
> com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:203)
>
> [java] ... 17 more
> [java] Generating report at
> /space/sailfin/apr26_4pm/glassfish/appserv-tests/test_results.xml
> [java]
> [java]
> [java] -----------------------------------------
> [java] - Standalone-Client: FAIL -
> [java] -----------------------------------------
> [java] Total PASS: 0
> [java] Total FAIL: 1
> [java] Total DID NOT RUN: 0
> [java] -----------------------------------------
> [java] in flushAll , creating new testSuiteHash
> [java] in flushAll , creating new testSuiteHash
>
>
> Thanks
> Srinivas
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_sailfin.dev.java.net
> For additional commands, e-mail: dev-help_at_sailfin.dev.java.net
>