CC'ing the user list, since this is most appropriate there...
On Monday, October 21, 2002, at 06:23 PM, pfisterj wrote:
When I tried to run development phoenix instance, at same time, I got following error: ----------------------------- INFO 2002-10-21 16:12:15.421 [Phoenix ] (): Logger started WARN 2002-10-21 16:12:15.500 [Phoenix ] (): Phoenix was not started by the daemon thus it will not be possible to restart the JVM via the Management interface. FATAL_E 2002-10-21 16:12:16.046 [Phoenix ] (): There was a fatal error while starting Embeddor. javax.management.MBeanException: nested exception is java.net.BindException: Address already in use: JVM_Bind
inside PHOENIX_HOME/conf/kernel.xml, there is the "SystemManager" component.
There are two tags under there that could be causing this:
<manager-adaptor-port>8082</manager-adaptor-port>
<enable-rmi-adaptor>true</enable-rmi-adaptor>'enable-rmi-adaptor' may be commented out, or set to false. if so, don't worry about it. Otherwise, you want to set it to false on one of the instances.
You also want to make sure the 'manager-adaptor-port' is unique on each phoenix installation (I would just increment by one for the other install)
3)Assuming that works, is there a way to bring down and startup a given SAR as opposed to bringing down entire Phoenix system itself?
Yes, using the web-based management interface. http://localhost:<port number from above>
Another subject: 4a)I have been shutting Phoenix down using cntrl-C. Is there another preferrable way to shut the server down?
On Windows I believe Control-C is preferrable at the moment (4.0). I believe 4.1 has some batch file wrapper to start/stop
4b)After shutting down Phoenix the db.properties indicates modified=yes. This means that changes to database have not been saved/commited to the data file. I would like to do SHUTDOWN COMPACT on hsqldb when Phoenix shuts down. I can't see any mechanism in DefaultHypersonicSQL.java nor in HypersonicSQLHandler.java for implementing this. How can I do this?
Is it possible to shutdown the server from the HsqlSocketRequestHandler interface?
If so, by modifying DefaultHypersonicSQL to implement the Disposable interface and calling the shutdown methods inside of dispose() would be the preferred way to implement.
-pete
-- peter royal -> [EMAIL PROTECTED]
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
