[JBoss Web Services] - Force MTOM Response in JBossWS-3.1.1.GA
by Marco Strauch
Marco Strauch [http://community.jboss.org/people/fambad] created the discussion
"Force MTOM Response in JBossWS-3.1.1.GA"
To view the discussion, visit: http://community.jboss.org/message/587481#587481
--------------------------------------------------------------
Hi,
How can I force a MOTOM Response although it is not neccessary because I have no binary data in the response.
The reason is follow. I have a foreign test client that sends the request with MTOM enabled and expected that the response is also using MTOM (I think this is a little bit stupid). The client is using AXIS.
In the request the client sends binary data using MTOM but in my response no binary data is available and so JBoss-WS won't enable the Mtom Feature for the response. The result is that the client don't accept my response.
All works fine when my response contains binary data (annotated with "@XmlMimeType("application/octet-stream")" ). Then JBoss-WS creates a mtom response and the client accepted the response.
Is there a workaround to force that MTOM is being enabled?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/587481#587481]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 1 month
[jBPM] - Re: install.jbpm.into.jboss
by mrmoe
mrmoe [http://community.jboss.org/people/mrmoe] created the discussion
"Re: install.jbpm.into.jboss"
To view the discussion, visit: http://community.jboss.org/message/591564#591564
--------------------------------------------------------------
Hi,
I have the same problem, my company does an evaluation of open source process engines my standalone prototype (without eclipse) is working fine.
But i'm still trying to deploy my JBPM process on the JBOSS. I just found the explaination how to create HumanTasks on an jboss. Would be greate if someone could help me.
Actually i deployed a dynamic webproject from eclipse. I create a HttpServlet to start my process, when im starting my application the following error results:
08:43:25,451 INFO [STDOUT] starting process instance
08:43:26,521 ERROR [STDERR] org.drools.compiler.ProcessLoadError: Unable to load process. : Exception class java.io.FileNotFoundException : 'sample.bpmn' cannot be opened because it does not exist
08:43:26,521 ERROR [STDERR] org.drools.compiler.ProcessLoadError: Unable to load process. : Exception class java.io.FileNotFoundException : 'validateData.bpmn' cannot be opened because it does not exist
08:43:26,521 ERROR [STDERR] org.drools.compiler.ProcessLoadError: Unable to load process. : Exception class java.io.FileNotFoundException : 'readAndMergeDatabase.bpmn' cannot be opened because it does not exist
08:43:26,521 ERROR [STDERR] org.drools.compiler.ProcessLoadError: Unable to load process. : Exception class java.io.FileNotFoundException : 'readAndUpdateFacade.bpmn' cannot be opened because it does not exist
08:43:26,522 ERROR [STDERR] org.drools.compiler.ProcessLoadError: Unable to load process. : Exception class java.io.FileNotFoundException : 'WriteAndReadMQ.bpmn' cannot be opened because it does not exist
08:43:26,522 ERROR [STDERR] java.lang.IllegalArgumentException: Could not parse knowledge.
08:43:26,522 ERROR [STDERR] at org.drools.builder.impl.KnowledgeBuilderImpl.newKnowledgeBase(KnowledgeBuilderImpl.java:58)
08:43:26,522 ERROR [STDERR] at com.sample.ProcessTest.readKnowledgeBase(ProcessTest.java:118)
08:43:26,522 ERROR [STDERR] at com.sample.ProcessTest.main(ProcessTest.java:46)
08:43:26,522 ERROR [STDERR] at com.pass.servlet.ServletStarter.startProcess(ServletStarter.java:33)
08:43:26,522 ERROR [STDERR] at com.pass.servlet.ServletStarter.doGet(ServletStarter.java:19)
08:43:26,522 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
08:43:26,522 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
08:43:26,522 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
08:43:26,522 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
08:43:26,522 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
08:43:26,522 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
08:43:26,523 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
08:43:26,523 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
08:43:26,523 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
08:43:26,523 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
08:43:26,523 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
08:43:26,523 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
08:43:26,523 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
08:43:26,523 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
08:43:26,523 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
08:43:26,523 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
08:43:26,523 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
08:43:26,523 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
08:43:26,523 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
08:43:26,523 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
08:43:26,523 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
08:43:26,523 ERROR [STDERR] at java.lang.Thread.run(Unknown Source)
Is it possible to start the process in this way?
Thanks in advance
Moritz
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/591564#591564]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 1 month