OAS 4.0.8.1 - PLSQL cartridge
I got a request failed while calling a package compiled without error on 8.1.5.
Message as follows:
Error occured while accessing:
"app/cart1/my_pkg.validate_info"
OWS-05101: execution failed due to ORA-01036
ORA-01036: Illegal variable name/number
All other packages of my application are being called without problems, except this one.
Thanks for your help.
null
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Oracle Support Services (Ravi):
Does this my_pkg.validate_info procedure accepts any parameters ?
From Sql*plus try the following.
SQL> set serveroutput on
SQL> exec my_pkg.validate_info
(If there are any arguments pass those arguments).
SQL> exec OWA_UTIL.SHOWPAGE;
This will show the html contents.
Check whether the above works or not.<HR></BLOCKQUOTE>
Hi ravi,
Yes, the procedure accepts 4 parameters. I have also run SQL+ as per your suggestion, and I seem to encounter problem with one variable:
set serveroutput on;
exec thl_station_cre_pkg.validate_info ('newthl','newname','description','add1','','','','SIN','x@y','','','NONE','N');
exec OWA_UTIL.SHOWPAGE;
BEGIN thl_station_cre_pkg.validate_info ('newthl','newname','description','add1','','','','SIN','x@y','','','NONE','N'); END;
ERROR at line 1:
ORA-06550: line 1, column 109:
PLS-00363: expression 'NONE' cannot be used as an assignment target
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
PL/SQL procedure successfully completed.
Could I e-mail you the package source ?
null
Similar Messages
-
OAS: error in bringing up the cartridges
I installed OAS4.0.8.1 and Oracle8.1.6.1 (on another machine) on Redhat Linux 6.2.
Then I tried to invoke a simple application made according to the Tutorial. I got the message of 'An application error has occured. Please try again' on the page.
When I intended to use the utilities to view the installed logger tables or other information in the databse. I got the same result.
I found that every time it produced two error messages in wrb.log:
OWS-04517 Error indicated by broker in getting cartridges of type App1/cart1.
OWS-04511 Error in grabbing cartridge type ... from the subsystem
I looked up the error messages reference. It wants me to check the broker status and manually bring up the cartridge. But the status is OK and I don't know how to bring up the cartridge.
Anyone can give me some suggestions? Thanks in advance.
Lilian
nullYou may find, according to similar errors on metalink you don't have enough memory or swap space, or the hostname is not configured. We have tried and it is not working.
We seem to have the PLSQL cartridge running when invoked by the liveHTML cartridge, but not from the URI.
regards
Dave Meaker -
OAS 4.0.8.1, RH 6.1, PLSQL Cartridge Doesn't work
I just installed the newest OAS 4.0.8.1 posted on Feb 3rd, and I am still having problems getting the PL/SQL cartridge to run. I can get the listener to start by going into the ows/4.0/bin directory and chown'ing root the files apchlctl and owslctl. I then chmod u+s the same two files and the listener now starts. Don't know what type of a security issue this poses though...
Anyway, my real problem is that I cant get the PL/SQL cartridge to work. It just keeps coming back with an "Internal Server Error" page. I have a simple procedure that just does a htp.p("test"), and it is working against a DAD that stores the username and password so no login is required by the web browser. Anybody having the same problem, or have any solutions?
Thanks.I have the same problem - PL/SQL cartridge fails, CWEB cartridges too, including "hello world"...
I guess there are some broken library references... who knows the answer ?
Does somebody have it working ?
Please don't answer "this is just your Linux box", because I've cheked this on some :) -
OAS 4.0.8.1 & JWEB cartridge - ows 10911
I am running OAS 4.0.8.1 on NT sp5. When I startup my jweb cartridge I get ows-04793 and ows-10911. I can run helloworld correctly but when I run my application I get the same errors above again. Is anyone running OAS 4.0.8.1 on NT with a jweb cartridge and not getting these errors. Even if I use the default cartridge from Oracle without altering anything I get these errors. ???
I increased the severity level for logging to 15 for the Cartridge configuration
in the OASManager.
It says init method did not return. For my init method I have that following :
public void init(ServletConfig config) throws ServletException
super.init(config) ;
All the above was generated by the Servlet Wizard.
Below if the level 15 trace information :
OWS-10911: Throwing exception for reason: wrkwExecute: Exec callback returned WRB_ERROR `
OWS-10833: Cartridge HelloServlet/HelloCart init runtime callback did not return WRB_DONE `
OWS-10911: Throwing exception for reason: wrkwfInit:Error in wrkwfInit `
OWS-10911: Throwing exception for reason: wrkwfStartOrig:Error at creation time `
OWS-10911: Throwing exception for reason: wrkwfStart: Cartridge Instance factory creation failed. `
OWS-10803: Cartridge instance factory for HelloServlet/HelloCart not intialized `
OWS-10911: Throwing exception for reason: No Carrtridge Instance Factories Initialized Properly `
OWS-10821: Application HelloServlet failed to deregister with the name server `
OWS-10850: Cartridge Server HelloServlet received exception IDL:oracle/OAS/Cartridge/InitFailed:1.0 while deregistering
Can anyone advise why and what needs to be
done to fix this ??
Please help.
Thanks, -
OAS 4.0.8.1 - JServlet Cartridge - error OWS-04769
Hi,
I'm trying to run servlets under the JServlet Cartridge of OAS. My servlet uses the HttpSession class to track sessions. After receiving requests from 3 clients the servlet stops running with the following messages in wrb.log:
08-15-2000 14:22:56 460136 darkstar `Broker` 5786 1 0x10fff `OWS-04769: Number of instances for Cartridge Secure_Apps/Login at darkstar has reached the maximum. `
08-15-2000 14:22:56 484025 darkstar `Broker` 5786 1 0x10fff `OWS-04760: Disable Host darkstar for Cartridge Secure_Apps/Login. `
08-15-2000 14:22:56 524139 darkstar `Broker` 5786 1 0x10fff `OWS-04759: No host is available to create Cartridge Secure_Apps/Login. `
How do I increase the number of cartridge instances? Or how else can I work around this problem.
Thanks.
Martin
nullI increased the severity level for logging to 15 for the Cartridge configuration
in the OASManager.
It says init method did not return. For my init method I have that following :
public void init(ServletConfig config) throws ServletException
super.init(config) ;
All the above was generated by the Servlet Wizard.
Below if the level 15 trace information :
OWS-10911: Throwing exception for reason: wrkwExecute: Exec callback returned WRB_ERROR `
OWS-10833: Cartridge HelloServlet/HelloCart init runtime callback did not return WRB_DONE `
OWS-10911: Throwing exception for reason: wrkwfInit:Error in wrkwfInit `
OWS-10911: Throwing exception for reason: wrkwfStartOrig:Error at creation time `
OWS-10911: Throwing exception for reason: wrkwfStart: Cartridge Instance factory creation failed. `
OWS-10803: Cartridge instance factory for HelloServlet/HelloCart not intialized `
OWS-10911: Throwing exception for reason: No Carrtridge Instance Factories Initialized Properly `
OWS-10821: Application HelloServlet failed to deregister with the name server `
OWS-10850: Cartridge Server HelloServlet received exception IDL:oracle/OAS/Cartridge/InitFailed:1.0 while deregistering
Can anyone advise why and what needs to be
done to fix this ??
Please help.
Thanks, -
Calling JavaServlet from PLSQL cartridge
Could I call a Java procedure from a PLSQL Proc using Cartridges?
Hi Justin,
I have a similar requirement where I need to call a java method from PL/SQL code.
Basically we are developing an application using Oracle Apex where we pass the encrypted cookie content to this java method as a parameter and it returns the decrypted cookie content. Using the decrypted cookie info I would handle the authorization in my Apex application.
My company has standardized the cookie encryption/decryption method and thats what the security team provided me with 2 jar files which I am supposed to setup in class path. In one of this .jar files there is a .class file called GateKeeper.class.The whole cookie decryption code is in a method called 'decrypt_cookie' in the class file. Security team has provided me a sample call to this method using java as below :
<%@ page language="java" import="GateKeeper.*, java.util.*, java.io.*, java.net.*"%> …
String retString = GateKeeper.decrypt_cookie(secCookie);
All I need to do is call this piece of code from PL/SQL by passing the cookie value as a parameter, but not sure how to do it.
Following is the code I am using to capture cookie values coming from the browser.
DECLARE
c owa_cookie.cookie;
BEGIN
c := owa_cookie.get ('secCookie');
:P101_TXT_BOX := c.vals (1);
EXCEPTION
WHEN OTHERS
THEN
NULL;
END;Can you explain what you mean by your point (2) "Java code can be declared as an external procedure in Oracle".
I am thinking for my situation your point (3) can be one of the solutions where I would load a java class into database which in turn would call GateKeeper.
Please suggest.
Thanks in advance.
-Raj. -
I want to create a radio button, 1 value 'ID' and 2nd 'Name'.
User chooses ID or Name and submits.
This takes them to a new page by using procedure1., passing to it the decision of the user if ID then pass 'prod_id', if Name then pass 'Prod_name'.
This value is used in a cursor c1 is select x from y where x=y order by v_order_by (prod_id or prod_name)
htp.Print('Name ');
htp.FormRadio('v_order_by','prod_name','CHECKED');
htp.Print('ID ');
htp.FormRadio('v_order_by','prod_id');
However, i cannot get any value passed to the second procedure. It is blank even though radio button is selected.
And when i hard code a value to the parameter, the cursor does not seem to do the order by. Can you pass parameters to order by in this manner?
Any help appreciated.There is probably a much cooler/slicker way to do this, but what I have done in these cases is to create an intermediate html form (via another procedure) that handles errors. You can then post on the original data to where ever you want or send them back to where they started.
-
Maintaining OAS cartridge state
I'm not sure this forum is the right place to post this question
but anyway. My problem is to create OAS cartridge application
(JWeb or PLSQL ) that uses Oracle stored PLSQL packages. Each
time the OAS submits request to the stored procedure it seems
PLSQL package has lost its state. That means that all packaged
variables has been initialised. For example, consider this PLSQL
code stored in Oracle database
Package Test IS
Procedure First;
FUNCTION Second RETURN INTEGER;
END;
Package body Test IS
myVar INTEGER;
Procedure First IS
BEGIN
myVar := 1;
END;
Function Second RETURN INTEGER IS
BEGIN
RETURN myVar;
END;
END;
Let's say that created HTML wiht a button that fires Test.First
using either JWeb or PLSQL cartridge. After then it generates
HTML pages with another button. Clicking on that button fires
Test.Second functions using the same cartridge. That function is
supposed to return 1. But each time it returned NULL instead.
The documentation for OAS gives very confusing information about
that. It states that it is possible bind clients to particular
cartridge instance by enabling client sessions. Doing that
doesn't solve above mentioned problem. Using cookies will not
help as well because I cannot store structures like records,
PLSQL tables or cursors this way.
Andrei Filimonov
nullAndrei,
Here is a response from someone in the OAS team. Hope this
helps...
What you need is access to the same database session for all
the requests
from the same client. The session feature of OAS does guarantee
you access to the
same cartridge instance, but it's upto the cartridge instance
whether to maintain
the database session as part of the instance state or not.
You can certainly achieve this by JWeb cartridge by storing the
database session
handle as part of the instance state. As far as PL/SQl cartridge
is concerned, this
is not possible until OAS 4.0.8 which has this new feature.
Regards,
Andrei Filimonov (guest) wrote:
: I'm not sure this forum is the right place to post this
question
: but anyway. My problem is to create OAS cartridge application
: (JWeb or PLSQL ) that uses Oracle stored PLSQL packages. Each
: time the OAS submits request to the stored procedure it seems
: PLSQL package has lost its state. That means that all packaged
: variables has been initialised. For example, consider this
PLSQL
: code stored in Oracle database
: Package Test IS
: Procedure First;
: FUNCTION Second RETURN INTEGER;
: END;
: Package body Test IS
: myVar INTEGER;
: Procedure First IS
: BEGIN
: myVar := 1;
: END;
: Function Second RETURN INTEGER IS
: BEGIN
: RETURN myVar;
: END;
: END;
: Let's say that created HTML wiht a button that fires
Test.First
: using either JWeb or PLSQL cartridge. After then it generates
: HTML pages with another button. Clicking on that button fires
: Test.Second functions using the same cartridge. That function
is
: supposed to return 1. But each time it returned NULL instead.
: The documentation for OAS gives very confusing information
about
: that. It states that it is possible bind clients to particular
: cartridge instance by enabling client sessions. Doing that
: doesn't solve above mentioned problem. Using cookies will not
: help as well because I cannot store structures like records,
: PLSQL tables or cursors this way.
: Andrei Filimonov
null -
How Cartridge works in OAS/form server
Hi, guys:
I am deploying forms to the web.
Since the base HTML file for cartridge implementation is the
same as that for non-cartridge implementation, I really can not
figure out how the OAS/form server knows if using Cartridge or
non-cartridge implementation. (ie: Do I need call the
Cartridge in my base HTML?)
Your help is highly appreciated.
Sherry
nullSherry,
Is the cartridge necessary for internet (browser) deployment or
just from intranet (application) deployment?
Richard
Sherry Yang (guest) wrote:
: Hi, guys:
: I am deploying forms to the web.
: Since the base HTML file for cartridge implementation is the
: same as that for non-cartridge implementation, I really can
not
: figure out how the OAS/form server knows if using Cartridge or
: non-cartridge implementation. (ie: Do I need call the
: Cartridge in my base HTML?)
: Your help is highly appreciated.
: Sherry
null -
Cartridge implementation In OAS+Dev server
How do you implement cartridge application in OAS & dEV 6.0.I tried modifying cartrig.html,no result.I used JInitiator route no use.Things worked fine in Dev2000 R2.1.In OAS when you create a application & a cartridge(forms cartridge) it does not start even if i modify the hosts parameter in the
application/server config parameters(setting no of servers to 1) why?
MaheshSherry,
Is the cartridge necessary for internet (browser) deployment or
just from intranet (application) deployment?
Richard
Sherry Yang (guest) wrote:
: Hi, guys:
: I am deploying forms to the web.
: Since the base HTML file for cartridge implementation is the
: same as that for non-cartridge implementation, I really can
not
: figure out how the OAS/form server knows if using Cartridge or
: non-cartridge implementation. (ie: Do I need call the
: Cartridge in my base HTML?)
: Your help is highly appreciated.
: Sherry
null -
Not ablee to start cartridge from OAS 4.0.7
i have netscape browser 4.0.8 and oas 4.0.7. the installation of
oas is smooth.. for doing cartridge implementation of forms on
web i create an application, and a cartridge as specified in
documentation (oracle dev 6.0 beta). but there seems to be no
start button for the application. as a result i have the status
for the application as down allways.
when i press shift and click on reload button, the save as
dialog pops up .. please suggest something ...
the platform is windows nt 4.0 with sp3
tia
jojo
nullThe catridge need not to be started. When you run samples
attached with the catridges, you can see the status of
the catridge as running.
Jojo Thomas (guest) wrote:
: i have netscape browser 4.0.8 and oas 4.0.7. the installation
of
: oas is smooth.. for doing cartridge implementation of forms on
: web i create an application, and a cartridge as specified in
: documentation (oracle dev 6.0 beta). but there seems to be no
: start button for the application. as a result i have the status
: for the application as down allways.
: when i press shift and click on reload button, the save as
: dialog pops up .. please suggest something ...
: the platform is windows nt 4.0 with sp3
: tia
: jojo
null -
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 -
I have installed OAS 4 and JavaServer Web Development Kit
Version 1.0 in one PC and with o8i in another PC.
I've got problem in linking a PL/SQL cartridge, which will
return a small page, with my jsp.
I've got no problem if I run the jsp under the OAS while the
small page can't be retrieved if I run the jsp on other PC.
Syntax of my jsp for including plsql cartridge :
<IFRAME ID=IFrame1 title="Testing" FRAMEBORDER=1 SCROLLING=auto
SRC="http://hkg-wsn-1014/plsql/current_users"></IFRAME>
where
http://hkg-wsn-1014/plsql/current_users is my plsql cartridge
and
http://hkg-wsn-1014:7070 is the entry point for jsp server
Can anyone help ?
Rgds,
Edward
nullThe resule is similar to you can't reach the site.
I've got no problem if I install the OAS 4 and JavaServer Web
Development Kit in separate machine.
How can I solve it ?
Rgds,
Edward
Oracle Java Technical Team wrote:
: Please provide more information. Do you get back a response
: to the JSP page or just a standard error message?
: Edward (guest) wrote:
: : I have installed OAS 4 and JavaServer Web Development Kit
: : Version 1.0 in one PC and with o8i in another PC.
: : I've got problem in linking a PL/SQL cartridge, which will
: : return a small page, with my jsp.
: : I've got no problem if I run the jsp under the OAS while the
: : small page can't be retrieved if I run the jsp on other PC.
: : Syntax of my jsp for including plsql cartridge :
: : <IFRAME ID=IFrame1 title="Testing" FRAMEBORDER=1
SCROLLING=auto
: : SRC="http://hkg-wsn-1014/plsql/current_users"></IFRAME>
: : where
: : http://hkg-wsn-1014/plsql/current_users is my plsql cartridge
: : and
: : http://hkg-wsn-1014:7070 is the entry point for jsp server
: : Can anyone help ?
: : Rgds,
: : Edward
null -
I set up SSL authentication on one OAS listener, then I build and install OAS sample servlets ( ListSamples, SnoopServlet & etc.).
When I fire SnoopServlet, it write:
Server port 443
Remote user null
URL scheme https
Authorization scheme null
I think, "Authorization scheme" must be "SSL". I'm not right?Authorization scheme will appears if:
- you are using an DAD without user/pass
- you are protected a virtual directory with the scheme Basic_Oracle
- you are using owa_sec.global plsql cartridge security scheme.
Resuming it, if the browser doesn't ask the user/password with a pop screen this values are not setted by the CGI enviroment.
In this case it will show
Auth type: basic
User: the user entered in the pop screen.
Best regards, Marcelo. -
We are getting core dumps when using the plsql parser on our
data. The data files are about 500K.
We are on Oracle 8.1.5 on a Digital UNIX V4.0E.
Would you like to see the dumps or the trace files?
nullWe are having the same problem in OAS PLSQL cartridge
application using PLSQL XML parser. Core dumps are spontaneous
while the size of XML file is quite small (~20-50K). The trace
file has error messages like "Session exceeded soft sessionspace
limit of 0x100000 bytes" or "Address not mapped to object.
ORA-07445: exception encountered: core dump...". We are using OAS
4.0.8 and Oracle 8.1.5 for Solaris. OAS and DB Instance are on
the same box. But everything works fine when using OAS on
separate NT server.
Andrei Filimonov
Steve Coffman (guest) wrote:
: We are getting core dumps when using the plsql parser on our
: data. The data files are about 500K.
: We are on Oracle 8.1.5 on a Digital UNIX V4.0E.
: Would you like to see the dumps or the trace files?
null
Maybe you are looking for
-
How can I mark event as "done" so that I see this at one glance?
how can I mark an event on ical as "done" so that I see this at one glance? In outlook this was possible, there was a white line on the left once I had marked the event as "done".
-
Service Entry Sheet Release Procedure
Dear all, I want to assign a new Plant to an existing service entry release strategy. In CL20N for Class Type 032 and maintaining the Release Group and Release Strategy I want, I hit ENTER and the Class SERVICE_RELEASE is displayed, which is correct
-
Tracking number for the iPhone 6 Plus
My card was charged last night for the iPhone 6 Plus order, and there was a tracking number generated for my order. However, it starts with 1Z047V, and I couldn't track it on Fedex's website (it says the tracking number is invalid). I searched the tr
-
El adobe photoshop Cs5 no me coje el serial de Mac que me pone en el disco.
Hace un par de años, realice un curso de fotografía profesional con CEAC, este me mando el material necesario para hacerlo, entre ellos el Adobe Photoshop Cs5 (Original), este me traía dos discos, uno para sistema windows y otro para Mac. Lo instale
-
MIGO Doc. Mov 105 doc. not saved terminated by system
Hi Experts We are facing problem in service entry ML81N and MIGO Mov. 105 . System provide document number but terminate it and it does not save in MSEG or any other table. Please see the below screen shot. Please guide how we can remove this error.