Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Profiling weblogic using TPTP
Profiling weblogic using TPTP [message #90642] Thu, 21 December 2006 13:32 Go to next message
Eclipse UserFriend
Originally posted by: cidoni.gmail.com

Hi,
I am trying to profile my web application running in weblogic 8.1 using
eclipse TPTP. Below is the installation info.
Eclipse WTP 1.5.2, TPTP 4.3.0, JRE 1.4.2_10 (Same JRE used for eclipse,
tptp and Weblogic)
OS: Win XP

I got to know that eclipse TPTP does not support profile on server feature
for weblogic 8.1 server (Ref:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=126594)
I am trying the approach mentioned in the above bug description.
ie, I start weblogic 8.1 server within eclipse with the VM argument
-XrunpiAgent in the server's launch configuration. I have enabled the
Integrated Agent Controller in Eclipse and checked "Always running",
"Enable logging" and "Allow remote connections". Remote connection port is
set to 10002.

I had the old Agent Controller running before, but I have removed it now.
Its no more in the system PATH as well.

Now, the problem is, when I try to profile and create a new configuration
using "Attach - Java Process", it is not listing any agents. An error
message "IWAT0225E You must select at least one agent to attach to." is
shown on top.

The "Hosts" tab has Local Direct Connection and localhost:10002. Test
connection on Local Direct Connection shows successful. But on
localhost:10002 shows "A Local Direct Connection is currently active.
Before starting the Remote Agent Controller(RAC) you need to detach all
agents running using this Local Direct Connection".

I am stuck with this for couple of days now. Any help on this will be
highly appreciated.

Thanks in advance,
Cidoni
Re: Profiling weblogic using TPTP [message #91504 is a reply to message #90642] Thu, 18 January 2007 18:34 Go to previous messageGo to next message
Guru Nagarajan is currently offline Guru NagarajanFriend
Messages: 45
Registered: July 2009
Member
Cidoni,
Did this problem get resolved?


Cidoni wrote:
> Hi,
> I am trying to profile my web application running in weblogic 8.1 using
> eclipse TPTP. Below is the installation info.
> Eclipse WTP 1.5.2, TPTP 4.3.0, JRE 1.4.2_10 (Same JRE used for eclipse,
> tptp and Weblogic)
> OS: Win XP
>
> I got to know that eclipse TPTP does not support profile on server
> feature for weblogic 8.1 server (Ref:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=126594)
> I am trying the approach mentioned in the above bug description.
> ie, I start weblogic 8.1 server within eclipse with the VM argument
> -XrunpiAgent in the server's launch configuration. I have enabled the
> Integrated Agent Controller in Eclipse and checked "Always running",
> "Enable logging" and "Allow remote connections". Remote connection port
> is set to 10002.
>
> I had the old Agent Controller running before, but I have removed it
> now. Its no more in the system PATH as well.
>
> Now, the problem is, when I try to profile and create a new
> configuration using "Attach - Java Process", it is not listing any
> agents. An error message "IWAT0225E You must select at least one agent
> to attach to." is shown on top.
>
> The "Hosts" tab has Local Direct Connection and localhost:10002. Test
> connection on Local Direct Connection shows successful. But on
> localhost:10002 shows "A Local Direct Connection is currently active.
> Before starting the Remote Agent Controller(RAC) you need to detach all
> agents running using this Local Direct Connection".
>
> I am stuck with this for couple of days now. Any help on this will be
> highly appreciated.
>
> Thanks in advance,
> Cidoni
>
>
Re: Profiling weblogic using TPTP [message #92802 is a reply to message #91504] Thu, 22 February 2007 19:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: brad.nospam.com

I'm having problems getting TPTP to work with weblogic 8.1 as well. Any
further info on this would be helpful.
--brad

"Guru Nagarajan" <guru.nagarajan@intel.com> wrote in message
news:eooejf$65v$1@utils.eclipse.org...
> Cidoni,
> Did this problem get resolved?
>
>
> Cidoni wrote:
>> Hi,
>> I am trying to profile my web application running in weblogic 8.1 using
>> eclipse TPTP. Below is the installation info.
>> Eclipse WTP 1.5.2, TPTP 4.3.0, JRE 1.4.2_10 (Same JRE used for eclipse,
>> tptp and Weblogic)
>> OS: Win XP
>>
>> I got to know that eclipse TPTP does not support profile on server
>> feature for weblogic 8.1 server (Ref:
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=126594)
>> I am trying the approach mentioned in the above bug description.
>> ie, I start weblogic 8.1 server within eclipse with the VM
>> argument -XrunpiAgent in the server's launch configuration. I have
>> enabled the Integrated Agent Controller in Eclipse and checked "Always
>> running", "Enable logging" and "Allow remote connections". Remote
>> connection port is set to 10002.
>>
>> I had the old Agent Controller running before, but I have removed it now.
>> Its no more in the system PATH as well.
>>
>> Now, the problem is, when I try to profile and create a new configuration
>> using "Attach - Java Process", it is not listing any agents. An error
>> message "IWAT0225E You must select at least one agent to attach to." is
>> shown on top.
>>
>> The "Hosts" tab has Local Direct Connection and localhost:10002. Test
>> connection on Local Direct Connection shows successful. But on
>> localhost:10002 shows "A Local Direct Connection is currently active.
>> Before starting the Remote Agent Controller(RAC) you need to detach all
>> agents running using this Local Direct Connection".
>>
>> I am stuck with this for couple of days now. Any help on this will be
>> highly appreciated.
>>
>> Thanks in advance,
>> Cidoni
>>
Re: Profiling weblogic using TPTP [message #93039 is a reply to message #92802] Fri, 02 March 2007 13:56 Go to previous message
Eclipse UserFriend
Originally posted by: John.cybaspyda.freeserve.co.uk

I been able to profile & debug Weblogic 8.1 with no problems using 4.3,
All I did was cobble the setDomainEnv & startWebLogic.cmd files as follows:

setDomainEnv:
-------------

After This:
:CMD_LINE_DONE
Added This:
set debugFlag=false

And After This:

if "%debugFlag%"=="true" (
set JAVA_DEBUG=-Xdebug -Xnoagent
-Xrunjdwp:transport=dt_socket,address=%DEBUG_PORT%,server=y, suspend=n
-Djava.compiler=NONE
set JAVA_OPTIONS=%JAVA_OPTIONS% -ea -da:com.bea... -da:javelin...
-da:weblogic...
if "%specialFlag%"=="true" (
set JAVA_DEBUG=-Xdebug -Xnoagent
-Xrunjdwp:transport=dt_socket,address=%DEBUG_PORT%,server=y, suspend=n
)
) else (
set JAVA_OPTIONS=%JAVA_OPTIONS% -da
)
Added this:

if "%specialFlag%"=="true" (
@ECHO ************************************
@ECHO REMOTE Debug enabled on port %DEBUG_PORT%
@ECHO ************************************
set JAVA_DEBUG=-Xdebug -Xnoagent
-Xrunjdwp:transport=dt_socket,address=%DEBUG_PORT%,server=y, suspend=n
)

StartWebLogic.cmd
-----------------
After this:
set
DOMAIN_HOME=C:\ccvs\fairlessj_DMS_DEV_Common_DSAP_int\DMSDev eloperDomain
for %%i in ("%DOMAIN_HOME%") do set DOMAIN_HOME=%%~fsi

Added this:
set PATH=%PATH%;C:\AgentController4.2.1\bin
ECHO PATH: %PATH%

SET JAVA_VENDOR=Sun
ECHO JAVA_VENDOR: %JAVA_VENDOR%

SET JAVA_OPTIONS=%JAVA_OPTIONS% -XrunpiAgent:server=enabled
ECHO JAVA_OPTIONS: %JAVA_OPTIONS%

After starting the agent controller. I invoke:

startWebLogic.ACDebug.cmd special

If you omit special its set up for profile only. Note for convieniance I
created copy of the command files and renamed them xx.ACDebug.cmd

Hope this helps John
Previous Topic:PerfMon on Linux systems
Next Topic:JVM arguments for the workspace started by AGR
Goto Forum:
  


Current Time: Sat Aug 08 16:01:28 GMT 2020

Powered by FUDForum. Page generated in 0.02252 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top