John,

I have been banging my head against the wall trying to get Jbuilder and Jrun
working together for debugging purposes.

Currently, we use JRun 3.1 as our server software. and JBuilder 7 as our
IDE.

I am working on a project with a lot of legacy code and it would be so great
to be able to see the servlets execute line by line.

I have gone through all the on-line publications.  And am still getting
"Connection Refused".

Any insight or direction would be greatly appreciated.  I have pasted below
my current configuration settings.

My primary questions are...
  1.. Should I be referencing the JRun directory that's on my PC
(c:\Jrun\Jrun302) or on the server (c:\jrun).

  2.. My c:\jrun\lib\jvms file (on the server) includes these 3 lines...

  admin=C:/JRUN/servers/admin
  default=C:/JRUN/servers/default
  endall=c:/websites/endall/v3.3

  ... what value should I use for -Dejipt.ejbDirectory

  3.. On my server in the Admin, I see that it's listening at 51001; but the
debug parameter listens on 53006 so I'm fine with leaving the port at
53006, right?

  4.. When I have the Admin server running, and I try to access any servlets
it brings up the HTML page that we have designated as the redirect
(maintenance) HTML.  Is that a problem?
I will gladly provide any additional information.

Thanks,

Scott Michael


What I have tried so far...

I've updated the local.properties to include the additional switches.  I
have JRun admin and the application with the -debug switch running.

I can access the application via my browser (of course it kicks it over to
the maintenance screen since it's in debug mode); but when I click on
Run|Debug in Jbuilder I get the connection refused error.

An initiating servlet request in our application would be...

http://192.168.245.128/servlet/Pacer?action=allPacer&ADID=1172759&RPWD=Micha
el

how does this information get integrated into the JBuilder debug ATTACH
process?

I would think that the hostname field in JBuilder would be the IP Address of
the remote server (192.168.245.128), right?  The name of the remote server
is: End-n10s4cttgs9; but I can't imagine that that is what we want to use
when we're connecting over an IP?

I'm using the default of 53006 as the address settings in Jbuilder.

Here's what I have in the VMParameters

-Dejipt.classServer.host=127.0.0.1 -Dejipt.classServer.port=2323 -Dejipt.hom
ePort=2333 -Djava.security.policy=C:\JRUN\JRUN302\lib\jrun.policy -Dejipt.ho
me=C:\JRUN\JRUN302 -Dejipt.ejbDirectory=c:\JRUN\JRUN302\servers\default -Dpo
intbase.ini=C:\JRUN\JRUN302\pointbase\pointbase.ini

and here's what I have in the application parameters

-start c:\JRUN\JRUN302\servers\default jrun.rootDir=C:\JRUN\JRUN302

The c:\websites\endall\v3.3 folder is on both the client
and remote machines and contains all the files necessary to run our website;
but I don't see anywhere to put that.

The classes are in a folder on the remote server:
c:/websites/endall/v3.3/approot/WEB-INF/classes

I think that those are all of the variables that are involved.

I really appreciate you taking the time to see where I'm missing it.  I have
spent close to a month trying to do it on my own; and want you to know that
I
will not become a nuissance -- it's just that there is something that I'm
missing here.


______________________________________________________________________
Get the JRun Web Application Construction Kit - the only book written specifically for 
JRun developers.
http://www.amazon.com/exec/obidos/ASIN/0789726009/houseoffusion
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to