You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Hernan Cunico <hc...@gmail.com> on 2007/12/18 23:08:17 UTC

Unable to render portlet SecurityRealmPortlet

Hi folks,
I remember reading about a Security Realm issue but can't find it now, either way I think it was a NPE.

Is there anybody else getting this error? I get this by just clicking on the Security Realms link from the console.


16:49:41,687 ERROR [SecurityRealmPortlet] Unable to render portlet
java.lang.ClassCastException: org.apache.geronimo.security.realm.GenericSecurityRealm
        at org.apache.geronimo.console.securitymanager.realm.SecurityRealmPortlet.renderList(SecurityRealmPortlet.java:565)
        at org.apache.geronimo.console.securitymanager.realm.SecurityRealmPortlet.doView(SecurityRealmPortlet.java:256)
        ...


Cheers!
Hernan

Re: Unable to render portlet SecurityRealmPortlet

Posted by Prasad Kashyap <go...@gmail.com>.
Anita,

This is the svn revision number of the build. This is got from doing a
"svn info" soon after a "svn co" was done.

Cheers
Prasad

On Dec 19, 2007 12:19 PM, Anita Kulshreshtha <a_...@yahoo.com> wrote:
> What is this rev no?
>
>
> Building Geronimo trunk at Revision: 605315
> Building OpenEJB trunk at 605298
>
> java version "1.5.0_12"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
> Java HotSpot(TM) Server VM (build 1.5.0_12-b04, mixed mode)
>
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> Downloading:
> http://download.java.net/maven/1//org.apache.geronimo.genesis.config/poms/project-config-1.2.pom
> Downloading:
> http://repo1.maven.org/maven2/org/apache/geronimo/genesis/config/project-config/1.2/project-config-1.2.pom
> 21K downloaded..........................
> .............................................
>
> Thanks
> Anita
>
>
> --- Prasad Kashyap <go...@gmail.com> wrote:
>
> > I don't think we have a way of knowing what svn revision a final
> > Geronimo binary came from. Is there ?
> >
> > Maybe we should include a revision.txt file in ${geronimo_home} which
> > contains the svn revision number of the build from which the binary
> > was built.
> >
> > Cheers
> > Prasad
> >
> > On Dec 19, 2007 10:03 AM, Anita Kulshreshtha <a_...@yahoo.com>
> > wrote:
> > >
> > > > > > On Dec 19, 2007 7:11 PM, Hernan Cunico < hcunico@gmail.com>
> > > > wrote:
> > > > > >
> > > > > > > This is from Monday's rev #605334
> > >
> > >   The last good build was rev. 605315
> > >
> >
> http://people.apache.org/~prasad/binaries/trunk/20071218/build-1500.log
> > >
> > >    The build is broken since rev. 605384
> > >
> >
> http://people.apache.org/~prasad/binaries/trunk/20071218/build-2100.log
> > >
> > > Thanks
> > > Anita
> > >
> > >
> > >
> >
> ____________________________________________________________________________________
> > > Looking for last minute shopping deals?
> > > Find them fast with Yahoo! Search.
> >
> http://tools.search.yahoo.com/newsearch/category.php?category=shopping
> > >
> >
>
>
>
>       ____________________________________________________________________________________
> Never miss a thing.  Make Yahoo your home page.
> http://www.yahoo.com/r/hs
>

Re: Unable to render portlet SecurityRealmPortlet

Posted by Hernan Cunico <hc...@gmail.com>.
yah, it would be great to have such info!!! specially for prob det like now ;-)

Any chance for maven to pick up the same info that comes out from "svn info", or at least URL, revision and last change date.

Cheers!
Hernan

Prasad Kashyap wrote:
> I don't think we have a way of knowing what svn revision a final
> Geronimo binary came from. Is there ?
> 
> Maybe we should include a revision.txt file in ${geronimo_home} which
> contains the svn revision number of the build from which the binary
> was built.
> 
> Cheers
> Prasad
> 
> On Dec 19, 2007 10:03 AM, Anita Kulshreshtha <a_...@yahoo.com> wrote:
>>>>> On Dec 19, 2007 7:11 PM, Hernan Cunico < hcunico@gmail.com>
>>> wrote:
>>>>>> This is from Monday's rev #605334
>>   The last good build was rev. 605315
>> http://people.apache.org/~prasad/binaries/trunk/20071218/build-1500.log
>>
>>    The build is broken since rev. 605384
>> http://people.apache.org/~prasad/binaries/trunk/20071218/build-2100.log
>>
>> Thanks
>> Anita
>>
>>
>>       ____________________________________________________________________________________
>> Looking for last minute shopping deals?
>> Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping
>>
> 

Re: Unable to render portlet SecurityRealmPortlet

Posted by Prasad Kashyap <go...@gmail.com>.
I know but this is not for the binaries that we build daily. I was
thinking of this as a good general practice for all binaries we build
anywhere. And even for the binaries we build daily, it isn't a simple
task to retrieve the revision number a few days after the binary has
been installed. When I go back to a few of the geronimo installations
I have on my machine now, I can't tell easily which svn revision they
were built from.

Cheers
Prasad

On Dec 19, 2007 12:36 PM, Jarek Gawor <jg...@gmail.com> wrote:
> You can figure this out from the timestamps of the binary and the log
> files. The log files and the binary files are uploaded at the same
> time so their timestamp will be close. The log file also contains the
> svn revision of Geronimo. So look at the timestamp of  the binary,
> find corresponding log file, and then lookup the svn revision number
> in the log file.
> The right svn revision numbers are also included in the email
> notifications, so that's another way to figure this out.
>
> Jarek
>
>
> On Dec 19, 2007 11:29 AM, Prasad Kashyap <go...@gmail.com> wrote:
> > I don't think we have a way of knowing what svn revision a final
> > Geronimo binary came from. Is there ?
> >
> > Maybe we should include a revision.txt file in ${geronimo_home} which
> > contains the svn revision number of the build from which the binary
> > was built.
> >
> > Cheers
> > Prasad
> >
> >
> > On Dec 19, 2007 10:03 AM, Anita Kulshreshtha <a_...@yahoo.com> wrote:
> > >
> > > > > > On Dec 19, 2007 7:11 PM, Hernan Cunico < hcunico@gmail.com>
> > > > wrote:
> > > > > >
> > > > > > > This is from Monday's rev #605334
> > >
> > >   The last good build was rev. 605315
> > > http://people.apache.org/~prasad/binaries/trunk/20071218/build-1500.log
> > >
> > >    The build is broken since rev. 605384
> > > http://people.apache.org/~prasad/binaries/trunk/20071218/build-2100.log
> > >
> > > Thanks
> > > Anita
> > >
> > >
> > >       ____________________________________________________________________________________
> > > Looking for last minute shopping deals?
> > > Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping
> > >
> >
>

Re: Unable to render portlet SecurityRealmPortlet

Posted by Jarek Gawor <jg...@gmail.com>.
You can figure this out from the timestamps of the binary and the log
files. The log files and the binary files are uploaded at the same
time so their timestamp will be close. The log file also contains the
svn revision of Geronimo. So look at the timestamp of  the binary,
find corresponding log file, and then lookup the svn revision number
in the log file.
The right svn revision numbers are also included in the email
notifications, so that's another way to figure this out.

Jarek

On Dec 19, 2007 11:29 AM, Prasad Kashyap <go...@gmail.com> wrote:
> I don't think we have a way of knowing what svn revision a final
> Geronimo binary came from. Is there ?
>
> Maybe we should include a revision.txt file in ${geronimo_home} which
> contains the svn revision number of the build from which the binary
> was built.
>
> Cheers
> Prasad
>
>
> On Dec 19, 2007 10:03 AM, Anita Kulshreshtha <a_...@yahoo.com> wrote:
> >
> > > > > On Dec 19, 2007 7:11 PM, Hernan Cunico < hcunico@gmail.com>
> > > wrote:
> > > > >
> > > > > > This is from Monday's rev #605334
> >
> >   The last good build was rev. 605315
> > http://people.apache.org/~prasad/binaries/trunk/20071218/build-1500.log
> >
> >    The build is broken since rev. 605384
> > http://people.apache.org/~prasad/binaries/trunk/20071218/build-2100.log
> >
> > Thanks
> > Anita
> >
> >
> >       ____________________________________________________________________________________
> > Looking for last minute shopping deals?
> > Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping
> >
>

Re: Unable to render portlet SecurityRealmPortlet

Posted by Anita Kulshreshtha <a_...@yahoo.com>.
What is this rev no?


Building Geronimo trunk at Revision: 605315
Building OpenEJB trunk at 605298
 
java version "1.5.0_12"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
Java HotSpot(TM) Server VM (build 1.5.0_12-b04, mixed mode)
 
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
Downloading:
http://download.java.net/maven/1//org.apache.geronimo.genesis.config/poms/project-config-1.2.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/geronimo/genesis/config/project-config/1.2/project-config-1.2.pom
21K downloaded..........................
.............................................

Thanks
Anita

--- Prasad Kashyap <go...@gmail.com> wrote:

> I don't think we have a way of knowing what svn revision a final
> Geronimo binary came from. Is there ?
> 
> Maybe we should include a revision.txt file in ${geronimo_home} which
> contains the svn revision number of the build from which the binary
> was built.
> 
> Cheers
> Prasad
> 
> On Dec 19, 2007 10:03 AM, Anita Kulshreshtha <a_...@yahoo.com>
> wrote:
> >
> > > > > On Dec 19, 2007 7:11 PM, Hernan Cunico < hcunico@gmail.com>
> > > wrote:
> > > > >
> > > > > > This is from Monday's rev #605334
> >
> >   The last good build was rev. 605315
> >
>
http://people.apache.org/~prasad/binaries/trunk/20071218/build-1500.log
> >
> >    The build is broken since rev. 605384
> >
>
http://people.apache.org/~prasad/binaries/trunk/20071218/build-2100.log
> >
> > Thanks
> > Anita
> >
> >
> >      
>
____________________________________________________________________________________
> > Looking for last minute shopping deals?
> > Find them fast with Yahoo! Search. 
>
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
> >
> 



      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

Re: Unable to render portlet SecurityRealmPortlet

Posted by Prasad Kashyap <go...@gmail.com>.
I don't think we have a way of knowing what svn revision a final
Geronimo binary came from. Is there ?

Maybe we should include a revision.txt file in ${geronimo_home} which
contains the svn revision number of the build from which the binary
was built.

Cheers
Prasad

On Dec 19, 2007 10:03 AM, Anita Kulshreshtha <a_...@yahoo.com> wrote:
>
> > > > On Dec 19, 2007 7:11 PM, Hernan Cunico < hcunico@gmail.com>
> > wrote:
> > > >
> > > > > This is from Monday's rev #605334
>
>   The last good build was rev. 605315
> http://people.apache.org/~prasad/binaries/trunk/20071218/build-1500.log
>
>    The build is broken since rev. 605384
> http://people.apache.org/~prasad/binaries/trunk/20071218/build-2100.log
>
> Thanks
> Anita
>
>
>       ____________________________________________________________________________________
> Looking for last minute shopping deals?
> Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping
>

Re: Unable to render portlet SecurityRealmPortlet

Posted by Anita Kulshreshtha <a_...@yahoo.com>.
> > > On Dec 19, 2007 7:11 PM, Hernan Cunico < hcunico@gmail.com>
> wrote:
> > >
> > > > This is from Monday's rev #605334

  The last good build was rev. 605315
http://people.apache.org/~prasad/binaries/trunk/20071218/build-1500.log

   The build is broken since rev. 605384
http://people.apache.org/~prasad/binaries/trunk/20071218/build-2100.log

Thanks
Anita


      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping

Re: Unable to render portlet SecurityRealmPortlet

Posted by Shiva Kumar H R <sh...@gmail.com>.
Mine is currently at rev #599764.

On Dec 19, 2007 7:23 PM, Vamsavardhana Reddy <c1...@gmail.com> wrote:

> Before you do an svn up this time, you can check your current revision
> number you have so that we can examine which rev could have caused the
> problem.
>
> ++Vamsi
>
>
> On Dec 19, 2007 7:20 PM, Shiva Kumar H R < shivahr@gmail.com> wrote:
>
> > I haven't svn updated for quite a few weeks now. So don't know if there
> > is some regression in the latest build.
> >
> >
> > On Dec 19, 2007 7:11 PM, Hernan Cunico < hcunico@gmail.com> wrote:
> >
> > > This is from Monday's rev #605334
> > >
> > > Cheers!
> > > Hernan
> > >
> > > Shiva Kumar H R wrote:
> > > > In which version of G are you facing this? I am able to use it
> > > > successfully in trunk-build.
> > > >
> > > > On Dec 19, 2007 3:38 AM, Hernan Cunico < hcunico@gmail.com
> > > > <ma...@gmail.com> > wrote:
> > > >
> > > >     Hi folks,
> > > >     I remember reading about a Security Realm issue but can't find
> > > it
> > > >     now, either way I think it was a NPE.
> > > >
> > > >     Is there anybody else getting this error? I get this by just
> > > >     clicking on the Security Realms link from the console.
> > > >
> > > >
> > > >     16:49:41,687 ERROR [SecurityRealmPortlet] Unable to render
> > > portlet
> > > >     java.lang.ClassCastException :
> > > >     org.apache.geronimo.security.realm.GenericSecurityRealm
> > > >            at
> > > >
> > > org.apache.geronimo.console.securitymanager.realm.SecurityRealmPortlet.renderList
> > > (SecurityRealmPortlet.java:565)
> > > >            at
> > > >
> > > org.apache.geronimo.console.securitymanager.realm.SecurityRealmPortlet.doView
> > > >     (SecurityRealmPortlet.java:256)
> > > >            ...
> > > >
> > > >
> > > >     Cheers!
> > > >     Hernan
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Thanks,
> > > > Shiva
> > >
> >
> >
> >
> > --
> > Thanks,
> > Shiva
>
>
>


-- 
Thanks,
Shiva

Re: Unable to render portlet SecurityRealmPortlet

Posted by Vamsavardhana Reddy <c1...@gmail.com>.
Before you do an svn up this time, you can check your current revision
number you have so that we can examine which rev could have caused the
problem.

++Vamsi

On Dec 19, 2007 7:20 PM, Shiva Kumar H R <sh...@gmail.com> wrote:

> I haven't svn updated for quite a few weeks now. So don't know if there is
> some regression in the latest build.
>
>
> On Dec 19, 2007 7:11 PM, Hernan Cunico < hcunico@gmail.com> wrote:
>
> > This is from Monday's rev #605334
> >
> > Cheers!
> > Hernan
> >
> > Shiva Kumar H R wrote:
> > > In which version of G are you facing this? I am able to use it
> > > successfully in trunk-build.
> > >
> > > On Dec 19, 2007 3:38 AM, Hernan Cunico < hcunico@gmail.com
> > > <ma...@gmail.com> > wrote:
> > >
> > >     Hi folks,
> > >     I remember reading about a Security Realm issue but can't find it
> > >     now, either way I think it was a NPE.
> > >
> > >     Is there anybody else getting this error? I get this by just
> > >     clicking on the Security Realms link from the console.
> > >
> > >
> > >     16:49:41,687 ERROR [SecurityRealmPortlet] Unable to render portlet
> > >     java.lang.ClassCastException :
> > >     org.apache.geronimo.security.realm.GenericSecurityRealm
> > >            at
> > >
> > org.apache.geronimo.console.securitymanager.realm.SecurityRealmPortlet.renderList
> > (SecurityRealmPortlet.java:565)
> > >            at
> > >
> > org.apache.geronimo.console.securitymanager.realm.SecurityRealmPortlet.doView
> > >     (SecurityRealmPortlet.java:256)
> > >            ...
> > >
> > >
> > >     Cheers!
> > >     Hernan
> > >
> > >
> > >
> > >
> > > --
> > > Thanks,
> > > Shiva
> >
>
>
>
> --
> Thanks,
> Shiva

Re: Unable to render portlet SecurityRealmPortlet

Posted by Shiva Kumar H R <sh...@gmail.com>.
I haven't svn updated for quite a few weeks now. So don't know if there is
some regression in the latest build.

On Dec 19, 2007 7:11 PM, Hernan Cunico <hc...@gmail.com> wrote:

> This is from Monday's rev #605334
>
> Cheers!
> Hernan
>
> Shiva Kumar H R wrote:
> > In which version of G are you facing this? I am able to use it
> > successfully in trunk-build.
> >
> > On Dec 19, 2007 3:38 AM, Hernan Cunico <hcunico@gmail.com
> > <ma...@gmail.com> > wrote:
> >
> >     Hi folks,
> >     I remember reading about a Security Realm issue but can't find it
> >     now, either way I think it was a NPE.
> >
> >     Is there anybody else getting this error? I get this by just
> >     clicking on the Security Realms link from the console.
> >
> >
> >     16:49:41,687 ERROR [SecurityRealmPortlet] Unable to render portlet
> >     java.lang.ClassCastException :
> >     org.apache.geronimo.security.realm.GenericSecurityRealm
> >            at
> >
> org.apache.geronimo.console.securitymanager.realm.SecurityRealmPortlet.renderList
> (SecurityRealmPortlet.java:565)
> >            at
> >
> org.apache.geronimo.console.securitymanager.realm.SecurityRealmPortlet.doView
> >     (SecurityRealmPortlet.java:256)
> >            ...
> >
> >
> >     Cheers!
> >     Hernan
> >
> >
> >
> >
> > --
> > Thanks,
> > Shiva
>



-- 
Thanks,
Shiva

Re: Unable to render portlet SecurityRealmPortlet

Posted by Hernan Cunico <hc...@gmail.com>.
This is from Monday's rev #605334

Cheers!
Hernan

Shiva Kumar H R wrote:
> In which version of G are you facing this? I am able to use it 
> successfully in trunk-build.
> 
> On Dec 19, 2007 3:38 AM, Hernan Cunico <hcunico@gmail.com 
> <ma...@gmail.com> > wrote:
> 
>     Hi folks,
>     I remember reading about a Security Realm issue but can't find it
>     now, either way I think it was a NPE.
> 
>     Is there anybody else getting this error? I get this by just
>     clicking on the Security Realms link from the console.
> 
> 
>     16:49:41,687 ERROR [SecurityRealmPortlet] Unable to render portlet
>     java.lang.ClassCastException :
>     org.apache.geronimo.security.realm.GenericSecurityRealm
>            at
>     org.apache.geronimo.console.securitymanager.realm.SecurityRealmPortlet.renderList(SecurityRealmPortlet.java:565)
>            at
>     org.apache.geronimo.console.securitymanager.realm.SecurityRealmPortlet.doView
>     (SecurityRealmPortlet.java:256)
>            ...
> 
> 
>     Cheers!
>     Hernan
> 
> 
> 
> 
> -- 
> Thanks,
> Shiva

Re: Unable to render portlet SecurityRealmPortlet

Posted by Shiva Kumar H R <sh...@gmail.com>.
In which version of G are you facing this? I am able to use it successfully
in trunk-build.

On Dec 19, 2007 3:38 AM, Hernan Cunico <hc...@gmail.com> wrote:

> Hi folks,
> I remember reading about a Security Realm issue but can't find it now,
> either way I think it was a NPE.
>
> Is there anybody else getting this error? I get this by just clicking on
> the Security Realms link from the console.
>
>
> 16:49:41,687 ERROR [SecurityRealmPortlet] Unable to render portlet
> java.lang.ClassCastException:
> org.apache.geronimo.security.realm.GenericSecurityRealm
>        at
> org.apache.geronimo.console.securitymanager.realm.SecurityRealmPortlet.renderList
> (SecurityRealmPortlet.java:565)
>        at
> org.apache.geronimo.console.securitymanager.realm.SecurityRealmPortlet.doView
> (SecurityRealmPortlet.java:256)
>        ...
>
>
> Cheers!
> Hernan
>



-- 
Thanks,
Shiva