• 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
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Dubug issue in Weblogic

 
Greenhorn
Posts: 26
Firefox Browser
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 826
Eclipse IDE Oracle Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Rancher
Posts: 989
9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 826
Eclipse IDE Oracle Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks, Sudipto. Here is startWeblogic.sh:



And startWeblogic.cmd file:

 
sudipto shekhar
Ranch Hand
Posts: 826
Eclipse IDE Oracle Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

reply
    Bookmark Topic Watch Topic
  • New Topic