Solved

How to debug a Web Application on a Weblogic remote server using Weblogic Workshop (Eclipse Based)?

Posted on 2008-10-07
1
2,065 Views
Last Modified: 2013-12-15
How I can debug a Web Application on a Weblogic remote server using Weblogic Workshop (Eclipse Based)?

I have two servers on the remote app server; the administration server and the target server where I'm deploying the application. I tried the "Debug As" option but the window opened in a different port.

Thanks.
0
Comment
Question by:daraii
1 Comment
 
LVL 10

Accepted Solution

by:
rajesh_bala earned 500 total points
ID: 22717888
Add this line near your memory arguements in setDomainEnv.cmd /setDomainEnv.sh

-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005

This will open up 5005 port in the weblogic server for remote debugging. You can connect to this port from your eclipse.

Steps:
1. Add the above lines in the server which requires debugging.
2. Restart the servers.
3. Check if 5005 is available after restart. "netstat -a" would tell this.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A publishing tool, a Version Control System, or a Collaboration Platform! These can be some of the defining words for the two very famous web-hosting Git repositories: Bitbucket and Github. Git is widely used amongst the programmers and developers f…
These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question