luomeiling123
luomeiling123
采纳率100%
2015-04-09 06:51

eclipse 开发EJB 的ear 在JBoss 部署出问题

已采纳

[root@miso bin]# 14:51:22,858 INFO [STDOUT] Exception caught in unsafeOnMessage...
14:51:22,858 ERROR [STDERR] java.lang.OutOfMemoryError: Java heap space
14:51:22,859 ERROR [STDERR] at java.util.Arrays.copyOf(Unknown Source)
14:51:22,859 ERROR [STDERR] at java.lang.AbstractStringBuilder.expandCapacity(Unknown Source)
14:51:22,859 ERROR [STDERR] at java.lang.AbstractStringBuilder.append(Unknown Source)
14:51:22,859 ERROR [STDERR] at java.lang.StringBuilder.append(Unknown Source)
14:51:22,859 ERROR [STDERR] at miso.core.model.dictionary.implementation.TreeTDBuilder.buildTailingWordsAndAdvanceLinks(TreeTDBuilder.java:141)
14:51:22,859 ERROR [STDERR] at miso.controller.MisoLanguageService.getLanguageSuite(MisoLanguageService.java:84)
14:51:22,859 ERROR [STDERR] at miso.controller.MisoLanguageService.getLanguageSuite(MisoLanguageService.java:95)
14:51:22,859 ERROR [STDERR] at miso.controller.JobRunnerMDB.unsafeOnMessage(JobRunnerMDB.java:155)
14:51:22,859 ERROR [STDERR] at miso.controller.JobRunnerMDB.onMessage(JobRunnerMDB.java:120)
14:51:22,859 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
14:51:22,859 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
14:51:22,859 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
14:51:22,859 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
14:51:22,859 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
14:51:22,859 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
14:51:22,859 ERROR [STDERR] at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
14:51:22,859 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
14:51:22,859 ERROR [STDERR] at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
14:51:22,859 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
14:51:22,860 ERROR [STDERR] at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
14:51:22,860 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
14:51:22,860 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
14:51:22,860 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
14:51:22,860 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
14:51:22,860 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
14:51:22,860 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
14:51:22,860 ERROR [STDERR] at org.jboss.ejb3.mdb.MessagingContainer.localInvoke(MessagingContainer.java:249)
14:51:22,860 ERROR [STDERR] at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.delivery(MessageInflowLocalProxy.java:268)
14:51:22,860 ERROR [STDERR] at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.invoke(MessageInflowLocalProxy.java:138)
14:51:22,860 ERROR [STDERR] at $Proxy71.onMessage(Unknown Source)
14:51:22,860 ERROR [STDERR] at org.jboss.resource.adapter.jms.inflow.JmsServerSession.onMessage(JmsServerSession.java:178)
14:51:22,860 ERROR [STDERR] at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:906)
14:51:22,869 ERROR [STDERR] 2015-4-9 14:51:22 miso.core.model.dictionary.implementation.TreeTDBuilder
信息: Instantiate a new TreeTDBuilder
14:51:22,869 ERROR [STDERR] 2015-4-9 14:51:22 miso.core.model.dictionary.implementation.TreeTDBuilder
信息: Instantiate a new TreeTDBuilder
14:51:22,869 ERROR [STDERR] 2015-4-9 14:51:22 miso.controller.MisoLanguageService getLanguageSuite
信息: Loadding dict /dict/translation/ENCN/electrical_engineering_UTF8.txt
14:51:23,001 ERROR [STDERR] 2015-4-9 14:51:23 miso.controller.MisoLanguageService getLanguageSuite
信息: Load finished, count = 16198
14:51:23,001 ERROR [STDERR] 2015-4-9 14:51:23 miso.controller.MisoLanguageService getLanguageSuite
信息: Loadding dict /dict/translation/ENCN/electrical_UTF8.txt
14:51:23,209 ERROR [STDERR] 2015-4-9 14:51:23 miso.controller.MisoLanguageService getLanguageSuite
信息: Load finished, count = 15593
14:51:23,210 ERROR [STDERR] 2015-4-9 14:51:23 miso.controller.MisoLanguageService getLanguageSuite
信息: Loadding dict /dict/translation/ENCN/mechanical_engineering_UTF8.txt
14:51:23,347 ERROR [STDERR] 2015-4-9 14:51:23 miso.controller.MisoLanguageService getLanguageSuite
信息: Load finished, count = 13230
14:51:23,347 ERROR [STDERR] 2015-4-9 14:51:23 miso.controller.MisoLanguageService getLanguageSuite
信息: Loadding dict /dict/translation/ENCN/mechanical_UTF8.txt
14:51:23,567 ERROR [STDERR] 2015-4-9 14:51:23 miso.controller.MisoLanguageService getLanguageSuite
信息: Load finished, count = 18804
14:51:23,567 ERROR [STDERR] 2015-4-9 14:51:23 miso.controller.MisoLanguageService getLanguageSuite
信息: Loadding dict /dict/translation/ENCN/new_words_UTF8.txt
14:51:24,720 ERROR [STDERR] 2015-4-9 14:51:24 miso.controller.MisoLanguageService getLanguageSuite
信息: Load finished, count = 103790
14:51:24,720 ERROR [STDERR] 2015-4-9 14:51:24 miso.controller.MisoLanguageService getLanguageSuite
信息: Loadding dict /dict/translation/ENCN/IT_UTF8.txt
14:51:24,872 ERROR [STDERR] 2015-4-9 14:51:24 miso.controller.MisoLanguageService getLanguageSuite
信息: Load finished, count = 14801
14:51:24,872 ERROR [STDERR] 2015-4-9 14:51:24 miso.controller.MisoLanguageService getLanguageSuite
信息: Loadding dict /dict/translation/ENCN/bio_UTF8.txt
14:51:25,115 ERROR [STDERR] 2015-4-9 14:51:25 miso.controller.MisoLanguageService getLanguageSuite
信息: Load finished, count = 20882
14:51:25,115 ERROR [STDERR] 2015-4-9 14:51:25 miso.controller.MisoLanguageService getLanguageSuite
信息: Loadding dict /dict/translation/ENCN/chemical_UTF8.txt
14:51:25,332 ERROR [STDERR] 2015-4-9 14:51:25 miso.controller.MisoLanguageService getLanguageSuite
信息: Load finished, count = 16436
14:51:25,332 ERROR [STDERR] 2015-4-9 14:51:25 miso.controller.MisoLanguageService getLanguageSuite
信息: Loadding dict /dict/translation/ENCN/math_UTF8.txt
14:51:25,478 ERROR [STDERR] 2015-4-9 14:51:25 miso.controller.MisoLanguageService getLanguageSuite
信息: Load finished, count = 12768
14:51:25,478 ERROR [STDERR] 2015-4-9 14:51:25 miso.controller.MisoLanguageService getLanguageSuite
信息: Loadding dict /dict/translation/ENCN/medicine_UTF8.txt
14:51:25,711 ERROR [STDERR] 2015-4-9 14:51:25 miso.controller.MisoLanguageService getLanguageSuite
信息: Load finished, count = 18200
14:51:25,711 ERROR [STDERR] 2015-4-9 14:51:25 miso.controller.MisoLanguageService getLanguageSuite
信息: Loadding dict /dict/translation/ENCN/petroleum_UTF8.txt
14:51:27,710 ERROR [STDERR] 2015-4-9 14:51:27 miso.controller.MisoLanguageService getLanguageSuite
信息: Load finished, count = 150415
14:51:27,710 ERROR [STDERR] 2015-4-9 14:51:27 miso.controller.MisoLanguageService getLanguageSuite
信息: Loadding dict /dict/translation/ENCN/agriculture_UTF8.txt
14:51:27,885 ERROR [STDERR] 2015-4-9 14:51:27 miso.controller.MisoLanguageService getLanguageSuite
信息: Load finished, count = 15582
14:51:27,885 ERROR [STDERR] 2015-4-9 14:51:27 miso.controller.MisoLanguageService getLanguageSuite
信息: Loadding dict /dict/translation/ENCN/physics_UTF8.txt
14:51:28,092 ERROR [STDERR] 2015-4-9 14:51:28 miso.controller.MisoLanguageService getLanguageSuite
信息: Load finished, count = 13779
14:51:28,100 ERROR [STDERR] 2015-4-9 14:51:28 miso.controller.MisoLanguageService getLanguageSuite
信息: All dictionary loaded, begin to compile EN-CN (count 322051)
14:51:28,100 ERROR [STDERR] 2015-4-9 14:51:28 miso.core.model.dictionary.implementation.TreeTDBuilder buildTailingWordsAndAdvanceLinks
信息: Starting building tailing words and advance links for dictionary
14:51:32,084 ERROR [STDERR] 2015-4-9 14:51:32 miso.core.model.dictionary.implementation.TreeTDBuilder buildTailingWordsAndAdvanceLinks
信息: Finish advance link compilation.
14:51:32,084 ERROR [STDERR] 2015-4-9 14:51:32 miso.controller.MisoLanguageService getLanguageSuite
信息: All dictionary loaded, begin to compile CN-EN (count 281676)
14:51:32,084 ERROR [STDERR] 2015-4-9 14:51:32 miso.core.model.dictionary.implementation.TreeTDBuilder buildTailingWordsAndAdvanceLinks
信息: Starting building tailing words and advance links for dictionary

如可以帮助我解决EJB 成功部署。酬谢

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

3条回答

  • brave2002honest 清水依恋成 6年前

    不用钱,否则玩csdn就变质了

    给你提个建议,你的日志at java.util.Arrays.copyOf这个问题,是一个Stringbuilder做append抛出来的。
    举个例子
    StringBuilder buffer = new StringBuilder("你好case");
    for(;;){
    buffer.append(buffer.toString()+buffer.append("你好"));
    }
    这样的代码表示,buffer本身是一种缓存,然而在buffer还没有固定界限(仍旧处于添加状态的时候)又做了自己调用自己的append操作,就好比一个永动机,没完没了了,直到JVM许可内存耗尽。
    看看这样的建议对你有用吗。

    点赞 评论 复制链接分享
  • brave2002honest 清水依恋成 6年前

    WoZiJ我
    W我以前写tree也出现过循环加载问题。这个得看看你的源代码debug看看了。

    点赞 评论 复制链接分享
  • luomeiling123 luomeiling123 6年前

    我看不懂呢。呜呜。。。。这是之前一个IBM牛人做的项目,我对这些一点都看不懂,如果你有时间是否可以加QQ为好友,帮忙解决。多谢

    点赞 评论 复制链接分享