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

Similar Messages

  • 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.html

    Sorry for the multiple occurences of this posting, Got an error during posting!

  • Portal Release 1 (1.2.2.2) with servlet portlets Error

    Hi,
    Iam trying to get a servlet to work as portlet but I am getting the following error:
    Can anybody help me with this problem.
    [31/07/2003 13:29:38:484 CEST] sample/init
    [31/07/2003 13:29:41:171 CEST] vertis/Response status: 500 : java.lang.NoSuchMethodError: javax.servlet.http.HttpServletRequest: method setAttribute(Ljava/lang/String;Ljava/lang/Object;)V not found
         at com.nl.vertis.pd.controller.PdController.doGet(PdController.java:56)
         at com.nl.vertis.pd.controller.PdController.doPost(PdController.java:68)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:521)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.portal.provider.v1.http.Servlet20Renderer.renderBody(Servlet20Renderer.java:155)
         at oracle.portal.provider.v1.RenderManager.render(RenderManager.java:165)
         at oracle.portal.provider.v1.http.ServletProviderResponse.showPortlet(ServletProviderResponse.java:524)
         at oracle.portal.provider.v1.http.HttpProvider.dispatchProviderAction(HttpProvider.java:660)
         at oracle.portal.provider.v1.http.HttpProvider.service(HttpProvider.java:390)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java, Compiled Code)
         at org.apache.jserv.JServConnection.run(JServConnection.java, Compiled Code)
         at java.lang.Thread.run(Thread.java, Compiled Code)Below is the provider config I use for this servlet-portlet
       <portlet class="oracle.portal.provider.v1.http.DefaultPortlet">
          <id>1</id>
          <name>LOIServletController</name>
          <title>LOI Servlet Controller</title>
          <description>LOI Servlet Controller description</description>
          <timeout>10</timeout>
          <timeoutMessage>LOI/PD controller timed out</timeoutMessage>
          <hasHelp>false</hasHelp>
          <hasAbout>false</hasAbout>
          <showDetails>false</showDetails>
          <showEdit>false</showEdit>
          <showEditDefault>false</showEditDefault>
          <acceptContentType>text/html</acceptContentType>
          <renderer class="oracle.portal.provider.v1.RenderManager">
             <appPath>&virtualRoot;</appPath>
             <appRoot>&physicalRoot;</appRoot>
             <contentType>text/html</contentType>
             <charSet>UTF-8</charSet>
             <renderContainer>true</renderContainer>
             <showPage class="oracle.portal.provider.v1.http.Servlet20Renderer">
                <servletClass>com.nl.vertis.pd.controller.PdController</servletClass>
             </showPage>
          </renderer>
          <personalizationManager class="oracle.portal.provider.v1.FilePersonalizationManager">
             <dataClass>oracle.portal.provider.v1.http.BaseCustomization</dataClass>
             <useHashing>true</useHashing>
          </personalizationManager>
       </portlet>

    Thanx,
    But how do I do that???
    Ive got the following servlet that functions as a controller. How do I recode it to work with jserv and pdk V2/1 or can u point me to some portal/servlet related examples?
    And then especially the get/setAttribute and dispatch functions.
    package com.nl.vertis.pd.controller;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.PrintWriter;
    import java.io.IOException;
    import java.util.Map;
    import java.util.Set;
    import java.util.Iterator;
    import java.util.Enumeration;
    import java.util.Vector;
    import oracle.portal.provider.v1.*;
    import oracle.portal.provider.v1.http.*;
    import com.nl.vertis.util.GenericConfigObject;
    import com.nl.vertis.pd.data.*;
    import com.nl.vertis.blueprint.model.Constants;
    import com.vertis.util.log.*;
    import com.vertis.util.log.handler.*;
    public class PdController  extends HttpServlet implements Constants {
      private static final String CONTENT_TYPE = "text/html; charset=windows-1252";
      private String _firstAction = "Search.do";
      private Config _cnf = null;
      private AppModuleLOIImpl _app = new AppModuleLOIImpl();
      private GenericConfigObject _obj = null;
      private BasicLog _logger = null;
      public void init(ServletConfig config) throws ServletException {
        try {
          if (config.getInitParameter("cFirstAction") != null) {
            _firstAction = config.getInitParameter("cFirstAction");
          if (_logger == null) {
            _logger = new BasicLog();
            _logger.addHandler(new FileHandler(LOG_PATH,LOG_FILENAME));
          // Even de configuratie inlezen.
          if (_cnf == null) {
            _cnf = new Config();
        } catch(Exception e) {
          e.printStackTrace();
        super.init(config);
      public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        _logger.activate();
        _logger.info("PdController","doGet","Starting..");
        GenericConfigObject _action = getActionObject(request);
        _logger.info("PdController","doGet","the action name = "+_action.getString("action"));
         request.setAttribute("actionObject",_action);
        _logger.info("We zijn voorbij een setAttribute gekomen");
        HttpSession _session = request.getSession();
        if (_session.getAttribute("appModule") == null) {
          _session.setAttribute("appModule",_app);
        RequestDispatcher dispatcher = request.getRequestDispatcher(_action.getString("action"));
        dispatcher.forward(request,response);
      public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        doGet(request,response);
      private GenericConfigObject getActionObject(HttpServletRequest request) {
        String _objnName = null;
        if (request.getParameter("path") != null) {
          _logger.info("request.getParameter(\"path\") != null");
          _objnName = (_cnf.getGlobalForward(request.getParameter("path"))).getString("name");
          _logger.info("global forward 2 action name = "+_objnName);
        } else {
          _logger.info("request.getParameter(\"path\") == null");
          _logger.info("first action name = "+_firstAction);
          _objnName = (_cnf.getGlobalForward(_firstAction)).getString("name");
          _logger.info("global forward 2 action name = "+_objnName);
        return _cnf.getAction(_objnName);
    }

  • Error deploying to standalone OC4J app server

    Hey all,
    I created a web app with jdeveloper 10.1.3.3 using OC4J 10.1.3.3 as well. I'm using EJB and session beans to communicate with a database. nothing particularly fancy about it, i just read tables from the db. however, when i try and deploy through jdev to the standalone OC4J i get an error. here's the last part of the deployment log when it fails:
    Deployment Log:
    Binding ibmswauth web-module for application ibmswauth to site default-web-site under context root ibmswauth
    Operation failed with error:
    [ibmswauth:ibmswauth] - Exception creating EntityManagerFactory using PersistenceProvider class oracle.toplink.essentials.PersistenceProvider for persistence unit WD_WORK.
    The only thing in my Persistence.xml file is the <persistence-unit> tag with name "WD_WORK", and in that a <jta-data-source> tag.
    Also, it runs fine on the local embedded server, it's only when i try and deploy that it gives this error. I even deployed my app to an EAR file and tried uploading it manually to the app server, still same error.
    any ideas?

    If you have a model project that has objects referenced by the view controller/UI project then you need to explicitly include them in the deployment. Unlike in embedded OC4J they wont be automatically included.
    Create an ADF library deployment profile in the model project and include the generated library in your UI project war file. You can add this jar to the project Libraries/Classpath then make sure it is included in the WEB-INF/lib Contributors list.

  • Import not found when deploying to Standalone OC4J

    Hi,
    I'm developing a small application, consisting of a few classes and a few jsp pages. I'm using JDeveloper 9.0.3.1 with the sun j2sdk 1.4.2 for windows.
    I test my application with the embedded OC4J in Jdeveloper, and it runs fine. But when I deploy it to the standalone OC4J, I get this error:
    500 Internal Server Error
    OracleJSP: oracle.jsp.provider.JspCompileException:
    Errores de compilación:F:\programas\Oracle\jdeveloper\j2ee\home\application-deployments\Workspace4-WSWrappers-WS\WebServices\persistence\_pages\\_integrate2.java
    Note: sun.tools.javac.Main has been deprecated.
    F:\programas\Oracle\jdeveloper\j2ee\home\application-deployments\Workspace4-WSWrappers-WS\WebServices\persistence\_pages\_integrate2.java:6: Class webservices.Integrator not found in import.
    import webservices.Integrator;
    ^
    1 error, 1 warning
    This error does not happen when using the embedded OC4J server, only when deploying to the standalone. Since leaving JDeveloper up all times to use de app is not an option :) I really would appreciate any help towards solving this matter. I suspect it has to do with deployment options and whatnot, but I can't find anything wrong. Of course, I'm fairly new to this (jsp/OC4J), so it can be an obvious mistake right under my nose.
    thanks
    Javier

    Fixed. The problem was my Standalone OC4J was not properly installed, AND I was doin the deplyment wrong. Now it works by creating a war file, deploying to the war file and THEN deploying to the OC4J Standalone connection.
    So, if you start seeing "import not found" when deploying to standalone and it works on the embedded, check you war files to see if they REALLY are packing the classes they are supposed to carry.

  • Discussion Forum Portlet not working on standalone OC4J

    Hi,
    I'm testing the Discussion Forum Portlet.
    I imported the portlet to jedeveloper in order to make changes to it.
    I deployed it to a standalone OC4J (without doing any changes yet) and succesfully registered a provider, but when I put the portlet to a Portal-Page I get the following error:
    "Unable to perform the operation: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-33001: Cannot find the configuration file config\common\bc4j.xcfg in the classpath"
    Deploying to the OC4J_Portal Instance on the Application Server and
    registering the provider with this URL is working.
    I'm using Portal 10.1.2.0.2.
    I tested with OC4J standalone versions 9.0.4.0.0 and 10.1.2.0.2.
    What could cause the fact that the Portlet isn't working when it is deployed to an standalone OC4J?
    Regards,
    Mario

    I'd recommend asking the Portal/Portlet people -- I think exposure to this sample will be required to give you any assistance.
    One thing to be aware of though is that the libraries for BC4J (which this sample seems to use based on that error) aren't installed by default with OC4J standalone. Whereas for OracleAS 10.1.2 they are. So that might be something to chase down.
    cheers
    -steve-

  • Error while running Create page in standalone-oc4j

    I have an ADF Create page (CreateAppt.jsp) that works fine through jdeveloper 10.1.3, but does not work when i deploy and run it on a standalone-oc4j. Appreciate your ideas on what may cause this or debugging tips..
    My ADF application flows through two pages:
    a List page (ListAppts.jsp has a Create button) -> a Create Page (CreateAppt.jsp)
    When I click on the Create button on the List page, I arrive at the Create Page.
    When I run through jdeveloper, I see that all input fields in the Create page are empty, which is what I expect. However, when I open the same page on standalone-oc4j, all the input fields are populated with the first row in the List Page, and there is an error:
    JBO-25009: Cannot create an object of type:oracle.jbo.domain.Number with value:oc4jadmin
    For input string: "o"
    I designed the Create page using the generic Data Control Palette, by dragging the VO and dropping it with this option: Create->Forms->ADF Creation Form
    When running through standalone-oc4j, why is the Create page populated? and how is the standalone-oc4j login string, "oc4jadmin", used in the create?
    Thanks,
    Ou-Dan

    Hi,
    this sounds strange and cannot be diagnosed from remote. If it works in JDeveloper with the embedded OC4J then is works the same in stand alone OC4J. Having "oc4jadmin" showing seems that you look up a value from the request and assign it to the application. Note that you don't need to be logged in to OC4J to see ADF faces apps running.
    The problem seems to be in your application. Can you reproduce this with a simple testcase?
    Frank

  • Error while registering SMS portlet

    Hi,
    portal version 9.0.4.0.99
    I am getting the following error while registering SMS portlet using the external application SMSExternalApp.
    SOAP: Caught SOAPException (SOAP-ENV:Client): For input string: "3782 "
    [java.lang.NumberFormatException]
    Illegal External Application data, Could not authenticate the user to the Push
    Service. Please reenter the correct External Application data for authentication
    I followed the instructions as per "Installation Guide for SMS Portlet Beta" available in OTN. I was able to deploy the SMS Portlet provider but while publishing the SMS portlet and creating the external application "SMSExternalApp" it fails. Please let me know what is the cause for this error.

    Hi Ramya,
    In order to be able to use the OracleAS Portlet for SMS, you need to get yourself a trial/registered account with the OracleAS Wireless Service Team:
    http://www.oracle.com/technology/tech/wireless/messaging.htm
    Once you have created an account, you can use the access codes specified by the wireless team, for the username/password fields.
    Thanks,
    Harsha

  • 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

  • Compilation error when deploying EAR file on standalone OC4J...

    Hi All,
    I am getting the following error when trying to deploy an EAR File describing a web service from the Jdeveloper IDE to the stanalone OC4J server instance.
    ==========================================================
    Uploading file JavaWebServiceEmp-GetDates-WS.ear ...
    Application Deployer for JavaWebServiceEmp-GetDates-WS STARTS.
    Copy the archive to C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear
    Initialize C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear begins...
    Unpacking JavaWebServiceEmp-GetDates-WS.ear
    Done unpacking JavaWebServiceEmp-GetDates-WS.ear
    Unpacking WebServices.war
    Done unpacking WebServices.war
    Initialize C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear ends...
    Starting application : JavaWebServiceEmp-GetDates-WS
    Initializing ClassLoader(s)
    Initializing EJB container
    Loading connector(s)
    Starting up resource adapters
    Initializing EJB sessions
    Committing ClassLoader(s)
    Initialize WebServices begins...
    Initialize WebServices ends...
    Started application : JavaWebServiceEmp-GetDates-WS
    Binding web application(s) to site default-web-site begins...
    Binding WebServices web-module for application JavaWebServiceEmp-GetDates-WS to site default-web-site under context root JavaWebServiceEmp-GetDates-context-root
    Operation failed with error:
    Error compiling :C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS\WebServices: compilation error occurred
    Deployment failed
    Elapsed time for deployment: 1 minute, 50 seconds
    ==========================================================
    Please could somebody help me out with this? Basically I am not able to understand how to deploy the EAR file created under the MyWork folder under jdeveloper\jdev to the applications folder of j2ee\home. I am new to both EAR deployment as well as web services and would like to get a good understanding of the working of a web service which includes SOAP components and the like.
    Any help with regards to building and deploying a web service on standalone OC4J would be appreciated. Thanks a lot.

    Initially I followed the following steps to start up OC4J:-
    Settings :-
    1) Jdeveloper is setup under C:\Lester\Testing as Jdev10.1.3 folder
    2) I downloaded the extended oc4j zip folder and unzipped it under a new folder oc4j at the location C:\Lester\Testing\Jdev10.1.3
    Steps followed to run oc4j and deploy application
    1) Setup a standalone oc4j from the jdeveloper ide giving C:\Lester\Testing\Jdev10.1.3\oc4j as the root folder for oc4j.
    2) While doing step 1 added password and deployed it. Changed server.xml under C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/config
    to include the following:-
    <shared-library name="global.libraries" version="1.0" library-compatible="true">
    <code-source path="C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/applib"/>
    </shared-library>
    AND
    <java-compiler name="javac" in-process="false" options="-J-Xmx1024m -encoding UTF8" bindir="C:\Jdeveloper\jdk" extdirs="C:\Jdeveloper/jdk" />
    3) Opened a command prompt and went to the location C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home and ran the following command:-
    --> java -jar oc4j.jar
    4) Deployment: Then I deployed my primewebservice application from command prompt at C:\Lester\Smart Cylinder\Example code\prime\PrimeNumberService>
    using:-
    --> java -jar C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/admin.jar ormi://172.20.13.164:8888 oc4jadmin welcome -deploy -file PrimeNumberService.ear -deploymentName DocStyleWebService
    5) Web Binding: Then I bound my primewebservice application from command prompt at C:\Lester\Smart Cylinder\Example code\prime\PrimeNumberService>
    using:-
    --> java -jar C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/admin.jar ormi://172.20.13.164:8888 oc4jadmin welcome -bindWebApp DocStyleWebService PrimeNumberService_web http-web-site /docws
    6) Steps 4 and 5 went through without error.
    7) However when trying to access the web service using the following link I get the standard HTTP 404 (Page not found) error:-
    http://localhost:8888/docws/prime
    This was before I tried deploying the web service through jdeveloper IDE.
    I had tried the document web service given at the following link:-
    http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/docservice/index.html
    from the web services how to links
    http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/index.html
    Please could somebody help me out? Also periodically I recieve the ojc.exe not found error when trying to deploy an application using jdeveloper ide. There are two conflicting jdeveloper versions one comes with this exe and one without.
    Message was edited by:
    Lester N

  • 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

  • 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.Penev

    Same 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

  • 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.html

    Here 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

  • 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.
    -Tom

    Ok, 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..;)

  • Error deploying J2EE Application (EAR) to standalone OC4J

    Hi
    I'm invoking the admin_client.jar utility to deploy a webservice on a standalone OC4J, here is the command:
    java -jar %OC4J_HOME%\j2EE\home\admin_client.jar deployer:oc4j:localhost:23791 oc4jadmin test -deploy -file C:\10GIDS\BIN\johnTestWS.ear -deploymentname johnsws -bindAllWebApps default-web-site -contextRoot johnsws
    I get the following error:
    Deploy error: Deploy error: Operation failed with error:Error compiling :C:\JDeveloper_10g\j2ee\home\applications\johnsws\johnTestWS-web: Syntax error in source or compilation failed in: C:\JDeveloper_10g\j2ee\home\application-deployments\johnsws\johnTestWS-web\oracle\generated\runtime\XmlreturnBase__SOAPSerializer.java java.lang.NoClassDefFoundError: com/sun/tools/javac/MainException in thread "main"
    The java.lang.NoClassDefFoundError: com/sun/tools/javac/MainException in thread "main" error string (from my limited understanding) would mean there is a jar file missing from the CLASSPATH or something, yet, because the '-jar' option is selected when running the java command I don't have the option to include any classpath in the command string. What am I doing wrong?
    I've been trying to assemble and deploy this web service for ages now and I think I'm very close to the end, can someone please show me that I'm doing something very simple wrong....?

    smydo,
    I see you answered yourself in the other forum where you posted the same question:
    Problems deploying Web Service to standalone OC4J from Windows command line
    Good Luck,
    Avi.

Maybe you are looking for

  • Cooling fan not operating correctly

    Upon pushing the start button the laptop displays a black screen with the message that system fan 90b is not working correctly. The fan seems to make no noise and may possibly be dead. It tried to start up once without displaying that message, but sh

  • RMAN-06054: media recovery requesting unknown archived log

    RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of Duplicate D

  • I want Inbound Delivery number from Material document

    Hi, I wish to know where is the Inbound Delivery number (which SAP table) stored when we do a MIGO_GR against an Inbound Delivery ? I want to fetch the Inbound Delivery number from the Material document number. I observe, when we do a MIGO_GR against

  • Variations to accordion panel timing

    New to DW spry. Really liking how easy they are to use... Changing the panel animation timing for accordions is simple enough. However, with mouseover, can a delay be added in before the animation kicks in? I tried using setTimeout() with no luck [on

  • Multiple inserts into database

    I have a custom OAF page on which I have a few fields and a save button. Whenver the save button is clicked the method in the AM is invoked which takes the values on the screen using VO.getAttribute and calls to PL/SQL package. This PL/SQL package in