webapp版本2.4到2.5内存不足 [英] webapp version 2.4 to 2.5 out of memory

查看:179
本文介绍了webapp版本2.4到2.5内存不足的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个更新EJB版本的应用程序,其版本为2.4,ejb版本升级为3.0,它使用注释,以便注释被读取,我需要升级Web应用程序版本为2.5。当我这样做,并重新部署应用程序,我看到一个内存不足的错误。

I have a requirement to update the EJB version of an application which has a schema version of 2.4, the ejb version being upgraded to is 3.0 which uses annotations, in order for the annotations to be read I need to upgrade the web app version to 2.5. When I do that and go to redeploy the app I see a out of memory error.

任何人都可以推动我正确的方向,在这里发生了什么?

Can anyone push me in the right direction as to what is happening here?

00000034注释I ArchiveInputStreamData mapData碰撞[Demo.war]中的[.class]
00000034注释I ArchiveInputStreamData mapData碰撞[.class]在[Demo .war]
00000034注释I ArchiveInputStreamData mapData碰撞[Demo2.war]中的[.class]

00000034 annotations I ArchiveInputStreamData mapData Collision on [ .class ] in [ Demo.war ] 00000034 annotations I ArchiveInputStreamData mapData Collision on [ .class ] in [ Demo.war ] 00000034 annotations I ArchiveInputStreamData mapData Collision on [ .class ] in [ Demo2.war ]

我不能把整个线程放在隐私,它的运行在8.0.0.2和java 6,真的之后那段关于我看到很多

I can't put the whole thread due to privacy, its running on Was 8.0.0.2 and java 6, really after that snippet about I see lots of


  • 处理转储事件systhrow详细的java / lang / OutOfMemoryError

现在我已经有2.4的webapp版本2.4,将标题更改为

xmlns:xsi =http://www.w3.org/2001/XMLSchema-instance
xsi:schemaLocation =http:// java .sun.com / xml / ns / javaee http://java.sun .com / xml / ns / javaee / web-app_2_5.xsd >

Which suggests and out of memory now I had the webapp version of 2.4 previously all I did was change the header to

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">

谢谢,

Stefan

推荐答案

这是正确的标题。我在转储中看不到 version = 2.5

This is the right header. I don't see version=2.5 line in your dump.

<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">

除此之外,没有错误跟踪,我可以猜到你的 web

Beside this, in absence of error trace, I can guess that your web.xml may not be in order according to new schema rules.

您仍然可以发布错误跟踪。只需删除类,以便保持隐私。只有当错误跟踪的全部或重要部分不存在时,它才会成为猜测游戏。

You can still post the error trace. Just remove the classes so that privacy can be maintained. It only becomes guessing games when full or important part of error trace is not present.

这篇关于webapp版本2.4到2.5内存不足的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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