I tracked down the problem a little, so exception is thrown in "org.apache.avalon.phoenix.launcher.Main" in "protected static final void shutdown()" there is e.printStackTrace(); which dumps exception then there is a problem in
117 final Class clazz = c_frontend.getClass(); 118 final Method method = clazz.getMethod( "shutdown", new Class[ 0 ] ); 121 method.invoke( c_frontend, new Object[ 0 ] ); I don't know what is the c_frontend object... Andrei PS wrapper was lauchned with "-c" option ----- Original Message ----- From: "Andrei Ivanov" <[EMAIL PROTECTED]> To: "Avalon-Phoenix Developers List" <[email protected]> Sent: Wednesday, May 22, 2002 3:31 PM Subject: Re: Starting phoenix with wrapper problem... > Ok, I made one step forward, problem was that according to wrapper.conf > which goes with the phoenix, all wrapper files jar, dll, exe and conf has to > be in dist/bit. It seems so... Now it starts without security exception but > gives the other one (there is no sar in apps): > > jvm 1 | Phoenix 4.0a4 > jvm 1 | > jvm 1 | Shutting down Phoenix. > jvm 1 | java.lang.NoSuchMethodException > jvm 1 | at java.lang.Class.getMethod0(Native Method) > jvm 1 | at java.lang.Class.getMethod(Unknown Source) > jvm 1 | at > org.apache.avalon.phoenix.launcher.Main.shutdown(Main.java:118) > jvm 1 | at > org.apache.avalon.phoenix.launcher.DaemonLauncher.stop(DaemonLauncher.java:6 > 8) > jvm 1 | at > com.silveregg.wrapper.WrapperManager.stopInner(WrapperManager.java:670) > jvm 1 | at > com.silveregg.wrapper.WrapperManager.handleSocket(WrapperManager.java:890) > jvm 1 | at > com.silveregg.wrapper.WrapperManager.run(WrapperManager.java:979) > jvm 1 | at java.lang.Thread.run(Unknown Source) > wrapper | <-- Wrapper Stopped > > I am using phoenix which I co from apache cvs about 30 min. ago. > > Regards, > Andrei > > ----- Original Message ----- > From: "Andrei Ivanov" <[EMAIL PROTECTED]> > To: "Avalon-Phoenix Developers List" <[email protected]> > Sent: Wednesday, May 22, 2002 3:05 PM > Subject: Starting phoenix with wrapper problem... > > > > Hi, I build phoenix dist with necessary options for wrapper. > > > > Then copied wrapper files into corresponding directories in phoenix dist: > > > > dist\bin contains Wrapper.exe and phoenix files > > > > dist\lib contains wrapper.jar, Wrapper.dll and phoenix jars > > > > dist\conf contains wrapper.conf and kernel.xml > > > > Phoenix starts well with run.bat (so far there is no sar in apps) but when > I > > am trying to run it using wrapper > > > > jakarta-avalon-phoenix\dist\bin>Wrapper.exe -c ..\conf\wrapper.conf > > > > it gives security exception: > > > > wrapper | CTRL-C trapped. Shutting down. > > wrapper | Launching a JVM... > > jvm 3 | java.lang.ExceptionInInitializerError: > > java.security.AccessControlException: access denied > > (java.util.PropertyPermission wrapper.debug read > > ) > > jvm 3 | at > > java.security.AccessControlContext.checkPermission(Unknown Source) > > jvm 3 | at java.security.AccessController.checkPermission(Unknown > > Source) > > jvm 3 | at java.lang.SecurityManager.checkPermission(Unknown > Source) > > jvm 3 | at java.lang.SecurityManager.checkPropertyAccess(Unknown > > Source) > > jvm 3 | at java.lang.System.getProperty(Unknown Source) > > jvm 3 | at > > com.silveregg.wrapper.WrapperManager.<clinit>(WrapperManager.java:159) > > jvm 3 | at > > > org.apache.avalon.phoenix.launcher.DaemonLauncher.main(DaemonLauncher.java:1 > > 49) > > jvm 3 | Exception in thread "main" > > wrapper | JVM exited unexpectedly while stopping the application. > > wrapper | <-- Wrapper Stopped > > > > What else has to be setup? There is no much info in docs... > > Andrei > > > > > > -- > > 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]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
