ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthieu Riou" <matth...@offthelip.org>
Subject Re: Error handling in bpel processes
Date Thu, 11 Oct 2007 14:18:24 GMT
Hi Jens,

When you deploy that WAR file do you get an error related to management
services? I did a bad commit yesterday trying to fix something. It should
work now so if you update, rebuild and take that war you should be fine.

Cheers,
Matthieu

On 10/11/07, Jens Goldhammer <Goldhammer.Jens@gmx.net> wrote:
>
>
> I have just tried everything :-(
>
> I have just checkout the following repository:
> http://svn.apache.org/repos/asf/ode/branches/APACHE_ODE_1.1/
>
> I invoke rake with "rake clean compile TEST=no".
>
> Following environment is used:
> JAVA_HOME=c:\cisdev\jdk1.5
> PATH=c:\cisdev\jdk1.5\bin;c:\cisdev\downloads\axis2-1.2\bin
> ;C:\entpackt\svn-win3
> 2-1.4.4\bin;c:\cisdev\ant-1.7.0\bin;c:\cisdev\maven-2.0.7\bin;C:\ruby\bin
>
> I see that there is a war-file created, but if I used it in my tomcat ode
> does not work correctly...
>
> Any idea?
> Jens
>
>
> Matthieu Riou-5 wrote:
> >
> > Hi Jens,
> >
> > I've just tried a clean compile and didn't have this problem. Would you
> > try
> > doing a clean first and then do 'rake package TEST=no' ? Also one of the
> > generation tool we use (apt) tends to generate a lot of warnings but as
> > long
> > as the build continues it's fine.
> >
> > Cheers,
> > Matthieu
> >
> > On 10/10/07, Jens Goldhammer <Goldhammer.Jens@gmx.net> wrote:
> >>
> >>
> >> Hello Matthieu,
> >>
> >> thanks for your answer. I checked out the source, but I cannot get it
> >> compiling and packaging a war-file.
> >> There are several errors.
> >>
> >> I checkout the branch 1.1 and try to build it with rake clean compile
> >> TEST=no.
> >>
> >> Stacktrace:
> >> C:\CISDEV\downloads\apache_ode_branch>rake compile test=no
> >> (in C:/CISDEV/downloads/apache_ode_branch)
> >> Compiling apache-ode
> >> Compiling ode
> >> Running apt
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/runtime/PROCESS.java:26: cannot find symbol
> >> symbol  : class ParentScopeChannel
> >> location: package org.apache.ode.bpel.runtime.channels
> >> import org.apache.ode.bpel.runtime.channels.ParentScopeChannel;
> >>                                             ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/runtime/PROCESS.java:27: cannot find symbol
> >> symbol  : class ParentScopeChannelListener
> >> location: package org.apache.ode.bpel.runtime.channels
> >> import org.apache.ode.bpel.runtime.channels.ParentScopeChannelListener;
> >>                                             ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/runtime/PROCESS.java:28: cannot find symbol
> >> symbol  : class TerminationChannel
> >> location: package org.apache.ode.bpel.runtime.channels
> >> import org.apache.ode.bpel.runtime.channels.TerminationChannel;
> >>                                             ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/engine/BpelRuntimeContextImpl.java:58: cannot find symbol
> >> symbol  : class ActivityRecoveryChannel
> >> location: package org.apache.ode.bpel.runtime.channels
> >> import org.apache.ode.bpel.runtime.channels.ActivityRecoveryChannel;
> >>                                             ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/engine/BpelRuntimeContextImpl.java:60: cannot find symbol
> >> symbol  : class InvokeResponseChannel
> >> location: package org.apache.ode.bpel.runtime.channels
> >> import org.apache.ode.bpel.runtime.channels.InvokeResponseChannel;
> >>                                             ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/engine/BpelRuntimeContextImpl.java:61: cannot find symbol
> >> symbol  : class PickResponseChannel
> >> location: package org.apache.ode.bpel.runtime.channels
> >> import org.apache.ode.bpel.runtime.channels.PickResponseChannel;
> >>                                             ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/engine/BpelRuntimeContextImpl.java:62: cannot find symbol
> >> symbol  : class TimerResponseChannel
> >> location: package org.apache.ode.bpel.runtime.channels
> >> import org.apache.ode.bpel.runtime.channels.TimerResponseChannel;
> >>                                             ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/runtime/BpelRuntimeContext.java:30: cannot find symbol
> >> symbol  : class InvokeResponseChannel
> >> location: package org.apache.ode.bpel.runtime.channels
> >> import org.apache.ode.bpel.runtime.channels.InvokeResponseChannel;
> >>                                             ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/runtime/BpelRuntimeContext.java:31: cannot find symbol
> >> symbol  : class PickResponseChannel
> >> location: package org.apache.ode.bpel.runtime.channels
> >> import org.apache.ode.bpel.runtime.channels.PickResponseChannel;
> >>                                             ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/runtime/BpelRuntimeContext.java:32: cannot find symbol
> >> symbol  : class TimerResponseChannel
> >> location: package org.apache.ode.bpel.runtime.channels
> >> import org.apache.ode.bpel.runtime.channels.TimerResponseChannel;
> >>                                             ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/runtime/BpelRuntimeContext.java:33: cannot find symbol
> >> symbol  : class ActivityRecoveryChannel
> >> location: package org.apache.ode.bpel.runtime.channels
> >> import org.apache.ode.bpel.runtime.channels.ActivityRecoveryChannel;
> >>                                             ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/runtime/ActivityInfo.java:24: cannot find symbol
> >> symbol  : class ParentScopeChannel
> >> location: package org.apache.ode.bpel.runtime.channels
> >> import org.apache.ode.bpel.runtime.channels.ParentScopeChannel;
> >>                                             ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/runtime/ActivityInfo.java:25: cannot find symbol
> >> symbol  : class TerminationChannel
> >> location: package org.apache.ode.bpel.runtime.channels
> >> import org.apache.ode.bpel.runtime.channels.TerminationChannel;
> >>                                             ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/engine/BpelRuntimeContextImpl.java:269: cannot find symbol
> >> symbol  : class PickResponseChannel
> >> location: class org.apache.ode.bpel.engine.BpelRuntimeContextImpl
> >>     public void select(PickResponseChannel pickResponseChannel, Date
> >> timeout, bo
> >> olean createInstance,
> >>                        ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/engine/BpelRuntimeContextImpl.java:670: cannot find symbol
> >> symbol  : class TimerResponseChannel
> >> location: class org.apache.ode.bpel.engine.BpelRuntimeContextImpl
> >>     public void registerTimer(TimerResponseChannel timerChannel, Date
> >> timeToFire
> >> ) {
> >>                               ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/engine/BpelRuntimeContextImpl.java:690: cannot find symbol
> >> symbol  : class InvokeResponseChannel
> >> location: class org.apache.ode.bpel.engine.BpelRuntimeContextImpl
> >>                          InvokeResponseChannel channel) throws
> >> FaultException {
> >>                          ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/engine/BpelRuntimeContextImpl.java:931: cannot find symbol
> >> symbol  : class TimerResponseChannel
> >> location: class org.apache.ode.bpel.engine.BpelRuntimeContextImpl
> >>     public void cancel(final TimerResponseChannel timerResponseChannel)
> {
> >>                              ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/engine/BpelRuntimeContextImpl.java:977: cannot find symbol
> >> symbol  : class InvokeResponseChannel
> >> location: class org.apache.ode.bpel.engine.BpelRuntimeContextImpl
> >>     private void invocationResponse2(String mexid,
> InvokeResponseChannel
> >> respons
> >> eChannel) {
> >>                                                    ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/engine/BpelRuntimeContextImpl.java:1240: cannot find symbol
> >> symbol  : class ActivityRecoveryChannel
> >> location: class org.apache.ode.bpel.engine.BpelRuntimeContextImpl
> >>     public void registerActivityForRecovery(ActivityRecoveryChannel
> >> channel,
> >> lon
> >> g activityId, String reason,
> >>                                             ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/engine/BpelRuntimeContextImpl.java:1251: cannot find symbol
> >> symbol  : class ActivityRecoveryChannel
> >> location: class org.apache.ode.bpel.engine.BpelRuntimeContextImpl
> >>     public void unregisterActivityForRecovery(ActivityRecoveryChannel
> >> channel) {
> >>
> >>                                               ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/runtime/BpelRuntimeContext.java:181: cannot find symbol
> >> symbol  : class PickResponseChannel
> >> location: interface org.apache.ode.bpel.runtime.BpelRuntimeContext
> >>     void select(PickResponseChannel response, Date timeout, boolean
> >> createInstna
> >> ce,
> >>                 ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/runtime/BpelRuntimeContext.java:188: cannot find symbol
> >> symbol  : class TimerResponseChannel
> >> location: interface org.apache.ode.bpel.runtime.BpelRuntimeContext
> >>     void cancel(TimerResponseChannel timerResponseChannel);
> >>                 ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/runtime/BpelRuntimeContext.java:203: cannot find symbol
> >> symbol  : class InvokeResponseChannel
> >> location: interface org.apache.ode.bpel.runtime.BpelRuntimeContext
> >>                   InvokeResponseChannel invokeResponseChannel) throws
> >> FaultExcep
> >> tion;
> >>                   ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/runtime/BpelRuntimeContext.java:211: cannot find symbol
> >> symbol  : class TimerResponseChannel
> >> location: interface org.apache.ode.bpel.runtime.BpelRuntimeContext
> >>     void registerTimer(TimerResponseChannel timerChannel, Date
> >> timeToFire);
> >>                        ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/runtime/BpelRuntimeContext.java:248: cannot find symbol
> >> symbol  : class ActivityRecoveryChannel
> >> location: interface org.apache.ode.bpel.runtime.BpelRuntimeContext
> >>     void registerActivityForRecovery(ActivityRecoveryChannel channel,
> >> long
> >> activ
> >> ityId, String reason,
> >>                                      ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/runtime/BpelRuntimeContext.java:251: cannot find symbol
> >> symbol  : class ActivityRecoveryChannel
> >> location: interface org.apache.ode.bpel.runtime.BpelRuntimeContext
> >>     void unregisterActivityForRecovery(ActivityRecoveryChannel
> channel);
> >>                                        ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/runtime/ActivityInfo.java:35: cannot find symbol
> >> symbol  : class TerminationChannel
> >> location: class org.apache.ode.bpel.runtime.ActivityInfo
> >>     TerminationChannel self;
> >>     ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/runtime/ActivityInfo.java:36: cannot find symbol
> >> symbol  : class ParentScopeChannel
> >> location: class org.apache.ode.bpel.runtime.ActivityInfo
> >>     ParentScopeChannel parent;
> >>     ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/runtime/ActivityInfo.java:38: cannot find symbol
> >> symbol  : class TerminationChannel
> >> location: class org.apache.ode.bpel.runtime.ActivityInfo
> >>     ActivityInfo(long aid, OActivity o, TerminationChannel self,
> >> ParentScopeChan
> >> nel parent) {
> >>                                         ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/runtime/ActivityInfo.java:38: cannot find symbol
> >> symbol  : class ParentScopeChannel
> >> location: class org.apache.ode.bpel.runtime.ActivityInfo
> >>     ActivityInfo(long aid, OActivity o, TerminationChannel self,
> >> ParentScopeChan
> >> nel parent) {
> >>                                                                  ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/runtime/CompensationHandler.java:21: cannot find symbol
> >> symbol  : class CompensationChannel
> >> location: package org.apache.ode.bpel.runtime.channels
> >> import org.apache.ode.bpel.runtime.channels.CompensationChannel;
> >>                                             ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/runtime/LinkInfo.java:22: cannot find symbol
> >> symbol  : class LinkStatusChannel
> >> location: package org.apache.ode.bpel.runtime.channels
> >> import org.apache.ode.bpel.runtime.channels.LinkStatusChannel;
> >>                                             ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/runtime/CompensationHandler.java:38: cannot find symbol
> >> symbol  : class CompensationChannel
> >> location: class org.apache.ode.bpel.runtime.CompensationHandler
> >>   final CompensationChannel compChannel;
> >>         ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/runtime/CompensationHandler.java:46: cannot find symbol
> >> symbol  : class CompensationChannel
> >> location: class org.apache.ode.bpel.runtime.CompensationHandler
> >>   CompensationHandler(ScopeFrame compensated, CompensationChannel
> >> compChannel, l
> >> ong scopeStartTime, long scopeEndTime) {
> >>                                               ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/runtime/LinkInfo.java:35: cannot find symbol
> >> symbol  : class LinkStatusChannel
> >> location: class org.apache.ode.bpel.runtime.LinkInfo
> >>   final LinkStatusChannel pub;
> >>         ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/runtime/LinkInfo.java:38: cannot find symbol
> >> symbol  : class LinkStatusChannel
> >> location: class org.apache.ode.bpel.runtime.LinkInfo
> >>   final LinkStatusChannel sub;
> >>         ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/runtime/LinkInfo.java:41: cannot find symbol
> >> symbol  : class LinkStatusChannel
> >> location: class org.apache.ode.bpel.runtime.LinkInfo
> >>   LinkInfo(OLink olink, LinkStatusChannel pub, LinkStatusChannel sub) {
> >>                         ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/runtime/LinkInfo.java:41: cannot find symbol
> >> symbol  : class LinkStatusChannel
> >> location: class org.apache.ode.bpel.runtime.LinkInfo
> >>   LinkInfo(OLink olink, LinkStatusChannel pub, LinkStatusChannel sub) {
> >>                                                ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/runtime/ACTIVITYGUARD.java:36: cannot find symbol
> >> symbol  : class LinkStatusChannelListener
> >> location: package org.apache.ode.bpel.runtime.channels
> >> import org.apache.ode.bpel.runtime.channels.LinkStatusChannelListener;
> >>                                             ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/runtime/ACTIVITYGUARD.java:37: cannot find symbol
> >> symbol  : class ParentScopeChannel
> >> location: package org.apache.ode.bpel.runtime.channels
> >> import org.apache.ode.bpel.runtime.channels.ParentScopeChannel;
> >>                                             ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/runtime/ACTIVITYGUARD.java:38: cannot find symbol
> >> symbol  : class ParentScopeChannelListener
> >> location: package org.apache.ode.bpel.runtime.channels
> >> import org.apache.ode.bpel.runtime.channels.ParentScopeChannelListener;
> >>                                             ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/runtime/ACTIVITYGUARD.java:39: cannot find symbol
> >> symbol  : class TerminationChannelListener
> >> location: package org.apache.ode.bpel.runtime.channels
> >> import org.apache.ode.bpel.runtime.channels.TerminationChannelListener;
> >>                                             ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/runtime/ACTIVITYGUARD.java:40: cannot find symbol
> >> symbol  : class ActivityRecoveryChannel
> >> location: package org.apache.ode.bpel.runtime.channels
> >> import org.apache.ode.bpel.runtime.channels.ActivityRecoveryChannel;
> >>                                             ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/runtime/ACTIVITYGUARD.java:41: cannot find symbol
> >> symbol  : class ActivityRecoveryChannelListener
> >> location: package org.apache.ode.bpel.runtime.channels
> >> import
> >> org.apache.ode.bpel.runtime.channels.ActivityRecoveryChannelListener;
> >>                                             ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/runtime/ACTIVITYGUARD.java:42: cannot find symbol
> >> symbol  : class TimerResponseChannel
> >> location: package org.apache.ode.bpel.runtime.channels
> >> import org.apache.ode.bpel.runtime.channels.TimerResponseChannel;
> >>                                             ^
> >>
> >>
> C:/CISDEV/downloads/apache_ode_branch/bpel-runtime/src/main/java/org/apache/ode/
> >> bpel/runtime/ACTIVITYGUARD.java:43: cannot find symbol
> >> symbol  : class TimerResponseChannelListener
> >> location: package org.apache.ode.bpel.runtime.channels
> >> import
> org.apache.ode.bpel.runtime.channels.TimerResponseChannelListener;
> >>                                             ^
> >> What is going wrong here? Any idea?
> >> Jens
> >>
> >>
> >> Matthieu Riou-5 wrote:
> >> >
> >> > Hi Jens,
> >> >
> >> > I've replied to the issue as well. Please make sure to use the
> >> 1.1branch,
> >> > the trunk is under development and is not as stable.
> >> >
> >> > Thanks,
> >> > Matthieu
> >> >
> >> > On 10/10/07, Jens Goldhammer <Goldhammer.Jens@gmx.net> wrote:
> >> >>
> >> >>
> >> >> I have reopened the fixed issue in JIRA. All details under
> >> >>
> >> >>
> >>
> https://issues.apache.org/jira/browse/ODE-194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
> >> >> JIRA
> >> >>
> >> >>
> >> >>
> >> >> Alex Boisvert wrote:
> >> >> >
> >> >> > Excellent, I've also created a similar test case... I'm not sure
> if
> >> >> they
> >> >> > trigger the same bug yet but I'll be looking at both of them next
> >> week.
> >> >> >
> >> >> > thanks!!
> >> >> > alex
> >> >> >
> >> >> >
> >> >> > On 10/5/07, Jens Goldhammer <Goldhammer.Jens@gmx.net> wrote:
> >> >> >>
> >> >> >>
> >> >> >> Ok, I have opened an issue
> >> >> >> (https://issues.apache.org/jira/browse/ODE-194)
> >> >> >> and included a minimal runnable example for showing the error.
> >> >> >>
> >> >> >>
> >> >> >> Jens Goldhammer wrote:
> >> >> >> >
> >> >> >> > Ok, I have made further analysis. I tested the service with a
> >> >> generated
> >> >> >> > axis2-client and I see that I am getting back the fault
> >> correctly,
> >> >> i.e.
> >> >> >> I
> >> >> >> > can access the self-defined faultcode, faultActor and so on.
> >> >> >> >
> >> >> >> > My wsdl definition for this wsdl fault contains following:
> >> >> >> >
> >> >> >> >     <xsd:element name="faultCode" type="xsd:string">
> >> >> >> >         <xsd:annotation>
> >> >> >> >             <xsd:documentation>
> >> >> >> >                               faultCode consists of a five
> letter
> >> >> >> identifier plus a
> >> >> >> >                               three digit id (serial number).
> For
> >> >> >> example, "GENEX001"
> >> >> >> >                               is a generic error and "AUTEX001"
> >> is
> >> a
> >> >> >> authenification
> >> >> >> >                               error
> >> >> >> >                       </xsd:documentation>
> >> >> >> >         </xsd:annotation>
> >> >> >> >     </xsd:element>
> >> >> >> >     <xsd:element name="faultString" type="xsd:string">
> >> >> >> >         <xsd:annotation>
> >> >> >> >             <xsd:documentation>
> >> >> >> >                               corresponding description of the
> >> >> >> faultCode
> >> >> >> >                       </xsd:documentation>
> >> >> >> >         </xsd:annotation>
> >> >> >> >     </xsd:element>
> >> >> >> >     <xsd:element name="faultActor" type="xsd:string">
> >> >> >> >         <xsd:annotation>
> >> >> >> >             <xsd:documentation>
> >> >> >> >                               element displays url of the
> >> webservice
> >> >> >> where the
> >> >> >> >                               exception occured
> >> >> >> >                       </xsd:documentation>
> >> >> >> >         </xsd:annotation>
> >> >> >> >     </xsd:element>
> >> >> >> >     <xsd:element name="faultDetail" type="xsd:string">
> >> >> >> >         <xsd:annotation>
> >> >> >> >             <xsd:documentation>
> >> >> >> >                               element pictures the actual
> >> exception
> >> >> >> message and
> >> >> >> >                               complete stack trace.
> >> >> >> >                       </xsd:documentation>
> >> >> >> >         </xsd:annotation>
> >> >> >> >     </xsd:element>
> >> >> >> >
> >> >> >> >
> >> >> >> >     <xsd:element name="LogFault">
> >> >> >> >         <xsd:annotation>
> >> >> >> >             <xsd:documentation>
> >> >> >> >                               fault element for handling errors
> >> >> during
> >> >> >> the logservice
> >> >> >> >                       </xsd:documentation>
> >> >> >> >         </xsd:annotation>
> >> >> >> >         <xsd:complexType>
> >> >> >> >             <xsd:sequence>
> >> >> >> >                 <xsd:element ref="types:faultCode"/>
> >> >> >> >                 <xsd:element ref="types:faultString"/>
> >> >> >> >                 <xsd:element ref="types:faultActor"/>
> >> >> >> >                 <xsd:element ref="types:faultDetail"/>
> >> >> >> >             </xsd:sequence>
> >> >> >> >         </xsd:complexType>
> >> >> >> >     </xsd:element>
> >> >> >> >
> >> >> >> >
> >> >> >> > I send a response and I am getting back following response:
> >> >> >> >
> >> >> >> > <soapenv:Envelope
> >> >> >> > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> >> >> >> >    <soapenv:Body>
> >> >> >> >       <soapenv:Fault>
> >> >> >> >          <faultcode>soapenv:Server</faultcode>
> >> >> >> >          <faultstring>LogFaultException</faultstring>
> >> >> >> >          <detail>
> >> >> >> >             <ns2:LogFault
> >> >> >> > xmlns:ns2="http://cis.log.interface.de.ibm.com/types">
> >> >> >> >                <s547:faultCode
> >> >> >> >
> >> >> >> xmlns:s547="http://cis.de.ibm.com/simpleTypes
> >> >> ">LOGEX002</s547:faultCode>
> >> >> >> >                <s548:faultString
> >> >> >> > xmlns:s548="http://cis.de.ibm.com/simpleTypes">Database for
> >> >> LogService
> >> >> >> not
> >> >> >> > available.</s548:faultString>
> >> >> >> >                <s549:faultActor
> >> >> >> > xmlns:s549="http://cis.de.ibm.com/simpleTypes
> >> >> ">logRun</s549:faultActor>
> >> >> >> >                <s550:faultDetail
> >> >> >> > xmlns:s550="http://cis.de.ibm.com/simpleTypes">no
> >> >> >> > stacktrace.</s550:faultDetail>
> >> >> >> >             </ns2:LogFault>
> >> >> >> >          </detail>
> >> >> >> >       </soapenv:Fault>
> >> >> >> >    </soapenv:Body>
> >> >> >> > </soapenv:Envelope>
> >> >> >> >
> >> >> >> > I have tested it with an autogenerated axis-client and a
> >> >> >> junit-testmethod.
> >> >> >> > If the logfaultexception is thrown by the service, I can output
> >> the
> >> >> >> > faultActor, faultString, detail and code in the catch-block.
> >> >> >> >
> >> >> >> >       /**
> >> >> >> >        * Auto generated test method
> >> >> >> >        */
> >> >> >> >       public void testlogRun() {
> >> >> >> >
> >> >> >> >               LogRunResponseVO logRun = null;
> >> >> >> >               try {
> >> >> >> >
> >> >> com.ibm.de.cis.log.client.CisLogServiceStubstub
> >> >> >> =
> >> >> >> new
> >> >> >> > com.ibm.de.cis.log.client.CisLogServiceStub(
> >> >> >> >                                       endpoint);
> >> >> >> >
> >> >> >> com.ibm.de.cis.log.client.CisLogServiceStub.LogRunRequestVO
> >> >> >> > logRunRequestVO18 =
> >> >> >> > (com.ibm.de.cis.log.client.CisLogServiceStub.LogRunRequestVO)
> >> >> >> > getTestObject(
> >> >> >> com.ibm.de.cis.log.client.CisLogServiceStub.LogRunRequestVO.class
> );
> >> >> >> >                       logRunRequestVO18.setEmptyparam(
> >> >> >> >                       logRun = stub.logRun(logRunRequestVO18);
> >> >> >> >               } catch (AxisFault e) {
> >> >> >> >                       e.printStackTrace();
> >> >> >> >               } catch (RemoteException e) {
> >> >> >> >                       e.printStackTrace();
> >> >> >> >               } catch (LogFaultException e) {
> >> >> >> >                       LogFault fault = e.getFaultMessage();
> >> >> >> >                       System.out.println("Actor: " +
> >> >> >> fault.getFaultActor
> >> >> >> ());
> >> >> >> >                       System.out.println("Code:" +
> >> >> fault.getFaultCode
> >> >> >> ());
> >> >> >> >                       System.out.println("Detail:" +
> >> >> >> fault.getFaultDetail());
> >> >> >> >                       System.out.println("FaultString:" +
> >> >> >> fault.getFaultString());
> >> >> >> >                       e.printStackTrace();
> >> >> >> >               } catch (Exception e) {
> >> >> >> >                       e.printStackTrace();
> >> >> >> >               }
> >> >> >> >               System.out.println(logRun.getRunId());
> >> >> >> >
> >> >> >> >       }
> >> >> >> >
> >> >> >> > Question is why Ode cannot access these information? Following
> >> >> >> stacktrace
> >> >> >> > is available in Ode.
> >> >> >> >
> >> >> >> > <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope
> >> >> >> > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> >> >> >> "><soapenv:Header><addr:To
> >> >> >> > xmlns:addr="http://www.w3.org/2005/08/addressing">
> >> >> >> http://localhost:8180/cisLogWeb/services/cisLogService
> >> >> >> </addr:To><addr:Action
> >> >> >> > xmlns:addr="http://www.w3.org/2005/08/addressing">
> >> >> >> http://cis.log.interface.de.ibm.com/service/logRun
> >> >> >> </addr:Action><addr:ReplyTo
> >> >> >> > xmlns:addr="http://www.w3.org/2005/08/addressing
> "><addr:Address>
> >> >> >> http://www.w3.org/2005/08/addressing/anonymous
> >> >> >> </addr:Address></addr:ReplyTo><addr:MessageID
> >> >> >> > xmlns:addr="http://www.w3.org/2005/08/addressing
> >> >> >>
> >> >>
> >>
> ">uuid:hqejbhcnphr2n1qwgjen65</addr:MessageID></soapenv:Header><soapenv:Body><axis2ns2:LogRunRequestVO
> >> >> >> > xmlns:axis2ns2="http://cis.log.interface.de.ibm.com/types"
> >> >> >> > xmlns:types="http://cis.log.interface.de.ibm.com/types">
> >> >> >> >                                     <xsd:emptyparam
> >> >> >> > xmlns:xsd="http://cis.de.ibm.com/simpleTypes
> >> ">true</xsd:emptyparam>
> >> >> >> >
> >> >> >> > </axis2ns2:LogRunRequestVO></soapenv:Body></soapenv:Envelope>
> >> >> >> > 10:48:58,462 DEBUG [SessionOutHandler] <?xml version='1.0'
> >> >> >> > encoding='utf-8'?><soapenv:Envelope
> >> >> >> > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> >> >> >> "><soapenv:Header><addr:To
> >> >> >> > xmlns:addr="http://www.w3.org/2005/08/addressing">
> >> >> >> http://localhost:8180/cisLogWeb/services/cisLogService
> >> >> >> </addr:To><addr:Action
> >> >> >> > xmlns:addr="http://www.w3.org/2005/08/addressing">
> >> >> >> http://cis.log.interface.de.ibm.com/service/logRun
> >> >> >> </addr:Action><addr:ReplyTo
> >> >> >> > xmlns:addr="http://www.w3.org/2005/08/addressing
> "><addr:Address>
> >> >> >> http://www.w3.org/2005/08/addressing/anonymous
> >> >> >> </addr:Address></addr:ReplyTo><addr:MessageID
> >> >> >> > xmlns:addr="http://www.w3.org/2005/08/addressing
> >> >> >>
> >> >>
> >>
> ">uuid:hqejbhcnphr2n1qwgjen65</addr:MessageID></soapenv:Header><soapenv:Body><axis2ns2:LogRunRequestVO
> >> >> >> > xmlns:axis2ns2="http://cis.log.interface.de.ibm.com/types"
> >> >> >> > xmlns:types="http://cis.log.interface.de.ibm.com/types">
> >> >> >> >                                     <xsd:emptyparam
> >> >> >> > xmlns:xsd="http://cis.de.ibm.com/simpleTypes
> >> ">true</xsd:emptyparam>
> >> >> >> >
> >> >> >> > </axis2ns2:LogRunRequestVO></soapenv:Body></soapenv:Envelope>
> >> >> >> > DEBUG - GeronimoLog.debug(66) | Found a header in incoming
> >> message,
> >> >> >> > checking if there are endpoints there.
> >> >> >> > 10:48:59,503 DEBUG [SessionInHandler] Found a header in
> incoming
> >> >> >> message,
> >> >> >> > checking if there are endpoints there.
> >> >> >> > ERROR - GeronimoLog.error(108) | Error sending message
> >> >> >> > (mex={PartnerRoleMex#hqejbhcnphr2n1qwgjen64 [PID
> >> >> >> > {http://com.ibm.de.cis/archive}cisArchive-40] calling
> >> >> >> > org.apache.ode.bpel.epr.URLEndpoint@c88805.logRun(...)}):
> >> >> >> > LogFaultException
> >> >> >> > org.apache.axis2.AxisFault: LogFaultException
> >> >> >> >       at
> >> >> >> >
> >> >> >> org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(
> >> >> Utils.java
> >> >> >> :486)
> >> >> >> >       at
> >> >> >> >
> >> >> org.apache.axis2.description.OutInAxisOperationClient.handleResponse
> (
> >> >> >> OutInAxisOperation.java:343)
> >> >> >> >       at
> >> >> >> > org.apache.axis2.description.OutInAxisOperationClient.send(
> >> >> >> OutInAxisOperation.java:389)
> >> >> >> >       at
> >> >> >> >
> >> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(
> >> >> >> OutInAxisOperation.java:211)
> >> >> >> >       at
> >> >> >> > org.apache.axis2.client.OperationClient.execute(
> >> OperationClient.java
> >> >> >> :163)
> >> >> >> >       at
> >> >> >> >
> >> org.apache.ode.axis2.ExternalService$1$1.call(ExternalService.java
> >> >> :148)
> >> >> >> >       at java.util.concurrent.FutureTask$Sync.innerRun(
> >> >> FutureTask.java
> >> >> >> :269)
> >> >> >> >       at java.util.concurrent.FutureTask.run(FutureTask.java
> :123)
> >> >> >> >       at
> >> >> >> > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
> >> >> >> ThreadPoolExecutor.java:650)
> >> >> >> >       at
> >> >> >> > java.util.concurrent.ThreadPoolExecutor$Worker.run(
> >> >> >> ThreadPoolExecutor.java:675)
> >> >> >> >       at java.lang.Thread.run(Thread.java:595)
> >> >> >> > 10:48:59,513 ERROR [ExternalService] Error sending message
> >> >> >> > (mex={PartnerRoleMex#hqejbhcnphr2n1qwgjen64 [PID
> >> >> >> > {http://com.ibm.de.cis/archive}cisArchive-40] calling
> >> >> >> > org.apache.ode.bpel.epr.URLEndpoint@c88805.logRun(...)}):
> >> >> >> > LogFaultException
> >> >> >> > org.apache.axis2.AxisFault: LogFaultException
> >> >> >> >       at
> >> >> >> >
> >> >> >> org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(
> >> >> Utils.java
> >> >> >> :486)
> >> >> >> >       at
> >> >> >> >
> >> >> org.apache.axis2.description.OutInAxisOperationClient.handleResponse
> (
> >> >> >> OutInAxisOperation.java:343)
> >> >> >> >       at
> >> >> >> > org.apache.axis2.description.OutInAxisOperationClient.send(
> >> >> >> OutInAxisOperation.java:389)
> >> >> >> >       at
> >> >> >> >
> >> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(
> >> >> >> OutInAxisOperation.java:211)
> >> >> >> >       at
> >> >> >> > org.apache.axis2.client.OperationClient.execute(
> >> OperationClient.java
> >> >> >> :163)
> >> >> >> >       at
> >> >> >> >
> >> org.apache.ode.axis2.ExternalService$1$1.call(ExternalService.java
> >> >> :148)
> >> >> >> >       at java.util.concurrent.FutureTask$Sync.innerRun(
> >> >> FutureTask.java
> >> >> >> :269)
> >> >> >> >       at java.util.concurrent.FutureTask.run(FutureTask.java
> :123)
> >> >> >> >       at
> >> >> >> > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
> >> >> >> ThreadPoolExecutor.java:650)
> >> >> >> >       at
> >> >> >> > java.util.concurrent.ThreadPoolExecutor$Worker.run(
> >> >> >> ThreadPoolExecutor.java:675)
> >> >> >> >       at java.lang.Thread.run(Thread.java:595)
> >> >> >> > DEBUG - GeronimoLog.trace(54) |
> >> >> >> Mex[hqejbhcnphr2n1qwgjen64].setPortOp(...)
> >> >> >> > 10:48:59,663 DEBUG [MessageExchangeImpl]
> >> >> >> > Mex[hqejbhcnphr2n1qwgjen64].setPortOp(...)
> >> >> >> >
> >> >> >> > Thanks for your help.
> >> >> >> > Jens
> >> >> >> >
> >> >> >> >
> >> >> >> > Jens Goldhammer wrote:
> >> >> >> >>
> >> >> >> >>
> >> >> >> >>
> >> >> >> >> Alex Boisvert wrote:
> >> >> >> >>>
> >> >> >> >>> On 10/2/07, Jens Goldhammer <Goldhammer.Jens@gmx.net> wrote:
> >> >> >> >>>>
> >> >> >> >>>> I believe in my case that Axis2 cannot acces the fault which
> >> the
> >> >> >> >>>> service
> >> >> >> >>>> responses to ODE back. Here the initial business fault
> become
> >> an
> >> >> ODE
> >> >> >> >>>> fault
> >> >> >> >>>> and behave as you have described already.
> >> >> >> >>>> Or does the stacktrace below has an other meaning?
> >> >> >> >>>>
> >> >> >> >>>> org.apache.axis2.AxisFault: LogFaultException
> >> >> >> >>>>         at
> >> >> >> >>>>
> org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(
> >> >> >> Utils.java
> >> >> >> >>>> :486)
> >> >> >> >>>
> >> >> >> >>>
> >> >> >> >>> The stacktrace indicates Ode detected the fault and is
> >> re-throwing
> >> >> >> it.
> >> >> >> >>> But
> >> >> >> >>> I'm not sure I understand what doesn't work for you.... is it
> >> >> that,
> >> >> >> >>>
> >> >> >> >>> 1) Your service sends back a Fault (described in WSDL) and
> you
> >> >> can't
> >> >> >> >>> catch
> >> >> >> >>> it in your process?
> >> >> >> >>>
> >> >> >> >>> 2) Your service sends back a Fault (not in WSDL) and you use
> >> >> >> >>> "faultOnFailure=true" but you can't catch it in your process?
> >> >> >> >>>
> >> >> >> >>> In either case, if you can simplify your setup and attach
> your
> >> >> files
> >> >> >> to
> >> >> >> >>> a
> >> >> >> >>> Jira issue we could look into things in detail.
> >> >> >> >>>
> >> >> >> >>> alex
> >> >> >> >>>
> >> >> >> >>>
> >> >> >> >>
> >> >> >> >> It is the first point- I send back a fault and I cannot catch
> it
> >> in
> >> >> >> >> Ode... and I donÃÆ'‚´t know why...
> >> >> >> >> I see that there is an wsdl fault, but Ode does not execute
> the
> >> >> fault
> >> >> >> >> handler for this fault...
> >> >> >> >>
> >> >> >> >>
> >> >> >> >
> >> >> >> >
> >> >> >>
> >> >> >> --
> >> >> >> View this message in context:
> >> >> >>
> >> >>
> >>
> http://www.nabble.com/Error-handling-in-bpel-processes-tf4555881.html#a13055706
> >> >> >> Sent from the Apache Ode User mailing list archive at Nabble.com.
> >> >> >>
> >> >> >>
> >> >> >
> >> >> >
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://www.nabble.com/Error-handling-in-bpel-processes-tf4555881.html#a13136987
> >> >> Sent from the Apache Ode User mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Error-handling-in-bpel-processes-tf4555881.html#a13138875
> >> Sent from the Apache Ode User mailing list archive at Nabble.com.
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Error-handling-in-bpel-processes-tf4555881.html#a13152674
> Sent from the Apache Ode User mailing list archive at Nabble.com.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message