|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Upgrade issue 1.5->2.0.1After upgrading our
existing 1.5 environment on a test system to 2.0.1, the repository server fails
to start.
I used exactly the
instructions in http://cocoondev.org/daisydocs-2_0/13-cd.html.
When I want to start
the repository server for the first time after the upgrade, I receive the
error below.
Anyone has any idea
what could be wrong, or how I can debug the issue?
Tx,
Mario.
#
./daisy-repository-server /opt/daisydata
Starting Default Unix script Starting Merlin 3.3.0. ==================== Platform: SunOS Java Home: /usr/jdk/instances/jdk1.5.0 Merlin Home: /opt/daisy-2.0.1/repository-server/merlin Security policy: /opt/daisy-2.0.1/repository-server/merlin/bin/security.policy JVM Options: -Xmx128m -Dmerlin.deployment.timeout=0 -Dmerlin.logging.config=/opt/daisydata/conf/logkit.xml -Ddaisy.datadir=/opt/daisydata -Ddaisy.home=/opt/daisy-2.0.1 -Dfile.encoding=UTF-8 -Djava.awt.headless=true -Dorg.apache.commons.logging.Log=org.outerj.daisy.logging.DaisyLog -Djava.security.auth.login.config=/opt/daisydata/conf/login.config -Duser.language=en -Duser.country=US -Duser.variant= Bootstrap JAR: /opt/daisy-2.0.1/repository-server/merlin/system/merlin/jars/merlin-cli-3.3.0.jar Merlin Arguments: -offline -home /opt/daisydata -repository /opt/daisy-2.0.1/lib -config /opt/daisydata/conf/myconfig.xml /opt/daisy-2.0.1/repository-server/conf/block.xml ---- runtime
exception report
--------------------------------------------------
Exception: org.apache.avalon.repository.RepositoryRuntimeException Message: Could not create initial context. ---- cause --------------------------------------------------------------------- Exception: org.apache.avalon.repository.RepositoryException Message: None of the repositories [http://www.dpml.net,http://www.ibiblio.org/maven,] contained the metadata properties for artifact:avalon-repository/avalon-repository-impl#2.0.0 ---- cause --------------------------------------------------------------------- Exception: java.io.FileNotFoundException Message: http://mirrors.ibiblio.org/pub/mirrors/maven2/avalon-repository/avalon-repository-impl/2.0.0.jar/avalon-repository-impl-2.0.0.jar.meta ---- stack trace --------------------------------------------------------------- java.io.FileNotFoundException: http://mirrors.ibiblio.org/pub/mirrors/maven2/avalon-repository/avalon-repository-impl/2.0.0.jar/avalon-repository-impl-2.0.0.jar.meta sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1147) java.net.URL.openStream(URL.java:1007) org.apache.avalon.repository.util.RepositoryUtils.getProperties(RepositoryUtils.java:227) org.apache.avalon.repository.util.RepositoryUtils.getProperties(RepositoryUtils.java:195) org.apache.avalon.repository.util.RepositoryUtils.getAttributes(RepositoryUtils.java:109) org.apache.avalon.repository.main.DefaultInitialContext.loadAttributes(DefaultInitialContext.java:497) org.apache.avalon.repository.main.DefaultInitialContext.<init>(DefaultInitialContext.java:153) org.apache.avalon.repository.main.DefaultInitialContextFactory.createInitialContext(DefaultInitialContextFactory.java:334) org.apache.avalon.merlin.cli.Main.main(Main.java:249) -------------------------------------------------------------------------------- xargs: Command could
not continue processing data
_______________________________________________ daisy community mailing list Professional Daisy support: http://outerthought.org/en/services/daisy/support.html mail to: daisy@... list information: http://lists.cocoondev.org/mailman/listinfo/daisy |
|
|
Re: Upgrade issue 1.5->2.0.1Did you use GNU tar for unpacking Daisy?
(The instructions say 'use GNU tar if you experience problems unpacking Daisy'. We should rephrase that, since the problem is not experienced during the unpacking - it's only when starting the repository that the problem becomes apparent.) HTH, Karel On Tue, 2008-07-08 at 15:35 +0200, Mario Brackeva wrote: > After upgrading our existing 1.5 environment on a test system to > 2.0.1, the repository server fails to start. > I used exactly the instructions in > http://cocoondev.org/daisydocs-2_0/13-cd.html. > > When I want to start the repository server for the first time after > the upgrade, I receive the error below. > Anyone has any idea what could be wrong, or how I can debug the issue? > > > Tx, > Mario. > > > # ./daisy-repository-server /opt/daisydata > Starting Default Unix script > Starting Merlin 3.3.0. > ==================== > Platform: SunOS > Java Home: /usr/jdk/instances/jdk1.5.0 > Merlin Home: /opt/daisy-2.0.1/repository-server/merlin > Security > policy: /opt/daisy-2.0.1/repository-server/merlin/bin/security.policy > JVM Options: -Xmx128m -Dmerlin.deployment.timeout=0 > -Dmerlin.logging.config=/opt/daisydata/conf/logkit.xml > -Ddaisy.datadir=/opt/daisydata -Ddaisy.home=/opt/daisy-2.0.1 > -Dfile.encoding=UTF-8 -Djava.awt.headless=true > -Dorg.apache.commons.logging.Log=org.outerj.daisy.logging.DaisyLog > -Djava.security.auth.login.config=/opt/daisydata/conf/login.config > -Duser.language=en -Duser.country=US -Duser.variant= > Bootstrap > JAR: /opt/daisy-2.0.1/repository-server/merlin/system/merlin/jars/merlin-cli-3.3.0.jar > Merlin Arguments: -offline -home /opt/daisydata > -repository /opt/daisy-2.0.1/lib > -config /opt/daisydata/conf/myconfig.xml /opt/daisy-2.0.1/repository-server/conf/block.xml > > ---- runtime exception report > -------------------------------------------------- > Exception: org.apache.avalon.repository.RepositoryRuntimeException > Message: Could not create initial context. > ---- cause > --------------------------------------------------------------------- > Exception: org.apache.avalon.repository.RepositoryException > Message: None of the repositories > [http://www.dpml.net,http://www.ibiblio.org/maven,] contained the > metadata properties for > artifact:avalon-repository/avalon-repository-impl#2.0.0 > ---- cause > --------------------------------------------------------------------- > Exception: java.io.FileNotFoundException > Message: > http://mirrors.ibiblio.org/pub/mirrors/maven2/avalon-repository/avalon-repository-impl/2.0.0.jar/avalon-repository-impl-2.0.0.jar.meta > ---- stack trace > --------------------------------------------------------------- > java.io.FileNotFoundException: > http://mirrors.ibiblio.org/pub/mirrors/maven2/avalon-repository/avalon-repository-impl/2.0.0.jar/avalon-repository-impl-2.0.0.jar.meta > sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1147) > java.net.URL.openStream(URL.java:1007) > org.apache.avalon.repository.util.RepositoryUtils.getProperties(RepositoryUtils.java:227) > org.apache.avalon.repository.util.RepositoryUtils.getProperties(RepositoryUtils.java:195) > org.apache.avalon.repository.util.RepositoryUtils.getAttributes(RepositoryUtils.java:109) > org.apache.avalon.repository.main.DefaultInitialContext.loadAttributes(DefaultInitialContext.java:497) > org.apache.avalon.repository.main.DefaultInitialContext.<init>(DefaultInitialContext.java:153) > org.apache.avalon.repository.main.DefaultInitialContextFactory.createInitialContext(DefaultInitialContextFactory.java:334) > org.apache.avalon.merlin.cli.Main.main(Main.java:249) > -------------------------------------------------------------------------------- > > xargs: Command could not continue processing data > _______________________________________________ > daisy community mailing list > Professional Daisy support: http://outerthought.org/en/services/daisy/support.html > mail to: daisy@... > list information: http://lists.cocoondev.org/mailman/listinfo/daisy daisy community mailing list Professional Daisy support: http://outerthought.org/en/services/daisy/support.html mail to: daisy@... list information: http://lists.cocoondev.org/mailman/listinfo/daisy |
|
|
Re: Upgrade issue 1.5->2.0.1Seems like you're using old startup scripts.
The startup message shows Merlin is started, but Daisy 2 is not based on Merlin anymore. Still, it seems Merlin is still being found, so the startup scripts still point to the old installation. Anyhow, Daisy 1.5 startup scripts are not valid anymore for 2.0. I suggest to first try with the plain startup scripts, then see the docs for how to use the service wrapper. On Tue, 2008-07-08 at 15:35 +0200, Mario Brackeva wrote: > After upgrading our existing 1.5 environment on a test system to > 2.0.1, the repository server fails to start. > I used exactly the instructions in > http://cocoondev.org/daisydocs-2_0/13-cd.html. > > When I want to start the repository server for the first time after > the upgrade, I receive the error below. > Anyone has any idea what could be wrong, or how I can debug the issue? > > > Tx, > Mario. > > > # ./daisy-repository-server /opt/daisydata > Starting Default Unix script > Starting Merlin 3.3.0. > ==================== > Platform: SunOS > Java Home: /usr/jdk/instances/jdk1.5.0 > Merlin Home: /opt/daisy-2.0.1/repository-server/merlin > Security > policy: /opt/daisy-2.0.1/repository-server/merlin/bin/security.policy > JVM Options: -Xmx128m -Dmerlin.deployment.timeout=0 > -Dmerlin.logging.config=/opt/daisydata/conf/logkit.xml > -Ddaisy.datadir=/opt/daisydata -Ddaisy.home=/opt/daisy-2.0.1 > -Dfile.encoding=UTF-8 -Djava.awt.headless=true > -Dorg.apache.commons.logging.Log=org.outerj.daisy.logging.DaisyLog > -Djava.security.auth.login.config=/opt/daisydata/conf/login.config > -Duser.language=en -Duser.country=US -Duser.variant= > Bootstrap > JAR: /opt/daisy-2.0.1/repository-server/merlin/system/merlin/jars/merlin-cli-3.3.0.jar > Merlin Arguments: -offline -home /opt/daisydata > -repository /opt/daisy-2.0.1/lib > -config /opt/daisydata/conf/myconfig.xml /opt/daisy-2.0.1/repository-server/conf/block.xml > > ---- runtime exception report > -------------------------------------------------- > Exception: org.apache.avalon.repository.RepositoryRuntimeException > Message: Could not create initial context. > ---- cause > --------------------------------------------------------------------- > Exception: org.apache.avalon.repository.RepositoryException > Message: None of the repositories > [http://www.dpml.net,http://www.ibiblio.org/maven,] contained the > metadata properties for > artifact:avalon-repository/avalon-repository-impl#2.0.0 > ---- cause > --------------------------------------------------------------------- > Exception: java.io.FileNotFoundException > Message: > http://mirrors.ibiblio.org/pub/mirrors/maven2/avalon-repository/avalon-repository-impl/2.0.0.jar/avalon-repository-impl-2.0.0.jar.meta > ---- stack trace > --------------------------------------------------------------- > java.io.FileNotFoundException: > http://mirrors.ibiblio.org/pub/mirrors/maven2/avalon-repository/avalon-repository-impl/2.0.0.jar/avalon-repository-impl-2.0.0.jar.meta > sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1147) > java.net.URL.openStream(URL.java:1007) > org.apache.avalon.repository.util.RepositoryUtils.getProperties(RepositoryUtils.java:227) > org.apache.avalon.repository.util.RepositoryUtils.getProperties(RepositoryUtils.java:195) > org.apache.avalon.repository.util.RepositoryUtils.getAttributes(RepositoryUtils.java:109) > org.apache.avalon.repository.main.DefaultInitialContext.loadAttributes(DefaultInitialContext.java:497) > org.apache.avalon.repository.main.DefaultInitialContext.<init>(DefaultInitialContext.java:153) > org.apache.avalon.repository.main.DefaultInitialContextFactory.createInitialContext(DefaultInitialContextFactory.java:334) > org.apache.avalon.merlin.cli.Main.main(Main.java:249) > -------------------------------------------------------------------------------- > > xargs: Command could not continue processing data > Bruno Dumon http://outerthought.org/ Outerthought http://www.daisycms.org/ bruno@... http://www.kauriproject.org/ _______________________________________________ daisy community mailing list Professional Daisy support: http://outerthought.org/en/services/daisy/support.html mail to: daisy@... list information: http://lists.cocoondev.org/mailman/listinfo/daisy |
|
|
RE: Upgrade issue 1.5->2.0.1Indeed, this was the problem.
I fixed it by unpacking on another system. The instructions clearly say "be sure to use GNU tar to extract the archive", so I have no excuses ;-) Upgrade is done, system seems to be running fine! Tx, Mario. -----Original Message----- From: daisy-bounces@... [mailto:daisy-bounces@...] On Behalf Of Karel Vervaeke Sent: dinsdag 8 juli 2008 17:24 To: Daisy: open source CMS - general mailinglist Subject: Re: [daisy] Upgrade issue 1.5->2.0.1 Did you use GNU tar for unpacking Daisy? (The instructions say 'use GNU tar if you experience problems unpacking Daisy'. We should rephrase that, since the problem is not experienced during the unpacking - it's only when starting the repository that the problem becomes apparent.) HTH, Karel On Tue, 2008-07-08 at 15:35 +0200, Mario Brackeva wrote: > After upgrading our existing 1.5 environment on a test system to > 2.0.1, the repository server fails to start. > I used exactly the instructions in > http://cocoondev.org/daisydocs-2_0/13-cd.html. > > When I want to start the repository server for the first time after > the upgrade, I receive the error below. > Anyone has any idea what could be wrong, or how I can debug the issue? > > > Tx, > Mario. > > > # ./daisy-repository-server /opt/daisydata Starting Default Unix > script Starting Merlin 3.3.0. > ==================== > Platform: SunOS > Java Home: /usr/jdk/instances/jdk1.5.0 > Merlin Home: /opt/daisy-2.0.1/repository-server/merlin > Security > policy: /opt/daisy-2.0.1/repository-server/merlin/bin/security.policy > JVM Options: -Xmx128m -Dmerlin.deployment.timeout=0 > -Dmerlin.logging.config=/opt/daisydata/conf/logkit.xml > -Ddaisy.datadir=/opt/daisydata -Ddaisy.home=/opt/daisy-2.0.1 > -Dfile.encoding=UTF-8 -Djava.awt.headless=true > -Dorg.apache.commons.logging.Log=org.outerj.daisy.logging.DaisyLog > -Djava.security.auth.login.config=/opt/daisydata/conf/login.config > -Duser.language=en -Duser.country=US -Duser.variant= > Bootstrap > JAR: 3.3.0.jar > Merlin Arguments: -offline -home /opt/daisydata -repository > /opt/daisy-2.0.1/lib -config /opt/daisydata/conf/myconfig.xml > /opt/daisy-2.0.1/repository-server/conf/block.xml > > ---- runtime exception report > -------------------------------------------------- > Exception: org.apache.avalon.repository.RepositoryRuntimeException > Message: Could not create initial context. > ---- cause > --------------------------------------------------------------------- > Exception: org.apache.avalon.repository.RepositoryException > Message: None of the repositories > [http://www.dpml.net,http://www.ibiblio.org/maven,] contained the > metadata properties for > artifact:avalon-repository/avalon-repository-impl#2.0.0 > ---- cause > --------------------------------------------------------------------- > Exception: java.io.FileNotFoundException > Message: > http://mirrors.ibiblio.org/pub/mirrors/maven2/avalon-repository/avalon > -repository-impl/2.0.0.jar/avalon-repository-impl-2.0.0.jar.meta > ---- stack trace > --------------------------------------------------------------- > java.io.FileNotFoundException: > http://mirrors.ibiblio.org/pub/mirrors/maven2/avalon-repository/avalon > -repository-impl/2.0.0.jar/avalon-repository-impl-2.0.0.jar.meta > sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConn > ection.java:1147) > java.net.URL.openStream(URL.java:1007) > org.apache.avalon.repository.util.RepositoryUtils.getProperties(Reposi > toryUtils.java:227) > org.apache.avalon.repository.util.RepositoryUtils.getProperties(Reposi > toryUtils.java:195) > org.apache.avalon.repository.util.RepositoryUtils.getAttributes(Reposi > toryUtils.java:109) > org.apache.avalon.repository.main.DefaultInitialContext.loadAttributes > (DefaultInitialContext.java:497) > org.apache.avalon.repository.main.DefaultInitialContext.<init>(Default > InitialContext.java:153) > org.apache.avalon.repository.main.DefaultInitialContextFactory.createI > nitialContext(DefaultInitialContextFactory.java:334) > org.apache.avalon.merlin.cli.Main.main(Main.java:249) > ---------------------------------------------------------------------- > ---------- > > xargs: Command could not continue processing data > _______________________________________________ > daisy community mailing list > Professional Daisy support: > http://outerthought.org/en/services/daisy/support.html > mail to: daisy@... > list information: http://lists.cocoondev.org/mailman/listinfo/daisy daisy community mailing list Professional Daisy support: http://outerthought.org/en/services/daisy/support.html mail to: daisy@... list information: http://lists.cocoondev.org/mailman/listinfo/daisy _______________________________________________ daisy community mailing list Professional Daisy support: http://outerthought.org/en/services/daisy/support.html mail to: daisy@... list information: http://lists.cocoondev.org/mailman/listinfo/daisy |
|
|
Re: Upgrade issue 1.5->2.0.1On Tue, 2008-07-08 at 17:34 +0200, Bruno Dumon wrote:
> Seems like you're using old startup scripts. > > The startup message shows Merlin is started, but Daisy 2 is not based on > Merlin anymore. Still, it seems Merlin is still being found, so the > startup scripts still point to the old installation. > > Anyhow, Daisy 1.5 startup scripts are not valid anymore for 2.0. I > suggest to first try with the plain startup scripts, then see the docs > for how to use the service wrapper. oops, seems the removal of Merlin was in Daisy 2.1 -- Bruno Dumon http://outerthought.org/ Outerthought http://www.daisycms.org/ bruno@... http://www.kauriproject.org/ _______________________________________________ daisy community mailing list Professional Daisy support: http://outerthought.org/en/services/daisy/support.html mail to: daisy@... list information: http://lists.cocoondev.org/mailman/listinfo/daisy |
| Free Forum Powered by Nabble | Forum Help |