[Building Sakai] keystore load error while deploying agora

Steve Swinsburg s.swinsburg at lancaster.ac.uk
Tue Apr 21 06:20:16 PDT 2009


Hi Gopal,

Check out the text files that come with the source, ie BUILDING ec.  
They explain what you need to do for signing the Agora code with the  
keystore.


cheers,
Steve

---
Steve Swinsburg
Portal Systems Developer
Centre for e-Science
Lancaster University
Lancaster
LA1 4YT

email: s.swinsburg at lancaster.ac.uk
phone: +44 (0) 1524 594870







On 21 Apr 2009, at 14:16, Gopal Patil wrote:

> Hello  All,
>
> while deploying agora i am facing following error. which is related  
> to keystore.
> what is that?
>
> ----------------------------------------------------------------------------------------
>
>      [copy] Copying 1 file to D:\work\Sakai\FreezedCode\sakai_2-5-x 
> \agora\tool\tool\m2-target\sakai-conferencing-tool-M2
>      [copy] Copying 1 file to D:\work\Sakai\FreezedCode\sakai_2-5-x 
> \agora\tool\tool\m2-target\sakai-conferencing-tool-M2
>   [signjar] Signing JAR: D:\work\Sakai\FreezedCode\sakai_2-5-x\agora 
> \tool\tool\m2-target\sakai-conferencing-tool-M2\agora-cli
> ent-1.0.jar to D:\work\Sakai\FreezedCode\sakai_2-5-x\agora\tool\tool 
> \m2-target\sakai-conferencing-tool-M2\agora-client-1.0.ja
> r as ${keystore.alias}
>   [signjar] jarsigner error: java.lang.RuntimeException: keystore  
> load: D:\work\Sakai\FreezedCode\sakai_2-5-x\agora\tool\tool
> \${keystore} (The system cannot find the file specified)
>   [signjar] Enter Passphrase for keystore:
> [INFO]  
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]  
> ------------------------------------------------------------------------
> [INFO] An Ant BuildException has occured: jarsigner returned: 1
>
> [INFO]  
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: An Ant  
> BuildException has occured: jarsigner returned: 1
>         at  
> org 
> .apache 
> .maven 
> .lifecycle 
> .DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java: 
> 584)
>         at  
> org 
> .apache 
> .maven 
> .lifecycle 
> .DefaultLifecycleExecutor 
> .executeGoalWithLifecycle(DefaultLifecycleExecutor.java:500)
>         at  
> org 
> .apache 
> .maven 
> .lifecycle 
> .DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java: 
> 479)
>         at  
> org 
> .apache 
> .maven 
> .lifecycle 
> .DefaultLifecycleExecutor 
> .executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331
> ----------------------------------------------------------------------------------------------------------------
>
> thanks,
> gopal
>
>
>
>
>
>
> On Tue, Apr 21, 2009 at 6:32 PM, Gopal Patil  
> <patil.gopal.a at gmail.com> wrote:
> steve, as per your guidance i created a folder sakai-wicket and  
> taken a check out from
>  https://source.sakaiproject.org/contrib//wicket/sakai-wicket/branches/sakai_2-5-x/
> and deployed successfully
> .
>
> Now i am facing following problem, while deploying agora:-
>
> ------------------------------------------------------------------------------
> [INFO] [antrun:run {execution: copy-and-sign-libraries}]
> [INFO] Executing tasks
>      [copy] Copying 1 file to D:\work\Sakai\FreezedCode\sakai_2-5-x 
> \agora\tool\tool\m2-target\sakai-conferencing-tool-M2
>      [copy] Copying 1 file to D:\work\Sakai\FreezedCode\sakai_2-5-x 
> \agora\tool\tool\m2-target\sakai-conferencing-tool-M2
>      [copy] Copying 1 file to D:\work\Sakai\FreezedCode\sakai_2-5-x 
> \agora\tool\tool\m2-target\sakai-conferencing-tool-M2
>      [copy] Copying 1 file to D:\work\Sakai\FreezedCode\sakai_2-5-x 
> \agora\tool\tool\m2-target\sakai-conferencing-tool-M2
> [INFO]  
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]  
> ------------------------------------------------------------------------
> [INFO] An Ant BuildException has occured: Warning: Could not find  
> file C:\Documents and Settings\user1\.m2\repository\axis\ax
> is-jaxrpc\1.4\axis-jaxrpc-1.4.jar to copy.
>
> [INFO]  
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: An Ant  
> BuildException has occured: Warning: Could not find file C:\Do
> cuments and Settings\user1\.m2\repository\axis\axis-jaxrpc\1.4\axis- 
> jaxrpc-1.4.jar to copy.
>         at  
> org 
> .apache 
> .maven 
> .lifecycle 
> .DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java: 
> 584)
>         at  
> org 
> .apache 
> .maven 
> .lifecycle 
> .DefaultLifecycleExecutor 
> .executeGoalWithLifecycle(DefaultLifecycleExecutor.java:500)
>         at  
> org 
> .apache 
> .maven 
> .lifecycle 
> .DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java: 
> 479)
>         at  
> org 
> .apache 
> .maven 
> .lifecycle 
> .DefaultLifecycleExecutor 
> .executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331
> )
>         at  
> org 
> .apache 
> .maven 
> .lifecycle 
> .DefaultLifecycleExecutor 
> .executeTaskSegments(DefaultLifecycleExecutor.java:292)
>         at  
> org 
> .apache 
> .maven 
> .lifecycle 
> .DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java: 
> 336)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java: 
> 129)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> --------------------------------------------------------------------------------
>
>
> Regards,
> Gopal
>
>
> On Tue, Apr 21, 2009 at 6:16 PM, Steve Swinsburg <s.swinsburg at lancaster.ac.uk 
> > wrote:
> Hi Goapl,
>
> Yes, build sakai-wicket via maven so its in your local repo first.  
> The projects that use sakai-wicket (ie Agora) will grab it from your  
> maven repo when building themselves.
>
> Down the track we should be able to remove the dependency on sakai- 
> wicket for Agora and just use vanilla Wicket, which IS in remote  
> repositories, so will be downloaded transparently -  that's another  
> discussion though.
>
>
> cheers,
> Steve
>
> ---
> Steve Swinsburg
> Portal Systems Developer
> Centre for e-Science
> Lancaster University
> Lancaster
> LA1 4YT
>
> email: s.swinsburg at lancaster.ac.uk
> phone: +44 (0) 1524 594870
>
>
>
>
>
>
>
> On 21 Apr 2009, at 13:43, Gopal Patil wrote:
>
>> Thanks steve,
>> do you mean that i need to checkout sakai-wicket and deploy his  
>> module in my sakai project and then i must deploy agora?
>>
>>
>> regards,
>> Goapl
>>
>> On Tue, Apr 21, 2009 at 6:07 PM, Steve Swinsburg <s.swinsburg at lancaster.ac.uk 
>> > wrote:
>> Hi Gopal,
>>
>> You need to build sakai-wicket separately first as its not in the  
>> Sakai Maven repo.
>>
>> Check out a version from here:
>> https://source.sakaiproject.org/contrib//wicket/sakai-wicket/ 
>> branches/
>>
>> cheers,
>> Steve
>>
>> ---
>> Steve Swinsburg
>> Portal Systems Developer
>> Centre for e-Science
>> Lancaster University
>> Lancaster
>> LA1 4YT
>>
>> email: s.swinsburg at lancaster.ac.uk
>> phone: +44 (0) 1524 594870
>>
>>
>>
>>
>>
>>
>>
>> On 21 Apr 2009, at 13:33, Gopal Patil wrote:
>>
>>> Hello ALL,
>>>  I am trying to build agora. but i am unable to download sakai- 
>>> wicket artifact !
>>>
>>> is there any solution?
>>>
>>> Error i got while deploying:
>>>
>>> -------------------------------------
>>> .
>>> .
>>> .
>>> .
>>> .
>>> [INFO] Copying 12 resources
>>> Downloading: http://source.sakaiproject.org/maven2/org/sakaiproject/sakai-wicket/M2/sakai-wicket-M2.pom
>>> Downloading: http://source.sakaiproject.org/maven2-ibiblio/org/sakaiproject/sakai-wicket/M2/sakai-wicket-M2.pom
>>> Downloading: http://repo1.maven.org/maven2/org/sakaiproject/sakai-wicket/M2/sakai-wicket-M2.pom
>>> Downloading: http://myfaces.zones.apache.org/dist/maven-repository/org/sakaiproject/sakai-wicket/M2/sakai-wicket-M2.pom
>>> Downloading: http://repo1.maven.org/maven2/org/sakaiproject/sakai-wicket/M2/sakai-wicket-M2.pom
>>> Downloading: http://source.sakaiproject.org/maven2/org/sakaiproject/sakai-wicket/M2/sakai-wicket-M2.jar
>>> Downloading: http://source.sakaiproject.org/maven2-ibiblio/org/sakaiproject/sakai-wicket/M2/sakai-wicket-M2.jar
>>> Downloading: http://repo1.maven.org/maven2/org/sakaiproject/sakai-wicket/M2/sakai-wicket-M2.jar
>>> Downloading: http://myfaces.zones.apache.org/dist/maven-repository/org/sakaiproject/sakai-wicket/M2/sakai-wicket-M2.jar
>>> Downloading: http://repo1.maven.org/maven2/org/sakaiproject/sakai-wicket/M2/sakai-wicket-M2.jar
>>> [INFO]  
>>> ------------------------------------------------------------------------
>>> [ERROR] BUILD ERROR
>>> [INFO]  
>>> ------------------------------------------------------------------------
>>> [INFO] Failed to resolve artifact.
>>>
>>> Missing:
>>> ----------
>>> 1) org.sakaiproject:sakai-wicket:jar:M2
>>>
>>>   Try downloading the file manually from the project website.
>>>
>>>   Then, install it using the command:
>>>       mvn install:install-file -DgroupId=org.sakaiproject - 
>>> DartifactId=sakai-wicket -Dversion=M2 -Dpackaging=jar -Dfile=/pat
>>> /to/file
>>>
>>>   Alternatively, if you host your own repository you can deploy  
>>> the file there:
>>>       mvn deploy:deploy-file -DgroupId=org.sakaiproject - 
>>> DartifactId=sakai-wicket -Dversion=M2 -Dpackaging=jar -Dfile=/path/
>>> o/file -Durl=[url] -DrepositoryId=[id]
>>>
>>>   Path to dependency:
>>>         1) org.sakaiproject:sakai-conferencing-tool:war:M2
>>>         2) org.sakaiproject:sakai-wicket:jar:M2
>>>
>>> .
>>> .
>>>
>>> .
>>> .
>>> .
>>> .
>>> --------------------------------------------------------------------------------------------
>>>
>>> Regards,
>>> Gopal
>>>
>>>
>>> On Tue, Apr 21, 2009 at 1:09 PM, Gopal Patil <patil.gopal.a at gmail.com 
>>> > wrote:
>>> Ok! i will take are of all these things from next time
>>> and  thanks
>>>
>>> Regards,
>>> Gopal
>>>
>>>
>>> On Tue, Apr 21, 2009 at 11:43 AM, Aaron Zeckoski <aaronz at vt.edu>  
>>> wrote:
>>> Agora might be what you are looking for but I think more details  
>>> about
>>> your requirements would be helpful here so people know what you want
>>> to do.
>>> http://agora.lancs.ac.uk/
>>>
>>> On a side note, you should not post questions to me or other people
>>> directly on email lists like this as it may discourage others who  
>>> have
>>> better answers from responding. Just sending the question to the  
>>> list
>>> is fine.
>>>
>>> -AZ
>>>
>>>
>>> On Tue, Apr 21, 2009 at 7:50 AM, Gopal Patil <patil.gopal.a at gmail.com 
>>> > wrote:
>>> > Hello Aaron,
>>> > I want to display online lecture to all the students.It will be  
>>> like remote
>>> > desktop access.
>>> > is there any tool that i can explore and use  in sakai?
>>> > PLZ reply.
>>> > --
>>> > Gopal
>>> >
>>>
>>>
>>>
>>> --
>>> Aaron Zeckoski (aaronz at vt.edu)
>>> Senior Research Engineer - CARET - Cambridge University
>>> [http://bugs.sakaiproject.org/confluence/display/~aaronz/]
>>> Sakai Fellow - [http://aaronz-sakai.blogspot.com/]
>>>
>>>
>>>
>>> -- 
>>> Gopal
>>>
>>>
>>>
>>> -- 
>>> Gopal
>>> _______________________________________________
>>> sakai-dev mailing list
>>> sakai-dev at collab.sakaiproject.org
>>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>>
>>> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org 
>>>  with a subject of "unsubscribe"
>>
>>
>>
>>
>> -- 
>> Gopal
>
>
>
>
> -- 
> Gopal
>
>
>
> -- 
> Gopal
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org 
>  with a subject of "unsubscribe"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090421/d89c1b90/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2437 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090421/d89c1b90/attachment.bin 


More information about the sakai-dev mailing list