cancel
Showing results for 
Search instead for 
Did you mean: 

Nuxeo 5.6 - Server caught in redirect loop when studio package is installed. (Solved)

kennyr_
Champ on-the-rise
Champ on-the-rise

Hi guys,

I've been trying to figure this one out, but with no progress.

I've got an installation of Nuxeo 5.6, running on Win7/64bit, running with the h2+derby database. It is not progressing past the login redirect screen when a plugin developed in studio is installed. If the plugin is in the nxserver\bundles directory, I get an error about a redirect loop. If I remove it, it logs in.

I've tried it with a fresh install of the server, after clearing out the data directory, but the same error occurs. It occurs in Firefox and Chrome, with both after clearing the browser history and all cookies.

server.log gives an error when the bundle is in the directory, but it does not reference the bundle directly. The change in the logs is visible in the PasteBin. It occurs in "server - with studio" at line 46 (with word-wrap off). The working log is in "server - without studio"

There are also only 372 total components loaded when the studio bundle is installed, compared to 515 when the studio bundle is not loaded.

server - with studio server - without studio

1 ACCEPTED ANSWER

kennyr_
Champ on-the-rise
Champ on-the-rise

Problem solved, and replicated.

It was caused by a node in a workflow. The node contained a NodeVariable which was originally a String value, with a default value set to "ss". The NodeVariable was changed to a Blob, without the default value being removed. It was, properly, disabled when the node became a Blob.

When the package was installed on the server with the Blob variable with the default value set to "ss" the problem occured.

To replicate, create a new workflow with three nodes. "Start" -> "Approve" -> "Stop". Create a variable in the "Approve" node called "StringVar". Give it a default value. Install the package, reboot the server. Go back into Studio, change StringVar into a Blob. Reinstall the package, reboot the server. You'll see the error.

View answer in original post

5 REPLIES 5

kennyr_
Champ on-the-rise
Champ on-the-rise

Oh, also, I ran two of the XML files (extensions.xml and the XML file for the workflow I was most recently editing) through an XML parse checker. They came back clean.

kennyr_
Champ on-the-rise
Champ on-the-rise

The URL that is throwing this error is http

kennyr_
Champ on-the-rise
Champ on-the-rise

Problem solved, and replicated.

It was caused by a node in a workflow. The node contained a NodeVariable which was originally a String value, with a default value set to "ss". The NodeVariable was changed to a Blob, without the default value being removed. It was, properly, disabled when the node became a Blob.

When the package was installed on the server with the Blob variable with the default value set to "ss" the problem occured.

To replicate, create a new workflow with three nodes. "Start" -> "Approve" -> "Stop". Create a variable in the "Approve" node called "StringVar". Give it a default value. Install the package, reboot the server. Go back into Studio, change StringVar into a Blob. Reinstall the package, reboot the server. You'll see the error.

Thx for the detailed description of the bug. I created https

kennyr_
Champ on-the-rise
Champ on-the-rise

Interesting twist...

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.