Discussion:
Upgrading from ancient 1.3.6 to 2.2.1
Jörg Schaible
2016-06-20 18:14:30 UTC
Permalink
Hi folks,

since the old version refuses to run with Java 8, I finally tried to upgrade
Archiva from version 1.3.6 to 2.2.1 (as WAR in Tomcat 8). The webapp does
not start up now because of the nested exception:

================== %< ====================
nested exception is
org.apache.jackrabbit.core.config.ConfigurationException: Invalid workspace
root directory: /data/jcr/workspaces
================== %< ====================

I already learned that Jackrabbit was introduced with version 1.4. However,
it seems any (migration) documentation is no longer available due to
security issues: http://archiva.apache.org/versions.html

;-)

Any pointer?

- Jörg
Olivier Lamy
2016-06-20 23:53:55 UTC
Permalink
Hi
Does the directory exists? /data/jcr

Well there is no migration, only the first scan will be a bit longer.
Post by Jörg Schaible
Hi folks,
since the old version refuses to run with Java 8, I finally tried to upgrade
Archiva from version 1.3.6 to 2.2.1 (as WAR in Tomcat 8). The webapp does
================== %< ====================
nested exception is
org.apache.jackrabbit.core.config.ConfigurationException: Invalid workspace
root directory: /data/jcr/workspaces
================== %< ====================
I already learned that Jackrabbit was introduced with version 1.4. However,
it seems any (migration) documentation is no longer available due to
security issues: http://archiva.apache.org/versions.html
;-)
Any pointer?
- Jörg
--
Olivier Lamy
http://twitter.com/olamy | http://linkedin.com/in/olamy
Jörg Schaible
2016-06-22 22:48:30 UTC
Permalink
Post by Olivier Lamy
Hi
Does the directory exists? /data/jcr
After fixing the value for appserver.base, it could create those directory
below ${appserver.base}.
Post by Olivier Lamy
Well there is no migration, only the first scan will be a bit longer.
Archiva works now for my builds. Thanks!

However, I cannot login. It claims the password is expired and when I want
to reset it, I should contact the admin, because it fails. In the logs I can
see following stack trace:

================== %< ========================
Caused by: org.springframework.mail.MailSendException: Failed messages:
com.sun.mail.smtp.SMTPSendFailedException: 400 STARTTLS is required first.

at
org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:474)
~[spring-context-support-4.2.1.RELEASE.jar:4.2.1.RELEASE]
at
org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:345)
~[spring-context-support-4.2.1.RELEASE.jar:4.2.1.RELEASE]
at
org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:340)
~[spring-context-support-4.2.1.RELEASE.jar:4.2.1.RELEASE]
at
org.apache.archiva.redback.integration.mail.MailerImpl.sendMessage(MailerImpl.java:135)
~[redback-common-integrations-2.4.jar:2.4]
at
org.apache.archiva.redback.integration.mail.MailerImpl.sendPasswordResetEmail(MailerImpl.java:89)
~[redback-common-integrations-2.4.jar:2.4]
at
org.apache.archiva.redback.rest.services.DefaultUserService.resetPassword(DefaultUserService.java:585)
~[redback-rest-services-2.4.jar:2.4]
================== %< ========================

Catch-22. Any idea what to do?

- Jörg
Jörg Schaible
2016-07-20 23:25:19 UTC
Permalink
I am still stuck with this problem ...
Post by Jörg Schaible
Post by Olivier Lamy
Hi
Does the directory exists? /data/jcr
After fixing the value for appserver.base, it could create those directory
below ${appserver.base}.
Post by Olivier Lamy
Well there is no migration, only the first scan will be a bit longer.
Archiva works now for my builds. Thanks!
However, I cannot login. It claims the password is expired and when I want
to reset it, I should contact the admin, because it fails. In the logs I
================== %< ========================
com.sun.mail.smtp.SMTPSendFailedException: 400 STARTTLS is required first.
at
org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:474)
Post by Jörg Schaible
~[spring-context-support-4.2.1.RELEASE.jar:4.2.1.RELEASE]
at
org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:345)
Post by Jörg Schaible
~[spring-context-support-4.2.1.RELEASE.jar:4.2.1.RELEASE]
at
org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:340)
Post by Jörg Schaible
~[spring-context-support-4.2.1.RELEASE.jar:4.2.1.RELEASE]
at
org.apache.archiva.redback.integration.mail.MailerImpl.sendMessage(MailerImpl.java:135)
Post by Jörg Schaible
~[redback-common-integrations-2.4.jar:2.4]
at
org.apache.archiva.redback.integration.mail.MailerImpl.sendPasswordResetEmail(MailerImpl.java:89)
Post by Jörg Schaible
~[redback-common-integrations-2.4.jar:2.4]
at
org.apache.archiva.redback.rest.services.DefaultUserService.resetPassword(DefaultUserService.java:585)
Post by Jörg Schaible
~[redback-rest-services-2.4.jar:2.4]
================== %< ========================
Catch-22. Any idea what to do?
- Jörg
Loading...