WebSphere Portal and BOXI R2 PIK errors

Post Author: leonpc
CA Forum: Publishing
I have Business Objects installed on a system.  I am trying to install the JSR168 portlets on a WebSphere Portal server to access this BOXI R2 server.  I have followed the instructions and update the web.xml in the WEB-INF directory.  When I try and log into the BO server using the Document List portlet I get the following error:Unable to access the BusinessObjects Enterprise infrastructure at u201Cservernameu201C for u201Cusernameu201C. Contact your reporting administrator for assistance.When I take the URL as configured in the web.xml file and past it directly into a browser window, I can use the same username to log into the BOXI server. That tells me that the ID and the URL is valid.  Where can I find more information to troubleshoot the problem to see if I can fix it... Also any ideas of what can cause it? RegardsLeon  

Post Author: leonpc
CA Forum: Publishing
I have Business Objects installed on a system.  I am trying to install the JSR168 portlets on a WebSphere Portal server to access this BOXI R2 server.  I have followed the instructions and update the web.xml in the WEB-INF directory.  When I try and log into the BO server using the Document List portlet I get the following error:Unable to access the BusinessObjects Enterprise infrastructure at u201Cservernameu201C for u201Cusernameu201C. Contact your reporting administrator for assistance.When I take the URL as configured in the web.xml file and past it directly into a browser window, I can use the same username to log into the BOXI server. That tells me that the ID and the URL is valid.  Where can I find more information to troubleshoot the problem to see if I can fix it... Also any ideas of what can cause it? RegardsLeon  

Similar Messages

  • Webcenter Portal and UCM - Content Presenter Error

    Hello,
    I get an error while I'm adding a Content Presenter over the default resource catalog of my webcenter portal application and try to create content.
    When pressing the create content button a new browserpage opens and after beeing logged in to the Content Server the cs/resources/wcm/custom/sitestudio/contentwizard/webcenter/contentwizard.hcsp is called and this error message appears as an alert:
    "*this placeholder is restricted, but no region definitions have been specified*"
    Thanks for any advice!

    Looks like the configuration of UCM (SSXA) is not completed in your system. Take a look at this manual http://docs.oracle.com/cd/E23943_01/doc.1111/e13650/toc.htm to understand the relationship between region definitions and placeholders. Note that Content Presenter is just a client here (it's a matter of WebCenter Content configuration).

  • Oracle BI Portlet -Authentication Error  in WebSphere Portal

    We have deployed the oracle BI Portlet in WebSphere Portal Server.
    We have made necessary changes in the portlet.xml and created the credential vault to store user information as well .
    Our WebSpere Portal is integrated with LDAP Server .
    When the Portal Admin logs in he can see the reports in Oracle BI Portlet ......however a non admin user gets the following error message.
    Authentication error. Details: An invalid User Name or Password was entered.
    Can someone plz help.

    Hi
    I am trying to integrate OBIEE 10.1.3.4.1 with Websphere Portal.
    I perform following steps :
    1. Installed OBIEE and created a report at url "http://punitp63969d:9704/analytics/saw.dll?Dashboard"
    2. Modified portlet.xml of sawjsr168portlets.war as follows
    <preference>
    <name>oracle.bi.presentation.sawserver.URL</name>
    <value>http://punitp63969d:9704/analytics/saw.dll?Dashboard</value>
    <read-only>false</read-only>
    </preference>
    <preference>
    <name>oracle.bi.presentation.portlets.jsr168.reportui.AdminUserName</name>
    <value>Administrator</value>
    <read-only>false</read-only>
    </preference>
    <preference>
    <name>oracle.bi.presentation.portlets.jsr168.reportui.AdminPwd</name>
    <value>Administrator</value>
    <read-only>false</read-only>
    </preference>
    <preference>
    <name>oracle.bi.presentation.portlets.websphere.SuperuserSlotId</name>
    <value>sawseveradmin</value>
    <read-only>false</read-only>
    </preference>
    where Administrator/Administrator is user-id/password for OBIEE and
    sawseveradmin is name of credential vault in WebSphere-Portal.
    3. Deployed the war on WebSphere Portal and got portlet disable with following error in log :
    WSVR0200I: Starting application: PA_SAWReport
    9/4/09 18:42:52:067 IST 000001ff ApplicationMg A WSVR0204I: Application: PA_SAWReport Application build level: Unknown
    9/4/09 18:42:52:708 IST 000001ff WebGroup A SRVE0169I: Loading Web Module: SAWReport.
    9/4/09 18:42:52:973 IST 000001ff VirtualHost I SRVE0250I: Web Module SAWReport has been bound to default_host:10000,:80,:10002,:10015,:10016,:443,:10023,:10026,:10040,:10035.
    9/4/09 18:42:53:130 IST 000001ff ApplicationMg A WSVR0221I: Application started: PA_SAWReport
    9/4/09 18:42:59:692 IST 00000037 WebContainer E SRVE0255E: A WebGroup/Virtual Host to handle /searchfeed/myserver/scopes has not been defined.
    9/4/09 18:43:26:458 IST 00000037 WebContainer E SRVE0255E: A WebGroup/Virtual Host to handle /searchfeed/myserver/scopes has not been defined.
    9/4/09 18:43:50:318 IST 000000a5 ServletWrappe I SRVE0242I: PA_SAWReport [wps/PA_SAWReport] Oracle_Business_Intelligence_Report_View_Portlet: Initialization successful.
    9/4/09 18:43:50:521 IST 000000a5 MimeResponseI E com.ibm.ws.portletcontainer.core.impl.MimeResponseImpl getWriter EJPPC0176W: Invalid content type
    9/4/09 18:43:50:661 IST 000000a5 ServletWrappe E SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: Oracle_Business_Intelligence_Report_View_Portlet. Exception thrown : javax.servlet.ServletException: java.lang.IllegalStateException: No content type set.
    at com.ibm.ws.portletcontainer.invoker.impl.PortletServlet.doDispatch(PortletServlet.java:369)
    Caused by: java.lang.IllegalStateException: No content type set.
         at com.ibm.ws.portletcontainer.core.impl.MimeResponseImpl.getWriter(MimeResponseImpl.java:114)
         at com.siebel.analytics.web.portlets.jsr168.ReportUI.checkUser(ReportUI.java:852)
         at com.siebel.analytics.web.portlets.jsr168.ReportUI.doView(ReportUI.java:167)
         at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:328)
         at com.siebel.analytics.web.portlets.jsr168.ReportUI.doDispatch(ReportUI.java:1058)
         at javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
         at com.ibm.ws.portletcontainer.invoker.impl.PortletFilterChainImpl.doFilter(PortletFilterChainImpl.java:128)
         at com.ibm.wps.propertybroker.standard.filter.C2APortletFilter.doFilter(C2APortletFilter.java:185)
         at com.ibm.ws.portletcontainer.invoker.impl.PortletFilterChainImpl.doFilter(PortletFilterChainImpl.java:120)
         at com.ibm.ws.portletcontainer.invoker.impl.PortletServlet.doDispatch(PortletServlet.java:573)
         at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:114)
         at com.ibm.isclite.container.collaborator.PortletServletCollaborator.doRender(PortletServletCollaborator.java:68)
         at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:105)
         at com.ibm.ws.portletcontainer.rrd.RRDServerPortletServletCollaborator.doRender(RRDServerPortletServletCollaborator.java:123)
         at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:105)
         at com.ibm.ws.portletcontainer.cache.CacheCollaborator.doRender(CacheCollaborator.java:92)
         at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:105)
         at com.ibm.wps.pe.pc.waspc.core.impl.PortletServletCollaboratorImpl.doRender(PortletServletCollaboratorImpl.java:156)
         at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:105)
         at com.ibm.ws.portletcontainer.invoker.impl.PortletServlet.doDispatch(PortletServlet.java:273)
         ... 219 more
    Please help me resolve this issue.Thanks in advance.

  • Error integrating OBIEE portlet with WebSphere Portal

    Hi
    I am trying to integrate OBIEE 10.1.3.4.1 with Websphere Portal.
    I perform following steps :
    1. Installed OBIEE and created a report at url "http://punitp63969d:9704/analytics/saw.dll?Dashboard"
    2. Modified portlet.xml of sawjsr168portlets.war as follows
    <preference>
    <name>oracle.bi.presentation.sawserver.URL</name>
    <value>http://punitp63969d:9704/analytics/saw.dll?Dashboard</value>
    <read-only>false</read-only>
    </preference>
    <preference>
    <name>oracle.bi.presentation.portlets.jsr168.reportui.AdminUserName</name>
    <value>Administrator</value>
    <read-only>false</read-only>
    </preference>
    <preference>
    <name>oracle.bi.presentation.portlets.jsr168.reportui.AdminPwd</name>
    <value>Administrator</value>
    <read-only>false</read-only>
    </preference>
    <preference>
    <name>oracle.bi.presentation.portlets.websphere.SuperuserSlotId</name>
    <value>sawseveradmin</value>
    <read-only>false</read-only>
    </preference>
    where Administrator/Administrator is user-id/password for OBIEE and
    sawseveradmin is name of credential vault in WebSphere-Portal.
    3. Deployed the war on WebSphere Portal and got portlet disable with following error in log :
    WSVR0200I: Starting application: PA_SAWReport
    9/4/09 18:42:52:067 IST 000001ff ApplicationMg A WSVR0204I: Application: PA_SAWReport Application build level: Unknown
    9/4/09 18:42:52:708 IST 000001ff WebGroup A SRVE0169I: Loading Web Module: SAWReport.
    9/4/09 18:42:52:973 IST 000001ff VirtualHost I SRVE0250I: Web Module SAWReport has been bound to default_host:10000,:80,:10002,:10015,:10016,:443,:10023,:10026,:10040,:10035.
    9/4/09 18:42:53:130 IST 000001ff ApplicationMg A WSVR0221I: Application started: PA_SAWReport
    9/4/09 18:42:59:692 IST 00000037 WebContainer E SRVE0255E: A WebGroup/Virtual Host to handle /searchfeed/myserver/scopes has not been defined.
    9/4/09 18:43:26:458 IST 00000037 WebContainer E SRVE0255E: A WebGroup/Virtual Host to handle /searchfeed/myserver/scopes has not been defined.
    9/4/09 18:43:50:318 IST 000000a5 ServletWrappe I SRVE0242I: PA_SAWReport [wps/PA_SAWReport] Oracle_Business_Intelligence_Report_View_Portlet: Initialization successful.
    9/4/09 18:43:50:521 IST 000000a5 MimeResponseI E com.ibm.ws.portletcontainer.core.impl.MimeResponseImpl getWriter EJPPC0176W: Invalid content type
    9/4/09 18:43:50:661 IST 000000a5 ServletWrappe E SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: Oracle_Business_Intelligence_Report_View_Portlet. Exception thrown : javax.servlet.ServletException: java.lang.IllegalStateException: No content type set.
    at com.ibm.ws.portletcontainer.invoker.impl.PortletServlet.doDispatch(PortletServlet.java:369)
    Caused by: java.lang.IllegalStateException: No content type set.
    at com.ibm.ws.portletcontainer.core.impl.MimeResponseImpl.getWriter(MimeResponseImpl.java:114)
    at com.siebel.analytics.web.portlets.jsr168.ReportUI.checkUser(ReportUI.java:852)
    at com.siebel.analytics.web.portlets.jsr168.ReportUI.doView(ReportUI.java:167)
    at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:328)
    at com.siebel.analytics.web.portlets.jsr168.ReportUI.doDispatch(ReportUI.java:1058)
    at javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
    at com.ibm.ws.portletcontainer.invoker.impl.PortletFilterChainImpl.doFilter(PortletFilterChainImpl.java:128)
    at com.ibm.wps.propertybroker.standard.filter.C2APortletFilter.doFilter(C2APortletFilter.java:185)
    at com.ibm.ws.portletcontainer.invoker.impl.PortletFilterChainImpl.doFilter(PortletFilterChainImpl.java:120)
    at com.ibm.ws.portletcontainer.invoker.impl.PortletServlet.doDispatch(PortletServlet.java:573)
    at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:114)
    at com.ibm.isclite.container.collaborator.PortletServletCollaborator.doRender(PortletServletCollaborator.java:68)
    at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:105)
    at com.ibm.ws.portletcontainer.rrd.RRDServerPortletServletCollaborator.doRender(RRDServerPortletServletCollaborator.java:123)
    at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:105)
    at com.ibm.ws.portletcontainer.cache.CacheCollaborator.doRender(CacheCollaborator.java:92)
    at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:105)
    at com.ibm.wps.pe.pc.waspc.core.impl.PortletServletCollaboratorImpl.doRender(PortletServletCollaboratorImpl.java:156)
    at com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:105)
    at com.ibm.ws.portletcontainer.invoker.impl.PortletServlet.doDispatch(PortletServlet.java:273)
    ... 219 more
    Please help me resolve this issue.Thanks in advance.

    I'm getting the same error on WebSphere 6.1.5. Is there any solution for this?

  • Deploying ADF/JDeveloper portlets in WebSphere Portal

    I'd like to use ADF/JDeveloper to build my application, but my customer is already heavily invested on a WebSphere Portal deployment platform.  The JDeveloper/ADF documentation has extensive information on creating portlets in various ways, but they all seem focused exclusively on deploying in an Oracle platform.  I have tried both the "Standards-Based" as well as the "JSF Portlet Bridge".  I have tried to deploy the portlets in WebSphere Portal using both the generated WAR file, as well as by registering the WSRP producer.  None work.
    With the WAR file, WebSphere Portal seems to import the WAR file just fine, and I can add a portlet to a page, but the portlet always shows as "unavaiable"
    With the WSRP producer, I can get something to show in the page, but the functionality within the portlet doesn't seem to work.
    I've searched extensively, but cannot locate any documentation or use cases for deploying portlets from JDeveloper into WebSphere Portal.  Does anyone have any thoughts?

    Dvohra21, again, I apreciate the effort, but I think you're missing the fundamental question.
    You've given me two types of articles/links.  Some are generic WebSphere Portal documentation about deploying a portlet from a WAR file.  Others are Oracle articles about who to generate portlets in JDeveloper, with examples deploying in Oracle/WebLogic servers.   Unfortunately I don't have a problem with either of those.
    I CAN deploy a portlet WAR file in WebSphere Portal, and sucessfully add it to a Portal page.  I have done that with multiple WAR files generated from Rational Application Developer.
    I CAN produce a WAR file from JDeveloper, following the instructions in the same resources you included, plus a few others.
    The problem is, the WAR file from JDeveloper, does not successfully run on WebSphere Portal.  I create a simple Hello World portlet in JDeveloper, and I can generate a WAR file from it, and seemingly deploy to WebSphere Portal.   However when I add it to a Portal page, it always displays only a blank box with the text "This portlet is unavailable".  This is in the same exact portal page, where the portlet created with Rational Application Developer shows up just fine right along side it.
    Bottomline is, although there is a great deal of information an demos about generating portlets from JDeveloper within an Oracle environment, I could not find a SINGLE ONE, that goes through an end to end scenario where it is deployed in WebSphere Portal.  Nothing in this forum, nothing in Oracle docs, and nothing I can find on a Google search.

  • Difference Between IBM Websphere portal SAP  Portal

    Hi Everyone,
       Could anybody tell me whats the difference between IBM Websphere Portal and SAP Portal?
       And how IBM Websphere portal can be implemented in Netweaver Portal?
    Regards
      Sireesha.

    Hi Michal,
       I Know that its both are different products.
       Actually my question is What  can be done in the SAP portal and in the Websphere portal?
       How the organization would be benifited by implementing which portal ?
      i.e, do's and don's in the both the portals.
    Regards
    Sireesha.

  • OAM and WebSphere Portal 6.1 Integration

    I'm trying to integrate OAM 10g3 with WebSphere Portal 6.1 through the connector.
    I have successfully integrated the Application Server with TAI and is working fine.
    I am now trying to configure Portal but am getting an error when attempting to run the ConfigEngine.bat script file to update some properties.
    When I try to change the Portal Administrator, I keep "BUILD FAILED ... <dn of user> does not exist.
    The portal trace logs show:
    [1/5/11 14:34:47:898 EST] 0000009a exception E com.ibm.ws.wim.management.commands.SearchCommandProvider searchUsers(AbstractAdminCommand cmd) WAS_USER_REGISTRY_NOT_SUPPORTED
    com.ibm.websphere.wim.exception.WIMApplicationException: CWWIM5505E To manage users and groups, either federated repositories must be the current realm definition or the current realm definition configuration must match the federated repositories configuration. If you use Lightweight Directory Access Protocol (LDAP), configure both the federated repositories and standalone LDAP registry configurations to use the same LDAP server.
         at com.ibm.ws.wim.management.commands.SearchCommandProvider.searchUsers(SearchCommandProvider.java:80)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:618)
         at com.ibm.websphere.management.cmdframework.provider.SimpleCommandProvider.executeReal(SimpleCommandProvider.java:147)
         at com.ibm.websphere.management.cmdframework.provider.SimpleCommandProvider.execute(SimpleCommandProvider.java:133)
         at com.ibm.websphere.management.cmdframework.provider.SimpleAdminCommand.execute(SimpleAdminCommand.java:57)
         at com.ibm.ws.management.cmdframework.impl.RemoteCommandMgrImpl.execute(RemoteCommandMgrImpl.java:121)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:618)
         at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:68)
         at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:618)
         at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:271)
         at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1092)
         at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:973)
         at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:231)
         at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:238)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:833)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:802)
         at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1139)
         at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
         at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:1032)
         at com.ibm.ws.management.connector.AdminServiceDelegator.invoke(AdminServiceDelegator.java:139)
         at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:618)
         at com.ibm.ws.management.connector.soap.SOAPConnector.invoke(SOAPConnector.java:361)
         at com.ibm.ws.management.connector.soap.SOAPConnector.service(SOAPConnector.java:215)
         at com.ibm.ws.management.connector.soap.SOAPConnection.handleRequest(SOAPConnection.java:64)
         at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:742)
         at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:528)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)
    Anyone have any ideas?
    Thanks in advance.
    Raj

    Looks like the user registry setting/configuration is not correct. The Websphere provides 2 integration point to external apps - the TAI and the User Registry. While it looks that the TAI (Trust Association) configuration is okay, the user registry config is not correct. Please check and let us know what is given there in the user registry.
    Hope this helps. Let us know.

  • Servlet, Websphere Portal 5.1, Web Content Management and files

    Hi everybody,
    I created some contents in WCM and I need to store some files with them.
    Actually, I have an authoring template, with a text field containing the DocumentId of a LibraryFileComponent.
    Manipulating a content, I'm able to get the DocumentId of the LibraryFileComponent. With this DocumentId, I'm able to get the data (a byte array) and the file name.
    But I'm not able to get an URL to this component or to display the file on the screen (if it's an image for example)
    I tried this kind of thing
    Map parametermap = new HashMap();
    RenderingContext context = workspace.createRenderingContext(request, response, parametermap);
    context.setWcmServletPath("/connect"); // from PortalServer/wcm/config/aptrixjpe.properties - wcm.servlet.path
    context.setWcmWebAppPath("/wps/wcm"); // from PortalServer/wcm/config/aptrixjpe.properties - wcm.context.path
    context.setRenderedContent(myFile);
    System.err.println("ws.generateURL(context, fichier) : "+ws.generateURL(context, myFile));
    System.err.println("ws.render(context) : "+ws.render(context));And I get this :
    for generateURL : a bad URL with "null" in the middle of it
    for render : File Not Found
    I don't manage to get something better.
    So I want to do another way.
    As the real files are hidden, but not their data, when I use the method
    JavaDoc wrote: getFile()
    Returns the contents of the file contained within this component as a byte array.
    I obtain a byte[] containing the data... That's what I want to use.
    Method :
    Open a new navigator window
    put the good headers
    put the data
    That's what the page, which url is obtained by the render method, do. And that's what I want to reproduce
    So I did this
    public class GenereFileOneAction extends Action {
       public ActionForward execute
    (ActionMapping mapping, ActionForm form,HttpServletRequest request,HttpServletResponse response)
    throws Exception {
          String documentIdString=request.getParameter("id");
          Workspace ws=Outils.getWorkspace(request);
          try{
             DocumentId id=ws.createDocumentId(documentIdString);
             if (documentIdString.indexOf("LibraryImageComponent")>-1){
                LibraryImageComponent document=(LibraryImageComponent) ws.getById(id);
                if (document!=null){
                   genereFile(document, response);
             } else if (documentIdString.indexOf("LibraryFileComponent")>-1){
                LibraryFileComponent document=(LibraryFileComponent) ws.getById(id);
                if (document!=null){
                   genereFile(document, response);
          } catch (Throwable t){
             //t.printStackTrace();
          return null;
       public void genereFile(byte[] data, String fileName, HttpServletResponse response){
          System.err.println("genereFile(..., "+fileName+", "+response+")");
          String extension=null;
          String contentType=null;
          if (data!=null && fileName!=null){
             int posPoint=fileName.lastIndexOf('.');
             extension=fileName.substring(posPoint+1).toLowerCase();
             if (extension.equals("asf")) contentType="video/x-ms-asf";
             else if (extension.equals("avi")) contentType="video/avi";
             else if (extension.equals("doc")) contentType="application/msword";
             else if (extension.equals("zip")) contentType="application/zip";
             else if (extension.equals("xls")) contentType="application/vnd.ms-excel";
             else if (extension.equals("gif")) contentType="image/gif";
             else if (extension.equals("jpg")) contentType="image/jpeg";
             else if (extension.equals("jpeg")) contentType="image/jpeg";
             else if (extension.equals("wav")) contentType="audio/wav";
             else if (extension.equals("mp3")) contentType="audio/mpeg3";
             else if (extension.equals("mpg")) contentType="video/mpeg";
             else if (extension.equals("mpeg")) contentType="video/mpeg";
             else if (extension.equals("rtf")) contentType="application/rtf";
             else if (extension.equals("htm")) contentType="text/html";
             else if (extension.equals("html")) contentType="text/html";
             else if (extension.equals("asp")) contentType="text/asp";
             else contentType="application/octet-stream";
             response.reset();        
             response.setContentType(contentType);
             response.setContentLength(data.length);
             OutputStream os;
             try {
                os = response.getOutputStream();
                System.err.print("response="+response+", os = "+os+", data=");
                System.err.println(data+", extension="+extension+", contentType="+contentType);
                if (os!=null){
                   os.write(data);
                   os.flush();
                   os.close();
             } catch (Throwable t) {
                t.printStackTrace();
       public void genereFile(LibraryFileComponent file, HttpServletResponse response){
          System.err.println("genereFile("+file+", "+response+")");
          byte[] data=null;
          String fileName=null;
          if (file!=null){
             try {
                System.err.println("file!=null");
                data = file.getFile();
                fileName=file.getFileName();
                genereFile(data, fileName, response);
             } catch (Throwable t) {
                t.printStackTrace();
       public void genereFile(LibraryImageComponent file, HttpServletResponse response){
          System.err.println("genereFile("+file+", "+response+")");
          byte[] data=null;
          String fileName=null;
          if (file!=null){
             System.err.println("file!=null");
             try {
                data = file.getImage();
                fileName=file.getImageFileName();
                genereFile(data, fileName, response);
             } catch (Throwable t) {
                t.printStackTrace();
       }But the result is not the one I want.
    Here is my log
    genereFile(com.ibm.workplace.wcm.api.WCM_LibraryImageComponent@71373fd7, com.ibm.wps.struts.base.WpsStrutsPortletResponseWrapper@2a9ffd6)
    file!=null
    genereFile(..., 2004-06-24-02.jpg, com.ibm.wps.struts.base.WpsStrutsPortletResponseWrapper@2a9ffd6)
    response=com.ibm.wps.struts.base.WpsStrutsPortletResponseWrapper@2a9ffd6, os = null, data=[B@b26ffd0, extension=jpg, contentType=image/jpeg[/i]
    My questions are :
    - does any one knows why response.getOutputStream (either response.getWriter) returns null
    - when I click on a link to the action, the page on the screen is the last (just where I come from) but the Struts JavaDoc says about the execute methode
    Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it), with provision for handling exceptions thrown by the business logic. Return an ActionForward instance describing where and how control should be forwarded, or null if the response has already been completed.
    So do you think I might have a return in my genereFile methods ?
    Thank you

    I did as you suggested and removed the content from the web.xml file. The portlet installed and I was able to put it on a page, but it says the portlet is unavailable inside the portlet window on the portal page and here is the error from the log file
    Module, testjsr168New.war, of application, no id available_PA_1_0_2EA.ear/deployments/no id available_PA_1_0_2EA, failed to start
    [2/3/06 12:52:13:285 EST] 3c881c0e ApplicationMg W WSVR0101W: An error occurred starting, no id available_PA_1_0_2EA
    [2/3/06 12:52:13:293 EST] 3c881c0e ApplicationMg A WSVR0217I: Stopping application: no id available_PA_1_0_2EA
    [2/3/06 12:52:13:468 EST] 3c881c0e ApplicationMg A WSVR0220I: Application stopped: no id available_PA_1_0_2EA
    [2/3/06 12:52:13:479 EST] 3c881c0e TraceNLS u No message text associated with key Unable.to.start:.no.id.available_PA_1_0_2EA.using:.WebSphere:platform=common,cell=cdrrs1,version=5.0,name=ApplicationManager,mbeanIdentifier=ApplicationManager,type=ApplicationManager,node=cdrrs1,process=WebSphere_Portal.exception.is:.javax.management.MBeanException in bundle com.ibm.ws.management.resources.AppDeploymentMessages
    [2/3/06 12:52:13:479 EST] 3c881c0e AppManagement W Unable to start: no id available_PA_1_0_2EA using: WebSphere:platform=common,cell=cdrrs1,version=5.0,name=ApplicationManager,mbeanIdentifier=ApplicationManager,type=ApplicationManager,node=cdrrs1,process=WebSphere_Portal exception is: javax.management.MBeanException

  • OAM and Websphere Portal 6 Problems

    Hi,
    I've been trying to integrate OAM 10.1.4.2.0-BP09 with WebSphere Portal 6.0.
    I've followed the document from the latest connector 10.1.4.2.4 available on OTN, but seem to keep getting class not found error over and over again. Even if I resolve a class not found exception, it will throw another class not found exception for another missing class.
    I am running java 1.6 and any help would be greatly appreciated.

    Hi
    For which class it throws class not found exception? Based on that we can determine which jar file is not in the classpath or in the lib folder.
    Thanks
    Kiran Thakkar

  • My iTunes will not start.  The box on the error message APSDaemon.exe,  And message says "This application failed to start because MSVC80.dll was not found.  Reinstalling may fix."  I did the reinstall and I get the same error.

    My iTunes will not start.  The box on the error message APSDaemon.exe,  And message says "This application failed to start because MSVC80.dll was not found.  Reinstalling may fix."  I did the reinstall and I get the same error.  The error first happened after I approved the an iTurns update.

    Same problem today. Took five times to reinstall without any error messages. Apple has posted a way to fix and you should follow their's first. I finally got to upldate correctly by doing their fix but with one difference. I did the following:
    1) Went to the C:\program files (x86)\iTunes and C:\program files\iTunes folders and moved every file ending in .dll to the desktop (even if two files in same location had the same name, just replace)
    2) Restarted computer and still got error message
    3) Uninstalled all apple programs possible in the following order......itunes, apples software update, apple mobile device support, bonjour, and apple application support.....all performed using the microsoft control panel
    4) put all the .dll files on the desktop in the trash and emptied (this is a step apple support did not specifically put in their fix but for a final try I wanted to delete everything apple).
    5) Restarted computer.
    6) Re-installed itunes from apple website
    No error messages during re-install and was able to open shortcut in one try. Even updated my ipad to make sure everything was working.

  • Hi, i'm new using numbers, and when I try to open a excel file don't let me do it, instead appears a box whit a error and close app,  any help?

    Hi, i'm new using numbers, and when I try to open a excel file don't let me do it, instead appears a box whit a error and close app,  any help?

    What does the error say?
    A couple of thoughts: the file is corrupted or is password-protected. Corruption is more likely to cause Numbers to crash & Numbers cannot open password-protected Excel files. Try using one of the free Office clones & see what happens.

  • Error in SSO between Portal and IDM

    Hi All,
    In my scenario i need to configure the IDM workflow in portal and do SSO between them. I followed the steps given in IDM-Workflow installation document and did following things.
    1. Uploaded the par file available in IDM installation kit in to portal.
    2. Imported the Portal Content package (epa file) in to portal.I got the role Identity Center in my masthead.
    3. Created System as said in the document.
    4. Completed the necessary steps for transporting certificate between them.
    But when click on the role 'Identy Center' or do preview of any iViews of IDM i am getting the following error.
    Portal runtime error.
    An exception occurred while processing your request. Send the exception ID to your portal administrator.
    Exception ID: 05:58_06/12/08_0860_1657450
    Refer to the log file for details about this exception.
    Here is my default trace log for that exception id.
    #1.5 #0019BBDC2B650079000000440000161C00045D5E6D4D111F#1228560048914#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#tventhan#24261##n/a##e764b200c37c11ddca800019bbdc2b65#SAPEngine_Application_Thread[impl:3]_16##0#0#Error#1#/System/Server#Java###Exception ID: 05:58_06/12/08_0860_1657450
    [EXCEPTION]
    #1#com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
    Component : pcd:portal_content/com.sap.idm/iviews/workflow/com.sap.idm.workflow.home_overview
    Component class : com.sapportals.portal.sapapplication.SAPApplicationIntegratorComponent
    User : xxxxx
         at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:973)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:343)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception in SAP Application Integrator occured: Unable to parse template &\#39;&lt;System.protocol&gt;://&lt;System.hostname&gt;/&lt;System.appcontext&gt;/welcome.php?SAPIDStore=&lt;System.idstore&gt;&amp;wf_portal=1&\#39;; the problem occured at position 38. Cannot process expression &lt;System.appcontext&gt; because Invalid System Attribute:
    System:    &amp;\#39;SAP_LocalSystem&amp;\#39;,
    Attribute: &amp;\#39;appcontext&amp;\#39;.
         at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContentPass(AbstractIntegratorComponent.java:123)
         at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContent(AbstractIntegratorComponent.java:98)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.doPreview(AbstractPortalComponent.java:240)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:168)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         ... 29 more
    Please help me to get rid of this issue.
    Thanks & Regards,
    Tamil K

    Hi Tamil,
    Please have a look in your log
    Exception in SAP Application Integrator occured: Unable to parse template &\#39;<System.protocol>://<System.hostname>/<System.appcontext>/welcome.php?SAPIDStore=<System.idstore>&wf_portal=1&\#39;; the problem occured at position 38. Cannot process expression <System.appcontext> because Invalid System
    Please check the above values in system properties which are in bold
    regards
    Anand.M

  • HT204053 I changed my AppleID in System Preferences, but the old ID comes up under iCloud and I get an error box saying my "ID or password are incorrect".  How do I get rid of the old ID which now doesn't work with either my old or new password??

    I changed my AppleID in System Preferences, but the old ID comes up under iCloud and I get an error box saying my "ID or password are incorrect".  How do I get rid of the old ID which now doesn't work with either my old or new password??

    Yes that makes sense, however have you updated it at My Apple ID before trying to change it in your system preferences > iCloud settings, you must do that first.

  • E-rec  Errors in search of candidates in e-Recruiting portal and transactio

    Hi, please need help to:
    1. In e-Recruiting portal under the tab "recruiter":
    "Services-Candidates-Search for candidates" running "Search button" and are 3 internal error (no detail of the error).
    If we ignore the errors and rerun the "Search button" then we appear 1 internal error and a message that "No data available", but we know that there are candidates in the SAP R / 3.
    2. When we execute the transaction SLG1 in SAP R / 3 are the following errors:
    Fatal error, see log
    An exception has been detected in e-Recruiting.
    An exception has been detected in relation to the search mask
    Technical Details
    error ID: 3C466BE84D30748BE10000000A1145AF
    Class of error: CX_HRRCF_SEARCH_MASK
    context error: CX_HRRCF_SEARCH_MASK
    Error in the program emerged
    CL_HRRCF_SEARCH_MASK_GROUP====CM003 line 40
    An exception has been detected in e-Recruiting.
    CL_HRRCF_SEARCH_MASK_GROUP====CPCL_HRRCF_SEARCH_MASK_GROUP====CM00340
    Technical Details
    error ID: 3C466BE84D30748BE10000000A1145AF
    Class of error: CX_HRRCF_SEARCH_MASK
    context error: CX_HRRCF_SEARCH_MASK
    Thanks.

    Thanks Shane LaBonte,
    Package Bussines. We have the following installed:
    RECRUIT 1.40 for BP ERP Recruiter
    ADMIN RECRUITING BP 1.40 for ERP Administrator Functionality
    ERP05 BP 1.41 COMMON PARTS
    MSS ERP05 BP for Manager Self Service 1.41
    ESS ERP05 BP for Employee Self Service 1.41
    We have activated 4. (we EHP4)
    HCM_ERC_CI_1
    HCM_ERC_CI_2
    HCM_ERC_CI_3
    HCM_ERC_SES_1
    Is there anything else we should take account?
    Regard

  • Oracle and  WebSphere Portal

    I have Oracle 10g (10.2.0.1) running on Windows 2003 Server R2, and as client WebSphere Portal ,WS use a pool of connection. When I shutdown and start up Oracle Server I see that Listener in Database Control have 4.000 Connectin for Minute. Can someboy if it is normal ?
    What can I test ?

    I have Oracle 10g (10.2.0.1) running on Windows 2003 Server R2, and as client WebSphere Portal ,WS use a pool of connection.
    When I shutdown and start up Oracle Server I see that Listener in Database Control have 4.000 Connectin for Minute.
    Can someboy if it is normal ?Ask the folks who configured WebSphere Portal how big is the Connection Pool.
    What can I test ?Test how long it takes to log into the application.

Maybe you are looking for