OC4J - Java Edition

Hello All!
I've just downloaded the Oracle9iAS Java Edition and I want to make a lightweight installation. I did the typical installation in my computer and it is way too heavy...
Is it mandatory to install Oracle HTTP Server? Could I just install the OC4J container? Is it possible to use IIS as webserver (I can do it with Tomcat...)?
What is the way to manage/admin/deploy my applications?
Thanks.

Hi,
If you require a lightweight installation then OC4J should be the right choice for you. OC4J contains its own Web Server accessible from a web browser using http://localhost:<portnumber>/
The default port is 8888.
For more information on deploying and managing your applications using OC4J refer to OC4J's User Guide
For more resources on OC4J refer here
Hope this helps.
Sujatha.
http://otn.oracle.com/sample_code/content.html

Similar Messages

  • Installing 9iAS Java Edition 9.0.3 on RedHat Linux 8.0, 7.2

    Hi,
    Iam trying to install oracle 9iAS Java Edition 9.0.3 on RedHat Linux 8.0 and 7.2. But i have common problems during installation.
    I get the following error while installing -
    Error in invoking target install of makefile
    /home/oracle/servers/9ias/sqlplus/lib/ins_sqlpluslib.mk
    Error in invoking target install of makefile
    /home/oracle/servers/9ias/network/lib/ins_oemagent.mk
    Similarly i get one more error. I dont remember the actual file name.
    Once i ignore all these errors then the OC4J instance configuration assistant and OPMN assistant do not start. They have some deployment problems during installation.
    After the installation is complete with certain problems, i try to start all the services of DCM, using dcmctl start command
    /home/oracle/servers/9ias/dcm>dcmctl start.
    The other services start except the HTTP server. I get the error ADMN-906025
    Iam not able to start the Oracle Enterprise Manager (OEM)
    also...
    Kindly give me the exact steps to overcome this problem or a link to some documentation...please
    Its very urgent...
    regards,
    Sachin Bafna

    Repost:

  • How to have reports work in 9iAS 9.0.3 java edition

    Hi,
    We are able top generate reports in Reports Builder and also run the reports in Jdev env( Embedded OC4J). We have to integrate the same with our J2EE application working on our production version of 9iAS 9.0.3 java edition. How to we start the report service in the 9iAS environment?
    Regards,
    Serish

    Hi Serish,
    Pl see Chapter 3 (Starting and Stopping Oracle9 iAS Reports Services) in "Publishing Reports to the Web"
    http://otn.oracle.com/docs/products/reports/content.html
    Navneet.

  • Oracle9iAS Java Edition v9.0.3 instalattion on SuSE 8.2

    The OC4J "standalone" edition was simple.
    With the Oracle9iAS Java Edition v9.0.3 instalation bundle, it comes with other funcionalites (Oracle HTTP server, enterprise console, and other), and with many many problems.
    I have tested the installation under SuSE 8.2 Professional and the installation fails.
    The following makefiles can't be executed (no error appears, and i have the korn shell installed)
    ins_sqlplus.mk
    ins_oemagent.mk
    ins_calypso.mk
    The installation of OC4J home instance, fails with a security exception when creating some unix file.
    The deployments of application in the OC4J_demo instance also fails with exception:
    java.io.IOException: Permission denied
    at java.io.UnixFileSystem.createFileExclusively(Native Method)
    at java.io.File.checkAndCreate(File.java:1157)
    at java.io.File.createTempFile(File.java:1242)
    at java.io.File.createTempFile(File.java:1279)
    at oracle.ias.sysmgmt.deployment.j2ee.console.J2eeDeploymentImpl.fetchEar(J2eeDeploymentImpl.java:704)
    at oracle.ias.sysmgmt.deployment.j2ee.console.J2eeDeploymentImpl.getEarDeployer(J2eeDeploymentImpl.java:281)
    at oracle.ias.sysmgmt.deployment.j2ee.console.J2eeDeploymentImpl.getEarDeployer(J2eeDeploymentImpl.java:258)
    at oracle.j2ee.tools.deploy.Oc4jDeploy.deploy(Oc4jDeploy.java:518)
    at oracle.j2ee.tools.deploy.Oc4jDeploy.main(Oc4jDeploy.java:138)

    Having SecurityExceptions because the user does not have the rigth permissions, is strange, because I was installing everything in the user home directory.
    So the only problem I can see, was permissions to write in the /tmp directory. I checked that the user also as write permissions in that directory.
    Looking in the logs files I noticed that Oracle is passing the -Djava.io.tmpdir parameter, when no environment values is used for TMP or TMPDIR, when deploying applications in OC4J:
    Launched configuration tool OC4J Instance Configuration Assistant
    Command which is being spawned is /export/data01/o9ias/jdk/bin/java -Djava.io.tmpdir= -mx512M -classpath ...
    If Oracle should not specify the -Djava.io.tmpdir=, then everything worked out of the box.
    I defined the environment variables (in the shell) TMP, TMPDIR, so that in the -Djava.io.tmpdir= was replaced by -Djava.io.tmpdir=&lt;my temp dir&gt;. With this the deployments that failed, now worked.
    After this another problem. Oracle HttpServer fails to start. Looking in the loges, some modules are configured to be loaded, but are not found:
    mod_ossl.so
    mod_oradav.so
    modplsql.so
    Commenting this modules, makes http server start. Shouldn't this be commented in the Java Edition?
    The only problem I have know is the make of ins_sqlplus.mk, ins_oemagent.mk and ins_calypso.mk. Can anyone help me on this, or at least explain us why this is needed?
    thanks,

  • OAS Java  Edition

    I can't seem to find a place on OTN where i can download a package called OAS Java Edition. So I have downloaded the 10.1.3 Linux cpio file and will use just the HTTP Server and OC4J. Is this the current way to go about building a Java Edition server? Will OC4J not work with the built in Apache 2.0 on RedHat?
    mike

    Hi,
    I want to know that for what purpose you want to install OAS 10.1.3.1 ( I hope this is same as SOA release III) . Everything is fine except that this doesn't provide support for Packeged Adapters (as for now).
    /Abhishek G

  • Oracle9iAS Java Edition

    Hi,
    I am interested in installing Oracle9iAS Java edition on Red Hat Linux 9. Has anybody done so ? My previous attempt was unsuccessfull.
    Any pointers / help would be appreciated.
    Regards
    Abhijeet

    Having SecurityExceptions because the user does not have the rigth permissions, is strange, because I was installing everything in the user home directory.
    So the only problem I can see, was permissions to write in the /tmp directory. I checked that the user also as write permissions in that directory.
    Looking in the logs files I noticed that Oracle is passing the -Djava.io.tmpdir parameter, when no environment values is used for TMP or TMPDIR, when deploying applications in OC4J:
    Launched configuration tool OC4J Instance Configuration Assistant
    Command which is being spawned is /export/data01/o9ias/jdk/bin/java -Djava.io.tmpdir= -mx512M -classpath ...
    If Oracle should not specify the -Djava.io.tmpdir=, then everything worked out of the box.
    I defined the environment variables (in the shell) TMP, TMPDIR, so that in the -Djava.io.tmpdir= was replaced by -Djava.io.tmpdir=&lt;my temp dir&gt;. With this the deployments that failed, now worked.
    After this another problem. Oracle HttpServer fails to start. Looking in the loges, some modules are configured to be loaded, but are not found:
    mod_ossl.so
    mod_oradav.so
    modplsql.so
    Commenting this modules, makes http server start. Shouldn't this be commented in the Java Edition?
    The only problem I have know is the make of ins_sqlplus.mk, ins_oemagent.mk and ins_calypso.mk. Can anyone help me on this, or at least explain us why this is needed?
    thanks,

  • OAS Java Edition 10.1.3.1 Download

    I'm looking for the OAS Java Edition 10.1.3.1 Download. I want to do a fresh install of OHS, OC4J & Toplink on the new 10.1.3.1 release.
    Tim

    Hi,
    I want to know that for what purpose you want to install OAS 10.1.3.1 ( I hope this is same as SOA release III) . Everything is fine except that this doesn't provide support for Packeged Adapters (as for now).
    /Abhishek G

  • Can multiple threads share the same cursor in berkeley db java edition?

    We use berkeley db to store our path computation results. We now have two threads which need to retrieve records from database. Specifically, the first thread accesses the database from the very beginning and read a certain number of records. Then, the second thread needs to access the database and read the rest records starting from the position where the cursor stops in the first thread. But, now, I cannot let these two threads share the same cursor. So, I have to open the database separately in two threads and use individual cursor for each thread. This means I have to in the second thread let the cursor skip the first certain number of records and then read the rest records. However, in this way, it is a waste of time letting the second thread skip a certain of records. It will be ideal for us that the second thread can start reading the record just from the place where the first thread stops. Actually, I have tried using transactional cursor and wanted to let the two threads share the same transactional cursor. But it seems that this didn't work.
    Can anyone give any suggestion? Thank you so much!
    sgao

    If your question is really about using the BDB Java Edition product please post to the JE forum:
    Berkeley DB Java Edition
    If your question is about using the Java API of the BDB (C-based) product, then this is the correct forum.
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Combining '10.1.3 OC4J Java Single Sign-On' and 'Oracle (mod_o)SSO'

    OC4J as of 10.1.3 supports java SSO which doesn't require the whole infrastructure stack. I'm wondering whether one could create a solution that transparently provides SSO behavior whether you're coming from mod_osso or from OC4J Java SSO. So basically;
    When I configure my (Java) app to leverage OC4J Java SSO, can I use this information to transparently log me in in my Forms/Portal application, hosted on the same domain/server using mod_osso - obviously without a login challenge - and vice versa?

    I did a JAD (Decompile) on the "oracle.security.jazn.login.module.db.DBTableOraDataSourceLoginModule" and found the BUG. In the system-jazn file has to be defined columns for pk and the column with the username. These has to be the same according to these lines:
    if(_userPk.equals(username))
    break MISSING_BLOCK_LABEL_364;
    if(LOGGER.isLoggable(Level.FINE))
    LOGGER.log(Level.FINE, "[DBTableOraDataSourceLoginModule]User not authenticated: username or password mismatch");
    In my original table I had an userid and a username, where userid was primary key. If I use Username as primary key.. voila It works, and very well indeed.
    Oracle.. thank you for this new facility.
    <- Holger ->

  • Java edition compatible with standard edition?

    Hi
    I have a database created using Java edition 3.2.44
    I want to write an application in C++ which reads this database using the standard Berkeley DB (possibly at the same time as the java application is also accessing them). Are the database files compatible?
    I'm not too hopeful since the the database files are named something like 00000000.jdb and je.lck.
    Any help appreciated
    Nick

    Hi Nick,
    This FAQ entry addresses this question:
    [http://www.oracle.com/technology/products/berkeley-db/faq/je_faq.html#2|http://www.oracle.com/technology/products/berkeley-db/faq/je_faq.html#2]
    (a small additional information to this entry is that DPL API has been introduced for BDB as well in 4.7.25)
    As explained, the on-disk format for the database files is different. You should dump the database created with JE (using the DbDump/com.sleepycat.je.util.DbDump utility: [http://www.oracle.com/technology/documentation/berkeley-db/je/java/com/sleepycat/je/util/DbDump.html|http://www.oracle.com/technology/documentation/berkeley-db/je/java/com/sleepycat/je/util/DbDump.html]) and load it using BDB before opening it in a a program using one of the BDB APIs (using the db_load utility: [http://www.oracle.com/technology/documentation/berkeley-db/db/utility/db_load.html|http://www.oracle.com/technology/documentation/berkeley-db/db/utility/db_load.html] )
    If you face any issues with dumping/loading the database let me know.
    Regards,
    Andrei

  • DB High Availability - Java Edition

    I am using Berkeley DB Java Edition to do writes and reads to my database. I am planning on having a cluster of databases with HA feature. I noticed that the feature set for Berkeley DB Java Editon does not include High Availabilty.
    I did check the C example code that is available in the 4.4 version. I understand that I need to build a communication infrastructure in Java for master and replicated db's. Is there any example that I can follow, or any other materials available for doing HA in Java?

    I believe the answer in java replication example is relevant for you.
    <p>
    Please note that you should be able to build the communication infrastructure in C, and then still access DB via the Java interface layer from your Java program. (I.e., your communication infrastructure doesn't have to be in Java.)
    <p>
    Also, I hope it's clear that Berkeley DB Java Edition is a separate product. This is different from using Berkeley DB via its Java interface layer.
    <p>
    Alan Bram<br>
    Oracle

  • Use java edition and native edition at same time in a single java app

    Hi
    I have a situation where I need to use both versions of berkeley Db at the same time. I have an external library that I use that requires the Java edition and my own code that uses the native version. Unfortunately the source code of the library is not available and I don't want to redesign my program to use the Java edition.
    Some packages in je.4.0.103.jar and db.jar (version 5.1) contain the same naming structure and same classes eg. com.sleepycat.persist.EntityStore. I removed the duplicated packages in je.4.0.103.jar However it seems that the implementation is slightly different between the two version as I get
    java.lang.NoSuchMethodError: com.sleepycat.persist.EntityStore.<init>(Lcom/sleepycat/je/Environment;Ljava/lang/String;Lcom/sleepycat/persist/StoreConfig;)V
    When I simply had both versions available my code for the native version kept using the packages from the Java edition and the external library kept on using the native version and as a result I got loads of runtime errors.
    So how do I tell them apart. The problem is because both sets of packages have identical names and class names so Java does not know which ones to use. I am using eclipse so maybe there is some option where I can tell certain classes to use certain packages.
    Any ideas?

    Hi,
    We don't officially support using BDB and BDB JE from the same JVM process.
    It's possible to work around this limitation by creating two [url http://download.oracle.com/javase/1.4.2/docs/api/java/lang/ClassLoader.html] Java Classloaders  that load one of the two jar files. When calling BDB or BDB JE methods, the call must be bracketed with calls like this that cause the correct classloader to be used:
    ClassLoader saveLoader = Thread.currentThread().getContextClassLoader();
    Thread.currentThread().setContextClassLoader(/* specify correct loader for BDB or BDB JE here */);
    try {
       // do something with BDB or BDB JE
    } finally {
      Thread.currentThread().setContextClassLoader(saveLoader);
    }We are not experts on classloaders and we don't have an example of doing this. We have not done it ourselves, we only know that users have done it.
    I hope this helps.
    Regards,
    Alex Gorrod
    Oracle Berkeley DB

  • Compatibility issues between Berkeley DB Java Edition and Berkeley DB

    We are trying to use both Berkeley DB Java Edition and Berkeley DB (Java/C) in one of our projects. However, they share the common classes (i.e. EntryDingin.java), but with their own different impementation. Is there any reason that they have to share the same names/packages? Can we request to have the shared java classes going into different packages?
    Thanks
    Yao

    Hello Yao,
    You're correct and the DB and JE products were not designed to run under the same classloader in the same JVM. It is very unlikely that we'll be changing the package names, since that would be very disruptive and yet have no value for the overwhelming majority of users. We will note your request, however, for future reference.
    The two workarounds I know of are:
    1. Use a separate classloader for the use of each product.
    2. Use a tool such as jarjar links (http://code.google.com/p/jarjar/) to rename the packages in one or both of the products.
    Option 2 is not something we (the JE team members) have experience with, but it was used successfully by a JE user. The user also pointed out a bug in the jarjar tool to be aware of: http://code.google.com/p/jarjar/issues/detail?id=21
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Using Oracle Berkeley DB Java Edition RELEASE 3.2

    Hi,
    I am completely new to Oracle. I intend to use Oracle Berkeley DB Java Edition RELEASE 3.2., in conjunction with Java.
    Can some one help me figure out what documentation I should use, and the learning path ?
    Any suggestions would be greatly appreciated.
    Thanks
    Ravi Banthia
    Kolkata

    Please refer
    http://www.oracle.com/technology/products/berkeley-db/je/index.html

  • Patch Release: Berkeley DB Java Edition 4.0.117

    Berkeley DB Java Edition 4.0.117
    http://www.oracle.com/us/products/database/berkeley-db/index.html
    http://www.oracle.com/technetwork/database/berkeleydb/overview/index.html
    http://www.oracle.com/technetwork/database/berkeleydb/overview/persistence-160890.html
    http://www.oracle.com/technetwork/database/berkeleydb/overview/index-093405.html
    Berkeley DB Java Edition 4.0.117 is a patch release consisting of many important fixes. We strongly recommend that users of the 4.0.x upgrade to this release. Those using 4.1.x need not be concerned with this patch release.
    The critical patch fixes:
    [#19422] - Fixes a bug that prevents recovery if CacheMode.EVICT_BIN is used.
    The complete list of changes is in the change log page.
    http://download.oracle.com/otndocs/products/berkeleydb/html/je/je-40117-changelog.html
    Product documentation can be found at:
    http://download.oracle.com/docs/cd/E17277_02/html/index.html
    Download the source code including the pre-compiled JAR, complete documentation, and the entire test suite as a single package.
    http://download.oracle.com/berkeley-db/je-4.0.117.zip
    http://download.oracle.com/berkeley-db/je-4.0.117.tar.gz
    Common questions are addressed in our FAQ that you can find here:
    http://www.oracle.com/technetwork/database/berkeleydb/je-faq-096044.html
    Then join OTN and participate in the Berkeley DB JE Support Forum discussions. Our engineering and support staff are highly active on these forums, if you have questions please ask them there first.
    Berkeley DB Java Edition
    For further information, or questions about licensing and sales of JE, please contact us at:
    mailto:[email protected]
    Thank you for your support of Berkeley DB Java Edition.

    Hi Kristoffer,
    We have never updated Maven central -- I think someone else, perhaps who is reading the forum, did that for 5.0.73.  We should update it, but we don't quite have our act together on that.  Hopefully we'll have more info on that soon, but for now you'll need to just copy the jar file or use the Oracle maven repo.
    You should definitely read the release notes and the change log, and decide whether to upgrade.
    BDB has both a commercial and an OSS license.  Due to Oracle policy BDB does not have some of the things you might expect from an OSS project:
    - bug system is not exposed
    - roadmap is not published
    - code contributions are fairly rare, mostly due to the nature of the code -- it's a database engine, and is fairly difficult to change casually.
    What other questions about the process do you have?  I wasn't sure exactly what you wanted to know.
    --mark

Maybe you are looking for

  • I want to stop it going to OpenDNS when I type a word in the url area. I want it to go to google.

    I want to stop it going to OpenDNS when I type a word in the url area. I want it to go to Google. I have changed the keyword.URL to http://www.google.com.my/search?q= But this only works for terms with a space in it. For example: Typing: "word1 word2

  • Issue : Balancing field "Business area" in line item 001 not filled

    Hi Gurus... I have facing an issue : Balancing field "Business area" in line item 001 not filled I have maintained material management small difference account (DIF), to post the small differences... between PO value and (vendor) Invoice Value.... At

  • Attachments not displaying

    So, I've had a bunch of random things happen to my PowerBook lately, and I think they might be related. First my iPhoto library became corrupted. Then I somehow lost my Address Book. I've been to the Genius Bar twice to have these problems fixed, so

  • Help with Switch-Case Statement

    How do you get this in a switch-case statement or work with it?           if (age < 70) {                     JOptionPane.showMessageDialog(null, "People that are below the 70s are nothing special.");           else if (age > 69 && age < 80) {       

  • LabVIEW Networking in MacOS

    I was wondering what the LabVIEW developers used to do networking in LabVIEW. I am trying to create an EndPoint using a Shared Library and send return that endpoint to LabVIEW as an integer that I can cast to a Network Reference. This seems to work o