I'm running phoenix 4.0a4 on win2000 with jdk 1.4. I've compiled and
installed the demo apps (3 sar files) into apps dir. The first time I run
phoenix it works. I then stop phoenix by ctrl-c in the console window. when
I  start phoenix again I get an exception:
"org.apache.xerces.jaxp.SaxPaserFactoryImpl not found", which is odd because
when I check the logs/phoenix.log, it tells me its quiting because it cannot
delete a file in the work directory. Even when I first remove all files from
the work directory does it fail to start (apparently the loader creates and
also deletes files in the work directory during initialisation). After I
reboot it does work again.
How do I fix this?
If there is no fix, How can I work around this without having to restart
windows?
Thanks,
Stefaan Nachtergaele

The details:
================================== console output when running phoenix the
second time:
start
Using PHOENIX_HOME:   E:\Devel\phoenix-4.0a400
Using PHOENIX_TMPDIR: E:\Devel\phoenix-4.0a400\temp
Using JAVA_HOME:      E:\j2sdk1.4.0

Phoenix 4.0a4

HelloWorld server running with a greeting of 'Hello World'.  Point your
browser to http://localhost:7666 to see its page
AltrmiHelloWorldServerImple: service
AltrmiHelloWorldServerImple: configure: publiccationName is helloworld
AltrmiHelloWorld server running.  Use avalon-altrmidemo-tester.jar to
connect to and test it
HelloWorld server running with a greeting of 'Hello World'.  Point your
browser to http://localhost:8999 to see its page
There was an uncaught exception:
---------------------------------------------------------
--- Message ---
Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found
--- Stack Trace ---
javax.xml.parsers.FactoryConfigurationError: Provider
org.apache.xerces.jaxp.SAXParserFactoryImpl not found
        at 
javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:93)
        at
org.apache.avalon.phoenix.tools.configuration.ConfigurationBuilder.createXML
Reader(ConfigurationBuilder.java:55)
        at
org.apache.avalon.phoenix.tools.configuration.ConfigurationBuilder.build(Con
figurationBuilder.java:87)
        at
org.apache.avalon.phoenix.tools.configuration.ConfigurationBuilder.build(Con
figurationBuilder.java:78)
        at
org.apache.avalon.phoenix.components.deployer.DefaultDeployer.getConfigurati
onFor(DefaultDeployer.java:416)
        at
org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy(Default
Deployer.java:275)
        at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(Def
aultEmbeddor.java:494)
        at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(Def
aultEmbeddor.java:487)
        at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFiles(De
faultEmbeddor.java:472)
        at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployDefaultA
pplications(DefaultEmbeddor.java:462)
        at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.execute(Defaul
tEmbeddor.java:223)
        at org.apache.avalon.phoenix.frontends.CLIMain.run(CLIMain.java:157)
        at org.apache.avalon.phoenix.frontends.CLIMain.execute(CLIMain.java:143)
        at org.apache.avalon.phoenix.frontends.CLIMain.main(CLIMain.java:101)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.avalon.phoenix.launcher.Main.startup(Main.java:91)
        at org.apache.avalon.phoenix.launcher.Main.main(Main.java:44)

---------------------------------------------------------
The log file may contain further details of error.
Please check the configuration files and restart Phoenix.
If the problem persists, contact the Avalon project.  See
http://jakarta.apache.org/avalon for more information.
Shutting down Phoenix.

======================================= contents of /logs/phoenix.log
INFO    2002-07-18 12:30:46.181 [Phoenix ] (): Logger started
WARN    2002-07-18 12:30:46.291 [Phoenix ] (): Phoenix was not started by
the daemon thus it will not be possible to restart the JVM via the
Management interface.
INFO    2002-07-18 12:30:46.512 [Phoenix.] (): Work directory does not
exist, attempting to create directory E:\Devel\phoenix-4.0a400\work.
INFO    2002-07-18 12:30:46.582 [Phoenix.] (): Installing Sar located at
file:/E:/Devel/phoenix-4.0a400/apps/avalon-altrmidemo.sar.
WARN    2002-07-18 12:30:46.652 [Phoenix.] (): The file
HelloWorldAltrmiProxy.jar can not be extracted from the Sar
"file:/E:/Devel/phoenix-4.0a400/apps/avalon-altrmidemo.sar" into directory
E:\Devel\phoenix-4.0a400\apps\avalon-altrmidemo\HelloWorldAltrmiProxy.jar
because there is a file in the way.
WARN    2002-07-18 12:30:46.652 [Phoenix.] (): The file SAR-INF/config.xml
can not be extracted from the Sar
"file:/E:/Devel/phoenix-4.0a400/apps/avalon-altrmidemo.sar" into directory
E:\Devel\phoenix-4.0a400\apps\avalon-altrmidemo\SAR-INF\config.xml because
there is a file in the way.
WARN    2002-07-18 12:30:46.652 [Phoenix.] (): The file SAR-INF/assembly.xml
can not be extracted from the Sar
"file:/E:/Devel/phoenix-4.0a400/apps/avalon-altrmidemo.sar" into directory
E:\Devel\phoenix-4.0a400\apps\avalon-altrmidemo\SAR-INF\assembly.xml because
there is a file in the way.
WARN    2002-07-18 12:30:46.662 [Phoenix.] (): The file
SAR-INF/environment.xml can not be extracted from the Sar
"file:/E:/Devel/phoenix-4.0a400/apps/avalon-altrmidemo.sar" into directory
E:\Devel\phoenix-4.0a400\apps\avalon-altrmidemo\SAR-INF\environment.xml
because there is a file in the way.
INFO    2002-07-18 12:30:47.313 [Phoenix.] (): Verifying that the name
specified for Blocks and BlockListeners are valid.
INFO    2002-07-18 12:30:47.333 [Phoenix.] (): Verifying that the name
specified for Blocks and BlockListeners are unique.
INFO    2002-07-18 12:30:47.333 [Phoenix.] (): Verifying that the specified
Dependencies are valid according to BlockInfo.
INFO    2002-07-18 12:30:47.333 [Phoenix.] (): Verifying that the
dependencies of Blocks are valid with respect to other Blocks.
INFO    2002-07-18 12:30:47.333 [Phoenix.] (): Verifying that there are no
circular dependencies between Blocks.
INFO    2002-07-18 12:30:47.333 [Phoenix.] (): Verifying that the specified
Blocks have valid types.
INFO    2002-07-18 12:30:47.443 [Phoenix.] (): Verifying that the specified
BlockListeners have valid types.
INFO    2002-07-18 12:30:47.553 [Phoenix.] (): 7 Blocks to process for phase
"startup". Order of processing = [thread-manager, connections, sockets,
altrmi-authenticator, altrmi-publisher, helloworldserver,
altrmihelloworldserver].
INFO    2002-07-18 12:30:47.924 [Phoenix.] (): Installing Sar located at
file:/E:/Devel/phoenix-4.0a400/apps/avalon-demo.sar.
WARN    2002-07-18 12:30:47.954 [Phoenix.] (): The file SAR-INF/config.xml
can not be extracted from the Sar
"file:/E:/Devel/phoenix-4.0a400/apps/avalon-demo.sar" into directory
E:\Devel\phoenix-4.0a400\apps\avalon-demo\SAR-INF\config.xml because there
is a file in the way.
WARN    2002-07-18 12:30:47.954 [Phoenix.] (): The file SAR-INF/assembly.xml
can not be extracted from the Sar
"file:/E:/Devel/phoenix-4.0a400/apps/avalon-demo.sar" into directory
E:\Devel\phoenix-4.0a400\apps\avalon-demo\SAR-INF\assembly.xml because there
is a file in the way.
WARN    2002-07-18 12:30:47.954 [Phoenix.] (): The file
SAR-INF/environment.xml can not be extracted from the Sar
"file:/E:/Devel/phoenix-4.0a400/apps/avalon-demo.sar" into directory
E:\Devel\phoenix-4.0a400\apps\avalon-demo\SAR-INF\environment.xml because
there is a file in the way.
INFO    2002-07-18 12:30:48.334 [Phoenix.] (): Verifying that the name
specified for Blocks and BlockListeners are valid.
INFO    2002-07-18 12:30:48.334 [Phoenix.] (): Verifying that the name
specified for Blocks and BlockListeners are unique.
INFO    2002-07-18 12:30:48.334 [Phoenix.] (): Verifying that the specified
Dependencies are valid according to BlockInfo.
INFO    2002-07-18 12:30:48.334 [Phoenix.] (): Verifying that the
dependencies of Blocks are valid with respect to other Blocks.
INFO    2002-07-18 12:30:48.344 [Phoenix.] (): Verifying that there are no
circular dependencies between Blocks.
INFO    2002-07-18 12:30:48.344 [Phoenix.] (): Verifying that the specified
Blocks have valid types.
INFO    2002-07-18 12:30:48.414 [Phoenix.] (): Verifying that the specified
BlockListeners have valid types.
INFO    2002-07-18 12:30:48.424 [Phoenix.] (): 7 Blocks to process for phase
"startup". Order of processing = [objectstorage, thread-manager,
packet-manager, connections, sockets, scheduler, helloworldserver].
INFO    2002-07-18 12:30:48.565 [Phoenix.] (): Installing Sar located at
file:/E:/Devel/phoenix-4.0a400/apps/avalon-rmidemo.sar.
WARN    2002-07-18 12:30:48.595 [Phoenix.] (): The file SAR-INF/config.xml
can not be extracted from the Sar
"file:/E:/Devel/phoenix-4.0a400/apps/avalon-rmidemo.sar" into directory
E:\Devel\phoenix-4.0a400\apps\avalon-rmidemo\SAR-INF\config.xml because
there is a file in the way.
WARN    2002-07-18 12:30:48.595 [Phoenix.] (): The file SAR-INF/assembly.xml
can not be extracted from the Sar
"file:/E:/Devel/phoenix-4.0a400/apps/avalon-rmidemo.sar" into directory
E:\Devel\phoenix-4.0a400\apps\avalon-rmidemo\SAR-INF\assembly.xml because
there is a file in the way.
WARN    2002-07-18 12:30:48.605 [Phoenix.] (): The file
SAR-INF/environment.xml can not be extracted from the Sar
"file:/E:/Devel/phoenix-4.0a400/apps/avalon-rmidemo.sar" into directory
E:\Devel\phoenix-4.0a400\apps\avalon-rmidemo\SAR-INF\environment.xml because
there is a file in the way.
INFO    2002-07-18 12:30:48.635 [Phoenix.] (): 7 Blocks to process for phase
"shutdown". Order of processing = [altrmihelloworldserver, altrmi-publisher,
helloworldserver, connections, thread-manager, sockets,
altrmi-authenticator].
WARN    2002-07-18 12:30:49.426 [Phoenix.] (): Error deleting Work Directory
"E:\Devel\phoenix-4.0a400\work\avalon-altrmidemo-1026988246582". (Reason:
File
E:\Devel\phoenix-4.0a400\work\avalon-altrmidemo-1026988246582\SAR-INF\lib\ex
calibur-altrmi-server-interfaces.jar unable to be deleted.)
java.io.IOException: File
E:\Devel\phoenix-4.0a400\work\avalon-altrmidemo-1026988246582\SAR-INF\lib\ex
calibur-altrmi-server-interfaces.jar unable to be deleted.      at
org.apache.avalon.excalibur.io.FileUtil.forceDelete(FileUtil.java:638)  at
org.apache.avalon.excalibur.io.FileUtil.cleanDirectory(FileUtil.java:806)
at
org.apache.avalon.excalibur.io.FileUtil.deleteDirectory(FileUtil.java:762)
at org.apache.avalon.excalibur.io.FileUtil.forceDelete(FileUtil.java:630)
at org.apache.avalon.excalibur.io.FileUtil.cleanDirectory(FileUtil.java:806)
at
org.apache.avalon.excalibur.io.FileUtil.deleteDirectory(FileUtil.java:762)
at org.apache.avalon.excalibur.io.FileUtil.forceDelete(FileUtil.java:630)
INFO    2002-07-18 12:30:49.436 [Phoenix.] (): 7 Blocks to process for phase
"shutdown". Order of processing = [objectstorage, packet-manager,
helloworldserver, connections, scheduler, thread-manager, sockets].
WARN    2002-07-18 12:30:49.636 [Phoenix.] (): Error deleting Work Directory
"E:\Devel\phoenix-4.0a400\work\avalon-demo-1026988247924". (Reason: File
E:\Devel\phoenix-4.0a400\work\avalon-demo-1026988247924\SAR-INF\lib\demo-hel
loworld.jar unable to be deleted.)
java.io.IOException: File
E:\Devel\phoenix-4.0a400\work\avalon-demo-1026988247924\SAR-INF\lib\demo-hel
loworld.jar unable to be deleted.       at
org.apache.avalon.excalibur.io.FileUtil.forceDelete(FileUtil.java:638)  at
org.apache.avalon.excalibur.io.FileUtil.cleanDirectory(FileUtil.java:806)
at
org.apache.avalon.excalibur.io.FileUtil.deleteDirectory(FileUtil.java:762)
at org.apache.avalon.excalibur.io.FileUtil.forceDelete(FileUtil.java:630)
at org.apache.avalon.excalibur.io.FileUtil.cleanDirectory(FileUtil.java:806)
at
org.apache.avalon.excalibur.io.FileUtil.deleteDirectory(FileUtil.java:762)
at org.apache.avalon.excalibur.io.FileUtil.forceDelete(FileUtil.java:630)


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

Reply via email to