Hi!

Andrei Ivanov reported a problem with deleting the temporary directories 
inside Phoenix's work directory on Windows some months ago.

http://www.mail-archive.com/[email protected]/msg00607.html

I had the same problem then (WinXP), but I thought it got fixed and 
forgot about the whole issue. Today I tested my projects on Phoenix 4.0, 
release version, and I still have this problem.

To test if this was a problem with my applications only, I compiled the 
demo from avalon-apps and it produces the same result. I can't find any 
problems with file level security or java's security manager (no 
difference if I turn it off).

I'm sorry if I am bringing up something that has already been solved. I 
have the feeling that I'm missing something really simple here.


Peter,
in your proposal for the work directory (in Bugzilla) you mentioned that 
it should be removed on startup as it still includes the temporary 
directories if Phoenix was uncleanly shutdown. Will this be added at 
some point, or is this the whole issue that Phoenix is killed with 
Ctrl-C? I get the same results with the Wrapper though...

                            ---o0o---

When checking the -Djava.security.manager parameter in /bin/run.bat I 
noticed that the parameter PHOENIX_SECURE is passed to the JVM. Isn't 
this a bug? It should be PHOENIX_SM if I'm not completely mistaken?? 
Patch included if needed...

//
Johan
Index: src/script/run.bat
===================================================================
RCS file: /home/cvspublic/jakarta-avalon-phoenix/src/script/run.bat,v
retrieving revision 1.8
diff -u -r1.8 run.bat
--- src/script/run.bat  26 Aug 2002 10:30:57 -0000      1.8
+++ src/script/run.bat  24 Sep 2002 13:36:53 -0000
@@ -86,6 +86,6 @@
 rem set DEBUG=-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y
 
 rem Kicking the tires and lighting the fires!!!
-"%PHOENIX_JAVACMD%" %DEBUG% "-Djava.ext.dirs=%PHOENIX_HOME%\lib" 
"-Dphoenix.home=%PHOENIX_HOME%" 
"-Djava.security.policy=jar:file:%PHOENIX_HOME%/bin/phoenix-loader.jar!/META-INF/java.policy"
 %PHOENIX_JVM_OPTS% %PHOENIX_SECURE% -jar "%PHOENIX_HOME%\bin\phoenix-loader.jar" %1 
%2 %3 %4 %5 %6 %7 %8 %9
+"%PHOENIX_JAVACMD%" %DEBUG% "-Djava.ext.dirs=%PHOENIX_HOME%\lib" 
+"-Dphoenix.home=%PHOENIX_HOME%" 
+"-Djava.security.policy=jar:file:%PHOENIX_HOME%/bin/phoenix-loader.jar!/META-INF/java.policy"
+ %PHOENIX_JVM_OPTS% %PHOENIX_SM% -jar "%PHOENIX_HOME%\bin\phoenix-loader.jar" %1 %2 
+%3 %4 %5 %6 %7 %8 %9
 
 :end

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to