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 <[EMAIL PROTECTED]> 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 > > > > > >
