[Tomcat, HTTPD, Servlets & JSP] - ADF Faces installation
by mrchit_2000
Hi all,
I am fairly new to JBoss and all web application framework thing. I 'd like to use ADF Faces and so I tried to install it. I had JBoss 4.0.5 with EJB3.0 profile setup and got simple hello world application running. But when I want to have ADF Faces, I encounter problem when making Jboss able to load ADF Faces. I downloaded adf-faces-api-10_1_3_0_4.jar, adf-faces-impl-10_1_3_0_4.jar and retrieve adfshare35495.jar from the adf-faces-demo.war (since I cant find nowhere having adfshare.jar to download). In web.xml, I added:
<filter-name>adfFaces</filter-name>
<filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
<filter-mapping>
<filter-name>adfFaces</filter-name>
<servlet-name>Faces Servlet</servlet-name>
</filter-mapping>
<servlet-name>resources</servlet-name>
<servlet-class>oracle.adf.view.faces.webapp.ResourceServlet</servlet-class>
<servlet-mapping>
<servlet-name>resources</servlet-name>
<url-pattern>/adf/*</url-pattern>
</servlet-mapping>
and in faces-config.xml with the following lines:
<default-render-kit-id>
oracle.adf.core
</default-render-kit-id>
I put the adf*.jar in JBoss/server/deploy/jbossweb-tomcat55.sar (because iif I put those jar in lib directory of my application or of Jboss/lib, I got some class not found for AdfFacesHandler).
Following is the message once I restart the same Hello World web application with nothing changes except those above in web.xml and faces-config.xml.
01:23:57,595 ERROR [StartupServletContextListener] Error initializing ServletContext
java.lang.IllegalArgumentException: Class oracle.adfinternal.view.faces.application.NavigationHandlerImpl is no javax.faces.application.NavigationHandler
at org.apache.myfaces.config.FacesConfigurator.getApplicationObject(FacesConfigurator.java:536)
at org.apache.myfaces.config.FacesConfigurator.configureApplication(FacesConfigurator.java:458)
at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:141)
at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:69)
at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:52)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.apache.catalina.core.StandardContext.init(StandardContext.java:5052)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
at org.jboss.web.WebModule.startModule(WebModule.java:83)
at org.jboss.web.WebModule.startService(WebModule.java:61)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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 $Proxy38.start(Unknown Source)
at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
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 $Proxy39.start(Unknown Source)
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.GeneratedMethodAccessor13.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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 $Proxy6.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.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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(Unknown Source)
01:23:57,605 ERROR [STDERR] java.lang.IllegalArgumentException: Class oracle.adfinternal.view.faces.application.NavigationHandlerImpl is no javax.faces.application.NavigationHandler
01:23:57,605 ERROR [STDERR] at org.apache.myfaces.config.FacesConfigurator.getApplicationObject(FacesConfigurator.java:536)
01:23:57,605 ERROR [STDERR] at org.apache.myfaces.config.FacesConfigurator.configureApplication(FacesConfigurator.java:458)
01:23:57,605 ERROR [STDERR] at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:141)
01:23:57,605 ERROR [STDERR] at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:69)
01:23:57,605 ERROR [STDERR] at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:52)
01:23:57,605 ERROR [STDERR] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
01:23:57,605 ERROR [STDERR] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
01:23:57,605 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
01:23:57,605 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
01:23:57,605 ERROR [STDERR] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
01:23:57,605 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
01:23:57,605 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
01:23:57,605 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
01:23:57,605 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
01:23:57,605 ERROR [STDERR] at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
01:23:57,605 ERROR [STDERR] at org.apache.catalina.core.StandardContext.init(StandardContext.java:5052)
01:23:57,605 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
01:23:57,605 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
01:23:57,605 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
01:23:57,605 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
01:23:57,605 ERROR [STDERR] at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
01:23:57,605 ERROR [STDERR] at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
01:23:57,605 ERROR [STDERR] at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
01:23:57,605 ERROR [STDERR] at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
01:23:57,605 ERROR [STDERR] at org.jboss.web.WebModule.startModule(WebModule.java:83)
01:23:57,605 ERROR [STDERR] at org.jboss.web.WebModule.startService(WebModule.java:61)
01:23:57,605 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
01:23:57,605 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
01:23:57,605 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
01:23:57,605 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
01:23:57,605 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
01:23:57,605 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
01:23:57,605 ERROR [STDERR] at $Proxy0.start(Unknown Source)
01:23:57,605 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
01:23:57,605 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
01:23:57,605 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
01:23:57,605 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
01:23:57,605 ERROR [STDERR] at $Proxy38.start(Unknown Source)
01:23:57,605 ERROR [STDERR] at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
01:23:57,605 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
01:23:57,605 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
01:23:57,605 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
01:23:57,605 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
01:23:57,605 ERROR [STDERR] at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
01:23:57,605 ERROR [STDERR] at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92)
01:23:57,605 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
01:23:57,605 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
01:23:57,605 ERROR [STDERR] at $Proxy39.start(Unknown Source)
01:23:57,605 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
01:23:57,605 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
01:23:57,605 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
01:23:57,605 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
01:23:57,605 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
01:23:57,605 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
01:23:57,605 ERROR [STDERR] at $Proxy6.deploy(Unknown Source)
01:23:57,605 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
01:23:57,605 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
01:23:57,605 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
01:23:57,605 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
01:23:57,605 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
01:23:57,605 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
01:23:57,605 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
01:23:57,605 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
01:23:57,605 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
01:23:57,605 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
01:23:57,605 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
01:23:57,605 ERROR [STDERR] at $Proxy0.start(Unknown Source)
01:23:57,605 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
01:23:57,605 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
01:23:57,615 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
01:23:57,615 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
01:23:57,615 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
01:23:57,615 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
01:23:57,615 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
01:23:57,615 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
01:23:57,615 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
01:23:57,615 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
01:23:57,615 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
01:23:57,615 ERROR [STDERR] at $Proxy4.start(Unknown Source)
01:23:57,615 ERROR [STDERR] at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
01:23:57,615 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
01:23:57,615 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
01:23:57,615 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
01:23:57,615 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
01:23:57,615 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
01:23:57,615 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
01:23:57,615 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
01:23:57,615 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
01:23:57,615 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
01:23:57,615 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
01:23:57,615 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
01:23:57,615 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
01:23:57,615 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
01:23:57,615 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
01:23:57,615 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
01:23:57,615 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
01:23:57,615 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
01:23:57,615 ERROR [STDERR] at $Proxy5.deploy(Unknown Source)
01:23:57,615 ERROR [STDERR] at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
01:23:57,615 ERROR [STDERR] at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
01:23:57,615 ERROR [STDERR] at org.jboss.Main.boot(Main.java:200)
01:23:57,615 ERROR [STDERR] at org.jboss.Main$1.run(Main.java:490)
01:23:57,615 ERROR [STDERR] at java.lang.Thread.run(Unknown Source)
Could someone have knowledge about this issue help me resolving this issue? It seems there are not many ADF Faces help around online. I appreciate your help and time.
Thanks,
-Lngo
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991576#3991576
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991576
18 years, 1 month
[Remoting] - Re: always using the same target class on server side (POJO)
by mkulawin
An example from me:
Client code:
--------------
| package client;
|
| import java.net.MalformedURLException;
|
| import org.jboss.remoting.InvokerLocator;
| import org.jboss.remoting.security.SSLSocketBuilder;
| import org.jboss.remoting.transporter.TransporterClient;
|
| import server.HandlerInterface;
|
| public class Client {
| /**
| * the Object containing all information about the Server location
| */
| protected InvokerLocator locator;
|
| /**
| * Constructor - initializes the locator and sets properties
| */
| public Client() {
| try {
| locator = new InvokerLocator("multiplex://127.0.0.1:7070");
| } catch (MalformedURLException e) {
| e.printStackTrace();
| }
| }
|
| /**
| * reqests the Server for an handle
| */
| public void requestHandle() {
| HandlerInterface handler;
| try {
| // here the program should throw an exception as no Object should be
| // created
| handler = (HandlerInterface) TransporterClient.createTransporterClient(
| locator, HandlerInterface.class);
| // this should not print a return string
| System.out.println("server returned: " + handler.doHandle());
| TransporterClient.destroyTransporterClient(handler);
|
| } catch (Exception e) {
| e.printStackTrace();
| }
| }
|
| public static void main(String[] args) {
| System.out.println("starting client");
| Client client = new Client();
| client.requestHandle();
| }
| }
|
|
Server code:
---------------
| package server;
|
| import java.io.IOException;
| import java.util.HashMap;
| import java.util.Map;
|
| import org.jboss.remoting.security.SSLSocketBuilder;
| import org.jboss.remoting.transporter.TransporterServer;
|
| public class Server {
|
| /**
| * runs and starts the Server
| *
| * @param args
| */
| public static void main(String[] args) {
| String locatorURL = "multiplex://127.0.0.1:7070";
|
| HandlerInterface handler = new Handler();
| try {
| TransporterServer server = TransporterServer
| .createTransporterServer(locatorURL, handler, HandlerInterface.class
| .getName(), false);
| server.start();
| } catch (Exception e) {
| e.printStackTrace();
| }
|
| }
|
| }
|
Pojo Code:
-------------
Interface:
| package server;
|
| public interface HandlerInterface {
|
| public abstract String doHandle();
|
| }
|
class with the implemented interface
| package server;
|
| public class Handler implements HandlerInterface {
|
| int counter = 0;
|
| /* (non-Javadoc)
| * @see server.HandlerInterface#doHandle()
| */
| public String doHandle() {
| counter++;
| System.out.println("Counter: "+counter);
| return String.valueOf(counter);
|
| }
| }
|
If you start the server and you run the client once. You can see follow on client side:
starting client
server returned: 1
the second run:
server returned: 2
this show me, that every client use the same instance of class "Handler". I expect that another client (new connect to the server) get a new instance of class.
expectation:
starting client
server returned: 1
the second run:
starting client
server returned: 1
Is there a JBoss remoting implementation to do this?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991574#3991574
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991574
18 years, 1 month
[JBoss Seam] - jboss-seam-CVS.20061204 seam-gen project
by mikel67
I have created a new Eclipse project using seam-gen from the CVS build
using seam new-form created code for a role and updated the test class as below
package za.co.fnb.card.test;
|
| import static org.testng.AssertJUnit.assertNotNull;
| import javax.persistence.EntityManager;
| import javax.persistence.EntityManagerFactory;
| import javax.persistence.Persistence;
|
| import org.testng.annotations.Configuration;
| import org.testng.annotations.Test;
| import org.jboss.seam.mock.SeamTest;
|
| public class RoleTest extends SeamTest {
|
| @Configuration(beforeTestClass=true)
| public void setup() {
| // do some setup stuff
| }
|
| @Configuration(afterTestClass=true)
| public void tearDown() {
| // do some close down stuff
| }
|
| @Test
| public void testListRoles() throws Exception {
|
| EntityManagerFactory emf = Persistence.createEntityManagerFactory("CardCC");
| EntityManager em = emf.createEntityManager();
| assertNotNull("Entity Manager Not Null", em);
|
| }
| }
|
I get the following errors when run as > testNG suite against RoleTest.xml (with no updates from the standard suite created by seam-gen. Any assistance would be greatly appreciated.
|
| [Parser] Running:
| C:\Projects\FNBCard\ContactCentre\workspaceTest\CardCC\src\za\co\fnb\card\test\RoleTest.xml
|
| 11:27:19,236 INFO [Initialization] Namespace: http://jboss.com/products/seam/core, package: org.jboss.seam.core, prefix: org.jboss.seam.core
| 11:27:19,236 INFO [Initialization] Namespace: http://jboss.com/products/seam/framework, package: org.jboss.seam.framework, prefix: org.jboss.seam.core.framework
| 11:27:19,236 INFO [Initialization] Namespace: http://jboss.com/products/seam/jms, package: org.jboss.seam.jms, prefix: org.jboss.seam.jms
| 11:27:19,236 INFO [Initialization] Namespace: http://jboss.com/products/seam/drools, package: org.jboss.seam.drools, prefix: org.jboss.seam.drools
| 11:27:19,236 INFO [Initialization] Namespace: http://jboss.com/products/seam/remoting, package: org.jboss.seam.remoting, prefix: org.jboss.seam.remoting
| 11:27:19,246 INFO [Initialization] Namespace: http://jboss.com/products/seam/theme, package: org.jboss.seam.theme, prefix: org.jboss.seam.theme
| 11:27:19,246 INFO [Scanner] scanning: C:\Projects\FNBCard\ContactCentre\workspaceTest\CardCC\exploded-archives\CardCC.jar
| 11:27:19,246 INFO [Scanner] scanning: C:\Projects\FNBCard\ContactCentre\workspaceTest\CardCC\resources
| 11:27:19,256 INFO [Scanner] scanning: /C:/Projects/FNBCard/ContactCentre/workspaceTest/CardCC/lib/jboss-seam.jar
| 11:27:19,266 INFO [Initialization] Namespace: http://jboss.com/products/seam/drools, package: org.jboss.seam.drools, prefix: org.jboss.seam.drools
| 11:27:19,266 INFO [Initialization] Namespace: http://jboss.com/products/seam/remoting, package: org.jboss.seam.remoting, prefix: org.jboss.seam.remoting
| 11:27:19,266 INFO [Initialization] Namespace: http://jboss.com/products/seam/theme, package: org.jboss.seam.theme, prefix: org.jboss.seam.theme
| 11:27:19,266 INFO [Initialization] Namespace: http://jboss.com/products/seam/core, package: org.jboss.seam.core, prefix: org.jboss.seam.core
| 11:27:19,266 INFO [Initialization] Namespace: http://jboss.com/products/seam/jms, package: org.jboss.seam.jms, prefix: org.jboss.seam.jms
| 11:27:19,266 INFO [Initialization] Namespace: http://jboss.com/products/seam/framework, package: org.jboss.seam.framework, prefix: org.jboss.seam.core.framework
| 11:27:19,276 INFO [Initialization] reading /WEB-INF/components.xml
| 11:27:19,417 INFO [Initialization] reading jar:file:/C:/Projects/FNBCard/ContactCentre/workspaceTest/CardCC/lib/jboss-seam.jar!/META-INF/components.xml
| 11:27:19,447 INFO [Initialization] reading properties from: /seam.properties
| 11:27:19,447 INFO [Initialization] reading properties from: /jndi.properties
| 11:27:19,457 INFO [Initialization] initializing Seam
| 11:27:19,457 INFO [Scanner] scanning: C:\Projects\FNBCard\ContactCentre\workspaceTest\CardCC\exploded-archives\CardCC.jar
| 11:27:19,567 INFO [Scanner] scanning: C:\Projects\FNBCard\ContactCentre\workspaceTest\CardCC\resources
| 11:27:19,567 INFO [Scanner] scanning: /C:/Projects/FNBCard/ContactCentre/workspaceTest/CardCC/lib/jboss-seam.jar
| 11:27:20,388 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.core.manager
| 11:27:20,398 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.core.pages
| 11:27:20,578 INFO [Component] Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init
| 11:27:20,618 INFO [Initialization] Installing components...
| 11:27:20,618 INFO [Component] Component: org.jboss.seam.core.exceptions, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Exceptions
| 11:27:20,628 INFO [Component] Component: org.jboss.seam.core.applicationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ApplicationContext
| 11:27:20,628 INFO [Component] Component: org.jboss.seam.core.conversationStack, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationStack
| 11:27:20,628 INFO [Component] Component: org.jboss.seam.remoting.messaging.subscriptionRegistry, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.messaging.SubscriptionRegistry
| 11:27:20,628 INFO [Component] Component: org.jboss.seam.core.isUserInRole, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.IsUserInRole
| 11:27:20,628 INFO [Component] Component: org.jboss.seam.core.redirect, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Redirect
| 11:27:20,628 INFO [Component] Component: org.jboss.seam.debug.contexts, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.debug.Contexts
| 11:27:20,658 INFO [Component] Component: org.jboss.seam.framework.currentDatetime, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentDatetime
| 11:27:20,658 INFO [Component] Component: org.jboss.seam.core.switcher, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.Switcher
| 11:27:20,658 INFO [Component] Component: org.jboss.seam.core.conversation, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Conversation
| 11:27:20,658 INFO [Component] Component: org.jboss.seam.framework.currentDate, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentDate
| 11:27:20,658 INFO [Component] Component: org.jboss.seam.core.facesMessages, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesMessages
| 11:27:20,668 INFO [Component] Component: org.jboss.seam.theme.themeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.theme.ThemeSelector
| 11:27:20,668 INFO [Component] Component: org.jboss.seam.core.persistenceContexts, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.PersistenceContexts
| 11:27:20,668 INFO [Component] Component: org.jboss.seam.core.safeActions, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.SafeActions
| 11:27:20,668 INFO [Component] Component: org.jboss.seam.core.validation, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Validation
| 11:27:20,678 INFO [Component] Component: org.jboss.seam.core.businessProcessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.BusinessProcessContext
| 11:27:20,678 INFO [Component] Component: org.jboss.seam.core.messages, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.Messages
| 11:27:20,678 INFO [Component] Component: org.jboss.seam.core.sessionContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.SessionContext
| 11:27:20,678 INFO [Component] Component: org.jboss.seam.core.conversationList, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationList
| 11:27:20,678 INFO [Component] Component: org.jboss.seam.core.facesPage, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.FacesPage
| 11:27:20,678 INFO [Component] Component: org.jboss.seam.core.conversationEntries, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationEntries
| 11:27:20,678 INFO [Component] Component: org.jboss.seam.debug.introspector, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.debug.Introspector
| 11:27:20,689 INFO [Component] Component: org.jboss.seam.core.pages, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Pages
| 11:27:20,689 INFO [Component] Component: org.jboss.seam.core.resourceBundle, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.ResourceBundle
| 11:27:20,699 INFO [Component] Component: org.jboss.seam.theme.theme, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.theme.Theme
| 11:27:20,699 INFO [Component] Component: role, scope: CONVERSATION, type: STATEFUL_SESSION_BEAN, class: za.co.fnb.card.RoleBean, JNDI: RoleBean/local
| 11:27:20,719 INFO [Component] Component: org.jboss.seam.core.localeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.LocaleSelector
| 11:27:20,729 INFO [Component] Component: org.jboss.seam.remoting.remotingConfig, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.RemotingConfig
| 11:27:20,729 INFO [Component] Component: org.jboss.seam.core.facesContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesContext
| 11:27:20,729 INFO [Component] Component: org.jboss.seam.core.httpError, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.HttpError
| 11:27:20,729 INFO [Component] Component: org.jboss.seam.securityManager, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.security.SeamSecurityManager
| 11:27:20,729 INFO [Component] Component: org.jboss.seam.core.uiComponent, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.UiComponent
| 11:27:20,729 INFO [Component] Component: org.jboss.seam.core.manager, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.Manager
| 11:27:20,739 INFO [Component] Component: org.jboss.seam.core.events, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Events
| 11:27:20,739 INFO [Component] Component: org.jboss.seam.core.userPrincipal, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.UserPrincipal
| 11:27:20,739 INFO [Component] Component: org.jboss.seam.persistence.persistenceProvider, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.persistence.HibernatePersistenceProvider
| 11:27:20,739 INFO [Component] Component: org.jboss.seam.core.interpolator, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Interpolator
| 11:27:20,739 INFO [Component] Component: org.jboss.seam.core.locale, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Locale
| 11:27:20,739 INFO [Component] Component: entityManager, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.ManagedPersistenceContext
| 11:27:20,739 INFO [Component] Component: org.jboss.seam.core.ejb, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Ejb
| 11:27:20,749 INFO [Component] Component: org.jboss.seam.core.eventContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.EventContext
| 11:27:20,749 INFO [Component] Component: org.jboss.seam.security.identity, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.security.Identity
| 11:27:20,749 INFO [Component] Component: org.jboss.seam.core.pageContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PageContext
| 11:27:20,749 INFO [Component] Component: org.jboss.seam.core.conversationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationContext
| 11:27:20,749 INFO [Component] Component: org.jboss.seam.framework.currentTime, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.framework.CurrentTime
| 11:27:20,809 INFO [Component] Component: org.jboss.seam.core.expressions, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Expressions
| 11:27:20,809 INFO [Component] Component: org.jboss.seam.core.pojoCache, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PojoCache
| 11:27:20,809 INFO [Lifecycle] starting up: org.jboss.seam.core.ejb
| 11:27:20,809 INFO [Ejb] starting the embedded EJB container
| 11:27:21,430 WARN [BeanSchemaBinding] You should use the 2.0 version of the Microcontainer xml. xmlns='urn:jboss:bean-deployer:2.0'
| 11:27:21,780 INFO [LocalTxDataSource] Bound datasource to JNDI name 'java:/DefaultDS'
| 11:27:22,241 INFO [LocalTxDataSource] Bound datasource to JNDI name 'java:/CardCCDatasource'
| 11:27:22,761 INFO [Ejb3Deployment] EJB3 deployment time took: 500
| 11:27:22,942 INFO [Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to za.co.fnb.card.RoleBean org.jboss.annotation.internal.DefaultInterceptorMarkerImpl@1de4dd8
| 11:27:22,962 INFO [Ejb3Deployment] EJB3 deployment time took: 201
| 11:27:23,092 INFO [MCKernelAbstraction] installing bean: persistence.units:unitName=CardCC with dependencies:
| 11:27:23,092 INFO [MCKernelAbstraction] AbstractDependencyMetaData@1469658{dependency=CardCCDatasource}
| 11:27:23,102 INFO [Version] Hibernate EntityManager 3.2.0.CR1
| 11:27:23,162 INFO [Version] Hibernate Annotations 3.2.0.CR1
| 11:27:23,182 INFO [Environment] Hibernate 3.2 cr2
| 11:27:23,182 INFO [Environment] hibernate.properties not found
| 11:27:23,182 INFO [Environment] Bytecode provider name : cglib
| 11:27:23,192 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling
| 11:27:23,312 INFO [Ejb3Configuration] Processing PersistenceUnitInfo [
| name: CardCC
| ...]
| 11:27:23,312 WARN [Ejb3Configuration] Persistence provider caller does not implements the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null.
| 11:27:23,322 INFO [Configuration] Reading mappings from resource: META-INF/orm.xml
| 11:27:23,322 INFO [Ejb3Configuration] [PersistenceUnit: CardCC] no META-INF/orm.xml found
| 11:27:23,422 INFO [ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
| 11:27:23,432 INFO [InjectedDataSourceConnectionProvider] Using provided datasource
| 11:27:23,833 INFO [SettingsFactory] RDBMS: PostgreSQL, version: 8.1.4
| 11:27:23,833 INFO [SettingsFactory] JDBC driver: PostgreSQL Native Driver, version: PostgreSQL 8.1 JDBC3 with SSL (build 405)
| 11:27:23,853 INFO [Dialect] Using dialect: org.hibernate.dialect.PostgreSQLDialect
| 11:27:23,913 INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
| 11:27:23,913 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
| 11:27:23,913 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
| 11:27:23,913 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled
| 11:27:23,913 INFO [SettingsFactory] Automatic session close at end of transaction: disabled
| 11:27:23,913 INFO [SettingsFactory] JDBC batch size: 15
| 11:27:23,913 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled
| 11:27:23,913 INFO [SettingsFactory] Scrollable result sets: enabled
| 11:27:23,913 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
| 11:27:23,913 INFO [SettingsFactory] Connection release mode: auto
| 11:27:23,923 INFO [SettingsFactory] Default batch fetch size: 1
| 11:27:23,923 INFO [SettingsFactory] Generate SQL with comments: disabled
| 11:27:23,923 INFO [SettingsFactory] Order SQL updates by primary key: disabled
| 11:27:23,923 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
| 11:27:23,933 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
| 11:27:23,933 INFO [SettingsFactory] Query language substitutions: {}
| 11:27:23,933 INFO [SettingsFactory] Second-level cache: enabled
| 11:27:23,933 INFO [SettingsFactory] Query cache: enabled
| 11:27:23,933 INFO [SettingsFactory] Cache provider: org.hibernate.cache.HashtableCacheProvider
| 11:27:23,933 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
| 11:27:23,933 INFO [SettingsFactory] Structured second-level cache entries: disabled
| 11:27:23,933 INFO [SettingsFactory] Query cache factory: org.hibernate.cache.StandardQueryCacheFactory
| 11:27:23,963 INFO [SettingsFactory] Echoing all SQL to stdout
| 11:27:23,963 INFO [SettingsFactory] Statistics: disabled
| 11:27:23,963 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
| 11:27:23,963 INFO [SettingsFactory] Default entity-mode: pojo
| 11:27:24,023 INFO [SessionFactoryImpl] building session factory
| 11:27:24,033 INFO [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured
| 11:27:24,033 INFO [SchemaUpdate] Running hbm2ddl schema update
| 11:27:24,033 INFO [SchemaUpdate] fetching database metadata
| 11:27:24,113 INFO [SchemaUpdate] updating schema
| 11:27:24,113 INFO [SchemaUpdate] schema update complete
| 11:27:24,123 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
| 11:27:24,123 INFO [UpdateTimestampsCache] starting update timestamps cache at region: org.hibernate.cache.UpdateTimestampsCache
| 11:27:24,123 INFO [StandardQueryCache] starting query cache at region: org.hibernate.cache.StandardQueryCache
| 11:27:24,123 INFO [MCKernelAbstraction] installing bean: persistence.units:jar=CardCC.jar,unitName=CardCC with dependencies:
| 11:27:24,133 INFO [MCKernelAbstraction] AbstractDependencyMetaData@f2164f{dependency=CardCCDatasource}
| 11:27:24,133 INFO [Ejb3Configuration] Processing PersistenceUnitInfo [
| name: CardCC
| ...]
| 11:27:24,133 WARN [Ejb3Configuration] Persistence provider caller does not implements the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null.
| 11:27:24,133 INFO [Configuration] Reading mappings from resource: META-INF/orm.xml
| 11:27:24,143 INFO [Ejb3Configuration] [PersistenceUnit: CardCC] no META-INF/orm.xml found
| 11:27:24,164 INFO [ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
| 11:27:24,164 INFO [InjectedDataSourceConnectionProvider] Using provided datasource
| 11:27:24,164 INFO [SettingsFactory] RDBMS: PostgreSQL, version: 8.1.4
| 11:27:24,164 INFO [SettingsFactory] JDBC driver: PostgreSQL Native Driver, version: PostgreSQL 8.1 JDBC3 with SSL (build 405)
| 11:27:24,164 INFO [Dialect] Using dialect: org.hibernate.dialect.PostgreSQLDialect
| 11:27:24,164 INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
| 11:27:24,164 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
| 11:27:24,164 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
| 11:27:24,164 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled
| 11:27:24,164 INFO [SettingsFactory] Automatic session close at end of transaction: disabled
| 11:27:24,164 INFO [SettingsFactory] JDBC batch size: 15
| 11:27:24,164 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled
| 11:27:24,164 INFO [SettingsFactory] Scrollable result sets: enabled
| 11:27:24,164 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
| 11:27:24,164 INFO [SettingsFactory] Connection release mode: auto
| 11:27:24,164 INFO [SettingsFactory] Default batch fetch size: 1
| 11:27:24,164 INFO [SettingsFactory] Generate SQL with comments: disabled
| 11:27:24,164 INFO [SettingsFactory] Order SQL updates by primary key: disabled
| 11:27:24,164 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
| 11:27:24,164 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
| 11:27:24,164 INFO [SettingsFactory] Query language substitutions: {}
| 11:27:24,164 INFO [SettingsFactory] Second-level cache: enabled
| 11:27:24,164 INFO [SettingsFactory] Query cache: enabled
| 11:27:24,164 INFO [SettingsFactory] Cache provider: org.hibernate.cache.HashtableCacheProvider
| 11:27:24,164 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
| 11:27:24,164 INFO [SettingsFactory] Structured second-level cache entries: disabled
| 11:27:24,164 INFO [SettingsFactory] Query cache factory: org.hibernate.cache.StandardQueryCacheFactory
| 11:27:24,164 INFO [SettingsFactory] Echoing all SQL to stdout
| 11:27:24,164 INFO [SettingsFactory] Statistics: disabled
| 11:27:24,164 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
| 11:27:24,164 INFO [SettingsFactory] Default entity-mode: pojo
| 11:27:24,164 INFO [SessionFactoryImpl] building session factory
| 11:27:24,164 INFO [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured
| 11:27:24,164 INFO [SchemaUpdate] Running hbm2ddl schema update
| 11:27:24,164 INFO [SchemaUpdate] fetching database metadata
| 11:27:24,164 INFO [SchemaUpdate] updating schema
| 11:27:24,164 INFO [SchemaUpdate] schema update complete
| 11:27:24,164 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
| 11:27:24,164 INFO [UpdateTimestampsCache] starting update timestamps cache at region: org.hibernate.cache.UpdateTimestampsCache
| 11:27:24,164 INFO [StandardQueryCache] starting query cache at region: org.hibernate.cache.StandardQueryCache
| 11:27:24,174 ERROR [AbstractKernelController] Error installing to Start: name=persistence.units:jar=CardCC.jar,unitName=CardCC state=Create
| javax.naming.NameAlreadyBoundException
| at org.jnp.server.NamingServer.bind(NamingServer.java:144)
| at org.jnp.interfaces.NamingContext.bind(NamingContext.java:567)
| at org.jnp.interfaces.NamingContext.bind(NamingContext.java:532)
| at org.jboss.ejb3.NonSerializableFactory.bind(NonSerializableFactory.java:94)
| at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:278)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:55)
| at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:107)
| at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
| at org.jboss.kernel.plugins.dependency.KernelControllerContextActions.dispatchJoinPoint(KernelControllerContextActions.java:100)
| at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$LifecycleAction.installAction(KernelControllerContextActions.java:582)
| at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$KernelControllerContextAction.install(KernelControllerContextActions.java:175)
| at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:593)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:346)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:438)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:379)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:225)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:151)
| at org.jboss.kernel.plugins.dependency.AbstractKernelController.install(AbstractKernelController.java:79)
| at org.jboss.kernel.plugins.dependency.AbstractKernelController.install(AbstractKernelController.java:73)
| at org.jboss.ejb3.MCKernelAbstraction.install(MCKernelAbstraction.java:91)
| at org.jboss.ejb3.Ejb3Deployment.startPersistenceUnits(Ejb3Deployment.java:626)
| at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:475)
| at org.jboss.ejb3.embedded.EJB3StandaloneDeployer.start(EJB3StandaloneDeployer.java:460)
| at org.jboss.seam.core.Ejb.startup(Ejb.java:54)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:102)
| at org.jboss.seam.Component.callComponentMethod(Component.java:1793)
| at org.jboss.seam.Component.callCreateMethod(Component.java:1741)
| at org.jboss.seam.Component.newInstance(Component.java:1730)
| at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:152)
| at org.jboss.seam.contexts.Lifecycle.endInitialization(Lifecycle.java:126)
| at org.jboss.seam.init.Initialization.init(Initialization.java:430)
| at org.jboss.seam.mock.SeamTest.init(SeamTest.java:686)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:623)
| at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:336)
| at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:170)
| at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:86)
| at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:163)
| at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:115)
| at org.testng.TestRunner.runWorkers(TestRunner.java:665)
| at org.testng.TestRunner.privateRun(TestRunner.java:636)
| at org.testng.TestRunner.run(TestRunner.java:513)
| at org.testng.SuiteRunner.runTest(SuiteRunner.java:279)
| at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:264)
| at org.testng.SuiteRunner.privateRun(SuiteRunner.java:244)
| at org.testng.SuiteRunner.run(SuiteRunner.java:168)
| at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:989)
| at org.testng.TestNG.runSuitesLocally(TestNG.java:953)
| at org.testng.TestNG.run(TestNG.java:701)
| at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:73)
| at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:122)
| 11:27:24,214 INFO [MCKernelAbstraction] installing bean: jboss.j2ee:jar=CardCC,name=RoleBean,service=EJB3 with dependencies:
| 11:27:24,594 INFO [EJBContainer] STARTED EJB: za.co.fnb.card.RoleBean ejbName: RoleBean
| 11:27:24,624 INFO [Initialization] done initializing Seam
| 11:27:24,674 FATAL [Ejb3Configuration] import.sqlO-:-Ofalse
| 11:27:24,674 FATAL [Ejb3Configuration] META-INF/ejb-jar.xmlO-:-Ofalse
| 11:27:24,674 FATAL [Ejb3Configuration] META-INF/persistence.xmlO-:-Ofalse
| 11:27:24,674 FATAL [Ejb3Configuration] seam.propertiesO-:-Ofalse
| 11:27:24,684 INFO [NamingHelper] JNDI InitialContext properties:{}
| 11:27:24,684 INFO [DatasourceConnectionProvider] Using datasource: java:/CardCCDatasource
| 11:27:24,684 INFO [SettingsFactory] RDBMS: PostgreSQL, version: 8.1.4
| 11:27:24,684 INFO [SettingsFactory] JDBC driver: PostgreSQL Native Driver, version: PostgreSQL 8.1 JDBC3 with SSL (build 405)
| 11:27:24,744 INFO [Dialect] Using dialect: org.hibernate.dialect.PostgreSQLDialect
| 11:27:24,744 INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.transaction.JDBCTransactionFactory
| 11:27:24,744 INFO [TransactionManagerLookupFactory] No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
| 11:27:24,744 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled
| 11:27:24,744 INFO [SettingsFactory] Automatic session close at end of transaction: disabled
| 11:27:24,744 INFO [SettingsFactory] JDBC batch size: 15
| 11:27:24,744 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled
| 11:27:24,744 INFO [SettingsFactory] Scrollable result sets: enabled
| 11:27:24,744 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
| 11:27:24,744 INFO [SettingsFactory] Connection release mode: auto
| 11:27:24,744 INFO [SettingsFactory] Default batch fetch size: 1
| 11:27:24,744 INFO [SettingsFactory] Generate SQL with comments: disabled
| 11:27:24,744 INFO [SettingsFactory] Order SQL updates by primary key: disabled
| 11:27:24,744 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
| 11:27:24,744 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
| 11:27:24,744 INFO [SettingsFactory] Query language substitutions: {}
| 11:27:24,744 INFO [SettingsFactory] Second-level cache: enabled
| 11:27:24,744 INFO [SettingsFactory] Query cache: enabled
| 11:27:24,744 INFO [SettingsFactory] Cache provider: org.hibernate.cache.EhCacheProvider
| 11:27:24,764 INFO [Ejb] stopping the embedded EJB container
| 11:27:24,764 INFO [SessionFactoryImpl] closing
| 11:27:24,764 ERROR [AbstractKernelController] Internal error during uninstall current state not found: name=persistence.units:jar=CardCC.jar,unitName=CardCC state=**ERROR** error=javax.naming.NameAlreadyBoundException: null
| 11:27:24,764 ERROR [AbstractKernelController] Internal error during uninstall: toState=ControllerState@1f5b4d1{Not Installed} context=name=persistence.units:jar=CardCC.jar,unitName=CardCC state=**ERROR** error=javax.naming.NameAlreadyBoundException: null
| FAILED: testListRoles
| java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException
| at java.lang.Class.getDeclaredConstructors0(Native Method)
| at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
| at java.lang.Class.getConstructor0(Unknown Source)
| at java.lang.Class.newInstance0(Unknown Source)
| at java.lang.Class.newInstance(Unknown Source)
| at org.hibernate.cfg.SettingsFactory.createCacheProvider(SettingsFactory.java:346)
| at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:220)
| at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1928)
| at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1211)
| at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:631)
| at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:760)
| at org.hibernate.ejb.Ejb3Configuration.createFactory(Ejb3Configuration.java:151)
| at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:205)
| at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:114)
| at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:37)
| at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:27)
| at za.co.fnb.card.test.RoleTest.testListRoles(RoleTest.java:27)
| ... Removed 21 stack frames
|
| ===============================================
| Role Test
| Tests run: 1, Failures: 1, Skips: 0
| ===============================================
|
|
| ===============================================
| Role Tests
| Total tests run: 1, Failures: 1, Skips: 0
| ===============================================
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991573#3991573
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991573
18 years, 1 month