How do I define datasources in OC4J ?
You define OC4J datasources in an XML file known as data-sources.xml. If you're using Oracle9iAS, please use Enterprise Manager(EM) to create and configure datasources. With OC4J standalone use admin.jar or edit the data-sources.xml. Refer to the OC4J standalone user's guide
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.
Where can I see the documentation for OC4J?
Oracle Application Server Containers for J2EE 10g (9.0.4) --...Documentation for all Oracle products is available from the Oracle Technology Network (OTN) -- http://otn.oracle.com/documentation/content.html. The specific documentation set for OC4J is available at http://otn.oracle.com/documentation/appserver10g.html. A User's Guide for OC4J standalone is supplied with the OC4J standalone distribution. The Readme.txt file in the root directory of the OC4J standalone distribution provides a set of basic information on how to install and use the product.
Where can I get more information about OC4J?
Oracle Application Server Containers for J2EE 10g (9.0.4) --...The best place to get technical information about OC4J is on the OC4J home page on OTN -- http://otn.oracle.com/tech/java/oc4j.
How can I obtain a list of datasources on a server?
ColdFusion FAQIt specifically looks for Access, but you get the idea <cfsetting enablecfoutputonly="Yes"> <cfset Results = QueryNew( "Datasource,Server,Path,Description" )> <cfset RootKey = "HKEY_LOCAL_MACHINE\Software\ODBC\ODBC.INI"> <cfregistry action="GetAll" branch="#RootKey#" name="Sources" type="Any" sort="Entry ASC"> <cfloop query="Sources"> <cfset Foo=QueryAddRow( Results )> <!--- stash the source name ---> <cfset Source=Sources.
What is the difference between emulated and non-emulated datasources ?
Emulated datasource - The pre-installed default data source is an emulated data source. Emulated data sources are wrappers around Oracle data sources. Used primarily by applications that access only a single database. Non-emulated datasource - Non-emulated data sources are pure Oracle data sources. Used by applications that want to coordinate access to multiple sessions within the same database or to multiple databases within a global transaction.
Should not we define a MediaWiki tag, in the page, to define the keywords?
MediaWiki FAQ - MetaWe currently have the opportunity to add comments, which are not displayed: Maybe a special comment could be detected by the engine and used to fill the string this->Keywords. How is this done in MediaWiki 1.6.x because those functions don't exist --Elliotgoodrich 19:41, 22 May 2006 (UTC) I have managed to fix this http://www.psconclave.com/blog/mediawiki-mods/meta-tags feel free someone to write a proper guide for wikimedia as I don't have time at the moment.
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.
How do I setup HTTP-tunneling in OC4J?
Remote Method Invocation (RMI) in enables developers to build distributed applications in java. However RMI calls are normally blocked by firewalls. RMI HTTP tunneling is a RMI implementation to provide a way for RMI to get through firewalls using HTTP. Your global-web-application.xml should have this entry: <servlet> <servlet-name>rmi</servlet-name> <servlet-class>com.evermind.server.rmi.
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.
Where can I see a list of all of the capabilities of OC4J?
Oracle Application Server Containers for J2EE 10g (9.0.4) --...The best place to get technical information about OC4J is on the OC4J home page on OTN -- http://otn.oracle.com/tech/java/oc4j. The OC4J Feature Overview lists the features available in the OC4J 10g (9.0.4) release.
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.
What is the default HTTP port of OC4J?
Oracle Application Server Containers for J2EE 10g (9.0.4) --...The default HTTP port of OC4J standalone is 8888. This is specified in the configuration file <J2EE_HOME>/config/http-web-site.xml. If you have installed one of the Oracle Application Server distributions instead of OC4J standalone, then you must access Web applications deployed on OC4J via Oracle HTTP Server. The default port of Oracle HTTP Server is 7777.
How do I get a connection to a database using OC4J?
Oracle Application Server Containers for J2EE 10g (9.0.4) --...OC4J uses data sources to define connections to databases. When OC4J starts, it creates DataSource objects based on it's configuration information. These DataSource objects act as connection factories, and allow applications to obtain a connection without knowing the physical details of the database being used. Data sources are defined by default in the file J2EE_HOME/config/data-sources.xml.
Can I define my own exceptions?
Andy Mc's C# FAQ for C++ programmersNote that if you want your exception to cross remoting boundaries you'll need to do some extra work - see http://www.thinktecture.com/Resources/RemotingFAQ/CustomExceptions.html for details.
How do I define my own code group?
Andy Mc's .NET Framework FAQUse caspol. For example, suppose you trust code from www.mydomain.com and you want it have full access to your system, but you want to keep the default restrictions for all other internet sites. To achieve this, you would add a new code group as a sub-group of the 'Zone - Internet' group, like this: caspol -ag 1.3 -site www.mydomain.com FullTrust Now if you run caspol -lg you will see that the new group has been added as group 1.3.1: ... 1.3. Zone - Internet: Internet 1.3.1. Site - www.mydomain.
How do you define mysticism?
FREQUENTLY ASKED QUESTIONSA. Mysticism can be defined as a belief based on the personal testimony of mystics that God, Truth can be directly experienced. It also includes teachings and practices that can be passed on. Mysticism has been found throughout the ages and is at the heart of the world's spiritual traditions. As the Buddha said the Ultimate authority of truth is not any scripture or dogma but one's own experience.
