I guess I was not sufficiently clear. I'm bootstrapping Phoenix as part of my own application startup sequence. What I really wanted to know is if there is an Observable object that notifies clients when Phoenix managed components (like modules of James) reach a new lifecycle state. The netstat -rn hack might work as a quick work around.
Thanks, Gabor --- Caroline Jen <[EMAIL PROTECTED]> wrote: > We maybe able to help more if you could be more > specific about your question. Here are what I did: > > - run build.bat in the C:\javamail-1.3.1\demo\webapp > before you start Phoenix. This will compile all the > James classes and creates a SAR-file (Server > ARchive) > for Phoenix. > - set both the CLASSPATH and the JAVA_HOME > environment > variables. Do not have to set CLASSPATH for James. > James is an application that runs inside a > container. > It's the job of the container to startup james. If > you have downloaded the binary distribution you will > find a run.bat file in the bin directory. > - unpack james-x.x.tar.gz (or the -with-phoenix > variant) into a folder > - open a Command prompt and cd to the folder where > you > extracted James > - > cd dist\james-x.x\bin > - > run (Phoenix should start and load James) > Running an "netstat -an" reports if there's a > port > 25 LISTENING, or there is another program (for > example, tomcat, WebLogic) on this port. > > James will startup and you should see the > following on your console: > > Using PHOENIX_HOME: F:\dev\james-2.1\james-2.1 > Using PHOENIX_TMPDIR: > F:\dev\james-2.1\james-2.1\temp > Using JAVA_HOME: F:\system\jdk\1.4.2 > > Phoenix 4.0.1 > > James 2.1 > Remote Manager Service started plain:4555 > POP3 Service started plain:110 > SMTP Service started plain:25 > NNTP Service Disabled > Fetch POP Disabled > > Use ^C (control-C) to halt the server. In the apps > directory you will find the configuration info for > james in the directory apps\james\SAR-INF\config.xml > > where you can modify things like DNS entries, > passwords for remote adminstration, host names, etc. > > To restart james - just go back to the bin directory > and execute the run command. > > > > --- Gabor Kincses <[EMAIL PROTECTED]> wrote: > > > Is there a reliable way to detect when Phoenix has > > completed startin up all configured components? > > Like > > James? > > > > Thanks, > > Gabor > > > > ===== > > Gabor Kincses > > Running Mandrake Linux 10.0 > > > > > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Mail - You care about security. So do we. > > http://promotions.yahoo.com/new_mail > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam > protection around > http://mail.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > ===== Gabor Kincses Running Mandrake Linux 10.0 __________________________________ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
