QueryCAT Logo
Search 5,000,000+ questions and answers.

Frequently Asked Questions

How do I use the admin.jar utility to shutdown OC4J standalone?

Oracle Application Server Containers for J2EE 10g (9.0.4) --...
This command provides a graceful shutdown of the container. If it does not shut down the container, you can force a rapid shutdown by passing the -force argument, as follows:

What is OC4J standalone ?

OC4J standalone is the Oracle9iAS Containers for J2EE distribution which can be run outside of the complete Oracle9iAS environment. OC4J standalone is typically used for development and testing purposes, and could be used for simple small scale Web solutions.

How do I configure OC4J standalone?

OC4J standalone comes with a command line utility, admin.jar. This enables you to perform a set of administrative functions from the command line. Also, you may directly modify the XML configuration files in the OC4J standalone environment.

What do I need to do to install OC4J standalone?

Oracle Application Server Containers for J2EE 10g (9.0.4) --...
To instal OC4J standalone, unzip the oc4j_extended.zip file using the archive utility of your choice. The jar utility in your J2SE installation can also be used. To complete the installation of OC4J change to the <install-dir>j2ee/home directory, and issue the following command: > cd <install-dir>/j2ee/home The installation prompts you to enter and verify an administration password, which is used for the administration console command-line tool.

How do I start OC4J standalone?

Oracle Application Server Containers for J2EE 10g (9.0.4) --...
a) To start OC4J using the default configuration files (recommended), which are located in the j2ee/home/config directory. > cd <J2EE_HOME> The server outputs an initialization string with the version number when it is ready to accept requests, for example: Oracle Application Server Containers for J2EE 10g (9.0.4.0.0) initialized

How do I stop OC4J standalone?

Oracle Application Server Containers for J2EE 10g (9.0.4) --...
You can stop OC4J by pressing ^c (Ctrl+c) in the window where the process was started, or by using the shutdown command in the admin.jar command-line utility, or by using the process termination command (for example "kill" on UNIX/Linux) for your operating system.

How can I start OC4J standalone as a service in NT ?

In Oracle9iAS Release 2, OC4J is started as a managed process by Oracle Process Management Notification (OPMN). This provides automatic startup, shutdown and death detection functionalities for OC4J processes. For environments which require the use of OC4J as a service, Oracle9iAS should be used. Create a service for the this command file using NT/Win2k Resource Kit. You can use the following Microsoft article how to create a service: http://support.microsoft.com/support/kb/articles/q137/8/90.

How can I deploy a WAR file to OC4J standalone ?

The command line deployment tool (admin.jar) requires an EAR file as it's deployment archive. To deploy a WAR file using this, you must package the WAR file within a EAR file. You can manually deploy a WAR file to OC4J However following are the steps involved in deploying a WAR file in OC4J. Open the default-web-site.

How do I deploy a standalone resource adapter to OC4J?

Assuming your OC4J home is $J2EE_HOME, the resource adapter is packaged in standalone_ra.rar, and you'd like to name the resource adapter "standalone". Then you need to create a directory named "standalone" in $J2EE_HOME/connectors, copy standalone_ra.rar to $J2EE_HOME/connectors/standalone, add the following to J2EE_HOME/config/oc4j-connectors.xml: <connector name="standalone" path="standalone_ra.

Is there a GUI management console for OC4J standalone?

Oracle Application Server Containers for J2EE 10g (9.0.4) --...
Not in this release. All configuration and deployment operations with OC4J standalone are performed by directly modifying it's configuration files. We will be providing a Web based management console that makes use of the latest JMX specifications to perform both configuration and deployment tasks in a forthcoming release.

When should I use shutdown()?

Programming UNIX Sockets in C - Frequently Asked Questions: ...
shutdown() is useful for deliniating when you are done providing a request to a server using TCP. A typical use is to send a request to a server followed by a shutdown(). The server will read your request followed by an EOF (read of 0 on most unix implementations). This tells the server that it has your full request. You then go read blocked on the socket. The server will process your request and send the necessary data back to you followed by a close.

What versions of the J2SE can I use with OC4J?

Oracle Application Server Containers for J2EE 10g (9.0.4) --...
All official certification information for Oracle products is available on the Oracle support Web site, http://metalink.oracle.com.

I own a standalone "portastudio." Can I use Receptor with it?

Muse Research : Receptor Frequently Asked Questions (FAQ)
Yes! It works with "portastudios" in two distinct ways ? as a multi-timbral synth module, which you can record with, and as a stereo effects processor that can reside in the effects loop of your recorder. Now, "portastudio" owners have access to all the great virtual instruments and effects that computer-based studios enjoy. Talk about versatility!

Can I use HTTPS with the OC4J HTTP listener?

Oracle Application Server Containers for J2EE 10g (9.0.4) --...
Please see the relevant OC4J User's Guides (standalone or Oracle Application Server) for more information.

Can I use databases other than Oracle with OC4J? Is this supported?

Oracle Application Server Containers for J2EE 10g (9.0.4) --...
Yes. In fact, Oracle supplies a set of supported JDBC drivers that connect to databases from IBM, Sybase, and Microsoft. Using JDBC drivers other than those in the Oracle supplied library is not supported. To establish a connection to a non Oracle database, you configure a datasource for OC4J which defines the JDBC driver to use and provides other required pieces of information such as the JDBC URL, connection names, etc.

What is Standalone Mode and when should I use it?

Answers to FAQS
Standalone Mode" is when the phone's radio function is turned off, which means that you can not make or receive calls. However, the music player still operates. (Note – Some models display “Airplane Mode” instead of “stand alone”) Note: incoming calls will go to voice mail. Standalone Mode is useful in airplanes or other situations where the phone's radio should be off while allowing the user to play music.
More Questions >>

© Copyright 2007-2012 QueryCAT
About • Webmasters • Contact