Return-Path: Delivered-To: apmail-jakarta-avalon-phoenix-dev-archive@apache.org Received: (qmail 64198 invoked from network); 22 May 2002 12:56:31 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 22 May 2002 12:56:31 -0000 Received: (qmail 12442 invoked by uid 97); 22 May 2002 12:56:31 -0000 Delivered-To: qmlist-jakarta-archive-avalon-phoenix-dev@jakarta.apache.org Received: (qmail 12426 invoked by uid 97); 22 May 2002 12:56:31 -0000 Mailing-List: contact avalon-phoenix-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Avalon-Phoenix Developers List" Reply-To: "Avalon-Phoenix Developers List" Delivered-To: mailing list avalon-phoenix-dev@jakarta.apache.org Received: (qmail 12413 invoked by uid 98); 22 May 2002 12:56:30 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <007401c20190$5f9dca10$8119fea9@klop270> From: "Andrei Ivanov" To: "Avalon-Phoenix Developers List" References: <3CEA39C7.6C9851BE@denic.de> <200205212257.00979.peter@apache.org> <3CEA4CD6.858CF9D3@denic.de> <200205222015.36957.peter@apache.org> <006e01c2018c$a415da60$8119fea9@klop270> Subject: Re: Starting phoenix with wrapper problem... Date: Wed, 22 May 2002 15:58:29 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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" To: "Avalon-Phoenix Developers List" 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" > To: "Avalon-Phoenix Developers List" > 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.(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: > > > For additional commands, e-mail: > > > > > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > -- To unsubscribe, e-mail: For additional commands, e-mail: