Jservlet - OAS 4.0.8

Hi all,
Has anyone worked with 'Jservlet' cartridge on OAS 4.0.8? Is
this a new feature of OAS 4.0.8 ? If so could you please give me
details on the development environment.
Should I use JSDK2.1 to develop servlets and can these servlets
be put on the OAS and run using a 'JServlet' cartridge? I am
familiar with pl/sql and jweb cartridges. Could someone give me a
fair idea on this and how it differs from jweb cartridge....where
can i find documentation on it.?
Thanks in advance for your time
Radhika
null

Hi
JServlet is the new in OAS4.0.8. You can use JDeveloper to
develop servlets. JDeveloper provides complete support to
develop, test and debug servlets.
Once you have done this you can deploy them to OAS or any other
mid tier.
For more OAS documentation take a look at
http://www.olab.com/doc/index.htm
regards
raghu
Radhika Ravi (guest) wrote:
: Hi all,
: Has anyone worked with 'Jservlet' cartridge on OAS 4.0.8? Is
: this a new feature of OAS 4.0.8 ? If so could you please give
me
: details on the development environment.
: Should I use JSDK2.1 to develop servlets and can these servlets
: be put on the OAS and run using a 'JServlet' cartridge? I am
: familiar with pl/sql and jweb cartridges. Could someone give me
a
: fair idea on this and how it differs from jweb
cartridge....where
: can i find documentation on it.?
: Thanks in advance for your time
: Radhika
null

Similar Messages

  • 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)
    null

    hi,
    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 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
    null

    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,

  • 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.

  • OAS 4.0.8.1 JServlet: Extra path info not implemented?

    Didn't Oracle implement extra path info for servlets? According to the Java Servlets spec it should be possible to invoke a servlet with a URL like http://host/servlets/MyServlet/index.html where /index.html would be accessible through the getPathInfo() method of the servlet and the translated path would be accessible through the getPathTranslated() method.
    Trying the sample servlet SnoopServlet delivered with OAS 4.0.8.1 through http://host/servlets/SnoopServlet/index.html OAS tries to load a class called ...\SnoopServlet\index\html and throws a ClassNotFoundException (naturally).
    Is this a bug or didn't Oracle implement extra path info?
    Thanks.
    Finn
    null

    I posted the same question some time ago but I didn't get an answer. BTW Oracle JServlet Cartridge documentation states that extra path is accessible through the getPathInfo(). Here is excerpt from the Invoking JServlet cartridges document:
    To invoke a JServlet cartridge, the URL must be in the following format:
    http://hostname[ ort]/virtual_path/java_class_name[path_info][?QUERY_STRING]
    where:
    hostname specifies the machine where the application server is running.
    port specifies the port at which the application server is listening. If omitted, port 80 is assumed.
    virtual_path specifies a virtual path mapped to the JServlet cartridge.
    java_class_name specifies the Java class to run. This class must contain an entry point method. If a query string is included in the URL then there must be a doGet() method.
    path_info provides additional path information for the servlet. The path can be accessed from the servlet using the HttpServletRequest.getPathInfo() method.
    QUERY_STRING specifies parameters (if any) for the Java class. The string follows the format of the GET method. For example, multiple parameters are separated with the & character and spaces are replaced with the + character. If you use HTML forms to generate the string (as opposed to generating the string yourself), the formatting is done automatically for you.
    But I couldn't make it work as described in documentation.
    Andrei Filimonov
    null

  • OAS JServlet Cartridge and PathInfo

    OAS 4.0.8 documentations states that to invoke a JServlet cartridge, the URL must be in the following format: /virtual_path/java_class_name[path_info][?QUERY_STRING]]http://hostname:port]/virtual_path/java_class_name[path_info][?QUERY_STRING]
    For example, if a browser sends the following URL: http://myhost/my_virtual_path/myServlet/myPathInfo JServlet cartridge is supposed to recognize myServlet as a servlet class and myPathInfo as a Sting returned by getPathInfo() method.
    But I couldn't make it work that way. I was able to invoke myServlet sending just http://myhost/my_virtual_path/myServlet. But every time I add myPathInfo to the request URL the JServlet cartridge fails to invoke servlet with myServlet/myPathInfo.class not found error message. Am I missing somethig? My phisical path associated with the virtual directory points to the package containing servlet class and some other classes. Actually that servlet is working fine on Apache server and I am in process of porting it to OAS.
    Andrei Filimonov
    null

    John Stracke (guest) wrote:
    : Dao Mai (guest) wrote:
    : : Hello there,
    : : I tried the Perl sample programs and they do not work.
    : : At the UNIX side I saw messages like setresuid is not
    : : defined in the libperl.so library!
    : On my RedHat 5.0 box, setresuid is defined in libc. Are you
    : maybe running a libc5-based system? You need glibc (aka libc6).
    : Be warned that the transition may be painful; some stuff
    compiled
    : under libc5 will break on a glibc system, largely because the
    GNU
    : people changed whatever they felt like without necessarily
    : documenting it.
    I use glibc2.0.7, but not RH. I suspect that all ORACLE products
    development only for RH-clone of Linux. Please correct me if i
    am
    not right.
    Yury.
    null

  • 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
    null

    Hi 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

  • Jservlet Deployment in OAS

    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
    SUdha

    Hello ,
    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)&#0124; &#0124;' '&#0124; &#0124;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

  • Oas jservlet that returns wml

    I've build an http servlet (using the oas
    jservlet cartrige) that returns a wml file:
    void Handle_Micro_Browser_doGet_Req
    (HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
    //--- setting the header information
    response.setContentType("txt/vnd.wap.wml");
    PrintWriter out = new PrintWriter (response.getOutputStream());
    out.println("<?xml version=\"1.0\"?>");
    out.println("<!DOCTYPE wml PUBLIC \"-//PHONE.COM//DTD WML 1.1//EN\"");
    out.println("\"http://www.wapforum.org/DTD/wml1_1.1.xml\">");
    out.println("<wml>");
    out.println("<card id=\"c1\" title=\"title 1\">");
    out.println("<p>");
    out.println("card1");
    out.println("</p>");
    out.println("</card>");
    out.println("</wml>");
    the response from the phone.com simulator is:
    Content-Type: text/html. Content follows:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
    <!-- Generated by Oracle's Dynamic HTML Generation Pack
    <HTML>
    <HEAD>
    <TITLE>JServlet Error</TITLE>
    </HEAD>
    <BODY>
    <H2>A Servlet Error Occurred</H2>Unable to locate the sp
    most likely explanation is a problem with the servlet's
    k the server log for a detailed message.</BODY>
    </HTML>
    End Content-Type: text/html.
    ----------------- DATA SIZE ------------------------
    Uncompiled data from FILE is 264 bytes.
    ...found Content-Type: text/vnd.wap.wml.
    Compiled WAP binary is 99 bytes.
    I've added the wml mime type to the www
    listener configuration.
    thanks for your help.
    Eli.
    null

    I have a similar problem where I use a package for the Servlet. The "servlet" consists of a large number of classes that do queries, reply generation and so on. I have no way of configurating the OAS the same way I do with a Apache JServ, or is there a way?

  • OAS / Jservlet / Java Packages

    OAS 4.0.8
    Is there a way to have a virtual map to servlets that protects the world from knowing what package a particular servlet is implented in.
    For example, lets say I have HelloServlet in the package com.blah.
    The only way I have found to reference it so far is to have a url like the following: http://myserver:8180/jservlets/test/com.blah.HelloServlet
    The virtual paths get part way there by allowing you to map /jservelts/test to a physical path.
    What I need next is something like
    Hello maps to com.blah.HelloServlet.
    thanks for your help,
    don
    null

    I have a similar problem where I use a package for the Servlet. The "servlet" consists of a large number of classes that do queries, reply generation and so on. I have no way of configurating the OAS the same way I do with a Apache JServ, or is there a way?

  • 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

  • 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

  • OAS 4.0.8 download?

    Hi,
    We want test the features of OAS 4.0.8 such as servlets using
    jservlet cartrigde. Does OAS 4.0.8 support servlet chaining like
    Java Web Server2.0 does?
    Can you tell me how to get the password in order to download oas
    4.0.8? Please reply. Thanks
    Louis
    null

    Where can I download OAS 4.0.8.2.1?
    Thanks,
    Davaa

  • OAS 4.0.8.1 - Some issues

    1) Is connection pooling possible in OAS 4.0.8.1 ?
    2) Can JDBC 2.0 drivers be used with OAS 4.0.8.1 . If yes , can we register the datasource in the JNDI namespace ? How ?
    null

    Hi, working on a similar project with Oracle 8.0.5. database server and OAS4.0.8.1 JServlet Cartridge. Do not have answers to your questions, but have some more.
    1) oracle.html package:
    a) How can I add events like onChange, onClick etc. to Items?
    b) Font and TableRow class do not provide closing tags. Is it a bug? Any workarounds?
    2) Cannot store objects like connection pools, etc. in servletcontext as when I try to get them in another servlets, it gives ClassCastException. However, if I get them in an Object reference and display Classname, it does display the proper class name.
    getServlet also does not work so that I can share a global object with all servlets. Is it a but in OAS.
    Any other way by which I can share global objects across servlets.
    3) If I put a class in a CLASSPATH directory of the OAS application, and if that directory is not a virtually mapped directory, it is unable to locate my classes. Wonder how it is able to locate the oracle.html libraries which I access in the same way.
    null

  • OAS 4.0.8.1 - An application error has occured

    Hi !!!!
    I have created an small servlet application: HelloServlet.
    I have followed the instructions of tutorial contained in the Developer's Guide
    I have compiled the servlet without problems.
    But When I write the URL in my browser
    http//host.domain:port/virtual_path/HelloServlet
    occurs the next:
    "An application error has occured. Please try again."
    Also I have created a DAD for accesing a database Oracle8i 8.1.5 existing in the same machine but other ORACLE_HOME that OAS.
    Then, I installed the utilies: Logger Tables, PL/SQL Toolkit, Log Analyzer and Database Browser, in this order.
    But, when I try to access the Database Browser utility appears the same message:
    "An application error has occured. Please try again".
    Any help well be appreciated???
    Many thanks.
    Sergio

    Hi !!!
    I have created several servlets.
    1.-HelloServlets
    2.-a servlet with database access.
    But, when I am going to deploy from my browser, then next message appears
    An application error has occured. Please try again.
    I increase the virtual memory but this I do not work.
    I check the wrb.log file and there isn't a error that to me it orients. My severity leves is 15.
    Now, my application log file, named jservlets.log, has the next error, but I don't understand it:
    `An internal error has occurred: can't find cartridge class name. Please try again.`
    `Java cartridge runtime initialization complete.
    I Already don't know to do.
    Any help will be very appreciated.
    Thanks
    Sergio
    null

Maybe you are looking for