Bug #5196


uploading to remote server error.

Added by jianwu jianwu over 13 years ago. Updated over 13 years ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:


First of all, I think the popup dialog for workflow run uploading is not quite clear. It is 'To upload to a remote repository, select one from the component search preferences.'. I think a better one is like 'To upload to a remote repository, please first select choose one remote save site at Tools->Preferences->Components.'

I chose, and get exception when uploading a workflow run on my windows machine. I don't know why it tries to access this directory: /var/kepler/temporary/uploads/04-Helloworld-run2.kar

[run] d: SEEK username: kepler password:  org: unaffiliated
[run] auth with dn: uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org
[run] ==============authenticating with url: http://library.kepler-project
[run] Authenticating with user: uid=kepler,o=unaffiliated,dc=ecoinformatic
s,dc=org and password:
[run] using AuthenticationServiceClient to authenticate...
[run] EcogridUtils: The time to create instance is =========== 0
[run] AuthenticationServiceClient.login_action - return string: ACC3D77247
[run] Done authenticating with AuthenticationServiceClient.
[run] Time authenticating: 19 seconds.
[run] EcogridUtils: The time to create instance is =========== 0
[run] EcogridUtils: The time to create instance is =========== 0
[run] org.kepler.objectmanager.repository.RepositoryException: java.rmi.Re
moteException: <?xml version="1.0"?>
[run] &lt;error&gt;
[run] Error: problem reading multipart data: /var/kepler/temporary/uploads
/04-Helloworld-run2.kar (Permission denied)
[run] &lt;/error&gt;
[run] at org.kepler.objectmanager.repository.EcogridRepository.put(Eco
[run] at org.kepler.kar.UploadToRepository.uploadFile(UploadToReposito
[run] at org.kepler.gui.kar.ComponentUploader.upload(ComponentUploader
[run] at org.kepler.gui.kar.ExportArchiveAction.actionPerformed(Export
[run] at org.kepler.workflowrunmanager.gui.kar.ExportRunsArchiveAction
[run] at org.kepler.workflowrunmanager.gui.WorkflowRunManagerPanel$5.a
[run] at javax.swing.AbstractButton.fireActionPerformed(AbstractButton
[run] at javax.swing.AbstractButton$Handler.actionPerformed(AbstractBu
[run] at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultBut
[run] at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.
[run] at javax.swing.AbstractButton.doClick(
[run] at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemU
[run] at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(
[run] at java.awt.Component.processMouseEvent(
[run] at javax.swing.JComponent.processMouseEvent(
[run] at java.awt.Component.processEvent(
[run] at java.awt.Container.processEvent(
[run] at java.awt.Component.dispatchEventImpl(
[run] at java.awt.Container.dispatchEventImpl(
[run] at java.awt.Component.dispatchEvent(
[run] at java.awt.LightweightDispatcher.retargetMouseEvent(Container.j
[run] at java.awt.LightweightDispatcher.processMouseEvent(Container.ja
[run] at java.awt.LightweightDispatcher.dispatchEvent(
[run] at java.awt.Container.dispatchEventImpl(
[run] at java.awt.Window.dispatchEventImpl(
[run] at java.awt.Component.dispatchEvent(
[run] at java.awt.EventQueue.dispatchEvent(
[run] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDisp
[run] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatc
[run] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDisp
[run] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j
[run] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j
[run] at
Actions #1

Updated by jianwu jianwu over 13 years ago

More background info: I did it at Workflow Run Manager Tab.

Actions #2

Updated by Derik Barseghian over 13 years ago

Should be fixed now in trunk and 2.1 w/ ben's check-ins at r25928 and r25929.
Jianwu can you try again and close this bug if it works for you? You could upload to kepler-dev.
Ben and I have tested uploading a workflow kar to kepler-dev and library and it's working for me (I've since deleted the kars I uploaded to library). One thing we noticed is it takes a while for the web page to show the name of the component...initially it just shows as Null, but a little while later if you refresh the page you'll find the name is there.

Actions #3

Updated by jianwu jianwu over 13 years ago

I can upload to kepler-dev without updating my Kepler local copy. Does it mean it works now? I didn't try kepler-dev when firing the bug.

Actions #4

Updated by Derik Barseghian over 13 years ago

Yeah, it should be fixed now. There were actually two problems, the one you reported which I believe only affected the 'library' metacat and which Ben fixed server-side, and a Kepler bug that Ben fixed with those check-ins. You can test uploading to library again if you want, with or without the updates, and it should work. If you put "delete-me" in the name I'll delete your uploaded kar for you.

Actions #5

Updated by jianwu jianwu over 13 years ago

It works for me to upload to before and after updating my local kepler. Close the bug.

Derik: I uploaded two files: delete-me-run6 and delete-me-run5. Please help me to delete them. Thanks.

Actions #6

Updated by Redmine Admin about 11 years ago

Original Bugzilla ID was 5196


Also available in: Atom PDF