I have been able to remote debugging JRun 4.0 with JBuilder 6.0. Here is the brief steps.
1) start the remote JRun server in the debug mode 2) go into JB6 project properties setting to enable remote debugging and select attach 3) copy the servlet or EJB bean class you want to debug into JRun server proper directory 4) set the break point and start the debug process 5) start a browser and request the servlet/EJB bean 6) from JBuilder you can debug as you need. Thanks, John -----Original Message----- From: Scotty Michael [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 10, 2002 1:38 PM To: JRun-Talk Subject: Re: How To Configure JBuilder 6.0 for JRun Server 4.0 John, I believe I have everything set up right now for debuggin. I clicked on "Debug Project" and it displayed "Build succeeded with 0 files built. Build took 8 seconds" and it didn't give me the connection refused error afterward. I'm confused, though, because since JRun is in debug mode, it displays the maintenance page. How do I get into the servlets? I was thinking that I would simply punch http://192.168.245.128/servlet/Pacer?action=allPacer&ADID=1172759&RPWD=Micha el into my browser which would activate the servlets and I would be able to observe the activity. What am I missing here? Thanks, Scotty ----- Original Message ----- From: "John Zhao" <[EMAIL PROTECTED]> To: "JRun-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, July 10, 2002 9:53 AM Subject: RE: How To Configure JBuilder 6.0 for JRun Server 4.0 > We have successfully debugged JRun 3 in the distributed environment with JBuilder 6. You have to use VM attach approach. Since JBuilder 7 Enterprise is quite now, I don't have chance to try it out yet. But I did use NetBeans to attach to JRun 4 for debug. It works great. > > Thanks, > John > > -----Original Message----- > From: Scotty Michael [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 10, 2002 1:53 AM > To: JRun-Talk > Subject: Re: How To Configure JBuilder 6.0 for JRun Server 4.0 > > > have you been able to successfully set up Jbuilder to debug servlets on a > JRun server over an IP? > > I'm currently running XP Pro; Jbuilder 7 Enterprise and JRun 3.02. If JRun > 4 would make the process smoother; I would gladly upgrade. > > Thanks, > > Scott > ----- Original Message ----- > From: "John Zhao" <[EMAIL PROTECTED]> > To: "JRun-Talk" <[EMAIL PROTECTED]> > Sent: Tuesday, July 09, 2002 5:42 PM > Subject: RE: How To Configure JBuilder 6.0 for JRun Server 4.0 > > > > Are you able to start the default server from the command line? Such as > from jrun4_home > > > > jrun -start default > > > > If you can't do that, it means there is something wrong with your > servers.xml file. Please open that file and see if the default server > section is correct as below. > > > > <server> > > <name>default</name> > > <directory>{jrun.home}/servers/default</directory> > > </server> > > > > Make sure the xml file is in the correct format. > > > > -----Original Message----- > > From: jamesguan [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, July 09, 2002 5:39 PM > > To: JRun-Talk > > Subject: Re: How To Configure JBuilder 6.0 for JRun Server 4.0 > > > > > > Dear John, > > Thanks for the link! > > I still have some problems to start the JRun server within > > JBuilder6. > > I got the message like > > > > "JRun server "c:/JRun4/servers/default" does not exist, the server > > root null was not found. Please verify that the C:\JRun4\lib\servers.xml > > file contains valid data for this server" > > > > please give me more information on this > > > > thanks > > regards > > > > James > > ----- Original Message ----- > > From: "John Zhao" <[EMAIL PROTECTED]> > > To: "JRun-Talk" <[EMAIL PROTECTED]> > > Sent: Tuesday, July 09, 2002 11:54 AM > > Subject: RE: How To Configure JBuilder 6.0 for JRun Server 4.0 > > > > > > > "Getting Started with JRun 4.0" provides the instruction as to how to > > integrate your IDE with JRun 4.0. Please refer to the link below. > > > > > > > > > http://livedocs.macromedia.com/jrun4docs/Getting_Started_with_JRun/intro6.js > > p#1120471 > > > > > > You may follow the same instruction with JBuilder 6.0. If you have > > further questions, please feel free to let me know. > > > > > > Regards, > > > John > > > > > > -----Original Message----- > > > From: jamesguan [mailto:[EMAIL PROTECTED]] > > > Sent: Tuesday, July 09, 2002 2:42 PM > > > To: JRun-Talk > > > Subject: How To Configure JBuilder 6.0 for JRun Server 4.0 > > > > > > > > > Could anyone there give me some suggestion on How To Configure JBuilder > > 6.0 > > > for JRun Server 4.0 > > > > > > James > > > ----- Original Message ----- > > > From: "Andr�_Schneider" <[EMAIL PROTECTED]> > > > To: "JRun-Talk" <[EMAIL PROTECTED]> > > > Sent: Tuesday, July 09, 2002 9:47 AM > > > Subject: AW: Java > > > > > > > > > > hi there, > > > > try it with jdring > > > > you can get the package under http://webtools.dyade.fr/jdring/ > > > > sample_code : > > > > > > > > import fr.dyade.jdring.*; > > > > > > > > public class CLASS extends HttpServlet > > > > { > > > > public void init() > > > > { > > > > AlarmManager mgr = new AlarmManager(); > > > > try > > > > { > > > > // every day at 4:40 AM > > > > // miute houre day > > > > month day_of_week year > > > > //mgr.addAlarm( 30 ,4 , -1 , -1 ,-1 > > > > ,-1 , new AlarmListener() > > > > //or > > > > //for every 60 minutes > > > > mgr.addAlarm(60, true, new AlarmListener() > > > > { > > > > public void handleAlarm(AlarmEntry > > > > entry) > > > > { > > > > try > > > > { > > > > CLASS_TO_RUN > > > > CLASS_TO_RUN = new CLASS_TO_RUN(); > > > > > > > > CLASS_TO_RUN.doSomething(); > > > > } > > > > catch(Exception ex) > > > > {} > > > > } > > > > }); > > > > } > > > > catch(fr.dyade.jdring.PastDateException pE) > > > > {} > > > > } > > > > > > > > protected doGet( ... ) > > > > {...} > > > > } > > > > > > > > cu > > > > > > > > Andre > > > > > > > > > > > > -----Urspr�ngliche Nachricht----- > > > > Von: Kannaiyan P [mailto:[EMAIL PROTECTED]] > > > > Gesendet: Dienstag, 9. Juli 2002 18:24 > > > > An: JRun-Talk > > > > Betreff: Java > > > > > > > > > > > > Hi > > > > > > > > I have java application running on jrun application server 3.1 . > > > > java program is a Singleton(instance)class on the server. it always > > > > running on the server. my question is i want to call > > > > to run(call) one of the method on the java program automatically at > > > > particular time. > > > > please give some suggestion or if you have any sample code that > would > > > > be > > > > very helpful for me. > > > > > > > > Thanks > > > > kans > > > > > > > > > > > > > > > > From: "Haseltine, Celeste" <[EMAIL PROTECTED]> > > > > Reply-To: [EMAIL PROTECTED] > > > > To: JRun-Talk <[EMAIL PROTECTED]> > > > > Subject: RE: Jrun 3.1 Cache HELP!!! > > > > Date: Fri, 28 Jun 2002 11:57:45 -0500 > > > > > > > > Michael, > > > > > > > > You have restart the JRUN 3.1 server in order for your Java class bean > > > > revisions to become available to your application. Unlike changes to > > > > your > > > > JSP's and servlets, where JRUN for the most part can "sense" that a > JSP > > > > or > > > > servlet has been changed and recompile/reload it on the fly, your Java > > > > beans > > > > are loaded into server memory the first time they are called, and > remain > > > > in > > > > memory until you reboot JRUN3.1. > > > > > > > > By the way, it is my understanding that this is no longer the case in > > > > JRUN > > > > 4.0. > > > > > > > > Celeste > > > > > > > > -----Original Message----- > > > > From: Boogie Brown [mailto:[EMAIL PROTECTED]] > > > > Sent: Friday, June 28, 2002 11:55 AM > > > > To: JRun-Talk > > > > Subject: Jrun 3.1 Cache HELP!!! > > > > > > > > > > > > To whom it may concern: > > > > > > > > I am referencing a bean in Jrun 3.1 as shown below: > > > > <jsp:useBean id="NewContent" class="setUpNewContentBean" scope="page"> > > > > </jsp:useBean> > > > > > > > > however whenever I recompile the bean I am unable to see the updated > > > > results > > > > > > > > of my bean. > > > > > > > > Please help. . . > > > > > > > > Thanks in advance. > > > > Michael > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
