You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by Dan <le...@gmail.com> on 2007/05/25 22:43:17 UTC

bpelc - which xerxes lib?

Hi,
After some deployment failures into servicemix, I'm trying to manually build
my BPEL with bpelc.  I get the following error, but I have xerxes in my
classpath.  Do I have the wrong version?

[]$ ./bpelc.sh  /.../helloDanBPEL.bpel
java org.apache.ode.tools.bpelc.cline.BpelC:
org/apache/xerces/jaxp/DocumentBuilderFactoryImpl
java.lang.NoClassDefFoundError:
org/apache/xerces/jaxp/DocumentBuilderFactoryImpl
        at org.apache.ode.bpel.compiler.bom.BpelObjectFactory.parse(
BpelObjectFactory.java:215)
        at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:312)
        at org.apache.ode.tools.bpelc.BpelCompileCommand.execute(
BpelCompileCommand.java:122)
        at org.apache.ode.tools.bpelc.cline.BpelC.main(BpelC.java:99)

[]$ echo $CLASSPATH
/myOdeJBIdistro/lib/:/opt/axis/lib/axis.jar:/opt/axis/lib/jaxrpc.jar:/opt/axis/lib/saaj.jar::/opt/axis/lib/commons-
logging-1.0.4.jar:/opt/axis/lib/commons-discovery-0.2.jar:/opt/axis/lib/wsdl4j-1.5.1.jar:/opt/axis:/opt/tomcat/common/endorsed/xercesImpl.jar

[]$ which java
/opt/jdk1.5.0_11/bin/java

Thanks,
Dan

Re: bpelc - which xerxes lib?

Posted by Dan <le...@gmail.com>.
Thanks, I got through the xerces problem, but now hit what looks like a
xalan problem...

          java.lang.NoClassDefFoundError: org/apache/xml/utils/DOMBuilder

... but I've put what looks like the lib directory used to build bpelc in
the front of the classpath ...

          ode/bpel-runtime/target/scratch/

...which includes xalan 2.7.0.  Does anyone have an example of how to run
bpelc.  Maybe I'm just doing something fundamentally wrong?

Thanks,
Dan

On 5/25/07, Matthieu Riou <ma...@gmail.com> wrote:
>
> Hi,
>
> Depends which version is included with your version of Tomcat :) We're
> using
> 2.8.0 so you'll probably want to try with that.
>
> Cheers,
> Matthieu
>
> On 5/25/07, Dan <le...@gmail.com> wrote:
> >
> > Hi,
> > After some deployment failures into servicemix, I'm trying to manually
> > build
> > my BPEL with bpelc.  I get the following error, but I have xerxes in my
> > classpath.  Do I have the wrong version?
> >
> > []$ ./bpelc.sh  /.../helloDanBPEL.bpel
> > java org.apache.ode.tools.bpelc.cline.BpelC:
> > org/apache/xerces/jaxp/DocumentBuilderFactoryImpl
> > java.lang.NoClassDefFoundError:
> > org/apache/xerces/jaxp/DocumentBuilderFactoryImpl
> >         at org.apache.ode.bpel.compiler.bom.BpelObjectFactory.parse(
> > BpelObjectFactory.java:215)
> >         at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:312)
> >         at org.apache.ode.tools.bpelc.BpelCompileCommand.execute(
> > BpelCompileCommand.java:122)
> >         at org.apache.ode.tools.bpelc.cline.BpelC.main(BpelC.java:99)
> >
> > []$ echo $CLASSPATH
> >
> >
> /myOdeJBIdistro/lib/:/opt/axis/lib/axis.jar:/opt/axis/lib/jaxrpc.jar:/opt/axis/lib/saaj.jar::/opt/axis/lib/commons-
> >
> >
> logging-1.0.4.jar:/opt/axis/lib/commons-discovery-0.2.jar:/opt/axis/lib/wsdl4j-1.5.1.jar:/opt/axis:/opt/tomcat/common/endorsed/xercesImpl.jar
> >
> > []$ which java
> > /opt/jdk1.5.0_11/bin/java
> >
> > Thanks,
> > Dan
> >
>

Re: bpelc - which xerxes lib?

Posted by Matthieu Riou <ma...@gmail.com>.
Hi,

Depends which version is included with your version of Tomcat :) We're using
2.8.0 so you'll probably want to try with that.

Cheers,
Matthieu

On 5/25/07, Dan <le...@gmail.com> wrote:
>
> Hi,
> After some deployment failures into servicemix, I'm trying to manually
> build
> my BPEL with bpelc.  I get the following error, but I have xerxes in my
> classpath.  Do I have the wrong version?
>
> []$ ./bpelc.sh  /.../helloDanBPEL.bpel
> java org.apache.ode.tools.bpelc.cline.BpelC:
> org/apache/xerces/jaxp/DocumentBuilderFactoryImpl
> java.lang.NoClassDefFoundError:
> org/apache/xerces/jaxp/DocumentBuilderFactoryImpl
>         at org.apache.ode.bpel.compiler.bom.BpelObjectFactory.parse(
> BpelObjectFactory.java:215)
>         at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:312)
>         at org.apache.ode.tools.bpelc.BpelCompileCommand.execute(
> BpelCompileCommand.java:122)
>         at org.apache.ode.tools.bpelc.cline.BpelC.main(BpelC.java:99)
>
> []$ echo $CLASSPATH
>
> /myOdeJBIdistro/lib/:/opt/axis/lib/axis.jar:/opt/axis/lib/jaxrpc.jar:/opt/axis/lib/saaj.jar::/opt/axis/lib/commons-
>
> logging-1.0.4.jar:/opt/axis/lib/commons-discovery-0.2.jar:/opt/axis/lib/wsdl4j-1.5.1.jar:/opt/axis:/opt/tomcat/common/endorsed/xercesImpl.jar
>
> []$ which java
> /opt/jdk1.5.0_11/bin/java
>
> Thanks,
> Dan
>

Re: bpelc - which xerxes lib?

Posted by Paul Brown <pa...@gmail.com>.
On 5/25/07, Dan <le...@gmail.com> wrote:
> Hi,
> After some deployment failures into servicemix, I'm trying to manually build
> my BPEL with bpelc.  I get the following error, but I have xerxes in my
> classpath.  Do I have the wrong version?
> []$ echo $CLASSPATH

I'm reasonably sure taht your $CLASSPATH from the environment is not
used in this case; do you have a xerces JAR in the lib directory of
the distro?

-- Paul