Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

atlas-cli, pi execution gets stuck at "upload plugin to server http://localhost:2990/jira"

dhaval soni
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 4, 2013

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

please let me know if any clue.

4 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
Yilin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 4, 2013

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?

dhaval soni
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 5, 2013

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.

3 votes
Michael Griffel March 5, 2013

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.

DanielM
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 7, 2013

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.

Michael Griffel October 8, 2013

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.

0 votes
leonizm March 20, 2014

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

0 votes
thanhtung90 May 7, 2013

Thank you so much. It's seem worked!

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events