OSWorkflow2.8扩展源代码升级(修改)版

近期学习做流程的东西,看了osworkflow 的东西,并把别人改进的例子修改了一些漏洞并发出共享,希望大家多多交流
并把工程依赖的jar包加入工程中

需要注意的是:数据源的配置需要修改为对应的用户名和密码,还有就是数据源的名称不要变否则需要改多个配置文件比较麻烦。



数据库:
请使用mysql5.0

当前可用的用户有
用户:test
密码:konglq2
组:writer

如果需要可以新加几个用户到对应的组中,使用user表中没有的用户登录就自动添加用户了。


当先查看但个流程信息还存在下面的问题,希望能够协助解决


--------------------------------------------------------test ----调试1
2010-2-22 14:56:22 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet jsp threw exception
java.lang.NoClassDefFoundError: bsh/EvalError
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at com.opensymphony.workflow.TypeResolver.loadObject(TypeResolver.java:128)
at com.opensymphony.workflow.TypeResolver.getCondition(TypeResolver.java:73)
at com.opensymphony.workflow.AbstractWorkflow.passesCondition(AbstractWorkflow.java:896)
at com.opensymphony.workflow.AbstractWorkflow.passesConditions(AbstractWorkflow.java:938)
at com.opensymphony.workflow.AbstractWorkflow.passesConditions(AbstractWorkflow.java:962)
at com.opensymphony.workflow.AbstractWorkflow.getAvailableActionsForStep(AbstractWorkflow.java:688)
at com.opensymphony.workflow.AbstractWorkflow.getAvailableActions(AbstractWorkflow.java:118)
at org.apache.jsp.test_jsp._jspService(test_jsp.java:151)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.opensymphony.filter.EncodingFilter.doFilter(EncodingFilter.java:81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Unknown Source)

你可能感兴趣的:(java,apache,tomcat,workflow,servlet)