Installing oc4j standalone

"oc4J" has been unzipped into "o9ias" directory. Beeing new to Oracle App Server/j2ee and to java, I need help about the error msg copied as below.
F:\o9ias\j2ee\home>jar xvf D:\oc4j\oc4j_extended.zip
java.util.zip.ZipException: encrypted ZIP entry not supported
at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:242)
at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:73)
at sun.tools.jar.Main.extract(Main.java:676)
at sun.tools.jar.Main.run(Main.java:190)
at sun.tools.jar.Main.main(Main.java:904)

Hi Laurent,
It looks like you are using a Windows platform. If that is the case, then I suggest you use the WinZip application to unzip the "oc4j_extended.zip" file.
Good Luck,
Avi.

Similar Messages

  • 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

  • NoClassDefFound error after install OC4J PDK Standalone.

    Hi
    I have just installed the Standalone OC4J with the default Portal Dev Kit configuration - I followed the install instructions. Unzip the downloaded file, go to the install dir/j2ee/home , run java -jar oc4j.jar -install .
    I then got error
    Exception in thread "main" java.lang.NoClassDefFoundError: com.evermind.naming.ContextUtils
    I get this error now when i try to start the OC4J container (java -jar oc4j.jar).
    The instructions do mention setting JAVA_HOME to my JDK version, which I have done - the JDK
    I use is JDK1.5.0_12 - but still get the same error.
    Can anyone advise what may be going wrong for me?
    I am using Oracle Enterprise Linux.
    Many thanks
    Dave

    Hello,
    Could you clarify which version of the JPDK and OracleAS (CO4J) you are using?
    Note that JDK 1.5 is supported only started with OC4J 10.1.3.x.
    Could you please do a java -jar oc4j.jar -version to check the exact version of your OC4J?
    Regards
    Tugdual Grall

  • Installing OC4J using ANT

    Is there an ANT task that will allow me to install OC4J either locally or remotely and then start it?
    Thanks in advance
    Angus

    I haven't tried this yet myself, but just came across this reference in the OC4J Security Guide:
    http://iasdocs/iasdl/101300doc_final/web.1013/b14429/ovsecadm.htm#sthref238
    Activation of the oc4jadmin Account
    The oc4jadmin account (formerly the admin account) is activated during Oracle Application Server installation, but is initially deactivated for the file-based provider in standalone OC4J. It is activated under the following circumstances:
    * When standalone OC4J is first started (and you are prompted for a password)
    * When you run the OracleAS JAAS Provider Admintool with the -activateadmin option
    You also specify the password as part of this command:
    % java -jar jazn.jar -activateadmin password
    So it looks like you could unzip, run the above command, and then start oc4j. That is assuming that the above command isn't dependent on some other initialization that occurs the first time you start oc4j.
    -Patrick Vinograd

  • 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!

  • Unable to start OC4J standalone server.

    Hi
    I have just started using Oracle 10g Portal Server. I have downladed the OC4J standalone and have installed at D:\JDeveloper\oc4j following the instructions of running the admin.jar creating the password. When I try starting the OC4J initializing it works fine starts the server with the message
    05/12/29 12:21:11 Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview 4 initialized
    But when I try to deploy a war file which I have created externally with the entries in aplication.xml
    <web-module id="mywar" path="../applications/mywar.war" />
    and default-web-site.xml
    <web-app application="default" name="mywar" root="/technology/mywar" />
    The server never starts up just hangs up with the message
    Starting OC4J from D:\JDeveloper\oc4j\j2ee\home ...
    If the entries are removed the server starts as usual.
    Can anyone let me know where is the problem I need to look at, because the war file works fine if deployed in tomcat or weblogic.
    Thanks in advance.

    Hi,
    As you asked me it is a simple war deployment. with the folder structure as
    simpleWar->index.jsp
    simpleWar->META-INF->application.xml
    simpleWar->WEB-INF->classes
    simpleWar->WEB-INF->lib
    simpleWar->WEB-INF->tld
    simpleWar->WEB-INF->struts-config.xml
    simpleWar->WEB-INF->validation.xml
    simpleWar->WEB-INF->validator-rules.xml
    simpleWar->WEB-INF->web.xml
    and the war file that I am creating is simpleWar.war.
    The contents of web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
    version="2.4">
    <servlet>
    <servlet-name>action</servlet-name>
    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
    <init-param>
    <param-name>config</param-name>
    <param-value>/WEB-INF/struts-config.xml</param-value>
    </init-param>
    <init-param>
    <param-name>debug</param-name>
    <param-value>3</param-value>
    </init-param>
    <init-param>
    <param-name>detail</param-name>
    <param-value>3</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <!-- Action Servlet Mapping -->
    <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>*.do</url-pattern>
    </servlet-mapping>
    <!-- The Welcome File List -->
    <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>
    <!-- tag libs -->
    <taglib>
    <taglib-uri>struts-html</taglib-uri>
    <taglib-location>/WEB-INF/tld/struts-html.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>struts-bean</taglib-uri>
    <taglib-location>/WEB-INF/tld/struts-bean.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>struts-logic</taglib-uri>
    <taglib-location>/WEB-INF/tld/struts-logic.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>util-tags</taglib-uri>
    <taglib-location>/WEB-INF/tld/tag-util.tld</taglib-location>
    </taglib>
    <taglib>
         <taglib-uri>example-taglib</taglib-uri>
         <taglib-location>/WEB-INF/tld/tag-util.tld</taglib-location>
    </taglib>
    </web-app>

  • How to clear cache on oc4j standalone?

    I have the 9.0.3 oc4j standalone running under solaris and for the life of me cannot figure out how to clear the cache. I run a jsp script then delete the jsp script and it still runs. Even if I restart the oc4j standalone and the jsp is deleted it still runs!!
    It is not a browser cache thing it must be the oc4j cache. Is there a way to clear this cache? This is a vanilla install of the oc4j standalone, no special webcache or anything. Thanks. -quinn

    A JSP is typically compiled and run from the j2ee\home\application-deployments directory. Delete everything in there to remove the cache.

  • OC4J standalone password failed

    hello
    i have application server 10.1.2.2.0 and OC4J standalone 10.1.3.1 installed on Redhat Linux OS .
    All Services in Infra , Middle and the OC4J standalone are UP .
    i try to login to the enterprise manager of the OC4J stand alone using oc4jadmin user , but have the error message ( Your username and/or password are invalid.).
    i try to reset OC4J administrator password using the OC4J Documentation from Oracle section H.3.1 Resetting the Administrator (oc4jadmin) Password
    or like the metalink ID 576587.1 , and i try to change the password from ldap too ,
    but without a result , i still cannot login to the OC4J Application Server Control Console .
    Any help please?

    I m using OC4J version 9.0.4.0.0 ,what is the ---user name--- for it
    I had used ias_home & oc4jadmin
    but it showing the error that javax.naming.AthunticationException;
    & invalid username for default oc4jadmin,connect failed;
    How to set the path to JSTL:
    i.e. for sqltaglib.tld
    How to deploy JSTL app's manually

  • 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?

  • Regarding OC4J Standalone application -- "Out of Memory"

    Hi all,
    am installed the OC4J Standalone Application in windowns platform.......
    I am facing some problem.it's link "Out of Memory". my system RAM size is 2GB.
    we also increase JVM size in Server.xml file and also in command prompt. But again it is showing "Out Of Memory" and also we need to increase the OC4J file.
    Can anybody please help me to resolve this issue.
    Thanks in advance

    Can you post the actual exception you are seeing -- you may be running into the PermGen issue, which is different from the common heapsize issue.
    The JVM heapsize is not set in server.xml -- for standalone, its supplied on the command line where you start OC4J.
    For example:
    $>java -Xmx512m -Xms512m -jar oc4j.jar
    -steve-

  • How Do You Deploy a War File to The OC4J Standalone ?

    I have a .war file that contains example code and I would like to deploy it to my OC4J Standalone.
    I tried putting the war file in the applications directory and adding a line in the server.xml file but I received the error:
    Error instantiating application at file:/C:/OC4JStandAlone/pdk101202_oc4j_extended/j2ee/home/applications/displaytag-examples-1.1.war: Unable to find/read assembly info for C:\OC4JStandAlone\pdk101202_oc4j_extended\j2ee\home\applications\displaytag-examples-1.1 (META-INF/application.xml)
    It appears it was expecting an .ear file instead of a .war file
    Is there an easy way to deploy a .war file to the OC4J Standalone?
    Thanks,

    Please refer to the OC4J FAQ on :-
    http://www.oracle.com/technology/tech/java/oc4j/1012/collateral/OC4J-FAQ-101202.pdf
    Q 24 should have your answer.
    Cheers!

  • Error in oc4j standalone & JAX-WS 2.0

    Hi!!
    I'm trying to generate a SOAP Message with this code:
    MessageFactory factory =
    MessageFactory.newInstance(SOAPConstants.SOAP_1_1_PROTOCOL);
    response = factory.createMessage();
    SOAPPart parte =
    response.getSOAPPart();
    parte.setContent(xmlSource);
    response.saveChanges();
    in line "response.saveChanges();" i have this error:
    16-feb-2007 11:00:21 com.sun.xml.messaging.saaj.soap.EnvelopeFactory
    createEnvelope
    GRAVE: SAAJ0511: Unable to create envelope from given source
    16-feb-2007 11:00:21 com.sun.xml.messaging.saaj.soap.SOAPPartImpl
    getContentAsStream
    GRAVE: SAAJ0547: Error while trying to externalize
    16-feb-2007 11:00:21 com.sun.xml.messaging.saaj.soap.MessageImpl
    saveChanges
    GRAVE: SAAJ0539: Unable to get header stream in saveChanges
    16-feb-2007 11:00:21 com.sun.xml.messaging.saaj.soap.MessageImpl
    saveChanges
    GRAVE: SAAJ0540: Error during saving a multipart message
    It's a web application and i'm debugging with OC4J Standalone from
    Jdeveloper. The Libraries are the libs of JAX-WS 2.0 and the orion-
    web.xml file has:
    <web-app-class-loader search-local-classes-first="true"
    include-war-manifest-class-path="true"/>
    the exception stack:
    07/02/16 11:00:59 java.lang.Exception: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Error during saving a multipart message
    07/02/16 11:00:59 at genws.MotorXML.getSOAPMessageFromSource(MotorXML.java:443)
    07/02/16 11:00:59 at genws.MotorXML.executeWS(MotorXML.java:232)
    07/02/16 11:00:59 at PDFController.process(PDFController.java:321)
    07/02/16 11:00:59 at es.jcyl.pdf.PDFServletEngine.service(PDFServletEngine.java:114)
    07/02/16 11:00:59 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    07/02/16 11:00:59 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
    07/02/16 11:00:59 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    07/02/16 11:00:59 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    07/02/16 11:00:59 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    07/02/16 11:00:59 at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    07/02/16 11:00:59 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    07/02/16 11:00:59 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    07/02/16 11:00:59 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    07/02/16 11:00:59 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    07/02/16 11:00:59 at java.lang.Thread.run(Thread.java:595)
    07/02/16 11:00:59 Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Error during saving a multipart message
    07/02/16 11:00:59 at com.sun.xml.messaging.saaj.soap.MessageImpl.saveChanges(MessageImpl.java:1126)
    07/02/16 11:00:59 at es.jcyl.genws.MotorXML.getSOAPMessageFromSource(MotorXML.java:437)
    07/02/16 11:00:59 ... 14 more
    07/02/16 11:00:59 Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to get header stream in saveChanges:
    07/02/16 11:00:59 at com.sun.xml.messaging.saaj.soap.MessageImpl.saveChanges(MessageImpl.java:1096)
    07/02/16 11:00:59 ... 15 more
    07/02/16 11:00:59 Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: SOAP exception while trying to externalize:
    Anybody can help me?
    Thanks

    The error was in the execution of OC4J embebbed. OC4J uses its own libraries for web services and xml.
    You can deploy an application with JAX-WS 2.0 if you add this java option:
    -Xbootclasspath/p:<dir_libs>\xml-apis.jar;<dir_libs>\xercesImpl.jar;<dir_libs>\xalan.jar;<dir_libs>\saaj.api.jar
    And the jars of JAX-WS are added as libraries to the application.
    With this solution you solve the problem: OC4J uses this libraries, not their owns, include the xml libraries.

  • 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

  • Can Jdeveloper TP4 deploy apps to OC4J standalone TP4

    I tried to have JDeveloper TP4 deply my ADF web app to the latest OC4J standalone version but I get the following error:
    Caused by: java.lang.InstantiationException: Import was not resolved for riscs.root:0.0.0: shared library "adf.oracle.domain" could not be found.
         at com.evermind.server.ApplicationStateRunning.initClassLoader(ApplicationStateRunning.java:1374)
         at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:179)
         at com.evermind.server.Application.setConfig(Application.java:538)
    Before I spend alot of time debugging is this currently supported or can I only use the OC4J shipped with JDeveloper?
    Thanks.

    The sad part about this thread is that we seem to be talking about completely separate products, like they are from different companies. I have not been given the secret decoder ring to determine which parts of the suite really work together or when the magic convergence will occur. From a client/customer perspective these are part of an Oracle suite of applications, and I can assure you that clients have spent significant amounts of money and have an expectation (which was sold to them) that that all parts of the suite work together "seamlessly".
    I think everyone using TP releases understands and accepts a certain amount bugs and integration issues, however I have been working with 11G components for almost a year and I sometimes wonder if Oracle really understands the stress created on consultants when the "right-hand" does not seem to notice what the "left-hand" is doing.
    Our project requires JSF/ADFFaces, Rules, XML, WebServices, ORM(Toplink/EclipseLink?), JEE5 Container, SVN version control integration at a minumum. It has been a monumental effort to create even prototypes to show our client progress toward the vision that was sold. We are continually being told that all will be good when all the products become production. This is a very big risk where failure is paid for by consulting not product.

  • Reports on OC4j Standalone

    Hello
    Do somebody know how can i integrate the reports rwservlet funcionality, a servlet that you can invoke passing report parameters, on oracle OC4J standalone installation?
    what about OAS?
    Thanks.

    Hello,
    You can use a Sysinternals free tool (filemon, procmon , ...) to check which DLL oraclient10.dll is used ..
    http://www.sysinternals.com
    Regards

Maybe you are looking for

  • How do I get my apps from a pc to macbook?

    I have itunes on my pc and usually backup/sync my phone to it. I now want to use my macbook but don't know how to get my apps onto it. I have backed up my iphone to the macbook but can't see the apps

  • Settlement rules not getting created

    Hi, During period end, all 2nd level WBS elements are generally settked to AuCs. I had maintained the settlement strategy in such a way that all the WBS elements below 2nd level are settled to its Superior. When i tested this in one of the Client, it

  • Multiple queue receivers with disjoint message selectors - portable?

    Hi all, I was wondering whether an application that uses multiple queue receivers with disjoint message selectors would be portable across different JMS providers. I fear it's not - at least the spec clearly states that the implementation of message

  • How do i transfer all my old stuff from g4 to my new macbook pro

    Hi there, All my itunes songs, gigabytes of pics and all my other info is still on my old g4, it does have ethernet. I want to get all my stuff onto my new mac book pro which will be here in a week or so. obviously without using rw-cds if i can help

  • PXE not working from WDS Server 2012

    Hello, when i try to deploy a VM using WDS/MDT the startup for contacting the WDS-server is very slow : The WDS-server is a Server2012R2 (not preview)-server.  I have reinstalled WDS already but nothing will help. Anybody with a solution? Thx