7 Replies Latest reply on Oct 27, 2008 2:59 PM by hfn

    Active Directory -- Unable to add portlets

    wpullam

      Version: 2.6.2.GA-bundled
      OS Platform: Solaris 8

      I've set up my installation of Portal to use Active Directory for sign in. Everything works great except one portion of the Admin portlet. When I login as an admin user I can access the Admin portlet, add pages, and do everything else except I can't see any portlet content on the Page Layout/Content Definition page.

      I see the Portlet Instances just fine under that tab, but nothing shows up under the "Select content that will be added to the page:" on the page layout under the Porlet Objects.

      If I switch the Active Directory off and just use "admin/admin", everything works fine. Any suggestions?

        • 1. Re: Active Directory -- Unable to add portlets

          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 be the one who has to try to find a solution to this.

          I'll keep you updated on my findings.

          Thanks,
          Tobias

          • 2. Re: Active Directory -- Unable to add portlets

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

            • 3. Re: Active Directory -- Unable to add portlets
              wpullam

              Thanks, I'll give it a try.

              • 4. Re: Active Directory -- Unable to add portlets
                hfn

                I'm using JBoss Portal 2.7CR1, and I'm not using Active Directory...but still having the same problem as you are when loggin in as admin...

                "When I login as an admin user I can access the Admin portlet, add pages, and do everything else except I can't see any portlet content on the Page Layout/Content Definition page.

                I see the Portlet Instances just fine under that tab, but nothing shows up under the "Select content that will be added to the page:" on the page layout under the Porlet Objects."

                Has anyone found a fix for this? Thanks!

                • 5. Re: Active Directory -- Unable to add portlets
                  hfn

                  By the way, I'm having the problem when using the JBoss Portal 2.7CR1 deployed in JBoss eap 4.3.

                  (I don't have the same problem using the bundled version of JBoss Portal 2.7 with JBoss app server 4.2.3. I can see the porlet instances perfectly fine when logged in as admin here under "Select content that will be added to the page")

                  Any assistance would be appreciated. Thanks!

                  • 6. Re: Active Directory -- Unable to add portlets
                    hfn

                    I'd like to add that I'm using the mysql database.

                    • 7. Re: Active Directory -- Unable to add portlets
                      hfn

                      I also have the following error:

                      ERROR [org.apache.catalina.core.ContainerBase] Servlet.service() for servlet jsp threw exception
                      org.apache.jasper.JasperException: Unable to compile class for JSP:

                      An error occurred at line: 178 in the jsp file: /WEB-INF/jsp/content/portlet_editor.jsp
                      Type mismatch: cannot convert from Object to PortletInfoInfo
                      175: private String getIcon(PortletInfo info)
                      176: {
                      177: String iconLocation = PortletContentEditorPortlet.DEFAULT_PORTLET_ICON;
                      178: PortletInfoInfo portletInfo = info.getAttachment(PortletInfoInfo.class);
                      179:
                      180: if (portletInfo != null)
                      181: {


                      Stacktrace:
                      at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
                      at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
                      at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:415)
                      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)

                      Please let me know if anyone has any insight into this problem. This problem only occurs in JBoss-eap-4.3.

                      Thank you very much!