This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Weblogic error messages/logs

 
Srilu nandula
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am new to weblogic. I deployed a web application developed using struts and hibernate in weblogic11. When I tried to run the application I got an error which says that my hibernate mapping file could not be parsed. I want to know more details about the exception as my hibernate mapping file looks good to me. Where can I see the stack trace of the error? Is there a log file that contains the application messages? Do I need to use a logging service? Is there a plugin to debug the application using eclipse? I tried to set up remote debugging for weblogic using some online tutorials. But the server is starting normally and eclipse is not able to connect to the weblogic debug port. Please let me know how can I find more details about the error so that I can fix the problem.
Thank you,
Sree
 
Joe Ess
Bartender
Posts: 9312
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There should be several logs in your domain directory, in the path: servers/[admin server name]/logs

 
Srilu nandula
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Joe,
Thank you for the reply. I saw those logs. But they do not have the stack trace of the exception I got. This is another post where I am trying to find what caused the problem.
http://www.coderanch.com/t/485699/Object-Relational-Mapping/java/Hibernate-Could-not-parse-mapping

On the browser it just prints that its unable to parse the hibernate mapping file. But I could not find the stack trace in the log files. How can I debug using eclipse?
Thank you,
Srilu
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic