You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apps-dev@avalon.apache.org by Yann Secq <Ya...@lifl.fr> on 2002/06/14 11:13:42 UTC
Newbie questions
Hi, I am new to Phoenix and the avalon framework, but I would
like to use it for one of my projects. I tried to access the
archive of this mailing-list before subscribing, but the link
on the website is broken.
(http://www.mail-archive.com/avalon-apps-dev@jakarta.apache.org/)
I have downloaded the latest tarball of Phoenix (4.0a3) and
the 'Demo-0.7'
(from http://jakarta.apache.org/avalon/apps/apps/demo/index.html)
When I launch Phoenix, I got this error :
secq@beckett:/tmp/phoenix-4.0a3$ ls apps/
avalon-altrmidemo-0.7.sar avalon-altrmidemo-tester-0.7.jar
avalon-demo-0.7.sar
secq@beckett:/tmp/phoenix-4.0a3$ bin/run.sh
Phoenix 4.0a3
There was an uncaught exception:
---------------------------------------------------------
--- Message ---
Error building configuration from
jar:file:/tmp/phoenix-4.0a3/apps/avalon-altrmidemo-0.7.sar!/SAR-INF/assembly.xml.
--- Stack Trace ---
org.apache.avalon.phoenix.interfaces.DeploymentException: Error building
configuration from
jar:file:/tmp/phoenix-4.0a3/apps/avalon-altrmidemo-0.7.sar!/SAR-INF/assembly.xml.
at
org.apache.avalon.phoenix.components.deployer.DefaultDeployer.getConfigurationFor(DefaultDeployer.java:206)
at
org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy(DefaultDeployer.java:146)
at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:351)
at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:345)
at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFiles(DefaultEmbeddor.java:330)
at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployDefaultApplications(DefaultEmbeddor.java:320)
at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.execute(DefaultEmbeddor.java:162)
at
org.apache.avalon.phoenix.frontends.CLIMain.execute(CLIMain.java:96)
at
org.apache.avalon.phoenix.frontends.CLIMain.main(CLIMain.java:64)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.avalon.phoenix.launcher.Main.main(Main.java:54)
---------------------------------------------------------
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.
secq@beckett:/tmp/phoenix-4.0a3$ more logs/phoenix.log
Fri Jun 14 11:10:27 CEST 2002 [INFO ] (Phoenix): Logger started
Fri Jun 14 11:10:28 CEST 2002 [INFO ] (Phoenix.deployer): Installing
Sar located at file:/tmp/phoenix-4.0a3/apps/avalon-altrmidemo-0.7.sar.
secq@beckett:/tmp/phoenix-4.0a3$
Have I missed someting ?
Thanks, yann.
--
/ Yann SECQ Equipe SMAC secq@lifl.fr \
| Multi-Agent Systems Modeling & Agent Oriented Programming |
\ http://www.lifl.fr/SMAC http://www.lifl.fr/~secq /
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Newbie questions
Posted by Peter Royal <pr...@apache.org>.
On Friday 14 June 2002 12:03 pm, Yann Secq wrote:
> Peter Royal wrote:
> > JRE 1.4 has a copy of xerces in its "extensions" directory which causes
> > that.
>
> Yes, I think it is clearly stated in the README.txt file. So I
> don't know if it is really a 'bug' ?
Its going to be causing problems moving forward, and it would be best if
phoenix 'just worked' w/1.4.
-pete
--
peter royal -> proyal@apache.org
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Newbie questions
Posted by Yann Secq <Ya...@lifl.fr>.
Peter Royal wrote:
> JRE 1.4 has a copy of xerces in its "extensions" directory which causes that.
Yes, I think it is clearly stated in the README.txt file. So I
don't know if it is really a 'bug' ?
> Please add a bug in bugzilla so it doesn't get forgotten,
> http://nagoya.apache.org/bugzilla/
ok, I have never used bugzilla : I'll first read the guidelines,
and then I'll try to submit it.
Thanks, yann.
--
/ Yann SECQ Equipe SMAC secq@lifl.fr \
| Multi-Agent Systems Modeling & Agent Oriented Programming |
\ http://www.lifl.fr/SMAC http://www.lifl.fr/~secq /
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Newbie questions
Posted by Peter Royal <pr...@apache.org>.
On Friday 14 June 2002 10:40 am, Yann Secq wrote:
> ok, forget this message (I had removed all .sar in the apps
> directory :-( ... so of course phoenix started !).
>
> But, when using the 1.4 JRE I get a better stacktrace that
> let me believe that it fails because phoenix is unable to
> find this DTD : http://jakarta.apache.org/phoenix/assembly_1_0.dtd
JRE 1.4 has a copy of xerces in its "extensions" directory which causes that.
Please add a bug in bugzilla so it doesn't get forgotten,
http://nagoya.apache.org/bugzilla/
-pete
--
peter royal -> proyal@apache.org
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Newbie questions
Posted by Yann Secq <Ya...@lifl.fr>.
Leo Simons wrote:
> uhm, no, you need a newer one...I gave you a wrong link. Try
> phoenix 4.0a4 from http://cvs.apache.org/~hammant/phoenix/
> and the demo 0.7 you already have, with either the sun or ibm VM (though
> it shouldn't matter, I don't know what blackdown is).
Blackdown was one of the first JVM for Linux (http://www.blackdown.org).
I've downloaded the 4.0a4 version and tried it with the Demo-0.7 : it
worked ! Well, at least, phoenix has started :
secq@beckett:/tmp/phoenix-4.0a4/dist$ bin/run.sh
Using PHOENIX_HOME: /tmp/phoenix-4.0a4/dist
Using PHOENIX_TMPDIR: /tmp/phoenix-4.0a4/dist/temp
Using JAVA_HOME: /usr/local/jdks/j2sdk1.3.1
Phoenix 4.0a4
HelloWorld server running with a greeting of 'Hello World'. Point your
browser to http://localhost:7666 to see its page
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
But, when I point my browser to these URLs, I get an empty page :
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN"><html><head><title></title></head><body></body></html>
So, it's better than before, as everything seems to be initialized and
ready, but I couldn't get my 'Hello world' :)
> I'm sorry you have to go through all these steps; phoenix is still in
> alpha so it is usually necessary to get the most recent version to get
> it all to work.
No problem at all. I'm just a bit frustrated because the
documentation and concepts behind Avalon (great movie BTW) and
Phoenix are great, and I'm just eager to get my hands on it ;)
Thanks you for the help, yann.
--
/ Yann SECQ Equipe SMAC secq@lifl.fr \
| Multi-Agent Systems Modeling & Agent Oriented Programming |
\ http://www.lifl.fr/SMAC http://www.lifl.fr/~secq /
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Newbie questions
Posted by Leo Simons <le...@apache.org>.
> > There's apparantly still a problem with using those versions together.
>
> Do you mean that if I use a previous phoenix tarball (4.0 ?), it
> would work ?
uhm, no, you need a newer one...I gave you a wrong link. Try
phoenix 4.0a4 from http://cvs.apache.org/~hammant/phoenix/
and the demo 0.7 you already have, with either the sun or ibm VM (though
it shouldn't matter, I don't know what blackdown is).
I'm sorry you have to go through all these steps; phoenix is still in
alpha so it is usually necessary to get the most recent version to get
it all to work.
regards,
- Leo Simons
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Newbie questions
Posted by Yann Secq <Ya...@lifl.fr>.
Yann Secq wrote:
> Ok ! I was using the blackdown VM on a Debian :
> by switching to SUN's 1.4 jdk :
> phoenix starts and seems to be ready. But when I try to access the
> localhost:8999 it seems that nothing is listening there ...
> Do i need to do something to launch the demo applications ?
ok, forget this message (I had removed all .sar in the apps
directory :-( ... so of course phoenix started !).
But, when using the 1.4 JRE I get a better stacktrace that
let me believe that it fails because phoenix is unable to
find this DTD : http://jakarta.apache.org/phoenix/assembly_1_0.dtd
And effectively, when I try to wget this URL is get a 404 error.
Is it the problem ?
Cheers, yann.
--
/ Yann SECQ Equipe SMAC secq@lifl.fr \
| Multi-Agent Systems Modeling & Agent Oriented Programming |
\ http://www.lifl.fr/SMAC http://www.lifl.fr/~secq /
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Newbie questions
Posted by Yann Secq <Ya...@lifl.fr>.
Leo Simons wrote:
> There's apparantly still a problem with using those versions together.
Do you mean that if I use a previous phoenix tarball (4.0 ?), it
would work ?
> We know of the problem and are working on new releases that fix this.
> Could you please try the files from : http://cvs.apache.org/~hammant/apps/
I have tried with the Demo-0.7-bin.tar.gz and with the
Demo-0.7-src.tar.gz and both have failed and produced the same
stacktrace (see below).
Ok ! I was using the blackdown VM on a Debian :
java version "1.3.1"
Java(TM) 2 Runtime Environment, Standard Edition (build
Blackdown-1.3.1-02b-FCS)
Java HotSpot(TM) Client VM (build Blackdown-1.3.1_02b-FCS, mixed mode)
by switching to SUN's 1.4 jdk :
java version "1.4.0_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_01-b03)
Java HotSpot(TM) Client VM (build 1.4.0_01-b03, mixed mode)
phoenix starts and seems to be ready. But when I try to access the
localhost:8999 it seems that nothing is listening there ...
Do i need to do something to launch the demo applications ?
Thanks, yann.
secq@beckett:/tmp/Demo-0.7$ ls dist
avalon-altrmidemo.sar avalon-demo.sar avalon-rmidemo.sar
secq@beckett:/tmp/phoenix-4.0a3$ cp ../Demo-0.7/dist/avalon-* apps/
secq@beckett:/tmp/phoenix-4.0a3$ bin/run.sh
Phoenix 4.0a3
There was an uncaught exception:
---------------------------------------------------------
--- Message ---
Error building configuration from
jar:file:/tmp/phoenix-4.0a3/apps/avalon-altrmidemo.sar!/SAR-INF/assembly.xml.
--- Stack Trace ---
org.apache.avalon.phoenix.interfaces.DeploymentException: Error building
configuration from
jar:file:/tmp/phoenix-4.0a3/apps/avalon-altrmidemo.sar!/SAR-INF/assembly.xml.
at
org.apache.avalon.phoenix.components.deployer.DefaultDeployer.getConfigurationFor(DefaultDeployer.java:206)
at
org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy(DefaultDeployer.java:146)
at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:351)
at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:345)
at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFiles(DefaultEmbeddor.java:330)
at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployDefaultApplications(DefaultEmbeddor.java:320)
at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.execute(DefaultEmbeddor.java:162)
at
org.apache.avalon.phoenix.frontends.CLIMain.execute(CLIMain.java:96)
at
org.apache.avalon.phoenix.frontends.CLIMain.main(CLIMain.java:64)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.avalon.phoenix.launcher.Main.main(Main.java:54)
---------------------------------------------------------
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.
secq@beckett:/tmp/phoenix-4.0a3$
--
/ Yann SECQ Equipe SMAC secq@lifl.fr \
| Multi-Agent Systems Modeling & Agent Oriented Programming |
\ http://www.lifl.fr/SMAC http://www.lifl.fr/~secq /
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Newbie questions
Posted by Leo Simons <ma...@leosimons.com>.
On Fri, 2002-06-14 at 11:13, Yann Secq wrote:
> Hi, I am new to Phoenix and the avalon framework, but I would
> like to use it for one of my projects. I tried to access the
> archive of this mailing-list before subscribing, but the link
> on the website is broken.
> (http://www.mail-archive.com/avalon-apps-dev@jakarta.apache.org/)
hmm. I suspect that is because this list is still pretty new (the
archives are externally maintained).
> I have downloaded the latest tarball of Phoenix (4.0a3) and
> the 'Demo-0.7'
> (from http://jakarta.apache.org/avalon/apps/apps/demo/index.html)
>
> When I launch Phoenix, I got this error :
There's apparantly still a problem with using those versions together.
We know of the problem and are working on new releases that fix this.
Could you please try the files from
http://cvs.apache.org/~hammant/apps/
? If it doesn't work then, please let us know.
- Leo Simons
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>