PDK & OC4J Standalone Development Environment

Hello Portal Gurus,
I now seek the knowledge of setting up a development environment where I can register and test portlets. As of now I understand that you need to download and install the OC4J Standalone version. Once OC4J is installed follow the directions to add PDK support. I have registered my portlet provider and viewed the portlet provider's "congradulations page". Since then I have found out that you can test specific pages e.g. (Show, Edit, Help) by editing a properties page and setting the parameter testPageURI to the apporpriate page. The portlet runs fine until I try to set links to other pages in the deployed WAR (using UrlUtils), use PDK objects (PortletRenderRequest is null), and use PDK API's. Is there a way to test indivdual portlets (not providers) like they have in the portlet repository page in Oracle ias. Test the edit mode, show mode, and preview mode etc. I know I can change the testpageURI parameter but PDK functionality (objects, API's) just don't work.
thanks!

Hello Harsha,
I could and have developed and tested my portlets against an Oracle AS Portal instance. Performance becomes a problem when I do remote development. It takes approximately 15 minutes to deploy a portlet via a broadband vpn connection vs. 1 minute when deploying my portlets via a LAN. (A 9 MB upload is slow). If I can develop and test my portlets on my local machine it would greatly reduce the time it takes to complete the development cycle.
Thanks!

Similar Messages

  • OC4J Standalone 10.1.3 Upgrade

    Hi, I am upgrading my development environment to JDeveloper and OC4J Standalone 10.1.3 on WinXp Pro from JDeveloper and OC4J Standalone 10.1.2. After deploying my application to OC4J Standalone 10.1.3 I receive a NameNotFoundException for my EJB's (v 2.1). I am certain the EJB names are correct, it worked in 10.1.2. I can see from the Spy servlet that the EJB's are deployed. Can someone offer a suggestion on how to find the root problem here? Is this a permission issue maybe? Thank you.

    Avi Abrami,
    Thank you for responding. Indeed the EJB module is v2.0 in 10.1.2, my
    misunderstanding. The EJB's are local too. Also, the ejb's are deployed in an ear
    such that the ejb and war modules are included in the ear.
    Here is the code,
    env.put("java.naming.factory.initial", "com.evermind.server.ApplicationInitialContextFactory");
    ctx = new InitialContext(env);
    Object ref = ctx.lookup("ejb/SomeSession"); <-- Exception occurs here
    javax.naming.NameNotFoundException: ejb/SomeSession not found     at
    com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
    ].server.rmi.RMIServerContext.lookup(RMIServerContext.java:202)     at
    com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
    ].server.ApplicationContext.unprivileged_lookup(ApplicationContext.java:259)     at
    com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
    ].server.ApplicationContext.lookup(ApplicationContext.java:199)     at
    com.oracle.naming.LookupFactory.lookupInContext(LookupFactory.java:42)     at
    com.oracle.naming.LookupFactory.getObjectInstance(LookupFactory.java:27)     at
    javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:301)     at
    com.oracle.naming.J2EEContext.lookup(J2EEContext.java:144)     at
    com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
    ].server.ApplicationContext.lookupInJavaContext(ApplicationContext.java:326)     at
    com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
    ].server.ApplicationContext.unprivileged_lookup(ApplicationContext.java:234)     at
    com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
    ].server.ApplicationContext.lookup(ApplicationContext.java:199)     at
    javax.naming.InitialContext.lookup(InitialContext.java:347)     at
    state.us.app.utility.naming.JndiLocator.lookup(JndiLocator.java:67)     at
    state.us.app.utility.naming.LocalHomeLocator.lookupLocalHome(LocalHomeLocator.java:148)     at state.us.app.business.SomeDelegate.<init>(SomeDelegate.java:124)     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:274)     at
    java.lang.Class.newInstance0(Class.java:308)     at
    java.lang.Class.newInstance(Class.java:261)     at
    state.us.app.utility.DelegateFactory.getDelegate(DelegateFactory.java:65)     at
    state.us.app.view.action.DisplayLoginAction.execute(DisplayLoginAction.java:51)     
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)     
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)     at
    org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)     at
    org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)     at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:743)     at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:856)     at com.evermind[Oracle
    Containers for J2EE 10g (10.1.3.0.0)
    ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
    ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
    ].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:270)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
    ].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:42)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
    ].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:204)     
    at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)     at
    com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
    ].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
    ].server.http.EvermindPageContext.forward(EvermindPageContext.java:322)     at
    index.jspService(_index.java:96)     [SRC:/index.jsp:24]     at com.orionserver[Oracle
    Containers for J2EE 10g (10.1.3.0.0)
    ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)     at
    oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:662)     at
    oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:370)     at
    oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)     at
    oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)     at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:856)     at com.evermind[Oracle
    Containers for J2EE 10g (10.1.3.0.0)
    ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
    ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
    ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)     at
    com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
    ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)     at
    com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
    ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)     at
    com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
    ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)     at
    com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
    ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)     at
    oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)     
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)     
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)     
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
    ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:534)

  • BPEL/OC4J Standalone w/OracleXE

    I am new to Oracle application server and BPEL so I apologize in advance if this is an easy question or if it's already answered.
    But I’m trying to set up a developer environment using the BPEL/OC4J standalone installation (as_windows_x86_bpel_101200.exe) using OracleXE as the supporting database. Some of our needs preclude the use of the “olite” DB that comes with this installation so we are trying to use XE. On the surface we think it should work but we are having some difficulties. It could be the way we are installing or it could be it simply won’t work.
    If someone has been successful at configuring this way, I only would like to know that it is possible so I don’t spend any more time on it.
    Thanks!

    Any help please with resolving the null pointer on all jsps launched that were created using the portlet item? any?

  • Development environment for 10g R2

    Guys,
    I need to setup a development environment for oracle 10g r2 forms development. I am a new to oracle and due to downsizing we lost our DBAs so I am on my own and need your huge support.........
    Current settings: Oracle on the server: Oracle 10g R2
    My local client installation: 10.1.0.4.2
    Downloaded oracle developer suite from oracle: Oracle Forms: 10.1.2.0.2 (Developer suite 10.1.2.0.2)
    * Is this a correct development environment? or any incompatibility do you see with this? *
    Secondly, I heard various stuff about development environment and would like your input as well:
    * Can I develop forms application from my own desktop, running OC4j from my local machine (came with developer suite) to run and develop forms? or do i have to develop on the server where oracle is installed? *
    * Does our oracle server needs any application server (weblogic) installed or just OC4j can work on the server to run forms production? *
    Please help me to resolve my confusion so I can present the development environment to my management.....
    Thank you soo much...
    -Raj
    Edited by: user12236377 on Jan 28, 2010 10:55 AM

    Current settings: Oracle on the server: Oracle 10g R2
    My local client installation: 10.1.0.4.2
    Downloaded oracle developer suite from oracle: Oracle Forms: 10.1.2.0.2 (Developer suite 10.1.2.0.2)
    * Is this a correct development environment? or any incompatibility do you see with this? *If you want to go with Forms 10G, i would apply the latest patch set (i think its 10.1.2.3, but would suggest to consult Metalink for that)
    * Can I develop forms application from my own desktop, running OC4j from my local machine (came with developer suite) to run and develop forms? or do i have to develop on the server >where oracle is installed? *Yes, you can develop "locally" on your PC using only OC4J, but for integrationtests it might be useful to have an "test"-OAS (Oracle Application server 10.1.2)
    * Does our oracle server needs any application server (weblogic) installed or just OC4j can work on the server to run forms production? *For running 10G forms in production you will need an OAS (Oracle Application server 10.1.2), not a WebLogic-server.
    As an alternative to 10G, you could also start directly using Forms11G, which is the latest release. In this case you need a WebLogic-Server 11-installation both for development as also for production.

  • OC4J Standalone Distribution - License needed?

    Hi,
    I'm using APEX 3.2 on a 10gR2 Database with an Oracle HTTP Server (Apache 1.3). In order to enable PDF generation within APEX, an OC4J standalone is needed according to PDF Printing in APEX:
    [http://www.oracle.com/technology/products/database/application_express/html/configure_printing.html#05]
    Can someone confirm that OC4J standalone does not need to be licensed separately? According to every Apex documentation the "Apache FOP with the OC4J standalone" is the way to go if you don't want to spend extra money on Oracle Licenses. And I definitely do not need the whole Oracle Application Server.
    What really disturbed me was the first sentence on the OC4J Standalone Distribution Web Page:
    [http://www.oracle.com/technology/software/products/ias/htdocs/utilsoft.html]
    All software on this page is to be used according to the development license unless you are a licensed Oracle Application Server customer. Oracle Application Server customers can use this software according to the terms and conditions of your Oracle Application Server license.
    I'm not a licensed Oracle Application Server customer but I wan't to use the OC4J standalone in a production enviroment! Do I need to license OC4J standalone?
    Regards,
    Marco

    hi %,
    The official oracle reply:
    Please find below additional information to OC4J licensing:
    OC4J Standalone version can be downloaded for free from OTN but its usage is subject to the OTN Agreement.The OTN agreement is very restrictive and it is important that the partner and end user know of these restrictions.
    There is a link to the OTN Agreement on the url provided:
    +[http://www.oracle.com/technology/software/products/ias/htdocs/utilsoft.html |http://www.oracle.com/technology/software/products/ias/htdocs/utilsoft.html ]+
    For example,  the OTN program cannot be used for internal data processing or for any commercial or production purposes, or for any purpose except the development of a single prototype of your application.
    For for any commercial or production purposes OC4J is part of Internet Application Server (Standard Standard One and Enterprise Editions) and WebLogic Suite. These programs would need to be licensed in order to use OC4J.
    Unfortunately, I do not have an Oracle supported way to genereate PDF within APEX which does not cause any additional license costs.
    cheers,
    Marco

  • ECC 6.0 Webdynpro for ABAP development environment

    Hello,
    We are currently running ECC 5.0 and ABAP stack is only available as of ECC 6.0. Is is possible to download and install just ECC 6.0 development environment?
    Thanks,
    Alex

    The ABAP development environement and runtime are integrated into the Business Suite release.  Therefore ECC 5.0 runs on top of NetWeaver 2004 (6.40) and ECC 6.0 runs on top of NetWeaver 7.0. There is no way to directly mix ECC/NetWeaver releases nor can you directly transport NetWeaver 7.0 objects (like Web Dynpro ABAP) to a 6.40 based system since the runtime wouldn't be present. 
    You can however install a standalone NetWeaver Systems. Then you would have a separate instance with the ABAP 7.0 developement and runtime environement.  You can use RFCs and Web Service Calls from this standalone system to read and write data to/from your ECC 5.0 system.  You give up some of the benefits (like the integrated DDic value-help).

  • Oc4j standalone 10.1.3.3 and service registry with ssl install help needed

    Hello,
    I'm trying to install service registry with oc4j standalone for testing and demoing but am having some difficulty with the ssl side of things.
    I have setup a oc4j standalone 10.1.3.3 and configured the following ports:
    default http port: 9991
    ormi port: 9992
    ormi ssl port: 9993
    https port: 9994
    I have configured oc4j standalone for SSl as per instructions by copying default-web-site.xml to secure-web-site.xml and added secure="true" to <web-site> tag and added <ssl-config keystore..../> as well. I've also modified server .xml and added <web-site path="./secure-web-site.xml" /> into the file.
    I have then installed service registry as a publication (discovery) with http port pointing to 9991 and ssl enabled pointing to 9994 with oracle database.
    I can load http://localhost:9991/ and also https://localhost:9994 and both secure and non-secure page loads fine for the oc4j webpage. I can load http://localhost:9991/registry/uddi/web/ page but when I click on any of the link on it tries to load https://localhost:9994/registry/uddi/web i get a http 404 not found error.
    Tried googling and searching the forum for info, but I'm in need of a little help on where I went wrong.
    Thanks

    Hy frank, thanks for your reply:
    We use a jdk shipped with jdeveloper for running OC4J;
    "<JDev install dir>\jdk\bin\java.exe"
    java -version says:
    java version "1.5.0_06"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
    Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode)
    Regards.
    Davide

  • Pkd portals registering producer in OC4J standalone envirnment  Error

    when I'm trying to register producer for pdk portal in OC4J standalone envirnment its throwing the follwoing
    ERROR :
    I have done all the setup as per insteruction mentioned in installation guide of Oracle PKD.
    as such following :
    Within your OC4J home directory, create the following directories if they don't exist, or make
    backup copies if they do exist:
    $OC4J_HOME/jlib
    $OC4J_HOME/portal/jlib
    $OC4J_HOME/webcache/jlib
    Notes:
    $OC4J_HOME is the root directory of your OC4J installation. You will find directories named
    "bin", "j2ee", "javacache", "jdbc" etc. under this directory.
    Copy all the latest PDK-Java jar files to your OracleAS home. The jar files are included in
    $unzip_directory/pdk/libcommon/.
    copy $unzip_directory/pdk/libcommon/portal/jlib/* to $OC4J_HOME/portal/jlib/
    copy $unzip_directory/pdk/libcommon/webcache/jlib/* to $OC4J_HOME/webcache/jlib/
    copy $unzip_directory/pdk/libcommon/jlib/* to $OC4J_HOME/jlib/
    Notes:
    $unzip_directory denotes the directory where you have unzipped the pdk.zip.
    Add the following dependent library references to the global application.xml file. This file is
    found at the following location:
    $OC4J_HOME/j2ee/home/config/application.xml
    Dependent library references:
    <library path="../../../portal/jlib/pdkjava.jar"/>
    <library path="../../../portal/jlib/portaltools.jar"/>
    <library path="../../../portal/jlib/ptlshare.jar"/>
    <library path="../../../portal/jlib/tidy.jar"/>
    <library path="../../../jlib/ldapjclnt9.jar"/>
    <library path="../../../jlib/regexp.jar"/>
    <library path="../../../jlib/share.jar"/>
    <library path="../../../jlib/uix2.jar"/>
    <library path="../../../jlib/ojmisc.jar"/>
    <library path="../../../webcache/jlib/jawc.jar"/>
    <library path="../../home/jazn.jar"/>
    with above setup I'm able to deploy pkdApp.war onto the OC4j Standalone server :
    when trying to register producer I'm
    getting the following error:
    500 Internal Server Error
    java.lang.NullPointerException at
    oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.showTestPage(Unknown Source) at
    oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.handleHttp(Unknown Source) 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
    oracle.webdb.provider.v2.adapter.SOAPServlet.doHTTPCall(Unknown Source) at
    oracle.webdb.provider.v2.adapter.SOAPServlet.service(Unknown Source) at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at
    com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at
    com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:3
    70) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at
    com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221) at
    com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122) at
    com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111) at
    oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at
    com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.
    java:303) at java.lang.Thread.run(Thread.java:595)

    when I'm trying to register producer for pdk portal in OC4J standalone envirnment its throwing the follwoing
    ERROR :
    I have done all the setup as per insteruction mentioned in installation guide of Oracle PKD.
    as such following :
    Within your OC4J home directory, create the following directories if they don't exist, or make
    backup copies if they do exist:
    $OC4J_HOME/jlib
    $OC4J_HOME/portal/jlib
    $OC4J_HOME/webcache/jlib
    Notes:
    $OC4J_HOME is the root directory of your OC4J installation. You will find directories named
    "bin", "j2ee", "javacache", "jdbc" etc. under this directory.
    Copy all the latest PDK-Java jar files to your OracleAS home. The jar files are included in
    $unzip_directory/pdk/libcommon/.
    copy $unzip_directory/pdk/libcommon/portal/jlib/* to $OC4J_HOME/portal/jlib/
    copy $unzip_directory/pdk/libcommon/webcache/jlib/* to $OC4J_HOME/webcache/jlib/
    copy $unzip_directory/pdk/libcommon/jlib/* to $OC4J_HOME/jlib/
    Notes:
    $unzip_directory denotes the directory where you have unzipped the pdk.zip.
    Add the following dependent library references to the global application.xml file. This file is
    found at the following location:
    $OC4J_HOME/j2ee/home/config/application.xml
    Dependent library references:
    <library path="../../../portal/jlib/pdkjava.jar"/>
    <library path="../../../portal/jlib/portaltools.jar"/>
    <library path="../../../portal/jlib/ptlshare.jar"/>
    <library path="../../../portal/jlib/tidy.jar"/>
    <library path="../../../jlib/ldapjclnt9.jar"/>
    <library path="../../../jlib/regexp.jar"/>
    <library path="../../../jlib/share.jar"/>
    <library path="../../../jlib/uix2.jar"/>
    <library path="../../../jlib/ojmisc.jar"/>
    <library path="../../../webcache/jlib/jawc.jar"/>
    <library path="../../home/jazn.jar"/>
    with above setup I'm able to deploy pkdApp.war onto the OC4j Standalone server :
    when trying to register producer I'm
    getting the following error:
    500 Internal Server Error
    java.lang.NullPointerException at
    oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.showTestPage(Unknown Source) at
    oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.handleHttp(Unknown Source) 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
    oracle.webdb.provider.v2.adapter.SOAPServlet.doHTTPCall(Unknown Source) at
    oracle.webdb.provider.v2.adapter.SOAPServlet.service(Unknown Source) at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at
    com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at
    com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:3
    70) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at
    com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221) at
    com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122) at
    com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111) at
    oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at
    com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.
    java:303) at java.lang.Thread.run(Thread.java:595)

  • FRM-18103 failed to initialize the development environment

    OS: windows 7 ultimate
    Just installed Database 11gR2 and Oracle Developer Suite 10g (10.1.2.0.2) in different homes.
    When starting forms builder i get the error:
    FRM-18103 failed to initialize the development environment.
    Starting OC4J instance didn't make any difference.
    Can anybody help please?

    First and foremost, Oracle Developer Suite (ODS) 10g R2 is not certified by Oracle for Windows 7. That doesn't mean it won't work, it just means if you have a problem, you will have a hard time getting support from Oracle since they do not support ODS 10g on Windows 7.
    Now that I've gotten that out of the way, how did you install ODS? Did you need to follow the instructions for installing ODS on Windows Vista - which is supported. The basic steps are:
    1. Manually set the Virtual Memory - the Oracle Installer can't detect the VM when it is managed by Windows.
    2. Right-Click the setup.exe and choose Properties -> Compatability and check "Run the program in compatibility mode for: Windows XP" check box.
    3. While in Properties - check the "Run this program as an Administrator" check box.
    If you didn't perform these three steps, you will need to uninstall and reinstall. It is also highly recommended that you install ODS patchset 3 as well (version 10.1.2.3.x).
    FRM-18103 failed to initialize the development environment.Most likely, this is an OS permissions issue. After installation, right-click the DevSuiteHome_10g folder, choose properties and Security. Check the group privileges to ensure that ALL Users have Full Control on the directory and all subdirectorys.
    Also, IE8 does not support Oracle Jinitiator so you will need to install the Sun JRE 1.6.0_16 or higher to be able to run forms from the Forms Builder.
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.
    Edited by: CraigB on Dec 15, 2010 9:01 AM

  • Forms 9i on Linux 9 in Development Environment

    I installed Oracle DB 9.0.2 and 9iDS 9.0.2 on a Linux 9 (Kernel 2.4.20-6)Server. I can run listeners (HTTP, OC4J, etc.) without any problem and then connect through a Linux Client (another Computer) to the server and access the database. I created the form through the client.
    The problem that I have is the following. "When I try to run the form as a developer, I get the 'servlet not found error." As far as I know, the environment is set correctly to see the forms.
    First, I heard that "the forms cannot be tested without 9iAS installed in the middle tier." Then, I found out, "I can test a form in a development environment without installing 9iAS."
    I have been checking for any kind of documentation in the net stating "how to set up the developer environment."
    Is there anyone, who has experience in this area and can give me a hand to set up environment for development?

    Hello,
    Isn't there anybody who knows the answer to this question? Not even a tech at Oracle? Surprising?

  • OC4J Standalone Remote Lookup

    Hello everyone,
    I am getting the following error when I am trying to do a remote lookup to an ejb which has been deployed successfully on OC4J Standalone. My client who is attempting the look up has been successfully deployed in OC4J instance embedded in Oracle9ias.
    The error tree is:
    [ApplicationServerThread] DEBUG game.GameManager 2003-04-15 13:35:57,984 - Game Driver URL = 199.5.201.102:23791/loto User= admin Pass:admin
    [ApplicationServerThread] DEBUG game.GameManager 2003-04-15 13:35:57,984 - Get Initial Context
    [ApplicationServerThread] DEBUG game.GameManager 2003-04-15 13:35:57,984 - Context Lookup ID=loto
    [ApplicationServerThread] DEBUG game.GameManager 2003-04-15 13:35:58,031 - Context Lookup found :loto Class Name = __Proxy0
    [ApplicationServerThread] ERROR game.GameManager 2003-04-15 13:35:58,031 - Game (loto)Driver Loading Error
    java.lang.NullPointerException
         at com.mot.vla.game.GameManager.getGameDriverFromURL(GameManager.java:253)
         at com.mot.vla.game.GameManager.getGameDriver(GameManager.java:231)
         at com.mot.vla.game.GameManager.getGameDesc(GameManager.java:77)
         at com.mot.vla.kernel.VlaPlayerKernel.getGameDescription(VlaPlayerKernel.java:147)
         at VlaPlayerKernelRemote_StatefulSessionBeanWrapper24.getGameDescription(VlaPlayerKernelRemote_StatefulSessionBeanWrapper24.java:1039)
         at com.mot.vla.ui.core.CoreServices.getGameDescription(CoreServices.java:677)
         at com.mot.vla.ui.core.CoreEngine.actionDispatcher(CoreEngine.java:163)
         at com.mot.vla.ui.core.CoreEngine.renderDocument(CoreEngine.java:122)
         at com.mot.vla.ui.core.CoreEngine.processRequest(CoreEngine.java:106)
         at com.mot.vla.ui.servlet.RequestHandler.doPost(RequestHandler.java:204)
         at com.mot.vla.ui.servlet.RequestHandler.doGet(RequestHandler.java:179)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:244)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:151)
         at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    From what I can tell, it looks like my lookup was successful but the class name is __Proxy0, which is weird.
    Here are a sample of my code:
    the parameters are: url = 199.5.201.102:23791/loto User= admin password:admin id:loto
    public GameDriverRemote getGameDriverFromURL(String id, String url,
    String user, String password) {
    try {
    Context context = getInitialContext(url, user, password);
    logger.debug("Context Lookup ID="+id);
    Object obj = context.lookup(id);
    if (obj!=null) {
    logger.debug("Context Lookup found :"+id+" Class Name = "+obj.getClass().getName());
    GameDriverHome gameDriverHome = (com.mot.vla.game.GameDriverHome) PortableRemoteObject.narrow(obj, com.mot.vla.game.GameDriverHome.class);
    String tt= gameDriverHome.getClass().getName();
    logger.debug("Done looking up home =>"+tt);
    if (gameDriverHome != null) {
    System.out.println("Game (" + id + ") Driver Home Interface Found");
    logger.debug("Game (" + id + ") Driver Home Interface Found");
    GameDriverRemote gameDriverRemote = (com.mot.vla.game.GameDriverRemote) PortableRemoteObject.narrow(gameDriverHome.create(), com.mot.vla.game.GameDriverRemote.class);
    return gameDriverRemote;
    catch (Exception e) {
    logger.error("Game (" + id + ")Driver Loading Error", e);
    return null;
    static public Context getInitialContext(String url, String user,
    String password) throws Exception {
    Hashtable env = new Hashtable();
    // set the environment properties
    System.out.println("Get Initial Context");
    logger.debug("Get Initial Context");
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
    env.put(Context.PROVIDER_URL, "ormi://"+url);
    env.put(Context.SECURITY_PRINCIPAL, user);
    env.put(Context.SECURITY_CREDENTIALS, password);
    env.put("dedicated.connection","true");
    try {
    // create an initial context using the above environment properties
    return (new InitialContext(env));
    catch (Exception e) {
    System.out.println("Context initializtion error");
    e.printStackTrace();
    logger.error("Context initializtion error", e);
    return null;
    any help will be appreciated

    Hi Frances,
    Here is our ejb-jar.xml;
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE ejb-jar PUBLIC
         "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN"
         "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar>
    <enterprise-beans>
    <session>
    <description>Session Bean ( Stateless )</description>
    <display-name>MySession</display-name>
    <ejb-name>MySession</ejb-name>
    <local-home>com.some.company.ejb.MySessionLocalHome</local-home>
    <local>com.some.company.ejb.MySessionLocal</local>
    <ejb-class>com.some.company.ejb.MySessionBean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    </session>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>MySession</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    And here is the orion-ejb-jar.xml;
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE orion-ejb-jar PUBLIC
    "-//Evermind//DTD Enterprise JavaBeans 1.1 runtime//EN"
    "http://xmlns.oracle.com/ias/dtds/orion-ejb-jar.dtd">
    <orion-ejb-jar>
    <enterprise-beans>
    <session-deployment name="MySession" location="ejb/MySession"/>
    </enterprise-beans>
    </orion-ejb-jar>

  • What is OC4J StandAlone?

    Hey Techies,,,,
    OC4J standalone is a distribution of Oracle Application Server product that contains just the J2EE and Web Services components. OC4J standalone is much smaller than the full Oracle Application Server product and is downloaded as a single zip file. It is executed as a single Java process.
    OC4J standalone is J2EE 1.3 compatible 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.
    IF THERE IS ANYTHING TO BE ADDED PLEASE ADD...
    Thanks-San

    It may be too obvious:
    - OC4J standalone is a full J2EE container.
    - It runs as a java application and you need to start it from the command line like java -jar oc4j.jar
    - From 10.1.3 it includes a management console.
    - As every J2EE container OC4J can run a number of J2EE applications which include EJBs, Servlets, JSPs, JSF and WebServices.
    - Nearly the same J2EE container is included in Application Server (AS) but as has a number of additional features like opmn which takes care of starting OC4J containers when needed, eg when it crashes.
    - With AS you manage more then one OC4J container while with Standalone you usually run one OC4J from the command line.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Does OC4J standalone require license fee in order to use in production env?

    Hi,
    Does OC4J standalone require license fee in order to use in production environment?
    Please advise.
    Thank you.

    Yes, you have to buy Oracle Application server in order to run it on a production enviroment.

  • Difference between OC4J Standalone & IIS for BI Presentation services

    Hi experts,
    i had this question in my mind for last couple of weeks and did not get good answer by self study.
    my understanding with IIS & OC4J server is,
    1.if BI Presentation services is setup to IIS Webserver, It is also using OC4J as application server, because IIS is just an HTTP Server where the presentation services also need an Application server which is OC4J for OBIEE. Is this true.
    2.if the IIS Server is only HTTP Server, what is OC4J and standlone OC4J for OBIEE.
    i think the difference between IIS and OC4J is ( true or false)
    1. oc4j or oc4j Standalone is application server( contains OC4J Instance(J2EE) and HTTP Server)
    2. oc4j itself has a an HTTP server which is used if we dont plan to deploy IIS Webserver.
    3. IIS server is only HTTP which can be used in Production environments and will still use OC4j as application server.
    MY question is how to configure IIS server and configuration files and oc4j if we plan to deploy a environment like this.
    i followed OBIEE installtion documents and did not get a clear picture.
    there is something called PLUG-IN's (iis plugin and j2ee plugin ) which is used if we deploying on IIS and OAS(WEBLOGIC)
    this is is my understanding and Please Correct me if i am wrong
    thanks
    kumar

    Please follow this up on your copy of the thread difference between OC4J Standalone & IIS for BI Presentation services

  • Disk Space for PSoft Development Environment?

    Can anyone tell me the approximate amount of disk space needed for an HRMS PSoft Development Environment?
    I'm looking to create a standalone environment on one computer (no separate server), and am looking for sizing of HRMS application (8.9 or 9.0) + demo database + Oracle database + PTools + app server + web server + db server + process scheduler + PeopleBooks.
    I know there are other issues, e.g. supported OS and how to get this set up, but right now I just need sizing for the basics above (have I forgotten anything?).
    Thanks.
    Mike

    You should check your mailbox.
    And also Re: Install PeopleSoft (PeopleTools 8.49, FIN) on 40GB laptop?!.
    Nicolas.

Maybe you are looking for

  • "Edit in Adobe Photoshop CS3″ a JPEG?

    Hey, I have a problem: when I try to "Edit in Adobe Photoshop CS3″, and select "Edit a Copy" It doesnt open in Photoshop CS3 a .PSD file: it opens a .JPG file. I'm viewing an JPEG, and I have selected to copy as PSD. Is that ok? Comments? Thanks! PC

  • Getting error when placing jsp file in tomcat root folder

    hello experts, i have developed an application on netbeans 6.1 for mail. It is working perfect when i run it from netbeans, but when we copy those jsp files to ROOT folder of tomcat5.5 server, it is showing me following error. rg.apache.jasper.Jasper

  • My MacBook running 10.5.8 won't load Snow Leopard. Any advise?

    My MacBook running 10.5.8 won't load Snow Leopard. I can hear the disk drive trying, but then it just ejects. I have run the repair disk permissions, no luck still. Any advise?

  • Nead some advice for using DDE icons

    Hello everyone, 1°)I am using DDE in my programm. I need to get and send many information to the instrument I am communicationg with. I would like to know if have to use the DDE start,check, or poke icons for each piece of info I want to get? Because

  • Design Issue: Localization using Lookup OR Dependency Injection

    Hello Forums! I'm having a design issue regarding localization in my application. I'm using Spring Framework (www.springframework.org) as an application container, which provides DI (dependency injection) - but the issue is not Spring- but rather des