• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

jboss sop's

 
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I have developed a simple spring mvc web application in tomcat 5.5 with eclipse galileo and working fine..
But when I transormed to Jboss the first time am using , I cant even print messages in the console.. and it is refreshing the page even with many attempts..
Please tell me how to pring SOP's in Jboss?

please help me
thanks
indu
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I cant even print messages in the console


Why are you trying to do this? This is a bad practice in web apps. Besides, JBoss AS reroutes all output to stdout and stderr to the log. So the question becomes, have you change the CONSOLE log settings? (Also, what is the exact version of JBoss AS - the various EAP versions turn off the CONSOLE log, if I recall correctly)

and it is refreshing the page even with many attempts.


You lost me here. I have no idea what this means.
 
indu iyengar
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for responding

and it is refreshing the page even with many attempts.


oh! sorry...
its actually

the browser is not refreshing even with many attempts


and am using JBoss 5.1 version.. I tried with log4j console appender and even now I can't even see the any console messages.
please tell me how to check those logs.
thanks
indu
 
indu iyengar
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
these statements about process are printing

but when I want to print something using logger are not at all printing eg., /// these type of statements are not displaying in the console
 
Peter Johnson
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I want to print something using logger


Add a category entry to the server/xxx/deploy/jboss-log4j.xml file to turn on logging for your package. Here is an example:


 
Your mother is a hamster and your father smells of tiny ads!
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic