[jira] Updated: (GERONIMO-1703) ServerInfo.getBaseDirectory() returns null

2006-06-30 Thread Aaron Mulder (JIRA)
 [ http://issues.apache.org/jira/browse/GERONIMO-1703?page=all ]

Aaron Mulder updated GERONIMO-1703:
---

Assign To: (was: Aaron Mulder)

> ServerInfo.getBaseDirectory() returns null
> --
>
>  Key: GERONIMO-1703
>  URL: http://issues.apache.org/jira/browse/GERONIMO-1703
>  Project: Geronimo
> Type: Bug
> Security: public(Regular issues) 
>   Components: startup/shutdown
>  Environment: Sun JDK 1.4.2_08, Win XP, Geronimo-Tomcat
> Reporter: Vamsavardhana Reddy
> Priority: Critical
>  Fix For: 1.1.1
>  Attachments: ServerInfoWebApp.war, ServerInfoWebApp_g1.1.war
>
> Calling getBaseDirectory on org.apache.geronimo.system.serverinfo.ServerInfo 
> returned by KernelManagementHelper.getServerInfo() returns null instead of 
> Geronimo Base Directory.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Updated: (GERONIMO-1703) ServerInfo.getBaseDirectory() returns null

2006-06-12 Thread Matt Hogstrom (JIRA)
 [ http://issues.apache.org/jira/browse/GERONIMO-1703?page=all ]

Matt Hogstrom updated GERONIMO-1703:


Fix Version: 1.1.1
 (was: 1.1)

> ServerInfo.getBaseDirectory() returns null
> --
>
>  Key: GERONIMO-1703
>  URL: http://issues.apache.org/jira/browse/GERONIMO-1703
>  Project: Geronimo
> Type: Bug
> Security: public(Regular issues) 
>   Components: startup/shutdown
>  Environment: Sun JDK 1.4.2_08, Win XP, Geronimo-Tomcat
> Reporter: Vamsavardhana Reddy
> Assignee: Aaron Mulder
> Priority: Critical
>  Fix For: 1.1.1
>  Attachments: ServerInfoWebApp.war, ServerInfoWebApp_g1.1.war
>
> Calling getBaseDirectory on org.apache.geronimo.system.serverinfo.ServerInfo 
> returned by KernelManagementHelper.getServerInfo() returns null instead of 
> Geronimo Base Directory.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Updated: (GERONIMO-1703) ServerInfo.getBaseDirectory() returns null

2006-05-09 Thread Paul McMahan (JIRA)
 [ http://issues.apache.org/jira/browse/GERONIMO-1703?page=all ]

Paul McMahan updated GERONIMO-1703:
---

Component: startup/shutdown
   (was: console)

Changing the component to startup/shutdown since the console's 
KernelManagementHelper method used to demonstrate the behavior in question has 
been removed from G1.1.   The method for getting ServerInfo is now provided 
directly on the J2EEServer API.

> ServerInfo.getBaseDirectory() returns null
> --
>
>  Key: GERONIMO-1703
>  URL: http://issues.apache.org/jira/browse/GERONIMO-1703
>  Project: Geronimo
> Type: Bug
> Security: public(Regular issues) 
>   Components: startup/shutdown
>  Environment: Sun JDK 1.4.2_08, Win XP, Geronimo-Tomcat
> Reporter: Vamsavardhana Reddy
> Assignee: Aaron Mulder
> Priority: Critical
>  Fix For: 1.1
>  Attachments: ServerInfoWebApp.war, ServerInfoWebApp_g1.1.war
>
> Calling getBaseDirectory on org.apache.geronimo.system.serverinfo.ServerInfo 
> returned by KernelManagementHelper.getServerInfo() returns null instead of 
> Geronimo Base Directory.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Updated: (GERONIMO-1703) ServerInfo.getBaseDirectory() returns null

2006-05-09 Thread Paul McMahan (JIRA)
 [ http://issues.apache.org/jira/browse/GERONIMO-1703?page=all ]

Paul McMahan updated GERONIMO-1703:
---

Attachment: ServerInfoWebApp_g1.1.war

I'm attaching a new version of the WAR file that demonstrates the behavior, 
updated for the API and schema changes that have occurred in G1.1.

My reading of the current ServerInfo javadoc implies that the API in question 
*should* return null unless the setting is specified in config.xml.

/**
 * A config.xml setting for the base directory.  This is normally
 * left null, which means the ServerInfo will use the Geronimo
 * install directory.
 */
public String getBaseDirectory();

However, I have a patch ready if there's consensus that the API should return 
the current base directory instead of null.  This would make it redundant with 
the getCurrentBaseDirectory() API.  If you want the patch then just let me know.

> ServerInfo.getBaseDirectory() returns null
> --
>
>  Key: GERONIMO-1703
>  URL: http://issues.apache.org/jira/browse/GERONIMO-1703
>  Project: Geronimo
> Type: Bug
> Security: public(Regular issues) 
>   Components: console
>  Environment: Sun JDK 1.4.2_08, Win XP, Geronimo-Tomcat
> Reporter: Vamsavardhana Reddy
> Assignee: Aaron Mulder
> Priority: Critical
>  Fix For: 1.1
>  Attachments: ServerInfoWebApp.war, ServerInfoWebApp_g1.1.war
>
> Calling getBaseDirectory on org.apache.geronimo.system.serverinfo.ServerInfo 
> returned by KernelManagementHelper.getServerInfo() returns null instead of 
> Geronimo Base Directory.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Updated: (GERONIMO-1703) ServerInfo.getBaseDirectory() returns null

2006-04-26 Thread Aaron Mulder (JIRA)
 [ http://issues.apache.org/jira/browse/GERONIMO-1703?page=all ]

Aaron Mulder updated GERONIMO-1703:
---

Fix Version: 1.1
 (was: 1.2)
Version: (was: 1.0)
 (was: 1.1)
 (was: 1.2)
   Priority: Critical  (was: Minor)

Need to review

> ServerInfo.getBaseDirectory() returns null
> --
>
>  Key: GERONIMO-1703
>  URL: http://issues.apache.org/jira/browse/GERONIMO-1703
>  Project: Geronimo
> Type: Bug
> Security: public(Regular issues) 
>   Components: console
>  Environment: Sun JDK 1.4.2_08, Win XP, Geronimo-Tomcat
> Reporter: Vamsavardhana Reddy
> Assignee: Aaron Mulder
> Priority: Critical
>  Fix For: 1.1
>  Attachments: ServerInfoWebApp.war
>
> Calling getBaseDirectory on org.apache.geronimo.system.serverinfo.ServerInfo 
> returned by KernelManagementHelper.getServerInfo() returns null instead of 
> Geronimo Base Directory.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Updated: (GERONIMO-1703) ServerInfo.getBaseDirectory() returns null

2006-04-06 Thread Dain Sundstrom (JIRA)
 [ http://issues.apache.org/jira/browse/GERONIMO-1703?page=all ]

Dain Sundstrom updated GERONIMO-1703:
-

Component: console
Assign To: Aaron Mulder

My guess is this has already been fixed in 1.1

> ServerInfo.getBaseDirectory() returns null
> --
>
>  Key: GERONIMO-1703
>  URL: http://issues.apache.org/jira/browse/GERONIMO-1703
>  Project: Geronimo
> Type: Bug
> Security: public(Regular issues) 
>   Components: console
> Versions: 1.0, 1.1, 1.2
>  Environment: Sun JDK 1.4.2_08, Win XP, Geronimo-Tomcat
> Reporter: Vamsavardhana Reddy
> Assignee: Aaron Mulder
> Priority: Minor
>  Fix For: 1.2
>  Attachments: ServerInfoWebApp.war
>
> Calling getBaseDirectory on org.apache.geronimo.system.serverinfo.ServerInfo 
> returned by KernelManagementHelper.getServerInfo() returns null instead of 
> Geronimo Base Directory.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Updated: (GERONIMO-1703) ServerInfo.getBaseDirectory() returns null

2006-03-07 Thread Vamsavardhana Reddy (JIRA)
 [ http://issues.apache.org/jira/browse/GERONIMO-1703?page=all ]

Vamsavardhana Reddy updated GERONIMO-1703:
--

Attachment: ServerInfoWebApp.war

ServerInfoWebApp.war:  Deploy this war and access 
http://localhost:8080/ServerInfoWebApp/ServerInfoServlet to verify the issue.

The servlet doGet() has the following code.

response.setContentType("text/plain");

PrintWriter out = response.getWriter();

Kernel kernel = KernelRegistry.getSingleKernel();
KernelManagementHelper mgr = new KernelManagementHelper(kernel);
J2EEDomain domain = mgr.getDomains()[0];
J2EEServer server = mgr.getServers(domain)[0];
ServerInfo serverInfo = mgr.getServerInfo(server);

out.println(serverInfo);
out.println("Version = "+serverInfo.getVersion());
out.println("BuildDate = "+serverInfo.getBuildDate());
out.println("BuildTime = "+serverInfo.getBuildTime());
out.println("Copyright = "+serverInfo.getCopyright());
out.println("BaseDirectory = "+serverInfo.getBaseDirectory());


> ServerInfo.getBaseDirectory() returns null
> --
>
>  Key: GERONIMO-1703
>  URL: http://issues.apache.org/jira/browse/GERONIMO-1703
>  Project: Geronimo
> Type: Bug
> Versions: 1.0, 1.1, 1.2
>  Environment: Sun JDK 1.4.2_08, Win XP, Geronimo-Tomcat
> Reporter: Vamsavardhana Reddy
> Priority: Minor
>  Fix For: 1.2
>  Attachments: ServerInfoWebApp.war
>
> Calling getBaseDirectory on org.apache.geronimo.system.serverinfo.ServerInfo 
> returned by KernelManagementHelper.getServerInfo() returns null instead of 
> Geronimo Base Directory.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira