[jboss-user] [JBoss Portal] - portlet accessing different database

2007-09-17 Thread tellarsrinivasprabhu
Hi all, I have a portlet where i need a database connection. I am using MS SQL Server 2005 and i have created data source configuration in portal-sqlserver-ds.xml. I have created jboss-service.xml in META-INF folder of my portlet and in this jboss-service.xml i have created the session

[jboss-user] [JBoss Portal] - Re: portlet accessing different database

2007-09-17 Thread tellarsrinivasprabhu
am update in above Am using 2 different database for storing jbp tables and for tables my portlet is accessing. thanks Srinivas Prabhu View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4084904#4084904 Reply to the post :

[jboss-user] [JBoss Portal] - Re: Problems in doing JAAS login using code

2007-09-17 Thread tellarsrinivasprabhu
custom valve class file and put it in any lib dir. we put it in server\default\lib. then restart the server . Hope this will help, tellarsrinivasprabhu View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4084942#4084942 Reply to the post : http://www.jboss.com

[jboss-user] [JBoss Portal] - Re: portlet accessing different database

2007-09-17 Thread tellarsrinivasprabhu
hi Alternatively i have created a har (hibernate archive) and put the jboss-service.xml and hybernate congif files in this. Found this @ http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHibernate3 According to the above article, we can nest har inside sar. But this things is not happening in my

[jboss-user] [JBoss Portal] - Re: Problems in doing JAAS login using code

2007-09-07 Thread tellarsrinivasprabhu
Hi, The approach we followed to solve this problem is to write our own custom valve for tomcat. We have set the user principals in tomcat container request object. this has solved our problem as of now. View the original post :

[jboss-user] [JBoss Portal] - CachedConnectionValve

2007-09-06 Thread tellarsrinivasprabhu
Hi all, I am using jboss portal 2.6.1. I built if from source code and deployed on jboss Application server 4.0.5. I want to assign contextual roles to user. socreated new table called contextual_roles. where i mapped user role to jbp_uid i. i have created a domain class corresponding to

[jboss-user] [JBoss Portal] - Re: how to enable drag and drop on a new portal

2007-08-31 Thread tellarsrinivasprabhu
Thats right. However DnD (without persistence) for any portal is always good to have as any user (who does not have an account) will be able to arrange the portlets as he likes. Especially when there are many portlets in a page he can arrange the portlets so that ha can view required

[jboss-user] [JBoss Portal] - Re: Portlet shows correct behavior in default/default incorr

2007-08-31 Thread tellarsrinivasprabhu
Hi Is your dashboard theme is different from the default page theme? If the themes are not same may be there is some problem with you dashboard theme. I had similar problem with one particular portlet in dashboard. I got an error when i tried to drag and drop one of my portlet. It shows

[jboss-user] [JBoss Portal] - Re: Declarative Security and Portlets

2007-08-31 Thread tellarsrinivasprabhu
Hi mageshbk, can you restate above 3 points with respect to jboss portal 2.6.1. have things changed ? Especially role-based declarative security for portlets ? thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079924#4079924 Reply to the post :

[jboss-user] [JBoss Portal] - how to enable drag and drop on a new portal

2007-08-30 Thread tellarsrinivasprabhu
| | !-- Control policy config -- | property |namecontrol.portal.access_denied/name |valueignore/value | /property | /properties | /context |/deployment | thanks, tellarsrinivasprabhu View

[jboss-user] [JBoss Portal] - Re: how to enable drag and drop on a new portal

2007-08-30 Thread tellarsrinivasprabhu
cont .. i have restarted my jboss application server after i added above entry to default-object.xml. But i could not find drag and drop enabled. can any one tell what else i can to do to enable drag and drop. thanks View the original post :

[jboss-user] [JBoss Portal] - Re: how to enable drag and drop on a new portal

2007-08-30 Thread tellarsrinivasprabhu
update on this i have updated database table JBP_PORTAL_OBJECT_PROPS manually. here i set theme.dyna.dnd_enabled and theme.dyna.partial_refresh_enabled to true. I am sure there is a better way to do this. Waiting for some suggestions. View the original post :

[jboss-user] [JBoss Portal] - Re: how to enable drag and drop on a new portal

2007-08-30 Thread tellarsrinivasprabhu
Hi with database table update am able to enable drag and drop in my portal. but my problem is that every time i refresh the page the portlets go back to their initial positions. But in dashboard we can change the positions of the portlets and the change is persisted. Is there any way of

[jboss-user] [JBoss Portal] - Re: Resize portlet using

2007-08-28 Thread tellarsrinivasprabhu
Hi all, I too have same question. Is it possible to implement re sizable portlet. Also is it possible to implement a close button along with minimize and maximize buttons. like what you can see in Google ig http://www.google.com/ig thanks, tellarsrinivasprabhu View the original post : http

[jboss-user] [JBoss Portal] - Re: Exception : javax.faces.FacesException:

2007-08-22 Thread tellarsrinivasprabhu
The server log when its started is as follows... 16:43:26,687 ERROR [STDERR] java.lang.IllegalArgumentException: Class org.jboss.portal.core.admin.ui.AdminPropertyResolver is no javax.faces.el.PropertyResolver | 16:43:26,687 ERROR [STDERR] at

[jboss-user] [JBoss Portal] - Exception : javax.faces.FacesException:

2007-08-21 Thread tellarsrinivasprabhu
Hi all, I am using JBoss Portal 2.6.1-GA. I have come across following exception while restarting the jboss application server. I also get this exception when i click on home page of admin. Can any one suggest me how to overcome this exception and get all portal pages working. The stack