File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jboss Configuration Property

 
Anu josh
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Is there any property in Jboss configuration, that will hide all errors which occurs while starting jboss.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I assume that you are talking about the ERROR entries in the log. The only way to suppress those is to turn off logging, but of course that suppresses all log messages!

But I am curious, exactly what errors are you trying to suppress? And why are you trying to suppress them rather than fixing them?
 
Anu josh
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Peter for your reply.

I am not trying to suppress any error. I asked this question because, I have a war file and I am getting an error while server is starting, if I deploy that war in Tomact 5.5. But if I deploy same war file in Jboss web server, my server is getting started without any error. That is the reason I wanted to know that is there any configuration property which hides errors which occurs while jboss is server is starting.
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please post the entire exception stacktrace, the version of JBoss AS and Java that you are using and a bit more details about your application.
 
uttam kumar
Ranch Hand
Posts: 128
Eclipse IDE Java Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The original JBoss AS is configured such as to show you any error that occur during server start-up and deployment of any ear or war file. If you want to change the logging level in JBoss 5.1 you can do that in <JBOSS_HOME>\server\<SERVER_TYPE>\conf\jboss-log4j.xml
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anu josh wrote:I have a war file and I am getting an error while server is starting, if I deploy that war in Tomact 5.5. But if I deploy same war file in Jboss web server, my server is getting started without any error.

You are making an incorrect assumption here. Just because there is no error message when JBoss AS deploys the WAR does not mean that JBoss AS is suppressing the error message. Instead, it means that Tomcat doesn't like something about the WAR (perhaps a misconfiguration?), while JBoss AS is fine with it. I can think of a hundred different reasons why this might happen, but without knowing the error that Tomcat gives all I would be doing is guessing.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic