You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Sanh La, Phu" <ps...@spss.com> on 2007/10/24 13:34:38 UTC

ODE process persistence problem in JBOSS

Hi,

 

I have configured the ODE with JBOSS and MS SQL. It runs fine, I can deploy and invoke the process without any problem.

 

One problem I have is that when I restart the JBOSS server, I get this error:

 

2007-10-24 09:20:04,541 INFO  [org.apache.ode.bpel.engine.BpelServerImpl] BPEL Server Started.

2007-10-24 09:20:11,665 ERROR [org.apache.ode.store.ProcessStoreImpl] Error loading DU from store: HelloWorld2

org.apache.ode.bpel.iapi.ContextException: Deployed directory null no longer there!

      at org.apache.ode.store.ProcessStoreImpl.load(ProcessStoreImpl.java:607)

      at org.apache.ode.store.ProcessStoreImpl$6.call(ProcessStoreImpl.java:462)

      at org.apache.ode.store.ProcessStoreImpl$Callable.call(ProcessStoreImpl.java:702)

      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)

 

 

JBOSS is deploying the ODE in a tmp directory and this directory is refresh (delete and create a new one) when JBOSS restart. Therefore all of the ODE process files are not long existed.

 

Is there anyway that I could get the ODE to deploy the process into a different directory instead of the default one?

Or any suggestion that I could overcome problem?

 

Regards,

Phu La

 

SPSS (UK) Ltd

St Andrews House

West Street

Woking

Surrey. GU21-6EB

Direct Tel : 01483 719 427

Fax          : 01483 719 378

Website    : www.spss.com/uk

 

 


Re: ODE process persistence problem in JBOSS

Posted by Alex Boisvert <bo...@intalio.com>.
On 10/24/07, Matthieu Riou <ma...@offthelip.org> wrote:
>
> There's also a way to ask ODE to pick up its configuration (including
> processes and database) outside of the webapp path if you're interested.


Speaking of which, ode-axis2.properties seems to have disappeared (again)
from SVN.  Anybody knows where it went?   Otherwise, I can recreate it from
ode-jbi.properties.

alex

Re: ODE process persistence problem in JBOSS

Posted by Matthieu Riou <ma...@offthelip.org>.
Hi,

As you mentioned, JBoss extracts webapps in temporary directories, removing
them and redeploying between each restart (which, with the default ODE
configuration, removes your processes). When you need to keep your webapp
structure around, the easiest way is to explode it in your deploy directory
under a subdirectory that you'll name ode.war. JBoss automatically picks up
all directories with names ending with a .war.

There's also a way to ask ODE to pick up its configuration (including
processes and database) outside of the webapp path if you're interested.

Cheers,
Matthieu

On 10/24/07, Sanh La, Phu <ps...@spss.com> wrote:
>
> Hi,
>
>
>
> I have configured the ODE with JBOSS and MS SQL. It runs fine, I can
> deploy and invoke the process without any problem.
>
>
>
> One problem I have is that when I restart the JBOSS server, I get this
> error:
>
>
>
> 2007-10-24 09:20:04,541 INFO  [org.apache.ode.bpel.engine.BpelServerImpl]
> BPEL Server Started.
>
> 2007-10-24 09:20:11,665 ERROR [org.apache.ode.store.ProcessStoreImpl]
> Error loading DU from store: HelloWorld2
>
> org.apache.ode.bpel.iapi.ContextException: Deployed directory null no
> longer there!
>
>       at org.apache.ode.store.ProcessStoreImpl.load(ProcessStoreImpl.java
> :607)
>
>       at org.apache.ode.store.ProcessStoreImpl$6.call(
> ProcessStoreImpl.java:462)
>
>       at org.apache.ode.store.ProcessStoreImpl$Callable.call(
> ProcessStoreImpl.java:702)
>
>       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)
>
>
>
>
>
> JBOSS is deploying the ODE in a tmp directory and this directory is
> refresh (delete and create a new one) when JBOSS restart. Therefore all of
> the ODE process files are not long existed.
>
>
>
> Is there anyway that I could get the ODE to deploy the process into a
> different directory instead of the default one?
>
> Or any suggestion that I could overcome problem?
>
>
>
> Regards,
>
> Phu La
>
>
>
> SPSS (UK) Ltd
>
> St Andrews House
>
> West Street
>
> Woking
>
> Surrey. GU21-6EB
>
> Direct Tel : 01483 719 427
>
> Fax          : 01483 719 378
>
> Website    : www.spss.com/uk
>
>
>
>
>
>