History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: NEXUS-24
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Kristine O'Connor
Reporter: Paul Grove
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Nexus

Changing Context root log in stops working

Created: 04/16/08 06:13 AM   Updated: 08/05/08 06:36 PM
Component/s: None
Affects Version/s: 1.0.0-beta-3
Fix Version/s: 1.0.0-beta-3

Time Tracking:
Not Specified

Environment: Windows XP SP2 running manually not as a service

Rank:
Issue is not rankable.     


 Description  « Hide
Start up Nexus out of the box no changes and I can log on with "admin", "admin123". I then changed the port number the server listens on to 8800 and I can still log on with no problems. But when I change the context path to /repomanager in the conf/plexus.xml I can no longer log in using the previously used username and password.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Igor Czechowski - 04/17/08 09:43 AM - edited
I experience the same problems when I changed context form nexus to ROOT one.

It doesn't work as all request still include /nexus context.
Snippets of the log file with DEBUG log level.

2008-04-17 09:29:39.095 DEBUG [btpool0-1 - /nexus/service/local/authentication/login?_dc=1208442529650:] - org.codehaus.plexus.jetty.ServletContainer:default: REQUEST /nexus/service/local/authentication/login on org.mortbay.jetty.HttpConnection@635aed57

2008-04-17 09:29:39.154 DEBUG [btpool0-1 - /nexus/service/local/authentication/login?_dc=1208442529650:] - org.codehaus.plexus.jetty.ServletContainer:default: RESPONSE /nexus/service/local/authentication/login 503

2008-04-17 09:29:39.323 DEBUG [btpool0-1:] - org.codehaus.plexus.jetty.ServletContainer:default: EOF

Is there any configuration I can change so it starts to work ?


Brian Fox - 04/17/08 07:44 PM
this is a bug in the ui where it seems the context is hard coded to nexus. We will try to get this in beta-3

Igor Czechowski - 04/18/08 04:02 AM
As a workaround, the change on ${NEXUS_HOME}/runtime/apps/nexus/webapp/js/Sonatype.config.js seams to work for me as my context is ROOT. At least I can log in and feeds have started to work.
----- diff -----

26c26
< var servicePath = '/nexus/service/local';

> var servicePath = '/service/local';

----- diff -----

There are other path prefixed with /nexus, but I haven't touched those entries, yet.


Kristine O'Connor - 08/05/08 06:36 PM
I am able to log in using admin/admin123 when changing the context path in the plexus.xml. Closing defect.