Jservlet - survey - oas 4081
(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
null
JDeveloper 3.0 release notes has detailed steps to deploy DBservlets on OAS. Check it out.
raghu
Similar Messages
-
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 -
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 -
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 -
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 -
XML parser in JServlet cartridge [OAS 4.0.8.1]
i'm deploying XML-aware servlets on Oracle Application Server 4.0.8.1 using JServlet cartridge.
I wondered if anyone did this before, especially in the light of rather crippled JVM of OAS [JDK1.1.6 only].
any input would be appreciated.
thanks,
alan <[email protected]>There are no known issues with the configuration. JDK's before 1.1.8 (for sure, 1.1.7) have character set conversion problems between UTF-8 and other character sets, so if you are doing that, you may have issues.
OAS 4.0.9 is 1.2.x based. -
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 -
OAS Error with Servelet example from OTN
I have followed the servelet example
from OTN Oracle Java Roadmap and it works
in JDeveloper. THen I followed the steps for
deployment to OAS and I get the following
02-22-2000 13:21:43 0 demlwo193 `JAVAWEB` 445 7 0x400fff `Java cartridge runtime intialize..., thr_id: 19
`
02-22-2000 13:21:43 0 demlwo193 `JAVAWEB` 445 7 0x400fff `Notify object content initialized to null`
02-22-2000 13:21:43 0 demlwo193 `JAVAWEB` 445 7 0x400fff `config flag: MAX_HEAP value: 64M
`
02-22-2000 13:21:43 0 demlwo193 `JAVAWEB` 445 7 0x400fff `config flag: SYSTEM_PROPERTY value: java.naming.factory.initial=oracle.oas.naming.jndi.CartxInitCtxFactory
`
02-22-2000 13:21:43 0 demlwo193 `JAVAWEB` 445 7 0x400fff `config flag: SYSTEM_PROPERTY value: ORACLE_HOME=e:\oracle\oas
`
02-22-2000 13:21:43 0 demlwo193 `JAVAWEB` 445 7 0x400fff `config flag: SYSTEM_PROPERTY value: ORAWEB_HOME=e:\oracle\oas\ows\4.0
`
02-22-2000 13:21:43 0 demlwo193 `JAVAWEB` 445 7 0x400fff `Using Servlet runtime
`
02-22-2000 13:21:43 0 demlwo193 `JAVAWEB` 445 7 0x400fff `config flag: RUNTIME_MODE value: JSERVLET
`
02-22-2000 13:21:43 0 demlwo193 `JAVAWEB` 445 7 0x400fff `CLASSPATH=e:\oracle\oas\ows\4.0\jdk\lib\classes.zip;e:\oracle\oas\ows\4.0\classes\services.jar;e:\oracle\oas\ows\cartx\jweb\classes\jweb.jar;e:\oracle\oas\ows\cartx\jweb\classes\j servlet.jar;e:\oracle\oas\orb\classes\yoj.jar;e:\oracle\oas\ows\4.0\classes\cosnam.jar;e:\oracle\oas\orb\classes\session.jar;e:\oracle\oas\orb\classes\cache.jar;e:\oracle\oas\jdbc\ lib\classes111.zip;e:\oracle\oas\ots\classes\oraclejts.jar;e:\oracle\oas\ots\classes\jtsjdbc.jar;e:\oracle\oas\ows\4.0\classes\ecoapi.jar;e:\oracle\oas\ows\4.0\classes\ejbapi.jar;e :\oracle\oas\ows\4.0\classes\oasdeploy.jar;c:\ctxdemo\DemoDBServelet.jar;c:\jCVS-5.1.1\jcvsii.jar
`
02-22-2000 13:21:47 0 demlwo193 `JAVAWEB` 445 0 0x400fff `Exception `
02-22-2000 13:21:47 0 demlwo193 `JAVAWEB` 445 0 0x400fff `in thread `
02-22-2000 13:21:47 0 demlwo193 `JAVAWEB` 445 0 0x400fff `"Thread-5"`
02-22-2000 13:21:47 0 demlwo193 `JAVAWEB` 445 0 0x400fff ` `
02-22-2000 13:21:47 0 demlwo193 `JAVAWEB` 445 0 0x400fff `Exception happend in executing:oracle.OAS.servlet.servletrunner.main(String[])
`
null1. Which version of JDK you are using. OAS 4081 is certified for JDK 1.1.6. If you are using JDeveloper3.0 (JDK 1.2.2), please change over to JDeveloper3.0 (JDK 1.1.8).
2. Similarly, which version of JVM is used with OAS. You may have to edit your wrb.app to make necessary changes.
Jayakumar
null
Maybe you are looking for
-
No JRE version found in launch file for this system
Hi, I have an application which is launched by JWS. When we use JWS from 1.4, it runs fine. But JWS from 1.5.0_15 gives the error "No JRE version found in launch file for this system" In both the JWS(1.4 and 1.5.0_15)cases, we install JRE1.5.0_15 usi
-
Pixelated images in safari, please help.
Hi everyone, Hoping someone can help me with a issue i have with my new macbook pro. When browsing the net, safari and firefox show really pixelated images. I thought it might be my internet connection compressing data or something, but i have tried
-
Unable to start managed console - unix
I'm having problems starting a managed server in Unix -- using the startManagedWebLogic.sh, with the weblogic name of the managed server and http://adminIP:port as the parameters. Saying it can't find the managed server. Is this some type of access p
-
Mapping attributes between two resources
Hi All, Is there a way to map attributes of one resource to another? If so let me know how it can be done? regards, Zebra8
-
Systemctl error: Failed to get D-Bus connection
Problem migrating server to pure systemd. Unable to start stop or restart any of my enabled services. Every command to systemctl except enable/disable results in: "Failed to get D-Bus connection: No connection to service manager." I dunno why enable