avalon-phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 10498] - ClassNoFoundExceptions lost
Date Sun, 07 Jul 2002 05:25:03 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10498>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10498

ClassNoFoundExceptions lost





------- Additional Comments From jeff@socialchange.net.au  2002-07-07 05:25 -------
Nope, phoenix.log doesn't even contain the usual stacktrace, let alone anything
extra:

jeff@expresso:~/apache/jakarta/jakarta-avalon-phoenix/distributions/phoenix-4.0a4/bin$
cat ../logs/phoenix.log 
INFO    2002-07-07 15:33:12.803 [Phoenix ] (): Logger started
WARN    2002-07-07 15:33:12.886 [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-07 15:33:13.086 [Phoenix.] (): Installing Sar located at
file:/old/home/jeff/homeoverflow/apache/jakarta/jakarta-avalon-phoenix/distributions/pdk/build/lib/antserver-demo.sar.
INFO    2002-07-07 15:33:13.683 [Phoenix.] (): Verifying that the name specified
for Blocks and BlockListeners are valid.
INFO    2002-07-07 15:33:13.684 [Phoenix.] (): Verifying that the name specified
for Blocks and BlockListeners are unique.
INFO    2002-07-07 15:33:13.685 [Phoenix.] (): Verifying that the specified
Dependencies are valid according to BlockInfo.
INFO    2002-07-07 15:33:13.685 [Phoenix.] (): Verifying that the dependencies
of Blocks are valid with respect to other Blocks.
INFO    2002-07-07 15:33:13.686 [Phoenix.] (): Verifying that there are no
circular dependencies between Blocks.
INFO    2002-07-07 15:33:13.687 [Phoenix.] (): Verifying that the specified
Blocks have valid types.



For the record, here's exactly what I see from the command-line:

jeff@expresso:~/apache/jakarta/jakarta-avalon-phoenix/distributions/phoenix-4.0a4/bin$
./run.sh 
Using PHOENIX_HOME:  
/home/jeff/apache/jakarta/jakarta-avalon-phoenix/distributions/phoenix-4.0a4
Using PHOENIX_TMPDIR:
/home/jeff/apache/jakarta/jakarta-avalon-phoenix/distributions/phoenix-4.0a4/temp
Using JAVA_HOME:      /usr/lib/j2sdk1.3

Phoenix 4.0a4

There was an uncaught exception:
---------------------------------------------------------
--- Message ---
Unable to load class "net.socialchange.antserver.AntServerImpl" for Block named
"antserver". (Reason: net.socialchange.antserver.AntServerImpl).
--- Stack Trace ---
org.apache.avalon.phoenix.interfaces.DeploymentException: Unable to load class
"net.socialchange.antserver.AntServerImpl" for Block named "antserver". (Reason:
net.socialchange.antserver.AntServerImpl).
        at
org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy(DefaultDeployer.java:323)
        at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:494)
        at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:487)
        at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFiles(DefaultEmbeddor.java:472)
        at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployDefaultApplications(DefaultEmbeddor.java:462)
        at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.execute(DefaultEmbeddor.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 java.lang.reflect.Method.invoke(Native Method)
        at org.apache.avalon.phoenix.launcher.Main.startup(Main.java:91)
        at org.apache.avalon.phoenix.launcher.Main.main(Main.java:44)
rethrown from
org.apache.excalibur.containerkit.verifier.VerifyException: Unable to load class
"net.socialchange.antserver.AntServerImpl" for Block named "antserver". (Reason:
net.socialchange.antserver.AntServerImpl).
        at
org.apache.avalon.phoenix.tools.verifier.SarVerifier.verifyBlockType(SarVerifier.java:375)
        at
org.apache.avalon.phoenix.tools.verifier.SarVerifier.verifyBlocksType(SarVerifier.java:348)
        at
org.apache.avalon.phoenix.tools.verifier.SarVerifier.verifySar(SarVerifier.java:126)
        at
org.apache.avalon.phoenix.components.deployer.DefaultDeployer.verify(DefaultDeployer.java:352)
        at
org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy(DefaultDeployer.java:291)
        at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:494)
        at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:487)
        at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFiles(DefaultEmbeddor.java:472)
        at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployDefaultApplications(DefaultEmbeddor.java:462)
        at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.execute(DefaultEmbeddor.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 java.lang.reflect.Method.invoke(Native Method)
        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.



Btw, I got a similar hard-to-debug error in the opposite situation, where I have
a block class, but forgot to create a .xinfo file for it.


--Jeff

--
To unsubscribe, e-mail:   <mailto:avalon-phoenix-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-phoenix-dev-help@jakarta.apache.org>


Mime
View raw message