Solved

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

Posted on 2008-10-07
1
2,067 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
debug as  junit test 4 83
Should CArray be used for a list of pointers in C++? 19 116
centralized repository for hosting the internal data and view 1 70
eclipse formatting 6 106
Developer tools in browsers have been around for a while, yet they are still heavily underused by developers. Developers still fix html or CSS then refresh page to see effect, or they put alert or debugger in JavaScript and then try again and again …
Thoughout my experience working on eCommerce web applications I have seen applications succumbing to increased user demand and throughput. With increased loads the response times started to spike, which leads to user frustration and lost sales. I ha…
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

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