Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dubug issue in Weblogic

 
Bishal Ghimire
Greenhorn
Posts: 26
Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am running into an unusual problem. I have several applications deployed in Weblogic Server locally. I wanted to run the applications in debug mode. I have all the applications running locally in debug mode except one. One of the applications fails to stop at the break point. What could be the reason?

The ear I deployed is the one I built on my local, and I made sure to stop and start the server after deployment.

Thanks in advance!

--Bishal
 
sudipto shekhar
Ranch Hand
Posts: 823
Chrome Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bishal Ghimire wrote:
I have several applications deployed in Weblogic Server locally.

I have all the applications running locally in debug mode except one.



What do you mean locally? Are you running all the application at a time or only the application that is causing the issue?

How do apply break points to your code? Is it through an IDE ?

Please let us know about these. I do not know the exact reason that might be causing the issue but by your explanation, it seems more of an IDE issue.
 
E Armitage
Rancher
Posts: 989
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also put a sysout around the break point to verify that the code is indeed passing through the break point section.
 
Bishal Ghimire
Greenhorn
Posts: 26
Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you both for the reply.

@sudipto : I have about 10 separate applications deployed in the weblogic. I have started weblogic in debug mode. One one of the applications fails to stop at break point. I am using Eclipse IDE, and I have put break point on java file.

@E Armitage: Yes, I have logger around the breakpoint and I can see that getting logged in the console.

 
sudipto shekhar
Ranch Hand
Posts: 823
Chrome Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bishal Ghimire wrote:Thank you both for the reply.

@sudipto : I have about 10 separate applications deployed in the weblogic. I have started weblogic in debug mode. One one of the applications fails to stop at break point. I am using Eclipse IDE, and I have put break point on java file.



Ok, I can understand this.

How are you starting your server in debug mode? Can you please post the startWeblogic.cmd/.sh file?

 
Bishal Ghimire
Greenhorn
Posts: 26
Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, Sudipto. Here is startWeblogic.sh:



And startWeblogic.cmd file:

 
sudipto shekhar
Ranch Hand
Posts: 823
Chrome Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bishal,

No need for that Thanks

Can you follow the steps described in this link?

Also you can check the FAQ from Eclipse.

This, I suppose is more of an Eclipse issue than that of Weblogic; hence you will get better answers in the respective forum.

Let us know if the above links helps.

Thanks.

P.S. Deepak, please move it to IDE forum, if required.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic