一个独立的EJB客户端需要哪些JBoss 5.1库? [英] Which JBoss 5.1 libraries I need for a standalone EJB client?

查看:131
本文介绍了一个独立的EJB客户端需要哪些JBoss 5.1库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在从JBossAS 4.05迁移到JBoss 5.1,我怀疑在我的EJB独立客户端需要更改的库。



从JBossAS 4.0开始。 5,我有一个直接的库列表,我需要部署在所有的客户端。但是,在5.1版本中,有些图书馆被更改或者被拒绝。



任何人只需要访问远程EJB服务的直接列表

解决方案

p>按照...
http :/ / d> 1.5.3。 jbossall-client.jar用于绑定大多数
jboss客户端库的客户端/ jbossall-client.jar库
现在是
,通过
引用它们,路径清单条目。这允许
交换包含的库(例如
jboss-javaee.jar),而不需要
重新打包jbossall-client.jar。在
另一方面,它要求您有
jbossall-client.jar和
其他客户端/ *。jar库,因此可以找到
。 p>

查看这篇文章解决方案:


较新版本的JBoss我正在使用
5.1.0 GA)非常烦人地将所有的客户端jar分成至少47
单独的jar!当你考虑
$ j的总数,他们希望你复制到
中有一点粗鲁的
tomcat / lib dir是一个惊人的93.



I'm migrating from JBossAS 4.05 to JBoss 5.1, and I have doubt about wich libraries I need to change in my EJB standalone clients.

From JBossAS 4.0.5, I have a straight list of libraries that I need to deploy within all clients. But, in 5.1 version, some libraries was changed or supressed.

Anybody have a straight list just for access remote EJB services?

解决方案

As per ... http://docs.jboss.org/jbossas/docs/Installation_And_Getting_Started_Guide/5/html/ch01.html#d0e525

1.5.3. jbossall-client.jar The client/jbossall-client.jar library that used to bundle the majority of jboss client libraries, is now referencing them instead through the Class-Path manifest entry. This allows swapping included libraries (e.g. jboss-javaee.jar) without having to re-package jbossall-client.jar. On the other hand, it requires that you have jbossall-client.jar together with the other client/*.jar libraries, so they can be found.

Look at this post for a solution to:

The newer versions of JBoss (I'm using 5.1.0 GA) very annoyingly have all the client jars split into at least 47 separate jars! Which is a bit rude when you consider the total number of jars they expect you to copy into your tomcat/lib dir is a whopping 93.

这篇关于一个独立的EJB客户端需要哪些JBoss 5.1库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆