Jmap and jstack error: sun.jvm.hotspot.debugger.NoSuchSymbolException
Hi,
<BR ><BR >
We are finding some problems using an application on a Tomcat 5.5 server and we want to discover which class is causing an OutOfMemoryException. I seems that jmap could help us whith the task but it fails with the following error:
<BR ><BR >
<i>jps
<br>
11988 Bootstrap<br>
12616 Jps
<BR ><BR >
jmap 11988<br>
Attaching to process ID 11988, please wait...
sun.jvm.hotspot.debugger.NoSuchSymbolException: Could not find symbol "gHotSpotVMTypeEntryTypeNameOffset" in any of the known library names (libjvm.so, libjvm_g.so, gamma_g)
at sun.jvm.hotspot.HotSpotTypeDataBase.lookupInProcess(HotSpotTypeDataBase.java:410)
at sun.jvm.hotspot.HotSpotTypeDataBase.getLongValueFromProcess(HotSpotTypeDataBase.java:391)
at sun.jvm.hotspot.HotSpotTypeDataBase.readVMTypes(HotSpotTypeDataBase.java:85)
at sun.jvm.hotspot.HotSpotTypeDataBase.<init>(HotSpotTypeDataBase.java:68)
at sun.jvm.hotspot.bugspot.BugSpotAgent.setupVM(BugSpotAgent.java:550)
at sun.jvm.hotspot.bugspot.BugSpotAgent.go(BugSpotAgent.java:476)
at sun.jvm.hotspot.bugspot.BugSpotAgent.attach(BugSpotAgent.java:314)
at sun.jvm.hotspot.tools.Tool.start(Tool.java:146)
at sun.jvm.hotspot.tools.JMap.main(JMap.java:126)
Debugger attached successfully.
jmap requires a java VM process/core!
</i>
<BR ><BR >
jstack shows the same error with a very similar exception. I have found that other people is having this problem but I have found no fix avalaible on the Internet. ( see, for example, http://www.javalobby.org/java/forums/m91812587.html#91812522 )
<BR ><BR >
Other applications like jconsole work perfectly. Any alternative tool may solve the problem,
<BR ><BR >
By the way: I am using:
O.S. : Linux Mandriva 2006<BR >
JVM: java version "1.5.0_06"<BR >
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode)
<BR ><BR >
Thanks in advance,
<BR ><BR >
Borja
guys,
I was fiddling around to test jmap,
here are the things that worked for me.
$ jps
6281
8214 Jps
7045 Main
7159 Resin
$ jmap -J-d32 -heap 7045
It seems only the Main pid will work and not all others .......
post your suggestions.
Raj
Similar Messages
-
Create Shopping Page gives Javascript Error - Sun JVM in a DMZ?
Hi SDN
We are running on SRM 5.0, with server at 5.5 and we have just implemented SP 11. Since then, our users running IE with the Sun JVM 1.4.2_10 are getting a JavaScript error everytime an applet loads on their page (in this case, it is the applet within the Document & Attachments section). Moreover, our portal is being hosted on an SSL secured server within our DMZ, in conjunction with a Provencia IDS System, Blue Coat hardarware, RadWare, ...etc.
The only way we can make that page work, is by disabling the Sun JVM and use the MS Version of the JVM. At that point, no issue with the applet on our SSL Secured Portal. Even funnier, is that when I'm calling directly the Portal Server (without the SSL proxy), even if i run the Sun JVM, I'm not getting the error. Since we have over 1000 users, it woulde be aimpossible to have all of them making that change... We need to make that work.
Have you ever experienced something like that? If yes, what have you done to fix it? Any suggestion, OSS notes
Thanks in advance
Eric L.I am having almost the same issue. This is what my java console throws "load: class com.sapportals.portal.epcf.EPCMfactory not found."
-
Jstack - error occurred during stack walking
Trying to use jstack to debug a deadlock on Solaris 8, using jdk/jre 1.5.0-08, I get the following error on stderr:
$ sudo -u apache jstack 17453 > stack
Attaching to process ID 17453, please wait...
Debugger attached successfully.
Client compiler detected.
JVM version is 1.5.0_08-b03
sun.jvm.hotspot.utilities.AssertionFailure: Expected raw sp likely got real sp, value was 0xfffffffe
at sun.jvm.hotspot.utilities.Assert.that(Assert.java:15)
at sun.jvm.hotspot.runtime.sparc.SPARCFrame.<init>(SPARCFrame.java:214)
at sun.jvm.hotspot.runtime.sparc.SPARCFrame.senderWithPCAdjustment(SPARCFrame.java:981)
at sun.jvm.hotspot.runtime.sparc.SPARCFrame.sender(SPARCFrame.java:484)
at sun.jvm.hotspot.runtime.Frame.sender(Frame.java:184)
at sun.jvm.hotspot.runtime.Frame.realSender(Frame.java:189)
at sun.jvm.hotspot.runtime.VFrame.sender(VFrame.java:102)
at sun.jvm.hotspot.runtime.VFrame.javaSender(VFrame.java:134)
at sun.jvm.hotspot.runtime.JavaThread.getLastJavaVFrameDbg(JavaThread.java:231)
at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:50)
at sun.jvm.hotspot.tools.JStack.run(JStack.java:41)
at sun.jvm.hotspot.tools.Tool.start(Tool.java:204)
at sun.jvm.hotspot.tools.JStack.main(JStack.java:58)Any thoughts as to what I am doing wrong are appreciated.It is not your mistake. Some times the java vm thread
stacks are not in walkable state. So jstack got a bad sp
and hence it asserted.Thanks for the information. However, this seems to be a fairly reproducible error. Even worse, I get a similar error when I run the same program on a AMD64 box.
I am trying to debug a potential deadlock issue, and hoping that jstack will show me why things get hung up. I get the feeling that the stack that cannot be walked has an important relation to my problem. -
Differences between Sun JVM and Microsoft JVM.
Differences between Sun JVM and Microsoft JVM.
I have a very simple applet that I am trying to make compatible with both Microsoft�s JVM and Suns JVM in Internet Explorer.
However, when I turn on the Sun JVM it works occasionally, but frustratingly on most occasions I get the following error messages:
In the status bar: "Applet <name> notinited"
And when I investigate further in the console I get the following output:
load: class <name>.class not found.
java.lang.ClassNotFoundException: <name>.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.SocketException: Malformed reply from SOCKS server
at java.net.SocksSocketImpl.readSocksReply(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.plugin.net.protocol.http.HttpClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.http.HttpClient.privilegedOpenServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.plugin.net.protocol.http.HttpClient.<init>(Unknown Source)
at sun.plugin.net.protocol.http.HttpClient.New(Unknown Source)
at sun.plugin.net.protocol.http.HttpURLConnection.createConnection(Unknown Source)
at sun.plugin.net.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
It appears that the applet never gets loaded. I have no idea why?
What is the Sun JVM doing here?
Many thanks in advance for any help.Oh, one more thing. Here's the outpt of the VM log when I run the test above:
Java(TM) Plug-in: Version 1.4.2_03
Using JRE version 1.4.2 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\Michael
Proxy Configuration: No proxy
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
java.lang.NullPointerException
at sun.plugin.cache.Cache.updateTable(Unknown Source)
at sun.plugin.cache.FileCache.getMatchingFile(Unknown Source)
at sun.plugin.cache.CachedFileLoader$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.cache.CachedFileLoader.getCacheFile(Unknown Source)
at sun.plugin.cache.CachedFileLoader.load(Unknown Source)
at sun.plugin.cache.FileCache.get(Unknown Source)
at sun.plugin.net.protocol.http.HttpURLConnection.connectWithCache(Unknown Source)
at sun.plugin.net.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.plugin.net.protocol.http.HttpURLConnection.getHeaderField(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
v -
Sun JVM works, Microsoft VM gives an error
I've got this applet:
import java.awt.*;
import java.applet.Applet;
import java.net.*;
import java.io.*;
public class Standen
extends Applet {
private URL sourceFile;
private BufferedReader inFile;
private String lines="";
public String getScores(String bestand) {
try {
sourceFile = new URL(getCodeBase(), bestand);
getFile();
getMostRecent();
catch (Exception ex) {
return "";
return lines;
private void getFile() throws Exception {
URLConnection link = sourceFile.openConnection();
inFile = new BufferedReader(new InputStreamReader(link.getInputStream()));
lines = "";
String line = "";//lezen van bestand
do {
if (line != "") {
line = line.trim();
lines = lines + line + "\n";
line = inFile.readLine();
while (line != null);
inFile.close();
private void getMostRecent() {
String term = "<mostrecent>";
String eindTerm = "</mostrecent>";//Tag met mostrecent
String vergelijkLines = lines.toLowerCase();//Hoofdletters maakt niet uit
int plaatsTerm = vergelijkLines.indexOf(term);//plaatsen opzoeken van de tags
int plaatsEindTerm = lines.indexOf(eindTerm);
plaatsTerm = plaatsTerm + term.length();//Tag zelf niet meenemen
if(plaatsTerm!=-1 &&plaatsEindTerm!=-1) {//alleen als de tags voorkomen
lines = lines.substring(plaatsTerm,plaatsEindTerm);//tekst kopieren
} else {
lines="";//anders niks teruggeven
It works fine on my computer with the sun jvm, but it doesn't seem te work if you have the microsoft vm installed. I still want to make the applet compatibel for other people. What can I do about this?There is a way to enable the IE Java console - try googling for instructions. There's a good chance the console displays an error message. Or if it doesn't, add debugging println's to pinpoint where something goes wrong.
The MS JVM is old and has bugs, including security bugs. If the users of your applet are in any way important to you (such as paying customers), try to get them to dump the MS JVM. They are opening themselves up to worms and such nastiness.
By the way, ' if (line != "")' isn't right, you need 'if (!line.equals(""))'. -
9i FORMS and SUN JVM 1.4.2_03
Hi,
We are planing to upgrade our IE browser with SUN JVM 1.4.2_03 virtual maching and our forms are not working when we access it from the update browser.
They are working fine with the IE browser and Microsoft JVM.
We are getting FRM -92050 error when we want to use SUN JVM and the same forms working fine with Microsoft JVM.
It is been causing business issues so any early help will be much appriciated.
Advanced Thanks,
SantoshHi,
actually I don't know what exact does cause the problems, but the last version of Java 1.4 Plugin I got to work is 1.4.1_02.
If you look at the Java panel of the Plugin you should find a couple of file not found messages spilled out.
Not sure if Java Plugin 1.4.2 already has been certified with Forms. I think that not.
Frank -
Difference Between Sun JVM and IBM JVM
Hi
Can some one let me on the difference between Sun JVM and IBM JVM
regs
Vivek NidhiSun's JVM is built on HotSpot technology: http://java.sun.com/docs/hotspot
and covers a broad range of OS/HW combinations: http://java.sun.com/j2se/1.5.0/system-configurations.html
Maybe you can be more specific in your question or in describing what you want to do.
-Alexis -
Stack overflow error with Sun JVM
We have an application that was running on MSJVM. Recently we migrated to SUN JVM. After the migration, we get the error message - "Stack overflow at line 0 " at random, while loading applets.
Any solutions to this problem will be greatly appreciated.
Thanks
NabeelWhere do you see the error message (Java console, ...?)
Googling for "stack overflow at line 0" hints that the problem may be related to JavaScript. Is there JS on the web pages that elicit the error? The JVM upgrade might be a coincidence. -
NetWeaver and Sun JVM bug 4957990?
Hi, does anyone know if and how NetWeaver is affected by Sun JVM bug 4957990 ? <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4957990">http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4957990</a>
Thanks,
VictorThe suggested SUN workaround is simply to increase your PermSize. The default recommended size for NW04 is 192MB. If you get OOM in the Perm space then that suggests you might be hitting this bug (or your Perm space is just to small...). You should first simply increase the PermSize to something larger such as 256MB which is the suggested size for 7.0 (2004S) kernels anyway. But remember that Perm counts in your Heap so make sure you don't get things too big if you are on 32-bit OS.
Based on my reading of the bug report it is not guaranteed that you would experience this bug, though certainly it seems possible. There are no published SAP Notes regarding this SUN bug to my knowledge.
Nick -
Conflicts between jinitiator and sun jvm: is webstart a viable solution?
We currently have a problem where our users have to use multiple sessions in order to keep Sun's JVM from loading in the same IE instance that Jinitiator 1.3.1.21 is running. When jinitiator loads after java is already running, ie exits with a C++ exception, not very friendly to our users.
Our current solution instructs people to launch the browser in a separate memory space, but that is very tedious to explain to users. We have multiple vendor-provided fat java applets (one using jinitiator, one using sun jvm)
I've seen some messages on this forum regarding switching the applet into a full blown application running from webstart. What this would do for us is allow us to keep the two jvms separate when they are launched from webstart.
1) Does anyone else have this problem and have a different solution?
2) Is it possible from a jnlp file to indicate that jinitiator should be chosen to run the applet/application?
- from http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/syntax.html#resources I see <j2se version="1.4+"/> can be picked to choose a jvm in order of preference.
Is there anything specific about jinititator that would allow it to be indicated on the version line? Has anyone done this?
Thanks,
ChrisThe easiest solution would probably be to use the same JRE for all applications. Sun JRE 1.4.x is certified with most Forms versions, however refer to the Forms Client Statement of Direction for your Forms version.
Forms 6i
http://www.oracle.com/technology/products/forms/htdocs/clientsod_forms6i.html
Forms 9i
http://www.oracle.com/technology/products/forms/htdocs/clientsod_forms9i.html
Forms 10g (9.0.4)
http://www.oracle.com/technology/products/forms/htdocs/10g/clientsod_forms10g.html -
What's the difference between MSJVM and SUN JVM
Sometimes I can run a program under MSJVM more stable (faster) than that under SUN JVM. Would you please tell me why or tell some difference between them?? Many thanks.
Edited by: ericfok on Dec 5, 2008 8:48 AMvitallis wrote:
MSJVM has JNI ver. 1.1. My JNI wrapper generator also supports it. I wrote JNI code for MSJVM in 2000.No you didn't.
You either used the MS VM linkage format, which resembles (strongly) how C# does it or you were not using the MS VM but rather the Sun one.
The fact that MS Java supported third party dlls does not make it JNI. JNI was a specific specification on exactly how such support would be provided. And MS Java did not have it.
References, search for "microsoft"
[http://www.javaworld.com/javaworld/jw-10-1999/jw-10-jni.html]
The following from Microsoft itself asserting that JNI cannot be required part of java. Search for "JNI". Presumably if MS was claiming that it wasn't required then obviously they knew that it wasn't in fact in there.
[http://www.microsoft.com/presspass/legal/10-21copyright.mspx] -
Game runs fine in sun jvm, microsoft jvm causes 99% cpu usage and is SLOW
In the microsoft JVM (my target platform) I get 2 frames per second... in the sun JVM I get at least 60.
The strangest part, is that this only repros when iexplorer.exe is the only process running java anything... for example, if I have net beans running, I get 60 FPS in the microsoft JVM as well. That makes no sense to me.
I have tried thread.yeild and thread.sleep in my main loop, and that didn't fix anything.In the microsoft JVM (my target platform) I get 2
frames per second... in the sun JVM I get at least
60. Don't use the MS JVM. I
The strangest part, is that this only repros when
iexplorer.exe is the only process running java
anything... for example, if I have net beans running,
I get 60 FPS in the microsoft JVM as well. That
makes no sense to me.
I have tried thread.yeild and thread.sleep in my main
loop, and that didn't fix anything.About these 2 methods.
sleep() // example in almost every book. Leaves
// Thead on the schedule list
yeild() // Pell mell as in no control of when it unyields.
// prone to race/deadlock UNLESS monitored by
// another thread that wakes up periodically.
Tony's "Theorized" <- make the uptight acedemic sycophants happy.
Law of the exec constant.
"Any Thread or process *that locks the system MUST yeild controls for at
least 20MS pre iteration."
Why 20MS? It gives the underlying OS a little slice and is enough
to ensure everything gets enough CPU. Every MS under 20 increases
the deadlock potential. (*If at zero wait you get a preempted deadlock)
You can play with this value but I have found it is pretty consistent
across CPU speeds / hardware/
Use a synchronized wait() in your main run method every iteration.
Objet waitObject();
synchronized(waitObject)
try
waitObject.wait(20);
catch(InterruptedException ie)
}wait() Removes the Thread from being scheduled.
This iwll give IE the CPU it needs and your CPU should dro
to around 1%.
Hmm now how many kicked dog howls am I going to get about his message
(T) -
Hi gurus,
Below is my config in formsweb.cfg, I want to use Sun JVM instead of Jinitiator
[customjpi]
baseHTML=D:\Ora10gDS\forms\server\base.htm
baseHTMLjpi=D:\Ora10gDS\forms\server\basejpi.htm
baseHTMLjinitiator=D:\Ora10gDS\forms\server\basejpi.htm
HTMLdelimiter=%
envFile=default.env
escapeparams=true
form=test.fmx
serverURL=/forms/lservlet
codebase=/forms/java
imageBase=DocumentBase
width=100%
height=100%
separateFrame=true
archive=D:\Ora10gDS\forms\java\frmall.jar
archive_jini=D:\Ora10gDS\forms\java\frmall_jinit.jar
jpi_download_page=http://java.sun.com/products/archive/j2se/1.4.2_09/index.html
jpi_classid=clsid:8AD9C840-044E-11D1-B3E9-00805F499D93
jpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_4-windows-i586.cab#Version=1,4,0,0
jpi_mimetype=application/x-java-applet;jpi-version=1.4.2_09
When I calling form using URL http://pc021161.cts.com:8889/forms/frmservlet?config=customjpi which is throwing errors.
Below is my log of Java console
Java Plug-in 1.5.0_06
Using JRE version 1.5.0_06 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\125217
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
java.net.MalformedURLException: unknown protocol: d
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at sun.plugin.util.GrayBoxPainter.setProgressFilter(Unknown Source)
at sun.plugin.AppletViewer.initApplet(Unknown Source)
at sun.plugin.AppletViewer.appletInit(Unknown Source)
at sun.plugin.viewer.LifeCycleManager.initAppletPanel(Unknown Source)
at sun.plugin.viewer.IExplorerPluginObject$Initer.run(Unknown Source)
load: class oracle.forms.engine.Main not found.
java.lang.ClassNotFoundException: oracle.forms.engine.Main
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
Exception in thread "Thread-4" java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
at sun.plugin.AppletViewer.showAppletException(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Please help, if anybody have the idea of this error.
Thanks in Advance
JustinMy default.env file is pasting below:
# $Id: default.env 14-apr-2005.13:22:43 pkuhn Exp $
# default.env - default Forms environment file, Windows version
# This file is used to set the Forms runtime environment parameters.
# If a parameter is not defined here, the value in the Windows registry
# will be used. If no value is found in the registry, the value used will
# be that defined in the environment in which the servlet engine (OC4J
# or JServ) was started.
# NOTES
# 1/ The Forms installation process should replace all occurrences of
# <percent>FORMS_ORACLE_HOME<percent> with the correct ORACLE_HOME
# setting, and all occurrences of <percent>O_JDK_HOME<percent> with
# the location of the JDK (usually $ORACLE_HOME/jdk).
# Please make these changes manually if not.
# 2/ Some of the variables below may need to be changed to suite your needs.
# Please refer to the Forms documentation for details.
ORACLE_HOME=D:\Ora10gDS
# Search path for Forms applications (.fmx files, PL/SQL libraries)
# If you need to include more than one directory, they should be semi-colon
# separated (e.g. c:\test\dir1;c:\test\dir2)
FORMS_PATH=D:\Ora10gDS\forms;D:\Source\FMB;D:\Source\LIB
# webutil config file path
WEBUTIL_CONFIG=D:\Ora10gDS\forms\server\webutil.cfg
# Disable/remove this variable if end-users need access to the query-where
# functionality which potentially allows them to enter arbitrary SQL
# statements when in enter-query mode.
FORMS_RESTRICT_ENTER_QUERY=TRUE
# The PATH setting is required in order to pick up the JVM (jvm.dll).
# The Forms runtime executable and dll's are assumed to be in
# D:\Ora10gDS\bin if they are not in the PATH.
# In addition, if you are running Graphics applications, you will need
# to append the following to the path (where <Graphics Oracle Home> should
# be replaced with the actual location of your Graphics 6i oracle_home):
# ;<Graphics Oracle Home>\bin;<Graphics Oracle Home>\jdk\bin
PATH=D:\Ora10gDS\bin;D:\Ora10gDS\jdk\jre\bin\client
# Settings for Graphics
# NOTE: These settings are only needed if Graphics applications
# are called from Forms applications. In addition, you will need to
# modify the PATH variable above as described above.
# Please uncomment the following and put the correct 6i
# oracle_home value to use Graphics applications.
#ORACLE_GRAPHICS6I_HOME=<your Graphics 6i oracle_home here>
# Search path for Graphics applications
#GRAPHICS60_PATH=
# Settings for Forms tracing and logging
# Note: This entry has to be uncommented to enable tracing and
# logging.
#FORMS_TRACE_PATH=<FORMS_ORACLE_HOME>\forms\server
# System settings
# You should not normally need to modify these settings
FORMS=D:\Ora10gDS\forms
# Java class path
# This is required for the Forms debugger
# You can append your own Java code here)
# frmsrv.jar, repository.jar and ldapjclnt10.jar are required for
# the password expiry feature to work(#2213140).
CLASSPATH=D:\Ora10gDS\j2ee\OC4J_BI_Forms\applications\formsapp\formsweb\WEB-INF\lib\frmsrv.jar;D:\Ora10gDS\jlib\repository.jar;D:\Ora10gDS\jlib\ldapjclnt10.jar;D:\Ora10gDS\jlib\debugger.jar;D:\Ora10gDS\jlib\ewt3.jar;D:\Ora10gDS\jlib\share.jar;D:\Ora10gDS\jlib\utj.jar;D:\Ora10gDS\jlib\zrclient.jar;D:\Ora10gDS\reports\jlib\rwrun.jar;D:\Ora10gDS\forms\java\frmwebutil.jar;D:\Ora10gDS\forms\java\frmall.jar;D:\Ora10gDS\forms\java\frmall_jinit.jar
Regards
justin -
BEA-280101 warning while using Weblogic 10.3.3 on SPARC 64bit sun jvm
Hi all:
I got this warning when start Weblogic 10.3.3 on SPARC 64bit sun jvm
<BEA-280101> <The persistent file store "_WLS_xxxdomain" is forced to use buffered I/O and so may have significantly degraded performance. Either the OS/hardware environment does not support the chosen write policy or the native wlfileio library is missing. See store open log messages for the requested and final write policies. See the documentation on store synchronous write policy configuration for advice.>
I have checked that Native I/O is enabled,but it seems JMS can't find correct .so file
Any idea? Thanks in advance!
Best regards,
JamesWe are also getting the same error on a Linux 10.3.3 installation with 64bit jrockit
Red Hat Enterprise Linux Server release 5.5
Linux 2.6.18-194.3.1.el5 #1 SMP x86_64 x86_64 x86_64 GNU/Linux
Is that the correct driver? This is a default weblogic installation, what is missing so it uses the correct I/O method?
####<Jun 22, 2010 6:04:12 PM CEST> <Info> <Store> <server> <wlserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <12772226524
27> <BEA-280008> <Opening the persistent file store "_WLS_admdominio1" for recovery: directory=/weblogic103/user_projects/domain/servers/server/data/store/default requestedWritePolicy="Dire
ct-Write" fileLockingEnabled=true driver="NIO".>
####<Jun 22, 2010 6:04:12 PM CEST> <Warning> <Store> <wlserver> <wlserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1277222652564> <BEA-280101> <The persistent file store "_WLS_wlserver" is forced to use buffered I/O and so may have significantly degraded performance. Either the OS/hardware environment does not support the chosen write policy or the native wlfileio library is missing. See store open log messages for the requested and final write policies. See the documentation on store synchronous write policy configuration for advice.>
Edited by: ezra-s on 22-jun-2010 18:46 -
IPlanet 6.0 plug-in write_error and read_timeout errors
I'm having a lot of trouble with read timeouts and write errors in my production
environment. The environment is composed of two IPlanet web servers with one cluster
of two machines using Weblogic. The details follows:
Operating System (all machines): SunOS 5.8
WebLogic machines: WebLogic Server 6.1 SP2
JVM Java HotSpot Client VM build 1.3.1_01,
mixed mode
IPlanet machines: iPlanet WebServer Enterprise 6.0 SP4
Solaris VM (build Solaris_JDK_1.2.2_10,
native threads, sunwjit)
The iPlanet machines work as a redirector of requests. All requests that reach
them get redirected to the WebLogic cluster, via a plugin installed on both machines.
My problem is that a lot of read timeout/write error problems are occuring in
this process, in various situations. The majority happens while trying to fetch
static resources, but there are cases the error occurs while trying to access
web server applications.
From the IPlanet log, I selected the following errors, as examples:
Static resources:
[23/Mar/2004:00:05:06] failure ( 7877): for host 200.100.227.193 trying to GET
/weblogic/services/images/torpedo_bg.gif, wl-proxy reports: exception occurred
for backend host '10.112.46.27/7001': 'WRITE_ERROR [os error=32, line 1379 of
proxy.cpp]: '
[23/Mar/2004:13:24:49] failure (21248): for host 200.233.164.3 trying to GET /weblogic/services/images/bt_smsmt_enviar.gif,
wl-proxy reports: exception occurred for backend host '10.112.46.27/7001': 'READ_TIMEOUT
[os error=22, line 198 of Reader.cpp]: no read after 300 seconds'
[23/Mar/2004:13:24:49] failure (21248): for host 200.233.164.3 trying to GET /weblogic/services/images/bt_smsmt_enviar.gif,
wl-proxy reports: exception occurred for backend host '10.112.46.28/7001': 'READ_TIMEOUT
[os error=22, line 198 of Reader.cpp]: no read after 300 seconds'
[23/Mar/2004:13:24:49] failure (21248): for host 201.4.214.97 trying to GET /weblogic/services/javascript/util.js,
wl-proxy reports: exception occurred for backend host '10.112.46.28/7001': 'READ_TIMEOUT
[os error=22, line 198 of Reader.cpp]: no read after 300 seconds'
Applications:
[23/Mar/2004:00:02:50] failure ( 7877): for host 200.151.51.25 trying to POST
/weblogic/services/smsmtresult.jsp, wl-proxy reports: exception occurred for backend
host '10.112.46.28/7001': 'WRITE_ERROR [os error=32, line 1379 of proxy.cpp]:
[23/Mar/2004:13:24:48] failure (21248): for host 200.211.229.10 trying to GET
/weblogic/services/smsmt.jsp, wl-proxy reports: exception occurred for backend
host '10.112.46.27/7001': 'READ_TIMEOUT [os error=22, line 198 of Reader.cpp]:
no read after 300 seconds'
[23/Mar/2004:13:24:50] failure (21248): for host 201.1.97.212 trying to GET /weblogic/services/servlet/imageservlet,
wl-proxy reports: exception occurred for backend host '10.112.46.27/7001': 'READ_TIMEOUT
[os error=22, line 198 of Reader.cpp]: no read after 300 seconds'
The log sometimes shows an interesting message also:
[23/Mar/2004:00:19:53] warning ( 8202): The server configuration may require more
file descriptors than the operating system provides. If you encounter PR_PROC_DESC_TABLE_FULL_ERROR
errors, you may wish to increase the operating system hard file descriptor limit
from 10633 to 10637 (see your operating system documentation) or decrease one
or more of the following settings: MaxFiles in nsfc.conf and ConnQueueSize, RqThrottle,
and MaxKeepAliveConnections in magnus.conf.
I've also checked the Weblogic nodes log, just to see if I could find an explanation
to those problems. No problems were logged at the time the IPlanet reported them.
I don't have any idea right now that could explain what's happening. Maybe the
Weblogic cluster is not providing the necessary resources in time? Or is there
something I could change in the IPlanet's configuration so that the frequency
of the errors diminish?
Any ideas will be greatly appreciated.
Thanks a lot for your time,
AlexandreHello Folks
In the obj.conf
You need to set this one in your context
I have an example below
<Object name="test" ppath="*/test/*">
Service fn="wl_proxy" WebLogicCluster="172.17.10.100:7001,172.17.10.101:7001" KeepAliveEnabled="false" PathTrim="" ErrorPage="/Web/html/error.html"
</Object>
Trust this one helps
Cheers
Manoj
Maybe you are looking for
-
Call SQL Server Stored Procedure from BPEL
Could somebody send me the tutorial on how to use Stored Procedures for SQL Server (as mentioned by mchiocca in this thread: Stored Procedure Support? [email protected] Thanks!
-
Urgent regarding the Weblogic Application server
Hi, In my previous applications I have used weblogic5.1.0 as our Application server. Now we know that Weblogic 6.1 is the latest version to implement J2EE technologies. I want to know any problems are there in using Weblogic 5.1.0 to implement J2EE t
-
How to rename stored procedure on existing report
I've got several reports that are based on stored procedures starting with the prefix qRpw. I needed to change the name only of these stored procedures. The actual code within and all the data that the report is bound to stays the same. so say the s
-
Import and Copy Opening – One Task & One Prompt Set
Hi Experts, We want to create one data manager package that contains both import from BW with UI and copy opening. We ran into some issues. Maybe you can help: We created a new process chain that contains both tasks, and created a new DM package t
-
Hi BW Folks, I need to build a Bex Variable fiscal year/period that when the var 1: user enters the value var 2: custom exit that will get me the data for current quarter Q1[1,2,3] Q2 [4,5,6] Q3[7,8,9] Q4 [10,11,12] e.g.: User enters 008.2007 then