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,
Prasanna
http://blogs.oracle.com/shay/2005/10/24#a55
Similar Messages
-
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 -
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?
Thankshttp://blogs.oracle.com/shay/2005/10/24#a55
-
Hi, how to connect to Oracle Database 9i R2 with Eclipse?
Hi, I didn't get an email notifying me of a response to this. Just happened to check myself.
But basically you want to point the weblogic server directly to your workspace (src code) so it can detect a change. THis is from our doc below. You may also write an ant script specific to weblogic that redeploys the app and reloads the xml and prop files without restarting the server.
1. Start up your Weblogic domain server (i.e., C:\Domains\devDomain\startWebLogic.cmd).
2. Go to url, http://localhost:7001/console and log in (weblogic, weblogic).
3. On the left menu, click Deployments, then Lock & Edit button above it, and then the Install button in the main panel.
4. Change the location to the web folder in your project workspace (C:\Eclipse\workspace\<projectname>\web) Click Next.
5. Leave checked the Install this deployment as an application and click Next.
6. Put name for Name of deployment. . From here you can click Finish.
7. Click Activate Changes. Then check the deployment box and click Start button and Servicing all requests (in Deployments panel). Then click Yes to start it on the next page
8. Enter the URL of the application. This example is
http://localhost:7001/web/index.htm
The ?web? was the name of the web folder we deployed from. In the future you could name this something different if deploying from this console so the url?s do not conflict.
Edited by mwooten77 at 01/18/2007 9:34 AM
Edited by mwooten77 at 01/18/2007 9:35 AM -
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 -
JspParse Error when trying to run jsp/jspx page deployed on standalone OC4J
I have ADF Faces Application, which is developed with JDev 11 TP3.
I have deployed the application to Standalone OC4J Server, packed within JDeveloper 11 TP3.
The problem comes, when i try to acess my login jsp or other JSPX page,then i receive the following error on the standalone OC4J Server console:
for the JSP:
JSP Servlet Error: Internal Error, registered Directive handlers MUST descend from JspDirective
oracle.jsp.parse.JspParseException: /login.jsp : Line 4,
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
The content of my JSP page (login.jsp) is:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@ page contentType="text/html;charset=windows-1251"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
for JSPX:
Directive handlers must descend from JSP Directive..
But i have:
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<jsp:directive.page contentType="text/html;charset=windows-1251"/>
That works fine with JDev embedded OC4J.
Thank you in advance,
Krasimir
Message was edited by:
K.PenevSame trouble. Anyone have solution?
JDeveloper 11 TP4
OC4J 11 TP4 from this http://www.oracle.com/technology/tech/java/oc4j/index.html
Do this instruction http://www.oracle.com/technology/products/jdev/tips/muench/oc4j11gtp/index.html
Nothing to change.
Message was edited by:
user644372 -
Debug weblogic jsp with jbuilder4EE
Hi,
Is it possible to debug an J2EE application based on jsp /JBeanProxy/ EJB (weblogic 5.1) using jbuilder4 EE ?
Currently, I've only managed to use the tomcat module which is provided with JBuilder4 and
debug the weblogic EJB if I use a standalone client application. My problem is I'd like to
debug jsp pages using weblogic engine.
Thanks.
Having related issues, trying to debug WebLogic 5.1 Servlets with
JBuilder4EE. Again, all I can locate via docs, etc. is JBuilder4 debugging
with Tomcat.
However, I'm also running into erratic problems with JBuilder/Tomcat Servlet
debugging, where the debugger randomly losses variable references, and
'stepping' through the code often results in 'running' past all remaining
breakpoints that were set.
Any similar problems or possible solutions??
"Padraic Hannon" <[email protected]> wrote in message
news:[email protected]..
> denis boutin wrote:
>
> > Hi,
> >
> > Is it possible to debug an J2EE application based on jsp /JBeanProxy/
EJB (weblogic 5.1) using jbuilder4 EE ?
> > Currently, I've only managed to use the tomcat module which is provided
with JBuilder4 and
> > debug the weblogic EJB if I use a standalone client application. My
problem is I'd like to
> > debug jsp pages using weblogic engine.
> >
> > Thanks.
>
> did you get any responses?
> looking to do the same thing.
>
> thx
> paddy hannon
>
>
-
Standalone OC4J can't compile JSPs?
I've been following this tutorial: http://www.eclipse.org/webtools/community/tutorials/OracleServerAdapter/OracleServerAdapter.html
in order to get my Eclipse working with my 10.1.3 standalone OC4J server.
However, every time I try to run the index.jsp page, I get the following error:
J2EE JSP0008 Unable to dispatch JSP Page : Exception:oracle.jsp.provider.JspCompileException: <H3>Errors compiling:C:\ORACLE\oc4j\j2ee\home\application-deployments\DemoOC4J\DemoOC4J\persistence\_pages\\_index.java</H3><pre></pre>
I imagine that there's some sort of java path error of some sort but I can't seem to figure out what it would be. I have my JAVA_HOME set to my JDK 1.5 . ( \jdk1.5.0_11 ). Any ideas or pointers as to what I need to do to get this thing going?
ThanksAfter digging for days, I found this thread:
OC4J Preview - JSP not problem
Turns out that Eclipse set it's Java library defaults to the JRE directory and not the JDK. After changing it to the JDK, I've got JSP compilation success! -
Deploying a jsp with calls to CS Web Services to OC4J 10.1.2.0.2
Hi
My jsp (with CS webservices calls) works fine when deployed in the embedded oc4j that comes with jdev 10.1.2.0.0 but when I deploy the jsp to OC4J 10.1.2.0.2 with a preconfigured jpdk (available for download from otn at http://download.oracle.com/otndocs/tech/ias/portal/files/pdk101202_oc4j_extended.zip) I get the following error
Any thoughts?
500 Internal Server Error
java.lang.IncompatibleClassChangeError at org.apache.axis.message.MessageElement.addTextNode(MessageElement.java:1387) at org.apache.axis.message.SOAPHandler.addTextNode(SOAPHandler.java:148) at org.apache.axis.message.SOAPHandler.endElement(SOAPHandler.java:112) at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087) at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1257) at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:314) at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:281) at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:196) at oracle.xml.jaxp.JXSAXParser.parse(JXSAXParser.java:288) at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) at org.apache.axis.Message.getSOAPEnvelope(Message.java:424) at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206) at org.apache.axis.client.Call.invokeEngine(Call.java:2765) at org.apache.axis.client.Call.invoke(Call.java:2748) at org.apache.axis.client.Call.invoke(Call.java:2424) at org.apache.axis.client.Call.invoke(Call.java:2347) at org.apache.axis.client.Call.invoke(Call.java:1804) at oracle.ifs.fdk.RemoteLoginManagerSoapBindingStub.login(RemoteLoginManagerSoapBindingStub.java:242) at oracle.ifs.examples.ws.WsConnection.login(WsConnection.java:210) at oracle.ifs.examples.ws.WsConnection.login(WsConnection.java:132) at oracle.ifs.examples.ws.SearchOperations.<init>(SearchOperations.java:106) at htdocs.contentportlet._ContentPortletShowPage._jspService(_ContentPortletShowPage.java:51) [SRC:/htdocs/contentportlet/ContentPortletShowPage.jsp:8] at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186) at java.lang.Thread.run(Thread.java:534)I have found the solution:
The Content Services Libraries include a saaj-api.jar (for soap messages between the cs client java code and the server side webservices api).
Unfortunately, the preconfigured oc4j container downloaded from otn included an older version of saaj.jar in its j2ee/home/applib directory, which of course was found before the cslib version according to the default order in which class paths are read.
All I had to do was remove he saaj.jar from the oc4j/j2ee/home/applib directory so that content services could find its own (more upto date) version -
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!
-
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
Maybe you are looking for
-
Java Error Message: "Unable to Launch the Application"
Hello all and thanks in advance for any help. When I try to launch the program, "E*Trade Pro", I receive an error message saying "Unable to Launch Application". This is new as of today. I have run the program on numerous occasions in the past with no
-
FCE-HD Fails when trying to Export MPEG2
I am trying to export mpeg2 files so DVD Studio Pro 1.5 can use them. However, When I try to export from FCE-HD using quicktime mpeg2 format, it causes the application to fail with the following error. Please help. Thanks. Michael Date/Time: 2005-11-
-
I need to tranfer music from my iPod to my iTunes Library.
I really need someone's help bad. Rececently my computer crashed and I lost all of my music in my iTunes library. I still have it all loaded onto my iPod. The problem is that most of my music was not purchased thru the iTunes store so I can't transfe
-
Displaying dynamic attributes of a sku
Hi, I have added dynamic attributes(key) for a sku and these attributes have further options example: colour(key)-red, green size(key)-small, large I want to display these in my jsp in a similar way based on key. Can somebody help me with this. Thank
-
Z1 Kitkat .757 why much more
Even with the latest software available, sony still manages to screw things up. Still so many problems with the software and some kitkat features are not present on xperia's skin over android. The "K" in androids easter egg that we so love is replace