Bug #5196
closeduploading to remote server error.
0%
Description
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 library.kepler-project.org, 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
.org/kepler/services/AuthenticationService
[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
5F72B605218C8ABA1ADEEE
[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] <error>
[run] Error: problem reading multipart data: /var/kepler/temporary/uploads
/04-Helloworld-run2.kar (Permission denied)
[run] </error>
[run]
[run] at org.kepler.objectmanager.repository.EcogridRepository.put(Eco
gridRepository.java:214)
[run] at org.kepler.kar.UploadToRepository.uploadFile(UploadToReposito
ry.java:212)
[run] at org.kepler.gui.kar.ComponentUploader.upload(ComponentUploader
.java:99)
[run] at org.kepler.gui.kar.ExportArchiveAction.actionPerformed(Export
ArchiveAction.java:476)
[run] at org.kepler.workflowrunmanager.gui.kar.ExportRunsArchiveAction
.actionPerformed(ExportRunsArchiveAction.java:108)
[run] at org.kepler.workflowrunmanager.gui.WorkflowRunManagerPanel$5.a
ctionPerformed(WorkflowRunManagerPanel.java:1070)
[run] at javax.swing.AbstractButton.fireActionPerformed(AbstractButton
.java:1995)
[run] at javax.swing.AbstractButton$Handler.actionPerformed(AbstractBu
tton.java:2318)
[run] at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultBut
tonModel.java:387)
[run] at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.
java:242)
[run] at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
[run] at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemU
I.java:1223)
[run] at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(
BasicMenuItemUI.java:1264)
[run] at java.awt.Component.processMouseEvent(Component.java:6263)
[run] at javax.swing.JComponent.processMouseEvent(JComponent.java:3267
)
[run] at java.awt.Component.processEvent(Component.java:6028)
[run] at java.awt.Container.processEvent(Container.java:2041)
[run] at java.awt.Component.dispatchEventImpl(Component.java:4630)
[run] at java.awt.Container.dispatchEventImpl(Container.java:2099)
[run] at java.awt.Component.dispatchEvent(Component.java:4460)
[run] at java.awt.LightweightDispatcher.retargetMouseEvent(Container.j
ava:4574)
[run] at java.awt.LightweightDispatcher.processMouseEvent(Container.ja
va:4238)
[run] at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4
168)
[run] at java.awt.Container.dispatchEventImpl(Container.java:2085)
[run] at java.awt.Window.dispatchEventImpl(Window.java:2478)
[run] at java.awt.Component.dispatchEvent(Component.java:4460)
[run] at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
[run] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDisp
atchThread.java:269)
[run] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatc
hThread.java:184)
[run] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDisp
atchThread.java:174)
[run] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j
ava:169)
[run] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j
ava:161)
[run] at java.awt.EventDispatchThread.run(EventDispatchThread.java:122
)
Updated by jianwu jianwu about 14 years ago
More background info: I did it at Workflow Run Manager Tab.
Updated by Derik Barseghian about 14 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.
Updated by jianwu jianwu about 14 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.
Updated by Derik Barseghian about 14 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.
Updated by jianwu jianwu about 14 years ago
It works for me to upload to library.kepler-project.org 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.