JBPM 3.2.1 web app?does not display deployed process
jdickins Jul 25, 2007 1:39 PMHi All,
I'm running Eclipse 3.3.0 with the jbpm plugin 3.2.1
I am having a problem viewing my deployed process definitions through the web app. My goal is to be able to interact with my process definition at localhost:8080/jbpm-console.
I have tried deploying my process through the Eclipse IDE and through the web app, both unsuccessfully but with different output.
When I deploy from the eclipse IDE the server is found with no problem and when I press the Deploy Process Archive button I receive the message "The process archive deployed successfully".
However when I go to the web app and login as manager (I still haven't successfully edited the web.xml doc) I do not see my process.
When I deploy from the Web App I go and find the xml file named "processdefinintion" (it's in a folder w/ the xml file of the gpd and the process image) and hit deploy. I then receive the error: "Error deploying process: An exception of type "org.jbpm.jpdl.JpdlException" was thrown. The message is: [[ERROR] no processdefinition.xml inside process archive]".
I interpreted this to mean that the web app could not find a processdefinition.xml file. Thinking it might want a local process archive I saved a process archive locally but received the same error when I deployed that file.
Here are the research steps I?ve taken:
I Googled the error from the web app (using both a general search and a groups search) and the 2 JBoss forum suggestions which I have investigated were:
The file might have xml syntax errors (I found that I did have some and I corrected all of the syntax errors and the problem continued). I also found a suggestion that it might be the size of the processdefinition which was causing the error and when I created a smaller test definition it deployed. However the next time I tried it failed?and I cannot think what I did differently to cause it.
The console and the web app were not of the same version (this was also true but I updated both and the problem continued).
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063137#4063137
(As to the second part of the response to this question I think that has to do with a unrelated issue).
I found this documentation:
http://jsourcery.com/api/sourceforge/jbpm/3.1.2/src-html/org/jbpm/jpdl/par/JpdlArchiveParser.html
Which seems to imply that the error I found on the web app is thrown when a user tries to upload a file which contains no data. However, as my file displays that it is 2 KB in size I am not sure this helps.
Seeking inspiration, I looked at the console printout. I have copied the relevant section below.
I tried getting to the WEB-INF file inside each jar file (I tried double-clicking the jar file) but was unsuccessful. I tried Googling the line
?com.sun.facelets.compiler.TagLibraryConfig loadImplicit?
because it seemed to show up so often and found this JBoss Jira issue which said to ignore those errors.
http://www.andromda.org/jira/browse/JSF-30
This forum posting also said those errors can be ignored, however, having nothing else to go on, I?m still including it in case it proves helpful.
http://www.icefaces.org/JForum/posts/list/4234.page
The console printout which includes the errors reads:
09:24:10,555 ERROR [STDERR] Jul 25, 2007 9:24:10 AM com.sun.faces.lifecycle.ELRe solverInitPhaseListener populateFacesELResolverForJsp INFO: JSF1027: [null] The ELResolvers for JSF were not registered with the JSP c ontainer. 09:24:11,555 ERROR [STDERR] Jul 25, 2007 9:24:11 AM com.sun.facelets.compiler.Ta gLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/Documents%20and%20Settings/jdickins/Deskt op/JBPM-IDE%202.0/suite%203.2.1/jbpm-jpdl-3.2.1/server/server/jbpm/tmp/deploy/tm p37355jbpm-console-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.tagl ib.xml 09:24:11,555 ERROR [STDERR] Jul 25, 2007 9:24:11 AM com.sun.facelets.compiler.Ta gLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/Documents%20and%20Settings/jdickins/Deskt op/JBPM-IDE%202.0/suite%203.2.1/jbpm-jpdl-3.2.1/server/server/jbpm/tmp/deploy/tm p37355jbpm-console-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib .xml 09:24:11,617 ERROR [STDERR] Jul 25, 2007 9:24:11 AM com.sun.facelets.compiler.Ta gLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/Documents%20and%20Settings/jdickins/Deskt op/JBPM-IDE%202.0/suite%203.2.1/jbpm-jpdl-3.2.1/server/server/jbpm/tmp/deploy/tm p37355jbpm-console-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.tagli b.xml 09:24:11,633 ERROR [STDERR] Jul 25, 2007 9:24:11 AM com.sun.facelets.compiler.Ta gLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/Documents%20and%20Settings/jdickins/Deskt op/JBPM-IDE%202.0/suite%203.2.1/jbpm-jpdl-3.2.1/server/server/jbpm/tmp/deploy/tm p37355jbpm-console-exp.war/WEB-INF/lib/gravel-14.jar!/META-INF/gravel-nav.taglib .xml 09:24:11,696 ERROR [STDERR] Jul 25, 2007 9:24:11 AM com.sun.facelets.compiler.Ta gLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/Documents%20and%20Settings/jdickins/Deskt op/JBPM-IDE%202.0/suite%203.2.1/jbpm-jpdl-3.2.1/server/server/jbpm/tmp/deploy/tm p37355jbpm-console-exp.war/WEB-INF/lib/gravel-14.jar!/META-INF/gravel-simple.tag lib.xml 09:24:11,727 ERROR [STDERR] Jul 25, 2007 9:24:11 AM com.sun.facelets.compiler.Ta gLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/Documents%20and%20Settings/jdickins/Deskt op/JBPM-IDE%202.0/suite%203.2.1/jbpm-jpdl-3.2.1/server/server/jbpm/tmp/deploy/tm p37355jbpm-console-exp.war/WEB-INF/lib/jbpm4jsf-14.jar!/META-INF/tfl.taglib.xml 09:24:11,789 ERROR [STDERR] Jul 25, 2007 9:24:11 AM com.sun.facelets.compiler.Ta gLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/Documents%20and%20Settings/jdickins/Deskt op/JBPM-IDE%202.0/suite%203.2.1/jbpm-jpdl-3.2.1/server/server/jbpm/tmp/deploy/tm p37355jbpm-console-exp.war/WEB-INF/lib/gravel-14.jar!/META-INF/gravel-compat.tag lib.xml 09:24:11,883 ERROR [STDERR] Jul 25, 2007 9:24:11 AM com.sun.facelets.compiler.Ta gLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/Documents%20and%20Settings/jdickins/Deskt op/JBPM-IDE%202.0/suite%203.2.1/jbpm-jpdl-3.2.1/server/server/jbpm/tmp/deploy/tm p37355jbpm-console-exp.war/WEB-INF/lib/jbpm4jsf-14.jar!/META-INF/core.taglib.xml 09:24:11,945 ERROR [STDERR] Jul 25, 2007 9:24:11 AM com.sun.facelets.compiler.Ta gLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/Documents%20and%20Settings/jdickins/Deskt op/JBPM-IDE%202.0/suite%203.2.1/jbpm-jpdl-3.2.1/server/server/jbpm/tmp/deploy/tm p37355jbpm-console-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.tagli b.xml 09:24:11,992 ERROR [STDERR] Jul 25, 2007 9:24:11 AM com.sun.facelets.compiler.Ta gLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/Documents%20and%20Settings/jdickins/Deskt op/JBPM-IDE%202.0/suite%203.2.1/jbpm-jpdl-3.2.1/server/server/jbpm/tmp/deploy/tm p37355jbpm-console-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib. xml 09:24:12,039 ERROR [STDERR] Jul 25, 2007 9:24:12 AM com.sun.facelets.compiler.Ta gLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/Documents%20and%20Settings/jdickins/Deskt op/JBPM-IDE%202.0/suite%203.2.1/jbpm-jpdl-3.2.1/server/server/jbpm/tmp/deploy/tm p37355jbpm-console-exp.war/WEB-INF/lib/gravel-14.jar!/META-INF/gravel-action.tag lib.xml 09:24:12,086 ERROR [STDERR] Jul 25, 2007 9:24:12 AM com.sun.facelets.compiler.Ta gLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/Documents%20and%20Settings/jdickins/Deskt op/JBPM-IDE%202.0/suite%203.2.1/jbpm-jpdl-3.2.1/server/server/jbpm/tmp/deploy/tm p37355jbpm-console-exp.war/WEB-INF/lib/jbpm4jsf-14.jar!/META-INF/identity.taglib .xml 09:24:12,117 ERROR [STDERR] Jul 25, 2007 9:24:12 AM com.sun.facelets.compiler.Ta gLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/Documents%20and%20Settings/jdickins/Deskt op/JBPM-IDE%202.0/suite%203.2.1/jbpm-jpdl-3.2.1/server/server/jbpm/tmp/deploy/tm p37355jbpm-console-exp.war/WEB-INF/lib/jbpm4jsf-14.jar!/META-INF/tf-compat.tagli b.xml 09:24:12,180 ERROR [STDERR] Jul 25, 2007 9:24:12 AM com.sun.facelets.compiler.Ta gLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/Documents%20and%20Settings/jdickins/Deskt op/JBPM-IDE%202.0/suite%203.2.1/jbpm-jpdl-3.2.1/server/server/jbpm/tmp/deploy/tm p37355jbpm-console-exp.war/WEB-INF/lib/gravel-14.jar!/META-INF/gravel-data.tagli b.xml 09:24:12,195 ERROR [STDERR] Jul 25, 2007 9:24:12 AM com.sun.facelets.compiler.Ta gLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/Documents%20and%20Settings/jdickins/Deskt op/JBPM-IDE%202.0/suite%203.2.1/jbpm-jpdl-3.2.1/server/server/jbpm/tmp/deploy/tm p37355jbpm-console-exp.war/WEB-INF/lib/jbpm4jsf-14.jar!/META-INF/tf.taglib.xml 09:24:12,211 ERROR [STDERR] Jul 25, 2007 9:24:12 AM com.sun.facelets.compiler.Ta gLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/Documents%20and%20Settings/jdickins/Deskt op/JBPM-IDE%202.0/suite%203.2.1/jbpm-jpdl-3.2.1/server/server/jbpm/tmp/deploy/tm p37355jbpm-console-exp.war/WEB-INF/lib/jbpm4jsf-14.jar!/META-INF/tfl-compat.tagl ib.xml 09:24:12,242 INFO [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured 09:24:12,836 WARN [FromElementType] Using non-qualified column reference [isSus pended -> ([ISSUSPENDED_])] 09:24:12,836 WARN [FromElementType] Using non-qualified column reference [token -> ([TOKEN_])] 09:24:13,054 WARN [FromElementType] Using non-qualified column reference [proce ssInstance -> ([PROCESSINSTANCE_])] 09:24:13,086 WARN [FromElementType] Using non-qualified column reference [id -> ([ID_])] 09:24:13,086 WARN [FromElementType] Using non-qualified column reference [proce ssInstance -> ([PROCESSINSTANCE_])] 09:24:13,101 WARN [FromElementType] Using non-qualified column reference [proce ssInstance -> ([PROCESSINSTANCE_])] 09:24:13,101 WARN [FromElementType] Using non-qualified column reference [isSus pended -> ([ISSUSPENDED_])] 09:24:13,101 WARN [FromElementType] Using non-qualified column reference [token -> ([TOKEN_])]
I have also read through the relevant jbpm wikis and gone through the GettingStarted Guide again with no luck.
The web app displays my additions to the sql tables just fine and I can run the websale example and the small processdefinition I successfully deployed just fine. However when I try to deploy new processdefinitions I receive the above error through the web app and code on the server console.
Would someone provide a pointer to where I can look next? Thanks for your attention,