Trouble rearranging web resources

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

bartbaas
Ebase User
Posts: 32
Joined: Wed Jun 19, 2019 9:46 am

Trouble rearranging web resources

#1

Postby bartbaas » Wed Mar 31, 2021 12:24 pm

After upgrading our 5.4 Ebase (via 5.5.1) to 5.6 we received an error in the application, stating a form's top JSP cannot be found.

Image

In our 5.4 configuration (and 5.5.1) We had a Shared Web Resource that was used from our workspace
Image

Image

I found that this resource is hosted relatively from the webapps/ufs folder and we can choose to change this into a resource from workspace,
using the configure Web Resource Dialog.
Image

Is there a way to do this in bulk, as we have a lot of forms that are set up this way and need to be changed, presumably.

We would like to keep these rescources in the workspace, so we can do version control, and only need to deploy in the workspace folder.

The same goes for images that are referenced, relative to the workspace folder

Image
Attachments
ebase_error.png
ebase_error.png (3.26 KiB) Viewed 2680 times
0 x

bartbaas
Ebase User
Posts: 32
Joined: Wed Jun 19, 2019 9:46 am

Re: Trouble rearranging web resources

#2

Postby bartbaas » Tue Apr 06, 2021 11:31 am

Fixed it for now with a symbolic link on Windows. But for future reference, it would be better to fix this permanently and easier if we could do it in bulk.
0 x

Steve
Moderator
Moderator
Posts: 414
Joined: Fri Sep 07, 2007 3:44 pm
Location: Sandy, UK
Contact:

Re: Trouble rearranging web resources

#3

Postby Steve » Thu Apr 08, 2021 9:57 am

Hi Bart,

You should not have to change every reference to the resources. It sounds like it cannot find the location of the JSPs and images etc...

The web resources can be configured as:

1) Relative to the server.. these files should be put inside the UserData location on the system:

<Server-User-Data-Location>/Server/apps/ebase/webapp

2) Using a workspace reference... i.e the url will start with a $ws

for example:

$ws/Web_Resources/myjsps/top.jsp

This will look for the file within the workspace instead of inside the server webapp.

If you have had to change the location for each resource, then I feel that something has gone wrong when upgrading to 5.6.

Kind regards

Steve
0 x


Who is online

Users browsing this forum: No registered users and 14 guests