Jboss 默认部署器 war 大小比使用 eclipse 的相同导出大。为什么?

发布于 2025-01-08 00:15:30 字数 226 浏览 2 评论 0原文

我已经在 Eclipse 中创建了工作区。我设置了一个 Jboss 服务器用于代码部署。盯着 Jboss 服务器,新的 Ear 会在 Jboss 的部署目录中创建。然后我使用 Eclipse 中提供的“导出为 EAR”选项导出 EAR。我发现 Jboss 创建的 EAR 大小大于 Eclipse 创建的 EAR 大小。有人遇到过同样的场景吗? 注意:我的ear文件不包含任何jsp文件,并且包含xsl文件。它是一个Web服务应用程序。

I have created the workspace in eclipse. I set up a Jboss server for the code deployment. On staring on the Jboss server the new ear is created in the deploy directory of Jboss.Then I have export EAR using export as EAR option available in Eclipse.I found that the Jboss created EAR size is more than eclipse created EAR size. Anyone came across same scenario.?
Note :My ear file not contain any jsp files and its having xsl files.Its a webservice application.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

在风中等你 2025-01-15 00:15:30

在某些本地硬盘驱动器中从 eclipse 中解压 Ear 并检查文件大小。 jboss的同一个ear也解压缩并检查文件大小。你会发现两个文件大小是相同的。如果你检查Jboss Ear的压缩率,你会发现它是零,但对于eclipse压缩比是100。它的压缩问题使用的mechanisam(在jboss和eclipse中创建ear文件)

Un zip the ear from eclipse in some local hard drives and check the file size. The same ear from jboss also un zip and chek the file size.you will find both file size is same.If you check the Jboss ear's compression raio you will find it is zero but for the eclipse compression ratio is 100.Its problem of compression mechanisam used ( creating ear file in jboss and eclipse)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文