To use oracle as the backend database, execute the file tables_oracle.sql
against the database and make sure the following is defined in the
osworkflow.xml:<!- Oracle sequence access ->
        <property key="entry.sequence" 
                  value="SELECT seq_os_wfentry.nextval FROM dual"/>
        <property key="step.sequence" 
                  value="SELECT seq_os_currentsteps.nextval FROM dual"/>    这两个序号一定要建好先,查看下你编译后目标文件osworkflow.xml里面这两句有没有改掉。