Weblogic to serve http pages
Hi All,
I have limited experience with weblogic and I require some assistance. We have recently upgraded our OMS instance from 10.2.0 to 11.2.0.2.
Oracle Enterprise Manager Grid Console 11.1.0.1.0
I used to be able to serve basic html pages by changing the document root to my directory in httpd.conf
DocumentRoot "/usr/local/mydir"
However with the new layout and setup of weblogic I'm struggling to know where to start.
Can someone give me a brief rundown on how to do this? Ie what file to change, what port to use etc.
Thanks in advance,
Brett
Edited by: Brett p on 08-Aug-2011 20:04
Hi Brett,
Have a look at this:
http://blogs.oracle.com/csoto/entry/using_weblogic_server_to_simply
Regards Peter
Similar Messages
-
Administrator Login & Issue with Weblogic Admin Server Console
I recently applied a PeopleTools patch to a test environment. I will be doing this to production soon, and as I was going through my screenshots of what I did in test, I ran across an area that may cause me an issue when I apply it to production.
There is a screen which prompts you for the administrator login and password for the weblogic domain. I wasn't sure of this when I did it in test, but in the PeopleTools install doc, it said the default is system/Passw0rd
This worked fine in test. However, the person who set this up in production may have used a different password. I don't want to get halfway through the patch and have to abort because I don't know the password.
I did some research and read there was a file with this info. I think it was boot.properties, but it was encrypted.
I then started the Weblogic Admin Server Console in test and was able to login with system/Passsw0rd so that verified a way of confirming the password in test.
I tried to do the same in production, but the Weblogic Admin Server Console page does not come up. The webserver is running, and if it wasn't, my phone would be ringing. Why does the console not come up?
However, the screen that comes up during the patch that prompts you for this asks you to enter your password, and re-enter it on the next line, so maybe its setting the password, not verifying that you know it. Is this true, I could make it whatever I want?
The WebLogicAdmin_weblogic.log file has not been updated in months. This may have been when we did the last upgrade.
Can you tell me how to determine/verify this password?
Thanks,
RogerI'm not sure if there's an easy way to verify this. If I'm not mistaken you'll have batch file called startweblogicadmin.bat in the bin directory. You have to start this to get the administrator console running. It will be running on port :9999 by default if you haven't changed this.
-
Hi,
I am using servlets in Weblogic Server environemt. My client (browser based) switches
from HTTPS to HTTP and vice versa while accessing different servlets.
In IE application works fine but when using Netscape it fails in many parts .
I have read that there is a fix for Netscape , it goes like this
" Question : When a Netscape browser starts a session with WebLogic Server on an
HTTP page and then moves to an HTTPS page, a new session is created. How can I preserve
the session while switching to or from HTTPS?
Answer : The cookie WebLogic Server sends includes the port number. When the Netscape
browser sees a cookie with a different port number, it assumes the destination is
a different server, so it does not return the cookie to WebLogic Server. The way
to prevent this is to specify the domain name that WebLogic Server writes in the
cookie with the weblogic.httpd.session.cookie.domain property. For example:
weblogic.httpd.session.cookie.domain=.mydomain.com "
I have tried this also by giving different versions of the above mentioned line in
weblogic.properties file
i) weblogic.httpd.session.cookie.domain=.myServerName
where myServerName is name of the machine in which Weblogic App server is runningWhich ports are you using for HTTP and HTTPS?
Robert Patrick wrote:
Is the browser talking directly to WLS or going through another web server (and the
weblogic plug-in)? In the URLs being used from the browser, do you always uss the full
machine name (e.g., mymachine.mydomain.com) or are you trying to use just the hostname
(e.g., mymachine) or the IP address?
Robert
Ajay Singh wrote:
Hi,
I am using servlets in Weblogic Server environemt. My client (browser based) switches
from HTTPS to HTTP and vice versa while accessing different servlets.
In IE application works fine but when using Netscape it fails in many parts .
I have read that there is a fix for Netscape , it goes like this
" Question : When a Netscape browser starts a session with WebLogic Server on an
HTTP page and then moves to an HTTPS page, a new session is created. How can I preserve
the session while switching to or from HTTPS?
Answer : The cookie WebLogic Server sends includes the port number. When the Netscape
browser sees a cookie with a different port number, it assumes the destination is
a different server, so it does not return the cookie to WebLogic Server. The way
to prevent this is to specify the domain name that WebLogic Server writes in the
cookie with the weblogic.httpd.session.cookie.domain property. For example:
weblogic.httpd.session.cookie.domain=.mydomain.com "
I have tried this also by giving different versions of the above mentioned line in
weblogic.properties file
i) weblogic.httpd.session.cookie.domain=.myServerName
where myServerName is name of the machine in which Weblogic App server is running -
HTTPS to HTTP switching in weblogic App server
Hi,
I am using servlets in Weblogic Server environemt. My client (browser based) switches
from HTTPS to HTTP and vice versa while accessing different servlets.
In IE application works fine but when using Netscape it fails in many parts .
I have read that there is a fix for Netscape , it goes like this
" Question : When a Netscape browser starts a session with WebLogic Server on an
HTTP page and then moves to an HTTPS page, a new session is created. How can I preserve
the session while switching to or from HTTPS?
Answer : The cookie WebLogic Server sends includes the port number. When the Netscape
browser sees a cookie with a different port number, it assumes the destination is
a different server, so it does not return the cookie to WebLogic Server. The way
to prevent this is to specify the domain name that WebLogic Server writes in the
cookie with the weblogic.httpd.session.cookie.domain property. For example:
weblogic.httpd.session.cookie.domain=.mydomain.com "
I have tried this also by giving different versions of the above mentioned line in
weblogic.properties file
i) weblogic.httpd.session.cookie.domain=.myServerName
where myServerName is name of the machine in which Weblogic App server is runningtry
weblogic.httpd.session.cookie.domain=.myDomainName
where myDomainName is something like india.techspan.com, make sure you don't put
in the name of your machine. WLS doesn't care about that in this property.
"Ajay Singh" <[email protected]> wrote:
>
Hi,
I am using servlets in Weblogic Server environemt. My client (browser
based) switches
from HTTPS to HTTP and vice versa while accessing different servlets.
In IE application works fine but when using Netscape it fails in many parts
I have read that there is a fix for Netscape , it goes like this
" Question : When a Netscape browser starts a session with WebLogic Server
on an
HTTP page and then moves to an HTTPS page, a new session is created. How
can I preserve
the session while switching to or from HTTPS?
Answer : The cookie WebLogic Server sends includes the port number. When
the Netscape
browser sees a cookie with a different port number, it assumes the destination
is
a different server, so it does not return the cookie to WebLogic Server.
The way
to prevent this is to specify the domain name that WebLogic Server writes
in the
cookie with the weblogic.httpd.session.cookie.domain property. For example:
weblogic.httpd.session.cookie.domain=.mydomain.com "
I have tried this also by giving different versions of the above mentioned
line in
weblogic.properties file
i) weblogic.httpd.session.cookie.domain=.myServerName
where myServerName is name of the machine in which Weblogic App server
is running -
Hi!
We need to implement authentication using our own methods, and the authentication
information is provided to the web service implementation in a basic authentication
header. The problem is, that the servlet
weblogic.webservice.server.servlet.WebServiceServlet, which handles web services
in
wls 7.0.sp2, always attempts to perform authentication, if the header is present.
Is there any way to circumvent this, because we want to implement authentication
on our own?
I already know two workarounds:
The best would of course be to implement a custom security realm for our own
authentication system. This is not an option, implementing an own security
realm is overkill for this specific web service.
The other way would be to route the requests by way of a custom servlet, which
would
remove the basic authentication header, and put the authentication info in custom
headers, such as x-auth: <user:password>, or smthng similar, and after successful
authentication, make a call to bea's servlet weblogic.webservice.server.servlet.WebServiceServlet.
But still, I'd like to know if there is any way to tell bea's servlet to ignore
the basic
authentication header?
Oh yeah, by the way, this is URGENT, as always. (really!! ;)
Toni NykanenCurrently there is no option to turn off security check.
I think you can use a servlet filter mapped to the URL
of your service, instead of a proxy servlet?
Regards,
-manoj
http://manojc.com
"Toni Nykanen" <[email protected]> wrote in message
news:3ef1577b$[email protected]..
>
Hi!
We need to implement authentication using our own methods, and theauthentication
information is provided to the web service implementation in a basicauthentication
header. The problem is, that the servlet
weblogic.webservice.server.servlet.WebServiceServlet, which handles webservices
in
wls 7.0.sp2, always attempts to perform authentication, if the header ispresent.
Is there any way to circumvent this, because we want to implementauthentication
on our own?
I already know two workarounds:
The best would of course be to implement a custom security realm for ourown
authentication system. This is not an option, implementing an own security
realm is overkill for this specific web service.
The other way would be to route the requests by way of a custom servlet,which
would
remove the basic authentication header, and put the authentication info incustom
headers, such as x-auth: <user:password>, or smthng similar, and aftersuccessful
authentication, make a call to bea's servletweblogic.webservice.server.servlet.WebServiceServlet.
>
But still, I'd like to know if there is any way to tell bea's servlet toignore
the basic
authentication header?
Oh yeah, by the way, this is URGENT, as always. (really!! ;)
Toni Nykanen -
Help! I was cruzing along just fine and went out tonight only to receive the message above:
Cannot open Page
Safari cannot open the page
The error was: "There was a problem communicating with the web proxy server (HTTP)."
I have had all the Apple iPhone phone. Have never encountered anything like this.
All systems are GO as soon as I log on to wifi.
Can anyone help, please.I am also fixed. I also loaded Onavo, but that was the other day ... this is what I did with the help of online chat with AT&T ...
I went to:
Settings
Wifi
I selected the network I was working on by hitting the blue arrow located on right side
At the detail page of that network I scolled down to the bottom to find HTTP Proxy boxes
I was on Off and changed it to Auto and it worked!
I was soo jazzed!!
Instructions said if it was already on AUTO, to change it to Manual and make your Port = 80 but I didn't have to do that!
YIPPIE!! I'm a new man!!
Go to settings -----> WI-FI -----> select the network you're using ------> hit the blue arrow located on the right-side of the network name (ie: show details of that network), this takes you to another page.
--------> at the bottom of the page you'll see "HTTP Proxy" boxes (located below the "renew lease" button) ---------------> change the proxy to AUTO. Note: if you're already at AUTO, change it to "Manual" and make your Port = 80. -
SAP BPC 5.1 SP2 Http 500 internal server error - page can not be displayed
When our Sysadmin service account are restricted to the app server and the database server ( as they should be in a secured environment) no client
could reach the web site to even use the Osoft directory . We get a Http 500 internal server error - page can not be displayed . This is for a new multiserver install. Is there a problem on the website security or .net configuration?Yes the install was done by the SAP install consultant but now we are getting an error when we restrict the Sysadmin ID. Server diagnostics and other tests on Appshell passed as well.
-
Speed of weblogic serving static pages
Has anyone seen fairly slow page serving (measured from the end-user's
point of view) for weblogic 4.5? Even when the system isn't hardly
loaded at all, we have users complain about slow response times. The
consensus is the stuff running on WebLogic is slower to appear than the
rest of the web. We're using servlets, and jsp's. Of course this is
hard to quantify and isolate, but we'd like to hear if others have moved
to something like Netscape on the front end because it serves images
faster?
david
David Michaels <[email protected]>
Director of Technology
ShockMarket Corporation (650) 330-4665
[david.vcf]We had similar problems when running ejbs and jsps from the same weblogic
server. Images load very slow. I recommend seperating your jsp server from
your ejb server. Run two instances of weblogic, one for jsps and one for
ejbs. In addition, you can use hardware routers that can filter by requests
such as an alteon or f5 to route requests for images to an image server
(apache), and all jsp requests to weblogic.We use this configuration and
have great load times.
"bpp" <[email protected]> wrote in message
news:[email protected]..
David,
We have found the performance to be better when you serve static pages and
images from another webserver (Netscape iPlanet). The weblogic webserver
appears to have a diffucult time delivering images in a timely fashion. It
also takes away from Weblogic responding to EJB requests.
Brian Pause
Tallan
David Michaels wrote:
Has anyone seen fairly slow page serving (measured from the end-user's
point of view) for weblogic 4.5? Even when the system isn't hardly
loaded at all, we have users complain about slow response times. The
consensus is the stuff running on WebLogic is slower to appear than the
rest of the web. We're using servlets, and jsp's. Of course this is
hard to quantify and isolate, but we'd like to hear if others have moved
to something like Netscape on the front end because it serves images
faster?
david
David Michaels <[email protected]>
Director of Technology
ShockMarket Corporation (650) 330-4665 -
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. -
Weblogic 10.3.2 - Page reload in browser is very slow after upgrade from 8.
when i first load portal page with empty cache it comes up with in 8 seconds..
i have noticed that
browser requests the page -- weblogic app server sends back the file lets say xxxx.css with response 200
after the first load, if i reload the page
browser requests the page with the below header info.. and the weblogic server takes a long time to send back 304 not modified error, about 30+ seconds
in this case browser is sending If-Modified-Since: Fri, 20 Aug 2010 00:47:22 GMT , and here weblogic server takes 30+ seconds to check and return the 304 not modified page
can any one help what might be the issue
http:/xxxx/let.css
GET xxx/let.css HTTP/1.1
Host: xxxxxxx
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729)
Accept: text/css,*/*;q=0.1
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: xxxxxxxxxxxxxx
Cookie: JSESSIONID=FdZTM1FGnHKkRZ1x7pVpJ1pqbbzxqjbC4mx1sSGkRX5cHXndLhMJ!-1352170763; NSC_Qpsubm-80=0ac844d70050; s_cc=true; SC_LINKS=%5B%5BB%5D%5D; Not Segmented By Business Size=Not%20Segmented%20By%20Business%20Size; Did Not Visit The Support Site=Did%20Not%20Visit%20The%20Support%20Site; Core Site Page (Includes Microsite Pages)=Core%20Site%20Page%20%28Includes%20Microsite%20Pages%29; s_sq=%5B%5BB%5D%5D
If-Modified-Since: Fri, 27 Aug 2010 00:47:22 GMT
Cache-Control: max-age=0
HTTP/1.1 304 Not Modified
Date: Wed, 13 Oct 2010 10:13:23 GMT
Server: Apache/2.0.63 (Unix)
Connection: Keep-Alive
Keep-Alive: timeout=15, max=100
Expires: Wed, 13 Oct 2010 10:13:23 GMT
Cache-Control: max-age=0
Vary: Accept-Encoding
Set-Cookie: NSC_Qpsubm-80=0ac844d70050;expires=Wed,13-Oct-10 10:15:56 GMT;path=/We've seen this issue on some servers, but not on others running the same application. We're still researching the problem, but the best lead we've got so far is that it might have something to do with the network, either with not being able to look up a network address with DNS or accessing this address.
-
Weblogic managed server crash and automatic restart on Solaris SPARC platform
hi Everyone,
We are facing a problem a problem with Weblogic managed server where the managed server crashes and automatically restarts (via nodemanager) on Solaris SPARC platform.
The system info is as below:
OS: Oracle Solaris 11.1 SPARC
Copyright (c) 1983, 2012, Oracle and/or its affiliates. All rights reserved.
Assembled 19 September 2012
uname:SunOS 5.11 11.1 sun4v
(T2 libthread)
rlimit: STACK 8192k, CORE infinity, NOFILE 65536, AS infinity
load average:1.04 0.52 0.32
CPU:total 4 v9, popc, vis1, vis2, vis3, blk_init, cbcond, sun4v, niagara_plus
Memory: 8k page, physical 16777216k(5930008k free)
vm_info: Java HotSpot(TM) 64-Bit Server VM (23.25-b01) for solaris-sparc JRE (1.7.0_25-b11), built on May 15 2013 04:30:17 by "" with Sun Studio 12u1
The pstack output of analyzing the core file is as below (for the particular thread, I can attach the entire output of pstack if required):
--- called from signal handler with signal 11 (SIGSEGV) ---
ffffffff7ec1a7c4 memcpy%sun4v-hwcap3 (103d34720, 10a7e7710, 108ae1060, 6300, 0, ffffffff5f66394b) + 990
ffffffff36102fa4 ZIP_GetEntry (103d34720, ffffffff636f66a4, bd, 103d347f0, a26f1c, 2f) + e4
ffffffff36103440 Java_java_util_zip_ZipFile_getEntry (2b, ffffffff636f66a4, 103d34720, ffffffff636f6b70, 2b, 1) + a8
ffffffff7586ac1c * *java/util/zip/ZipFile.getEntry(J[BZ)J [compiled]
ffffffff75b61b58 * *java/util/zip/ZipFile.getEntry(Ljava/lang/String;)Ljava/util/zip/ZipEntry; [compiled] +39 (line 606)
ffffffff75b61b58 * *java/util/jar/JarFile.getEntry(Ljava/lang/String;)Ljava/util/zip/ZipEntry;+3 (line 452)
ffffffff75b61b58 * *weblogic/utils/classloaders/ZipClassFinder.getSource(Ljava/lang/String;)Lweblogic/utils/classloaders/Source;+36 (line 75)
ffffffff75b6eb84 * *weblogic/utils/classloaders/JarClassFinder.getSource(Ljava/lang/String;)Lweblogic/utils/classloaders/Source; [compiled] +6 (line 100)
ffffffff75a40938 * *weblogic/utils/classloaders/AbstractClassFinder.getClassSource(Ljava/lang/String;)Lweblogic/utils/classloaders/Source; [compiled] +74 (line 58)
ffffffff75976c88 * *weblogic/utils/classloaders/MultiClassFinder.getClassSource(Ljava/lang/String;)Lweblogic/utils/classloaders/Source; [compiled] +30 (line 114)
ffffffff75976c88 * *weblogic/utils/classloaders/MultiClassFinder.getClassSource(Ljava/lang/String;)Lweblogic/utils/classloaders/Source; [compiled] +30 (line 114)
ffffffff75976c88 * *weblogic/utils/classloaders/MultiClassFinder.getClassSource(Ljava/lang/String;)Lweblogic/utils/classloaders/Source; [compiled] +30 (line 114)
ffffffff75806d10 * weblogic/application/utils/CompositeWebAppFinder.getClassSource(Ljava/lang/String;)Lweblogic/utils/classloaders/Source;+5 (line 176)
ffffffff75976c88 * *weblogic/utils/classloaders/MultiClassFinder.getClassSource(Ljava/lang/String;)Lweblogic/utils/classloaders/Source; [compiled] +30 (line 114)
ffffffff75976c88 * *weblogic/utils/classloaders/MultiClassFinder.getClassSource(Ljava/lang/String;)Lweblogic/utils/classloaders/Source; [compiled] +30 (line 114)
ffffffff75806d10 * weblogic/utils/classloaders/CodeGenClassFinder.getClassSource(Ljava/lang/String;)Lweblogic/utils/classloaders/Source;+43 (line 48)
ffffffff75806d10 * weblogic/utils/classloaders/GenericClassLoader.findLocalClass(Ljava/lang/String;)Ljava/lang/Class;+87 (line 571)
ffffffff75806d10 * weblogic/utils/classloaders/GenericClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;+117 (line 515)
ffffffff75806d10 * weblogic/utils/classloaders/ChangeAwareClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;+60 (line 121)
ffffffff75a465c8 * *java/lang/ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class; [compiled] +71 (line 836)
ffffffff75db42c0 * *java/lang/ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class; [compiled] +4 (line 714)
ffffffff75806d10 * weblogic/utils/classloaders/GenericClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;+2 (line 358)
ffffffff75806d10 * weblogic/utils/classloaders/ChangeAwareClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;+27 (line 83)
ffffffff7580024c * StubRoutines (1)
ffffffff3691f44c __1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallArguments_pnGThread__v_ (ffffffff636f7f98, 10234f000, 2, c, 2, 10) + 2f4
ffffffff36e546c0 __1cJJavaCallsMcall_virtual6FpnJJavaValue_nGHandle_nLKlassHandle_pnGSymbol_63pnGThread__v_ (ffffffff636f7f98, 1013e7748, 10234f000, 10011bf30, 100119ec0, 772d4ec08) + 1b8
ffffffff3725bf0c __1cQSystemDictionaryTload_instance_class6FpnGSymbol_nGHandle_pnGThread__nTinstanceKlassHandle__ (105cb6100, 1013e7978, 10234f000, 102b6e500, 0, 1013e7748) + 494
ffffffff3725a028 __1cQSystemDictionarybEresolve_instance_class_or_null6FpnGSymbol_nGHandle_3pnGThread__pnMklassOopDesc__ (105cb6100, 19dc00, 70, 10234f000, 70, 1013e7700) + ae0
ffffffff37257800 __1cQSystemDictionaryPresolve_or_fail6FpnGSymbol_nGHandle_3bpnGThread__pnMklassOopDesc__ (105cb6100, 1013e76f0, 1013e76f8, 1, 10234f000, 1) + 290
ffffffff368ba9dc __1cTconstantPoolOopDescNklass_at_impl6FnSconstantPoolHandle_ipnGThread__pnMklassOopDesc__ (10201b6e0, 1013e7978, 10234f000, 10201b6e0, 783cfb098, ffffffff37588000) + 264
ffffffff36937380 __1cSInterpreterRuntimeE_new6FpnKJavaThread_pnTconstantPoolOopDesc_i_v_ (10234f000, 77548b730, 49, 10201b6e0, 1013e76e8, 10234f000) + b8
ffffffff7581ab58 * com/jdedwards/base/logging/log4j/JdeLogger.warn(ILjava/lang/String;Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Throwable;)V+14
ffffffff75807bcc * com/jdedwards/system/security/proxy/SecurityServerProxyImpl.install(Ljava/util/Hashtable;)Lcom/jdedwards/system/security/proxy/SecurityServerProxyImpl;+30
ffffffff75806d10 * com/jdedwards/system/security/proxy/SecurityServerProxyFactory.create(Ljava/util/Hashtable;)Lcom/jdedwards/system/security/SecurityServer;+1
ffffffff75807898 * com/jdedwards/system/security/SecurityServerInstance.getInstance()Lcom/jdedwards/system/security/SecurityServer;+27
ffffffff75806d10 * com/jdedwards/mgmt/security/UserManager.checkPassword(Ljava/lang/String;Ljava/lang/String;)Z+59
ffffffff75806b24 * com/jdedwards/mgmt/security/UserManagerImpl.checkPassword(Ljava/lang/String;Ljava/lang/String;)Z+5
ffffffff75806b24 * com/jdedwards/mgmt/security/SCFLoginModule.login()Z+481
The output of the hs_err_pid1127.log file is as below:
# A fatal error has been detected by the Java Runtime Environment:
# SIGSEGV (0xb) at pc=0xffffffff7ec1a544, pid=1127, tid=20
# JRE version: 7.0_25-b11
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.25-b01 mixed mode solaris-sparc compressed oops)
# Problematic frame:
# C [libc.so.1+0x11a544] memcpy%sun4v-hwcap3+0x710
# Core dump written. Default location: /slot/ems9437/appmgr/Oracle/Middleware/user_projects/domains/smc_domain/core or core.1127
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
--------------- T H R E A D ---------------
Current thread (0x000000010294d000): JavaThread "[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'" daemon [_thread_in_native, id=20, stack(0xffffffff62f00000,0xffffffff63000000)]
siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0xffffffff5f6ce000
I ran the suspect code which i believed was causing the issue as a standalone Java program using the same Java executable and it worked fine without any crash.
Appreciate any inputs / discussion / feedback / thoughts on this topic.
Good day.I just wanted to throw in one more thought. I have also seen that there is a restart=true parameter. Maybe if we set this to true, and just issue the command to shut down the server in the script, the managed server will restart on its own.
Would greatly appreciate any advice! -
Print System.out.println messages into logs of Weblogic Application Server
Hi,
I use Weblogic Application Server 10.3.6 on Windows 7. The Enterprise Application (J2EE) is deployed into the 'AdminServer' of Weblogic. For debugging purpose, I have added a few System.out.println statements.
I am unable to see the print messages on any of log files available in path 'user_projects > domains > base_domain > servers > AdminServer > logs'. However, I can see them on the 'command' prompt which was used to start the server. How can I get them into one of the log files? What am I missing?
I tried reading other threads on the forum and as per them 'System.out.println' gets logged onto *.out logs which I am unable to find. Only base_domain.log, AdminServer.log, access.log are available in the location.
More Specifics:
Configuration on WLS console 'Home > Servers > AdminServer > Logging'
Log file name: logs/AdminServer.log
Min. Severity to log: Notice (tried with Debug as well)
Advanced Options:
Logging Implementation: JDK
Redirect stdout logging enabled: False (tried both options)
Log file Severity Level: Notice (tried with Debug as well)
Standard Out Severity Level: Notice (tried with Debug as well)
ThanksPaul,
I just found this on google:
'Generally, developers put a lot of System.out.println statements in their code to perform application debugging. Normally, all standard outputs and error outputs are routed to the console where the OC4J server is started. If you want to capture the standard output and error outputs to files for logging/debugging purposes, then you can use the -out and -err options while starting up the Oc4J server to specify which files to use.'.
http://www.onjava.com/pub/a/onjava/2002/01/16/oracle.html?page=2 -
Strange behavior from Weblogic web server
This doesn't seem to be an EJB issue so I'm responding to the servlet
newsgroup. Also, why don't you try posting a simple example of the type of
html/javascript you are serving and/or open a support case with BEA Customer
support. Additionally, this link might help:
http://www.weblogic.com/docs51/classdocs/javadocs/weblogic/html/ScriptElement.html
Thanks,
Charlie
The views expressed in this posting are solely those of the author, and
BEA Systems, Inc. does not endorse any of
these views.
BEA Systems, Inc. is not responsible for the accuracy or completeness
of the information provided
and assumes no duty to correct, expand upon, delete or update any of
the information contained in this posting.
dwang wrote:
Hi:
I am using Weblogic web server to serve up my html/jsp pages. I also
have a javascript function to open up another window if I click on the
button. But when I click on the button, the index.html file from httpd
root directory is always displayed on the browser and the javascript
function is never being excuted completly(I have put an alert statement
on it and it only excuted the first line of statement). Can someone tell
me why?
Many thanks,
David -
"Server Header" with Weblogic SIP Server 2.2
Hi All,
I'm using Weblogic SIP Server 2.2, based on Weblogic Server 8.1 SP5, and I want to desactivate the "Send Server Header" option.
I try to do it by using the console like describe in http://e-docs.bea.com/wls/docs81/ConsoleHelp/domain_server_protocols_http.html page. The config.xml file is modified ( <i><WebServer Name="myserver" SendServerHeaderEnabled="false"/></i>), but all response messages still contain the server header.
This header adds information about the version of WebLogic Server that is running. Which is a security leak.
It seem's that this problem is solved since Weblogic Server 8.1 SP4. But I don't succeed in turning the option off.
Any idea about this issue?
Thanks,
Karine.Hi,
This problem is resolved by installing the new version of WebLogic SIP server (3.0 préviews).
Thanks,
Karine. -
How to deploy the project into my weblogic Application Server?
How do I deploy the project into my weblogic Application Server? Should it be fine if I copy the project folder to the AS root?
Also, How should i invoke the Context sensitive help from Javascript assuming project deployed to Weblogic AS.
I am using Robohelp 10.
Thanks in advance.Hi,
You generate the help and then you copy the generated output to the server.
For context sensitivity, which output are you using? Try the following
pages for more info:
http://www.grainge.org/pages/authoring/calling_webhelp/calling_webhelp.htm
http://www.wvanweelden.eu/article-category/context-sensitivity
Greet,
Willam
Maybe you are looking for
-
(iPhone) Remote app and internet radio
Does anyone know why the Remote app does not show the (internet) Radio tag in iTunes, when all others are present (except the Apps tag)? This of course is to remotely cause the computer to play internet Radio over the house WiFi & Express - not to ge
-
Working in Windows 8.1, trying to open Lightroom 3.6 64 bit, get the error message: Windows cannot access the specified device, path or file. You may no have th appropriate permissions to access the item. I have changed the permissions to everyone
-
Recording chagnes done to vendor master
Hi All, I am making a report to record changes to vendor bank details. The fields that could have been changed are : Bank country key (LFBK-BANKS Bank key - (LFBK-BANKL) Bank account number - (LFBK-BANKN) Account holder - (LFBK-KOINH) IBAN - SAPMF02K
-
Hello Friends, We are in the process of upgrading SAP BW 3.0B to 3.5. I am not able to activate the update rule if I use any kind of formula in the newer version. It just activates fine for Constant, Routine etc. except Formula. Is this issue related
-
Is there any way to make the "Collated" check-box a saved option? I believe in past versions it has been. But right now, no matter what other options I try to save, and no matter what program or printer I have chosen, the "Collated" checkbox is alway