Which portal server is my app using?

Hello all,
In my jsp dyn page java application, what code would I use to figure out which physical portal server I am connected to? I realize that I could find the server node number from the saplb_* cookie, but I really don't want to mess with having to translate that.
Thanks!
-StephenS

Hi Stephen,
Try following code:
String systemID = System.getProperty("SAPSYSTEMNAME");
//for Instance Info or for Server info
System.getProperty("Host");
The instance host name.
System.getProperty("HttpPort");
The HTTP port.
System.getProperty("HttpsPort");
The HTTPS port.
System.getProperty("Name");
The name of the instance.
System.getProperty("Description");
for complete list of properties visit:-
http://help.sap.com/saphelp_nw04/helpdata/en/18/58dc3efc966856e10000000a114084/frameset.htm
this solves your problem...
Regards,
yogesh...

Similar Messages

  • Error on running the .portal on the weblogic portal server 10.3.2 using jsf

    Hi,
    This are the below file that i have included in the project
    login.jspx
    <jsp:root version="1.2" xmlns:jsp="http://java.sun.com/JSP/Page"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:ice="http://www.icesoft.com/icefaces/component">
    <jsp:directive.page contentType="text/html;charset=utf-8" />
    <f:view>
    <ice:outputDeclaration doctypeRoot="HTML"
    doctypePublic="-//W3C//DTD HTML 4.01 Transitional//EN"
    doctypeSystem="http://www.w3.org/TR/html4/loose.dtd" />
    <html>
    <head>
    <title>ICEfaces,Login Portlet</title>
    <link rel="stylesheet" type="text/css"
    href="./xmlhttp/css/rime/rime.css" />
    </head>
    <body>
    <ice:portlet>
    <ice:outputText value="Welcome to ICEfaces." />
    <ice:form>
    <ice:outputText value="Username" />
    <ice:inputText id="name_t" value="#{Login.userName}"></ice:inputText>
    <ice:outputText value="Password"/>
    <ice:inputText id="password_t" value="#{Login.password}"></ice:inputText>
    <ice:commandButton action="#{Login.checkUserPass}" value="OK"></ice:commandButton>
    </ice:form>
    </ice:portlet>
    </body>
    </html>
    </f:view>
    </jsp:root>
    faces-config.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <faces-config
    xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd"
    version="1.2">
    <application>
    <view-handler>
    com.icesoft.faces.facelets.D2DFaceletViewHandler
    </view-handler>
    <locale-config>
    <supported-locale>de</supported-locale>
    <supported-locale>en</supported-locale>
    </locale-config>
    </application>
    <managed-bean>
    <managed-bean-name>Login</managed-bean-name>
    <managed-bean-class>com.pack.login.Login</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    <managed-property>
    <property-name>userName</property-name>
    <property-class>java.lang.String</property-class>
    <value></value>
    </managed-property>
    <managed-property>
    <property-name>password</property-name>
    <property-class>java.lang.String</property-class>
    <value></value>
    </managed-property>
    </managed-bean>
    <navigation-rule>
    <from-view-id>/login.jspx</from-view-id>
    <navigation-case>
    <from-outcome>success</from-outcome>
    <to-view-id>/success.iface</to-view-id>
    </navigation-case>
    <navigation-case>
    <from-outcome>failure</from-outcome>
    <to-view-id>/failure.iface</to-view-id>
    </navigation-case>
    </navigation-rule>
    </faces-config>
    portlet.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <faces-config
    xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd"
    version="1.2">
    <application>
    <view-handler>
    com.icesoft.faces.facelets.D2DFaceletViewHandler
    </view-handler>
    <locale-config>
    <supported-locale>de</supported-locale>
    <supported-locale>en</supported-locale>
    </locale-config>
    </application>
    <managed-bean>
    <managed-bean-name>Login</managed-bean-name>
    <managed-bean-class>com.pack.login.Login</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    <managed-property>
    <property-name>userName</property-name>
    <property-class>java.lang.String</property-class>
    <value></value>
    </managed-property>
    <managed-property>
    <property-name>password</property-name>
    <property-class>java.lang.String</property-class>
    <value></value>
    </managed-property>
    </managed-bean>
    <navigation-rule>
    <from-view-id>/login.jspx</from-view-id>
    <navigation-case>
    <from-outcome>success</from-outcome>
    <to-view-id>/success.iface</to-view-id>
    </navigation-case>
    <navigation-case>
    <from-outcome>failure</from-outcome>
    <to-view-id>/failure.iface</to-view-id>
    </navigation-case>
    </navigation-rule>
    </faces-config>
    Login.java
    package com.pack.login;
    import javax.faces.application.FacesMessage;
    import javax.faces.context.FacesContext;
    public class Login {
    public String getUserName() {
    return userName;
    public void setUserName(String userName) {
    this.userName = userName;
    public String getPassword() {
    return password;
    public void setPassword(String password) {
    this.password = password;
    private String userName;
    private String password;
    public String checkUserPass(){
    FacesContext facesContext = FacesContext.getCurrentInstance();
    if("icefaces".equals(getUserName()) && "icefaces".equals(getPassword())) {
    return"success";
    FacesMessage facesMessage = new FacesMessage(
    "You have entered an invalid user name and/or password");
    facesContext.addMessage("Login", facesMessage);
    return "failure";
    What are the classes or interfaces that we need to use to render the content and to the process the action in jsf-portlet + icefaces libraris + weblogic portal server 10.3.2
    I have created the .portal file and i have included the instance of the .portlet file in the portal page. When i run .portal file on the server it will throw the below exception.
    <Warning> <netuix> <BEA-423319> <A default JSP response character encoding was not found for webapp [Portal]. Defaulting to [UTF-8]. You can override this default response character encoding for all portals in netuix-config.xml or for each portal or desktop in each portal or desktop definition.>
    12, 2010 9:57:05 AM com.sun.faces.lifecycle.Phase doPhase
    SEVERE: JSF1054: (Phase ID: RENDER_RESPONSE 6, View ID: /login.jspx) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@18fddac]
    <Error> <netuix> <BEA-423405> <An exception [java.lang.NullPointerException] was thrown while rendering the content at [login.jspx].
    javax.faces.FacesException: java.lang.NullPointerException
    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:128)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
    at com.bea.portlet.adapter.faces.FacesContentStubImpl.render(FacesContentStubImpl.java:354)
    at com.bea.netuix.servlets.controls.content.FacesContent.beginRender(FacesContent.java:424)
    at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:485)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.NullPointerException
    at com.sun.faces.renderkit.RenderKitImpl.createResponseWriter(RenderKitImpl.java:188)
    at com.icesoft.faces.renderkit.D2DRenderKit.createResponseWriter(D2DRenderKit.java:87)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:194)
    at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
    at org.apache.myfaces.portlet.faces.application.PortletViewHandlerImpl.renderView(PortletViewHandlerImpl.java:257)
    Truncated. see log file for complete stacktrace
    >
    <Error> <netuix> <BEA-423137> <There was an error loading the requested URI /login.jspx.>
    Login Error opening /login.jspx.
    The source of this error is:
    javax.faces.FacesException: java.lang.NullPointerException
    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:128)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
    at com.bea.portlet.adapter.faces.FacesContentStubImpl.render(FacesContentStubImpl.java:354)
    at com.bea.netuix.servlets.controls.content.FacesContent.beginRender(FacesContent.java:424)
    at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:485)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:399)
    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.run(Lifecycle.java:326)
    at com.bea.netuix.nf.UIControl.render(UIControl.java:582)
    at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:488)
    at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:152)
    at com.bea.netuix.servlets.jsp.taglib.skeleton.Child.doTag(Child.java:63)
    at jsp_servlet._framework._skeletons._bighorn.__flowlayout._jspService(__flowlayout.java:175)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:502)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:429)
    at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:148)
    at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72)
    at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65)
    at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:481)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:399)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
    at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:208)
    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:168)
    at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:465)
    at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:291)
    at com.bea.netuix.servlets.manager.UIServlet.doGet(UIServlet.java:231)
    at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:216)
    at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:275)
    at com.bea.netuix.servlets.manager.PortalServlet.service(PortalServlet.java:719)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:336)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at com.bea.content.manager.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:178)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.NullPointerException
    at com.sun.faces.renderkit.RenderKitImpl.createResponseWriter(RenderKitImpl.java:188)
    at com.icesoft.faces.renderkit.D2DRenderKit.createResponseWriter(D2DRenderKit.java:87)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:194)
    at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
    at org.apache.myfaces.portlet.faces.application.PortletViewHandlerImpl.renderView(PortletViewHandlerImpl.java:257)
    at com.bea.portlet.adapter.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:77)
    at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:151)
    at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:151)
    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:109)
    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
    ... 71 more
    I have created the .portal file and i have included the instance of the .portlet file in the portal page. When i run .portal file on the server it will throw the below exception.
    <Warning> <netuix> <BEA-423319> <A default JSP response character encoding was not found for webapp [Portal]. Defaulting to [UTF-8]. You can override this default response character encoding for all portals in netuix-config.xml or for each portal or desktop in each portal or desktop definition.>
    12, 2010 9:57:05 AM com.sun.faces.lifecycle.Phase doPhase
    SEVERE: JSF1054: (Phase ID: RENDER_RESPONSE 6, View ID: /login.jspx) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@18fddac]
    <Error> <netuix> <BEA-423405> <An exception [java.lang.NullPointerException] was thrown while rendering the content at [login.jspx].
    javax.faces.FacesException: java.lang.NullPointerException
    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:128)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
    at com.bea.portlet.adapter.faces.FacesContentStubImpl.render(FacesContentStubImpl.java:354)
    at com.bea.netuix.servlets.controls.content.FacesContent.beginRender(FacesContent.java:424)
    at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:485)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.NullPointerException
    at com.sun.faces.renderkit.RenderKitImpl.createResponseWriter(RenderKitImpl.java:188)
    at com.icesoft.faces.renderkit.D2DRenderKit.createResponseWriter(D2DRenderKit.java:87)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:194)
    at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
    at org.apache.myfaces.portlet.faces.application.PortletViewHandlerImpl.renderView(PortletViewHandlerImpl.java:257)
    Truncated. see log file for complete stacktrace
    >
    <Error> <netuix> <BEA-423137> <There was an error loading the requested URI /login.jspx.>
    Login Error opening /login.jspx.
    The source of this error is:
    javax.faces.FacesException: java.lang.NullPointerException
    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:128)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
    at com.bea.portlet.adapter.faces.FacesContentStubImpl.render(FacesContentStubImpl.java:354)
    at com.bea.netuix.servlets.controls.content.FacesContent.beginRender(FacesContent.java:424)
    at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:485)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:399)
    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.run(Lifecycle.java:326)
    at com.bea.netuix.nf.UIControl.render(UIControl.java:582)
    at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:488)
    at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:152)
    at com.bea.netuix.servlets.jsp.taglib.skeleton.Child.doTag(Child.java:63)
    at jsp_servlet._framework._skeletons._bighorn.__flowlayout._jspService(__flowlayout.java:175)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:502)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:429)
    at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:148)
    at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72)
    at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65)
    at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:481)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:399)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
    at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:208)
    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:168)
    at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:465)
    at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:291)
    at com.bea.netuix.servlets.manager.UIServlet.doGet(UIServlet.java:231)
    at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:216)
    at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:275)
    at com.bea.netuix.servlets.manager.PortalServlet.service(PortalServlet.java:719)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:336)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at com.bea.content.manager.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:178)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.NullPointerException
    at com.sun.faces.renderkit.RenderKitImpl.createResponseWriter(RenderKitImpl.java:188)
    at com.icesoft.faces.renderkit.D2DRenderKit.createResponseWriter(D2DRenderKit.java:87)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:194)
    at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
    at org.apache.myfaces.portlet.faces.application.PortletViewHandlerImpl.renderView(PortletViewHandlerImpl.java:257)
    at com.bea.portlet.adapter.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:77)
    at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:151)
    at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:151)
    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:109)
    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
    ... 71 more
    Thanks in advance.

    First you install a JDK6 version after which you can install your WebLogic and Forms, Reports...
    A step-by-step example is presented here: http://middlewaremagic.com/weblogic/?p=7265
    Look in the 'Install WebLogic' section. Note that you probably do not have to create a separate user,
    also you can use HotSpot instead of JRockit.

  • HT204053 My wife and I have one Apple ID through which we have individually purchased apps using our own iPads. We both now have our own iCloud accounts. How do we separate the original apps between the two iCloud accounts? Will we lose any apps in the pr

    My wife and I have one Apple ID through which we have individually purchased apps for her iPad and my iPad 2. We both now have individual iCloud accounts, and she now has an iPhone. For business reasons we now have to separate the apps under our individual iCloud accounts, but will maintain a single Apple ID for purchases. How can we separate the apps?

    Hi Shadow,
    The apps are forever tied to the Apple ID that they were purchased under. Your iCloud accounts are also Apple IDs, so although you can sync the apps to your individual device via iTunes, you will be syncing them to the devices, not to iCloud.
    Since you are still purchasing everything under one Apple ID, then I'm presuming that they live in a single iTunes library on your computer or Mac? If that is the case, then you would just want to:
    Hook up a device to the Mac or computer
    Select the device when it shows up under devices
    Once selected, the Device Profile screens display to the right - click on the Apps tab, and select which ones you want on that device.
    Also check all the other profile pages to make sure they are set up to sync the things you want to sync to that device.
    On the info page, you will see that you can sync Contacts & Calendars via iCloud or via iTunes. If you want a single source for contacts & calendars for both of your devices, sync them via iTunes. If you want your own sets of contacts & calendars, sync them via iCloud.
    Do you have iCloud set up on the computer or Mac? If so, which iCloud account are you planning on using?
    Some of the decisions you will want to make will depend on how you have your computer or Mac configured in conjunction with iTunes. One Apple ID, but one or two User Accounts for the computer or Mac? iCloud on the computer or Mac? What do you want to share and to not share?
    Post back with any questions.
    Cheers,
    GB

  • Which font does the Dictionary app use?

    I've got a new Mac Pro, and the font for the Dictionary app is incorrect - it's a sans serif, and pretty ugly, whereas before it was a much more attractive serif font. I did a clean install, so unless I've got a corrupted font, there's no reason why this should happen. Does anyone know which font the Dictionary app should use?
    Thanks,
    Kirk
    Mac Pro   Mac OS X (10.4.7)  

    Hi, Kirk.
    On my Mac, the primary font for Dictionary is the Baskerville family of fonts, which are serif fonts. The font itself is the Baskerville.dfont file in the Macintosh HD > LIbrary > Fonts directory. It also employs Helvetica Neue, a sans-serif font, for some elements of definitions.
    Dictionary does not have a preference for changing the default font, just the font size. The actual specification of Baskerville is done in the Default.csss file for Dictionary, in the Resources subfolder of the Contents folder of the Dictionary.app bundle (Control-click Dictionary and select "Show Package Contents"). Dictionary is actually a stripped-down Web browser and its documents are formatted in HTML. The Default.css file is the Cascading Style Sheet (CSS) used for formatting the appearance of Dictionary definitions, including the fonts to use by default.
    If you don't have the fonts specified in its CSS, it would substitute other fonts.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

  • Authentication in weblogic portal server 8.1 sp2 using external LDAP

    Hi,
    I am trying to use external LDAP for authentication.
    I have configured the ActiveDirectoryAuthenticator giving the necessary
    values
    ( and added
    "-Dcom.bea.p13n.usermgmt.AuthenticationProviderName=ActiveDirectoryAuthentic
    ator" in startWeblgoic.cmd )
    and can see the users and the groups from my LDAP provider in the admin
    console and in the admin portal's "users and groups".
    A set of users are given permission to access the restricted site and those
    users are visible in the global role with the permission.
    The web.xml is configured for BASIC auth-method, and the role is
    <externally-defined/> in weblogic.xml.
    Now when I access a restricted page, I am shown a dialog prompt to key in
    the username and password.
    Even when I key in the valid credentials, the restricted page is not shown
    and an "Unauthorized xxx" 401 access error is thrown.
    Any clue, on what i am missing.?
    Please let me know if any suggestion / idea.
    Regards,
    Arun.

    Assuming your application is a WebLogic Portal application, then yes you would definitely need to install WLP 8.1. WLP version 8.1 is the only version of WLP that will run on WLS/WLW version 8.1.
    In order to obtain the product installer, you'll need to contact Oracle Support and file a request. It is not available for download from any Oracle public site. Only version 10.3 is available for download.
    Brad

  • Which Exchange server license can I use with an Exchange Standard SAL?

    Hi All,
    We have a customer that has Exchange Standard SAL. We installed the Standrad license on the server, but now I want to have more than 5 databases due the number of mailboxes that the customer has. With the SAL licensing, the servers license is not needed, but,
    Can I change the server to the Enterprise license when I'm using Standard user licenses?
    Thanks!
    Manel

    Hi,
    Software license isn't universal for whole world. The license content is different for countries
    or regions.
    If you have questions about license, please contact local Microsoft customer support to confirm.
    Thanks for your understanding.
    Best regards,
    Belinda Ma
    TechNet Community Support

  • How can I create a portal server authentication user with a batch

    hi,
    I am trying to import users into the portal server emulating the create user procedure as plumtree. What I cannot understand at the moment is which classes are involved in the sequence of creating a user.
    the problem starts from the fact that I have used a synch WS and it works but, being the table a dummy one and the users to be authenticated by the portal server, I couldn't use that synch as a definitive.
    I tryed using plumtree.server.CIPTUser class with no success. could not understand how to actually create the user after setting the parameters to the object.
    Is there any documentation explaining how to create the portal server emulation of create user. this could be usefull for all those cases when there is no central repository of user and passwords.
    thanks
    Mario

    This should get you started.
    IPTUser=IPTSession.GetUsers.Create(iAdminFolderID)
    IPTServerContext=IPTUser.GetInterFaces("IPTServerContext")
    IPTServercontext.Store
    This is a high level implementation. It should get you very close.
    thanks,
    Craig

  • BEA Portal 7.0 configure to use ActiveDirectoryAuthenticator

    Hi Folk:
    Could anyone have any ideas how or show me the documentation where I can change
    the Sample Portal Server to use a different Realm in the Portal Server ?
    I have read the portal server is by default using Database Realm, which config
    file and setting in the portal server dicatate it to use the Database Realm.
    In that place, can I just simply change it o use other Realm such as the CompatibilityRealm.
    I have added the ActiveDirectoryAuthenticator in the CompatibilityRealm that is
    come with Weblogic 7.0.2. I understand I need to added the sysadmin group and
    sysadministrator user to the ActiveDirectory server.
    Any help is greatly appreciated !!
    Best Regards
    Herman

    Correction:  These are *.epa files, not *.ear files.  In our DEV system, I can use SDM and look at the *.ear files that were deployed but on our QA & PROD systems, we use export/import of *.epa files and therefore there is no SDM involved.
    I found the following comment in "How to ... Transport EP 6.0 Content" on Pg 21, "It is not possible to undeploy a transport package from the SDM since the SDM cannot access PCD tables to remove deployed content."
    So, this leads me to believe that in QA and PROD there is no "undeploy".  So is it thorough to go to Portal Content Directory and just right click > Delete on a folder to remove custom content we've imported?

  • Portal server Installation

    Hi All,
    I am trying to install Portal server in my machine using BS_2005_SR3_SAP_Installation_Master.
    At the time of installation I didnu2019t get the "SAP Systems" Folder in the SAP GUI list screen at the "Choose Service" step to define "Central System".
    Please share your view on the issue. I'm using portal; server dumps in place of istallation CDs, which i don't have.
    If possible please share installation steps and proper installation master for 32bit OS.
    Thanks!!!
    Deepak

    Have you had a look at the installation guide? There everything should be described in detail.
    Anja

  • Survey : Features of Sun Portal Server 7

    Dear All,
    I am doing a survey on the user friendlinest as well as the features of the sun portal server 7.
    1. What is the feature that attracts you the most? Why?
    2. What is the feature that least attracts you? Why?
    3. What is the ranking given on GUI design based on usability & friendlinest ? (1-5 ; 1 being the highest)
    Please add on anything that you feel important. Your feedback will be our deciding factor on implementing this portal.
    Really appreciate the feedback.
    Sincere Regards,
    Easwary
    Message was edited by:
    easwary

    Love the wiki portlet feature in sun portal server .. It uses jspwiki and has xinha HTML Editor (with insert portlet option where in you can insert any portlet channel within your wiki page)
    If you are considering more community features then probably you should have a look at 7.1u1 (to be released soon) which is web2.0 rich
    More here..
    http://developers.sun.com/portalserver/reference/faqs/index.jsp#q1
    https://portal.dev.java.net/public/Roadmap.html

  • Need info to configure SSL for Portal Server in EP6SP2

    Hello,
    We need to configure SSL for Portal Server. We are using J2EE 6.20 Patch 25 and EP6SP2P4. The ITS is already using https and it creats lots of Session issues since Portal is not in https.
    Is there any OSS Note or How to guide to configure Portal to use SSL.
    Thanks.
    - PK

    Hi Marcel,
    Thanx for your Post, I have a Question, we will use CISCO for load balancing and SSL termination but I have a big issue, the URL in the portal applciation is always the same ant the URL in the borwser, I guess al the other URL´s are in the Frames, how will we configure the SSL termination for the login page in example if the URL in the Browser appears always the same?
    Thanx in Advanced!!!

  • MVC implimentation with Sun ONE Portal server 6.0

    Hi friends,
    As I am starting to build a few channels for the Portal Server. What I want is to have a JSP channel (JSPProvider), that initiates the first page, but the anything that gets submited by this page will be controlled by a servlet that invokes model (somthing like struts). So far, I haven't been able to do this as I don't know how to with the portal. What I've managed is to hack it by submiting back to itself with some parameters and then use <jsp:include/> to include a different page.
    As you know, I know it's a hack, I'd like to know if there is a proper way to do this? such as somehow extends DesktopServlet so when we do <form action="subclassofdt"> it'll work OK?
    Note that, I want the page to stay within the portal (not opening a new browser and then using normal web server stuff to handle this). The portal server that we are using is on a web server (not on the application server).
    Please help, some code would be really helpful.
    Thanks & regards,
    Thinh

    Again, thanks Alex for the reply. What I am confusing about is how do we get the desktop servlet to renders JSP pages in the portal.
    For example Test.jsp
    <form action="/anotherservlet/" method="post">
    <input type="submit" value="submit">
    </form>
    If we do this, how does the desktop servlet renders the page when we click on Submit? It'll just have to go to a new page (without portal context or portal pages and just normal web pages).
    Another include that I tried is
    Test.jsp
    <%
    if (request.getParameter("nextJSP") != null) {
    %>
    <jsp:include file="Test2.jsp" flush="true"/>
    <%
    %>
    <form action="dt" method="post">
    <input type="hidden" name="nextJSP" value="Test2.jsp">
    etc..
    <input type="submit" value="Submit"
    </form>
    However, doing this inside a JSP is kind of hacking, I'd like to do proper MVC as in Struts based applications .
    Thanks & regards,
    Thinh
    Hi,
    MVC with portal 6.0 :
    - JSP Channel as "View",
    - uses JavaBean as "Controller"
    - to interact with "Model".
    Now instead of JavaBean you have servlet
    running on the same container. It seems, that
    you only need a JSP-proxy.
    (Also you can try to forward in the jsp)
    Cheers,
    Alex :-)

  • Sun ONE Portal Server 6.0 and struts.

    Hi all,
    Has anyone tried using struts with Portal Server?
    Can we use/migrate struts application to Portal Server 6.0?
    As far as I know both uses one gateway servlet.
    Pelase reply.
    Thanks.

    Hi,
    The problem with integration of struts based
    applications is usually the project funding :-)
    There is no generic struts provider, only some
    custom build pieces...
    I guess that is the reason, why "zero effort" proxy
    of a struts application via IFrame channel is the
    most implemented integration.
    Cheers,
    Alex :-)

  • Portal Server 3.0SP3A + PDC + IE5.5

    I've enable the PDC auth in portal server 3.0sp3a and use client cert. auth. to the gateway & portal using IE 5.5. After the auth. is succeed and a random period of time, the browser prompt me to enter password again to present the client cert. for auth. Is there any workaround to overcome this problem without changing my IE security setting (i.e. change the setting that dosen't require password for using the client cert).
    Thanks
    Clive Chan

    How are you able to determine that the auth succeeded ?
    Is the DesktopServlet displayed after the first time
    you enter your password ?
    If the DesktopServlet is being displayed, do any of
    the URLs or applications being rendered require the
    certificate?
    Can you enable "message" debugging on your server and
    tail the iwtAuthCert log during your login and paste
    the entries for us to view?
    Thanks!
    Satish

  • !!! Integration UWC Webmail with Portal Server

    Hello There...
    How can I integrate UWC Webmail with Portal Server. I"m using SJS Portal Server 6 2005Q1. I've configured a CHANNEL extending a IFRAME provider in order to open the webmail in the same window. But when I click on the "UWC Webmail" tab the Portal Server gets the user credentials and starts loading the webmail and stops without any error. If I open another window or tab it works proving the authentication process works fine.
    Thanks in advance...
    Jeff!

    Hi Jeff,
    Have you tried using the UWC channels that the portal ships out of the box?
    Portal Server 6 2005Q1 ships with a channel - UWCMail. Add this channel to your desktop, and provide the Messaging server details and user credentials in the channel edit screen. This channel will display a list of emails and also provide links to open the UWC webmail.
    Look at the "To Configure New Communications Express Channels" section of this guide - http://docs.sun.com/source/819-2201/index.html. The communications products (Messaging, Calendar, UWC) will have to configured as explained in this guide for the single signon to work.
    Butwhen I click on the "UWC Webmail" tab the Portal Server gets the user credentials and starts loading the webmail and stops without any error.I'm not clear what you mean by this, so can't comment. A little more detail will help.

Maybe you are looking for

  • Using the Hard drive space

    I want to buy a classic iPod either 80 or 160gb, but my question is my setup. I have a laptop with only a 60gb hard drive with an external 500gb hard drive. Will I be able to use my external drive to house my itunes files so I can use all 160gb?

  • Adobe Exchange not loading in CS6

    I am attempting to install Adobe Exchange in Photoshop CS6. I am able to download the "AdobeExchange_cs6.zxp" installer and use the Extension Manager to "load" it, and it does show up in the extensions list for Photoshop. But it is not available unde

  • Assign bidder to product category - what does this do?

    Hi, we are running SRM 7.0205, and using the bidding engine. in the business partner master data, there is a "bidder data" tab and has an area to add product categories to a bidder.  What does this do?  If I assign product categories to a bidder, doe

  • I can't open files with Pages

    Im having problems with Pages. when I open the application, I don't see the window that allows me to pick files to open from my computer or the icloud.

  • Tmxgta, a new installer including the guide in ncurses

    tmxgta, a new installer made for comfortably reading instructions alongside your terminal. The included guide covers the complete archwiki page "Beginners' Guide/Installation". Everything is written in bash, and is licensed under GNU Free Documentati