You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org> on 2006/04/23 22:53:05 UTC

[jira] Created: (GERONIMO-1900) Sample app links on welcome app are broken by default

Sample app links on welcome app are broken by default
-----------------------------------------------------

         Key: GERONIMO-1900
         URL: http://issues.apache.org/jira/browse/GERONIMO-1900
     Project: Geronimo
        Type: Bug
    Security: public (Regular issues) 
  Components: usability, sample apps  
    Versions: 1.1    
    Reporter: Aaron Mulder
     Fix For: 1.1


It would be nice to take users to a page that would prompt them to install the sample if they click a link to it and it's not present. However, automating this would require us to be able to construct a link into a portlet, which does not seem easy. 

For now, the welcome app can include pages at the locations where the sample apps will be bound, with text to the effect of: 

This sample has not yet been installed. To install it, visit the (URL)console(/URL) and select the Plugins page, click the Search for Plugins button, and select the (NAME HERE) sample to install. Then visit this same URL again to view the (NAME HERE) example.

-- 
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] Commented: (GERONIMO-1900) Sample app links on welcome app are broken by default

Posted by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1900?page=comments#action_12413050 ] 

Aaron Mulder commented on GERONIMO-1900:
----------------------------------------

I'm pretty sure this means the plugins need to be rebuilt.

> Sample app links on welcome app are broken by default
> -----------------------------------------------------
>
>          Key: GERONIMO-1900
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1900
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: usability, sample apps
>     Versions: 1.1
>     Reporter: Aaron Mulder
>     Assignee: Aaron Mulder
>     Priority: Blocker
>      Fix For: 1.1
>  Attachments: logo_head_570x86.gif, welcome-10.patch, welcome-2.patch, welcome-3.patch, welcome-4.patch, welcome-6.patch, welcome-7.patch, welcome-8.patch, welcome-9.patch, welcome-images.jar, welcome-images.zip, welcome.patch
>
> It would be nice to take users to a page that would prompt them to install the sample if they click a link to it and it's not present. However, automating this would require us to be able to construct a link into a portlet, which does not seem easy. 
> For now, the welcome app can include pages at the locations where the sample apps will be bound, with text to the effect of: 
> This sample has not yet been installed. To install it, visit the (URL)console(/URL) and select the Plugins page, click the Search for Plugins button, and select the (NAME HERE) sample to install. Then visit this same URL again to view the (NAME HERE) example.

-- 
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] Assigned: (GERONIMO-1900) Sample app links on welcome app are broken by default

Posted by "Prasad Kashyap (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1900?page=all ]

Prasad Kashyap reassigned GERONIMO-1900:
----------------------------------------

    Assign To: Prasad Kashyap

> Sample app links on welcome app are broken by default
> -----------------------------------------------------
>
>          Key: GERONIMO-1900
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1900
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: usability, sample apps
>     Versions: 1.1
>     Reporter: Aaron Mulder
>     Assignee: Prasad Kashyap
>     Priority: Blocker
>      Fix For: 1.1

>
> It would be nice to take users to a page that would prompt them to install the sample if they click a link to it and it's not present. However, automating this would require us to be able to construct a link into a portlet, which does not seem easy. 
> For now, the welcome app can include pages at the locations where the sample apps will be bound, with text to the effect of: 
> This sample has not yet been installed. To install it, visit the (URL)console(/URL) and select the Plugins page, click the Search for Plugins button, and select the (NAME HERE) sample to install. Then visit this same URL again to view the (NAME HERE) example.

-- 
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] Reopened: (GERONIMO-1900) Sample app links on welcome app are broken by default

Posted by "Prasad Kashyap (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1900?page=all ]
     
Prasad Kashyap reopened GERONIMO-1900:
--------------------------------------


I tried the Continuum build from 05/23/06 that i downloaded from http://people.apache.org/repository/geronimo/distributions/

The examples mechanism is broken. It installs but the startup is broken. The apps show up on the list of Web App WARs in the console but you cannot start them. There is a "Lifecycle operation failed" exception.

Another issue is that just about anybody can install the examples now. It does not have to be an authorized Geronimo user. There is no authentication before the example is installed. 

> Sample app links on welcome app are broken by default
> -----------------------------------------------------
>
>          Key: GERONIMO-1900
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1900
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: usability, sample apps
>     Versions: 1.1
>     Reporter: Aaron Mulder
>     Assignee: Aaron Mulder
>     Priority: Blocker
>      Fix For: 1.1
>  Attachments: logo_head_570x86.gif, welcome-10.patch, welcome-2.patch, welcome-3.patch, welcome-4.patch, welcome-6.patch, welcome-7.patch, welcome-8.patch, welcome-9.patch, welcome-images.jar, welcome-images.zip, welcome.patch
>
> It would be nice to take users to a page that would prompt them to install the sample if they click a link to it and it's not present. However, automating this would require us to be able to construct a link into a portlet, which does not seem easy. 
> For now, the welcome app can include pages at the locations where the sample apps will be bound, with text to the effect of: 
> This sample has not yet been installed. To install it, visit the (URL)console(/URL) and select the Plugins page, click the Search for Plugins button, and select the (NAME HERE) sample to install. Then visit this same URL again to view the (NAME HERE) example.

-- 
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-1900) Sample app links on welcome app are broken by default

Posted by "Prasad Kashyap (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1900?page=all ]

Prasad Kashyap updated GERONIMO-1900:
-------------------------------------

    Attachment: welcome-2.patch

welcome-2.patch is now ready to applied and committed.

> Sample app links on welcome app are broken by default
> -----------------------------------------------------
>
>          Key: GERONIMO-1900
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1900
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: usability, sample apps
>     Versions: 1.1
>     Reporter: Aaron Mulder
>     Assignee: Prasad Kashyap
>     Priority: Blocker
>      Fix For: 1.1
>  Attachments: welcome-2.patch, welcome.patch
>
> It would be nice to take users to a page that would prompt them to install the sample if they click a link to it and it's not present. However, automating this would require us to be able to construct a link into a portlet, which does not seem easy. 
> For now, the welcome app can include pages at the locations where the sample apps will be bound, with text to the effect of: 
> This sample has not yet been installed. To install it, visit the (URL)console(/URL) and select the Plugins page, click the Search for Plugins button, and select the (NAME HERE) sample to install. Then visit this same URL again to view the (NAME HERE) example.

-- 
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] Commented: (GERONIMO-1900) Sample app links on welcome app are broken by default

Posted by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1900?page=comments#action_12402233 ] 

Aaron Mulder commented on GERONIMO-1900:
----------------------------------------

OK, looking at patch 9...

I still am not thrilled with this.  In no particular order:
 - it seems too complex for what we're doing: multiple servlets, new images, changes to existing JSPs, new JSPs...
 - The JavaDoc is not up to date
 - There are string constants that do not seem to be up to date
 - Some variables are in camel case, others use underscores
 - The login page has a table with over 30 cells to hold username, password, and submit
 - The servlets aren't just mapped to the URLs where the sample apps will appear, making the whole thing more complex less transparent
 - I don't like servlets with tons of instance variables

Let's back up and think about the best way to proceed here.

> Sample app links on welcome app are broken by default
> -----------------------------------------------------
>
>          Key: GERONIMO-1900
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1900
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: usability, sample apps
>     Versions: 1.1
>     Reporter: Aaron Mulder
>     Assignee: Aaron Mulder
>     Priority: Blocker
>      Fix For: 1.1
>  Attachments: logo_head_570x86.gif, welcome-10.patch, welcome-2.patch, welcome-3.patch, welcome-4.patch, welcome-6.patch, welcome-7.patch, welcome-8.patch, welcome-9.patch, welcome-images.jar, welcome-images.zip, welcome.patch
>
> It would be nice to take users to a page that would prompt them to install the sample if they click a link to it and it's not present. However, automating this would require us to be able to construct a link into a portlet, which does not seem easy. 
> For now, the welcome app can include pages at the locations where the sample apps will be bound, with text to the effect of: 
> This sample has not yet been installed. To install it, visit the (URL)console(/URL) and select the Plugins page, click the Search for Plugins button, and select the (NAME HERE) sample to install. Then visit this same URL again to view the (NAME HERE) example.

-- 
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-1900) Sample app links on welcome app are broken by default

Posted by "Prasad Kashyap (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1900?page=all ]

Prasad Kashyap updated GERONIMO-1900:
-------------------------------------

    Attachment: welcome-7.patch

> Sample app links on welcome app are broken by default
> -----------------------------------------------------
>
>          Key: GERONIMO-1900
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1900
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: usability, sample apps
>     Versions: 1.1
>     Reporter: Aaron Mulder
>     Assignee: Aaron Mulder
>     Priority: Blocker
>      Fix For: 1.1
>  Attachments: logo_head_570x86.gif, welcome-2.patch, welcome-3.patch, welcome-4.patch, welcome-6.patch, welcome-7.patch, welcome-images.jar, welcome.patch
>
> It would be nice to take users to a page that would prompt them to install the sample if they click a link to it and it's not present. However, automating this would require us to be able to construct a link into a portlet, which does not seem easy. 
> For now, the welcome app can include pages at the locations where the sample apps will be bound, with text to the effect of: 
> This sample has not yet been installed. To install it, visit the (URL)console(/URL) and select the Plugins page, click the Search for Plugins button, and select the (NAME HERE) sample to install. Then visit this same URL again to view the (NAME HERE) example.

-- 
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-1900) Sample app links on welcome app are broken by default

Posted by "Prasad Kashyap (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1900?page=all ]

Prasad Kashyap updated GERONIMO-1900:
-------------------------------------

    Attachment: welcome-images.jar
                welcome-6.patch

> Sample app links on welcome app are broken by default
> -----------------------------------------------------
>
>          Key: GERONIMO-1900
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1900
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: usability, sample apps
>     Versions: 1.1
>     Reporter: Aaron Mulder
>     Assignee: Aaron Mulder
>     Priority: Blocker
>      Fix For: 1.1
>  Attachments: logo_head_570x86.gif, welcome-2.patch, welcome-3.patch, welcome-4.patch, welcome-6.patch, welcome-images.jar, welcome.patch
>
> It would be nice to take users to a page that would prompt them to install the sample if they click a link to it and it's not present. However, automating this would require us to be able to construct a link into a portlet, which does not seem easy. 
> For now, the welcome app can include pages at the locations where the sample apps will be bound, with text to the effect of: 
> This sample has not yet been installed. To install it, visit the (URL)console(/URL) and select the Plugins page, click the Search for Plugins button, and select the (NAME HERE) sample to install. Then visit this same URL again to view the (NAME HERE) example.

-- 
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] Resolved: (GERONIMO-1900) Sample app links on welcome app are broken by default

Posted by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1900?page=all ]
     
Aaron Mulder resolved GERONIMO-1900:
------------------------------------

    Resolution: Fixed

Plugins rebuilt and installation of all samples tested.

> Sample app links on welcome app are broken by default
> -----------------------------------------------------
>
>          Key: GERONIMO-1900
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1900
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: usability, sample apps
>     Versions: 1.1
>     Reporter: Aaron Mulder
>     Assignee: Aaron Mulder
>     Priority: Blocker
>      Fix For: 1.1
>  Attachments: logo_head_570x86.gif, welcome-10.patch, welcome-2.patch, welcome-3.patch, welcome-4.patch, welcome-6.patch, welcome-7.patch, welcome-8.patch, welcome-9.patch, welcome-images.jar, welcome-images.zip, welcome.patch
>
> It would be nice to take users to a page that would prompt them to install the sample if they click a link to it and it's not present. However, automating this would require us to be able to construct a link into a portlet, which does not seem easy. 
> For now, the welcome app can include pages at the locations where the sample apps will be bound, with text to the effect of: 
> This sample has not yet been installed. To install it, visit the (URL)console(/URL) and select the Plugins page, click the Search for Plugins button, and select the (NAME HERE) sample to install. Then visit this same URL again to view the (NAME HERE) example.

-- 
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] Commented: (GERONIMO-1900) Sample app links on welcome app are broken by default

Posted by "Dave Colasurdo (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1900?page=comments#action_12377441 ] 

Dave Colasurdo commented on GERONIMO-1900:
------------------------------------------

I still have a general uneasy feeling about this overall approach for the default examples.  

Prasad has done a good job given the current requirements/assumptions/restrictions of this JIRA.  However, I question the assumptions.  

The flow is currently:

1) User hits the welcome page and selects "servlets-examples"
2) The "would you like to install examples" page is presented
3) User selects "yes" and is brought to the admin console logon page
4) After logging on, the plugins page is displayed
5) User selects the plugin server and chooses "search"
6) User is presented with list of plugins (apachds, various examples, ldap-realm)
7) User selects "servlets-examples" for the appropriate web container
8)  Servlets-examples is magically installed along with any dependencies
9) User is presented with panel to "start servlets-examples"
10) User selects "start" and is returned to the plugins menu

The major problems I have with this approach is: 

a) The user that is trying to run a few simple examples is tossed into the middle of the admin console.  
b) First time users should be gently introduced to the console via the front welcome page
c) Users will be exposed to many other plugins (the list is growing) that are useful but not particulary pertinent to the task of installing examples 
c) The user is left stranded in the plugins page of the admin console without any path back to the original thing they wanted to do (i.e. run the samples)..  They either have to retype the original url or hit the back button several times..    

Any chance of either pre-installing the samples (like G1.0) or installing the samples with one click (perhaps cmdline plugin under the covers) and automatically redirecting the user to the samples with minimal user intervention?

Are we trying to showcase the plugin technology user interface or are we trying to provide a mechanism to quickly let the user run the samples?
Perhaps there should be a separate "plugins" link from the welcome page to showcase  the plugin technology. 

Thanks
-Dave-
 

> Sample app links on welcome app are broken by default
> -----------------------------------------------------
>
>          Key: GERONIMO-1900
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1900
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: usability, sample apps
>     Versions: 1.1
>     Reporter: Aaron Mulder
>     Assignee: Aaron Mulder
>     Priority: Blocker
>      Fix For: 1.1
>  Attachments: welcome-2.patch, welcome-3.patch, welcome.patch
>
> It would be nice to take users to a page that would prompt them to install the sample if they click a link to it and it's not present. However, automating this would require us to be able to construct a link into a portlet, which does not seem easy. 
> For now, the welcome app can include pages at the locations where the sample apps will be bound, with text to the effect of: 
> This sample has not yet been installed. To install it, visit the (URL)console(/URL) and select the Plugins page, click the Search for Plugins button, and select the (NAME HERE) sample to install. Then visit this same URL again to view the (NAME HERE) example.

-- 
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] Commented: (GERONIMO-1900) Sample app links on welcome app are broken by default

Posted by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1900?page=comments#action_12377703 ] 

Aaron Mulder commented on GERONIMO-1900:
----------------------------------------

I agree with Dave's analysis.

Also, I don't like the fact that the patch has a hardcoded port in the redirect URL, or that it wasn't made from the Geronimo root directory.

I think we should forget about the console and if the user opts to install the plugin, just load up the plugin installer and do the install right then and there and then redirect the user to the example page.

> Sample app links on welcome app are broken by default
> -----------------------------------------------------
>
>          Key: GERONIMO-1900
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1900
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: usability, sample apps
>     Versions: 1.1
>     Reporter: Aaron Mulder
>     Assignee: Aaron Mulder
>     Priority: Blocker
>      Fix For: 1.1
>  Attachments: logo_head_570x86.gif, welcome-2.patch, welcome-3.patch, welcome-4.patch, welcome.patch
>
> It would be nice to take users to a page that would prompt them to install the sample if they click a link to it and it's not present. However, automating this would require us to be able to construct a link into a portlet, which does not seem easy. 
> For now, the welcome app can include pages at the locations where the sample apps will be bound, with text to the effect of: 
> This sample has not yet been installed. To install it, visit the (URL)console(/URL) and select the Plugins page, click the Search for Plugins button, and select the (NAME HERE) sample to install. Then visit this same URL again to view the (NAME HERE) example.

-- 
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] Resolved: (GERONIMO-1900) Sample app links on welcome app are broken by default

Posted by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1900?page=all ]
     
Aaron Mulder resolved GERONIMO-1900:
------------------------------------

    Resolution: Fixed

Put in a fairly straightforward welcome app installer.

Remaining issues are described in the new linked issue.  Prasad, if you have some time to look at that one, it would be great.

> Sample app links on welcome app are broken by default
> -----------------------------------------------------
>
>          Key: GERONIMO-1900
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1900
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: usability, sample apps
>     Versions: 1.1
>     Reporter: Aaron Mulder
>     Assignee: Aaron Mulder
>     Priority: Blocker
>      Fix For: 1.1
>  Attachments: logo_head_570x86.gif, welcome-10.patch, welcome-2.patch, welcome-3.patch, welcome-4.patch, welcome-6.patch, welcome-7.patch, welcome-8.patch, welcome-9.patch, welcome-images.jar, welcome-images.zip, welcome.patch
>
> It would be nice to take users to a page that would prompt them to install the sample if they click a link to it and it's not present. However, automating this would require us to be able to construct a link into a portlet, which does not seem easy. 
> For now, the welcome app can include pages at the locations where the sample apps will be bound, with text to the effect of: 
> This sample has not yet been installed. To install it, visit the (URL)console(/URL) and select the Plugins page, click the Search for Plugins button, and select the (NAME HERE) sample to install. Then visit this same URL again to view the (NAME HERE) example.

-- 
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-1900) Sample app links on welcome app are broken by default

Posted by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1900?page=all ]

Aaron Mulder updated GERONIMO-1900:
-----------------------------------

    Priority: Blocker  (was: Major)

> Sample app links on welcome app are broken by default
> -----------------------------------------------------
>
>          Key: GERONIMO-1900
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1900
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: usability, sample apps
>     Versions: 1.1
>     Reporter: Aaron Mulder
>     Priority: Blocker
>      Fix For: 1.1

>
> It would be nice to take users to a page that would prompt them to install the sample if they click a link to it and it's not present. However, automating this would require us to be able to construct a link into a portlet, which does not seem easy. 
> For now, the welcome app can include pages at the locations where the sample apps will be bound, with text to the effect of: 
> This sample has not yet been installed. To install it, visit the (URL)console(/URL) and select the Plugins page, click the Search for Plugins button, and select the (NAME HERE) sample to install. Then visit this same URL again to view the (NAME HERE) example.

-- 
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] Assigned: (GERONIMO-1900) Sample app links on welcome app are broken by default

Posted by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1900?page=all ]

Aaron Mulder reassigned GERONIMO-1900:
--------------------------------------

    Assign To: Aaron Mulder  (was: Prasad Kashyap)

> Sample app links on welcome app are broken by default
> -----------------------------------------------------
>
>          Key: GERONIMO-1900
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1900
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: usability, sample apps
>     Versions: 1.1
>     Reporter: Aaron Mulder
>     Assignee: Aaron Mulder
>     Priority: Blocker
>      Fix For: 1.1
>  Attachments: welcome-2.patch, welcome.patch
>
> It would be nice to take users to a page that would prompt them to install the sample if they click a link to it and it's not present. However, automating this would require us to be able to construct a link into a portlet, which does not seem easy. 
> For now, the welcome app can include pages at the locations where the sample apps will be bound, with text to the effect of: 
> This sample has not yet been installed. To install it, visit the (URL)console(/URL) and select the Plugins page, click the Search for Plugins button, and select the (NAME HERE) sample to install. Then visit this same URL again to view the (NAME HERE) example.

-- 
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] Commented: (GERONIMO-1900) Sample app links on welcome app are broken by default

Posted by "Prasad Kashyap (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1900?page=comments#action_12402322 ] 

Prasad Kashyap commented on GERONIMO-1900:
------------------------------------------

The requirements sought in this thread -
http://www.mail-archive.com/dev@geronimo.apache.org/msg22100.html and it's subsequent discussions

necessitated the use of 2 servlets, changes to existing JSPs, adding new JSPs and image.
One servlet that installs the samples is secured and thus every attempt to install an example is authenticated. 
The other servlet serves the sample, redirects to the console to start a stopped sample, or install it if it has been removed. This servlet has no security constraints. Hence we needed 2 servlets.

The new JSPs added were the login.jsp and login_error.jsp. I don't see how we can get rid of this if we want to authenticate the user before (s)he installs the examples.

The only new image added was to have a generic header gif. The gifs in other apps had Console, Server Info etc etched into it.  Those gifs could not be reused.

Comments about Javadoc, variable notation convention, and 1 unused string constant are well taken. I shall clean up the code appropriately.

The instance variables are initialized by the servlet's init() once and used by others per request. I'm amenable to any suggestions.

> Sample app links on welcome app are broken by default
> -----------------------------------------------------
>
>          Key: GERONIMO-1900
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1900
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: usability, sample apps
>     Versions: 1.1
>     Reporter: Aaron Mulder
>     Assignee: Aaron Mulder
>     Priority: Blocker
>      Fix For: 1.1
>  Attachments: logo_head_570x86.gif, welcome-10.patch, welcome-2.patch, welcome-3.patch, welcome-4.patch, welcome-6.patch, welcome-7.patch, welcome-8.patch, welcome-9.patch, welcome-images.jar, welcome-images.zip, welcome.patch
>
> It would be nice to take users to a page that would prompt them to install the sample if they click a link to it and it's not present. However, automating this would require us to be able to construct a link into a portlet, which does not seem easy. 
> For now, the welcome app can include pages at the locations where the sample apps will be bound, with text to the effect of: 
> This sample has not yet been installed. To install it, visit the (URL)console(/URL) and select the Plugins page, click the Search for Plugins button, and select the (NAME HERE) sample to install. Then visit this same URL again to view the (NAME HERE) example.

-- 
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