Issue Details (XML | Word | Printable)

Key: GLASSFISH-16920
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Amy Roh
Reporter: Aslak Knutsen
Votes: 0
Watchers: 0
Operations

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

Embedded WebContainer return no Contexts on call to VirtualServer.getContexts()

Created: 27/Jun/11 03:55 PM   Updated: 01/Jul/11 04:12 AM   Resolved: 01/Jul/11 04:12 AM
Component/s: web_container
Affects Version/s: 4.0_b06
Fix Version/s: 3.1.1_b10

Time Tracking:
Not Specified

File Attachments: 1. Java Source File ContextIssueTestCase.java (5 kB) 27/Jun/11 03:55 PM - Aslak Knutsen


Tags:
Participants: Amy Roh, Aslak Knutsen and Bhavanishankar


 Description  « Hide

Steps to reproduce

  1. Deploy a War with a Servlet
    " Lookup WebContainer in GlassFish Runtime
  2. Get the VirtualServers
  3. Get the Contexts

VirtualServer.getContexts return 0, but casting to com.sun...VirtualServer and using findChildren returns a Container/WebModule with the Servlet registered.



Bhavanishankar added a comment - 28/Jun/11 04:26 AM

re-categorized.


Amy Roh added a comment - 01/Jul/11 04:12 AM

Fixed in 47758 & 47765.