有成功运行过ejb的例子news的吗?

为什么我的总报错呀!

09:12:23,000 INFO [ContainerDirector] <======== Jdon Framework started successfully! =========>
09:12:23,312 ERROR [MethodInvokerUtil] Errors happened in your method:[$Proxy76.getNewsTypePage]
09:12:23,312 ERROR [MethodInvokerUtil] [JdonFramework] method invoke IllegalArgumentException: java.lang.IllegalArgumentException: object is not an instance of
declaring class method argument type :[[Ljava.lang.Class;@181d405], but method arguments value p_args type:[Ljava.lang.Object;
09:12:23,328 ERROR [STDERR]java.lang.reflect.UndeclaredThrowableException
09:12:23,328 ERROR [STDERR] at $Proxy81.getNewsTypePage(Unknown Source)
09:12:23,328 ERROR [STDERR] at news.web.NewsTypeListAction.getPageIterator(N
ewsTypeListAction.java:23)

这是JBoss4和JBoss3两个产品对EJB打包要求不同导致,现在已经更新news项目,重新下载samples包

应该是版本不同导致的;

现在打包过去后,web模块下还包含news\ejb\*,和news\model\*;
但是根据我查的一些资料看这些是不应该包含在web模块下面的;
如果ejb模块和web模块都包好的话就会出问题;

我今天把部署过去web模块下的news\ejb\*,和news\model\*手动删掉后,
错误少了一些;

感谢banq! 我重新下载一个试试!

你用的是什么环境呀!

在添加新闻类形势还是出错!
20:59:47,906 ERROR [TNewsType] Error checking if entity exists
org.jboss.util.NestedSQLException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=Transa

基本上可以了!

我现在用的是jboss4.05,原来的基本是都是版本问题。