[JBoss Portal] - setTitle() method didn't work
by sirishy
Hi
I'm using Jboss Portal 2.4 bundled version.
Portal page has two portlets say A and B.
There are several links in portlet A (I'm using index.jsp for displaying links in portlet A).
When I click on link_One in portlet A, the view_1.jsp is displayed in portlet B and when I click on link_two in portlet A, the view_2.jsp is displayed in portlet B.
I want to set the title for portlet B dynamically i.e., when portlet B loads the view_1.jsp it should set the portlet B title as "FIRST LINK" and when portlet B loads view_2.jsp, it should set the portlet B title as "SECOND LINK"
Currently in both view_1 and view_2 jsp's I have set the title with the syntax as mentioned below:
<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
<portlet:defineObjects/>
<%=renderResponse.setTitle("FIRST LINK")%>
<h3>Welcome to J2EE Services Site</h3>
But I'm getting the below error:
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor
kerThread.java:112)
at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 3 in the jsp file: /WEB-INF/jsp/view_1.jsp
Generated servlet error:
The method print(boolean) in the type JspWriter is not applicable for the argume
nts (void)
at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErro
rHandler.java:84)
at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher
.java:328)
at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java
:414)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:297)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext
.java:563)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:303)
... 260 more
Please help me in resolving this issue.
Jboss portal 2.4 version supports the setTitle()? If not, let me know.
Thanks in advance!
thanks,
sirishy
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991607#3991607
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991607
19 years, 7 months
[Security & JAAS/JBoss] - How to implement Federated SSO using our own custom logon ap
by njw
Apologies if these appear to be really dumb questions, but I've spent most of this week going round in circles trying make sense of what I need to do and have failed miserably so far.
What I'm looking for is for someone to 'point me in the right direction' regarding what I'd need to do to implement SSO and Federation at our site. Although I'm familiar with the web app side of things (Struts, JDBC etc) and we use Jboss as our production server, I'm new to SAML, JAAS etc so please be gentle with me :-)
Our long-term strategy will put us in the position of having :-
- web apps hosted on our own servers which communicate with our own systems
- web apps hosted on our own servers which communicate with systems hosted on third party sites, mainly via web services
- third party companies who host web apps on their servers with whom we need to federate
What we want to do is intercept requests from users who are not logged on and reroute them to our own custom-written logon application, which prompts for user and password details. Once they are logged on it will forward the user onto their chosen web app and/or federate to one of our third party companies.
The wep apps are deployed as war files developed using Struts (and possibly Spring in the future).
There are a couple of key considerations :-
- the 'logon' web app will go beyond the standard 'user & password' entry in that it will be a two-stage process. On the first page we want to ask for the user id and one other item of data (probably birthdate), then use this to populate a second page where we ask for specific characters from their password (e.g characters 5 and 9). The character positions will vary each time and the length of the password will vary between users. This application will interface to an Oracle database where we maintain and validate the user details.
- as well as the user id the web apps will also need other attributes relating to that person, particularly data needed to identify the user at the third party companies. These id's will be stored on the Oracle database
- we want to avoid implementing a logon page for each application and use just a single standalone war file to do this
- we dont need to federate from Day 1, intially all we want is SSO between our apps but we dont want to have to redevelop later to support federation
So, how do I tie all the above together into one seamless experience for the user ?
I've downloaded JBoss Federated SSO but failed at the first hurdle because we're not using LDAP. I can see that I need to implement my own LoginProvider but cant work out what form this should take (war, ear etc), how to deploy it, or how it relates to the logon app we need to build, or how our 'business' apps understand which user they are dealing with
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991605#3991605
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991605
19 years, 7 months
[EJB/JBoss] - Transaction demarcation ignored in stateless EJB using injec
by amitka
Hi,
I'm using EJB3 stateless beans and entities defined in the persistence API with Hibernate validation annotations, all running in the same instance of JBoss 4.0.5 in the same EAR file.
I have a stateless EJB with an injected EntityManager instance variable. Methods in this bean use this entityManager to persist entity objects. I'm running a remote debugger on JBoss and I stepping on the entityManager.persist(...) commands inside the stateless bean implementation. At the same time I'm querying the DB (MySQL). I see that right after each persist invocation, the table includes another row, meaning JBoss is committing the transaction right after the persist, and not in the end of this method invocation.
I also tried throwing an exception from the bean between 2 persist commands, and I actually see that the DB contains only one row (representing the first persist).
This is strange, since as far as I understand, the entire invocation should be atomic. Have I misunderstood something...?
I tried marking the entire EJB with @TransactionManagement(TransactionManagementType.CONTAINER) and marking the method with several @TransactionAttributes (REQUIRED, REQUIRES_NEW).
A bit about the architecture of my application:
I have a servlet getting a reference from the JNDI to the stateless bean, which in turn uses an injected entity manager to persist the just-created entities.
A bit about the structure of my application:
The servlet is in a WAR, the stateless bean is in another JAR, and the entities are in a third archive (JAR).
The persistence.xml file is in the same JAR with the stateless bean, and it defines the persistence unit in the following manner:
<persistence-unit name="mycontext">
which means that I'm injecting this persistence unit to the EJB in the following manner:
@PersistenceContext(name = "mycontext") private EntityManager entityManager;
I'm getting the reference to that EJB from the servlet in the following manner:
(AuthenticationLocal)(new InitialContext().lookup(AuthenticationLocal.LocalJndiName)
(AuthenticationLocal.LocalJndiName is actually defined in AuthenticationLocal the following way:
public static final String LocalJndiName = EAR_FILE_NAME + "/" + AuthenticationBean.class.getSimpleName() + "/local";
Thanks,
Amit Kasher
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991601#3991601
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991601
19 years, 7 months
[JBoss Seam] - Re: Possible component.xml problem in 1.1.0 CR2
by quilleashm
Ok thanks. I've played around more and got a bit further but I think I'm in to work-around territory rather than fixing the problem properly.
Here is my current components.xml
| <?xml version="1.0" encoding="UTF-8"?>
| <components xmlns="http://jboss.com/products/seam/components"
| xmlns:core="http://jboss.com/products/seam/core"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation=
| "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-1.1.xsd
| http://jboss.com/products/seam/components http://jboss.com/products/seam/components-1.1.xsd">
|
| <core:init debug="true"/>
|
| <!-- adding this makes the NPE go away -->
| <core:locale-selector/>
|
| <core:managed-hibernate-session name="referenceSession"/>
|
| <core:hibernate-session-factory name="hibernateSessionFactory"/>
|
| </components>
|
I added the locale-selector component here explicitly which forces it to load and means my web page serves up properly. However I still get a couple of other NPEs.
| WARNING: phase(RESTORE_VIEW 1,com.sun.faces.context.FacesContextImpl@6fe350) threw exception: java.lang.NullPointerException null
| org.jboss.seam.jsf.AbstractSeamPhaseListener.beforePhase(AbstractSeamPhaseListener.java:110)
| org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:58)
| com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:214)
| com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:113)
| javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
| org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:270)
| org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:191)
| org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:227)
| org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
| org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
| org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
| org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
| org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:211)
| org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:817)
| org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:623)
| org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:444)
| java.lang.Thread.run(Thread.java:595)
|
| 06-Oct-2006 11:03:27 com.sun.faces.lifecycle.LifecycleImpl phase
| WARNING: phase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@6fe350) threw exception: java.lang.IllegalStateException: No Manager could be created, make sure the Component exists in application scope No Manager could be created, make sure the Component exists in application scope
| org.jboss.seam.core.Manager.instance(Manager.java:254)
| org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:184)
| org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:51)
| com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:214)
| com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
| javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
| org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:270)
| org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:191)
| org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:227)
| org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
| org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
| org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
| org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
| org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:211)
| org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:817)
| org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:623)
| org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:444)
| java.lang.Thread.run(Thread.java:595)
|
Which are both similar to the locale problem. I found that the Component.forName(name) (which looks up components in the application context) call in Component.getInstance() is returning null. It was doing this for the locale-setting until I included it my components.xml but I don't think I should be putting all the core components in my components file.
I will keep investigating but any insight or ideas about why the core components don't seem to be loading automatically would be appreciated.
Thanks.
Mike.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991600#3991600
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991600
19 years, 7 months
[Remoting] - Re: No connection possible after an illegitimate attempt
by Clarich
I don't know if this matches the previous mentioned issue or if this is an issue for its own, but I have the problem that when running two Clients using Transporters to connect to a target POJO on the server side and using SSL to do this, always the second client is handled as beeing the first client.
I mean when the first Client is trusted by the Server, the second client is also, althogh it should not. The other way round, if the first Client is not trusted the second is not ,too, althogh it should be trusted.
here is some sample code describing my problem:
---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(String user) {
| if (user == "user1") {
| System.setProperty(SSLSocketBuilder.STANDARD_KEY_STORE_FILE_PATH,
| "./certificates/client/user1.keystore");
| System.setProperty(SSLSocketBuilder.STANDARD_KEY_STORE_PASSWORD,
| "client");
| System.setProperty(SSLSocketBuilder.STANDARD_TRUST_STORE_FILE_PATH,
| "./certificates/client/user1.truststore");
| System.setProperty(SSLSocketBuilder.STANDARD_TRUST_STORE_PASSWORD,
| "client");
| System.setProperty(InvokerLocator.FORCE_REMOTE, "true");
| }
| if (user == "user2") {
| System.setProperty(SSLSocketBuilder.STANDARD_KEY_STORE_FILE_PATH,
| "./certificates/client/user2.keystore");
| System.setProperty(SSLSocketBuilder.STANDARD_KEY_STORE_PASSWORD,
| "client");
| System.setProperty(SSLSocketBuilder.STANDARD_TRUST_STORE_FILE_PATH,
| "./certificates/client/user2.truststore");
| System.setProperty(SSLSocketBuilder.STANDARD_TRUST_STORE_PASSWORD,
| "client");
| System.setProperty(InvokerLocator.FORCE_REMOTE, "true");
| }
|
| try {
| locator = new InvokerLocator("sslsocket://127.0.0.1:7070");
| } catch (MalformedURLException e) {
| e.printStackTrace();
| }
| }
|
| /**
| * reqests the Server for an handle
| */
| public void requestHandle() {
| HandlerInterface handler = null;
| try {
| handler = (HandlerInterface) TransporterClient
| .createTransporterClient(locator, HandlerInterface.class);
| System.out.println("server returned: " + handler.doHandle());
|
| } catch (Exception e) {
| e.printStackTrace();
| } finally {
| if (handler != null) {
| TransporterClient.destroyTransporterClient(handler);
| }
| }
| }
|
| public static void main(String[] args) {
| System.out.println("starting client for claudia");
| Client client = new Client("user1");// is trusted
|
| // should print a String
| client.requestHandle();
|
| System.out.println("starting client for michael");
| Client client2 = new Client("user2");// is not trusted
|
| // should not print a String but throw an exception
| client2.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 {
|
| private static TransporterServer server;
|
| /**
| * runs and starts the Server
| *
| * @param args
| */
| public static void main(String[] args) {
| String locatorURL = "sslsocket://127.0.0.1:7070";
|
| HandlerInterface handler = new Handler();
| try {
| Map config = getConfiguration();
| server = TransporterServer.createTransporterServer(locatorURL,
| handler, HandlerInterface.class.getName(), config, false);
| server.start();
| } catch (Exception e) {
| e.printStackTrace();
| }
|
| }
|
| /**
| * creates a ServerSocketFactory that is configured by using an
| * SSLSocketBuilder
| *
| * @return configuration Map
| * @throws IOException
| * if the Factory could not be created
| */
| private static HashMap getConfiguration() {
| HashMap<String, String> sslConfig = new HashMap<String, String>();
|
| sslConfig.put(SSLSocketBuilder.REMOTING_KEY_STORE_FILE_PATH,
| "./certificates/server/Server.keystore");
| sslConfig.put(SSLSocketBuilder.REMOTING_KEY_STORE_PASSWORD, "pass");
| sslConfig.put(SSLSocketBuilder.REMOTING_TRUST_STORE_FILE_PATH,
| "./certificates/server/Server.truststore");
| sslConfig.put(SSLSocketBuilder.REMOTING_TRUST_STORE_PASSWORD,
| "pass");
| sslConfig.put(SSLSocketBuilder.REMOTING_CLIENT_AUTH_MODE,
| SSLSocketBuilder.CLIENT_AUTH_MODE_NEED);
| sslConfig.put("numAcceptThreads", "2");
| return sslConfig;
| }
| }
|
---HandlerInterface (POJO) returning a String to the Client if trusted---
| package server;
|
| public interface HandlerInterface {
|
| public abstract String doHandle();
|
| }
|
The keystore of user1 is stored in the servers truststore, but the keystore of user2 is not
I switched around the two client in the Client.main method and got the result I described above.
Could anybody tell me why this happens? Might this be another Bug?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991599#3991599
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991599
19 years, 7 months
[Microcontainer] - Re: JMX Decorator for POJOs - suggestion
by adrian@jboss.org
No because this breaks the whole idea of "do one thing well".
The microcontainer is a dependency state machine.
Besides, despite your assertion only a small percentage of POJOs end up in JNDI
and then not always trivially, e.g. they need to wrapped in object factories.
There already is a mechansim to add adhoc metadata to beans that can
be processed by pluggable interceptors so you can do
| <bean ...>
| <annotation>org.jboss.jndi.JNDIBinding("blah")</annotation>
|
| or
|
| <bean annotation org.jboss.jndi.JNDIBinding(value="blah" objectFactory=com.acme.SomeObjectFactory)
|
Which makes this much more extenisbe in terms of matching the
metadata (the annotation) to the implementation (the aspect).
Additionally, you can meta-annotate the metadata to say it requires another service,
e.g.
| @Depends("jboss:service=Naming")
| public @interface JNDIBinding
| ...
|
So you know beans annotated with JNDIBinding must wait for the Naming Service
to start.
This is a much more generic mechanism than the "hacky" approach you describe.
1) It requires not extra handling in the microcontainer
2) You can use AOP to map the metadata to any aspect implementation you like
3) The metadata is extensible as new requirements are understood.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991598#3991598
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991598
19 years, 7 months
[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
19 years, 7 months
[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
19 years, 7 months
[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
19 years, 7 months
[JBoss jBPM] - Re: Extension point for Transitions
by pirx
"kukeltje" wrote : why not simply use an event on the transition and set a processvariable. Even more backwards compatible and not that different.
|
I definetly agree with you that extending jPDL should be the last option. But
in my use case I need to obtain list of transitions of a certain type
'manual' which can be presented to a user in a UI for selection. Transitions
of type 'timed', which are triggered by some schedule should be hidden
instead. I couldn't find any existing jBPM feature which supports this sort of
use case, but if you could point out how to do this right now, I would be
very happy.
BTW, IMO my suggestion is in so far consequent as every other central
element in jPDL like Actions or Nodes are customizable via extension
except for Transitions. And it is not an extension to jPDL syntax but
only yet another hook, so I don't see any problems to introduce this into a
minor release.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991560#3991560
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991560
19 years, 7 months