Error with Authentication and Content Presenter Portlet

I was just testing an application i'm developping when I realize that something was wrong with almost all the content presenter portlets in my portal... after authenticate into my portal i get this at log files
<9/03/2009 10:04:08 AM GMT-06:00> <Error> <netuix> <BEA-423166> <An exception or error occurred in the backing file [com.bea.content.ui.framework.ContentUIPortletBacking] while executing its handlePostbackData method. It was java.lang.IllegalStateException: Unable to retrieve the current portlet instance information.
java.lang.IllegalStateException: Unable to retrieve the current portlet instance information.
     at com.bea.content.ui.framework.services.PortletManagementService.getPortletSessionConfigurationKey(PortletManagementService.java:2726)
     at com.bea.content.ui.framework.services.PortletManagementService.hasReturnedFromConfiguration(PortletManagementService.java:938)
     at com.bea.content.ui.framework.ContentUIPortletBacking.handlePostbackData(ContentUIPortletBacking.java:139)
     at com.bea.netuix.servlets.controls.Backable$Impl.handlePostbackData(Backable.java:166)
     at com.bea.netuix.servlets.controls.AdministeredBackableControl.handlePostbackData(AdministeredBackableControl.java:83)
     Truncated. see log file for complete stacktrace
>
java.lang.NullPointerException
     at login.LoginBacking.handlePostbackData(LoginBacking.java:43)
     at com.bea.netuix.servlets.controls.Backable$Impl.handlePostbackData(Backable.java:166)
     at com.bea.netuix.servlets.controls.AdministeredBackableControl.handlePostbackData(AdministeredBackableControl.java:83)
     at com.bea.netuix.servlets.controls.window.Window.handlePostbackData(Window.java:606)
     at com.bea.netuix.nf.ControlLifecycle$2.visit(ControlLifecycle.java:180)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:324)<9/03/2009 10:07:56 AM GMT-06:00> <Error> <netuix> <BEA-423166> <An exception or error occurred in the backing file [com.bea.content.ui.framework.ContentUIPortletBacking] while executing its handlePostbackData method. It was java.lang.IllegalStateException: Unable to retrieve the current portlet instance information.
java.lang.IllegalStateException: Unable to retrieve the current portlet instance information.
     at com.bea.content.ui.framework.services.PortletManagementService.getPortletSessionConfigurationKey(PortletManagementService.java:2726)
     at com.bea.content.ui.framework.services.PortletManagementService.hasReturnedFromConfiguration(PortletManagementService.java:938)
     at com.bea.content.ui.framework.ContentUIPortletBacking.handlePostbackData(ContentUIPortletBacking.java:139)
     at com.bea.netuix.servlets.controls.Backable$Impl.handlePostbackData(Backable.java:166)
     at com.bea.netuix.servlets.controls.AdministeredBackableControl.handlePostbackData(AdministeredBackableControl.java:83)
     Truncated. see log file for complete stacktrace
>
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
     at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:130)
     at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
     at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
     at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
     at com.bea.netuix.nf.Lifecycle.runInbound(Lifecycle.java:184)
     at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:159)
     at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:388)
     at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258)
     at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:199)
     at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:251)
     at com.bea.netuix.servlets.manager.PortalServlet.service(PortalServlet.java:686)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
     at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
     at com.bea.portal.tools.servlet.http.HttpContextFilter.doFilter(HttpContextFilter.java:60)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
     at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:336)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
     at com.bea.jsptools.servlet.PagedResultServiceFilter.doFilter(PagedResultServiceFilter.java:82)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3393)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
     at weblogic.security.service.SecurityManager.runAs(Unknown Source)
     at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
     at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
     at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
I do not know why is this happening, cause Authentication works, except for that ugly exception that I think is thrown after trying to render the content presenter portlets
Some of the content presenter portlets work(I mean i can see it's content and can be modified)fine but the ones recently added don't Does anybody knows the reason???
It does not work even when i start a new project.

I'm using the sample at wlp docs
package login;
import com.bea.netuix.servlets.controls.content.JspContentContext;
import com.bea.netuix.servlets.controls.content.backing.AbstractJspBacking;
import com.bea.p13n.security.Authentication;
import com.bea.portlet.GenericURL;
import com.bea.portlet.PostbackURL;
import javax.security.auth.login.LoginException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class LoginBacking extends AbstractJspBacking {
private static final long serialVersionUID = 1L;
public static final String REDIRECT_ACTION = "redirect";
public boolean handlePostbackData(HttpServletRequest request, HttpServletResponse response) {
if (isRequestTargeted(request)) {
if (request.getParameter(GenericURL.STATE_PARAM) == null) {
String username = request.getParameter("username");
String password = request.getParameter("password");
PostbackURL url = PostbackURL.createPostbackURL(request, response);
if (username != null && password != null) {
try {
Authentication.login(username, password, request, response);
catch (LoginException le) {
request.setAttribute("loginErrorMessage3", new String("true"));
return false;
else if (request.getParameter("logout") != null) {
Authentication.logout(request);
url.addParameter(GenericURL.LOADSTATE_PARAM, "false");
url.addParameter(GenericURL.PAGE_LABEL_PARAM, "login");
try {
JspContentContext jspContext = JspContentContext.getJspContentContext(request);
jspContext.sendRedirect(url.toString());
catch (Exception ie) {
ie.printStackTrace();
return true;
In fact the problem is at the line that executes redirection ... jspContext.sendRedirect(url.toString());

Similar Messages

  • Content Presenter Portlet (CPP) on weblogic portal 10.3 giving error

    Hi,
    We are using WLP 10gR3 & UCM 10gR3 in our environment.
    We've done a new installation on portal following the checklist which is working fine on a working env.
    On portal application CPP giving error
    Content Presenter Portlet giving err-An appropriate display template for this item could'nt be found
    WLP is able to connect to UCM & all required patches for CPP (patch APD4, patch AVW6, patch ZKHC) are also poperly applied.
    On console, error logs show - Error - <May 5, 2011 1:02:49 PM IST> <Warning> <Events> <BEA-401903> <Duplicate EventListener com.bea.content.repo.internal.server.logic.search.ContentExporterListener not added to Handler com.bea.p13n.events.internal.EventHandler on Type {3}.>.
    Not able to understand what is going wrong?
    Same set of libraries are also applied in this env.

    Hi,
    Could someone pls explain which cache is used to cache portlet content and in which form the content is cached?

  • An improved Content Presenter Portlet

    I've been working on a site migration project from a content manager to Weblogic Portal, and for the Weblogic Portal site we are planning to use Content Presenter Portlet to show most of the content that already exist on that site, almost all is just text and images, but there is a problem with the usability of the portal, I mean the process to create a new page(desktop) is not that simple for a non-technical user, for example the user has to create the content in the repository organize everything very well and then create the desktop, add the content presenter protlet and then configure the portlet and of course if the author wants to edit the content when the repository has library services enabled he has to follow a large process...chose edit, chech out, choose property, edit, save, check in and finally see those changes(or wait until it is approved)... in the old content manager is not that difficult to do that... so I've been thinking to write some templates for the content presenter portlet that reduces the number of steps, windows and clics for the assistant, and allow the authors to create the content instead of just choosing it, and finally allow the in-line editing with library services enabled.... What do you think about it??? I know this is not a simple task.... but I want to know your opinion.... has somebody tried to do something similar??? any comment is welcomed...

    This is a sample template which explicitly was not implemented to support Library Services. The OOTB sample application in which this template lives does not have Library Services enabled on the repository. You are free to take this sample and modify it to suite your needs, either for learning or to modify to meet your requirements. The template was amply commented so that you can follow the ideas and implementation.
    Brad

  • An issue with authentication and authorization on ISE 1.2

    Hi, I'm new to ISE.
    I have an issue with authentication and authorization.
    I have ISE 1.2 plus patch 6 installed on VMware.
    I have built-in Windows XP supplicant and 2960 cisco switch with IOS c2960-lanbasek9-mz.150-2.SE5.bin
    On supplicant I use EAP(PEAP) with EAP-MSCHAP v2.
    I created  authentication and authorization rules with Active Directory  as External Identity Source. Also I applied  authorization profile with DACL.I login on Windows XP machine under different Active Directory accounts. Everything works fine (authentication, authorization ), but only for several hours. After several hours passed , authentication and authorization stop working . I can see that ISE trying authenticate and authorize users, but ISE always use only one account for  authentication and authorization . Even if I login under different accounts ISE continue to use only one last account.
    I traied to reboot switch and PC,but it didn’t help. Only rebooting of ISE helps. After ISE rebooting, authentication and authorization start to work properly for several hours.
    I don’t understand is it a glitch or I misconfigured ISE or switch, supplicant?
    What  should I do to resolve this issue?
    Switch configuration:
     testISE#sh runn
    Building configuration...
    Current configuration : 7103 bytes
    ! Last configuration change at 12:20:15Tue Apr 15 2014
    ! NVRAM config last updated at 10:35:02  Tue Apr 15 2014
    version 15.0
    no service pad
    service timestamps debug datetime msec
    service timestamps log datetime msec
    no service password-encryption
    hostname testISE
    boot-start-marker
    boot-end-marker
    no logging console
    logging monitor informational
    enable secret 5 ************
    enable password ********
    username radius-test password 0 ********
    username admin privilege 15 secret 5 ******************
    aaa new-model
    aaa authentication dot1x default group radius
    aaa authorization network default group radius
    aaa authorization auth-proxy default group radius
    aaa accounting update periodic 5
    aaa accounting dot1x default start-stop group radius
    aaa server radius dynamic-author
     client 172.16.0.90 server-key ********
    aaa session-id common
    clock timezone 4 0
    system mtu routing 1500
    authentication mac-move permit
    ip dhcp snooping vlan 1,22
    ip dhcp snooping
    ip domain-name elauloks
    ip device tracking probe use-svi
    ip device tracking
    epm logging
    crypto pki trustpoint TP-self-signed-1888913408
     enrollment selfsigned
     subject-name cn=IOS-Self-Signed-Certificate-1888913408
     revocation-check none
     rsakeypair TP-self-signed-1888913408
    crypto pki certificate chain TP-self-signed-1888913408
    dot1x system-auth-control
    spanning-tree mode pvst
    spanning-tree extend system-id
    vlan internal allocation policy ascending
    ip ssh version 2
    interface FastEthernet0/5
     switchport mode access
     ip access-group ACL-ALLOW in
     authentication event fail action next-method
     authentication event server dead action reinitialize vlan 1
     authentication event server alive action reinitialize
     authentication host-mode multi-auth
     authentication open
     authentication order dot1x mab
     authentication priority dot1x mab
     authentication port-control auto
     authentication periodic
     authentication timer reauthenticate server
     authentication violation restrict
     mab
     dot1x pae authenticator
     dot1x timeout tx-period 10
     spanning-tree portfast
    interface FastEthernet0/6
     switchport mode access
     ip access-group ACL-ALLOW in
     authentication event fail action next-method
     authentication event server dead action reinitialize vlan 1
     authentication event server alive action reinitialize
     authentication order dot1x mab
     authentication priority dot1x mab
     authentication port-control auto
     authentication periodic
     authentication timer reauthenticate server
     authentication violation restrict
     mab
     dot1x pae authenticator
     dot1x timeout tx-period 10
     spanning-tree portfast
    interface FastEthernet0/7
    interface Vlan1
     ip address 172.16.0.204 255.255.240.0
     no ip route-cache
    ip default-gateway 172.16.0.1
    ip http server
    ip http secure-server
    ip access-list extended ACL-ALLOW
     deny   icmp any host 172.16.0.1
     permit ip any any
    ip radius source-interface Vlan1
    logging origin-id ip
    logging source-interface Vlan1
    logging host 172.16.0.90 transport udp port 20514
    snmp-server community public RO
    snmp-server community ciscoro RO
    snmp-server trap-source Vlan1
    snmp-server source-interface informs Vlan1
    snmp-server enable traps snmp linkdown linkup
    snmp-server enable traps mac-notification change move
    snmp-server host 172.16.0.90 ciscoro
    radius-server attribute 6 on-for-login-auth
    radius-server attribute 6 support-multiple
    radius-server attribute 8 include-in-access-req
    radius-server attribute 25 access-request include
    radius-server dead-criteria time 5 tries 3
    radius-server vsa send accounting
    radius-server vsa send authentication
    radius server ISE-Alex
     address ipv4 172.16.0.90 auth-port 1812 acct-port 1813
     automate-tester username radius-test idle-time 15
     key ******
    ntp server 172.16.0.1
    ntp server 172.16.0.5
    end

    Yes. Tried that (several times) didn't work.  5 people in my office, all with vers. 6.0.1 couldn't access their gmail accounts.  Kept getting error message that username and password invalid.  Finally solved the issue by using Microsoft Exchange and "m.google.com" as server and domain and that the trick.  Think there is an issue with imap.gmail.com and IOS 6.0.1.  I'm sure the 5 of us suddently experiencing this issue aren't the only ones.  Apple will figure it out.  Thanks.

  • Aborting index build. Too many errors with finding and copying files ...

    Hi dears,
    I'm using UCM 11g.
    I'm trying to start the automatic update cycle. When i start it, it gives me an error message just like :
    Indexing aborted at :<time>. Aborting index build. Too many errors with finding and copying files to the appropriate place.+
    Can anybody help me about this problem?
    Helps will be appreciated.
    Erdo
    Edited by: erdo on 28.Mar.2013 11:11

    Read this: error in Collection Rebuild Cycle
    and maybe also UCM Indexer - Collection Rebuild Cycle errorring out

  • Login and Content Management Portlets in 8.1 SP2 Portal app

    Hi all,
    1. Create a portal domain in 8.1 SP2.
    2. Create a portal app , web , import the portlets ( Login and content
    management ) and relevant files and start the server. No exceptions.
    3. Page 1 - >Login portlet Login into the portal with success
    message
    4. Page 2 - >Content Portlet Click on the page to browse the
    contents
    5. For the first time, I am getting this exception
    javax.transaction.TransactionRolledbackException: EJB Exception: :
    java.lang.NullPointerException
    at $Proxy1.haveCurrent(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
    .java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at
    com.bea.p13n.usermgmt.AtnProviderProxy$Runner.run(AtnProviderProxy.java:113)
    at
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
    t.java:353)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
    at com.bea.p13n.usermgmt.AtnProviderProxy.invoke(AtnProviderProxy.java:84)
    at $Proxy12.haveCurrent(Unknown Source)
    at
    com.bea.p13n.usermgmt.internal.GroupManagerImpl.getGroupNamesForUser(GroupMa
    nagerImpl.java:962)
    at
    com.bea.p13n.usermgmt.internal.GroupManager_hq5p2c_EOImpl.getGroupNamesForUs
    er(GroupManager_hq5p2c_EOImpl.java:46)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
    .java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at
    com.bea.wlw.runtime.core.control.EJBControlImpl.invoke(EJBControlImpl.jcs:60
    4)
    at
    com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java:373)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:423)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:396)
    at com.bea.wlw.runtime.jcs.container.JcsProxy.invoke(JcsProxy.java:389)
    at $Proxy11.getGroupNamesForUser(Unknown Source)
    at
    com.bea.p13n.controls.userInfoQuery.UserInfoControlImpl.getGroupNamesForUser
    (UserInfoControlImpl.jcs:152)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
    .java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at
    com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java:367)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:423)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:396)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:248)
    at
    com.bea.wlw.runtime.jcs.container.JcsContainer.invoke(JcsContainer.java:84)
    at
    com.bea.wlw.runtime.core.bean.BaseContainerBean.invokeBase(BaseContainerBean
    .java:198)
    at
    com.bea.wlw.runtime.core.bean.SLSBContainerBean.invoke(SLSBContainerBean.jav
    a:103)
    at
    com.bea.wlwgen.StatelessContainer_nni20l_ELOImpl.invoke(StatelessContainer_n
    ni20l_ELOImpl.java:99)
    at
    com.bea.wlwgen.p13controlsSLSBContAdpt.invokeOnBean(p13controlsSLSBContAdpt.
    java:59)
    at
    com.bea.wlw.runtime.core.bean.BaseDispatcherBean.runAsInvoke(BaseDispatcherB
    ean.java:153)
    at
    com.bea.wlw.runtime.core.bean.BaseDispatcherBean.invoke(BaseDispatcherBean.j
    ava:54)
    at
    com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(SyncDispatcherBean.j
    ava:160)
    at
    com.bea.wlw.runtime.core.bean.SyncDispatcher_k1mrl8_EOImpl.invoke(SyncDispat
    cher_k1mrl8_EOImpl.java:100)
    at
    com.bea.wlw.runtime.core.dispatcher.Dispatcher.remoteDispatch(Dispatcher.jav
    a:161)
    at
    com.bea.wlw.runtime.core.dispatcher.ServiceHandleImpl.invoke(ServiceHandleIm
    pl.java:414)
    at
    com.bea.wlw.runtime.core.dispatcher.WlwProxyImpl._invoke(WlwProxyImpl.java:2
    75)
    at
    com.bea.wlw.runtime.core.dispatcher.WlwProxyImpl.invoke(WlwProxyImpl.java:26
    4)
    at $Proxy9.getGroupNamesForUser(Unknown Source)
    at portlets.content.contentController.begin(contentController.jpf:801)
    at sun.reflect.GeneratedMethodAccessor160.invoke(Unknown Source)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
    .java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at
    com.bea.wlw.netui.pageflow.FlowController.invokeActionMethod(FlowController.
    java:1504)
    at
    com.bea.wlw.netui.pageflow.FlowController.getActionMethodForward(FlowControl
    ler.java:1430)
    at
    com.bea.wlw.netui.pageflow.FlowController.internalExecute(FlowController.jav
    a:761)
    at
    com.bea.wlw.netui.pageflow.PageFlowController.internalExecute(PageFlowContro
    ller.java:211)
    at
    com.bea.wlw.netui.pageflow.FlowController.execute(FlowController.java:591)
    at
    org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces
    sor.java:484)
    at
    org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    at
    com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestP
    rocessor.java:651)
    at
    com.bea.wlw.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterAct
    ionServlet.java:527)
    at
    com.bea.wlw.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServl
    et.java:152)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
    at
    com.bea.wlw.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:152
    5)
    at
    com.bea.netuix.servlets.controls.content.PageflowContent.preRender(PageflowC
    ontent.java:379)
    at com.bea.netuix.nf.ControlLifecycle$6.visit(ControlLifecycle.java:388)
    at
    com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker
    .java:619)
    at
    com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker
    .java:630)
    at
    com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker
    .java:630)
    at
    com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker
    .java:630)
    at
    com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker
    .java:630)
    at
    com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker
    .java:630)
    at
    com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker
    .java:630)
    at
    com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker
    .java:630)
    at
    com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker
    .java:630)
    at
    com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker
    .java:630)
    at
    com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker
    .java:630)
    at
    com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker
    .java:630)
    at
    com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker
    .java:630)
    at
    com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker
    .java:630)
    at
    com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker
    .java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:137)
    at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:220)
    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:158)
    at
    com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:357)
    at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:198)
    at
    com.bea.netuix.servlets.manager.PortalServlet.service(PortalServlet.java:559
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
    tStubImpl.java:971)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :402)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
    at
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at
    com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:
    313)
    at
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
    ebAppServletContext.java:6356)
    at
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
    t.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:3635)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2585)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    ; nested exception is:
    java.lang.NullPointerException
    6. But when i go to search tab and come back to browse tab , every thing
    seems to be normal and I can see the repository hierarchy
    Karthi.

    Sorry I forgot to add this information to my previous post.
    Please note that I am using RDBMS Authenticator in 8.1 SP2 with oracle 9.2.0
    and the set up is very fine with no problem. Order of the Authenticator
    changed with RDBMS Authenticator as the first one.
    Thanks,
    Karthi
    "Karthi" <[email protected]> wrote in message
    news:[email protected]...
    Hi all,
    1. Create a portal domain in 8.1 SP2.
    2. Create a portal app , web , import the portlets ( Login and content
    management ) and relevant files and start the server. No exceptions.
    3. Page 1 - >Login portlet Login into the portal with success
    message
    4. Page 2 - >Content Portlet Click on the page to browse the
    contents
    5. For the first time, I am getting this exception
    javax.transaction.TransactionRolledbackException: EJB Exception: :
    java.lang.NullPointerException
    at $Proxy1.haveCurrent(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
    .java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at
    com.bea.p13n.usermgmt.AtnProviderProxy$Runner.run(AtnProviderProxy.java:113)
    at
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
    t.java:353)
    atweblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
    at com.bea.p13n.usermgmt.AtnProviderProxy.invoke(AtnProviderProxy.java:84)
    at $Proxy12.haveCurrent(Unknown Source)
    at
    com.bea.p13n.usermgmt.internal.GroupManagerImpl.getGroupNamesForUser(GroupMa
    nagerImpl.java:962)
    at
    com.bea.p13n.usermgmt.internal.GroupManager_hq5p2c_EOImpl.getGroupNamesForUs
    er(GroupManager_hq5p2c_EOImpl.java:46)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
    .java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at
    com.bea.wlw.runtime.core.control.EJBControlImpl.invoke(EJBControlImpl.jcs:60
    4)
    at
    com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java:373)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:423)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:396)
    at com.bea.wlw.runtime.jcs.container.JcsProxy.invoke(JcsProxy.java:389)
    at $Proxy11.getGroupNamesForUser(Unknown Source)
    at
    com.bea.p13n.controls.userInfoQuery.UserInfoControlImpl.getGroupNamesForUser
    (UserInfoControlImpl.jcs:152)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
    .java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at
    com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java:367)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:423)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:396)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:248)
    at
    com.bea.wlw.runtime.jcs.container.JcsContainer.invoke(JcsContainer.java:84)
    at
    com.bea.wlw.runtime.core.bean.BaseContainerBean.invokeBase(BaseContainerBean
    .java:198)
    at
    com.bea.wlw.runtime.core.bean.SLSBContainerBean.invoke(SLSBContainerBean.jav
    a:103)
    at
    com.bea.wlwgen.StatelessContainer_nni20l_ELOImpl.invoke(StatelessContainer_n
    ni20l_ELOImpl.java:99)
    at
    com.bea.wlwgen.p13controlsSLSBContAdpt.invokeOnBean(p13controlsSLSBContAdpt.
    java:59)
    at
    com.bea.wlw.runtime.core.bean.BaseDispatcherBean.runAsInvoke(BaseDispatcherB
    ean.java:153)
    at
    com.bea.wlw.runtime.core.bean.BaseDispatcherBean.invoke(BaseDispatcherBean.j
    ava:54)
    at
    com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(SyncDispatcherBean.j
    ava:160)
    at
    com.bea.wlw.runtime.core.bean.SyncDispatcher_k1mrl8_EOImpl.invoke(SyncDispat
    cher_k1mrl8_EOImpl.java:100)
    at
    com.bea.wlw.runtime.core.dispatcher.Dispatcher.remoteDispatch(Dispatcher.jav
    a:161)
    at
    com.bea.wlw.runtime.core.dispatcher.ServiceHandleImpl.invoke(ServiceHandleIm
    pl.java:414)
    at
    com.bea.wlw.runtime.core.dispatcher.WlwProxyImpl._invoke(WlwProxyImpl.java:2
    75)
    at
    com.bea.wlw.runtime.core.dispatcher.WlwProxyImpl.invoke(WlwProxyImpl.java:26
    4)
    at $Proxy9.getGroupNamesForUser(Unknown Source)
    at portlets.content.contentController.begin(contentController.jpf:801)
    at sun.reflect.GeneratedMethodAccessor160.invoke(Unknown Source)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
    .java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at
    com.bea.wlw.netui.pageflow.FlowController.invokeActionMethod(FlowController.
    java:1504)
    at
    com.bea.wlw.netui.pageflow.FlowController.getActionMethodForward(FlowControl
    ler.java:1430)
    at
    com.bea.wlw.netui.pageflow.FlowController.internalExecute(FlowController.jav
    a:761)
    at
    com.bea.wlw.netui.pageflow.PageFlowController.internalExecute(PageFlowContro
    ller.java:211)
    at
    com.bea.wlw.netui.pageflow.FlowController.execute(FlowController.java:591)
    at
    org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces
    sor.java:484)
    at
    org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    at
    com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestP
    rocessor.java:651)
    at
    com.bea.wlw.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterAct
    ionServlet.java:527)
    at
    com.bea.wlw.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServl
    et.java:152)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
    at
    com.bea.wlw.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:152
    5)
    at
    com.bea.netuix.servlets.controls.content.PageflowContent.preRender(PageflowC
    ontent.java:379)
    at com.bea.netuix.nf.ControlLifecycle$6.visit(ControlLifecycle.java:388)
    at
    com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker
    .java:619)
    at
    com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker
    .java:630)
    at
    com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker
    .java:630)
    at
    com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker
    .java:630)
    at
    com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker
    .java:630)
    at
    com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker
    .java:630)
    at
    com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker
    .java:630)
    at
    com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker
    .java:630)
    at
    com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker
    .java:630)
    at
    com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker
    .java:630)
    at
    com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker
    .java:630)
    at
    com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker
    .java:630)
    at
    com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker
    .java:630)
    at
    com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker
    .java:630)
    at
    com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker
    .java:630)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:137)
    at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:220)
    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:158)
    at
    com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:357)
    at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:198)
    at
    com.bea.netuix.servlets.manager.PortalServlet.service(PortalServlet.java:559
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
    tStubImpl.java:971)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :402)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
    at
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at
    com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:
    313)
    at
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
    ebAppServletContext.java:6356)
    at
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
    t.java:317)
    atweblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:3635)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2585)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    ; nested exception is:
    java.lang.NullPointerException
    6. But when i go to search tab and come back to browse tab , every thing
    seems to be normal and I can see the repository hierarchy
    Karthi.

  • Problem with images in content management portlet

    Hi all,
    I'm trying to use the content management portlet provided with Bea WLP 8.1 SP4, but I've a problem with the images (they're not displayed at all, only a lot of red "X"s). Some how it seems to be a problem with the Taglib render. It tries to get the resourceRootPath to post it in front of the src path in the image tag and it always includes the parameter that are in the URL.
    I followed the instructions in the help of workshop, so I think I've imported every needed files. Moreover, the images are in the right folder tree. The wired thing is, that the My Content Portlet works fine.
    Any help for a newbie???
    Cheers,
    Cord

    Hi Cord,
    I was having that same problem, and I couldn't find anything on this website either. I tried creating a new portal project and following the directions exactly again, but it didn't work there either. It works in the sample portal.
    So I contacted BEA Support, and they were able to provide me with a solution:
    The file url-template-config.xml (in the WEB-INF directory) has to be modified and have the {url:currentPage} parameter removed in order to get the images working for the content management portlet. For now, do this only in the section <!-- URL templates -->. Leave the other places like in WSRP etc as it is.
    I actually took it out of the WSRP places too, by accident, but I don't use WSRP anyway, and everything else seems to be working fine. And the images show up!
    Hope this works for you too,
    Beth

  • [Partially Solved] Error with bsdtar and symbolic links

    I'm trying to install a package (asymptote) from AUR but am running into an odd error.  During the extract phase I get errors like
    asymptote-1.70/base/asy-keywords.el: Can't update time for asymptote-1.70/base/asy-keywords.el: Function not implemented
    bsdtar: Error exit delayed from previous errors.
    I found a post that may help: http://bbs.archlinux.org/viewtopic.php?id=50750.  Do I really have to do this?
    By the way, I too am running on a Linode (Xen virtualization).
    Thanks,
    Luis
    Last edited by banbh (2009-05-24 00:22:13)

    I have not got to the bottom of my problems with bsdtar and symlinks.  I suspect it must have something to do with either my configuration (derived from the Arch image provided by Linode) or running under virtualisation.
    However, others might find my work-around useful, so I document it below.
    I downloaded asymptote from AUR using wget ("wget http://aur.archlinux.org/packages/asymptote/asymptote.tar.gz"), unpacked it, then patched the PKGBUILD
    $ diff -u PKGBUILD.orig PKGBUILD
    --- PKGBUILD.orig 2009-05-23 17:58:47.000000000 -0400
    +++ PKGBUILD 2009-05-23 18:00:49.000000000 -0400
    @@ -11,9 +11,12 @@
    'used if present at compile time: freeglut, gsl, fftw')
    source=(http://downloads.sourceforge.net/sourceforge/asymptote/$pkgname-$pkgver.src.tgz)
    md5sums=('1ded335bc63b662a6eb920a4c065706c')
    +noextract=($pkgname-$pkgver.src.tgz)
    build() {
    - cd $srcdir/$pkgname-$pkgver
    + cd $srcdir
    + tar xzf $pkgname-$pkgver.src.tgz
    + cd $pkgname-$pkgver
    ./configure --enable-gc=/usr --prefix=/usr \
    --with-latex=/usr/share/texmf/tex/latex || return 1
    make asy || return 1
    After that I simply did a "makepkg" followed by "sudo pacman -U asymptote-1.73-1-i686.pkg.tar.gz"

  • CMIS and Content Presenter

    Hi,
    I have some images stored in UCM and I have created a custom metadata field 'deptID' for these images; i.e metadata associated with thes images;
    Title: image1.jpg, Author: weblogic, deptID: 1, SecurityGroup: PUBLIC etc..
    The use case I am trying to achieve:
    - user logs in (done)
    - obtain user's dept id (done)
    - the image placeholder displays the relavent image associated to the users department
    I am able to get the the deptID based on the logged in user i.e. deptID = 7 by passing the username into a datacontrol and querying the specific table held on the database.
    Now I want to use CMIS (I think) to get the relavent image back from UCM:
    SELECT [IMAGE] FROM [UCMFOLDER] WHERE dDeptID = {PARAMETER}
    (where the parameter is the deptID obtained at the user login from the database)
    I have dragged the content presenter taskflow onto the page and assigned the datasourceType = ${'dsTypeQueryExpression''} so I can try and implement logic.
    And now I am stuck.
    Any help appreciated

    Thanks again Hoque I do know where your coming from but still require some more assistance if possible...
    My current template (which is not working):
    <dt:contentTemplateDef var="node">
    <af:image source="http://cshost:16200/cs/idcplg?IdcService=GET_FILE&amp;dID=#{node.propertyMap['dID'].value}&amp;dDocname=#{node.propertyMap['dDocName'].value}" id="gil1">
    </af:image>
    </dt:contentTemplateDef>
    My Current cmis query:
    "SELECT * FROM ora:t:IDC:GlobalProfile WHERE ora:p:xdeptID = " + thisValue + ""; (thisValue comes in from the logged in user to pass into the query)
    In your example EL Expression below you wrote <af:image src=#{conditionDeptPresent=='yes' ? 'deptimageurl' : 'customurlfornullDept' }
    How would i set the 'conditionDeptPresent' value based on the query returning something to 'yes'?
    Edited by: user10248319 on 24-Apr-2012 10:39

  • System.log errors with slapd and password service

    i'm CONSTANTLY getting the following in my system.log file.
    Sep 23 23:50:06 campus /usr/sbin/PasswordService: incorrect digest response
    Sep 23 23:50:36 campus /usr/sbin/PasswordService: incorrect digest response
    Sep 23 23:51:06 campus /usr/sbin/PasswordService: incorrect digest response
    Sep 23 23:51:36 campus /usr/sbin/PasswordService: incorrect digest response
    Sep 23 23:52:06 campus /usr/sbin/PasswordService: incorrect digest response
    Sep 23 23:52:36 campus /usr/sbin/PasswordService: incorrect digest response
    Sep 23 23:53:06 campus /usr/sbin/PasswordService: incorrect digest response
    Sep 23 23:53:36 campus /usr/sbin/PasswordService: incorrect digest response
    Sep 23 23:54:06 campus /usr/sbin/PasswordService: incorrect digest response
    Sep 23 23:54:36 campus /usr/sbin/PasswordService: incorrect digest response
    Sep 23 23:55:06 campus /usr/sbin/PasswordService: incorrect digest response
    Sep 23 23:55:36 campus /usr/sbin/PasswordService: incorrect digest response
    Sep 23 23:56:06 campus /usr/sbin/PasswordService: incorrect digest response
    Sep 23 23:56:36 campus /usr/sbin/PasswordService: incorrect digest response
    Sep 23 23:57:06 campus /usr/sbin/PasswordService: incorrect digest response
    Sep 23 23:57:36 campus /usr/sbin/PasswordService: incorrect digest response
    Sep 23 23:58:06 campus /usr/sbin/PasswordService: incorrect digest response
    Sep 23 23:58:36 campus /usr/sbin/PasswordService: incorrect digest response
    Sep 23 23:59:06 campus /usr/sbin/PasswordService: incorrect digest response
    Sep 23 23:59:36 campus /usr/sbin/PasswordService: incorrect digest response
    Sep 24 00:00:06 campus /usr/sbin/PasswordService: incorrect digest response
    Sep 24 00:00:36 campus /usr/sbin/PasswordService: incorrect digest response
    Sep 24 00:01:05 campus /usr/sbin/PasswordService: incorrect digest response
    Sep 24 00:01:36 campus /usr/sbin/PasswordService: incorrect digest response
    Sep 24 00:02:05 campus /usr/sbin/PasswordService: incorrect digest response
    Sep 24 00:02:23 campus slapd[23777]: could not load the replica file.
    Sep 24 00:02:23 campus slapd[23777]: could not load the replica file.
    Sep 24 00:02:23 campus slapd[23777]: could not load the replica file.
    Sep 24 00:02:26 campus slapd[23777]: could not load the replica file.
    Sep 24 00:02:26 campus slapd[23777]: could not load the replica file.
    Sep 24 00:02:26 campus slapd[23777]: could not load the replica file.
    Sep 24 00:02:26 campus slapd[23777]: could not load the replica file.
    Sep 24 00:02:26 campus slapd[23777]: could not load the replica file.
    Sep 24 00:02:26 campus slapd[23777]: could not load the replica file.
    Sep 24 00:02:26 campus slapd[23777]: could not load the replica file.
    Sep 24 00:02:26 campus slapd[23777]: could not load the replica file.
    Sep 24 00:02:26 campus slapd[23777]: could not load the replica file.
    Sep 24 00:02:26 campus slapd[23777]: could not load the replica file.
    Sep 24 00:02:26 campus slapd[23777]: could not load the replica file.
    Sep 24 00:02:26 campus slapd[23777]: could not load the replica file.
    Sep 24 00:02:26 campus slapd[23777]: could not load the replica file.
    Sep 24 00:02:26 campus slapd[23777]: could not load the replica file.
    Sep 24 00:02:26 campus slapd[23777]: could not load the replica file.
    and i'm having all kinds of authentication issues with this server to begin with...during the day it will just stop authenticating and I have to restart!

    Re: incorrect digest response
    I just saw that log entry being spewed out constantly for the first time. Looking in Password Server log, I found entries that roughly correlated - a user authentication failing with SASL error -13 (password incorrect). The user was on a system we had just reimaged for Tiger. The console log on that system showed entries from the LDAP plugin with constant attempts to authenticate using a cleartext password. The client system seemed to be OK, though, and was mounting its network home correctly. I could not find anything that would be legitimately trying to connect.
    Long story short, I deleted and recreated the LDAP server entries in Directory Access. Problem solved. Hope this helps.

  • [SOLVED] errors with fdisk and cryptsetup; is my drive going bad?

    I'm having issues with re-formatting an external hard drive using dm-crypt. It was previously formatted with TrueCrypt/NTFS, which I used as a shared backup drive between Windows and Arch. At some point, it stopped being able to mount, which I attributed to allowing Windows to "fix" it after improper dismount (e.g. a hard kill).
    I decided to re-format with ext4 and only use it from Arch, but now I'm wondering if I may have a hardware issue with the drive. I've tried a lot more (like going through the full zero write after mounting the drive as a temporary dm-crypt device), but here's the condensed version to illustrate the problem.
    system info
    This is on a fresh boot. Just adding that as I've had issues with kernel modules after updating if a new kernel comes through. A fresh boot removes that potential issue.
    $ uname -a
    Linux arch_840 4.0.3-1-ARCH #1 SMP PREEMPT Wed May 13 15:38:47 CEST 2015 x86_64 GNU/Linux
    $ lsmod | grep dm_
    dm_crypt 28672 2
    dm_mod 98304 5 dm_crypt
    $ lsmod |grep xts
    xts 16384 2 serpent_sse2_x86_64,twofish_x86_64_3way
    gf128mul 16384 2 lrw,xts
    smartctl status
    Figured I should check the drive. There's a lot of old age and pre-fail warnings, but this post would seem to suggest I'm okay?
    # smartctl -A /dev/sdb
    smartctl 6.3 2014-07-26 r3976 [x86_64-linux-4.0.3-1-ARCH] (local build)
    Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
    === START OF READ SMART DATA SECTION ===
    SMART Attributes Data Structure revision number: 16
    Vendor Specific SMART Attributes with Thresholds:
    ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
    1 Raw_Read_Error_Rate 0x002f 100 100 051 Pre-fail Always - 0
    2 Throughput_Performance 0x0026 252 252 000 Old_age Always - 0
    3 Spin_Up_Time 0x0023 090 089 025 Pre-fail Always - 3330
    4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 703
    5 Reallocated_Sector_Ct 0x0033 252 252 010 Pre-fail Always - 0
    7 Seek_Error_Rate 0x002e 252 252 051 Old_age Always - 0
    8 Seek_Time_Performance 0x0024 252 252 015 Old_age Offline - 0
    9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 3707
    10 Spin_Retry_Count 0x0032 252 252 051 Old_age Always - 0
    11 Calibration_Retry_Count 0x0032 100 100 000 Old_age Always - 104
    12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 734
    191 G-Sense_Error_Rate 0x0022 100 100 000 Old_age Always - 17
    192 Power-Off_Retract_Count 0x0022 252 252 000 Old_age Always - 0
    194 Temperature_Celsius 0x0002 064 053 000 Old_age Always - 24 (Min/Max 16/47)
    195 Hardware_ECC_Recovered 0x003a 100 100 000 Old_age Always - 0
    196 Reallocated_Event_Count 0x0032 252 252 000 Old_age Always - 0
    197 Current_Pending_Sector 0x0032 252 252 000 Old_age Always - 0
    198 Offline_Uncorrectable 0x0030 252 252 000 Old_age Offline - 0
    199 UDMA_CRC_Error_Count 0x0036 200 200 000 Old_age Always - 0
    200 Multi_Zone_Error_Rate 0x002a 100 100 000 Old_age Always - 3
    223 Load_Retry_Count 0x0032 100 100 000 Old_age Always - 104
    225 Load_Cycle_Count 0x0032 079 079 000 Old_age Always - 214068
    Disk info, delete existing partition, new MBR, create new partition
    # fdisk /dev/sdb
    Welcome to fdisk (util-linux 2.26.1).
    Changes will remain in memory only, until you decide to write them.
    Be careful before using the write command.
    Command (m for help): p
    Disk /dev/sdb: 465.8 GiB, 500107862016 bytes, 976773168 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0x76d37b6d
    Device Boot Start End Sectors Size Id Type
    /dev/sdb1 63 976768064 976768002 465.8G 83 Linux
    Command (m for help): d
    Selected partition 1
    Partition 1 has been deleted.
    Command (m for help): o
    Created a new DOS disklabel with disk identifier 0x2cd60f13.
    Command (m for help): n
    Partition type
    p primary (0 primary, 0 extended, 4 free)
    e extended (container for logical partitions)
    Select (default p): p
    Partition number (1-4, default 1):
    First sector (2048-976773167, default 2048):
    Last sector, +sectors or +size{K,M,G,T,P} (2048-976773167, default 976773167):
    Created a new partition 1 of type 'Linux' and of size 465.8 GiB.
    Command (m for help): w
    The partition table has been altered.
    Calling ioctl() to re-read partition table.
    Syncing disks.
    trying to format with cryptsetup
    I had a bunch of custom options, but other Arch posts suggested just trying the default, which is what I've done here. It fails with the same error as when I try to pass a cipher, key size, etc. ("Command failed with code 5: IO error while encrypting keyslot.").
    # truecrypt -v --debug luksFormat /dev/sdb1
    bash: truecrypt: command not found
    [root@arch_840 jwhendy]# cryptsetup -v --debug luksFormat /dev/sdb1
    # cryptsetup 1.6.6 processing "cryptsetup -v --debug luksFormat /dev/sdb1"
    # Running command luksFormat.
    # Locking memory.
    # Installing SIGINT/SIGTERM handler.
    # Unblocking interruption on signal.
    WARNING!
    ========
    This will overwrite data on /dev/sdb1 irrevocably.
    Are you sure? (Type uppercase yes): YES
    # Allocating crypt device /dev/sdb1 context.
    # Trying to open and read device /dev/sdb1.
    # Initialising device-mapper backend library.
    # Timeout set to 0 miliseconds.
    # Iteration time set to 1000 miliseconds.
    # Interactive passphrase entry requested.
    Enter passphrase:
    Verify passphrase:
    # Formatting device /dev/sdb1 as type LUKS1.
    # Crypto backend (gcrypt 1.6.3) initialized.
    # Detected kernel Linux 4.0.3-1-ARCH x86_64.
    # Topology: IO (512/0), offset = 0; Required alignment is 1048576 bytes.
    # Checking if cipher aes-xts-plain64 is usable.
    # Using userspace crypto wrapper to access keyslot area.
    # Generating LUKS header version 1 using hash sha1, aes, xts-plain64, MK 32 bytes
    # KDF pbkdf2, hash sha1: 996745 iterations per second.
    # Data offset 4096, UUID 181fed4d-42f2-4f0f-8b70-cb7ba459e25f, digest iterations 121625
    # Updating LUKS header of size 1024 on device /dev/sdb1
    # Key length 32, device size 976771120 sectors, header size 2050 sectors.
    # Reading LUKS header of size 1024 from device /dev/sdb1
    # Key length 32, device size 976771120 sectors, header size 2050 sectors.
    # Adding new keyslot -1 using volume key.
    # Calculating data for key slot 0
    # KDF pbkdf2, hash sha1: 1008246 iterations per second.
    # Key slot 0 use 492307 password iterations.
    # Using hash sha1 for AF in key slot 0, 4000 stripes
    # Updating key slot 0 [0x1000] area.
    # Using userspace crypto wrapper to access keyslot area.
    IO error while encrypting keyslot.
    # Releasing crypt device /dev/sdb1 context.
    # Releasing device-mapper backend.
    # Unlocking memory.
    Command failed with code 5: IO error while encrypting keyslot.
    Things also tend to hang with respect to the drive at this point. For example, fdisk -l spits out /dev/sda partitions immediately and then just hangs instead of printing out /dev/sdb info, then eventually quits (without ever writing it).
    Any suggestions on where to look/how to troubleshoot? I found some possibly related posts, but nothing that looks promising:
    - Impossible to crypt the drive using cryptsetup (fixed by rebooting)
    - cryptsetup fails to open Udev cookie 0xd4d94f5 (semid 0) waiting for z (no responses; the hang after seems similar)
    There's a couple odds and ends references to cryptsetup 1.6.6 having issues. I downloaded 1.6.4-1 and 1.6.5-1 and -2 from ARM to try, but wanted to post this in the meantime in case something stuck out.
    Last edited by jwhendy (2015-05-29 16:01:40)

    @qinohe I thought of that and the other day started formatting with mkfs.ext4; unfortunately, it was at work and I had to leave before I could let it finish. It had been chugging along a good few hours, and I was surprised it would take that long. I was able to format it with ext4 using Windows 7 (I dual boot) with the MiniTool Partition Wizard but I didn't use it like that before trying to solve the cryptsetup issue again.
    This last time around, I was getting unresponsive behavior. I think I need to reboot each time I try something with cryptsetup, as any commands related to that drive seem to hang afterwards (fdisk, umount, eject, mkfs, or trying crypsetup again). Perhaps I'll just let it cook overnight with mkfs and see if I can at least have an unencrypted, but functional drive.
    One interesting tidbit is that even though cryptsetup fails, when I've tried to issue mkfs afterward, it asks me to confirm that I want to format the disk since it has a LUKS header... so something appears to have been written. Is it possible the header is causing some issues? I don't know much about the structure of a disk (like what range the MBR resides in, what constitutes a header, etc.) but have been wondering if there's some way to start really, really clean with the disk. Like I'd just bought it -- something appears to be lingering around from previous efforts?
    @frostschutz I'll check tomorrow. That's a good question. Just checked journalctl and here are some of the errors that appear; unfortunately, I wasn't watching so I can't tell you what matches up with what command:
    May 23 09:32:22 arch_840 systemd-udevd[7784]: inotify_add_watch(7, /dev/sdb1, 10) failed: No such file or directory
    May 23 09:32:22 arch_840 kernel: usb 3-4: stat urb: status -108
    ### there's lots like this; like 10 in a row with various sector values listed
    May 23 09:32:19 arch_840 kernel: Buffer I/O error on dev sdb1, logical block 61341696, lost async page write
    May 23 09:32:19 arch_840 kernel: blk_update_request: I/O error, dev sdb, sector 490735616
    ### there's also a bunch like this, from tab #0 -> #29 (not colored red, so not sure they're errors?)
    May 23 09:32:19 arch_840 kernel: sd 2:0:0:0: [sdb] tag#0 CDB: opcode=0x2a 2a 00 1d 07 bc 10 00 04 00 00
    May 23 09:32:18 arch_840 kernel: sd 2:0:0:0: [sdb] tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD OUT
    I paged down quite a ways and those seem like the unique messages when I search the journal for "sdb". Anything stand out? I will say that the same sector numbers appeared in multiple blocks of the third error type listed, so that makes me wonder if something is genuinely wrong with the disk. I'll post the output of the full smartctl scan when I hopefully run it tomorrow.
    Thanks for chiming in!

  • Error with calculations and printing output

    Been a few months since I did any kind of java programming and cannot seem to figure out what is wrong with my program. It gives me an error with rentalCost when it goes to printout the value, does not seem calculate the values, and does not print any of the things I call for at the end. Maybe I need a seperate class or the if/else statements are wrong. The point of the program is for fun, but is to calculate the cost for a cabin based on certain coniditions the user inputs. Any help would be much appreciated. NOTE: There are no comments yet due to I put them in after I finish the program.
    import java.util.Scanner;
    public class Test
         public static void main (String [] args)
              String season, cabinGrade;
              double rentalCost, days, finalCost;
              Scanner input = new Scanner(System.in);
              System.out.print("What season will you be staying during? ");
              season = input.nextLine();
              System.out.print("What kind of cabin? ");
              cabinGrade = input.nextLine();
              System.out.print("How many days are you staying? ");
              days = input.nextDouble();
              input.close();
              if (season == "pre-season" && cabinGrade == "regular" && (days < 7))
                   rentalCost = ((days * 55) * .9) * 1.0925;
              else if(season == "pre-season" && cabinGrade == "regular" && (days >= 7))
                   { days = days - 7;
                     rentalCost = ((300 + (days * 55)) * .9) * 1.0925;
              else if(season == "out-of-season" && cabinGrade == "regular" && (days < 7))
                   rentalCost = ((days * 55) * .75) * 1.0925;
              else if(season == "out-of-season" && cabinGrade == "regular" && (days >= 7))
                   { days = days - 7;
                     rentalCost = ((300 + (days * 55)) * .75) * 1.0925;
              else if(season == "pre-season" && cabinGrade == "luxury" && (days < 7))
                   rentalCost = ((days * 100) * .85) * 1.0925;
              else if(season == "pre-season" && cabinGrade == "luxury" && (days >= 7))
                   { days = days -7;
                     rentalCost = ((600 + (days * 100)) * .85) * 1.0925;
              else if(season == "out-of-season" && cabinGrade == "luxury" && (days < 7))
                        rentalCost = ((days * 100) * .75) * 1.0925;
              else if(season == "out-of-season" && cabinGrade == "luxury" && (days >= 7))
                   { days = days -7;
                     rentalCost = ((600 + (days * 100)) * .75) * 1.0925;
              else if(season == "prime" && cabinGrade == "regular" && (days < 7))
                   rentalCost = (days * 55) * 1.0925;
              else if(season == "prime" && cabinGrade == "regular" && (days >= 7))
                   { days = days - 7;
                     rentalCost = (300 + (days * 55)) * 1.0925;
              else if(season == "prime" && cabinGrade == "luxury" && (days < 7))
                   rentalCost = (days * 100) * 1.0925;
              else if(season == "prime" && cabinGrade == "luxury" && (days >= 7))
                   { days = days - 7;
                     rentalCost = (600 + (days * 100)) * 1.0925;
              System.out.println("Season : " + season);
              System.out.println("Cabin grade: " + cabinGrade);
              System.out.println("No. of days: " + days);
              System.out.println("Rental cost: " + rentalCost);
    }

    Lgndryhr wrote:
    Been a few months since I did any kind of java programming and cannot seem to figure out what is wrong with my program. Maybe I need a seperate class or the if/else statements are wrong. The point of the program is for fun, but is to calculate the cost for a cabin based on certain coniditions the user inputs. Any help would be much appreciated. NOTE: There are no comments yet due to I put them in after I finish the program.
    At the very least you need to tell us what you expected this code to do and what it actually did...

  • Systemic error with times and dates across all. please help

    So, having recently made the switch to the world of Apple, I am starting to get my teeth into things - however, struggeling on a couple of fronts. The first and most frustrating for me at the moment is the fact that the time on my messaging and calanders would all appear to be the same.
    When I send and receive messages on skype - they all apear with the same time on them.
    When I open my ical (tried to sync calendars with my ipad2 myself - and initially felt very please with myself) only to find that ALL events had sat as the time...throughout the entire day, and within the event box, the time (the same time as that which appears in skype) appears inside and at the begining of every entry.
    I have tried to change the date and time settings - the clock at the top right of my screen is correct and changes as the hours go by......but still no change in the skpye messaging or in ical.....so frustrating - I use skype as a business tool and at present I am not able to copy and paste peoples messages into anythign else as the time is incorrect.
    Please help

    http://forums.macrumors.com/showthread.php?t=1373272
    https://discussions.apple.com/thread/3434340?start=0&tstart=0

  • Audio error with garageband and external usb audio interface

    I am using Garageband 2.0.3. under ios 8.0.2 on my iPad 3 and via camera adapter a USB audio interface Focusrite Scarlett 2i4 or a Presonus iTwo.
    When I start Garageband, it works well, the audio interfaces are recognized and I can record a track.
    As soon as I switch from instrumtent to track view, the audio path is completely disturbed and all I can hear is some noise from the speaker.
    Then I have to unplug the usb cable and plug it in again. Then audio works until I switch back to the instrument menu.
    When I use the headphone output only there is no problem with Garageband and everything works fine.
    Other applications audio applications don't show any error with each of the two audio interfaces.
    Any feedback is very much appreciated, thanks.
    Harald

    I have this exact issue.  However, I tried the Loopy app after after GB crashed and received an error message saying that core audio is not available.  Rebooting resolves but the problem repeats.  Any suggestions as to fixes?  Btw; I have no such problem with Ipad 2 and ios 7.

  • Constant & erratic "Page Load Error" with Safari and Firefox

    A week or two ago, I started getting constant "Page Load Errors" ('this page cannot be found', etc) when browsing with either Safari or Firefox. These are not dead sites that time out, but are very live (and cannot be summoned no matter how many times refresh)!
    Something is wrong on my computer's end: I have strong wireless, have tried connecting with ethernet, and have used a different network. All of these produce the same result, where about half of the sites I try to connect to are instantly declared as dead by any browser I use.
    I am not using any firewall, and have emptied both browser's caches.
    Any ideas would be greatly appreciated.
    Thanks!
    Cliff

    I'm having the same problem. It only happens at home over my DSL connection. Here is what I have tried and the results.
    This really started bothering me since I upgraded to a recent Macbook Pro. I tried my original MBP with Leopard and found it doing the same thing. I ended up testing from my G4 and it works fine. The problem occurs over wireless and wired. I tried changing my MTU size with no change. I thought it was DNS but changed to other DNS and it didn't make a difference. Happens in Safari and Firefox. I am thinking it has an effect on iTune store also. The problem goes away when I VPN in to work, comes back when I close the VPN.
    Just tonight I installed an clean 10.5 Leopard on my original MBP. Safari works perfectly. Instead of updating to 10.5.6, I download the 10.5.5 update. After updating the problem reappeared.
    Again, my G4 with latest Tiger update work fine and both Macbook Pros with the latest Leopard have a problem over my DLS connection. They work perfectly fine at work and other locations.
    Ted

Maybe you are looking for