JServlet / DBServlet in OAS 4081
I created a Servlet according to the steps given in the OTN website.
It access tables EMP and DEPT from the database.
When I tested it from JDeveloper, it worked perfectly well.
When I tried to access it through Browser / OAS 4081, it didn't work.
It is looking for DBServletImpl.class
Can anybody help me to find out where this class exists and how to include it.
JDeveloper 3.0 release notes has detailed steps to deploy DBservlets on OAS. Check it out.
raghu
Similar Messages
-
(apologize if this isn't the correct
place to post .. it was the closest
I thought to my subject/...)
There is a sample code in technet
that demo's a servlet. The code seems
to include its own webserver. It is
called the survey ..
I'm trying to install the survey demo
but on an existing oas 4081 install.
Can this be done?
thanks
billt
nullJDeveloper 3.0 release notes has detailed steps to deploy DBservlets on OAS. Check it out.
raghu -
We have a web based application using oracle 7 and oas 4081. Offlate occasionally the application just hangs. We could not see any issue either with the Netscape Web server or the Database. (looks like an oas memory leak).
The ows logs show the following errors - ows-04518, ows-04766 and ows-04532. I dont see these errors in any of the oracle documentation. Can anyone pl tell me what these relate to and what documents are available for these error messages?
Thanks!
kumarJDeveloper 3.0 release notes has detailed steps to deploy DBservlets on OAS. Check it out.
raghu -
Can I have 815 and OAS 4081 on same machine?
I have Redhat 6.1, Oracle 815.02 installed fine without problems.
Can I now install OAS 4081 on this same machine in different homes and under different users? Has anyone managed to get both working on the same machine?Both, buffers and onboard programs are memory objects. Each memory object is assigned to a unique object number in a single object number space, so your first suggestion is correct.
Kind regards,
Jochen Klier
National Instruments -
The p2go installation manual talks about the
OAS 4081 Servlet patch set . Where would I get it ? I searched in the donwload area on technet, metalink patches section, and I cpould not find it .
Does the s/w work with OAS 4082 ?
I appreciate any helpHere is what I get when try to run the batch file
E:\Oracle\Ora81\panama\ServiceDesigner>set LIB=.\lib
E:\Oracle\Ora81\panama\ServiceDesigner>set PASD_CP=.;.\classes;.\lib\panama_pasm
.zip;.\lib\panama_core.zip;.\lib\jewt-opt-4_0_14.zip
E:\Oracle\Ora81\panama\ServiceDesigner>set PASD_CP=.;.\classes;.\lib\panama_pasm
.zip;.\lib\panama_core.zip;.\lib\jewt-opt-4_0_14.zip;.\lib\share-opt-1_1_4.zip;.
\lib\classes111.zip;.\lib\xmlparserv2.jar
E:\Oracle\Ora81\panama\ServiceDesigner>set PASD_CP=.;.\classes;.\lib\panama_pasm
.zip;.\lib\panama_core.zip;.\lib\jewt-opt-4_0_14.zip;.\lib\share-opt-1_1_4.zip;.
\lib\classes111.zip;.\lib\xmlparserv2.jar;.\lib\jndi.jar;.\lib\server.zip;.\lib\
client.zip;.\lib\servlet.jar
E:\Oracle\Ora81\panama\ServiceDesigner>REM \bin\java -classpath .;.\classes;.\li
b\panama_pasm.zip;.\lib\panama_core.zip;.\lib\jewt-opt-4_0_14.zip;.\lib\share-op
t-1_1_4.zip;.\lib\classes111.zip;.\lib\xmlparserv2.jar;.\lib\jndi.jar;.\lib\serv
er.zip;.\lib\client.zip;.\lib\servlet.jar oracle.panama.pasm.PASM
E:\Oracle\Ora81\panama\ServiceDesigner>java -version
java version "1.1.6"
E:\Oracle\Ora81\panama\ServiceDesigner>pause
Press any key to continue . . .
Current version of Java is 1.1.6 -
OAS 4081: How to use a DAD with JServlet cartrige and JDBC?
i try to open a db connection in the jservlet cartdige via jdbc, using the following url-format in the getconnection() method:
"jdbc:oracle:jts7:@<myDAD>"
i get an sqlexception "sub protocol not specified".
the release notes of version 4081 say that something has changed in the jdbc/jts drivers from version 407 but they don't say what.
does anybody know?
remarks:
1) declaring the dad and the jservlet cartdige transactional or non-transactional in the oas manager seems to have no effect on this problem
2) connection without the jts and the URL "jdbc:oracle:oci8/thin:@<tnsname>" works fine
nullHi Amit,
Sounds like a good idea but then you would need an external db and update the table in a thread safe way !.
Regarding your question as to how to work with global variable please refer https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/1352. [original link is broken] [original link is broken] [original link is broken]
Rgds
joel -
Hi,
When we deploy a HTTPServlet to OAS, we can deploy it only as JServlet and after registering the servlet, if we look into the wrb.app, it says that the Execution string is wrks -s.
Because of this, when my applet communicates with the servlet and when the applet expects an object to be sent by the servlet, the applet gives a java.io.EOFException and in the web server I am able to see a new blank window popping up with the title 'wrks'.
What should the Exec String be set to in OAS for servlets?
Has anybody come across this problem? If so, can you pls tell me how to solve this?
Thx
SUdhaHello ,
You do not explicitly need to set the Execution string for the jservlet cartride.
First ensure that the servlet by itself executes fine & is accessible from a browser.
Once this works, then you could access the servlet from a applet, using the java URL class.
Attaching a doc below which explains how to access Cartridges from a Java program
You are invoking a Oracle Application Server Cartridge to access the database
using a Java program.
From a Java program (Applet/Application), you could access database using JDBC
drivers. Invoking cartridges(PL/SQL, JAVA) to access the database from a Java
program, makes sense if,
a. The code required to access the database has already been written using
a cartridge.
b. The majority of the job done by the Java application is non-database.
c. You need to access database without a JDBC Driver and without using
Sql*Net(If you are using OCI Based JDBC drivers)
The major advantage of the above is code reusablity.
This is acheived by using the URLConnection class defined in the java.net
package, which allows the opening of a URL, and reading in the contents of the
URL. Accessing cartridges from a Java program is similar to accessing CGI
scripts from a Java program. Parameters can be passed to a CGI script using
the GET or the POST method. In the GET method, parameters are passed along with
the URL.
Example: http://oraclebl.oracle.com/cgi-bin/get_data?deptno=10
In the POST method, the parameters are passed to the Standard input of the CGI
script, which points to the data sent from the browser. The POST METHOD is
quickly making the GET METHOD obsolete because it's more versatile and has no
limitations on the amount of data that can be sent through the connection.
Given below is a example of a Applet accessing the PL/SQL cartridge to retreive
data from the database. The same concept could be used to access any other
cartridge(such as a Java cartridge) working on the HTTP protocol.
PL/SQL procedure accessed:
create or replace procedure get_emp_data(deptno in number) as
cursor c1(dept in number) is select empno, ename from scott.emp where deptno=dept;
begin
owa_util.mime_header('text/plain');
for i in c1(deptno) loop
htp.p(to_char(i.empno)| |' '| |i.ename);
end loop;
end;
Applet code accessing the above procedure using the PL/SQL cartridge.
package package4;
import java.awt.*;
import java.awt.event.*;
import java.applet.*;
import java.net.*;
import java.io.*;
public class Applet1 extends Applet {
Button button1 = new Button("Query Details"); /* Button to Query emp details */
TextField deptno = new TextField("",10); /* TextField to get the deptno */
FlowLayout flowLayout1 = new FlowLayout(); /* Initialize a Flowlayout class */
TextArea empDetails = new TextArea("",10,40); /* TextArea to display emp details queried */
public void init() {
setLayout(flowLayout1);
setSize(new Dimension(400, 329));
add(deptno);
add(button1);
button1.addActionListener(new button_listener(this));
add(empDetails);
void button1_actionPerformed(ActionEvent e) {
String t1 = empDetails.getText() ;
empDetails.replaceRange("",0,t1.length()); /* Initialize empdetails to "" */
try
URL url = new URL("http://winnt-nsc.in.oracle.com:8888/web_apps/plsql/get_emp_data");
/* Initialize the URL pointing to a PL/SQL cartridge */
URLConnection connection = url.openConnection();
connection.setDoOutput(true); /* Enable Output to the above URL Connection stream */
PrintWriter out = new PrintWriter(connection.getOutputStream());
out.print("deptno="+deptno.getText());
/* Send the deptno value to the output stream. This would be read by the cartridge
Using the POST method */
out.close();
String inputLine;
BufferedReader in = new BufferedReader( new InputStreamReader( connection.getInputStream()));
while ((inputLine = in.readLine()) != null) /* Retreive the URL content & initialize empDetails */
empDetails.append(inputLine+"\n");
in.close();
catch(Exception e1)
empDetails.append(e1.getMessage());
/* Listener to handle the Actions for the Query button */
class button_listener implements ActionListener {
Applet1 applet1;
button_listener(Applet1 applet1)
this.applet1=applet1;
public void actionPerformed(ActionEvent e) {
applet1.button1_actionPerformed(e);
Explaination:
a. Create the URL with the following.
URL url = new URL("http://winnt-nsc.in.oracle.com:8888/web_apps/plsql/
get_emp_data");
b. Call the URL object's openConnection method to connect to it. This
initializes a communication link between your Java program and the URL
over the network URLConnection connection = url.openConnection();
c. After the URL is opened, it creates two streams, one input stream to
read from the open connection, and one output stream to write to the open
connection. An input stream needs to be used to retreive the contents
of the URL. An output stream can be used to pass data to the URL
(such as Posting paraemeter values to the URL).getInputStream () and
getOutputStream methods of the URLConnection object could be used to get
the input & output streams respectively.
By default the input stream is enabled & the output stream is disabled.
You need to explicitly enable the output stream if reqiured by using the
setDoOutput method of the URLConnection object connection.setDoOutput
(true);
d. In the example the deptno is the parameter name, and the value is
retreived using deptno.getText().
Example uses the POST method to pass the parameters.
The parameter needs to be passed using the format
parameter_name=parameter_value, which is done by
out.print("deptno="+deptno.getText());
Paraemeters could be passed using the GET method, by just appending the
parameters in the above format to the URL. In this case, you do not need to use
the OutputStream of the URLConnection.
Example : http://winnt-nsc.in.oracle.com:8888/web_apps/plsql/
get_emp_data?deptno=10
Unless the URL length limitation is reached, try to use GET because of its
simplicity.
Oracle Support Services
null -
Manual deploy dbservlet in OAS
help me. I need a Manual detail Manual about how I deploy a Servlet (made in jdeveloper 3.0) in OAS because
I cant publish a Jservlet wizard in my OAS.
Please Answer me to [email protected]Carlos please see:
http://otn.oracle.com/doc/jdev3/readme.html#ID2417
-Chris -
We failthfully followed the procedure given in technet.oracle.com/products/jdev (JDeveloper 3.0 Technical Information - Developing and Deploying EJBs using JDeveloper 3.0 and running the deployed EJB from a client application) to create an EJB.
We got the following error when we tried to run the client from JDeveloper.
"D:\jdeveloper\java1.2\jre\bin\javaw.exe" -mx50m -classpath "D:\jdeveloper\myclasses;D:\jdeveloper\lib\ejbapi.jar;D:\jdeveloper\lib\oasoorb.jar;D:\jdeveloper\myprojects\jayEJBCl.jar;D:\jdeveloper\lib\jdev-rt.zip;D:\jdeveloper\jdbc\lib\oracl e8.1.5\classes111.zip;D:\jdeveloper\lib\connectionmanager.zip;D:\jdeveloper\lib\javax_ejb.zip;D:\jdeveloper\java1.2\jre\lib\rt.jar" jayEJB.jayEJBClient
Creating an initial context
Looking for the EJB published as 'jayEJB/HelloEJB'
Naming exception occurred!
Cause: This may be an unknown URL, or some classes required by the EJB are missing from your classpath, or your OAS host is short of resources
Suggestion: Check the components of the URL, and make sure your project includes a library containing the EJB .jar files generated by the deployment utility.
[Root exception is org.omg.CORBA.NO_IMPLEMENT: minor code: 0 completed: No]javax.naming.ServiceUnavailableException
java.lang.Object oracle.oas.jndi.oas.SecCosNamingContext.resolve(javax.naming.Name, java.util.Hashtable)
java.lang.Object oracle.oas.jndi.oas.BeanContext.lookup(javax.naming.Name, java.util.Hashtable)
java.lang.Object oracle.oas.jndi.oas.BeanInitialContext.resolve(javax.naming.Name, java.util.Hashtable)
java.lang.Object oracle.oas.jndi.oas.BeanContext.lookup(javax.naming.Name, java.util.Hashtable)
java.lang.Object oracle.oas.jndi.oas.BeanInitialContext.lookup(javax.naming.Name, java.util.Hashtable)
java.lang.Object oracle.oas.jndi.oas.WrapperContext.lookup(javax.naming.Name)
java.lang.Object oracle.oas.jndi.oas.BeanContext.lookup(java.lang.String)
java.lang.Object javax.naming.InitialContext.lookup(java.lang.String)
void jayEJB.jayEJBClient.main(java.lang.String[])
Can anyone suggest the remedy ?
nullI don't know if this applies for you but this may help you:
"I am running OAS on Windows NT, and my client hangs during the JNDI home interface lookup. What can I do ?
If your OAS EJB client hangs, and then throws an exception similar to the one below during the JNDI home interface lookup, this is
probably due to the fact that the java process in which your application is supposed to run cannot be started.
[Root exception is org.omg.CORBA.NO_RESOURCES:
]javax.naming.InsufficientResourcesException
at oracle.oas.jndi.oas.SecCosNamingContext.resolve(Compiled Code)
at oracle.oas.jndi.oas.BeanContext.lookup(Compiled Code)
at oracle.oas.jndi.oas.BeanInitialContext.resolve(Compiled Code)
at oracle.oas.jndi.oas.BeanContext.lookup(Compiled Code)
at oracle.oas.jndi.oas.BeanInitialContext.lookup(Compiled Code)
at oracle.oas.jndi.oas.WrapperContext.lookup(Compiled Code)
at oracle.oas.jndi.oas.BeanContext.lookup(Compiled Code)
at javax.naming.InitialContext.lookup(Compiled Code)
at appPackage.BeanClient.main(Compiled Code)
You can verify that by looking at the wrb.log file (located in ows/admin/website40/log). It should report that it failed to get the cartridge for your
application (yourAppName__) by a message similar to the one below:
12-01-1999 09:43:10 0 plemouel-pc `RM Proxy` 301 0 0x1200fff `OWS-25010:
Failed to get cartridge 'appPackage/__' for '360' times.
If your EJB is deployed in OAS on NT, and you have installed the JDK 1.2, or JRE1.2 on your machine don't look further. Even if your path and
classpath are set to use the correct 1.x JDK, OAS EJBs runtime uses the createProcess system command, which will cause the JDK1.2 JVM
to be loaded. This version of the JVM is not supported at the moment by OAS.
The reason behind this unfortunate behavior is twofold:
When you install JDK 1.2, the java.exe executable is also copied in the Windows system32 directory.
The system command we are using (createProcess) to start the JVM looks there first (MS design) before looking in the PATH
environment variable.
Therefore OAS tries to start your EJB application in JDK1.2 JVM, which is not supported at the moment.
We will fix this problem, but in the meantime, if you need to have the JDK1.2 on the same machine as your OAS installation. You will need to
edit the wrb.app (this file is located in directory ows\admin\website40\wrb) file after deploying your EJB.
In the wrb.app file look for:
[APPLICATION.myAppName]
where myAppName is the name of your EJB application. Below this tag, you should have the following line:
ExecString = javaw -mx64M oracle.oas.container.Main
Edit this line to add the javaw path. This should look something like this:
ExecString = c:\orant\ows\4.0\jdk\bin\javaw -mx64M oracle.oas.container.Main
Save the wrb.app file and then reload OAS.
If you have not installed the JDK1.2 or JRE1.2, your EJB has probably been deployed incorrectly. Check in directory
ows/apps/ejb/yourAppName to make sure that the following three files are present: _application.jar; _client.jar; and _server.jar."
null -
Oracle8i and Oas 4081 - PLSQL TOOLKIT - Urgent Please help.
Hi ,
I installed Oracle 8i and Oas4081 on different ORACLE_HOME on the Linux 6.1 . When I tried to install the PLSQL toolkit it giving me an Oracle Database error 63744.
But I am enabled the sql_trace and I found OAS is successfully connecting to Oralce8i database, but it failing for some reason.
Do we need to do anything special on Oracle 8i side to install the PLSQL toolkit ..??
.Please help ...
Thanks in advance ..
kkumarIs this what you're looking for?
Usage Notes
If the input data or key given to the DES3DECRYPT procedure is empty, then the procedure raises the error ORA-28231 "Invalid input to Obfuscation toolkit."
If the input data given to the DES3DECRYPT procedure is not a multiple of 8 bytes, the procedure raises the error ORA-28232 "Invalid input size for Obfuscation toolkit." ORA-28233 is NOT applicable for the DES3DECRYPT function.
If the key length is missing or is less than 8 bytes, then the procedure raises the error ORA-28234 "Key length too short." Note that if larger keys are used, extra bytes are ignored. So a 9-byte key will not generate an exception.
C. -
OAS 4081: Admin and WWW Listeners won't start
Running OAS 4.0.8.1 on RH Linux 6.1. I get the following error messages when I start either the Admin or WWW listeners.
Error: Empty or partial expression. See [SecureInfo] GroupID.
Error: The server could not initialize
Information: The server is exiting
Anybody know the solution? Your help is appreciated.
nullCheck /var/log/httpd/error_log after a restart, it will probably have more info about what went wrong with Apache.
Both Apache and MySQL use startupitem scripts located in /System/Library/StartupItems.
The fact that they start up fine manually, several seconds later, probably means that some prerequisite isn't quite ready when they try to start. A quick kludge that will quite probably work would be to put like a 10 second delay in their scripts with the following line at the top of the StartService section:
sleep 10
Roger -
OAS 4081 on NT... Server had an internal error
Hi Gurus,
My Application running on OAS4081 using Oracle developer server 6i an PL/SQL Cartridge. My oas configuration : Double Pentium II memory 1 GB NT Service PAck 5, Some of my application using PL/SQL and others using Forms/Reports Server CGI on the same machine. The database on AIX RISC 6000
Oracle 7.3.3. The problem is my OAS sometimes show me "The server had an internal error an d couldnot process the request". What cause this problem is it a bug from OAS ? When I got this message, I should reload my OAS to make it available again ?
Sometimes Dr. Watson also show up on screen "RWCGI60...Bla.. Bla.. sharing violation ". What shoud I do
Thank's
DavidClear the cache and the cookies from sites that cause problems.
"Clear the Cache":
* Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
"Remove Cookies" from sites causing problems:
* Tools > Options > Privacy > Cookies: "Show Cookies" -
OAS 4081 with Solaris 2.7
Can OAS 4.0.8.1 be installed on a Sparc with Solaris 2.7? THe release notes talk about Solaris 2.51 and 2.6, but not words about 2.7
Thx
SudhaDoes your code extend frame? If so then having super("title") should work. If it isn't working try putting in a setTitle("title") call after the super.
If you are just creating a frame:
Frame f = new Frame("title");
should create a frame with the title "title". Again you can use the setTitle method to set the title.
f.setTitle("title");
How this helps.
Bruce -
OAS 4081 Failed to find User ( root )
Okay, so I'm attempting to run a listener on port 443 which requires root privileges. When I set the user to root it accepts it just fine but when I start the listener, the log file says: Error: Failed to find the User ( root ) in /etc/password. If I try any other user it tells me they don't have privileges for that port. Any clues hear are appreciated.
Did you recently upgrade your ConfigMgr site to SP1 or R2?
Jason | http://blog.configmgrftw.com -
Error in OAS with Jservlet.
I have two problems.
I'm begin in java and i have a questions.
thanks for answer me to [email protected]
this is my enviroment:
Version ORACLE: oracle 8i enterprise edition 8.1.5
Version OAS: Oracenterprise edition 4.0.8.1
Version JDEVELOPER: 3.0 export.
Version WinNT: NT server SP5 , IE5
the instalation of ORACLE, OAS(Enterprise), y JDEVELOPER was default.
What i do:
I publish a JAva store procedure in the database and its working.
I run applets (make in jdeveloper, infobus) and work from IIS and OAS.
I can run PLSQL toolkit and it's work.
I run de application ACME VIDEO from jdeveloper and it's work.
I publisha HelloWorld Servlet from oas.
What i cant do?
- Publish a DBservlet from oas<error1>
- deploy a Enterprise JAva BEan to Oracle 8i using iiop<error2>
Questions?
Any configuration in OAS?
init.ora is ok?
patch jdeveloper?
patch oas?
other configuration?
How i confirm to JSERVER is correctly install?
How i test iiop conection? listener?
atach Errors, WRB.app, Init.ora, listener.ora. tnsnames.ora
Error 1 (SERVLET OAS)
I follow a manual in /jdeveloper/readme.html about how i install jservlet in oas.
and this problem result:
wrks.exe
Unable to locate DLL
the dynamic link library yoc40.dll could not be found in the specified path d:\oracle\oas\ows\4.0\bin; c:\winnt\System32;...
Error 2 (JDEVELOPER IIOP)
username acme
pasword acme
Host id icon
sid ORCL
port 2481
Error:
"Conection Exception
Can`t find resource. "
WRB.APP
La aplicacion que estoy probando es MYServlets
[SYSTEM]
SiteName = website40
DisplaySiteName = website40 Site
WRB_primary_host = orasvr.126.0.0.1
WRB_crypt = v1.0
WRB_type = b611064beb189bb6686ed7d705292c06
HostList = orasvr
CollapseProcessModel = TRUE
PriorityScheduling = yes
NextResourceId = 1002
OASEdition = Enterprise Edition
OASVersion = 4.0.8.1.0
OASCompatibleVersion = 4.0.8.1.0
RuntimeList = CWEB, CCORBA, PERL, LiveHTML, ECO4JAVA, EJB, JavaCorba, JAVAWEB, JSERVLET, PLSQL
AppsList = owsapps,DB_Utilities,plsql,jservlets,oneEJBHotel,MyServlets
AincName = __
[SYSTEM.HA]
ConfigProvider = Disabled
AuthServer = Disabled
Broker = Disabled
Logger = Disabled
CartridgeServerFac = Disabled
Dispatcher = Enabled
MonitorDaemon = Disabled
RMProxy = Disabled
Timeout = 30
BrokerTimeout = 60
[Basic]
Realm.Admin Server = Administrators
Group.Administrators = admin
User.admin = 21232f297a57a5a743894a0e4a801fc3
[AuthService]
Service.Mode = INMEMORY
Schemes.INMEMORY = Basic, Digest, IP, Domain
Schemes.ORB = Basic_Oracle, Cert
Schemes.ORBHOST = Basic_Oracle, Cert
Scheme.Basic.Lib = %ORAWEB_HOME%\bin\libwrasbasic40.dll, wrASPBDI_dyn_init
Scheme.Digest.Lib = %ORAWEB_HOME%\bin\libwrasdigest40.dll, wrASPGDI_dyn_init
Scheme.IP.Lib = %ORAWEB_HOME%\bin\libwrasip40.dll, wrASPIDI_dyn_init
Scheme.Domain.Lib = %ORAWEB_HOME%\bin\libwrasdomain40.dll, wrASPDDI_dyn_init
Scheme.Basic_Oracle.Lib = %ORAWEB_HOME%\bin\libwrasoracle40.dll, wrASPODI_dyn_init
Scheme.Cert.Lib = %ORAWEB_HOME%\bin\libwrascert40.dll, wrASPCDI_dyn_init
Scheme.IP.Impl = WRAS_IP
Scheme.Basic.Impl = WRAS_BASIC
Scheme.Digest.Impl = WRAS_DIGEST
Scheme.Domain.Impl = WRAS_DOMAIN
Scheme.Basic_Oracle.Impl = WRAS_BASIC_ORACLE
Scheme.Cert.Impl = WRAS_CERT
[Logger]
logger_dad_name = DBA
logger_batch = ON
logger_rollover = Never
logger_logxlf = ON
logger_logxlf_desttype = FS
logger_logxlf_destdir = %ORAWEB_HOME%\..\admin\website40\log
logger_logxlf_destfname = xlf.log
logger_logxlf_maxfsize = 10000000
logger_logxlf_archivedir = %ORAWEB_HOME%\..\admin\website40\log
logger_logxlf_fields = clf
logger_logsys = ON
logger_logsys_desttype = FS
logger_logsys_destdir = %ORAWEB_HOME%\..\admin\website40\log
logger_logsys_destfname = wrb.log
logger_logsys_maxfsize = 10000000
logger_logsys_archivedir = %ORAWEB_HOME%\..\admin\website40\log
logger_logsys_mask = 0xFFFFFFFF
logger_logsys_level = 3
logger_logattrib = ON
logger_logattrib_desttype = FS
logger_logattrib_destfname = attrib.log
logger_logattrib_destdir = %ORAWEB_HOME%\..\admin\website40\log
logger_logattrib_maxfsize = 10000000
logger_logattrib_archivedir = %ORAWEB_HOME%\..\admin\website40\log
[ots.otssrv]
description = OTS server
max_distributed_transactions = 66
max_resources_accessed_per_txn = 6
application_dispatch_thread_number = 3
[RUNTIME.CWEB]
RuntimeVersion = 4.0
DisplayName = "C Web"
AppFile = D:\Oracle\Oas\ows\4.0\install\CWEB.app
AddAppURL = /ows-abin/apadmin?FORM_CODE=APP_TYPE&AppType=CWEB&ConfigMode=manual
AddCartxURL = /ows-abin/apadmin?FORM_CODE=CARTX_ADD
DelAppURL = /ows-abin/apadmin?FORM_CODE=APP_DEL
DelCartxURL = /ows-abin/apadmin?FORM_CODE=CARTX_DEL
[APPLICATION.owsapps]
ServerInterface = WEB
ServerRuntime = CWEB
CartTimeout = 86400
Hosts = orasvr
ExecString = wrks -s
Priority = medium
DisplayName = "Server Status Monitor App"
Cartridges = owsapps/owsstat
[APPLICATION.owsapps.WEB]
AppMimeTypes = - jpeg,gif
GetClientCert = Disabled
Session = Disabled
SessionIdle = 15
[AppDirs]
/owsapps/owsstat owsapps/owsstat %ORAWEB_HOME%\bin
/owsstat owsapps/owsstat %ORAWEB_HOME%\bin
/DB_Utilities/DB_Browser DB_Utilities/DB_Browser %ORAWEB_HOME%\bin
/DB_Utilities/Log_Analyzer DB_Utilities/Log_Analyzer %ORAWEB_HOME%\bin
/plsql/toolkit/ plsql/toolkit %ORAWEB_HOME%\bin
/Jservlets/Samples/ jservlets/Samples d:\oracle\oas\ows\4.0\test\
/servlets/ MyServlets/DbServlets %ORAWEB_HOME%\lib
[SYSTEM_owsapps/owsstat]
Stateless = FALSE
ThreadSafe = no
Prestart = 0
MinInstances = 1
MaxInstances = 10
MinThreads = 1
MaxThreads = 1
Application = owsapps
DisplayName = "Web Server Status Monitor"
[Apps]
owsapps/owsstat %ORAWEB_HOME%\bin\wstat.dll testentry
DB_Utilities/DB_Browser %ORAWEB_HOME%\..\cartx\plsql\bin\ndwoa40.dll ndwoadinit
DB_Utilities/Log_Analyzer %ORAWEB_HOME%\..\cartx\plsql\bin\ndwoa40.dll ndwoadinit
plsql/toolkit %ORAWEB_HOME%\..\cartx\plsql\bin\ndwoa40.dll ndwoadinit
jservlets/Samples %ORACLE_HOME%\ows\cartx\jweb\lib\jcartx40.dll ojsdinit
MyServlets/DbServlets %ORACLE_HOME%\ows\cartx\jweb\lib\jcartx40.dll ojsdinit
[RUNTIME.CCORBA]
RuntimeVersion = 4.0.8
DisplayName = "C++ Corba"
AppFile = D:\Oracle\Oas\ows\4.0\install\CCORBA.app
AddAppURL = /ows-abin/jcgi.bat?FORM_CODE=j_cpp_ccorba_install
AddCartxURL = /ows-abin/apadmin?FORM_CODE=CARTX_ADD
DelAppURL = /ows-abin/apadmin?FORM_CODE=APP_DEL
DelCartxURL = /ows-abin/apadmin?FORM_CODE=CARTX_DEL
AppsDir = ..\cpp
[RUNTIME.PERL]
RuntimeVersion = 4.0
DisplayName = "Perl"
AppFile = D:\Oracle\Oas\ows\cartx\perl\install\perl.app
AddAppURL = /ows-abin/apadmin?FORM_CODE=APP_TYPE&AppType=PERL&ConfigMode=manual
AddCartxURL = /ows-abin/apadmin?FORM_CODE=CARTX_ADD
DelAppURL = /ows-abin/apadmin?FORM_CODE=APP_DEL
DelCartxURL = /ows-abin/apadmin?FORM_CODE=CARTX_DEL
[RUNTIME.LiveHTML]
RuntimeVersion = 4.0
DisplayName = "LiveHTML"
AppFile = D:\Oracle\Oas\ows\4.0\..\cartx\livehtml\install\livehtml.app
AddAppURL = /ows-abin/apadmin?FORM_CODE=APP_TYPE&AppType=LiveHTMLL&ConfigMode=manual
AddCartxURL = /ows-abin/apadmin?FORM_CODE=CARTX_ADD
DelAppURL = /ows-abin/apadmin?FORM_CODE=APP_DEL
DelCartxURL = /ows-abin/apadmin?FORM_CODE=CARTX_DEL
[RUNTIME.ECO4JAVA]
RuntimeVersion = 4.0
DisplayName = "Enterprise Corba Objects for Java"
AppFile = D:\Oracle\Oas\ows\4.0\install\ECO4JAVA.app
AddAppURL = /ows-abin/jcgi.bat?FORM_CODE=j_eco_add
AddCartxURL = /ows-abin/apadmin?FORM_CODE=CARTX_ADD
DelAppURL = /ows-abin/apadmin?FORM_CODE=APP_DEL
DelCartxURL = /ows-abin/apadmin?FORM_CODE=CARTX_DEL
AppsDir = ..\apps\eco4j
[RUNTIME.EJB]
RuntimeVersion = 4.0
DisplayName = "Enterprise JavaBeans"
AppFile = D:\Oracle\Oas\ows\4.0\install\EJB.app
AddAppURL = /ows-abin/jcgi.bat?FORM_CODE=j_ejb_add
AddCartxURL = /ows-abin/apadmin?FORM_CODE=CARTX_ADD
DelAppURL = /ows-abin/apadmin?FORM_CODE=APP_DEL
DelCartxURL = /ows-abin/apadmin?FORM_CODE=CARTX_DEL
AppsDir = ..\apps\ejb
[RUNTIME.JavaCorba]
RuntimeVersion = 4.0
DisplayName = "JCorba"
AppFile = D:\Oracle\Oas\ows\4.0\install\JavaCORBA.app
AddAppURL = /ows-abin/jcgi.bat?FORM_CODE=j_jco_add
AddCartxURL = /ows-abin/apadmin?FORM_CODE=CARTX_ADD
DelAppURL = /ows-abin/apadmin?FORM_CODE=APP_DEL
DelCartxURL = /ows-abin/apadmin?FORM_CODE=CARTX_DEL
AppsDir = ..\apps\jco
[RUNTIME.JAVAWEB]
RuntimeVersion = 4.0
DisplayName = "JWeb"
AppFile = D:\Oracle\Oas\ows\4.0\..\cartx\jweb\install\javaweb.app
AddAppURL = /ows-abin/apadmin?FORM_CODE=APP_TYPE&AppType=JAVAWEB&ConfigMode=manual
AddCartxURL = /ows-abin/apadmin?FORM_CODE=CARTX_ADD
DelAppURL = /ows-abin/apadmin?FORM_CODE=APP_DEL
DelCartxURL = /ows-abin/apadmin?FORM_CODE=CARTX_DEL
[RUNTIME.JSERVLET]
RuntimeVersion = 4.0
DisplayName = "JServlet"
AppFile = D:\Oracle\Oas\ows\4.0\..\cartx\jweb\install\jservlet.app
AddAppURL = /ows-abin/apadmin?FORM_CODE=APP_TYPE&AppType=JSERVLET&ConfigMode=manual
AddCartxURL = /ows-abin/apadmin?FORM_CODE=CARTX_ADD
DelAppURL = /ows-abin/apadmin?FORM_CODE=APP_DEL
DelCartxURL = /ows-abin/apadmin?FORM_CODE=CARTX_DEL
[RUNTIME.PLSQL]
RuntimeVersion = 4.0
DisplayName = "PL/SQL"
AppFile = D:\Oracle\Oas\ows\4.0\..\cartx\plsql\install\runtime_plsql.app
AddAppURL = /ows-abin/apadmin?FORM_CODE=APP_TYPE&AppType=PLSQL&ConfigMode=manual
AddCartxURL = /ows-abin/apadmin?FORM_CODE=CARTX_ADD
DelAppURL = /ows-abin/apadmin?FORM_CODE=APP_DEL
DelCartxURL = /ows-abin/apadmin?FORM_CODE=CARTX_DEL
[APPLICATION.DB_Utilities]
Hosts = orasvr
ExecString = wrks -s
ServerInterface = WEB
CartTimeout = 86400
Priority = medium
DisplayName = "DB Utilities"
ServerRuntime = PLSQL
Cartridges = DB_Utilities/Log_Analyzer, DB_Utilities/DB_Browser
[APPLICATION.DB_Utilities.WEB]
AppMimeTypes = - jpeg,gif
GetClientCert = Disabled
Session = Disabled
SessionIdle = 15
[SYSTEM_DB_Utilities/DB_Browser]
Stateless = FALSE
ThreadSafe = TRUE
Prestart = 0
MinInstances = 0
MaxInstances = 10
MinThreads = 1
MaxThreads = 1
Application = DB_Utilities
DisplayName = "DB Browser"
[SYSTEM_DB_Utilities/Log_Analyzer]
Stateless = FALSE
ThreadSafe = TRUE
Prestart = 0
MinInstances = 0
MaxInstances = 10
MinThreads = 1
MaxThreads = 1
Application = DB_Utilities
DisplayName = "Log Analyzer"
[DB_Utilities/Log_Analyzer_DB_Utilities/Log_Analyzer]
owa_error_page = error.html
owa_pkg_protect = TRUE
owa_error_level = 2
[DB_Utilities/DB_Browser_DB_Utilities/DB_Browser]
owa_compress_files = FALSE
owa_dad_name = toolkit
owa_error_page = error.html
owa_pkg_protect = TRUE
owa_error_level = 2
[DAD_toolkit]
username = toolkit
password = JHNMNIBOJPHDDBDL
hostname = orasvr
oracle_home = D:\Oracle\Oas
oracle_sid = orcl
nls_lang = AMERICAN_AMERICA.WE8ISO8859P1
resource_id = 1001
[APPLICATION.plsql]
Hosts = orasvr
ExecString = wrks -s
ServerInterface = WEB
CartTimeout = 86400
Priority = medium
DisplayName = "plsql"
ServerRuntime = PLSQL
Cartridges = plsql/toolkit
[APPLICATION.plsql.WEB]
AppMimeTypes = - jpeg,gif
GetClientCert = Disabled
Session = Disabled
SessionIdle = 15
[SYSTEM_plsql/toolkit]
Stateless = FALSE
ThreadSafe = TRUE
Prestart = 0
MinInstances = 0
MaxInstances = 10
MinThreads = 1
MaxThreads = 1
DisplayName = "toolkit"
Application = plsql
[plsql/toolkit_plsql/toolkit]
owa_dad_name = toolkit
owa_error_level = 2
[APPLICATION.jservlets]
ServerInterface = WEB
ServerRuntime = JSERVLET
CartTimeout = 86400
Hosts = orasvr
ExecString = wrks -s
Priority = medium
DisplayName = "jservlets"
Cartridges = jservlets/Samples
[APPLICATION.jservlets.ENV]
CLASSPATH = %ORAWEB_HOME%\jdk\lib\classes.zip;%ORAWEB_HOME%\classes\services.jar;%ORACLE_HOME%\ows\cartx\jweb\classes\jweb.jar;%ORACLE_HOME%\ows\cartx\jweb\classes\jservlet.jar;%ORACLE_HOME%\o rb\classes\yoj.jar;%ORAWEB_HOME%\classes\cosnam.jar;%ORACLE_HOME%\orb\classes\session.jar;%ORACLE_HOME%\orb\classes\cache.jar;%ORACLE_HOME%\jdbc\lib\classes111.zip;%ORACLE_HOME%\ot s\classes\oraclejts.jar;%ORACLE_HOME%\ots\classes\jtsjdbc.jar;%ORAWEB_HOME%\classes\ecoapi.jar;%ORAWEB_HOME%\classes\ejbapi.jar;%ORAWEB_HOME%\classes\oasdeploy.jar;%ORAWEB_HOME%/te st/serv.jar;%ORAWEB_HOME%\lib\classes111.jar;%ORAWEB_HOME%/test/hotel.jar;%CLASSPATH%
PATH = %ORAWEB_HOME%\jdk\bin;%ORACLE_HOME%\ows\cartx\jweb\lib;%PATH%
[APPLICATION.jservlets.WEB]
AppMimeTypes = - jpeg,gif
GetClientCert = Disabled
Session = Enabed
SessionIdle = 15
SessionFailoverSupport = TRUE
[APPLICATION.jservlets.JAVA]
SYSTEM_PROPERTY = ORAWEB_HOME=%ORAWEB_HOME%
SYSTEM_PROPERTY = ORACLE_HOME=%ORACLE_HOME%
MAX_HEAP = 64M
SYSTEM_PROPERTY = java.naming.factory.initial=oracle.oas.naming.jndi.CartxInitCtxFactory
RUNTIME_MODE = JSERVLET
[SYSTEM_jservlets/Samples]
Priority = medium
MinInstances = 1
MaxInstances = 1
MinThreads = 3
MaxThreads = 10
Stateless = TRUE
ThreadSafe = TRUE
MaxClients = 10
JavaWebInterface = 3.0
DisplayName = "Samples"
Application = jservlets
+ = plication
[APPLICATION.jservlets.LOG]
logger_logsys = OFF
logger_logsys_destdir = e:\
logger_logsys_destfname = servlet.log
logger_logsys_level = 15
[APPLICATION.oneEJBHotel]
ServerInterface = CORBA
ExecString = javaw -mx64M oracle.oas.container.Main
GlobalMinServers = 0
GlobalMaxServers = 20
Hosts = orasvr
Transactions = Disabled
Priority = medium
UsesAinc = TRUE
DisplayName = "oneEJBHotel"
ServerRuntime = EJB
ServerJarFile = %ORAWEB_HOME%\..\apps\ejb\oneEJBHotel\_server.jar
ClientJarfile = %ORAWEB_HOME%\..\apps\ejb\oneEJBHotel\_client.jar
AppFile = D:\Oracle\Oas\ows\4.0\..\apps\ejb\oneEJBHotel\_application.app
AppJarFile = %ORAWEB_HOME%\..\apps\ejb\oneEJBHotel\_application.jar
CreateNamingContext = TRUE
Cartridges = oneEJBHotel/__,oneEJBHotel/HotelSystem
ComponentGroups = oneEJBHotel/__
[APPLICATION.oneEJBHotel.ENV]
CLASSPATH = %ORAWEB_HOME%\classes\services.jar;%ORACLE_HOME%\orb\classes\yoj.jar;%ORAWEB_HOME%\ejb\lib\ejbrt.jar;%ORACLE_HOME%\ots\classes\jtsjdbc.jar;%ORACLE_HOME%\ots\classes\oraclejts.jar;% ORACLE_HOME%\jdbc\lib\classes111.zip;%ORAWEB_HOME%\..\apps\ejb\oneEJBHotel\_server.jar;%ORAWEB_HOME%\..\apps\ejb\oneEJBHotel\_application.jar;%CLASSPATH%
PATH = %ORACLE_HOME%\ots\lib;%ORAWEB_HOME%\jdk\bin;%PATH%
[SYSTEM_oneEJBHotel/HotelSystem]
MinInstances = 0
Prestart = 0
MaxInstances = 10
MinThreads = 1
MaxThreads = 10
Stateless = FALSE
ThreadSafe = yes
Application = oneEJBHotel
DisplayName = "HotelSystem"
RemoteInterface = oneEJBHotel.HotelSystem
HomeInterface = oneEJBHotel.HotelSystemHome
[SYSTEM_oneEJBHotel/HotelSystem.JBEAN]
FactoryClassName = oracle.oas.container.cartridge.ContainerCIFactoryImpl
HomeClassName = oneEJBHotel.oas.corba0._HomeImpl
Reusable = TRUE
Timeout = 0
[SYSTEM_oneEJBHotel/__]
MinInstances = 0
Prestart = 0
MaxInstances = 10
MinThreads = 1
MaxThreads = 10
Stateless = FALSE
ThreadSafe = yes
Application = oneEJBHotel
DisplayName = "Application Instance"
ComponentGroupMembers = oneEJBHotel/HotelSystem.Wrapper
[SYSTEM_oneEJBHotel/__.JBEAN]
FactoryClassName = oracle.oas.container.cartridge.ContainerCIFactoryImpl
CartClassName = oracle.oas.container.appinstance.AppInstanceCart
GlobalInitMethod = globalInit
GlobalRemoveMethod = globalRemove
GlobalShowStateMethod = globalShowState
Reusable = TRUE
Timeout = 3600
Homes = oneEJBHotel/HotelSystem
[SYSTEM_oneEJBHotel/HotelSystem.JBEAN.TX]
TransactionMode = TX_NOT_SUPPORTED
[APPLICATION.MyServlets]
ServerInterface = WEB
ServerRuntime = JSERVLET
CartTimeout = 86400
Hosts = orasvr
ExecString = wrks -s
Priority = medium
DisplayName = "MyServlets"
Cartridges = MyServlets/DbServlets
[APPLICATION.MyServlets.ENV]
CLASSPATH = %ORAWEB_HOME%\lib\myservlets.jar;
%ORAWEB_HOME%\lib\classes111.zip;
%ORAWEB_HOME%\jdk\lib\classes.zip;
%ORAWEB_HOME%\classes\services.jar;
%ORACLE_HOME%\ows\cartx\jweb\classes\jweb.jar;
%ORACLE_HOME%\ows\cartx\jweb\classes\jservlet.jar;
%ORACLE_HOME%\orb\classes\yoj.jar;
%ORAWEB_HOME%\classes\cosnam.jar;
%ORACLE_HOME%\orb\classes\session.jar;
%ORACLE_HOME%\orb\classes\cache.jar;
%ORACLE_HOME%\jdbc\lib\classes111.zip;
%ORACLE_HOME%\ots\classes\oraclejts.jar;
%ORACLE_HOME%\ots\classes\jtsjdbc.jar;
%ORAWEB_HOME%\classes\ecoapi.jar;
%ORAWEB_HOME%\classes\ejbapi.jar;
%ORAWEB_HOME%\classes\oasdeploy.jar;
%CLASSPATH%
PATH = %ORAWEB_HOME%\jdk\bin;
%ORAWEB_HOME%\ows\cartx\jweb\lib;
%PATH%
[APPLICATION.MyServlets.WEB]
AppMimeTypes = - jpeg,gif
GetClientCert = Disabled
Session = Enabled
SessionIdle = 15
SessionFailoverSupport = TRUE
[APPLICATION.MyServlets.JAVA]
SYSTEM_PROPERTY = ORAWEB_HOME=%ORAWEB_HOME%
SYSTEM_PROPERTY = ORACLE_HOME=%ORACLE_HOME%
MAX_HEAP = 64M
SYSTEM_PROPERTY = java.naming.factory.initial=oracle.oas.naming.jndi.CartxInitCtxFactory
RUNTIME_MODE = JSERVLET
[SYSTEM_MyServlets/DbServlets]
MinInstances = 1
MaxInstances = 1
MinThreads = 3
MaxThreads = 10
Stateless = TRUE
ThreadSafe = TRUE
MaxClients = 10
JavaWebInterface = 3.0
DisplayName = "DbServlets"
Application = MyServlets
init.ora
db_name = ORCL
instance_name = ORCL
service_names = ORCL
db_files = 1024 # INITIAL
control_files = ("D:\Oracle\oradata\ORCL\control01.ctl", "D:\Oracle\oradata\ORCL\control02.ctl")
db_file_multiblock_read_count = 8 # INITIAL
db_block_buffers = 8192 # INITIAL
shared_pool_size = 15728640 # INITIAL
java_pool_size = 20971520
log_checkpoint_interval = 10000
log_checkpoint_timeout = 1800
processes = 59 # INITIAL
parallel_max_servers = 5 # SMALL
log_buffer = 32768 # INITIAL
max_dump_file_size = 10240 # limit trace file size to 5M each
global_names = true
oracle_trace_collection_name = ""
background_dump_dest = D:\Oracle\admin\ORCL\bdump
user_dump_dest = D:\Oracle\admin\ORCL\udump
db_block_size = 2048
remote_login_passwordfile = exclusive
os_authent_prefix = ""
# The following parameters are needed for the Advanced Replication Option
job_queue_processes = 2
job_queue_interval = 10
open_links = 4
distributed_transactions = 500
mts_dispatchers = "(PROTOCOL=TCP)(PRE=oracle.aurora.server.SGiopServer)"
mts_servers = 1
compatible = 8.1.0
LISTENER ORA
# D:\ORACLE\ORA81\NETWORK\ADMIN\LISTENER.ORA Configuration File:D:\Oracle\Ora81\network\admin\listener.ora
# Generated by Oracle Net8 Assistant
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = orasvr)(PORT = 1521))
(DESCRIPTION =
(PROTOCOL_STACK =
(PRESENTATION = GIOP)
(SESSION = RAW)
(ADDRESS = (PROTOCOL = TCP)(HOST = orasvr)(PORT = 2481))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = D:\Oracle\Ora81)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = ORCL)
(ORACLE_HOME = D:\Oracle\Ora81)
(SID_NAME = ORCL)
TNSNAMES.ora del server
# D:\ORACLE\ORA81\NETWORK\ADMIN\TNSNAMES.ORA Configuration File:D:\Oracle\Ora81\NETWORK\ADMIN\tnsnames.ora
# Generated by Oracle Net8 Assistant
ORCL.126.0.0.1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = orasvr)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = orasvr)(PORT = 2481))
(CONNECT_DATA =
(SERVICE_NAME = ORCL)
EXTPROC_CONNECTION_DATA.126.0.0.1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
nullhi,
Are you using forms and reports???
If yes then go
$ORACLE_HOME\forms\j2ee\orion-web.xml
Check for the line
<context-param-mapping name="configFileName">
/oraApps/oraclebi/forms/server/formsweb.cfg
</context-param-mapping>
(/oraApps/oraclebi/ is the value for my ORACLE_HOME.)
Make sure that the configFileName is pointing to a valid file (formsweb.cfg by default) and that the directory path is correct.
This should solve your problem
Regards
Fabian
Maybe you are looking for
-
ACS 5.3.0.40 On-demand Full Backup failed.
Hi, I have ACS 5.3.0.40 Primary Secondary Authenticators , of which the Scheduled backup has stopped. When checked the : Monitoring Configuration > System Operations > Data Management > Removal and Backup > Incremental Backup , it had changed to OFF
-
Network sharing of iTunes library issue
Hello, I've searched for a similar problem, but did not find one. I have a main computer where I keep all of my MP3's on an external drive. I've sucessfully shared the library to the second computer - all of the playlists show up complete with artwor
-
Hello again Still experimenting with PrE8 trial version. This is my first experience with a video editor so learning all from scratch. I have a couple of questions regarding the project setting you need to chose when you create a new project. I under
-
How to remove spanish from iTunes store??
I'm not sure why or when this happened but my iTunes store music page always has Latino artists on it. Even the free downloads are recently predominantly Latino artists. Is there an option for English only? I purposely made a US account when I moved
-
Issues importing iPhoto Library
I have imported my iPhoto library into Aperture 3. The import must have failed because only some made it over. I chose to leave the photos in their current location. How can I do a fresh import and get the rest of the files imported (still leaving th