[jboss-user] [JBoss Portal] - Dashboard configurator disrespects theme setting

2007-12-17 Thread roth
Hi I renamed and adapted the renaissance theme slightly to match our CI, then I removed all other themes (including renaissance) from portal-themes.xml, leaving only my new company theme in there. I then changed the default theme to my company theme in default-object.xml. This works nicely exce

[jboss-user] [JBoss Portal] - Re: Using CMS with alternate Admin user still broken in 2.6.

2007-12-17 Thread roth
swisst, I'll have to update the wiki entry to reflect your findings. I'm not sure why this didn't show up for me until now, I guess it has to do that I never tested with an "admin but not member of special admin group" user. Anyway, I think the wiki entry needs to be reorganised, it's getting t

[jboss-user] [JBoss Portal] - Why loglevel ERROR for CMS resource access denied?

2007-12-17 Thread roth
Hi One thing I was wondering for quite some time is why that "org.jboss.portal.cms.CMSException: Access to this resource is denied" actually is an exception. Isn't "access denied" to some cms resource a quite common event, that shows up during normal portal use? In my opinion, exceptions are o

[jboss-user] [JBoss Portal] - Re: Locked out from viewing CMS admin portlet

2007-12-16 Thread roth
I already found and fixed the issue by changing portlet-instances.xml in portlet-cms.war. I have played around heavily with permissions, and I must somehow have turned things upside down. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113290#4113290 Reply to

[jboss-user] [JBoss Portal] - Locked out from viewing CMS admin portlet

2007-12-16 Thread roth
Hi I somehow managed to lock myself out from viewing the CMSPortletAdminInstance. It doesn't show up under "Portlet Instances" in the admin portal, and the CMS admin page is empty, yet the portlet seems to still exist. When I create a new instance with the same name, I see an error stating that

[jboss-user] [JBoss Portal] - Re: Active Directory -- Unable to add portlets

2007-11-28 Thread roth
Hi The resolution to this can be seen here: http://jira.jboss.com/jira/browse/JBPORTAL-1814 I'll update the wiki page later today and add this piece of information. Also, if you use something later than 2.6.2, more things have been changed. I'll add that to the wiki page as well. Thanks, Tobi

[jboss-user] [JBoss Portal] - Re: LDAP / JNDI Class Cast Exception

2007-11-28 Thread roth
Hi swisst This concerns only the admin portlet. It was a "misconfiguration" on my part, see this bug report for more details: http://jira.jboss.com/jira/browse/JBPORTAL-1814 I'll update the wiki page shortly to reflect this. Thanks, Tobias View the original post : http://www.jboss.com/index.

[jboss-user] [JBoss Portal] - Re: Need help with debugging

2007-11-25 Thread roth
I created JBPORTAL-1814, it's unassigned so far. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107650#4107650 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107650 ___ jboss-

[jboss-user] [JBoss Portal] - Re: Need help with debugging

2007-11-23 Thread roth
Hey Boleslaw, While I was trying to come up with the shortest possible list of steps to reproduce this, I found out that this has nothing at all to do with ldap. Here is what to do to see the effect: 1) build JBoss_Portal_Branch_2_6, deploy the portal, identity and admin 2) log in as admin 3) c

[jboss-user] [JBoss Portal] - Re: LDAP / JNDI Class Cast Exception

2007-11-23 Thread roth
Hi I allow myself to hijack this thread, since a solution to the original issue has been found. Swisst, did you manage to get ldap/ad running with an admin group coming from your ldap (as opposed to the standard admin 'admin', role 'admin')? I had to find out that what I proposed here (http:/

[jboss-user] [JBoss Portal] - Need help with debugging

2007-11-21 Thread roth
Hi I am trying to debug a problem that shows up when using ldap with an admin role that is not called 'admin' but something else originating from my ldap (I basically did what is described here: http://wiki.jboss.org/wiki/Wiki.jsp?page=GiveAdminPrivileges. Everything except the listing of avai

[jboss-user] [JBoss Portal] - Re: Active Directory -- Unable to add portlets

2007-11-14 Thread roth
Hi I see the same thing, but couldn't yet analyse the problem more deeply. I found out that the Wizard works for adding instances to pages, however this is nothing more than a cheap workaround. As I was the one who wrote both the AD wiki entry and the one about admin privileges, I guess I'll b

[jboss-user] [Clustering/JBoss] - IIS+mod_jk, authentication does not work

2007-11-02 Thread roth
Hi I set up IIS with mod_jk and JBoss 4.2.2.GA. This works nicely until I try to access a password-protected site. I have tried with jmx-console, which I set up to use BASIC auth, and with XWiki, which uses FORM auth. Whenever I access the site, I get a BASIC-style login popup that accepts no

[jboss-user] [JBoss Portal] - Portlet Instances gone on Page Layout Admin page

2007-10-26 Thread roth
Hi If you look at "Figure 33" of the reference manual (http://docs.jboss.com/jbportal/v2.6.2/quickstartuser/html/interaction.html#d0e506 ), you see a list of available portlet instances that can be added to a page layout. This list does not show for me. The cause is that I use LDAP and have n

[jboss-user] [JBoss Portal] - Re: Portal and using openxchange ldap for users

2007-10-19 Thread roth
Check out http://wiki.jboss.org/wiki/Wiki.jsp?page=GiveAdminPrivileges View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096857#4096857 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096857

[jboss-user] [JBoss Portal] - Re: Difference between windows and sub-pages

2007-10-17 Thread roth
Can someone clarify this? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096024#4096024 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096024 ___ jboss-user mailing li

[jboss-user] [JBoss Portal] - Difference between windows and sub-pages

2007-10-10 Thread roth
Hi I am trying to understand what windows and sub-pages are for, and how to show different cms content based on the roles of the logged-in users. Here is what I have so far, please tell me if this is correct: - In 2.6, windows are parts of a page. They can show portlets, google widgets or CMS

[jboss-user] [JBoss Portal] - No portlets listed when changing page layout

2007-10-09 Thread roth
Hi If you look at "Figure 33" of the reference manual (http://docs.jboss.com/jbportal/v2.6.2/quickstartuser/html/interaction.html#d0e506), you see a list of available portlet instances that can be added to a page layout. With 2.6.2, this list doesn't show for me anymore. If I switch the conten

[jboss-user] [JBoss Portal] - Re: No capability (e.g. no option to create portal, manage u

2007-10-09 Thread roth
Hi Might be a stupid question, but do you have the admin, management, identity and cms portals deployed? I.e. are there portal-admin.sar and the like in your JBoss deploy/ directory? Cheers, Tobias View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093264#4093

[jboss-user] [JBoss Portal] - Re: Running Jboss Portal 2.6.1 Bundle as a Windows Service

2007-10-03 Thread roth
This question is not specific to JBoss portal, but to JBoss AS. That said, I use the Java Service Wrapper successfully: http://wrapper.tanukisoftware.org/doc/english/jmx.html#jboss View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4091104#4091104 Reply to the po

[jboss-user] [JBoss Portal] - Re: Does CMS default to store data in database?

2007-10-03 Thread roth
Uhm, it's right here in the documentation: 20.4.3. Configuring the Content Store Location Sorry about that. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4091027#4091027 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4

[jboss-user] [JBoss Portal] - Does CMS default to store data in database?

2007-10-03 Thread roth
Hi http://wiki.jboss.org/wiki/Wiki.jsp?page=PortalCMSConfigFiles claims that the cms, per default, stores all data on the file system. Is this still true? If I look at portal-cms.sar/META-INF/jboss-service.xml I get the impression that everything is stored in the database, not on the filesystem

[jboss-user] [JBoss Portal] - Re: JBoss Portal : Integrating Plain Old Web Application

2007-09-06 Thread roth
Hi Please keep us updated on how that works out for your seam application. Thanks, Tobias View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081673#4081673 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081673 ___

[jboss-user] [JBoss Portal] - Re: Portal 2.6 LDAP Authentication

2007-08-24 Thread roth
Random passwords are good enough for me, thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077747#4077747 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077747 ___ jboss-

[jboss-user] [JBoss Portal] - Re: Portal 2.6 LDAP Authentication

2007-08-24 Thread roth
Upon login, it still copies the usernames and their passwords (in encrypted form) to the jbp_users table if you follow the tutorial. Dito when you use LDAPExtUserModule, as in my example for active directory in the wiki. View the original post : http://www.jboss.com/index.html?module=bb&op=vie

[jboss-user] [JBoss Portal] - Re: Map LDAP Group to Portal Role

2007-08-22 Thread roth
Hi. I just updated that wiki page, you might want to read it again. The change to default-object.xml only makes the admin link in the top right corner appear. The other stuff gives access to the various management portlets. Make sure you delete the portal hypersonic database after you made the c

[jboss-user] [JBoss Portal] - Re: LDAP Authentication

2007-08-22 Thread roth
Done: http://jira.jboss.com/jira/browse/JBPORTAL-1646 It has been auto-assigned to Sohil. Thanks, Tobias View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076868#4076868 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076

[jboss-user] [JBoss Portal] - Re: LDAP Authentication

2007-08-22 Thread roth
I found the culprit. There is the string 'admin' hardcoded in cms/src/main/org/jboss/portal/cms/impl/jcr/JCRCMS.java. Once I change this to an existing user, all my errors go away. Can we unhardcode this please? |/** Loads content from sar and adds it to the repo. */ |public void c

[jboss-user] [JBoss Portal] - Re: LDAP Authentication

2007-08-22 Thread roth
Boleslaw: I updated http://wiki.jboss.org/wiki/Wiki.jsp?page=GiveAdminPrivileges with the exact steps I took to map admin access tro ne of my ldap rules. It mostly works, but I still get errors and I'm reading some more docs right now. I'll keep you updated. View the original post : http://

[jboss-user] [JBoss Portal] - Re: LDAP Authentication

2007-08-22 Thread roth
Well, we have the same problem then. There are at least two options, but I didn't get any of them working completely yet. 1) map Admin role to a role from ldap 2) fall back to the db or plain files to get the admin user and role when it isn't found in ldap For 1), I mapped access to the admin p

[jboss-user] [JBoss Portal] - Re: LDAP Authentication

2007-08-22 Thread roth
Btw, thanks Boleslaw for fixing the comma-escaping, this works nicely now! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076654#4076654 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076654

[jboss-user] [JBoss Portal] - Re: LDAP Authentication

2007-08-22 Thread roth
"bdaw" wrote : When you switch identity store to LDAP you need to provide default admin user/role - admin/Admin - for administration. This is needed by CMS. Is this a hardcoded dependency? I switched to ldap and so far managed to map admin access to one of my ldap roles for 'User Portlet', 'Rol

[jboss-user] [JBoss Portal] - Re: Giving Admin Priviledges to another Role

2007-08-09 Thread roth
No problem, I'm glad it worked for you. Thanks, Tobias View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072833#4072833 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072833 ___

[jboss-user] [JBoss Portal] - Re: Giving Admin Priviledges to another Role

2007-08-09 Thread roth
I walked through the wiki article again step by step, and it worked for me, using jboss-4.2.1-GA and JBoss_Portal_2_6_1. Are you sure you didn't miss anything? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072359#4072359 Reply to the post : http://www.jbos

[jboss-user] [JBoss Portal] - Re: Giving Admin Priviledges to another Role

2007-08-08 Thread roth
Dunno, maybe I forgot some step to install ldap-specific libraries in the wiki article. I'll check. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072322#4072322 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072322 __

[jboss-user] [JBoss Portal] - Re: LDAPExtUserModuleImpl and userSearchFilter

2007-08-03 Thread roth
For the record: http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigurePortalForMicrosoftActiveDirectory View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070617#4070617 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070617 __

[jboss-user] [JBoss Portal] - Re: Understanding permissions

2007-08-03 Thread roth
For the record: http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigurePortalForMicrosoftActiveDirectory View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070614#4070614 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070614 ___

[jboss-user] [JBoss Portal] - Re: Giving Admin Priviledges to another Role

2007-08-03 Thread roth
Here you go: http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigurePortalForMicrosoftActiveDirectory View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070613#4070613 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070613 _

[jboss-user] [JBoss Portal] - Re: LDAPExtUserModuleImpl and userSearchFilter

2007-07-31 Thread roth
Hi, sorry for coming back to this so late, I got distracted by some other work. Maybe I am misunderstanding something, but I still think there is a bug around. The filter you posted works and all, but in a real-world scenario, that's not what one would use for a filter. The filter is constructed

[jboss-user] [JBoss Portal] - Re: Giving Admin Priviledges to another Role

2007-07-30 Thread roth
Right... I was a bit distracted by other work. Anyway, you'll have the article until Friday night. I'll post a link here once I'm done. Cheers View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068992#4068992 Reply to the post : http://www.jboss.com/index.html

[jboss-user] [JBoss Portal] - Re: Giving Admin Priviledges to another Role

2007-07-23 Thread roth
Thanks! That was exacty the piece of information I was missing. I'll write a wiki article in the next few days about this as well as my efforts concerning portal integration in MS Active Directory. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066899#4066899

[jboss-user] [JBoss Portal] - Re: Giving Admin Priviledges to another Role

2007-07-23 Thread roth
Hi Thomas "[EMAIL PROTECTED]" wrote : If you want them to be admin why don't you add them the admin role ? | Because I later want to integrate the portal with my existing ldap. Instead of adding a new role for every system I attach to my ldap ('admin' for the portal, 'root' for system x, 'a

[jboss-user] [JBoss Portal] - Re: Errors with Jboss Portal and Postgres

2007-07-23 Thread roth
I am using postgresql-8.2-504.jdbc2.jar and everything works just fine. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066644#4066644 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4066644 ___

[jboss-user] [JBoss Portal] - Giving Admin Priviledges to another Role

2007-07-23 Thread roth
Hi I am trying something supposedly simple. I want to give Admin priviledges to the 'User' role, in preparation for a later switch to ldap. I am using JBoss 4.2.1 on Windows XP with the portal svn trunk. What I did so far: For the admin portal in In jboss-portal.sar\conf\data\default-object.xm

[jboss-user] [JBoss Portal] - Understanding permissions

2007-07-19 Thread roth
Hi In my (almost finished) quest to attach the portal to our active directory, I have come across a minor problem. What I like to do is give the role 'sysadmins' which is coming from my ldap the same priviledges as the standard 'admin' role has, that is, get access to the admin portal and seve

[jboss-user] [JBoss Portal] - Re: LDAPExtUserModuleImpl and userSearchFilter

2007-07-17 Thread roth
I created JBPORTAL-1592, but I couldn't assign it to you. Thanks, Tobias View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064960#4064960 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064960 _

[jboss-user] [JBoss Portal] - Re: LDAPExtUserModuleImpl and userSearchFilter

2007-07-17 Thread roth
I forgot: The examples I was quoting are with LDAPRoleModuleImpl, but I see the same behaviour with LDAPExtRoleModuleImpl, which I am using for my AD. The examples I posted where set up after the first ldap example blog post here: http://jbossportal.blogspot.com/search/label/portal View the ori

[jboss-user] [JBoss Portal] - Re: LDAPExtUserModuleImpl and userSearchFilter

2007-07-17 Thread roth
anonymous wrote : So to be clear - when you use double backslash coma in ldapsearch you get correct result but this still doesn't work in portal config? Yes, exactly. In the portal, LDAPExtRoleModule doesn't find any Role memberships for users with a comma in their username. If the user has no c

[jboss-user] [JBoss Portal] - Re: LDAPExtUserModuleImpl and userSearchFilter

2007-07-17 Thread roth
Update: With the help of OpenLdap's command line search tool 'ldapsearch', which gave me more verbose error messages than the Windows Gui Tools I was using before, I was able to find the cause for my problem: A filter with a single backslash for escaping the comma is not recognised as a correct

[jboss-user] [JBoss Portal] - Re: LDAPExtUserModuleImpl and userSearchFilter

2007-07-16 Thread roth
I'm still on this. Both authentication and authorisation work fine now, with one small exception. Searching with a filter of "member=cn=LastName\, FirstName, ou=People, ..." does not work if there is a comma between LastName and FirstName. It works for filters without such a comma. I tried esc

[jboss-user] [JBoss Portal] - Re: LDAPExtUserModuleImpl and userSearchFilter

2007-07-12 Thread roth
D'oh! Of course this works. I got my line from http://jbossportal.blogspot.com/ where there is no CDATA escaping, and of course I stopped my brain when I copied it from there. Maybe someone add that to that blog entry. I'll keep you updated on my progress, so far everything looks good. View th

[jboss-user] [JBoss Portal] - LDAPExtUserModuleImpl and userSearchFilter

2007-07-12 Thread roth
Hi I setting up a portal with LDAPExtUserModuleImpl with Microsoft Active Directory. So far, everything is going along nicely. I am already able to authenticate against my AD, and I am now working on authorisation and integrating roles. I'll post my config files once everything is working. Now

[jboss-user] How to avoid useless SQL-Statement when setting CMR-Field in ejbPostCreate

2006-08-16 Thread Sebastian Roth
Hi guys, I hope someone can help me with that.   I use JBOSS 4.0.4GA.I have two Entities which have an 1:N RelationShip.   In my ejbPostCreate I set the CMR fields.   public void ejbPostCreate(Integer rank, LocalAdMaterial adMaterial, LocalAdLoc adLoc, LocalAdActionType adActionType