Comments (14)
What java version are you using?
I'll try to see if the alfresco-mmt.jar needs updating.
You can possibly try this yourself by using a more up to date alfresco-mmt.jar.
Also it makes sense to check if java is available at all, not doing this right now. It might not be and you have the option to skip installing java, so makes sense to check that before even trying.
from alfresco-ubuntu-install.
$ java -version
java version "1.7.0_25"
OpenJDK Runtime Environment (IcedTea 2.3.10) (7u25-2.3.10-1ubuntu0.12.04.2)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
Where do I find alfresco-mmt.jar? Is it in an Alfresco repository?
from alfresco-ubuntu-install.
try to "force" the installation, just to see if that lets you complete the installation
sudo java -jar alfresco-mmt.jar install alfresco/alfresco-community-spp-4.2.e.amp alfresco.war -verbose -nobackup -force
from alfresco-ubuntu-install.
alfresco-mmt.jar can be found in afresco.home/bin/
from alfresco-ubuntu-install.
Repeating with -force gave this time the following runtime error at the point where it hanged without -force:
10140000 An IO error was encountered during deployment of the AMP into the WAR
java.lang.IllegalMonitorStateException
at java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(ReentrantLock.java:155)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1260)
at java.util.concurrent.locks.ReentrantLock.unlock(ReentrantLock.java:460)
at de.schlichtherle.truezip.io.Streams.cat(Streams.java:248)
at de.schlichtherle.truezip.io.Streams.copy(Streams.java:71)
at de.schlichtherle.truezip.socket.IOSocket.copy(IOSocket.java:118)
at de.schlichtherle.truezip.fs.archive.FsTargetArchiveController.copy(FsTargetArchiveController.java:552)
at de.schlichtherle.truezip.fs.archive.FsTargetArchiveController.copy(FsTargetArchiveController.java:532)
at de.schlichtherle.truezip.fs.archive.FsTargetArchiveController.sync(FsTargetArchiveController.java:463)
at de.schlichtherle.truezip.fs.archive.FsContextController.sync(FsContextController.java:236)
at de.schlichtherle.truezip.fs.FsResourceController.sync(FsResourceController.java:84)
at de.schlichtherle.truezip.fs.FsCacheController.sync(FsCacheController.java:222)
at de.schlichtherle.truezip.fs.FsController.sync(FsController.java:379)
at de.schlichtherle.truezip.fs.FsSyncController.sync(FsSyncController.java:266)
at de.schlichtherle.truezip.fs.FsLockController$1Sync.call(FsLockController.java:275)
at de.schlichtherle.truezip.fs.FsLockController$1Sync.call(FsLockController.java:272)
at de.schlichtherle.truezip.fs.FsLockController.locked(FsLockController.java:364)
at de.schlichtherle.truezip.fs.FsLockController.writeLocked(FsLockController.java:303)
at de.schlichtherle.truezip.fs.FsLockController.sync(FsLockController.java:280)
at de.schlichtherle.truezip.fs.archive.zip.KeyManagerController.sync(KeyManagerController.java:132)
at de.schlichtherle.truezip.fs.FsDecoratingController.sync(FsDecoratingController.java:148)
at de.schlichtherle.truezip.fs.FsFalsePositiveController.sync(FsFalsePositiveController.java:512)
at de.schlichtherle.truezip.fs.FsManager.sync(FsManager.java:139)
at de.schlichtherle.truezip.fs.FsDefaultManager.sync(FsDefaultManager.java:101)
at de.schlichtherle.truezip.fs.FsManager.sync(FsManager.java:100)
at de.schlichtherle.truezip.fs.FsSyncShutdownHook$Hook.run(FsSyncShutdownHook.java:93)
from alfresco-ubuntu-install.
@tullo I'm not sure what you mean with "alfresco-mmt.jar can be found in /bin/". What /bin/ is that? The only place locate finds it on my box is in /opt/alfresco/addons/ which is where I'm running it from.
from alfresco-ubuntu-install.
Just to try, I rerun the command with -force a couple of times with different failures:
The first time the error was:
10140000 An IO error was encountered during deployment of the AMP into the WAR
without the IllegalMonitorException
The second time it immediately gave:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000000000000000, pid=15305, tid=139771348674304
#
# JRE version: 7.0_25-b30
# Java VM: OpenJDK 64-Bit Server VM (23.7-b01 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C 0x0000000000000000
#
# Core dump written. Default location: /opt/alfresco/addons/core or core.15305
#
# An error report file with more information is saved as:
# /opt/alfresco/addons/hs_err_pid15305.log
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
# https://bugs.launchpad.net/ubuntu/+source/openjdk-7/
#
And the third time it was back to
10140000 An IO error was encountered during deployment of the AMP into the WAR
But this time it also hanged at that point
from alfresco-ubuntu-install.
The /bin probably refers to the directory found in the alfresco provided installer packages. This scripted install does not include that dir.
You can try to download this file https://process.alfresco.com/ccdl/?file=release/community/build-4848/alfresco-community-4.2.e.zip and see if it includes any updated alfresco-mmt.jar. I'm not in a location where I can check that. That is the same file that is downloaded during the install, but only the war files are used from that download.
from alfresco-ubuntu-install.
Try with the oracle jdk instead. I've never used the openjdk. For installer-based alfresco installations you would find the mmt jar under alfresco-install-dir/bin
from alfresco-ubuntu-install.
No I have tried with oracle jdk and the alfresco-mmt.jar from 4.2.e, but I still can't get it to work. The last error was:
sudo java -jar alfresco-mmt-4.2.e.jar install alfresco/alfresco-community-spp-4.2.e.amp alfresco.war -verbose -nobackup -force
Installing AMP 'alfresco/alfresco-community-spp-4.2.e.amp' into WAR 'alfresco.war'
Adding files relating to version '1.3' of module 'org.alfresco.module.vti'
- File '/WEB-INF/lib/alfresco-vti-4.2.e.jar' added to war from amp
- File '/WEB-INF/lib/jetty-6.1.26.jar' added to war from amp
- File '/WEB-INF/lib/jetty-util-6.1.26.jar' added to war from amp
- File '/WEB-INF/classes/alfresco/messages/vti-webview.properties' added to war from amp
- File '/WEB-INF/classes/alfresco/messages/vti-webview_ru.properties' added to war from amp
- File '/WEB-INF/classes/alfresco/messages/webview_en.properties' added to war from amp
- File '/WEB-INF/classes/alfresco/messages/webview_ru.properties' added to war from amp
- File '/WEB-INF/classes/alfresco/module/org.alfresco.module.vti/context/vti-context.xml' added to war from amp
- File '/WEB-INF/classes/alfresco/module/org.alfresco.module.vti/context/vti-handler-context.xml' added to war from amp
- File '/WEB-INF/classes/alfresco/module/org.alfresco.module.vti/context/vti.properties' added to war from amp
- Directory '/WEB-INF/classes/alfresco/module/org.alfresco.module.vti/context' added to war
- File '/WEB-INF/classes/alfresco/module/org.alfresco.module.vti/module-context.xml' added to war from amp
- File '/WEB-INF/classes/alfresco/templates/org/alfresco/vti/welcome-info.html.ftl' added to war from amp
- Directory '/WEB-INF/classes/alfresco/templates/org/alfresco/vti' added to war
- Directory '/WEB-INF/classes/alfresco/templates/org/alfresco' added to war
- Directory '/WEB-INF/classes/alfresco/templates/org' added to war
- File '/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/vti/vti-server.get.desc.xml' added to war from amp
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (relocInfo_x86.cpp:93), pid=31412, tid=140405358352128
# Error: ShouldNotReachHere()
#
# JRE version: Java(TM) SE Runtime Environment (7.0_45-b18) (build 1.7.0_45-b18)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.45-b08 mixed mode linux-amd64 compressed oops)
# Core dump written. Default location: /opt/alfresco/addons/core or core.31412
#
# An error report file with more information is saved as:
# /opt/alfresco/addons/hs_err_pid31412.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
#
from alfresco-ubuntu-install.
# Error: ShouldNotReachHere()
Thats the clue ;)
A similar issue was just discussed on irc. Different addon, and not using this install script, but when applying the addon that fredrikw is using gets I/O error.
It was tested to repackage the alfresco.war (it is just a zip filed, unpacked and zipped again), but in that case it didn't help. You can still try this. Also try to download version 4.2.d and try to apply to that version to see if it works (not to use for deploy, just to test applying amp).
For the dev on the irc channel the error occurs even if latest alfresco-mmt.jar from 4.2.e is used.
from alfresco-ubuntu-install.
I was unable to reproduce.
I tried with these versions
Ubuntu 12.04.2 Linux 3.5.0-31 then also upgrade all packages to Ubuntu 12.04.3 Linux 3.5.0-43
java version "1.7.0_25"
OpenJDK Runtime Environment (IcedTea 2.3.10) (7u25-2.3.10-1ubuntu0.12.04.2)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
from alfresco-ubuntu-install.
OK, then I guess there is something with my setup. I wonder what the difference may be...
I'll look into it more next week
from alfresco-ubuntu-install.
Closing this as not an installer script issue. If you still feel this is something wrong, please re-open, and if possible add how to reproduce.
from alfresco-ubuntu-install.
Related Issues (20)
- ImageMagick install fails on Ubuntu 18.04 because of the wrong "libpng" package name
- The current onfiguration of max size for transformations does not apply for JodConverter HOT 1
- Libreoffice 6.2.2 no longer available HOT 1
- New version is not getting
- how to install https
- Liberooffice is not downloding HOT 3
- Problemas con el usuario HOT 1
- not connecting with postgres - getting error "role/database alfresco_db does not exists" HOT 2
- Shell script linux uninstall Alfresco HOT 5
- Project's README file needs update HOT 1
- sudo: add-apt-repository: command not found when using the postgresql.sh script
- Url not redirecting to /share page.
- not able to login : getting CSRF attack error on console.
- repository is not starting : may be issue with deploying alfresco.xml. HOT 2
- error: share unable to retrieve license information from alfresco 404 HOT 1
- Alfresco script based install for Ubuntu servers in version Alfresco Community 6.2.2 HOT 1
- Update libreoffice links
- Mobile Error: You're not allowed to access this server.
- Install troubles
- repository svn.alfresco.com is down, so no keystore
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alfresco-ubuntu-install.