RE: JSwat and CORBA servers

"Nascif Abousalh-Neto" <[email protected]>
Newsgroups gmane.comp.java.jswat.user
Message-ID <[email protected]>
I was able to run it remotely in the past, but now that I finally got the
application to run on the build machine (no more FTP transfers to update jar
files!) I was hoping I could also run JSwat locally.
Oh well. I will give it a try, thanks.

 - nascif

PS: I'm pretty sure we don't use the java extension or bootclasspath,
though...

> -----Original Message-----
> From: Nathan Fiedler [mailto:[email protected]] 
> Sent: Tuesday, November 12, 2002 2:48 PM
> To: Abousalh-Neto, Nascif [NCRTP:3X50:EXCH]
> Cc: [email protected]
> Subject: Re: [jswat-user] JSwat and CORBA servers
> 
> 
> Somehow the classpath is different when running the app in 
> jswat. It could be the app is launched using the Java 
> Extensions Mechanism
> (-Djava.ext.dirs=....) or -Xbootclasspath, and this is not 
> being reproduced in jswat. It is not likely to be worth the 
> trouble, so...
> 
> What I recommend in cases like this is to launch the server 
> separately, with the necessary debug flags, then connect 
> jswat to it remotely. JSwat's help has a page about remote 
> debugging, including the debug flags you will need. You could 
> even start up the server suspended until you connect jswat to 
> it. Although I've heard that is rather slow with large 
> applications like app servers.
> 
> n
> 
> 
> On Tue, 2002-11-12 at 11:40, Nascif Abousalh-Neto wrote:
> > Hi,
> > 	I'm trying to use JSwat (locally, running under JSwat 
> as opposed to 
> > remotely by using attach) to debug a CORBA (Sun's ORB, JDK 1.4.1, 
> > Solaris) application server. When I try to register the 
> CORBA servant 
> > with the naming server (tnameserv from Sun) I got a 
> > CORBA.OBJECT_NOT_EXIST exception. The exact same code works fine 
> > outside of JSwat. I checked the JVM properties that control 
> the ORB configuration and they are the same.
> > 	Any suggestion on what could be going on?
> > 
> > 	TIA,
> > 		Nascif
> 
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.