Pinning vertex on soft body to mesh not working
You can add a hook modifier to your rope (use CTRL-H from edit mode, having selected your pinning vertex, to hook this up to an empty), and parent the resulting empty to your javelin.