Hi,
when execute - "atlas-cli" command follow by "pi"
then, after executing "pi" exeuction seems stuck at "[INFO] Install Plugin: Uploading 'activeobjects-plugin-1.0-SNAPSHOT.jar' to server: http://localhost:2990/jira" statement. it looks as upload the updated plugin.
but it remains there since long time and when close command prompt forcely then cache error occur for felix-cache when start the jira.
Pi execution log:
......
......
....
[INFO] Installing C:\atlastutorial\activeobjects-plugin\target\activeob
jects-plugin-1.0-SNAPSHOT.jar to C:\Documents and Settings\ADMIN\.m2\repository\
com\atlassian\activeobjects\activeobjects-plugin\1.0-SNAPSHOT\activeobjects-plug
in-1.0-SNAPSHOT.jar
[INFO] Current project: activeobjects-plugin
[INFO] Execution time: 594 ms
[INFO] Executing: com.atlassian.maven.plugins:maven-jira-plugin [install]
[INFO] [jira:install {execution: virtual-execution}]
[INFO] [atlassian-pdk:install]
[INFO] Install Plugin: Couldn't get the token from upm. Headers. Falling back to
legacy upload.
log4j:WARN No appenders could be found for logger (org.apache.commons.httpclient
.HttpClient).
log4j:WARN Please initialize the log4j system properly.
[INFO] Install Plugin: Uploading 'activeobjects-plugin-1.0-SNAPSHOT.jar' to serv
er: http://localhost:2990/jira
Community moderators have prevented the ability to post new answers.
I think this is an exception since activeobjects plugin is one of the bundle system plugin in JIRA, do you have the same problem by creating a new plugin?
it is just name given to that plugin. but not used any yet.
it was not taking much time before actually. just now it started to take longer and after that, i abort it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I had the same problem and fixed it by setting the following environment variable:
set ATLAS_OPTS=-Dusername=admin -Dpassword=admin
(w/o quotes!) After that the "atlas-cli" and "pi" command works like a charm.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Where should I set this? I believe I have the same problem, because I used Jira restore from backup on my test Jira and now my admin account's password is different than the default and my pi command hangs like described.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must set the environment variable ATLAS_OPTS in the shell (e.g. cmd on Windows or bash on Linux) that is used to execute the "atlas-cli" command.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Guys,
I have been having this issue for what seems like months now and I still can't get this resolved on windows. I did what was recommended above and that doesn't when trying to compile my Confluence plugin. I get the "....downloading and installing ""..." until eventually I get the error message below.
------
[INFO] [talledLocalContainer] at net.sf.hibernate.persister.EntityPersister.insert(EntityPersister.java:472)
[INFO] [talledLocalContainer] at net.sf.hibernate.persister.EntityPersister.insert(EntityPersister.java:436)
[INFO] [talledLocalContainer] at net.sf.hibernate.impl.ScheduledInsertion.execute(ScheduledInsertion.java:37)
[INFO] [talledLocalContainer] at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2464)
[INFO] [talledLocalContainer] at net.sf.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:2450)
[INFO] [talledLocalContainer] at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2407)
[INFO] [talledLocalContainer] at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2276)
[INFO] [talledLocalContainer] at com.atlassian.confluence.plugin.persistence.hibernate.HibernatePluginDataDao.sav
eOrUpdate(HibernatePluginDataDao.java:60)
[INFO] [talledLocalContainer] ... 116 more
[INFO] [talledLocalContainer] Caused by: java.sql.SQLIntegrityConstraintViolationException: integrity constraint vi
olation: unique constraint or index violation; SYS_CT_10275 table: PLUGINDATA
[INFO] [talledLocalContainer] at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
[INFO] [talledLocalContainer] at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
[INFO] [talledLocalContainer] at org.hsqldb.jdbc.JDBCPreparedStatement.fetchResult(Unknown Source)
[INFO] [talledLocalContainer] at org.hsqldb.jdbc.JDBCPreparedStatement.executeUpdate(Unknown Source)
[INFO] [talledLocalContainer] at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewProxyPrepare
dStatement.java:105)
[INFO] [talledLocalContainer] at net.sf.hibernate.impl.NonBatchingBatcher.addToBatch(NonBatchingBatcher.java:22)
[INFO] [talledLocalContainer] at net.sf.hibernate.persister.EntityPersister.insert(EntityPersister.java:462)
[INFO] [talledLocalContainer] ... 123 more
[INFO] [talledLocalContainer] Caused by: org.hsqldb.HsqlException: integrity constraint violation: unique constrain
t or index violation; SYS_CT_10275 table: PLUGINDATA
[INFO] [talledLocalContainer] at org.hsqldb.error.Error.error(Unknown Source)
[INFO] [talledLocalContainer] at org.hsqldb.Constraint.getException(Unknown Source)
[INFO] [talledLocalContainer] at org.hsqldb.index.IndexAVLMemory.insert(Unknown Source)
[INFO] [talledLocalContainer] at org.hsqldb.persist.RowStoreAVL.indexRow(Unknown Source)
[INFO] [talledLocalContainer] at org.hsqldb.TransactionManagerMVCC.addInsertAction(Unknown Source)
[INFO] [talledLocalContainer] at org.hsqldb.Session.addInsertAction(Unknown Source)
[INFO] [talledLocalContainer] at org.hsqldb.Table.insertSingleRow(Unknown Source)
[INFO] [talledLocalContainer] at org.hsqldb.StatementDML.insertSingleRow(Unknown Source)
[INFO] [talledLocalContainer] at org.hsqldb.StatementInsert.getResult(Unknown Source)
[INFO] [talledLocalContainer] at org.hsqldb.StatementDMQL.execute(Unknown Source)
[INFO] [talledLocalContainer] at org.hsqldb.Session.executeCompiledStatement(Unknown Source)
[INFO] [talledLocalContainer] at org.hsqldb.Session.execute(Unknown Source)
[INFO] [talledLocalContainer] ... 128 more
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.