Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

User Story #641 (closed)

Opened 17 years ago

Closed 17 years ago

Groovy is throwing LinkageError on "java omero reload-db"

Reported by: jamoore Owned by: jamoore
Priority: critical Milestone: 3.0-Beta2
Component: Deployment Keywords: iteration3, build, ant, groovy
Cc: cxallan, david@… Story Points: n.a.
Sprint: n.a. Importance: n.a.
Total Remaining Time: n.a. Estimated Remaining Time: n.a.

Description

java omero reload-db -d:

Caused by: java.lang.LinkageError: loader constraints violated when linking org/xml/sax/Locator class
        at groovy.util.AntBuilder.<init>(AntBuilder.java:106)
        at org.codehaus.groovy.ant.Groovy.execGroovy(Groovy.java:361)
        at org.codehaus.groovy.ant.Groovy.execute(Groovy.java:259)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)

Change History (1)

comment:1 Changed 17 years ago by jmoore

  • Resolution set to fixed
  • Status changed from new to closed

r1367 fixes this problem by simply not using groovy. Instead, a main method has been added to ome.security.PasswordUtil and ant calls that with a simple <java/> task. This is inline with #407.

Note: there may still be other problems when using groovy.

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.64476 sec.)

We're Hiring!