[JBoss jBPM] - Deployment error using Eclipse GPD plugin (3.0.12) on jbpm-j
by NinjaCross
Hi All.
This is the first time that I use jBPM, so I hope to don't ask too obvious questions :)
My problems are related to the mentioned Eclipse plugin and jBPM server.
I'm running jbpm-jpdl-suite-3.2.GA on Windows XP, launching its {jbpm_home}/server/bin/run.bat
The server initialization seems to correctly start, and when in Eclipse i click on "Test connection" and "Deploy process archive" of a process definition, the IDE shows 2 message boxes that say all went ok.
Unfortunately, nothing is really deployed, and looking at the cmd window i discovered that both the "Test connection" and the "Deploy process archive" miserably fail.
The generated errors are the following.
Click on "Test connection"
15:28:07,598 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[tx, message, scheduler, logging, persistence, authentication]'
15:28:07,598 DEBUG [JbpmContext] creating org.jbpm.JbpmContext@bb9fb
15:28:07,598 DEBUG [ProcessUploadServlet] Handling upload request
15:28:07,598 DEBUG [ProcessUploadServlet] Not a multipart request
15:28:07,598 DEBUG [JbpmContext] closing JbpmContext
Click on "Deploy process archive"
15:28:55,491 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[tx, message, scheduler, logging, persistence, authentication]'
15:28:55,491 DEBUG [JbpmContext] creating org.jbpm.JbpmContext@1df431a15:28:55,491 DEBUG [ProcessUploadServlet] Handling upload request
15:28:55,491 ERROR [STDERR] org.apache.commons.fileupload.FileUploadException: the request was rejected because no multipart boundary was found
15:28:55,491 ERROR [STDERR] at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:324)
15:28:55,491 ERROR [STDERR] at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:268)
15:28:55,491 ERROR [STDERR] at org.jbpm.webapp.servlet.ProcessUploadServlet.handleRequest(ProcessUploadServlet.java:87)
15:28:55,491 ERROR [STDERR] at org.jbpm.webapp.servlet.ProcessUploadServlet.service(ProcessUploadServlet.java:63)
15:28:55,491 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
15:28:55,491 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
15:28:55,491 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
15:28:55,491 ERROR [STDERR] at org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
15:28:55,491 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
15:28:55,491 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
15:28:55,506 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
15:28:55,506 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
15:28:55,506 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
15:28:55,506 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
15:28:55,506 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
15:28:55,506 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
15:28:55,506 ERROR [STDERR] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
15:28:55,506 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
15:28:55,506 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
15:28:55,506 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
15:28:55,506 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
15:28:55,506 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
15:28:55,506 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
15:28:55,506 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
15:28:55,506 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
15:28:55,506 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
15:28:55,506 ERROR [STDERR] at java.lang.Thread.run(Thread.java:534)
15:28:55,506 DEBUG [JbpmContext] closing JbpmContext
Any hint about these errors and the way to solve them ?
Thanks in advance, every answer will be strongly appreciated :)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050482#4050482
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050482
18Â years, 10Â months
[JBoss Seam] - Outjected @DataModelSelection value lagging?
by mail.mickeï¼ gmail.com
Hi
Not sure what I'm doing wrong, but the outjected value for a data model selection is lagging for me.
By lagging I mean that if I click one row and then another row, the outjected datamodel selection after the second row click is the object for the first click.
But if I get the value via a getter on the backing bean I get the correct object after the second click.
Anyone have any ideas of what is going on (I'm new to seam ).
Configuration:
myfaces 1.1.5
facelets 1.2
seam 1.2.1.GA
tomcat 5
Managed bean code:
|
| @Name("riskAddonBacking")
| @Scope( ScopeType.CONVERSATION)
| public class CountryRiskAddonBacking implements Serializable{
|
| /**
| *
| */
| private static final long serialVersionUID = 1L;
|
| @DataModel
| private List<CountryRiskAddonBean> searchResults;
|
| @DataModelSelection("searchResults")
| @Out(required=false)
| private CountryRiskAddonBean selectedItem;
|
|
|
| private String searchPattern;
|
| @Begin(pageflow="countryaddon")
| public void startPageFlow(){
|
| }
|
| public String performSearch(){
|
| int nbrHits = RandomUtils.nextInt()%10;
| List<CountryRiskAddonBean> tmpList = new ArrayList<CountryRiskAddonBean>(nbrHits);
| for(int i=0; i<nbrHits; i++ ){
| CountryRiskAddonBean cab = new CountryRiskAddonBean();
| cab.setTicketNumber("RSK-" + (RandomUtils.nextInt()%10000) );
| cab.setCptyName("CptyXYZ");
| cab.setCountryOfRisk("SWE");
| tmpList.add( cab );
| }
| searchResults = tmpList;
|
| return null;
| }
|
| public String save(){
| System.out.println("SAAAAAAVVVVVVIIIIIIIIINNNNNNNNGGGGGGGG to db");
|
| return "";
| }
|
| public String getSearchPattern() {
| return searchPattern;
| }
|
| public void setSearchPattern(String searchPattern) {
| this.searchPattern = searchPattern;
| }
|
| public CountryRiskAddonBean getSelectedItem() {
| return selectedItem;
| }
|
| public void setSelectedItem(CountryRiskAddonBean selectedItem) {
| this.selectedItem = selectedItem;
| }
|
| }
|
xhtml code:
| <ui:composition template="/WEB-INF/layout/template.xhtml">
| <ui:param name="title" value="Pageflow Start"/>
|
| <ui:define name="body">
| <p>
| Conversation id: #{conversation.id}
| </p>
| <p>
| Selected item:<h:outputText value="#{selectedItem.ticketNumber}" rendered="#{not empty selectedItem}"/>
| </p>
| <p>
| Selected item (via getter):<h:outputText value="#{riskAddonBacking.selectedItem.ticketNumber}" rendered="#{not empty riskAddonBacking.selectedItem}"/>
| </p>
| <h:form>
| <s:decorate>
| <h:inputText id="srchPatt" value="#{riskAddonBacking.searchPattern}" required="true"/>
| </s:decorate>
|
| <s:button action="#{riskAddonBacking.performSearch}" value="Search"/>
|
| <h:outputText value="Found #{searchResults.rowCount} hits"
| rendered="#{searchResults.rowCount > 0}"/>
| </h:form>
|
|
| <h:form rendered="#{not empty searchResults}">
| <h:dataTable value="#{searchResults}"
| var="_item">
| <h:column>
| <f:facet name="header">
| Ticket Number
| </f:facet>
| #{_item.ticketNumber}
| </h:column>
| <h:column>
| <f:facet name="header">
| Counterparty
| </f:facet>
| #{_item.cptyName}
| </h:column>
| <h:column>
| <f:facet name="header">
| Country of Risk
| </f:facet>
| #{_item.countryOfRisk}
| </h:column>
| <h:column>
| <f:facet name="header">
| Risk Addon
| </f:facet>
| #{_item.riskAddon}
| </h:column>
| <h:column>
| <f:facet name="header">
| Add/Edit
| </f:facet>
|
| <s:link action="edit" value="Edit" rendered="#{_item.riskAddon > 0}" />
| <s:link action="edit" value="Add" rendered="#{_item.riskAddon == 0}"/>
| |<s:link action="blah" value="Refresh"/>
| </h:column>
| </h:dataTable>
| <!--
| <rich:dataTable value="#{searchResults}"
| var="_item">
| <rich:column>
| <f:facet name="header">
| Ticket Number
| </f:facet>
| #{_item.ticketNumber}
| </rich:column>
| <rich:column>
| <f:facet name="header">
| Counterparty
| </f:facet>
| #{_item.cptyName}
| </rich:column>
| <rich:column>
| <f:facet name="header">
| Country of Risk
| </f:facet>
| #{_item.countryOfRisk}
| </rich:column>
| <rich:column>
| <f:facet name="header">
| Risk Addon
| </f:facet>
| #{_item.riskAddon}
| </rich:column>
| <rich:column>
| <f:facet name="header">
| Add/Edit
| </f:facet>
|
| <s:link action="edit" value="Edit" rendered="#{_item.riskAddon > 0}" />
| <s:link action="edit" value="Add" rendered="#{_item.riskAddon == 0}"/>
| </rich:column>
| </rich:dataTable>
| -->
| </h:form>
|
| </ui:define>
| </ui:composition>
|
Cheers,
Mike
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050481#4050481
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050481
18Â years, 10Â months