Forum LAMS for Tech-Heads - General Forum: Re: Re: Authoring problem with Share Resources and Noticeboard


 
Search: 

4: Re: Re: Authoring problem with Share Resources and Noticeboard
In response to 3 09/22/06 02:04 AM
[ Reply | Forward ]
Here are all the files you should need.

The authoring.jsp in part of the lams_tool_larsrc folder or did you mean something else?

Thanks for your help.

Best,

-ken

Posted by Ken Kahn

Attachments:
5: Re: Re: Re: Authoring problem with Share Resources and Noticeboard
In response to 4 09/22/06 07:38 AM
[ Reply | Forward ]
Ken,

I've looked at the code but I can't spot anything obvious. I was hoping that it would be something in authoring.jsp or AuthoringAction.java but the changes (comparing your copy to the most current copy) wouldn't explain this error.

So it has me a little stumped.

Once we have RC1 ready, we might try getting you to check out again and see if the issue fixes itself. Based on other discussions we've had, I'm hoping that won't inconvenience you to much!

I will look at the other issues you have raised and get them into our JIRA system for the guys to look at.

Fiona

Posted by Fiona Malikoff

6: Re: Re: Re: Re: Authoring problem with Share Resources and Noticeboard
In response to 5 09/22/06 08:07 AM
[ Reply | Forward ]
I went to go to sleep and I had a thought.

Its a long shot but it might be worth a try.

I think the error authoring.jsp seems to be out of sync with the AuthoringButton.tag file (both of these files are in the lams_tool_larsrc project.

But when I look at the source files, they seem to be in sync.

You could try:

* Shutdown JBoss. Delete server/default/tmp and server/default/work.  Start JBoss and retry it. JBoss could have cached the .tag file and not be clearing it out properly - we have encountered problems like this before but it is normally jsp files that get "stuck", not tag files.

* If that doesn't work then shutdown JBoss. Find the authoring.jsp file in the lams_tool_larsrc project (it will be in one of the directories under web) and change

<lams:AuthoringButton formID="authoringForm" clearSessionActionUrl="/clearsession.do"
    toolSignature="<%=ResourceConstants.TOOL_SIGNATURE%>" toolContentID="${formBean.resource.contentId}"
     customiseSessionID="${formBean.sessionMapID}"
     contentFolderID="${formBean.contentFolderID}" />


to

<lams:AuthoringButton formID="authoringForm" clearSessionActionUrl="/clearsession.do"
    toolSignature="<%=ResourceConstants.TOOL_SIGNATURE%>" toolContentID="${formBean.resource.contentId}"
     customiseSessionID="${formBean.sessionMapID}" />

ie get rid of the contentFolderID. Then you need to run the ant build for the lams_tool_larsrc only and do the ant "deploy-war". You don't need to completely rebuild LAMS.

Then restart JBoss.  Hopefully you will now be able to open the shared resources authoring screen. If you have to change the authoring.jsp then the save and cancel buttons won't work (which I why I suggest trying to clear out the directories in JBoss first). But hopefully at least you will get the screen up and be able to see the data.

Fingers crossed, one of these two will do it.

Now, back to sleep.

Fiona

Posted by Fiona Malikoff

7: Re: Re: Re: Re: Re: Authoring problem with Share Resources and Noticeboard
In response to 6 09/22/06 08:45 AM
[ Reply | Forward ]
First suggestion worked! Deleting those JBOSS files fixed the problem.

Thanks.

Best,

-ken

Posted by Ken Kahn

Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum