2011-04-21 139 views
0

我使用struts开发了一个web应用程序。现在,当我尝试在另一台机器上运行时,出现以下错误。以下是从GlassFish服务器日志采取无法运行struts程序

SEVERE: INFO [http-thread-pool-8080-(1)] (CommonsLogger.java:31) - Parsing configuration file [struts-default.xml] 

SEVERE: INFO [http-thread-pool-8080-(1)] (CommonsLogger.java:31) - Unable to locate configuration files of the name struts-plugin.xml, skipping 

SEVERE: INFO [http-thread-pool-8080-(1)] (CommonsLogger.java:31) - Parsing configuration file [struts-plugin.xml] 

SEVERE: INFO [http-thread-pool-8080-(1)] (CommonsLogger.java:31) - Parsing configuration file [struts.xml] 

SEVERE: INFO [http-thread-pool-8080-(1)] (CommonsLogger.java:31) - Loading global messages from ApplicationResources 

此外,在我得到java.lang.reflect.InvocationTargetException此消息的浏览器。请告诉我问题在哪里。

+0

显示更多堆栈跟踪(或全部)。 – Quaternion 2011-04-22 02:34:12

+0

你解决了你的问题吗? – Cemo 2011-10-07 07:37:55

+0

@Sessizlik Nope。我尝试了几种方法,但没有用。当我在Ubuntu中尝试相同的程序时,它工作。你解决了吗? – Allwyn 2011-10-07 12:29:34

回答

0

这似乎是一个类似的问题,什么是本文中描述:

http://www.java.net/node/705006

这似乎是一个GlassFish的臭虫正确放“严厉:”日志消息之前,实际上以“INFO”开头。

仅供参考我在SL4J和Glassfish 3.1中遇到过这个问题。通过JUL记录器完全相同的代码记录完美地工作,然后当你用合适的记录器交换时,你会得到“严重:”。

很遗憾,我一直无法找到解决方案,并会在找到它时发布。他们同样有可能重新修复下一版GlassFish中的错误。