You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by sam tam <sa...@gmail.com> on 2006/11/29 13:35:07 UTC

Bpel-test : DbError

Hello i was trying to run  bpel-test \ BpelTest.java

In that i created a class and called the functions namely : setup,  go ,
tear down.

I traced and got the exceptions  being generated at : Collection<QName>
procs =  store.deploy(new File(deployDir));



The exceptions are :


log4j:WARN No appenders could be found for logger (
org.apache.ode.store.hib.DbConfStoreConnectionFactory).
log4j:WARN Please initialize the log4j system properly.
org.apache.ode.bpel.iapi.ContextException: DbError
    at org.apache.ode.store.ProcessStoreImpl.exec(ProcessStoreImpl.java:472)
    at org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java
:197)
    at org.apache.ode.test.BPELTest1.go(BPELTest.java:126)
    at org.apache.ode.test.BPELTest.main(BPELTest.java:49)
Caused by: java.util.concurrent.ExecutionException:
java.lang.NoClassDefFoundError: javax/transaction/Synchronization
    at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
    at java.util.concurrent.FutureTask.get(Unknown Source)
    at org.apache.ode.store.ProcessStoreImpl.exec(ProcessStoreImpl.java:470)
    ... 3 more
Caused by: java.lang.NoClassDefFoundError: javax/transaction/Synchronization
    at org.hibernate.impl.SessionImpl.<init>(SessionImpl.java:266)
    at org.hibernate.impl.SessionFactoryImpl.openSession(
SessionFactoryImpl.java:436)
    at org.hibernate.impl.SessionFactoryImpl.openSession(
SessionFactoryImpl.java:460)
    at org.hibernate.impl.SessionFactoryImpl.openSession(
SessionFactoryImpl.java:468)
    at org.apache.ode.store.hib.DbConfStoreConnectionFactory.getConnection(
DbConfStoreConnectionFactory.java:90)
    at org.apache.ode.store.ProcessStoreImpl.getConnection(
ProcessStoreImpl.java:477)
    at org.apache.ode.store.ProcessStoreImpl.access$300(
ProcessStoreImpl.java:60)
    at org.apache.ode.store.ProcessStoreImpl$Callable.call(
ProcessStoreImpl.java:578)
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

Can anyone tell me how to  go about this ?

Thanx in advance..

Sam..

Re: Bpel-test : DbError

Posted by sam tam <sa...@gmail.com>.
Thank You Alex for your reply .

Sam..

On 11/29/06, Alex Boisvert <bo...@intalio.com> wrote:
>
> You are missing Java Transaction Architecture APIs (jta.jar) in your
> classpath.
>
> e.g.
> Caused by: java.lang.NoClassDefFoundError:
> javax/transaction/Synchronization
>
> alex
>
>
> On 11/29/06, sam tam <sa...@gmail.com> wrote:
> >
> > Hello i was trying to run  bpel-test \ BpelTest.java
> >
> > In that i created a class and called the functions namely : setup,  go ,
> > tear down.
> >
> > I traced and got the exceptions  being generated at : Collection<QName>
> > procs =  store.deploy(new File(deployDir));
> >
> >
> >
> > The exceptions are :
> >
> >
> > log4j:WARN No appenders could be found for logger (
> > org.apache.ode.store.hib.DbConfStoreConnectionFactory).
> > log4j:WARN Please initialize the log4j system properly.
> > org.apache.ode.bpel.iapi.ContextException: DbError
> >     at org.apache.ode.store.ProcessStoreImpl.exec(ProcessStoreImpl.java
> > :472)
> >     at org.apache.ode.store.ProcessStoreImpl.deploy(
> ProcessStoreImpl.java
> > :197)
> >     at org.apache.ode.test.BPELTest1.go(BPELTest.java:126)
> >     at org.apache.ode.test.BPELTest.main(BPELTest.java:49)
> > Caused by: java.util.concurrent.ExecutionException:
> > java.lang.NoClassDefFoundError: javax/transaction/Synchronization
> >     at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
> >     at java.util.concurrent.FutureTask.get(Unknown Source)
> >     at org.apache.ode.store.ProcessStoreImpl.exec(ProcessStoreImpl.java
> > :470)
> >     ... 3 more
> > Caused by: java.lang.NoClassDefFoundError:
> > javax/transaction/Synchronization
> >     at org.hibernate.impl.SessionImpl.<init>(SessionImpl.java:266)
> >     at org.hibernate.impl.SessionFactoryImpl.openSession(
> > SessionFactoryImpl.java:436)
> >     at org.hibernate.impl.SessionFactoryImpl.openSession(
> > SessionFactoryImpl.java:460)
> >     at org.hibernate.impl.SessionFactoryImpl.openSession(
> > SessionFactoryImpl.java:468)
> >     at
> org.apache.ode.store.hib.DbConfStoreConnectionFactory.getConnection
> > (
> > DbConfStoreConnectionFactory.java:90)
> >     at org.apache.ode.store.ProcessStoreImpl.getConnection(
> > ProcessStoreImpl.java:477)
> >     at org.apache.ode.store.ProcessStoreImpl.access$300(
> > ProcessStoreImpl.java:60)
> >     at org.apache.ode.store.ProcessStoreImpl$Callable.call(
> > ProcessStoreImpl.java:578)
> >     at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
> >     at java.util.concurrent.FutureTask.run(Unknown Source)
> >     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
> > Source)
> >     at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
> Source)
> >     at java.lang.Thread.run(Unknown Source)
> >
> > Can anyone tell me how to  go about this ?
> >
> > Thanx in advance..
> >
> > Sam..
> >
> >
>
>


--

Re: Bpel-test : DbError

Posted by Alex Boisvert <bo...@intalio.com>.
You are missing Java Transaction Architecture APIs (jta.jar) in your
classpath.

e.g.
Caused by: java.lang.NoClassDefFoundError: javax/transaction/Synchronization

alex


On 11/29/06, sam tam <sa...@gmail.com> wrote:
>
> Hello i was trying to run  bpel-test \ BpelTest.java
>
> In that i created a class and called the functions namely : setup,  go ,
> tear down.
>
> I traced and got the exceptions  being generated at : Collection<QName>
> procs =  store.deploy(new File(deployDir));
>
>
>
> The exceptions are :
>
>
> log4j:WARN No appenders could be found for logger (
> org.apache.ode.store.hib.DbConfStoreConnectionFactory).
> log4j:WARN Please initialize the log4j system properly.
> org.apache.ode.bpel.iapi.ContextException: DbError
>     at org.apache.ode.store.ProcessStoreImpl.exec(ProcessStoreImpl.java
> :472)
>     at org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java
> :197)
>     at org.apache.ode.test.BPELTest1.go(BPELTest.java:126)
>     at org.apache.ode.test.BPELTest.main(BPELTest.java:49)
> Caused by: java.util.concurrent.ExecutionException:
> java.lang.NoClassDefFoundError: javax/transaction/Synchronization
>     at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
>     at java.util.concurrent.FutureTask.get(Unknown Source)
>     at org.apache.ode.store.ProcessStoreImpl.exec(ProcessStoreImpl.java
> :470)
>     ... 3 more
> Caused by: java.lang.NoClassDefFoundError:
> javax/transaction/Synchronization
>     at org.hibernate.impl.SessionImpl.<init>(SessionImpl.java:266)
>     at org.hibernate.impl.SessionFactoryImpl.openSession(
> SessionFactoryImpl.java:436)
>     at org.hibernate.impl.SessionFactoryImpl.openSession(
> SessionFactoryImpl.java:460)
>     at org.hibernate.impl.SessionFactoryImpl.openSession(
> SessionFactoryImpl.java:468)
>     at org.apache.ode.store.hib.DbConfStoreConnectionFactory.getConnection
> (
> DbConfStoreConnectionFactory.java:90)
>     at org.apache.ode.store.ProcessStoreImpl.getConnection(
> ProcessStoreImpl.java:477)
>     at org.apache.ode.store.ProcessStoreImpl.access$300(
> ProcessStoreImpl.java:60)
>     at org.apache.ode.store.ProcessStoreImpl$Callable.call(
> ProcessStoreImpl.java:578)
>     at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
>     at java.util.concurrent.FutureTask.run(Unknown Source)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
> Source)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>     at java.lang.Thread.run(Unknown Source)
>
> Can anyone tell me how to  go about this ?
>
> Thanx in advance..
>
> Sam..
>
>