Java HotSpot(TM) 64-Bit Server VM warning: Cannot open file /nexus-data/log/jvm.log due to Permission denied
Warning: Cannot open log file: /nexus-data/log/jvm.log
Warning: Forcing option -XX:LogFile=/tmp/jvm.log
Unable to delete file: /nexus-data/cache/cache.lock
Unable to update instance pid: /nexus-data/instances/instance.properties (Permission denied)
Exception in thread "Thread-2" java.lang.SecurityException: Could not lock User prefs. Lock file access denied.
at java.util.prefs.FileSystemPreferences.checkLockFile0ErrorCode(FileSystemPreferences.java:937)
at java.util.prefs.FileSystemPreferences.lockFile(FileSystemPreferences.java:925)
at java.util.prefs.FileSystemPreferences.sync(FileSystemPreferences.java:729)
at java.util.prefs.FileSystemPreferences.flush(FileSystemPreferences.java:824)
at java.util.prefs.FileSystemPreferences.syncWorld(FileSystemPreferences.java:464)
at j
<servers><server><id>releases</id><username>admin</username><password>admin123</password></server><server><id>snapshots</id><username>admin</username><password>admin123</password></server><server><id>thirdparty</id><username>admin</username><password>admin123</password></server><server><id>snapshots-host</id><username>admin</username><password>admin123</password></server></servers>
...........<repositories><repository><id>snapshots</id><name>Snapshots</name></repository><repository><id>releases</id><name>Releases</name></repository><repository><id>snapshots-host</id><name>SnapshotsHost</name></repository></repositories>
service nexus status/start/stop
查看nexus服务状态、启动服务、停止服务等
chkconfig nexus on/off
by 刘迎光@萤火虫工作室
OpenBI交流群:495266201
MicroService 微服务交流群:217722918
mail: liuyg#liuyingguang.cn
博主首页(==防止爬虫==):http://blog.liuyingguang.cn
一、下载saiku-query的源码:
https://github.com/OSBI/saiku-query.git
二、修改文件:1、setting.xml文件(以下为关键代码):
<servers> <server> <id>releases</id> <username>admin</username> <password>admin123</password> </server> <server> <id>snapshots</id> <username>admin</username> <password>admin123</password> </server> <server> <id>thirdparty</id> <username>admin</username> <password>admin123</password> </server> <server> <id>snapshots-host</id> <username>admin</username> <password>admin123</password> </server> </servers> ........... <repositories> <repository> <id>snapshots</id> <name>Snapshots</name> <url>http://192.168.10.140:8081/nexus/content/repositories/snapshots</url> </repository> <repository> <id>releases</id> <name>Releases</name> <url>http://192.168.10.140:8081/nexus/content/repositories/releases</url> </repository> <repository> <id>snapshots-host</id> <name>SnapshotsHost</name> <url>http://192.168.10.140:8081/
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>org.saiku</groupId> <artifactId>saiku-query</artifactId> <version>0.4-SNAPSHOT</version> <packaging>jar</packaging> <name>query</name> <url>http://maven.apache.org</url> <!-- <distributionManagement> <repository> <id>deployment</id> <name>Internal Releases</name> <url>http://repo.meteorite.bi/content/repositories/alabs-release-local/</url> </repository> <snapshotRepository> <id>deployment<