[jBPM] - Any help with Jbpm-Console problem please.
by Luis Victor
Luis Victor [https://community.jboss.org/people/keymaker19] created the discussion
"Any help with Jbpm-Console problem please."
To view the discussion, visit: https://community.jboss.org/message/752908#752908
--------------------------------------------------------------
I challenge to the members of the community to download the 5.3 final release follow the documentation instructions and test the jbpm-demo evaluation process. If you login as mary and john and see the tasks assigned for every one, please send me your feedback.
Is very frustating i have months in the jbpm console and human task issue and i don't have a solid answer from the master members. Is very painful spend a lot time i even build from source the tool and get the same problem. My hands are tied i can´t advance in my work. I think that is responsability of the community to solve this crucial issues. Please publish something that we can download and fix this. Is not appropiated that the 5.3 final release be avalaible for download in internet with this issues. Please send me feedback.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/752908#752908]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 5 months
[Beginner's Corner] - Migrating from glassfish v3 to JBoss 6.1+JSF
by cgmedina
cgmedina [https://community.jboss.org/people/cgmedina] created the discussion
"Migrating from glassfish v3 to JBoss 6.1+JSF"
To view the discussion, visit: https://community.jboss.org/message/753140#753140
--------------------------------------------------------------
Hi everyone, this is my first post, I'm kinda newbie in jboss AS and I started using JBoss v 6.1 Final since JBoss AS 7.1 is not recognized by netbeans 7.1. Here is my story:
I have a fully developed working application on glassfish v3.1.1. My application uses JSF 1.2, it also connects to a PostgreSQL 9.1 database and uses JMS queues for asynchronous messaging. It's all configured and it works on Glassfish without any problem. Due tu user requirements I have to migrate this application from glassfish v3 to any version of JBoss (it doesn't matter which version it is but I tried installing the latest and my Netbeans version didn't recognized it, so I had to work on Jboss AS 6.1 final version). By now I use a group of batch files in order to manage the installation, configuration and deployment for my application on glassfish. Those batch files work great, they communicate to Glassfish using the asadmin command, so I don't have to modify any xml configuration file for it. These are the steps covered for my batch files:
1. Start domain: it starts the glassfish server.
2. Server config: it configures the following server parameters:
* server-config.security-service.default-principal=principal
* server-config.security-service.default-principal-password=password
* server-config.security-service.mapped-principal-class=CustomPrincipalImplClass
* server-config.security-service.activate-default-principal-to-role-mapping=false
* server-config.http-service.virtual-server.server.property.sso-enabled="true"
* server-config.http-service.virtual-server.server.property.sso-max-inactive-seconds="300"
* server-config.http-service.virtual-server.server.property.sso-reap-interval-seconds="60"
3. Create JDBC: it creates the JDNC connection pool and JDBC resources for my project (I only use one resource and one connection pool as well)
4. Create JMS: it creates two MessageFactoryPools and three message queues for each (one for request, one for reply and one for return)
5. Deploy: It deploys my .ear application (including all its .war and ejb instances and dependencies)
6. Copy properties: which copies the project properties(relative path of project resources, which are used by my classes) into a resources folder inside the glassfish server.
It would be great if I could execute the same scripts that I use on glassfish with JBoss, and if I only would have to change the commands received by the command line. But sadly it doesn't work in that way.
My first attempt was trying to find a command line interface for JBoss that worked in the same way Glassfish asadmin command did, it wasn't successfull. (pleas somebody correct me if I'm wrong) It turned out that JBoss AS 7 comes with an CLI but previous versions don't.
So I started studying the JBoss AS structure and trying to figure out the way for at least deploying my application on JBoss AS from Netbeans. Those attempts weren't successfull either, so I decided to post my current situation telling you my story first, so you can understand what my goal is: I want to have my application on JBoss AS 6.1.1 with the least of changes to my source code and I want to be able to configure it in a pretty similar way as I do in glassfish.
I have the following file structure in my project: mhzap101.ear which includes the ejb classes and the war files of the application.
My application.xml file includes the following
<?xml version="1.0" encoding="UTF-8"?>
<application version="5" xmlns=" http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd http://java.sun.com/xml/ns/javaee/application_5.xsd">
<display-name>mhzap101</display-name>
<module>
<ejb>mhzap101-ejb-business.jar</ejb>
</module>
<module>
<ejb>mhzap101-ejb-core.jar</ejb>
</module>
<module>
<ejb>mhzap101-ejb-persistence.jar</ejb>
</module>
<module>
<web>
<web-uri>mhzap101-web.war</web-uri>
<context-root>/mhzap101-web</context-root>
</web>
</module>
<module>
<web>
<web-uri>mhzap101-web-filtro.war</web-uri>
<context-root>/mhzap101-web-filtro</context-root>
</web>
</module>
<module>
<web>
<web-uri>mhzap101-web-rastro.war</web-uri>
<context-root>/mhzap101-web-rastro</context-root>
</web>
</module>
<module>
<web>
<web-uri>mhzap101-web-recurso.war</web-uri>
<context-root>/mhzap101-web-recurso</context-root>
</web>
</module>
<module>
<web>
<web-uri>mhzap101-web-recurso-filtro.war</web-uri>
<context-root>/mhzap101-web-recurso-filtro</context-root>
</web>
</module>
<module>
<web>
<web-uri>mhzap101-web-usuario.war</web-uri>
<context-root>/mhzap101-web-usuario</context-root>
</web>
</module>
<module>
<web>
<web-uri>mhzap101-web-conjunto-segmento.war</web-uri>
<context-root>/mhzap101-web-conjunto-segmento</context-root>
</web>
</module>
<module>
<web>
<web-uri>mhzap101-web-rol.war</web-uri>
<context-root>/mhzap101-web-rol</context-root>
</web>
</module>
<module>
<web>
<web-uri>mhzap101-web-configuracion-fija.war</web-uri>
<context-root>/mhzap101-web-configuracion-fija</context-root>
</web>
</module>
<module>
<web>
<web-uri>mhzap101-web-configuracion-manual.war</web-uri>
<context-root>/mhzap101-web-configuracion-manual</context-root>
</web>
</module>
<module>
<web>
<web-uri>mhzap101-web-gestion-pension.war</web-uri>
<context-root>/mhzap101-web-gestion-pension</context-root>
</web>
</module>
<module>
<web>
<web-uri>mhzap101-web-gestion-censo.war</web-uri>
<context-root>/mhzap101-web-gestion-censo</context-root>
</web>
</module>
<module>
<web>
<web-uri>mhzap101-web-proceso.war</web-uri>
<context-root>/mhzap101-web-proceso</context-root>
</web>
</module>
<module>
<web>
<web-uri>mhzap101-web-consulta.war</web-uri>
<context-root>/mhzap101-web-consulta</context-root>
</web>
</module>
<security-role>
<description>Sper Gestor</description>
<role-name>SuperGestor</role-name>
</security-role>
<security-role>
<description>Sper Lector</description>
<role-name>SuperLector</role-name>
</security-role>
<security-role>
<description>Operador</description>
<role-name>Operador</role-name>
</security-role>
<security-role>
<description>Registrador de Control de Acceso</description>
<role-name>RegistradorControlAcceso</role-name>
</security-role>
<security-role>
<description>Procesador de Control de Acceso</description>
<role-name>ProcesadorControlAcceso</role-name>
</security-role>
<security-role>
<description>Lector de Control de Acceso</description>
<role-name>LectorControlAcceso</role-name>
</security-role>
<security-role>
<description>Configurador de Control de Acceso</description>
<role-name>ConfiguradorControlAcceso</role-name>
</security-role>
<security-role>
<description>Gestor de Control de Acceso</description>
<role-name>GestorControlAcceso</role-name>
</security-role>
<security-role>
<description>Registrador de Recursos de Pensiones</description>
<role-name>RegistradorRecursosPensiones</role-name>
</security-role>
<security-role>
<description>Procesador de Recursos de Pensiones</description>
<role-name>ProcesadorRecursosPensiones</role-name>
</security-role>
<security-role>
<description>Lector de Recursos de Pensiones</description>
<role-name>LectorRecursosPensiones</role-name>
</security-role>
<security-role>
<description>Configurador de Recursos de Pensiones</description>
<role-name>ConfiguradorRecursosPensiones</role-name>
</security-role>
<security-role>
<description>Gestor de Recursos de Pensiones</description>
<role-name>GestorRecursosPensiones</role-name>
</security-role>
<security-role>
<description>Registrador de Recursos de Censos</description>
<role-name>RegistradorRecursosCensos</role-name>
</security-role>
<security-role>
<description>Procesador de Recursos de Censos</description>
<role-name>ProcesadorRecursosCensos</role-name>
</security-role>
<security-role>
<description>Lector de Recursos de Censos</description>
<role-name>LectorRecursosCensos</role-name>
</security-role>
<security-role>
<description>Configurador de Recursos de Censos</description>
<role-name>ConfiguradorRecursosCensos</role-name>
</security-role>
<security-role>
<description>Gestor de Recursos de Censos</description>
<role-name>GestorRecursosCensos</role-name>
</security-role>
</application>
each of my web.xml files inside my war files look pretty similar to this:
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns=" http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>server</param-value>
</context-param>
<context-param>
<param-name>com.sun.faces.numberOfLogicalViews </param-name>
<param-value>45</param-value>
</context-param>
<context-param>
<param-name>com.sun.faces.numberOfViewsInSession</param-name>
<param-value>45</param-value>
</context-param>
<context-param>
<param-name>com.sun.faces.validateXml</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>com.sun.faces.verifyObjects</param-name>
<param-value>false</param-value>
</context-param>
<filter>
<filter-name>UploadFilter</filter-name>
<filter-class>com.sun.webui.jsf.util.UploadFilter</filter-class>
<init-param>
<description>The maximum allowed upload size in bytes. If this is set to a negative value, there is no maximum. The default value is 1000000.</description>
<param-name>maxSize</param-name>
<param-value>2000000</param-value>
</init-param>
<init-param>
<description>The size (in bytes) of an uploaded file which, if it is exceeded, will cause the file to be written directly to disk instead of stored in memory. Files smaller than or equal to this size will be stored in memory. The default value is 4096.</description>
<param-name>sizeThreshold</param-name>
<param-value>4096</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>UploadFilter</filter-name>
<servlet-name>Faces Servlet</servlet-name>
</filter-mapping>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<init-param>
<param-name>javax.faces.LIFECYCLE_ID</param-name>
<param-value>com.sun.faces.lifecycle.PARTIAL</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>ExceptionHandlerServlet</servlet-name>
<servlet-class>com.sun.errorhandler.ExceptionHandler</servlet-class>
<init-param>
<param-name>errorHost</param-name>
<param-value>localhost</param-value>
</init-param>
<init-param>
<param-name>errorPort</param-name>
<param-value>24444</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>ThemeServlet</servlet-name>
<servlet-class>com.sun.webui.theme.ThemeServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ExceptionHandlerServlet</servlet-name>
<url-pattern>/error/ExceptionHandler</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ThemeServlet</servlet-name>
<url-pattern>/theme/*</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<error-page>
<exception-type>javax.servlet.ServletException</exception-type>
<location>/error/ExceptionHandler</location>
</error-page>
<error-page>
<exception-type>java.io.IOException</exception-type>
<location>/error/ExceptionHandler</location>
</error-page>
<error-page>
<exception-type>javax.faces.FacesException</exception-type>
<location>/error/ExceptionHandler</location>
</error-page>
<error-page>
<exception-type>com.sun.rave.web.ui.appbase.ApplicationException</exception-type>
<location>/error/ExceptionHandler</location>
</error-page>
<jsp-config>
<jsp-property-group>
<url-pattern>*.jspf</url-pattern>
<is-xml>true</is-xml>
</jsp-property-group>
</jsp-config>
<security-constraint>
<web-resource-collection>
<web-resource-name>Area Publica</web-resource-name>
<description>Hojas de Estilo, Imagenes, etc</description>
<url-pattern>/resources/*</url-pattern>
</web-resource-collection>
</security-constraint>
<security-constraint>
<web-resource-collection>
<web-resource-name>Area Privada</web-resource-name>
<description>Gestion del Programa de Pension Alimentaria</description>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>SuperGestor</role-name>
<role-name>SuperLector</role-name>
<role-name>Operador</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>FORM</auth-method>
<realm-name/>
<form-login-config>
<form-login-page>/login.jsp</form-login-page>
<form-error-page>/error.jsp</form-error-page>
</form-login-config>
</login-config>
<ejb-local-ref>
<description>FacadeBeanLocator EJB Local Reference</description>
<ejb-ref-name>ejb/FacadeBeanLocator</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<local>com.egt.ejb.persistence.FacadeBeanLocatorLocal</local>
<ejb-link>mhzap101-ejb-persistence.jar#FacadeBeanLocatorBean</ejb-link>
</ejb-local-ref>
<resource-ref>
<description>Visual Web generated DataSource Reference</description>
<res-ref-name>jdbc/mhzap101</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</web-app>
when I try to deploy my application I get the following error messages:
Deployment "vfs:///C:/JBoss/server/default/deploy/mhzap101.ear" is in error due to the following reason(s): java.lang.ClassNotFoundException: com.sun.errorhandler.ExceptionHandler from BaseClassLoader@1cdbc83{vfs:///C:/JBoss/server/default/deploy/mhzap101.ear/mhzap101-web-configuracion-fija.war/}
at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1228) [:2.2.0.GA (http://2.2.0.ga/)]
at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:905) [:2.2.0.GA (http://2.2.0.ga/)]
at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:87) [:6.0.0.Final]
at org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllComplete(ProfileDeployerPluginRegistry.java:107) [:0.2.2]
at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:135) [:6.0.0.Final]
at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.Final]
at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_25]
It also shows the following messages:
0:00:52,818 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to PostClassLoader: name=vfs:///C:/JBoss/server/default/deploy/mhzap101.ear state=ClassLoader mode=Manual requiredState=PostClassLoader: org.jboss.deployers.spi.DeploymentException: Error during deploy: vfs:///C:/JBoss/server/default/deploy/mhzap101.ear
at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) [: http://2.2.0.ga/ 2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:185) [: http://2.2.0.ga/ 2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [: http://2.2.0.ga/ 2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [: http://2.2.0.ga/ 2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [: http://2.2.0.ga/ 2.2.0.GA]
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar: http://2.2.0.ga/ 2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar: http://2.2.0.ga/ 2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar: http://2.2.0.ga/ 2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar: http://2.2.0.ga/ 2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar: http://2.2.0.ga/ 2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar: http://2.2.0.ga/ 2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar: http://2.2.0.ga/ 2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar: http://2.2.0.ga/ 2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983) [: http://2.2.0.ga/ 2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076) [: http://2.2.0.ga/ 2.2.0.GA]
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) [: http://2.2.0.ga/ 2.2.0.GA]
at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106) [:6.0.0.Final]
at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:143) [:0.2.2]
at org.jboss.profileservice.plugins.deploy.actions.DeploymentStartAction.doPrepare(DeploymentStartAction.java:98) [:0.2.2]
at org.jboss.profileservice.management.actions.AbstractTwoPhaseModificationAction.prepare(AbstractTwoPhaseModificationAction.java:101) [:0.2.2]
at org.jboss.profileservice.management.ModificationSession.prepare(ModificationSession.java:87) [:0.2.2]
at org.jboss.profileservice.management.AbstractActionController.internalPerfom(AbstractActionController.java:234) [:0.2.2]
at org.jboss.profileservice.management.AbstractActionController.performWrite(AbstractActionController.java:213) [:0.2.2]
at org.jboss.profileservice.management.AbstractActionController.perform(AbstractActionController.java:150) [:0.2.2]
at org.jboss.profileservice.plugins.deploy.AbstractDeployHandler.startDeployments(AbstractDeployHandler.java:168) [:0.2.2]
at org.jboss.profileservice.management.upload.remoting.DeployHandlerDelegate.startDeployments(DeployHandlerDelegate.java:74) [:6.0.0.Final]
at org.jboss.profileservice.management.upload.remoting.DeployHandler.invoke(DeployHandler.java:156) [:6.0.0.Final]
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:898) [:6.0.0.Final]
at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:791) [:6.0.0.Final]
at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:744) [:6.0.0.Final]
at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:548) [:6.0.0.Final]
at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:234) [:6.0.0.Final]
Caused by: java.lang.Error: Error visiting "/C:/JBoss/server/default/deployers/jsf.deployer/Mojarra-2.0/jsf-libs/jsf-api-2.0.3-b05.jar/javax/faces/model/DataModel$DataModelIterator.class"
at org.jboss.classloading.plugins.vfs.VFSResourceVisitor.visit(VFSResourceVisitor.java:268) [jboss-classloading-vfs.jar: http://2.2.0.ga/ 2.2.0.GA]
at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:408) [jboss-vfs.jar: http://3.0.0.ga/ 3.0.0.GA]
at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:410) [jboss-vfs.jar: http://3.0.0.ga/ 3.0.0.GA]
at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:410) [jboss-vfs.jar: http://3.0.0.ga/ 3.0.0.GA]
at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:410) [jboss-vfs.jar: http://3.0.0.ga/ 3.0.0.GA]
at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:396) [jboss-vfs.jar: http://3.0.0.ga/ 3.0.0.GA]
at org.jboss.classloading.plugins.vfs.VFSResourceVisitor.visit(VFSResourceVisitor.java:102) [jboss-classloading-vfs.jar: http://2.2.0.ga/ 2.2.0.GA]
at org.jboss.deployers.vfs.plugins.classloader.VFSDeploymentClassLoaderPolicyModule.visit(VFSDeploymentClassLoaderPolicyModule.java:181) [: http://2.2.0.ga/ 2.2.0.GA]
at org.jboss.scanning.plugins.DeploymentUnitScanner.scan(DeploymentUnitScanner.java:111) [: http://1.0.0.ga/ 1.0.0.GA]
at org.jboss.scanning.spi.helpers.UrlScanner.scan(UrlScanner.java:96) [: http://1.0.0.ga/ 1.0.0.GA]
at org.jboss.scanning.deployers.ScanningDeployer.deploy(ScanningDeployer.java:95) [: http://1.0.0.ga/ 1.0.0.GA]
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [: http://2.2.0.ga/ 2.2.0.GA]
... 30 more
Caused by: java.lang.RuntimeException: Error visiting resource: VFSResourceContext @ javax/faces/model/DataModel$DataModelIterator.class / BaseClassLoader@8df350{vfs:///C:/JBoss/server/default/deploy/mhzap101.ear}, visitor: org.jboss.scanning.annotations.plugins.GenericAnnotationVisitor@41bcb7
at org.jboss.scanning.plugins.visitor.IgnoreSetErrorHandler.handleError(IgnoreSetErrorHandler.java:56) [: http://1.0.0.ga/ 1.0.0.GA]
at org.jboss.scanning.plugins.visitor.ReflectResourceVisitor.visit(ReflectResourceVisitor.java:91) [: http://1.0.0.ga/ 1.0.0.GA]
at org.jboss.scanning.annotations.plugins.AnnotationsScanningPlugin.visit(AnnotationsScanningPlugin.java:89) [: http://1.0.0.ga/ 1.0.0.GA]
at org.jboss.scanning.spi.helpers.ScanningPluginWrapper.visit(ScanningPluginWrapper.java:112) [: http://1.0.0.ga/ 1.0.0.GA]
at org.jboss.classloading.plugins.visitor.FederatedResourceVisitor.visit(FederatedResourceVisitor.java:101) [jboss-classloading.jar: http://2.2.0.ga/ 2.2.0.GA]
at org.jboss.classloading.plugins.vfs.VFSResourceVisitor.visit(VFSResourceVisitor.java:264) [jboss-classloading-vfs.jar: http://2.2.0.ga/ 2.2.0.GA]
... 41 more
Caused by: java.lang.reflect.MalformedParameterizedTypeException
at sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl.validateConstructorArguments(ParameterizedTypeImpl.java:42) [:1.6.0_25]
at sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl.<init>(ParameterizedTypeImpl.java:35) [:1.6.0_25]
at sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl.make(ParameterizedTypeImpl.java:77) [:1.6.0_25]
at sun.reflect.generics.factory.CoreReflectionFactory.makeParameterizedType(CoreReflectionFactory.java:86) [:1.6.0_25]
at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:122) [:1.6.0_25]
at sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:31) [:1.6.0_25]
at sun.reflect.generics.repository.ConstructorRepository.getParameterTypes(ConstructorRepository.java:76) [:1.6.0_25]
at java.lang.reflect.Constructor.getGenericParameterTypes(Constructor.java:238) [:1.6.0_25]
at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.getConstructors(IntrospectionTypeInfoFactoryImpl.java:166) [jboss-reflect.jar: http://2.2.0.ga/ 2.2.0.GA]
at org.jboss.reflect.plugins.ClassInfoImpl.getDeclaredConstructors(ClassInfoImpl.java:446) [jboss-reflect.jar: http://2.2.0.ga/ 2.2.0.GA]
at org.jboss.scanning.plugins.visitor.ClassHierarchyResourceVisitor.handleClass(ClassHierarchyResourceVisitor.java:79) [: http://1.0.0.ga/ 1.0.0.GA]
at org.jboss.scanning.plugins.visitor.ReflectResourceVisitor.doVisit(ReflectResourceVisitor.java:108) [: http://1.0.0.ga/ 1.0.0.GA]
at org.jboss.scanning.plugins.visitor.ReflectResourceVisitor.visit(ReflectResourceVisitor.java:86) [: http://1.0.0.ga/ 1.0.0.GA]
... 45 more
If anyone could give me some ideas for solving my problem I would appreciate it!!! I don't know what to do
P.D. I included the Postgres-DS file for my datasource I can't find out if it works good because I can't deploy my application.
Thanks a lot
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/753140#753140]
Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 5 months
[jBPM] - Re: jBPM 5.3 jbpm-console problem
by Franck cdsosi
Franck cdsosi [https://community.jboss.org/people/cdsosi] created the discussion
"Re: jBPM 5.3 jbpm-console problem"
To view the discussion, visit: https://community.jboss.org/message/752511#752511
--------------------------------------------------------------
Hi community,
Just some words to say that I am facing same kind of problems as stated in a similar post opened by me ( https://community.jboss.org/thread/203147 https://community.jboss.org/thread/203147).
I think there is a lot of users in the same situation and it is really disappointing not to get this jBPM console working as Human Tasks are quite (!) important within a business process. I can't figure myself on how using jBPM5 without Human Task showing in jBPM console :(
I have many stack trace messages in server.log but do not know how to fix them. Some seems to be related to the running OS (e.g. https://issues.jboss.org/browse/JBPM-3747 https://issues.jboss.org/browse/JBPM-3747)...
=> I may be a good thing to tell which OS we are running jBPM5 as this may be a hint even if a Java / ant environnement is supposed to be running on any Java compliant OS...
I noticed that there were problems in using the jBPM console to get human tasks appearing in the Personal Tasks tab but when you use the simple Human Task View under eclipse with the correct user, the task generally appears. May be a hint for the jBPM Team ?
Can others users try to test Evaluation Process through jBPM console and if no task appears try within Human Task View under eclipse and give feed back. I suppose eclipse and jBPM console are asking the same Human Task Service?
However this Human Task View is not a good solution as it is to my mind for debug/test purpose and it does not fulfill requirements to show human forms...
Question to the jBPM Team : is a new full package version planned to be released soon ?
What about your feeling about all the users experiencing problems with jBPM console. I guess you have a more accurate overview of the problems in relation with jBPM console may be through JIRA Issues opened?
Can you give us your feedback?
King Regards
Franck
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/752511#752511]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 5 months
[jBPM] - BRMS-5.3 standalone, jbpm-console error
by Sam Mano
Sam Mano [https://community.jboss.org/people/artist123] created the discussion
"BRMS-5.3 standalone, jbpm-console error"
To view the discussion, visit: https://community.jboss.org/message/753134#753134
--------------------------------------------------------------
Some one already using standalone can help me...I struck with this one more than 2 weeks...I just followd the procedure in the forum list....
My experiment with brms-5.3 as follows...
1 - I created two DataSource for procees and task persistence (I am using MySql-5.1 database).
Process datasource - jbpmDS
Process database – jbpm5
task datasource - taskDS
task database – task
2 - I copied the mssql-ds.xml from \brms-standalone-5.3.0\jboss-as\docs\examples\jca into \brms-standalone-5.3.0\jboss-as\server\default\deploy and updated for process and task datasource information (file attached)
3 - I copied the mssql-persistence-service.xml from brms-standalone-5.3.0\jboss-as\docs\examples\jms into \brms-standalone-5.3.0\jboss-as\server\default\deploy and updated for process and task datasource information (file attached)
4 - In \brms-standalone-5.3.0\jboss-as\server\default\deploy folder I copy the mysql-ds.xml and mssql-persistence-service.xml files.
5 - In \brms-standalone-5.3.0\jboss-as\server\default\deploy\jbpm-human-task.war\WEB-INF\classes\META-INF folder I modified the persistence.xml for mysql details (file attached)
6 – In D:\redhat\brms-standalone-5.3.0\jboss-as\server\default\deploy\business-central-server.war\WEB-INF\classes\META-INF folder folder I modified the persistence.xml for mysql details (file attached).
7 - In D:\redhat\brms-standalone-5.3.0\jboss-as\server\default\deploy\business-central-server.war\WEB-INF\classes folder I copied the user, roles properties files.
8 - Copied the mysql server driver into jboss server lib folder.
9 - start the standalone server, server started ..seems no issue...attached log.
10 - BRMS started …no issue…
11 - In eclipse import the evaluation sample and connect and export to guvnor repository in the default package.
12 - build the package in guvnor and build sucssesfully.
13 - In jbpm-console log in as krisv/krisv and first I dont see the evaluation process in console process list after refresh...it through some error but display the evaluation process in the process list, I start the process by click the start button..but processinstance information is not displayed
14 - I check the db nothing saved in processinfo table, workiteminfo and sessioninfo...all the tables are emplty...(log file attached)
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/753134#753134]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 5 months