Thanks John, you are right there, all I need as the application parameter is "-start defaulf". it works now. thanks a lot.
james ----- Original Message ----- From: "John Zhao" <[EMAIL PROTECTED]> To: "JRun-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, July 10, 2002 6:32 AM Subject: RE: How To Configure JBuilder 6.0 for JRun Server 4.0 > One of my colleague here reminds me that you should only need "start default" instead of "-start c:/JRun4/servers/default jrun.rootDir=c:/JRun4" as the application parameter to start the server. > > -----Original Message----- > From: jamesguan [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 09, 2002 6:37 PM > To: JRun-Talk > Subject: Re: How To Configure JBuilder 6.0 for JRun Server 4.0 > > > Hi John, > > I have checked the servers.xml file, the default server section seems > all correct. > and I can start the default server from the command line, C:\JRun4\bin > > but when I run the servlet from JBuilder6, it still gives me the same > messages > > " 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." > > under the Project Properties, under the Run, under the Application > Parameter, I put in > ' -start c:/JRun4/servers/default jrun.rootDir=c:/JRun4 ' > > do you think that would be the problem? > > thanks again > > regards > > James > ----- Original Message ----- > From: "John Zhao" <[EMAIL PROTECTED]> > To: "JRun-Talk" <[EMAIL PROTECTED]> > Sent: Tuesday, July 09, 2002 2: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/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists