This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 139664

Summary: Depot sample app url conflict localhost:8080/admin
Product: ruby Reporter: Chris Kutler <ckutler>
Component: RailsAssignee: Erno Mononen <emononen>
Status: RESOLVED INVALID    
Severity: blocker    
Priority: P1    
Version: 6.x   
Hardware: PC   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Chris Kutler 2008-07-11 01:15:21 UTC
This bug is caused by the new default server for JRuby rails apps, which is GlassFish

The readme for the Depot sample app says:

# To view the Admin pages browse to the following URL:

  http://localhost:3000/admin 

# Log in using admin for the user name, and secret for the password. 

(I filed separate bug (139662) to change 3000 to 8080 now that this JRuby sample app runs on GF by default)

The problem is that if you type in the URL http://localhost:8080/admin, you will not get the Depot Admin page, you get
the GF admin page. We need to come up with a strategy so that the Depot sample app users can access the Depot admin
pages. Then I need to get the readme updated.

Note that the Depot sample app is affected by 139188. Currently, when you run the Depot rails app, you do not get the
app, you get the GF page.
Comment 1 Chris Kutler 2008-07-12 19:54:41 UTC
I might be wrong about this. It looks like you need to put the application name in the URL. I need to do more research.