JVM termination with standalone oc4j
Hi,
We have several (around 15) standalone oc4j instances running on a Sun machine, the details are as follows:
Machine: SunFire V1280 with 8 processors (sun4u sparc) and 24 GB RAM
OS: SunOS 5.9 Generic_117171-02
oc4j version: 9.0.4.0.0
There is also a 10g installation on this machine.
We are finding that quite regularly one or more of the oc4j instances shuts down without warning. the only information in the log files (jms.log, rmi.log etc) is a "Stopped (JVM termination)" message. I cannot find any other logs on the machine which can help me with this error.
I am after one of two things:
1. Potential reasons for this happening (preferably with solutions!)
2. A possible for a log file created by the JVM detailing why it is terminating.
Can anyone help?
Thanks
http://blogs.oracle.com/shay/2005/10/24#a55
Similar Messages
-
Debugging JSP with standalone OC4J
Hi All,
I am trying to debug a JSP using JDeveloper 10.1.3.2 on standalone OC4J 10.1.3.2 . I find that it is not stopping at the breakpoints I have set. My settings in the global-web-application.xml are as follows
<servlet>
<servlet-name>JDevOJSP</servlet-name>
<servlet-class>oracle.jsp.runtimev2.JspServlet</servlet-class>
<init-param>
<param-name>check_page_scope</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>debug_mode</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>developer_mode</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>encode_to_java</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>emit_debuginfo</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>jspjavacompiler</param-name>
<param-value>oracle.jdevimpl.jsp.JspOjcCompiler</param-value>
</init-param>
<init-param>
<param-name>jspcompiler</param-name>
<param-value>oracle.jdevimpl.jsp.JspOjcCompiler</param-value>
</init-param>
<load-on-startup>0</load-on-startup>
</servlet>
However when I try accessing the JSP(test.jsp) from the browser, I get an error saying _test.class is not found.
I verified this by checking under the application-deployments folder and I found that the .java & .class files are not created under the persistence\_pages folder.
So I changed the entry in global-web-application.xml as follows to get the .java & .class files generated
<servlet>
<servlet-name>JDevOJSP</servlet-name>
<servlet-class>oracle.jsp.runtimev2.JspServlet</servlet-class>
</servlet>
Once they are generated, I reverted the setting back to as it was before and tried to debug the JSP. But still it does not find the break points
I have jdev-rt.jar,xmlparserv2.jar,ojc.jar & jdev-remote.jar in <OC4J_HOME>/lib folder.
I am starting OC4J with OJVM option debug mode listening to port 4000 and I have configured my project in JDeveloper for remote debugging.Please let me know where I am going wrong.
Thanks in advance,
Prasannahttp://blogs.oracle.com/shay/2005/10/24#a55
-
JHS 1012 with Standalone OC4J 904
Has anyone got this to work? I can deploy JHS 10.1.2 to standalone OC4J 10.1.2 (without ADF runtime installed) but standalone 9.0.4 OC4J gives an HTTP 500 error (without ADF runtime installed, no additional messages appear; with ADF runtime installed yields this: java.lang.NoSuchMethodError: int java.lang.StringBuffer.indexOf(java.lang.String)java.lang.Object oracle.adf.model.binding.DCUtil.findContextObject(oracle.adf.model.BindingContext, java.lang.String)
DCUtil.java:293).
These results are after applying the workaround for iAS 9.0.4 on Steve Muench's blog at: http://radio.weblogs.com/0118231/stories/2005/05/27/workaroundForDeployingAdf1012AppUsingIntermediaDomainsToOracleAs904.htmlHere are some details about the solution:
1. In the j2ee\home\config\application.xml file, remove all references to libraries from the bottom of the file, such as:
<library path="../../../ord/jlib/ordim.jar"/>2. Add the following libaries to the project properties for the ViewController project
- ADF Web Runtime
- ADF Toplink Runtime
- Oracle Intermedia JClient
3. Create a WAR deployment profile for the ViewController project. In the WEB-INF\lib node of the File Groups node in the properties, select all libraries. Click OK and deploy the file to an EAR file using the right click menu on that deployment profile.
4. Copy the EAR file to the j2ee\home\applications manually and add entries in the server.xml and http-web-site.xml. See entries that JDeveloper adds when you do right-click deployments to the server for the pattern.
5. Bounce the OC4J server (if it did not pick up the new application).
Note: The steps above load more libraries than are needed. The following list has also been proven to work but it still may be more than is needed.
adf-controller.jar
adfm.jar
adfmtl.jar
adfmweb.jar
adftags.jar
bc4jct.jar
bc4jdomorcl.jar
bc4jhtml.jar
bc4jimdomains.jar
bc4jmt.jar
bc4juixtags.jar
classes12.jar
collections.jar
commons-beanutils.jar
commons-collections.jar
commons-digester.jar
commons-el.jar
commons-fileupload.jar
commons-lang.jar
commons-logging.jar
commons-logging.jar
commons-validator.jar
datatags.jar
graphtags.jar
jakarta-oro.jar
jaxen-full.jar
jhsadfrt.jar
jdev-cm.jar
ojmisc.jar
ordhttp.jar
ordim.jar
jsp-el-api.jar
jstl.jar
log4j-1.2.7.jar
nls_charset12.jar
oracle-el.jar
regexp.jar
saxpath.jar
share.jar
standard.jar
struts.jar
uix2.jar
uixadfrt.jar
xalan.jar -
Web server type of standalone oc4j needed for SSL Certificate
Hi,
We have a standalone oc4j 10.1.3 that hosts an application whose many of its pages use https and so we need to buy SSL certificate from any of CAs like Verisign, GeoTrust, etc.. All of these CAs are asking us about the web server type that the standalone OC4J uses. I read the following statement from this url:
http://download.oracle.com/docs/cd/B32110_01/web.1013/b28950/intro.htm#JICON100
"communications in a standalone environment is provided through the built-in *_OC4J Web server_*, which supports HTTP and HTTPS communications natively without the use of the Oracle HTTP Server"
On all of the SSL certificate systems of above CAs websites, they ask us to choose the web server type from a list of server types but I don't see OC4J web server listed and I am told that it is very important to make sure the web server type is correct otherwise the SSL Certificate that we buy may not be compatible with our web server type.
So, I like to know the exact built in web server type name that goes with Standalone OC4J or one that is closest and for which SSL Certificate is compatible.
Shown below is a list of web server types that I am asked to choose from on Verisign website.The closest to standalone oc4j according to below list is Oracle Wallet Manager but isn't this meant for Oracle Application Server (OAS) and not the standalone OC4J? we are using the java keytool to generate the CSR that we look to sign it via the verisign but again we are not sure about the web server type in the case of standalone OC4J that is not listed below. Please advice and thanks in advance to any of your responses in helping out.
Webstar 4.x
ApacheSSL mod_ssl
WebLogic 6.0
WebLogic 8.1
Cisco
ACS 3.2
Covalent
Apache ERS 2.4
Apache ERS 3.0
F5
BIG-IP
IBM
Websphere MQ
HTTP Server
Lotus
Domino 5.0
Domino 6.0
Domino 7.0
Domino 8.0
Windows NT - IIS 4.0
Windows 2000 - IIS 5.0
Windows 2003 - IIS 6.0
Windows 2008 - IIS 7.0
Exchange 2007
iPlanet 4.x
iPlanet 6.x
ScreenOS
SSL Accelerator
Oracle Wallet Manager_
Secure Web Server
SSL Offloaders
Stronghold
Java Web Server 6.x
Sun ONE
AS Server w/IIS 4
AS Server w/IIS 5
EA Server
Tomcat
ZeusHi Zeus,
Type of certificate depends the method you will use to deploy the certificate on your application server.
Please refer the links,
http://download.oracle.com/docs/cd/B31017_01/web.1013/b28957/configssl.htm
http://download.oracle.com/docs/cd/B14099_19/core.1012/b13995/wallets.htm#ASADM400
http://download.oracle.com/docs/cd/B14099_19/web.1012/b14013/configssl.htm
Regards,
mYth -
How Standalone OC4J and the Oracle Application Server linked to each other
Hi ,
Please let me know what is the relation between a Standalone OC4J and the Oracle Application Server ?
In my application The Oracle Application Server is installed in C drive and there is a Stand alone oC4j .
Please tell me how they are linked to each other .
Thank you .It depends on your need and what features and functionality of Oracle Application Server you are interested in. Note that OC4J is a component of Oracle Application Server that can run as a standalone component or within Oracle Application Server. Question #6 in earlier mentioned FAQ document states:
OC4J standalone is J2EE 1.3 compatible (1.4 and 1.5 too in later releases of OC4J) and is able to be used in both development and small scale production environments. OC4J standalone provides its own inbuilt HTTP/S listener to allow clients to execute Web applications that it has deployed. Application deployment and server configuration of OC4J standalone is performed by the manual editing of a simple set of XML files.
For large scale enterprise deployments, the Oracle Application Server product is likely to be more suitable with its comprehensive feature set including Oracle HTTP Server, process monitoring and management capabilities, and its configuration and management console.
So if you are happy with what you see in standalone OC4J and scalability isn't an issue for you, you can stay with standalone OC4J and don't need to move to Oracle Application Server.
PS: If you do decide to use OC4J that's embedded with Oracle Application Server, you can't move your standalone OC4J inside Oracle Application Server. You will have to reconfigure embedded OC4J again (as you might have done with standalone OC4J) and redeploy your applications.
Hope this helps.
Thanks
Shail -
Eclipse 3.2.0:JVM Terminated
Hello Friends,
I am facing a big problem, While debugging a project in eclipse after some time i get the message on console that JVM terminated and some exit code is there and after that a log(error) file is created in the directory...
In starting it happens sometimes but after that it is going on frequently.
Please help me in this regard...
The error message is like this
# An unexpected error has been detected by HotSpot Virtual Machine:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d641e3a, pid=968, tid=1188
# Java VM: Java HotSpot(TM) Client VM (1.5.0_11-b03 mixed mode)
# Problematic frame:
# V [jvm.dll+0x1e3a]
# An error report file with more information is saved as hs_err_pid968.log
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
ThanksHi,
I am also facing same problem. Frequently my Eclipse is getting close and it is giving the message that JVM terminated with exit code 1.
Also a log file also creating. Please help me to resolve the issue as I am not able to work at all. FYI, I am using Vista home basic 32 bit.
Logfile:
# An unexpected error has been detected by HotSpot Virtual Machine:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x75263727, pid=8940, tid=8364
# Java VM: Java HotSpot(TM) Client VM (1.5.0_05-b05 mixed mode, sharing)
# Problematic frame:
# C [COMCTL32.dll+0x33727]
--------------- T H R E A D ---------------
Current thread (0x000b9d78): JavaThread "main" [_thread_in_native, id=8364]
siginfo: ExceptionCode=0xc0000005, reading address 0x0000001b
Registers:
EAX=0x6bc43ab7, EBX=0x001b6950, ECX=0x6bc2d3cf, EDX=0x001888f0
ESP=0x0006e948, EBP=0x0006e978, ESI=0xffffffff, EDI=0xffffffff
EIP=0x75263727, EFLAGS=0x00010206
Top of Stack: (sp=0x0006e948)
0x0006e948: 001888f0 001b6950 75263110 00030b36
0x0006e958: 0006e968 00000000 00000005 7526311b
0x0006e968: 00000000 00000000 000000b6 6bc43ab7
0x0006e978: 0006e9a0 752ddbc9 001888f0 ffffffff
0x0006e988: 00000000 00000002 001b6950 001888f0
0x0006e998: 00000009 00000005 0006ea20 75263571
0x0006e9a8: 001b6890 00000001 001b6950 00000003
0x0006e9b8: 00000000 0006ea9c 0000110b 00000000
Instructions: (pc=0x75263727)
0x75263717: 19 37 75 33 c5 89 45 fc 8b 55 08 53 56 8b 75 0c
0x75263727: 0f b7 5e 1c 33 5d 10 89 55 d8 23 5d 14 0f 85 59
Stack: [0x00030000,0x00070000), sp=0x0006e948, free space=250k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [COMCTL32.dll+0x33727]
C [COMCTL32.dll+0xadbc9]
C [COMCTL32.dll+0x33571]
C [USER32.dll+0x1f8d2]
C [USER32.dll+0x1f794]
C [USER32.dll+0x206f6]
C [USER32.dll+0x2069c]
C [swt-win32-3235.dll+0x1346]
J org.eclipse.swt.internal.win32.OS.CallWindowProcW(IIIII)I
J org.eclipse.swt.widgets.Tree.callWindowProc(IIII)I
J org.eclipse.swt.widgets.Control.windowProc(IIII)I
J org.eclipse.swt.widgets.Tree.windowProc(IIII)I
J org.eclipse.swt.widgets.Display.windowProc(IIII)I
v ~RuntimeStub::alignment_frame_return Runtime1 stub
v ~StubRoutines::call_stub
V [jvm.dll+0x8295c]
V [jvm.dll+0xd752e]
V [jvm.dll+0x8282d]
V [jvm.dll+0x8766c]
C [swt-win32-3235.dll+0x2ac96]
C [swt-win32-3235.dll+0x1f0c1]
C [USER32.dll+0x1f794]
C [USER32.dll+0x20a05]
C [USER32.dll+0x20afa]
C [swt-win32-3235.dll+0xba46]
J org.eclipse.swt.internal.win32.OS.SendMessage(IIII)I
v ~RuntimeStub::alignment_frame_return Runtime1 stub
j org.eclipse.swt.widgets.Tree.setSelection([Lorg/eclipse/swt/widgets/TreeItem;)V+144
j org.eclipse.jface.viewers.TreeViewer.setSelection(Ljava/util/List;)V+42
j org.eclipse.jface.viewers.AbstractTreeViewer.setSelectionToWidget(Ljava/util/List;Z)V+151
j org.eclipse.jface.viewers.StructuredViewer.setSelectionToWidget(Lorg/eclipse/jface/viewers/ISelection;Z)V+18
j org.eclipse.jface.viewers.AbstractTreeViewer.setSelectionToWidget(Lorg/eclipse/jface/viewers/ISelection;Z)V+32
j org.eclipse.jface.viewers.StructuredViewer.setSelection(Lorg/eclipse/jface/viewers/ISelection;Z)V+27
j org.eclipse.jdt.internal.ui.javaeditor.JavaOutlinePage.select(Lorg/eclipse/jdt/core/ISourceReference;)V+71
j org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.synchronizeOutlinePage(Lorg/eclipse/jdt/core/ISourceReference;Z)V+38
j org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.synchronizeOutlinePage(Lorg/eclipse/jdt/core/ISourceReference;)V+3
j org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.selectionChanged()V+30
j org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor$2.run()V+4
J org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Z)Z
J org.eclipse.swt.widgets.Display.readAndDispatch()Z
J org.eclipse.ui.internal.Workbench.runEventLoop(Lorg/eclipse/jface/window/Window$IExceptionHandler;Lorg/eclipse/swt/widgets/Display;)V
v ~OSRAdapter
j org.eclipse.ui.internal.Workbench.runUI()I+225
j org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+11
j org.eclipse.ui.PlatformUI.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+2
j org.eclipse.ui.internal.ide.IDEApplication.run(Ljava/lang/Object;)Ljava/lang/Object;+76
j org.eclipse.core.internal.runtime.PlatformActivator$1.run(Ljava/lang/Object;)Ljava/lang/Object;+219
j org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ljava/lang/Object;)Ljava/lang/Object;+103
j org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ljava/lang/Object;)Ljava/lang/Object;+29
j org.eclipse.core.runtime.adaptor.EclipseStarter.run(Ljava/lang/Object;)Ljava/lang/Object;+135
j org.eclipse.core.runtime.adaptor.EclipseStarter.run([Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Object;+60
v ~StubRoutines::call_stub
V [jvm.dll+0x8295c]
V [jvm.dll+0xd752e]
V [jvm.dll+0x8282d]
V [jvm.dll+0xe7854]
V [jvm.dll+0xa0b0b]
C [java.dll+0x6c08]
j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+111
j org.eclipse.core.launcher.Main.invokeFramework([Ljava/lang/String;[Ljava/net/URL;)V+181
j org.eclipse.core.launcher.Main.basicRun([Ljava/lang/String;)V+107
j org.eclipse.core.launcher.Main.run([Ljava/lang/String;)I+4
j org.eclipse.core.launcher.Main.main([Ljava/lang/String;)V+10
v ~StubRoutines::call_stub
V [jvm.dll+0x8295c]
V [jvm.dll+0xd752e]
V [jvm.dll+0x8282d]
V [jvm.dll+0x898ac]
C [javaw.exe+0x14c0]
C [javaw.exe+0x313d]
C [kernel32.dll+0x44911]
C [ntdll.dll+0x3e4b6]
C [ntdll.dll+0x3e489]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J org.eclipse.swt.internal.win32.OS.CallWindowProcW(IIIII)I
J org.eclipse.swt.widgets.Tree.callWindowProc(IIII)I
J org.eclipse.swt.widgets.Control.windowProc(IIII)I
J org.eclipse.swt.widgets.Tree.windowProc(IIII)I
J org.eclipse.swt.widgets.Display.windowProc(IIII)I
v ~RuntimeStub::alignment_frame_return Runtime1 stub
v ~StubRoutines::call_stub
J org.eclipse.swt.internal.win32.OS.SendMessageW(IIII)I
J org.eclipse.swt.internal.win32.OS.SendMessage(IIII)I
v ~RuntimeStub::alignment_frame_return Runtime1 stub
j org.eclipse.swt.widgets.Tree.setSelection([Lorg/eclipse/swt/widgets/TreeItem;)V+144
j org.eclipse.jface.viewers.TreeViewer.setSelection(Ljava/util/List;)V+42
j org.eclipse.jface.viewers.AbstractTreeViewer.setSelectionToWidget(Ljava/util/List;Z)V+151
j org.eclipse.jface.viewers.StructuredViewer.setSelectionToWidget(Lorg/eclipse/jface/viewers/ISelection;Z)V+18
j org.eclipse.jface.viewers.AbstractTreeViewer.setSelectionToWidget(Lorg/eclipse/jface/viewers/ISelection;Z)V+32
j org.eclipse.jface.viewers.StructuredViewer.setSelection(Lorg/eclipse/jface/viewers/ISelection;Z)V+27
j org.eclipse.jdt.internal.ui.javaeditor.JavaOutlinePage.select(Lorg/eclipse/jdt/core/ISourceReference;)V+71
j org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.synchronizeOutlinePage(Lorg/eclipse/jdt/core/ISourceReference;Z)V+38
j org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.synchronizeOutlinePage(Lorg/eclipse/jdt/core/ISourceReference;)V+3
j org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.selectionChanged()V+30
j org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor$2.run()V+4
J org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Z)Z
J org.eclipse.swt.widgets.Display.readAndDispatch()Z
J org.eclipse.ui.internal.Workbench.runEventLoop(Lorg/eclipse/jface/window/Window$IExceptionHandler;Lorg/eclipse/swt/widgets/Display;)V
v ~OSRAdapter
j org.eclipse.ui.internal.Workbench.runUI()I+225
j org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+11
j org.eclipse.ui.PlatformUI.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+2
j org.eclipse.ui.internal.ide.IDEApplication.run(Ljava/lang/Object;)Ljava/lang/Object;+76
j org.eclipse.core.internal.runtime.PlatformActivator$1.run(Ljava/lang/Object;)Ljava/lang/Object;+219
j org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ljava/lang/Object;)Ljava/lang/Object;+103
j org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ljava/lang/Object;)Ljava/lang/Object;+29
j org.eclipse.core.runtime.adaptor.EclipseStarter.run(Ljava/lang/Object;)Ljava/lang/Object;+135
j org.eclipse.core.runtime.adaptor.EclipseStarter.run([Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Object;+60
v ~StubRoutines::call_stub
j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+111
j org.eclipse.core.launcher.Main.invokeFramework([Ljava/lang/String;[Ljava/net/URL;)V+181
j org.eclipse.core.launcher.Main.basicRun([Ljava/lang/String;)V+107
j org.eclipse.core.launcher.Main.run([Ljava/lang/String;)I+4
j org.eclipse.core.launcher.Main.main([Ljava/lang/String;)V+10
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x04322368 JavaThread "Worker-5" [_thread_blocked, id=8704]
0x04321bc0 JavaThread "org.eclipse.jdt.internal.ui.text.JavaReconciler" daemon [_thread_blocked, id=9424]
0x014e5dc8 JavaThread "Worker-4" [_thread_blocked, id=9360]
0x014e5ab8 JavaThread "Worker-3" [_thread_blocked, id=6864]
0x014e5188 JavaThread "Worker-2" [_thread_blocked, id=9352]
0x014e57a8 JavaThread "org.eclipse.jdt.internal.ui.text.JavaReconciler" daemon [_thread_blocked, id=9392]
0x014e5310 JavaThread "Java indexing" daemon [_thread_blocked, id=9552]
0x014e4e78 JavaThread "Worker-1" [_thread_blocked, id=9448]
0x014e49e0 JavaThread "Worker-0" [_thread_blocked, id=9016]
0x014e4858 JavaThread "Start Level Event Dispatcher" daemon [_thread_blocked, id=9216]
0x014e46d0 JavaThread "Framework Event Dispatcher" daemon [_thread_blocked, id=4108]
0x014e4548 JavaThread "State Data Manager" daemon [_thread_blocked, id=8700]
0x014e4238 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=8916]
0x014e6898 JavaThread "CompilerThread0" daemon [_thread_blocked, id=7724]
0x014e40b0 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=9328]
0x014afaa8 JavaThread "Finalizer" daemon [_thread_blocked, id=8884]
0x014af7e8 JavaThread "Reference Handler" daemon [_thread_blocked, id=8696]
=>0x000b9d78 JavaThread "main" [_thread_in_native, id=8364]
Other Threads:
0x014dde60 VMThread [id=9372]
0x01440fc8 WatcherThread [id=8544]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 2880K, used 1121K [0x17c00000, 0x17f20000, 0x18fb0000)
eden space 2560K, 37% used [0x17c00000, 0x17cf31c0, 0x17e80000)
from space 320K, 46% used [0x17e80000, 0x17ea55d8, 0x17ed0000)
to space 320K, 0% used [0x17ed0000, 0x17ed0000, 0x17f20000)
tenured generation total 37824K, used 16406K [0x18fb0000, 0x1b4a0000, 0x27c00000)
the space 37824K, 43% used [0x18fb0000, 0x19fb59f8, 0x19fb5a00, 0x1b4a0000)
compacting perm gen total 32768K, used 32639K [0x27c00000, 0x29c00000, 0x2bc00000)
the space 32768K, 99% used [0x27c00000, 0x29bdfc80, 0x29bdfe00, 0x29c00000)
ro space 8192K, 62% used [0x2bc00000, 0x2c10a3a0, 0x2c10a400, 0x2c400000)
rw space 12288K, 46% used [0x2c400000, 0x2c9903d8, 0x2c990400, 0x2d000000)
Dynamic libraries:
0x00400000 - 0x0040c000 C:\Windows\system32\javaw.exe
0x77cc0000 - 0x77de7000 C:\Windows\system32\ntdll.dll
0x77590000 - 0x7766b000 C:\Windows\system32\kernel32.dll
0x77e00000 - 0x77ec6000 C:\Windows\system32\ADVAPI32.dll
0x767b0000 - 0x76872000 C:\Windows\system32\RPCRT4.dll
0x774f0000 - 0x7758d000 C:\Windows\system32\USER32.dll
0x77b60000 - 0x77bab000 C:\Windows\system32\GDI32.dll
0x76540000 - 0x765ea000 C:\Windows\system32\MSVCRT.dll
0x76600000 - 0x7661e000 C:\Windows\system32\IMM32.DLL
0x77420000 - 0x774e8000 C:\Windows\system32\MSCTF.dll
0x765f0000 - 0x765f9000 C:\Windows\system32\LPK.DLL
0x77a30000 - 0x77aad000 C:\Windows\system32\USP10.dll
0x6d640000 - 0x6d7cc000 C:\Program Files\Java\jre1.5.0_05\bin\client\jvm.dll
0x75090000 - 0x750c2000 C:\Windows\system32\WINMM.dll
0x777a0000 - 0x778e4000 C:\Windows\system32\ole32.dll
0x77390000 - 0x7741d000 C:\Windows\system32\OLEAUT32.dll
0x75050000 - 0x75089000 C:\Windows\system32\OLEACC.dll
0x76370000 - 0x7639c000 C:\Windows\system32\apphelp.dll
0x6d280000 - 0x6d288000 C:\Program Files\Java\jre1.5.0_05\bin\hpi.dll
0x76530000 - 0x76537000 C:\Windows\system32\PSAPI.DLL
0x6d610000 - 0x6d61c000 C:\Program Files\Java\jre1.5.0_05\bin\verify.dll
0x6d300000 - 0x6d31d000 C:\Program Files\Java\jre1.5.0_05\bin\java.dll
0x6d630000 - 0x6d63f000 C:\Program Files\Java\jre1.5.0_05\bin\zip.dll
0x6d4c0000 - 0x6d4d3000 C:\Program Files\Java\jre1.5.0_05\bin\net.dll
0x77b30000 - 0x77b5d000 C:\Windows\system32\WS2_32.dll
0x77a20000 - 0x77a26000 C:\Windows\system32\NSI.dll
0x75b80000 - 0x75bbb000 C:\Windows\system32\mswsock.dll
0x75bd0000 - 0x75bd5000 C:\Windows\System32\wship6.dll
0x6d4e0000 - 0x6d4e9000 C:\Program Files\Java\jre1.5.0_05\bin\nio.dll
0x10000000 - 0x10052000 E:\eclipse\configuration\org.eclipse.osgi\bundles\79\1\.cp\swt-win32-3235.dll
0x75230000 - 0x753ce000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6001.18000_none_5cdbaa5a083979cc\COMCTL32.dll
0x77740000 - 0x77798000 C:\Windows\system32\SHLWAPI.dll
0x77bb0000 - 0x77c23000 C:\Windows\system32\comdlg32.dll
0x76880000 - 0x7738f000 C:\Windows\system32\SHELL32.dll
0x77670000 - 0x77740000 C:\Windows\system32\WININET.dll
0x77df0000 - 0x77df3000 C:\Windows\system32\Normaliz.dll
0x77ed0000 - 0x77f15000 C:\Windows\system32\iertutil.dll
0x6e760000 - 0x6e783000 C:\Windows\system32\MSVFW32.dll
0x751f0000 - 0x7522f000 C:\Windows\system32\uxtheme.dll
0x04970000 - 0x04978000 E:\eclipse\configuration\org.eclipse.osgi\bundles\17\1\.cp\os\win32\x86\localfile_1_0_0.dll
0x05150000 - 0x05163000 E:\eclipse\configuration\org.eclipse.osgi\bundles\79\1\.cp\swt-gdip-win32-3235.dll
0x74e90000 - 0x7503b000 C:\Windows\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.6001.18065_none_9e7abe2ec9c13222\gdiplus.dll
0x758b0000 - 0x758eb000 C:\Windows\system32\rsaenh.dll
0x77c30000 - 0x77cb4000 C:\Windows\system32\CLBCatQ.DLL
0x74ca0000 - 0x74cd0000 C:\Windows\system32\mlang.dll
0x75bc0000 - 0x75bc5000 C:\Windows\system32\msimg32.dll
0x74580000 - 0x7458f000 C:\Windows\system32\NLAapi.dll
0x75de0000 - 0x75df9000 C:\Windows\system32\IPHLPAPI.DLL
0x75da0000 - 0x75dd5000 C:\Windows\system32\dhcpcsvc.DLL
0x760a0000 - 0x760cc000 C:\Windows\system32\DNSAPI.dll
0x763d0000 - 0x763e4000 C:\Windows\system32\Secur32.dll
0x76310000 - 0x76317000 C:\Windows\system32\WINNSI.DLL
0x75d70000 - 0x75d91000 C:\Windows\system32\dhcpcsvc6.DLL
0x723c0000 - 0x723cf000 C:\Windows\system32\napinsp.dll
0x72250000 - 0x72262000 C:\Windows\system32\pnrpnsp.dll
0x723b0000 - 0x723b8000 C:\Windows\System32\winrnr.dll
0x77ab0000 - 0x77afa000 C:\Windows\system32\WLDAP32.dll
0x16080000 - 0x160a5000 E:\Program Files\Bonjour\mdnsNSP.dll
0x723a0000 - 0x723ac000 C:\Windows\system32\wshbth.dll
0x76620000 - 0x767aa000 C:\Windows\system32\SETUPAPI.dll
0x75820000 - 0x75825000 C:\Windows\System32\wshtcpip.dll
0x72bc0000 - 0x72bc6000 C:\Windows\system32\rasadhlp.dll
0x762b0000 - 0x7630f000 C:\Windows\system32\SXS.DLL
0x70bd0000 - 0x70bd7000 C:\Windows\system32\msiltcfg.dll
0x75c10000 - 0x75c18000 C:\Windows\system32\VERSION.dll
0x72660000 - 0x72862000 C:\Windows\system32\msi.dll
VM Arguments:
jvm_args: -Xms40m -Xmx256m
java_command: E:\eclipse\startup.jar -os win32 -ws win32 -arch x86 -launcher E:\eclipse\eclipse.exe -name Eclipse -showsplash 600 -exitdata 21f4_70 -vm C:\Windows\system32\javaw.exe -vmargs -Xms40m -Xmx256m -jar E:\eclipse\startup.jar
Environment Variables:
JAVA_HOME=C:\Program Files\Java\jdk1.5.0_05
CLASSPATH=E:\Program Files\QuickTime\QTSystem\QTJava.zip;C:\j2sdk1.4.2_05\bin;C:\j2sdk1.4.2_05\lib;C:\j2sdk1.4.2_05\jre;C:\j2sdk1.4.2_05\jre\bin;C:\j2sdk1.4.2_05\jre\lib
PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;E:\Program Files\Common Files\Roxio Shared\DLLShared\;E:\Program Files\Common Files\Roxio Shared\10.0\DLLShared\;E:\Program Files\QuickTime\QTSystem\;C:\Program Files\Java\jdk1.5.0_05\bin;C:\Program Files\Java\jre1.5.0_05\bin;C:\Program Files\Java\jre1.5.0_05\lib
USERNAME=Nitya
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 13, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows NT 6.0 Build 6001 Service Pack 1
CPU:total 2 family 6, cmov, cx8, fxsr, mmx, sse, sse2, ht
Memory: 4k page, physical 2086204k(824940k free), swap 4194303k(1884676k free)
vm_info: Java HotSpot(TM) Client VM (1.5.0_05-b05) for windows-x86, built on Aug 26 2005 15:36:02 by "java_re" with MS VC++ 6.0
Edited by: Nityakumar_Paul on Oct 5, 2008 1:58 PM -
Pre-configured standalone OC4J with PDK - ZIP corrupt - ??
zip is corrupt, what can I do, who can I contact??
pre-configured standalone OC4J with PDK
http://www.oracle.com/technology/products/ias/portal/files/pdk_oc4j_extended.zip
found at page http://www.oracle.com/technology/products/ias/portal/pdk.htmlSorry for the multiple occurences of this posting, Got an error during posting!
-
Maven - ERROR: Maven JVM terminated unexpectedly with exit code 0
Hi All,
I have written pom.xml for auto deployment process between hudson and deployment servers.
The script which i return its working perfectly i can see the application in web logic server. The application has been deployed in the web logic server. No issues that.
All the remaining task is also very well working in the servers but the build is failing as **failed** by saying the below error in hudson
[ServerConnectionImpl.close():332] : Closing DM connection
[ServerConnectionImpl.close():352] : Unregistered all listeners
[ServerConnectionImpl.closeJMX():372] : Closed JMX connection
[ServerConnectionImpl.closeJMX():384] : Closed Runtime JMX connection
[ServerConnectionImpl.closeJMX():396] : Closed Edit JMX connection
**ERROR: Maven JVM terminated unexpectedly with exit code 0**
Sending e-mails to: [email protected]
Finished: FAILURE
I dont why like this happening in the maven.
Here is my maven opts set in Hudson server.
Maven_OPTS : -Xms256m -Xmx1024m -XX:MaxPermSize=512m
kindly help me to resolve this issue. Thanks in advance.
Regards,
Rocky.Hi Sir,
Please try the following items:
1. if ther is anti-virus installed , please uninstall it temporarily
2. run " sfc /scannow "
3. keep windows up-to-date
4. if you updated some hardware driver please roll it back
5. if the issue persists , please use windows installation media to perform inplace-upgrade for the system
Also please refer to reinstall C++ runtime within the similar thread:
https://social.technet.microsoft.com/Forums/windows/en-US/bf69eeff-24c4-499f-b280-b6a3098f4f9f/problem-with-msvcrtdll-version-70760117744?forum=w7itprogeneral
Best Regards,
Elton Ji
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] . -
WORKSHOP WITH JVM TERMINATED. EXIT CODE=1
Hi All,
I am using Red Hat Linux 5.2 with Jrockit as JVM when I start workshop 10.3 I got following error
JVM TERMINATED. EXIT CODE=1
I would like to know when exactly this problem will come.
currently I know that JVM will have very less memory. apart from this is there any issue which cause this issue.
any help will be highly appreciate.
Regards,
Kal.Check this:
http://wiki.oracle.com/page/How+to+get+Oracle+Workshop+for+Weblogic+10GR3+working+in+Linux?t=anon
Karl -
Unable to connect to standalone oc4j 10.1.3 DP4 with JDeveloper 10.1.3
Hi all,
I'm having problems to establish a connection to standalone oc4j 10.1.3 DP4 in JDeveloper 10.1.3 studio release.
I'm using the default settings for my OC4J installation and I tested it with http://localhost:8888.
I also set the host in the configuration panel to localhost and left the url-path empty as default.
The username/password combination I filled in is correct.
I'm getting the following error when I ty to test te connection in Jdeveloper:
Error while getting remote MBeanServer for url: ormi://localhost:23791/default:
Error reading application-client descriptor: Error communicating with server: <no message>oracle.oc4j.security.KeyExchange.createKeyAgreement(KeyExchange.java:210)
oracle.oc4j.security.KeyExchange.getKeyAgreement(KeyExchange.java:195)
oracle.oc4j.security.KeyExchange.getSecretKey(KeyExchange.java:132)
oracle.oc4j.security.ExchangingEncryptor.getEncryptedValue(ExchangingEncryptor.java:150)
com.evermind.server.rmi.RMIProtocol$SecureCredentials.send(RMIProtocol.java:246)
com.evermind.server.rmi.RMIProtocol.sendCredentials(RMIProtocol.java:95)
oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java:91)
oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTransport.java:68)
com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.java:600)
com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:130)
com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:249)
com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:50)
oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:86)
oracle.oc4j.deployment.ApplicationClientResourceFinder.getFinder(ApplicationClientResourceFinder.java:108)
oracle.oc4j.deployment.ApplicationClientResourceFinder.getLocation(ApplicationClientResourceFinder.java:60)
oracle.oc4j.deployment.ApplicationClientResourceFinder.getEjbBinding(ApplicationClientResourceFinder.java:38)
com.oracle.naming.J2EEContext.addEJBReferenceEntries(J2EEContext.java:498)
com.oracle.naming.J2EEContext.create(J2EEContext.java:84)
oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:82)
oracle.j2ee.naming.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java:75)
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
javax.naming.InitialContext.init(InitialContext.java:223)
javax.naming.InitialContext.<init>(InitialContext.java:197)
oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:460)
oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.<init>(CoreRemoteMBeanServer.java:155)
oracle.oc4j.admin.management.mejb.MEjb.<init>(MEjb.java:116)
oracle.oc4j.admin.management.mejb.MEjb.getMBeanServer(MEjb.java:157)
oracle.oc4j.admin.management.mejb.MEjbFactory.getManagement(MEjbFactory.java:54)
oracle.oc4j.admin.deploy.spi.ConnectedDeploymentManagerBase.<init>(ConnectedDeploymentManagerBase.java:215)
oracle.oc4j.admin.deploy.spi.Oc4jDeploymentManager.<init>(Oc4jDeploymentManager.java:68)
oracle.oc4j.admin.deploy.spi.factories.Oc4jDeploymentFactory.getDeploymentManager(Oc4jDeploymentFactory.java:130)
oracle.jdevimpl.cm.dt.J2EEConnectionWrapper._getDeploymentManager(J2EEConnectionWrapper.java:182)
oracle.jdevimpl.cm.dt.J2EEConnectionWrapper.testPresentation(J2EEConnectionWrapper.java:111)
oracle.jdeveloper.cm.dt.wizard.TestConnectionPanelUI.testConnectionImpl(TestConnectionPanelUI.java:202)
oracle.jdeveloper.cm.dt.wizard.TestConnectionPanelUI$1.doWork(TestConnectionPanelUI.java:158)
oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)
oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
java.lang.Thread.run(Thread.java:595)
caused by: Incompatible parameters; nested exception is:
javax.naming.CommunicationException: <no message>oracle.oc4j.security.KeyExchange.createKeyAgreement(KeyExchange.java:210)
oracle.oc4j.security.KeyExchange.getKeyAgreement(KeyExchange.java:195)
oracle.oc4j.security.KeyExchange.getSecretKey(KeyExchange.java:132)
oracle.oc4j.security.ExchangingEncryptor.getEncryptedValue(ExchangingEncryptor.java:150)
com.evermind.server.rmi.RMIProtocol$SecureCredentials.send(RMIProtocol.java:246)
com.evermind.server.rmi.RMIProtocol.sendCredentials(RMIProtocol.java:95)
oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java:91)
oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTransport.java:68)
com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.java:600)
com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:130)
com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:249)
com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:50)
oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:86)
oracle.oc4j.deployment.ApplicationClientResourceFinder.getFinder(ApplicationClientResourceFinder.java:108)
oracle.oc4j.deployment.ApplicationClientResourceFinder.getLocation(ApplicationClientResourceFinder.java:60)
oracle.oc4j.deployment.ApplicationClientResourceFinder.getEjbBinding(ApplicationClientResourceFinder.java:38)
com.oracle.naming.J2EEContext.addEJBReferenceEntries(J2EEContext.java:498)
com.oracle.naming.J2EEContext.create(J2EEContext.java:84)
oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:82)
oracle.j2ee.naming.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java:75)
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
javax.naming.InitialContext.init(InitialContext.java:223)
javax.naming.InitialContext.<init>(InitialContext.java:197)
oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:460)
oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.<init>(CoreRemoteMBeanServer.java:155)
oracle.oc4j.admin.management.mejb.MEjb.<init>(MEjb.java:116)
oracle.oc4j.admin.management.mejb.MEjb.getMBeanServer(MEjb.java:157)
oracle.oc4j.admin.management.mejb.MEjbFactory.getManagement(MEjbFactory.java:54)
oracle.oc4j.admin.deploy.spi.ConnectedDeploymentManagerBase.<init>(ConnectedDeploymentManagerBase.java:215)
oracle.oc4j.admin.deploy.spi.Oc4jDeploymentManager.<init>(Oc4jDeploymentManager.java:68)
oracle.oc4j.admin.deploy.spi.factories.Oc4jDeploymentFactory.getDeploymentManager(Oc4jDeploymentFactory.java:130)
oracle.jdevimpl.cm.dt.J2EEConnectionWrapper._getDeploymentManager(J2EEConnectionWrapper.java:182)
oracle.jdevimpl.cm.dt.J2EEConnectionWrapper.testPresentation(J2EEConnectionWrapper.java:111)
oracle.jdeveloper.cm.dt.wizard.TestConnectionPanelUI.testConnectionImpl(TestConnectionPanelUI.java:202)
oracle.jdeveloper.cm.dt.wizard.TestConnectionPanelUI$1.doWork(TestConnectionPanelUI.java:158)
oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)
oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
java.lang.Thread.run(Thread.java:595)
caused by: Incompatible parameters [Root exception is oracle.oc4j.security.KeyExchange$KeyExchangeException]
Can anyone help me with this problem??
Thanks in advance.
-TomOk, I have installed the production release. But when I login to the application console I'm getting the following error:
This OC4J is configured to make JMX connections via RMIS and fall back to RMI if the RMIS port is not configured. The RMIS connection on the OC4J instance null on Application Server null is configured but a connection could not be established. The JMX protocol is specified by the oracle.oc4j.jmx.internal.connection.protocol property in opmn.xml
Probably I have to configure more things here. Do you now what, before I delve into the manuals myself..;) -
Standalone oc4j in 3 different machine with clustering enabled
Hello,
I just want to know if clustering is possible in my situation.
I have 3 different machine/server with a load balancer, I've installed a standalone oc4j in each machine, I deploy my application to each of the standalone oc4j, I have enable the clustering of each oc4j using peer to peer configuration.
Machine 1 pointing to node of Machine 2
Machine 2 pointing to node of Machine 3
Machine 3 pointing to node of Machine 1
Then I test my application, for my first try I was pointed to machine 1 by my load balancer, created a session, etc..etc.., after that I stop my application to oc4j machine 1, then after I refresh my page, the load balancer pointed me to machine 2, and there I see that my session is lost. Clustering is not working.
Can anyone guide my if clustering is possible using oc4j's only. Thanks.I have solved this issue.
It turns out that wls 10.3 does not always delete an application cleanly.
I found 3 copies of the application remaining in the server.
I deleted and reinstalled the wls and the problem was solved. -
Hi!
We have successfully made Identity Manager 10.1.2.0.2 (SSO) to work with the full OAS 10.1.3, by generating osso.conf file, as explained on chapter 6 of OC4J security guide. However, we have no clue on how to do it for Standalone OC4J. Such versoin has no Apache directory in order to run osso1013 script on.
Any help would be much appreciated.
Thanks in advance.
Best Regards,
GustavoThe SSO Registration tool is meant for OracleAS, not standalone OC4J. Since you are not using OHS, I don't know how you will be redirected to the login page.
As far as OC4J goes, the configuration would be as follows.
For use of Oracle Single Sign-On for authentication, the auth-method attribute is set to "SSO" in the <jazn-web-app> element (a subelement of the <jazn> element) in the OC4J orion-application.xml file.
Here is a sample entry:
<orion-application ... >
<jazn provider="LDAP" >
<jazn-web-app auth-method="SSO"/>
</jazn>
</orion-application>
You would also have to associate OC4J with the Identity Management Infrastructure
Message was edited by:
wbathurs -
Standalone OC4J with SMS Portlet - Error
I have installed the SMS Portlet (downloaded from OTN) onto Standalone OC4J with PDK. However, when I try to login, I get a No route to host error. What values should I set proxyHost and proxyPort to run it from my local desktop.
Thanks.Hi,
actually the error message doesn't point to the problem because its a generic message. The HTML page message is the one you build and modify when creating the Webstart project in JDeveloper.
The configuration looks okay.
Frank -
Cannot connect RMI-IIOP client to standalone OC4J (10.1.3)
[PROBLEM]
I am trying to access an EJB session bean from a simple remote java client.
The EJB is deployed to a standalone OC4J server.
Using the RMI-over-IIOP protocol for client-server communication.
The client and server run in separate JVMs (but on the same machine).
This is a simple java client program, not a J2EE application client.
The InitialContext creation fails with the errors shown below.
I searched around on the web, and found other people with the same issue, but no solution:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4995985
Maybe I'm missing something in my configuration, deployment, client invocation?
Any help will be greatly appreciated!
[SETUP]
I generated the iiop stubs during deployment (-DGenerateIIOP=true) to the server. Added the generated IIOPClient jar file to my client classpath.
Also specified -enableIIOP and remote=true for the EJB deployment.
As per the 10.1.3 documentation, I also specified the following command line arguments:
-Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sun.corba.ee.impl.javax.rmi.PortableRemoteObject
-Dcom.oracle.CORBA.OrbManager=com.oracle.corba.ee.impl.orb.ORBManagerImpl
-Dorg.omg.CORBA.ORBInitialHost=testpc1
-Dorg.omg.CORBA.ORBInitialPort=5555
Verified in Oracle Enterprise Manager 10g (Application Server Control) that the application was deployed successfully, and a Stateful Session Bean is visible in the EJB pane.
Also verified that the iiop port (5555) is functioning (netstat).
internal-settings.xml file:
<server-extension-provider name="IIOP" class="com.oracle.iiop.server.IIOPServerExtensionProvider">
<sep-property name="port" value="5555"/>
<sep-property name="host" value="localhost"/>
<sep-property name="ssl" value="false"/>
<sep-property name="ssl-port" value="5556"/>
<sep-property name="ssl-client-server-auth-port" value="5557"/>
<sep-property name="trusted-clients" value="*"/>
</server-extension-provider>
server.xml file contains this entry:
<sep-config path="./internal-settings.xml"/>
[Versions]
Oracle Containers for J2EE 10g (10.1.3.0.0) (build 060119.1546.05277)
java version "1.5.0_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode, sharing)
[ERROR]
com.sun.corba.ee.impl.legacy.connection.SocketFactoryContactInfoImpl <init>
WARNING: ORBUTIL.invalidEndPointInfoType
org.omg.CORBA.INTERNAL: vmcid: SUN minor code: 281 completed: No
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.invalidEndPointInfoType(ORBUtilSystemException.java:5084)
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.invalidEndPointInfoType(ORBUtilSystemException.java:5106)
at com.sun.corba.ee.impl.legacy.connection.SocketFactoryContactInfoImpl.<init>(SocketFactoryContactInfoImpl.java:62)
at com.sun.corba.ee.impl.legacy.connection.SocketFactoryContactInfoListIteratorImpl.next(SocketFactoryContactInfoListIteratorImpl.java:59)
at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:114)
at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:214)
at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69)
at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:345)
at com.sun.jndi.cosnaming.CNCtx.initUsingCorbanameUrl(CNCtx.java:321)
at com.sun.jndi.cosnaming.CNCtx.initUsingUrl(CNCtx.java:247)
at com.sun.jndi.cosnaming.CNCtx.createUsingURL(CNCtx.java:85)
at com.sun.jndi.url.iiop.iiopURLContextFactory.getUsingURLIgnoreRest(iiopURLContextFactory.java:56)
at com.sun.jndi.url.iiop.iiopURLContextFactory.getUsingURL(iiopURLContextFactory.java:61)
at com.sun.jndi.url.iiop.iiopURLContextFactory.getObjectInstance(iiopURLContextFactory.java:34)
at oracle.j2ee.iiop.IIOPInitialContextFactory.getInitialContext(IIOPInitialContextFactory.java:76)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
at ejbremoteclient.Main.getContext(Main.java:80)
at ejbremoteclient.Main.main(Main.java:87)
javax.naming.NamingException
at oracle.j2ee.iiop.IIOPInitialContextFactory.getInitialContext(IIOPInitialContextFactory.java:86)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
at ejbremoteclient.Main.getContext(Main.java:80)
at ejbremoteclient.Main.main(Main.java:87)
ClientIIOPSSLSocketFactory.getEndpointInfo: iopprofile is not an instance of IIOPProfileTemplate
[CLIENT CODE]
// get context
Hashtable env = new Hashtable();
env.put("java.naming.provider.url", "corbaname::testpc1:5555#DME3");
env.put("java.naming.factory.initial", "oracle.j2ee.iiop.IIOPInitialContextFactory");
env.put(Context.SECURITY_PRINCIPAL, "oc4jadmin");
env.put(Context.SECURITY_CREDENTIALS, "welcome");
Context ic = new InitialContext(env); <---FAILS HEREHello Deepak
I've been doing some other stuff and then back to RMI/IIOP tests wih my app...
Finally I passed the previous errors, it all ended up being misconfigurations on the server and client side.
Now I'm striving with this one ...
java.rmi.AccessException: CORBA NO_PERMISSION 0 No; nested exception is:
org.omg.CORBA.NO_PERMISSION: ----------BEGIN server-side stack trace----------
org.omg.CORBA.NO_PERMISSION: vmcid: 0x0 minor code: 0 completed: No
at oracle.oc4j.corba.iiop.security.SecServerRequestInterceptor.receive_request(SecServerRequestInterceptor.java:354)
at com.sun.corba.ee.impl.interceptors.InterceptorInvoker.invokeServerInterceptorIntermediatePoint(InterceptorInvoker.java:509)
at com.sun.corba.ee.impl.interceptors.PIHandlerImpl.invokeServerPIIntermediatePoint(PIHandlerImpl.java:505)
at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.getServantWithPI(CorbaServerRequestDispatcherImpl.java:429)
at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:191)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1653)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1513)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:895)
at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:172)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:668)
at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:375)
at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.read(SocketOrChannelConnectionImpl.java:284)
at com.sun.corba.ee.impl.transport.ReaderThreadImpl.doWork(ReaderThreadImpl.java:73)
at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:382)
----------END server-side stack trace---------- vmcid: 0x0 minor code: 0 completed: No
at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:204)
at javax.rmi.CORBA.Util.mapSystemException(Util.java:67)
at com.x.tools.login.ejb._LoginHome_Stub.create(Unknown Source)
at com.x.tools.login.clientside.model.Facade.<init>(Facade.java:168)
at com.x.tools.login.clientside.model.Facade.getInstance(Facade.java:122)
at com.x.tools.login.clientside.LoginApp.doLogin(LoginApp.java:169)
at com.x.tools.login.clientside.Login.getInstance(Login.java:83)
at com.x.caracas.AdminApp.clientside.MainAdminApp.<init>(MainAdminApp.java:30)
at com.x.caracas.AdminApp.clientside.MainAdminApp.main(MainAdminApp.java:81)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.omg.CORBA.NO_PERMISSION: ----------BEGIN server-side stack trace----------
org.omg.CORBA.NO_PERMISSION: vmcid: 0x0 minor code: 0 completed: No
at oracle.oc4j.corba.iiop.security.SecServerRequestInterceptor.receive_request(SecServerRequestInterceptor.java:354)
at com.sun.corba.ee.impl.interceptors.InterceptorInvoker.invokeServerInterceptorIntermediatePoint(InterceptorInvoker.java:509)
at com.sun.corba.ee.impl.interceptors.PIHandlerImpl.invokeServerPIIntermediatePoint(PIHandlerImpl.java:505)
at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.getServantWithPI(CorbaServerRequestDispatcherImpl.java:429)
at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:191)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1653)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1513)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:895)
at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:172)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:668)
at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:375)
at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.read(SocketOrChannelConnectionImpl.java:284)
at com.sun.corba.ee.impl.transport.ReaderThreadImpl.doWork(ReaderThreadImpl.java:73)
at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:382)
----------END server-side stack trace---------- vmcid: 0x0 minor code: 0 completed: No
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at com.sun.corba.ee.impl.protocol.giopmsgheaders.MessageBase.getSystemException(MessageBase.java:791)
at com.sun.corba.ee.impl.protocol.giopmsgheaders.ReplyMessage_1_2.getSystemException(ReplyMessage_1_2.java:97)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.getSystemExceptionReply(CorbaMessageMediatorImpl.java:546)
at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.processResponse(CorbaClientRequestDispatcherImpl.java:430)
at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(CorbaClientRequestDispatcherImpl.java:326)
at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:132)
at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
... 18 more
Hope it's easy to solve ... I'm not using JAAS .. my jndi.properties looks like this:
java.naming.security.principal=oc4jadmin
java.naming.security.credentials=welcome javax.rmi.CORBA.PortableRemoteObjectClass=com.sun.corba.ee.impl.javax.rmi.PortableRemoteObject
com.oracle.CORBA.OrbManager=com.oracle.corba.ee.impl.orb.ORBManagerImpl
java.naming.factory.initial=oracle.j2ee.iiop.IIOPInitialContextFactory
java.naming.provider.url=corbaname::serverhost:13321#/MyApp -
JVM Crashes With SIGSEGV Messages
Hi All,
I thought that posting to this forum may be helpful as we have been trying to resolve a problem for some months that has become quite frustrating. We implemented an installation of Application Server in July last year, which was originally 9.0.3. Since then, we have been having stability problems with the OC4J application running on it, which crashes about once a week. These crashes have changed slightly in nature after application upgrades, and application server patches. We are now running the following specification:
p650 IBM Server
AIX 5.2 ML5
Oracle Application Server 9.0.4.1.0
IBM JDK 1.4.1 - version output:
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1)
Classic VM (build 1.4.1, J2RE 1.4.1 IBM AIX build ca1411ifx-20040810 (141SR3) (JIT enabled: jitc))
We recently symlinked in the native install of the JVM to the application server JDK directories, as we suspected a bug in the JVM was causing the problems.
The symptoms are that the JVM process is either restarted by opmn, or that it crashes, and is uncrecoverable. We have tried increasing the heap size (which is currently 1.5GB) but this has not seemed to help. In most crashes no out of memory errors are produced, although we have seen them in the past. Usually, opmn restarts the process itself and no manual intervention is required.
This problem could be to do with the Java code, which uses Toplink 9.0.4 to access the underlying database, however our supplier keeps proclaiming that the problem is in the IBM JDK, because their other customers aren't having the same problems on different platforms, (Windows, Linux and Solaris.)
The application server goes down for a cold backup every morning, and most days runs through without failure.
However, once or twice a week the JDK crashes and we have been unable to diagnose the fault.
The output of the ipm.log at the time looks like this:
05/04/01 15:01:56 [3] [libopmnoc4j] Could not connect to socket while pinging an OC4J process
05/04/01 15:01:56 [4] [libopmnoc4j] Process Ping Failed: OC4J~FWPROD~default_island~1 (1280573938:55396)
05/04/01 15:01:56 [4] Job 0 2683505 result:
fwprod.<edit>xxxxxxx</edit>~OC4J~FWPROD~default_island~1280573938:55396
Status: Alive
Operation: internal (Connection timed out)
ErrFile: /oracle/product/ias904/opmn/logs/OC4J~FWPROD~default_island~1
05/04/01 15:03:32 [3] [libopmnoc4j] Could not connect to socket while pinging an OC4J process
05/04/01 15:03:32 [4] [libopmnoc4j] Process Ping Failed: OC4J~FWPROD~default_island~1 (1280573938:55396)
05/04/01 15:03:32 [4] [libopmnoc4j] Process Unreachable: OC4J~FWPROD~default_island~1 (1280573938:55396)
05/04/01 15:03:32 [4] Job 0 2683505 result:
fwprod.fwprod.nottscc.gov.uk~OC4J~FWPROD~default_island~1280573938:55396
Status: Alive
Operation: internal (Connection timed out)
ErrFile: /oracle/product/ias904/opmn/logs/OC4J~FWPROD~default_island~1
05/04/01 15:03:32 [4] Restarting Process: OC4J~FWPROD~default_island~1 (1280573938:55396)
05/04/01 15:05:55 [4] Stopping Process: OC4J~FWPROD~default_island~1 (1280573938:55396)
05/04/01 15:05:55 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~FWPROD~default_island~1 (1280573938:55396)
The JVM sometimes produces thread dumps, or heap dumps, and we have added a script to do a 'kill -3' at every shutdown.
The thread dumps seem to contain SIGSEGV messages, which is what lead the developers to suggest a JDK problem.
We have been told that the JVM should not crash this way, regardless of what the code is like, but are not convinced that the problem lies in that area.
Does anyone here have exprience of running Java applications on the IBM JDK an Oracle Application Server with similar problems?We seem to have tracked the problem down to inefficient use of large objects in the application. Excessive loading of large document objects was casuing lots of full garbage collects to be formed, which seemed to be destablising the JDK. The new release of the application stopped loading these large objects into memory except when they are actually being opened, which has kept our heap usage much more stable, and seems to have helped avert crashes.
Maybe you are looking for
-
Ethernet to Firewire adaptor/cable
A few days ado a lightning hit my house, and among other things, my iMac's ethernet port stopped working. I'm not exactly sure, but it looks like it would be expensive to get a new one working, so I was wondering if you guys know of any sort ethernet
-
The Reasoning Behind The "Two Week Notice"
In the UK we have anywhere between one week and three months for a notice period. It's becoming more common to have to give the employer three months notice and them to give you one months notice. I've never actually understood the two weeks thing in
-
HT201436 My phone does not receive Voicemail messages.
How can I get my phone to receive Voicemail messages ? I have backed it up and it has the latest version of iOS 7.1.2
-
Adobe Digital Editions "encountered error" what to do?
Just downloaded and ran version 3.0 of Adobe Digital Editions and it appear to install, but when opening it I get an error "Adobe Digital Editions 3.0 has encountered an error and needs to close"
-
Reformatted computer and now nothing works
Hi, I recentry reinstalled Windows 7 on my HP 584037-001 laptop due to some pretty bad computer problems. The problems I was having prevented me from doing a back up. I successfully reinstalled windows but now none of the drivers are working includ