Jim,
Easy: in one of the phoenix conf dirs, edit kernel.conf and change the MX4J port from 8082 to something else. That or run without MX4J.
-ph
I am running hsqldb inside hsql avalon block. I am using Phoenix4.0. hsqldb 1.7.1
I created two phoenix directories one for development and one for PA product assurance. My intent was to be able to have both development and PA running on the same machine. I can already do this with Tomcat by changing port attributes in server.xml.
I changed the port and the database file parameters in config.xml in the SAR for the PA instance and started it running.
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 java.net.BindException: Address already in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331) at java.net.ServerSocket.bind(ServerSocket.java:309) at java.net.ServerSocket.<init>(ServerSocket.java:183) at mx4j.adaptor.PlainAdaptorServerSocketFactory.createServerSocket(PlainAdaptorServerSocketFactory.java:26) at mx4j.adaptor.http.HttpAdaptor.createServerSocket(HttpAdaptor.java:261) -----------------
There seems to be a port being used that I am not
aware of and have no way of changing.
2)Is this port "JVM_Bind" part of Phoenix?
If so, and I cannot run more than one Phoenix
environment on a machine then I suppose I could put
both SARs in one Phoenix environment. I will try that
next.
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?
Another subject:
4a)I have been shutting Phoenix down using cntrl-C. Is there another preferrable way to shut the server
down?
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?
Thanks and Regards, Jim
__________________________________________________ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
