关于tmloadcf的问题 - Tuxedo (Chinese)

我在编译一个配置文件的时候,用-n选项没有发现语法错误,但是在编译
时,出现以下错误:
FSudl2
^
CMDTUX_CAT:1615: ERROR: Identifier or number must be followed by
white space or
punctuation
以下是我的配置文件的全文:
#
# "BEA TUX-102 Developer's Course Version 7.1"
# "Basic ATMI Lab"
# "UBBconfig.template"
# "Version 1.1"
#
#
# Replace the <bracketed> items with the appropriate values.
#
*RESOURCES
IPCKEY          50001
MAXACCESSERS     50
MAXSERVERS     25
MASTER          SITE1
MODEL          SHM
*MACHINES
QHF     LMID=SITE1
     APPDIR="f:\bea\abcs"
     TUXCONFIG="f:\bea\abcs\UBBconfig"
     TUXDIR="D:\Program Files\bea\tuxedo8.0"
*GROUPS
GROUP1          LMID=SITE1
          GRPNO=1
*SERVERS
serverbasic          SRVGRP=GROUP1
               SRVID=1
               CLOPT="-A"
*SERVICES
BASIC
另外还有个奇怪的问题,如果在最后一行的BASIC没有空格或换行符,则在语法
检测时就通不过:
BASIC
^
CMDTUX_CAT:1615: ERROR: Identifier or number must be followed by
white space or
punctuation
CMDTUX_CAT:867: ERROR: tmloadcf: Above errors found during syntax
checking

对了,我的OS是Win adv 2000 

在windows平台上配置ubbconfig, dmconfig的文本文件,经常出现这样的问
题,
可能你配置的文件中有一些tuxedo编译器不能识别的空格等非法字符,你就把配
置文件重新配置一下就可以了。
还有你在编写Field table也容易出现这样的问题,也要注意! 

还是不行,我快绝望了。BEA公司怎么搞的啊? 

检查:
1、TUXCONFIG环境变量的设置,它设置的名称是用tmloadcf编译之后生成的二进
制文件的文件名,一般建议不要与这个文本文件同名;
2、重新调入这个文件的拷贝,修改之后重新做 

问题解决了,但是很奇怪,我增加了一个.txt的后缀,就通过了。 

tmloadcf -y aaa.*
就是要加后缀的啊! 

我在使用的过程没有增加文件的后缀呀.
tmloadcf -y ubbs 

ubbsimple 文件在最后一行后面必须要跟一个空白行,否则tmloadcf 就会出错

Related

error in connecting sqlplus in application server

hi,
i am working in connecting two servers.one is application server and another one is database server.........i have set the environmental variable for sid as two_task=SID_name...so while connecting sqlplus from application server ....
its showing an error
SQL*Plus: Release 10.2.0.1.0 - Production on Thu Feb 8 15:20:22 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter user-name: xmluser
Enter password:
ERROR:
ORA-12154: TNS:could not resolve the connect identifier specified
what is the remedy for this error......
thanks in advance
R.Ratheesh 
ORA-12154: TNS:could not resolve the connect identifier specifiedThere could be more than one reason for that error :
$ oerr ora 12154
12154, 00000, "TNS:could not resolve the connect identifier specified"
// *Cause:  A connection to a database or other service was requested using
// a connect identifier, and the connect identifier specified could not
// be resolved into a connect descriptor using one of the naming methods
// configured. For example, if the type of connect identifier used was a
// net service name then the net service name could not be found in a
// naming method repository, or the repository could not be
// located or reached.
// *Action:
//   - If you are using local naming (TNSNAMES.ORA file):
//      - Make sure that "TNSNAMES" is listed as one of the values of the
//        NAMES.DIRECTORY_PATH parameter in the Oracle Net profile
//        (SQLNET.ORA)
//      - Verify that a TNSNAMES.ORA file exists and is in the proper
//        directory and is accessible.
//      - Check that the net service name used as the connect identifier
//        exists in the TNSNAMES.ORA file.
//      - Make sure there are no syntax errors anywhere in the TNSNAMES.ORA
//        file.  Look for unmatched parentheses or stray characters. Errors
//        in a TNSNAMES.ORA file may make it unusable.
//   - If you are using directory naming:
//      - Verify that "LDAP" is listed as one of the values of the
//        NAMES.DIRETORY_PATH parameter in the Oracle Net profile
//        (SQLNET.ORA).
//      - Verify that the LDAP directory server is up and that it is
//        accessible.
//      - Verify that the net service name or database name used as the
//        connect identifier is configured in the directory.
//      - Verify that the default context being used is correct by
//        specifying a fully qualified net service name or a full LDAP DN
//        as the connect identifier
//   - If you are using easy connect naming:
//      - Verify that "EZCONNECT" is listed as one of the values of the
//        NAMES.DIRETORY_PATH parameter in the Oracle Net profile
//        (SQLNET.ORA).
//      - Make sure the host, port and service name specified
//        are correct.
//      - Try enclosing the connect identifier in quote marks.
//
//   See the Oracle Net Services Administrators Guide or the Oracle
//   operating system specific guide for more information on naming.
$  Please post your sqlnet.ora and tnsnames.ora files from application server. 
iam posting tnsnames.ora and sqlnet.ora of that application server
tnsnames.ora
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=TCP) (HOST=database_server_name) (PORT=1521))
)
(CONNECT_DATA=(SERVER=DEDICATED) (SERVICE_NAME=RBTT))
)
Sqlnet.ora
# Copyright (c) 1996, 2003, Oracle Corporation. All rights reserved.
#
# NAME
# sqlnet.ora
# FUNCTION
# Oracle Network Client startup parameter file example
# NOTES
# This file contains examples and instructions for defining all
# Oracle Network Client parameters. It should be possible to read
# this file and setup a Client by uncommenting parameter definitions
# and substituting values. The comments should provide enough
# explanation to enable a reasonable user to manage his TNS connections
# without having to resort to 'real' documentation.
# SECTIONS
# ONames Client
# Namesctl
# Native Naming Adpaters
# ...
# MODIFIED
# ajacobs 09/09/03 - Fix wallet_location parameter
# ajacobs 01/20/03 - CyberSafe desupport
# ajacobs 09/17/02 - remove crypto_seed
# cozhang 03/07/02 - Change connect_time to inbound_connect_time.
# mhho 01/15/02 - update sample with new parameter changes
# cozhang 12/04/01 - Add params for DoS timout handling
# ajacobs 10/23/00 - Remove identix, securid
# ajacobs 09/07/00 - Update for Oracle Advanced Security encryption/integ
# tclarke 05/26/00 - bug 515765
# jtran 03/24/98 - add radius configuration
# skanjila 06/06/97 - Correct default for Automatic_IPC
# eminer 05/15/97 - Add the relevant onrsd parameters.
# asriniva 04/23/97 - Merge with version from doc
# ggilchri 03/31/97 - mods
# bvasudev 02/07/97 - Change sqlnet.authentication_services documentation
# bvasudev 11/25/96 - Merge sqlnet.ora transport related parameters
# asriniva 11/12/96 - Revise with new OSS parameters.
# asriniva 11/05/96 - Add ANO parameters.
# ____________________________________________________________________
# - ONames Client ----------------------------------------------------
#
#names.default_domain = world
#
#Syntax: domain-name
#Default: NULL
#
# Indicates the domain from which the client most often requests names. When
# this parameter is set the default domain name (for example, US.ACME), the
# domain name will be automatically appended to any unqualified name in an
# ONAmes request (query, register, deregister, etc). Any name which contains
# an unescaped dot ('.') will not have the default domain appended. Simple
# names may be qualified with a trailing dot (for example 'rootserver.').
#
#
#names.initial_retry_timeout = 30
#
#Syntax: 1-600 seconds
#Default: 15 (OSD)
#
# Determines how long a client will wait for a response from a Names Server
# before reiterating the request to the next server in the preferred_servers
# list.
#
#
#names.max_open_connections = 3
#
#Syntax: 3-64
#Default: ADDRS in preferred_servers
#
# Determines how many connections an ONames client may have open at one time.
# Clients will ordinarily keep connections to servers open once they are
# established until the operation (or session in namesctl) is complete. A
# connection will be opened whenever needed, and if the maximum would be
# exceeded the least recently used connection will be closed.
#
#
#names.message_pool_start_size = 10
#
#Syntax: 3-256
#Default: 10
#
# Determines the initial number of messages allocated in the client's message
# pool. This pool provides the client with pre-allocated messages to be used
# for requests to ONames servers. Messages which are in the pool and unused
# may be reused. If a message is needed and no free messages are available in
# the pool more will be allocated.
#
#
#names.preferred_servers = (address_list =
# (address=(protocol=ipc)(key=n23))
# (address=(protocol=tcp)(host=nineva)(port=1383))
# (address=(protocol=tcp)(host=cicada)(port=1575))
# )
#
#Syntax: ADDR_LIST
#Default: Well-Known (OSD)
#
# Specifies a list of ONames servers in the client's region; requests will be
# sent to each ADDRESS in the list until a response is recieved, or the list
# (and number of retries) is exhausted.
#
# Addresses of the following form specify that messages to the ONames server
# should use Oracle Remote Operations (RPC):
#
# (description =
# (address=(protocol=tcp)(host=nineva)(port=1383))
# (connect_data=(rpc=on))
# )
#
#
#
#names.request_retries = 2
#
#Syntax: 1-5
#Default: 1
#
# Specifies the number of times the client should try each server in the list
# of preferred_servers before allowing the operation to fail.
#
#
names.directory_path=RBTT
#
#Syntax: <adapter-name>
#Default: TNSNAMES,ONAMES,HOSTNAME
#
# Sets the (ordered) list of naming adaptors to use in resolving a name.
# The default is as shown for 3.0.2 of sqlnet onwards. The default was
# (TNSNAMES, ONAMES) before that. The value can be presented without
# parentheses if only a single entry is being specified. The parameter is
# recognized from version 2.3.2 of sqlnet onward. Acceptable values include:
# TNSNAMES -- tnsnames.ora lookup
# ONAMES -- Oracle Names
# HOSTNAME -- use the hostname (or an alias of the hostname)
# NIS -- NIS (also known as "yp")
# CDS -- OSF DCE's Cell Directory Service
# NDS -- Novell's Netware Directory Service
#
# - Client Cache (ONRSD) ---------------------------------------------
#names.addresses = (ADDRESS=(PROTOCOL=IPC)(KEY=ONAMES))
#
#Syntax: ADDR
#Default: (ADDRESS=(PROTOCOL=IPC)(KEY=ONAMES))
#
# Address on which the client cache listens (is available to clients).
# Any valid TNS address is allowed. The default should be used if at
# all possible; clients have this entry hardwired as the first line
# of their server-list file (sdns.ora). If the address is set to a
# non-default value the client's preferred_servers parameter should
# be set to include the client-cache address first.
#
#
#names.authority_required = False
#
#Syntax: T/F
#Default: False
#
# Determines whether system querys (for the root etc) require Authoritative
# answers.
#
#
#names.auto_refresh_expire = 259200
#
#Syntax: Number of seconds, 60-1209600
#Default: 259200
#
# This is the amount of time (in seconds) the server will cache the addresses
# of servers listed in server-list file (sdns.ora). When this time expires the
# server will issue another query to the servers in those regions to refresh
# the data.
#
#
#names.auto_refresh_retry = 180
#
#Syntax: Number of seconds, 60-3600
#Default: sec.     180
#
# This set how often the server will retry when the auto_refresh query fails.
#
#
#names.cache_checkpoint_file = cache.ckp
#
#Syntax: filename
#Default: $ORACLE_HOME/network/names/ckpcch.ora
#
# Specifies the name of the operating system file to which the Names Server
# writes its foreign data cache.
#
#
#names.cache_checkpoint_interval = 7200
#
#Syntax: Number of seconds, 10-259200
#Default: 0 (off)
#
# Indicates the interval at which a Names Server writes a checkpoint of its
# data cache to the checkpoint file.
#
#
#names.default_forwarders=
# (FORWARDER_LIST=
# (FORWARDER=
# (NAME= rootserv1.world)
# (ADDRESS=(PROTOCOL=tcp)(PORT=42100)(HOST=roothost))))
#
#Syntax: Name-Value/address_list
#Default: NULL
#
# A list (in NV form) of the addresses of other servers which should be used to
# forward querys while in default_forwarder (slave) mode. NAME is the global
# names for the server to which forwards whould be directed, and ADDRESS is its
# address.
#
#
#names.default_forwarders_only = True
#
#Syntax: T/F
#Default: False
#
# When set to true this server will use the servers listed in default_forwarders
# to forward all operations which involve data in foreign regions. Otherwise it
# will use the servers defined in the server-list file (sdns.ora) in addition
# to any defined in the default_forwarders parameter.
#
#
#names.log_directory = /oracle/network/log
#
#Syntax: directory
#Default: $ORACLE_HOME/network/log
#
# Indicates the name of the directory where the log file for Names Server
# operational events are written.
#
#
#names.log_file = names.log
#
#Syntax: filename
#Default: names.log
#
# The name of the output file to which Names Server operational events are
# written.
#
#names.log_stats_interval = 3600
#
#Syntax: Number of seconds, 10-ub4max
#Default: sec.     0 (off)
#
#Specifies the number of seconds between statistical entries in log file.
#
#names.log_unique = False
#
#Syntax: T/F
#Default: False
#
# If set to true the server will guarantee that the log file will have a unique
# name which will not overwrite any existing files (note that log files are
# appended to, so log information will not be lost if log_unique is not true).
#
#names.max_open_connections = 10
#
#Syntax: 3-64
#Default: 10
#
# Specifies the number of connections that the Names Server can have open at any
# given time. The value is generated as the value 10 or the sum of one
# connection for listening, five for clients, plus one for each foreign domain
# defined in the local administrative region, whichever is greater. Any
# operation which requires the server to open a network connection will use
# an already open connection if it is available, or will open a connection
# if not. Higher settings will save time and cost network resources; lower
# settings save network resources, cost time.
#
#
#names.max_reforwards = 2
#
#Syntax: 1-15
#Default: 2
#
# The maximum number of times the server will attempt to forward a certain
# operation.
#
#
#names.message_pool_start_size = 24
#
#Syntax: 3-256
#Default: 10
#
# Determines the initial number of messages allocated in the server's message
# pool. This pool provides the server with pre-allocated messages to be used
# for incoming or outgoing messages (forwards). Messages which are in the pool
# and unused may be reused. If a message is needed and no free messages are
# available in the pool more will be allocated.
#
#
#names.no_modify_requests = False
#
#Syntax: T/F
#Default: False
#
# If set to true, the server will refuse any operations which modify the
# data in its region (it will still save foreign info in the cache which is
# returned from foreign querys).
#
#
#names.password = 625926683431AA55
#
#Syntax: encrypted string
#Default: NULL
#
# If set the server will require that the user provide a password in his
# namesctl session (either with sqlnet.ora:namesctl.server_password or 'set
# password') in order to do 'sensitive' operations, like stop, restart, reload.
# This parameter is generally set in encrypted form, so it can not be set
# manually.
#
#names.reset_stats_interval = 3600
#
#Syntax: 10-ub4max
#Default: 0 (off)
#
# Specifies the number of seconds during which the statistics collected by the
# Names Servers should accumulate. At the frequency specified, they are reset
# to zero. The default value of 0 means never reset statistics.
#
#
#names.trace_directory = /oracle/network/trace
#
#Syntax: directory
#Default: $ORACLE_HOME/network/trace
#
# Indicates the name of the directory to which trace files from a Names Server
# trace session are written.
#
#
#names.trace_file = names.trc
#
#Syntax: filename
#Default: names.trc
#
# Indicates the name of the output file from a Names Server trace session.
#
#
#names.trace_func # NA
#
#Syntax: T/F
#Default: False
#
# Internal mechanism to control tracing by function name.
#
#
#names.trace_level = ADMIN
#
#Syntax: T/F
#Default: False
#
#Syntax: {OFF,USER,ADMIN,0-16}
#Default: OFF (0)
#
# Indicates the level at which the Names Server is to be traced.
# Available Values:
#     0 or OFF - No trace output
#     4 or USER - User trace information
#     10 or ADMIN - Administration trace information
#     16 or SUPPORT - WorldWide Customer Support trace information
#
#
#names.trace_mask = (200,201,202,203,205,206,207)
#
#Syntax: list of numbers
#Default: NULL
#
# Internal mechanism to control trace behavior.
#
#
#names.trace_unique = True
#
#Syntax: T/F
#Default: False
#
# Indicates whether each trace file has a unique name, allowing multiple trace
# files to coexist. If the value is set to ON, a process identifier is appended
# to the name of each trace file generated.
#
#
# - Namesctl ---------------------------------------------------------
#
#namesctl.trace_directory = /oracle/network/trace
#
#Syntax: directory
#Default: $ON/trace
#
# Indicates the name of the directory to which trace files from a namesctl
# trace session are written.
#
#
#namesctl.trace_file = namesctl.trc
#
#Syntax: filename
#Default: namesctl.trc
#
# Indicates the name of the output file from a namesctl trace session.
#
#
#namesctl.trace_func # NA
#
#Syntax: word list
#Default: NULL
#
# Internal mechanism to control tracing by function name.
#
#
#namesctl.trace_level = ADMIN
#
#Syntax: {OFF,USER,ADMIN,0-16}
#Default: OFF (0)
#
# Indicates the level at which the namesctl is to be traced.
# Available Values:
#     0 or OFF - No trace output
#     4 or USER - User trace information
#     10 or ADMIN - Administration trace information
#     16 or SUPPORT - WorldWide Customer Support trace information
#
#
#namesctl.trace_mask # NA
#
#Syntax: number list
#Default: NULL
#
# Internal mechanism to control trace behavior.
#
#
#namesctl.trace_unique = True
#
#Syntax: T/F
#Default: False
#
# Indicates whether each trace file has a unique name, allowing multiple trace
# files to coexist. If the value is set to ON, a process identifier is appended
# to the name of each trace file generated.
#
#
#namesctl.no_initial_server = False
#
#Syntax: T/F
#Default: False
#
# If set to TRUE namesctl will suppress any error messages when namesctl is
# unable to connect to a default names server.
#
#
#namesctl.internal_use = True
#
#Syntax: T/F
#Default: False
#
# If set to true namesctl will enable a set of internal undocumented commands.
# All internal commands are preceded by an underscore ('_') in order to
# distinguish them as internal. Without going into details, the commands
# enabled are:
#
# adddata createname deletename
# fullstatus ireplacedata newttlname
# pause                 remove_data renamename
# replacedata start                 walk*
#
# There are also a set of names server variables which may be set when
# namesctl is in internal mode:
#
# authorityrequired autorefresh*
# cachecheckpoint_interval cachedump
# defaultautorefresh_expire defaultautorefresh_retry
# defaultforwarders_only forwardingdesired
# maxreforwards modifyops_enabled
# nextcache_checkpoint nextcache_flush
# nextstat_log nextstat_reset
# reload                         request_delay
# restart                        shutdown
#
#
#namesctl.noconfirm = True
#
#Syntax: T/F
#Default: False
#
# When set to TRUE namesctl will suppress the confirmation prompt when
# sensitive operations (stop, restart, reload) are requested. This is
# quite helpful when using namesctl scripts.
#
#
#namesctl.server_password = mangler
#
#Syntax: string
#Default: NULL
#
# Automatically sets the password for the names server in order to perform
# sensitive operations (stop, restart, reload). The password may also be
# set manually during a namesctl session using 'set password'.
#
#
#namesctl.internal_encrypt_password = False
#
#Syntax: T/F
#Default: True
#
# When set to TRUE namesctl will not encrypt the password when it is sent to
# the names server. This would enable an unencrypted password to be set in
# names.ora:names.server_password
#
# - Native Naming Adpaters -------------------------------------------
#
#names.dce.prefix = /.:/subsys/oracle/names
#
#Syntax: DCE cell name
#Default: /.:/subsys/oracle/names
#
#Specifies the DCE cell (prefix) to use for name lookup.
#
#
#names.nds.name_context = personnel.acme
#
#Syntax: NDS name
#Default: (OSD?)
#
# Specifies the default NDS name context in which to look for the name to
# be resolved.
#
#
#names.nis.meta_map # NA
#
# Syntax: filename
# Default: sqlnet.maps
#
# Specifies the file to be used to map NIS attributes to an NIS mapname.
# Currently unused.
# - Oracle Advanced Security Authentication Adapters ----------------
#sqlnet.authentication_services
#
# Syntax: A single value or a list from {beq, none, all, kerberos5,
#       radius, nts}
# Default: NONE
#
# Enables one or more authentication services. If
# Oracle Advanced Security has been installed with Kerberos5
# support, using (beq, kerberos5) would enable authentication via
# Kerberos.
#
#sqlnet.authentication_services=(beq, kerberos5)
##
## Parmeters used with Kerberos adapter.
##
#sqlnet.kerberos5_cc_name
#
# Syntax: Any valid pathname.
# Default: /tmp/krb5cc_<uid>
#
# The Kerberos credential cache pathname.
#
#sqlnet.kerberos5_cc_name=/tmp/mycc
#sqlnet.kerberos5_clockskew
#
# Syntax: Any positive integer.
# Default: 300
#
# The acceptable difference in the number of seconds between when a
# credential was sent and when it was received.
#
#sqlnet.kerberos5_clockskew=600
#sqlnet.kerberos5_conf
#
# Syntax: Any valid pathname.
# Default: /krb5/krb.conf
#
# The Kerberos configuration pathname.
#
#sqlnet.kerberos5_conf=/tmp/mykrb.conf
#sqlnet.kerberos5_realms
#
# Syntax: Any valid pathname
# Default: /krb5/krb.realms
#
# The Kerberos host name to realm translation file.
#
#sqlnet.kerberos5_realms=/tmp/mykrb.realms
#sqlnet.kerberos5_keytab
#
# Syntax: Any valid pathname.
# Default: /etc/v5srvtab
#
# The Kerberos secret key file.
#
#sqlnet.kerberos5_keytab=/tmp/myv5srvtab
#sqlnet.authentication_kerberos5_service
#
# Syntax: Any string.
# Default: A default is not provided.
#
# The Kerberos service name.
#
#sqlnet.authentication_kerberos5_service=acme
##
## Parameters used with Radius adapter
##
# Need to specify the location of the Radius server
#sqlnet.radius_authentication = localhost
# Need to specify the port address of the Radius server
#sqlnet.radius_authentication_port = 1654
# If your radius server support accounting, you can enable it
#sqlnet.radius_accounting = off
# Turn on/off challenge response
#sqlnet.radius_challenge_response = off
# Keyword to request a challenge from Radius server.
# If you use activcard, enter activcard
# If you use something else, enter challenge
#sqlnet.radius_challenge_keyword = challenge
# Enter the name of the client interface you want to use for challenge response
#sqlnet.radius_authentication_interface = DefaultRadiusInterface
# Where is the secret file locate
#sqlnet.radius_secret = $ORACLE_HOME/security/radius.key
# - Oracle Advanced Security Network Security -------------------------
#sqlnet.crypto_checksum_client
#sqlnet.crypto_checksum_server
#sqlnet.encryption_client
#sqlnet.encryption_server
#
# These four parameters are used to specify whether a service (e.g.
# crypto-checksumming or encryption) should be active:
#
# Each of the above parameters defaults to ACCEPTED.
#
# Each of the above parameters can have one of four possible values:
#
# value          meaning
#
# ACCEPTED     The service will be active if the other side of the
#          connection specifies "REQUESTED" or REQUIRED" and
#          there is a compatible algorithm available on the other
#          side; it will be inactive otherwise.
#
# REJECTED     The service must not be active, and the connection
#          will fail if the other side specifies "REQUIRED".
#
# REQUESTED     The service will be active if the other side specifies
#          "ACCEPTED", "REQUESTED", or "REQUIRED" and there is a
#          compatible algorithm available on the other side; it
#          will be inactive otherwise.
#
# REQUIRED     The service must be active, and the connection will
#          fail if the other side specifies "REJECTED" or if there
#          is no compatible algorithm on the other side.
#
#sqlnet.crypto_checksum_types_client
#sqlnet.crypto_checksum_types_server
#sqlnet.encryption_types_client
#sqlnet.encryption_types_server
#
# These parameters control which algorithms will be made available for
# each service on each end of a connection:
#
# The value of each of these parameters can be either a parenthesized
# list of algorithm names separated by commas or a single algorithm
# name.
#
# Encryption types can be: AES256, RC4_256, AES192, 3DES168, AES128,
# RC4_128,3DES112, RC4_56, DES, RC4_40, DES40
#
# Encryption defaults to all the algorithms.
#
# Crypto checksum types can be: SHA1, MD5
#
# Crypto checksum defaults to all the algorithms.
#
#sqlnet.crypto_checksum_server = required
#sqlnet.encryption_server = required
#
#
#ssl_server_dn_match
#
# Systax: ON/OFF
# Default: OFF
#
# The ssl_server_dn_match parameter determines SSL behavior when the
# server's distinguished name does not match the service name. When
# set to ON, the names must match for a connection to be established.
# Leaving the parameter on OFF allows connection to servers where
# the names do not match. However, this may potentially allow servers
# to fake their identity.
#
#
#ssl_client_authentication
#
# Syntax: TRUE/FALSE
# Default: TRUE
#
# The ssl_client_authentication parameter controls whether the client
# is authenticated using SSL. This parameter should be set to FALSE if
# using a cipher suite that contains Diffie-Hellman anonymous
# authentication (DH_anon) or if using other non-SSL authentication
# methods.
#
#ssl_cipher_suites
#
# Syntax: (SSL_RSA_WITH_3DES_EDE_CBC_SHA, SSL_RSA_WITH_RC4_128_SHA,
# SSL_RSA_WITH_RC4_128_MD5, SSL_RSA_WITH_DES_CBC_SHA,
# SSL_DH_anon_WITH_3DES_EDE_CBC_SHA, SSL_DH_anon_WITH_RC4_128_MD5,
# SSL_DH_anon_WITH_DES_CBC_SHA, SSL_RSA_EXPORT_WITH_RC4_40_MD5,
# SSL_RSA_EXPORT_WITH_DES40_CBC_SHA,
# SSL_DH_anon_EXPORT_WITH_RC4_40_MD5,
# SSL_DH_anon_EXPORT_WITH_DES40_CBC_SHA)
# Default: All cipher suites enabled
#
# ssl_cipher_suites defines a list of cipher suites used to negotiate
# an SSL connection in order of priority. The cipher suites selected for
# a server must be compatible with those required by the client.
#
#ssl_version
#
# Syntax: 0/2.0/3.0
# Default: 0 (impiles 3.0)
#
# The ssl_version parameter defines the version of SSL that must
# run on the systems with which the client communicates.
#
# - SSL ---------------------------------------------------------------------
#my_wallet
#
# Syntax: A properly formatted NLNV list.
# Default: Platform specific. Unix: $HOME/oracle/oss
#
# The method for retrieving and storing my identity.
#
#my_wallet
# =(source
# =(method=file)
# (method_data=/dve/asriniva/oss/wallet)
# )
# - Sqlnet(v2.x) and Net3.0 Client ------------------------------------------
#
# In the following descriptions, the term "client program" could mean
# either sqlplus, svrmgrl or any other OCI programs written by users
#
###########################
#trace_level_client = ADMIN
###########################
#
#Possible values: {OFF,USER,ADMIN,0-16}
#Default: OFF (0)
#
#Purpose: Indicates the level at which the client program
# is to be traced.
# Available Values:
# 0 or OFF - No Trace output
#     4 or USER - User trace information
#      10 or ADMIN - Administration trace information
#     16 or SUPPORT - Worldwide Customer Support trace information
#
#Supported since: v2.0
#
###############################################
#trace_directory_client = /oracle/network/trace
###############################################
#
#Possible values: Any valid directory path with write permission
#Default: $ORACLE_HOME/network/trace ($ORACLE_HOME=/oracle at customer
# site)
#
#Purpose: Indicates the name of the directory to which trace files from
# the client execution are written.
#
#Supported since: v2.0
#
###################################################
#trace_file_client = /oracle/network/trace/cli.trc
###################################################
#
#Possible values: Any valid file name
#Default:     $ORACLE_HOME/network/trace/cli.trc ($ORACLE_HOME =
#          /oracle at customer site)
#
#Purpose: Indicates the name of the file to which the execution trace
# of the client is written to.
#
#Supported since: v2.0
#
###########################
#trace_unique_client = ON
###########################
#
#Possible values: {ON, OFF}
#Default: OFF
#
#Purpose: Used to make each client trace file have a unique name to
#     prevent each trace file from being overwritten by successive
#     runs of the client program
#
#Supported since: v2.0
#
###########################################
#log_directory_client = /oracle/network/log
###########################################
#
#Possible values: Any valid directory pathname
#Default: $ORACLE_HOME/network/log ($ORACLE_HOME = /oracle at customer
#     site)
#
#Purpose: Indicates the name of the directory to which the client log file
#     is written to.
#
#
#Supported since: v2.0
#
################
#log_file_client = /oracle/network/log/sqlnet.log
################
#
#Possible values: This is a default value, u cannot change this
#Default: $ORACLE_HOME/network/log/sqlnet.log ($ORACLE_HOME=/oracle in
# customer site)
#
#Purpose: Indicates the name of the log file from a client program
#
#Supported since: v2.0
#
#############################################
#log_directory_server = /oracle/network/trace
#############################################
#
#Possible values: Any valid diretcory path with write permission
#Default: $ORACLE_HOME/network/trace ( $ORACLE_HOME=/oracle at customer
#     site)
#
#Purpose: Indicates the name of the directory to which log files from the
#      server are written
#
#Supported since: v2.0
#
###############################################
#trace_directory_server = /oracle/network/trace
###############################################
#
#Possible values: Any valid directory path with write permission
#Default: $ORACLE_HOME/network_trace ( $ORACLE_HOME=/oracle at customer
#     site)
#
#Purpose: Indicates the name of the directory to which trace files from
# the server are written
#
#Supported since: v2.0
#
#######################################################
#trace_file_server = /orace/network/trace/svr_<pid>.trc
#######################################################
#
#Possible values: Any valid filename
#Default: $ORACLE_HOME/network/trace/svr_<pid>.trc where <pid? stands for
# the process id of the server on UNIX systems
#
#Purpose: Indicates the name of the file to which the execution trace of
# the server program is written to.
#
#Supported since: v2.0
#
###########################
#trace_level_server = ADMIN
###########################
#
#Possible values: {OFF,USER,ADMIN,0-16}
#Default: OFF (0)
#
#Purpose: Indicates the level at which the server program
# is to be traced.
# Available Values:
# 0 or OFF - No Trace output
# 4 or USER - User trace information
# 10 or ADMIN - Administration trace information
# 16 or SUPPORT - Worldwide Customer Support trace information
#
#Supported since: v2.0
#
##########################
#use_dedicated_server = ON
##########################
#
#Possible values: {OFF,ON}
#Default:      OFF
#
#Purpose: Forces the listener to spawn a dedicated server process for
#     sessions from this client program.
#
#Supported since: v2.0
#
################
#use_cman = TRUE
################
#
#Possible values: {TRUE, FALSE}
#Default:     FALSE
#
#Purpose:
#
#Supported since: v3.0
#
################################################
#tnsping.trace_directory = /oracle/network/trace
################################################
#
#Possible values: Any valid directory pathname
#Default: $ORACLE_HOME/network/trace ($ORACLE_HOME=/oracle at customer
#     site)
#
#Purpose: Indicates the directory to which the execution trace from
#     the tnsping program is to be written to.
#
#Supported since: v2.0
#
############################
#tnsping.trace_level = USER
############################
#
#Possible values: {OFF,USER,ADMIN,0-16}
#Default: OFF (0)
#
#Purpose: Indicates the level at which the server program
# is to be traced.
# Available Values:
# 0 or OFF - No Trace output
# 4 or USER - User trace information
# 10 or ADMIN - Administration trace information
# 16 or SUPPORT - Worldwide Customer Support trace information
#
#
#Supported since: v2.0
#
########################
#sqlnet.expire_time = 10
########################
#
#Possible values: 0-any valid positive integer! (in minutes)
#Default: 0 minutes
#Recommended value: 10 minutes
#
#Purpose: Indicates the time interval to send a probe to verify the
#     client session is alive (this is used to reclaim watseful
#     resources on a dead client)
#
#Supported since: v2.1
#
#######################################
#sqlnet.client_registration = <unique_id>
#######################################
#
#Possible values:
#Default: OFF
#
#Purpose: Sets a unique identifier for the client machine. This
#     identifier is then passed to the listener with any connection
#     request and will be included in the Audit Trail. The identifier
#     can be any alphanumeric string up to

Troubles after the installation of Oracle XE on Ubuntu server

Hi everyone !
I've got troubles with Oracle XE on Ubuntu Server. The installation is ok according to the various articles I've read about it, but after the /etc/init.d/oracle-xe -configure, I still can't access to the http://127.0.0.1:8080/apex (unable to connect to the remote host).
8080 is the right port, I used the default values.
I can ping 127.0.0.1
I did a /etc/init.d/oracle-xe stop / start and enable, but still no way to access to the apex page.
ps aux | grep oracle return :
user - PID - %CPU - %MEM - VSZ - RSS - TTY - STAT - START - TIME - COMMAND
oracle 3968 0.0 1.1 21928 5916 ? Ss 13:96 0:00 /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/tnslsnr LISTENER -inherit
I'm member of the dba group.
Anyone have an idea about what's going wrong ?
Thanks you ! 
Please post your /etc/hosts file, and the result of
$ lsnrctl status
I assume the DB is running, and you are able to connect locally, e.g.
$ . /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/oracle_env.sh
$ sqlplus / as sysdba
what do you get doing this ? 
/etc/hosts file :
127.0.0.1 localhost
127.0.1.1 UbuntuServer
[some IPv6 parameter...]
###end###
lsnrctl status command result :
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 27-JAN-2007 11:29:53
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 27-JAN-2007 11:23:13
Uptime 0 days 0 hr. 6 min. 39 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
Listener Log File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=UbuntuServer)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
###end###
oracle_env.sh : just an error concerninc a nls_lang.sh file not found, but env-var are defined correctly.
sqlplus / as sysdba :
ERROR :
ORA-01031: insufficient privileges
Thanks for your help Paul :-) 
ok i added my user to the dba group, and I'm now connected to the database "to an idle instance". 
oracle_env.sh : just an error concerninc a nls_lang.sh file not found,
but env-var are defined correctly.That's not normal, and you might have other problems, but for the moment I'll trust you about the environment :-)
ORA-01031: insufficient privilegesPlease post your sqlnet.ora, in $ORACLE_HOME/network/admin.
About /etc/hosts try changing it as
127.0.0.1 localhost UbuntuServer
restart everything, first the listener, then the database, and retry "lsnrctl status". 
Sorry, I didn't read your last post. Assuming ORACLE_SID is correctly set (XE), that means the DB is not running. Try
SQL> startup
what happens ? 
SQL can't find the initXE.ora file in $ORACLE_HOME/dbs/
ls $ORACLE_HOME/dbs/ :
init.ora
orapwXE
must I rename init.ora ?
init.ora content :
#
# $Header: init.ora 06-aug-98.10:24:40 atsukerm Exp $
#
# Copyright (c) 1991, 1997, 1998 by Oracle Corporation
# NAME
# init.ora
# FUNCTION
# NOTES
# MODIFIED
# atsukerm 08/06/98 - fix for 8.1.
# hpiao 06/05/97 - fix for 803
# glavash 05/12/97 - add oracle_trace_enable comment
# hpiao 04/22/97 - remove ifile=, events=, etc.
# alingelb 09/19/94 - remove vms-specific stuff
# dpawson 07/07/93 - add more comments regarded archive start
# maporter 10/29/92 - Add vms_sga_use_gblpagfile=TRUE
# jloaiza 03/07/92 - change ALPHA to BETA
# danderso 02/26/92 - change db_block_cache_protect to dbblock_cache_p
# ghallmar 02/03/92 - db_directory -> db_domain
# maporter 01/12/92 - merge changes from branch 1.8.308.1
# maporter 12/21/91 - bug 76493: Add control_files parameter
# wbridge 12/03/91 - use of %c in archive format is discouraged
# ghallmar 12/02/91 - add global_names=true, db_directory=us.acme.com
# thayes 11/27/91 - Change default for cache_clone
# jloaiza 08/13/91 - merge changes from branch 1.7.100.1
# jloaiza 07/31/91 - add debug stuff
# rlim 04/29/91 - removal of char_is_varchar2
# Bridge 03/12/91 - log_allocation no longer exists
# Wijaya 02/05/91 - remove obsolete parameters
#
##############################################################################
# Example INIT.ORA file
#
# This file is provided by Oracle Corporation to help you customize
# your RDBMS installation for your site. Important system parameters
# are discussed, and example settings given.
#
# Some parameter settings are generic to any size installation.
# For parameters that require different values in different size
# installations, three scenarios have been provided: SMALL, MEDIUM
# and LARGE. Any parameter that needs to be tuned according to
# installation size will have three settings, each one commented
# according to installation size.
#
# Use the following table to approximate the SGA size needed for the
# three scenarious provided in this file:
#
# -------Installation/Database Size------
# SMALL MEDIUM LARGE
# Block 2K 4500K 6800K 17000K
# Size 4K 5500K 8800K 21000K
#
# To set up a database that multiple instances will be using, place
# all instance-specific parameters in one file, and then have all
# of these files point to a master file using the IFILE command.
# This way, when you change a public
# parameter, it will automatically change on all instances. This is
# necessary, since all instances must run with the same value for many
# parameters. For example, if you choose to use private rollback segments,
# these must be specified in different files, but since all gc_*
# parameters must be the same on all instances, they should be in one file.
#
# INSTRUCTIONS: Edit this file and the other INIT files it calls for
# your site, either by using the values provided here or by providing
# your own. Then place an IFILE= line into each instance-specific
# INIT file that points at this file.
#
# NOTE: Parameter values suggested in this file are based on conservative
# estimates for computer memory availability. You should adjust values upward
# for modern machines.
#
# You may also consider using Database Configuration Assistant tool (DBCA)
# to create INIT file and to size your initial set of tablespaces based
# on the user input.
###############################################################################
# replace DEFAULT with your database name
db_name=DEFAULT
db_files = 80 # SMALL
# db_files = 400 # MEDIUM
# db_files = 1500 # LARGE
db_file_multiblock_read_count = 8 # SMALL
# db_file_multiblock_read_count = 16 # MEDIUM
# db_file_multiblock_read_count = 32 # LARGE
db_block_buffers = 100 # SMALL
# db_block_buffers = 550 # MEDIUM
# db_block_buffers = 3200 # LARGE
shared_pool_size = 3500000 # SMALL
# shared_pool_size = 5000000 # MEDIUM
# shared_pool_size = 9000000 # LARGE
log_checkpoint_interval = 10000
processes = 50 # SMALL
# processes = 100 # MEDIUM
# processes = 200 # LARGE
parallel_max_servers = 5 # SMALL
# parallel_max_servers = 4 x (number of CPUs) # MEDIUM
# parallel_max_servers = 4 x (number of CPUs) # LARGE
log_buffer = 32768 # SMALL
# log_buffer = 32768 # MEDIUM
# log_buffer = 163840 # LARGE
# audit_trail = true # if you want auditing
# timed_statistics = true # if you want timed statistics
max_dump_file_size = 10240 # limit trace file size to 5 Meg each
# Uncommenting the line below will cause automatic archiving if archiving has
# been enabled using ALTER DATABASE ARCHIVELOG.
# log_archive_start = true
# log_archive_dest = disk$rdbms:[oracle.archive]
# log_archive_format = "T%TS%S.ARC"
# If using private rollback segments, place lines of the following
# form in each of your instance-specific init.ora files:
# rollback_segments = (name1, name2)
# If using public rollback segments, define how many
# rollback segments each instance will pick up, using the formula
# # of rollback segments = transactions / transactions_per_rollback_segment
# In this example each instance will grab 40/5 = 8:
# transactions = 40
# transactions_per_rollback_segment = 5
# Global Naming -- enforce that a dblink has same name as the db it connects to
global_names = TRUE
# Edit and uncomment the following line to provide the suffix that will be
# appended to the db_name parameter (separated with a dot) and stored as the
# global database name when a database is created. If your site uses
# Internet Domain names for e-mail, then the part of your e-mail address after
# the '#' is a good candidate for this parameter value.
# db_domain = us.acme.com      # global database name is db_name.db_domain
# FOR DEVELOPMENT ONLY, ALWAYS TRY TO USE SYSTEM BACKING STORE
# vms_sga_use_gblpagfil = TRUE
# FOR BETA RELEASE ONLY. Enable debugging modes. Note that these can
# adversely affect performance. On some non-VMS ports the db_block_cache_*
# debugging modes have a severe effect on performance.
#_db_block_cache_protect = true # memory protect buffers
#event = "10210 trace name context forever, level 2" # data block checking
#event = "10211 trace name context forever, level 2" # index block checking
#event = "10235 trace name context forever, level 1" # memory heap checking
#event = "10049 trace name context forever, level 2" # memory protect cursors
# define parallel server (multi-instance) parameters
#ifile = ora_system:initps.ora
# define two control files by default
control_files = (ora_control1, ora_control2)
# Uncomment the following line if you wish to enable the Oracle Trace product
# to trace server activity. This enables scheduling of server collections
# from the Oracle Enterprise Manager Console.
# Also, if the oracle_trace_collection_name parameter is non-null,
# every session will write to the named collection, as well as enabling you
# to schedule future collections from the console.
# oracle_trace_enable = TRUE
# Uncomment the following line, if you want to use some of the new 8.1
# features. Please remember that using them may require some downgrade
# actions if you later decide to move back to 8.0.
#compatible = 8.1.0
remote_login_passwordfile=EXCLUSIVE
We're getting closer :-) 
must I rename init.ora ?No, you should have an init.ora file in /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/config/scripts. Create a symbolic link to that file :
$ cd $ORACLE_HOME/dbs
$ ln -s /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/config/scripts/init.ora initXE.ora
We're getting closer :-) A bit...:-) 
I've got a syntax error in the initXE.ora file with the audit_file_dest parameter (audit_file_dest=/usr/lib/oracle/xe/app/oracle/admin/XE/adump)
this directory is empty.
the initXE.ora file :
##############################################################################
# Copyright (c) 1991, 2005, Oracle. All rights reserved.
##############################################################################
###########################################
# Cursors and Library Cache
###########################################
open_cursors=300
###########################################
# Database Identification
###########################################
db_name=XE
###########################################
# Diagnostics and Statistics
###########################################
background_dump_dest=/usr/lib/oracle/xe/app/oracle/admin/XE/bdump
core_dump_dest=/usr/lib/oracle/xe/app/oracle/admin/XE/cdump
user_dump_dest=/usr/lib/oracle/xe/app/oracle/admin/XE/udump
###########################################
# File Configuration
###########################################
control_files=("/usr/lib/oracle/xe/oradata/XE/control.dbf")
###########################################
# Job Queues
###########################################
job_queue_processes=4
###########################################
# Miscellaneous
###########################################
compatible=10.2.0.1.0
###########################################
# Sessions
###########################################
sessions=20
###########################################
# SGA Memory
###########################################
sga_target=
###########################################
# Security and Auditing
###########################################
audit_file_dest=/usr/lib/oracle/xe/app/oracle/admin/XE/adump
remote_login_passwordfile=EXCLUSIVE
###########################################
# Shared Server
###########################################
dispatchers="(PROTOCOL=TCP) (SERVICE=XEXDB)"
shared_servers=4
###########################################
# Sort, Hash Joins, Bitmap Indexes
###########################################
pga_aggregate_target=
###########################################
# System Managed Undo and Rollback Segments
###########################################
undo_management=AUTO
undo_tablespace=UNDO
DB_RECOVERY_FILE_DEST_SIZE=10G
DB_RECOVERY_FILE_DEST=/usr/lib/oracle/xe/app/oracle/flash_recovery_area
os_authent_prefix="" 
sga_target=
pga_aggregate_target=Try changing these lines to
sga_target=250M
pga_aggregate_target=50M 
Ok, the startup command worked, I just have got an ORA-00205 error (error in identifying control file, check alert log for more info).
Still, I can't connect to http://127.0.0.1:8080/apex
if the logg is the one in $ORACLE_HOME/log/ubuntuserver/client/css.log, here is its content :
[  OCRUTL][3068008112]u_set_comp_error: Parameter was NULL
[  OCRUTL][3068008112]u_set_ocr_error: Parameter was NULL
2007-01-27 12:45:47.766: [  OCROSD][3068008112]utgdv:2:ocr loc file cannot be opened
2007-01-27 12:45:47.767: [  OCROSD][3068008112]utopen:1: Couldnt find ocr,[ocrmirror] location in config file
[  OCRUTL][3068008112]u_set_gbl_comp_error: Parameter was NULL
2007-01-27 12:45:47.767: [  OCRRAW][3068008112]proprinit: Could not open raw device
2007-01-27 12:45:47.767: [ default][3068008112]a_init:7!: Backend init unsuccessful : [33]
[  OCRUTL][3068008112]u_set_ocr_error: Parameter was NULL
2007-01-27 12:45:47.767: [ CSSCLNT][3068008112]clsssinit: error(33 ) in OCR initialization
[  OCRUTL][3068565168]u_set_comp_error: Parameter was NULL
[  OCRUTL][3068565168]u_set_ocr_error: Parameter was NULL
2007-01-27 12:45:50.697: [  OCROSD][3068565168]utgdv:2:ocr loc file cannot be opened
2007-01-27 12:45:50.697: [  OCROSD][3068565168]utopen:1: Couldnt find ocr,[ocrmirror] location in config file
[  OCRUTL][3068565168]u_set_gbl_comp_error: Parameter was NULL
2007-01-27 12:45:50.697: [  OCRRAW][3068565168]proprinit: Could not open raw device
2007-01-27 12:45:50.697: [ default][3068565168]a_init:7!: Backend init unsuccessful : [33]
[  OCRUTL][3068565168]u_set_ocr_error: Parameter was NULL
2007-01-27 12:45:50.697: [ CSSCLNT][3068565168]clsssinit: error(33 ) in OCR initialization 
Ok, the startup command worked, I just have got an
ORA-00205 error (error in identifying control file,That's not a detail, the control file contains all information about the database, and you'll never be able to open the database without it. Please post the result of the following
$ cd /usr/lib/oracle/xe/oradata/XE
$ ls -l 
The directory is empty... I don't get it, the installation is automatic, why all those parameters aren't set when running the oracle-xe -configure script ? Moreover, I've read all the installation notes, and none of the things that we've done are described in it. According to the installation note, we just have got to run the "dpkg -i" installation command, and the database is running properly.
But... really, thanks for your help and your time ! 
The directory is emptyThis means that you don't have a database... I have to think that something did go wrong with the installation. I'd reinstall everything, fortunately this is not so complicated on Linux/Unix...:-) 
I've installed oracle XE for about 10 times now, and I've never had any errors... but is the fact that I've no database explain that I can't access to http://127.0.0.1/apex, or that there's no proc listening to 8080 ?

Method encodeURL(java.lang.String) not found in interface javax.servlet.http.HttpServ

Hi
I have servlet22.jar in my jserv.properites but i have still an error
could you help me
I give you my jserv.properties file
###############################################################################
# Apache JServ Configuration File #
###############################################################################
################################ W A R N I N G ################################
# Unlike normal Java properties, JServ configurations have some important
# extentions:
#
# 1) commas are used as token separators
# 2) multiple definitions of the same key are concatenated in a
# comma-separated list.
###############################################################################
#
# Execution parameters
#######################
# The Java Virtual Machine interpreter.
# Syntax: wrapper.bin=[filename] (String)
# Note: specify a full path if the interpreter is not visible in your path.
wrapper.bin=D:\Oracle\Ora81\Apache\jdk\bin\java.exe
# Arguments passed to Java interpreter (optional)
# Syntax: wrapper.bin.parameters=[parameters] (String)
# Default: NONE
# Apache JServ entry point class (should not be changed)
# Syntax: wrapper.class=[classname] (String)
# Default: "org.apache.jserv.JServ"
# Arguments passed to main class after the properties filename (not used)
# Syntax: wrapper.class.parameters=[parameters] (String)
# Default: NONE
# Note: currently not used
# PATH environment value passed to the JVM
# Syntax: wrapper.path=[path] (String)
# Default: "/bin:/usr/bin:/usr/local/bin" for Unix systems
# "c:\(windows-dir);c:\(windows-system-dir)" for Win32 systems
# Notes: if more than one line is supplied these will be concatenated using
# ":" or ";" (depending wether Unix or Win32) characters
# Under Win32 (windows-dir) and (windows-system-dir) will be
# automatically evaluated to match your system requirements
# CLASSPATH environment value passed to the JVM
# Syntax: wrapper.classpath=[path] (String)
# Default: NONE (Sun's JDK/JRE already have a default classpath)
# Note: if more than one line is supplied these will be concatenated using
# ":" or ";" (depending wether Unix or Win32) characters. JVM must be
# able to find JSDK and JServ classes and any utility classes used by
# your servlets.
# Note: the classes you want to be automatically reloaded upon modification
# MUST NOT be in this classpath or the classpath of the shell
# you start the Apache from.
#
wrapper.classpath=D:\Oracle\Ora81\Apache\jdk\lib\tools.jar
wrapper.classpath=D:\Oracle\Ora81\Apache\Jserv\ApacheJServ.jar
wrapper.classpath=D:\Oracle\Ora81\Apache\Jsdk\lib\jsdk.jar
# The following classpath entries are required to run EJBs
wrapper.classpath=D:\Oracle\Ora81\lib\aurora_client.jar
wrapper.classpath=D:\Oracle\Ora81\lib\vbjorb.jar
wrapper.classpath=D:\Oracle\Ora81\lib\vbjapp.jar
# An environment name with value passed to the JVM
# Syntax: wrapper.env=[name]=[value] (String)
# Default: NONE on Unix Systems
# SystemDrive and SystemRoot with appropriate values on Win32 systems
wrapper.env=PATH=D:\Oracle\Ora81\bin
# An environment name with value copied from caller to Java Virtual Machine
# Syntax: wrapper.env.copy=[name] (String)
# Default: NONE
# Copies all environment from caller to Java Virtual Machine
# Syntax: wrapper.env.copyall=true (boolean)
# Default: false
# Protocol used for signal handling
# Syntax: wrapper.protocol=[name] (String)
# Default: ajpv12
#
# General parameters
######################
# Set the default IP address or hostname Apache JServ binds (or listens) to.
#
# If you have a machine with multiple IP addresses, this address
# will be the one used. If you set the value to localhost, it
# will be resolved to the IP address configured for the locahost
# on your system (generally this is 127.0.0.1). This feature is so
# that one can have multiple instances of Apache JServ listening on
# the same port number, but different IP addresses on the same machine.
# Use bindaddress=* only if you know exactly what you are doing here,
# as it could let JServ wide open to the internet.
# You must understand that JServ has to answer only to Apache, and should not
# be reachable by nobody but mod_jserv. So localhost is usually a
# good option. The second best choice would be an internal network address
# (protected by a firewall) if JServ is running on another machine than Apache.
# Ask your network admin.
# "*" may be used on boxes where some of the clients get connected using
# "localhost"and others using another IP addr.
#
# Syntax: bindaddress=[ipaddress] or [localhost] or [*]
# Default: localhost
bindaddress=localhost
# Set the port Apache JServ listens to.
# Syntax: port=[1024,65535] (int)
# Default: 8007
port=8007
#
# Servlet Zones parameters
###########################
# List of servlet zones Apache JServ manages
# Syntax: zones=[servlet zone],[servlet zone]... (Comma separated list of String)
# Default: NONE
zones=root
# Configuration file for each servlet zone (one per servlet zone)
# Syntax: [servlet zone name as on the zones list].properties=[full path to configFile] (String)
# Default: NONE
# Note: if the file could not be opened, try using absolute paths.
root.properties=D:\Oracle\Ora81\Apache\Jserv\servlets\zone.properties
#
# Thread Pool parameters
#########################
# Enables or disables the use of the thread pool.
# Syntax: pool=true (boolean)
# Default: false
# WARNING: the pool has not been extensively tested and may generate deadlocks.
# For this reason, we advise against using this code in production environments.
pool=false
# Indicates the number of idle threads that the pool may contain.
# Syntax: pool.capacity=(int)>0
# Default: 10
# NOTE: depending on your system load, this number should be low for contantly
# loaded servers and should be increased depending on load bursts.
pool.capacity=10
# Indicates the pool controller that should be used to control the
# level of the recycled threads.
# Syntax: pool.controller=[full class of controller] (String)
# Default: org.apache.java.recycle.DefaultController
# NOTE: it is safe to leave this unchanged unless special recycle behavior
# is needed. Look at the "org.apache.java.recycle" package javadocs for more
# info on other pool controllers and their behavior.
pool.controller=org.apache.java.recycle.DefaultController
#
# Security parameters
#####################
# Enable/disable the execution of org.apache.jserv.JServ as a servlet.
# This is disabled by default because it may give informations that should
# be restricted.
# Note that the execution of Apache JServ as a servlet is filtered by the web
# server modules by default so that both sides should be enabled to let this
# service work.
# This service is useful for installation and configuration since it gives
# feedback about the exact configurations Apache JServ is using, but it should
# be disabled when both installation and configuration processes are done.
# Syntax: security.selfservlet=true (boolean)
# Default: false
# WARNING: disable this in a production environment since may give reserved
# information to untrusted users.
security.selfservlet=true
# Set the maximum number of socket connections Apache JServ may handle
# simultaneously. Make sure your operating environment has enough file
# descriptors to allow this number.
# Syntax: security.maxConnections=(int)>1
# Default: 50
security.maxConnections=50
# Backlog setting for very fine performance tunning of JServ.
# Unless you are familiar to sockets leave this value commented out.
# security.backlog=5
# List of IP addresses allowed to connect to Apache JServ. This is a first
# security filtering to reject possibly unsecure connections and avoid the
# overhead of connection authentication.
# <warning>
# (please don't use the following one unless you know what you are doing :
# security.allowedAddresses=DISABLED
# allows connections on JServ'port from entire internet.)
# You do need only to allow YOUR Apache to talk to JServ.
# </warning>
#
# Default: 127.0.0.1
# Syntax: security.allowedAddresses=[IP address],[IP Address]... (Comma separated list of IP addresses)
#security.allowedAddresses=127.0.0.1
# Enable/disable connection authentication.
# NOTE: unauthenticated connections are a little faster since authentication
# handshake is not performed at connection creation.
# WARNING: authentication is disabled by default because we believe that
# connection restriction from all IP addresses but localhost reduces your
# time to get Apache JServ to run. If you allow other addresses to connect and
# you don't trust it, you should enable authentication to prevent untrusted
# execution of your servlets. Beware: if authentication is disabled and the
# IP address is allowed, everyone on that machine can execute your servlets!
# Syntax: security.authentication=[true,false] (boolean)
# Default: true
security.authentication=false
# Authentication secret key.
# The secret key is passed as a file that must be kept secure and must
# be exactly the same of those used by clients to authenticate themselves.
# Syntax: security.secretKey=[secret key path and filename] (String)
# Default: NONE
# Note: if the file could not be opened, try using absolute paths.
#security.secretKey=D:\Oracle\Ora81\Apache\Jserv\servlets\jserv.secret.key
# Length of the randomly generated challenge string (in bytes) used to
# authenticate connections. 5 is the lowest possible choice to force a safe
# level of security and reduce connection creation overhead.
# Syntax: security.challengeSize=(int)>5
# Default: 5
#security.challengeSize=5
#
# Logging parameters
####################
# Enable/disable Apache JServ logging.
# WARNING: logging is a very expensive operation in terms of performance. You
# should reduced the generated log to a minumum or even disable it if fast
# execution is an issue. Note that if all log channels (see below) are
# enabled, the log may become really big since each servlet request may
# generate many Kb of log. Some log channels are mainly for debugging
# purposes and should be disabled in a production environment.
# Syntax: log=[true,false] (boolean)
# Default: true
log=true
# Set the name of the trace/log file. To avoid possible confusion about
# the location of this file, an absolute pathname is recommended.
#
# This log file is different than the log file that is in the
# jserv.conf file. This is the log file for the Java portion of Apache
# JServ.
#
# On Unix, this file must have write permissions by the owner of the JVM
# process. In other words, if you are running Apache JServ in manual mode
# and Apache is running as user nobody, then the file must have its
# permissions set so that that user can write to it.
# Syntax: log.file=[log path and filename] (String)
# Default: NONE
# Note: if the file could not be opened, try using absolute paths.
log.file=D:\Oracle\Ora81\Apache\Jserv\logs\jserv.log
# Enable the timestamp before the log message
# Syntax: log.timestamp=[true,false] (boolean)
# Default: true
log.timestamp=true
# Use the given string as a data format
# (see java.text.SimpleDateFormat for the list of options)
# Syntax: log.dateFormat=(String)
# Default: [dd/MM/yyyy HH:mm:ss:SSS zz]
log.dateFormat=[dd/MM/yyyy HH:mm:ss:SSS zz]
# Since all the messages logged are processed by a thread running with
# minimum priority, it's of vital importance that this thread gets a chance
# to run once in a while. If it doesn't, the log queue overflow occurs,
# usually resulting in the OutOfMemoryError.
#
# To prevent this from happening, two parameters are used: log.queue.maxage
# and log.queue.maxsize. The former defines the maximum time for the logged
# message to stay in the queue, the latter defines maximum number of
# messages in the queue.
#
# If one of those conditions becomes true (age > maxage || size > maxsize),
# the log message stating that fact is generated and the log queue is
# flushed in the separate thread.
#
# If you ever see such a message, either your system doesn't live up to its
# expectations or you have a runaway loop (probably, but not necessarily,
# generating a lot of log messages).
#
# WARNING: Default values are lousy, you probably want to tweak them and
# report the results back to the development team.
# Syntax: log.queue.maxage = [milliseconds]
# Default: 5000
log.queue.maxage = 5000
# Syntax: log.queue.maxsize = [integer]
# Default: 1000
log.queue.maxsize = 1000
# Enable/disable logging the channel name
# Default: false
# log.channel=false
# Enable/disable channels, each logging different actions.
# Syntax: log.channel.[channel name]=[true,false] (boolean)
# Default: false
# Info channel - quite a lot of informational messages
# hopefully you don't need them under normal circumstances
# log.channel.info=true
# Servlets exception, i.e. exception caught during
# servlet.service() processing are monitored here
# you probably want to have this one switched on
log.channel.servletException=true
# JServ exception, caught internally in jserv
# we suggest to leave it on
log.channel.jservException=true
# Warning channel, it catches all the important
# messages that don't cause JServ to stop, leave it on
log.channel.warning=true
# Servlet log
# All messages logged by servlets. Probably you want
# this one to be switched on.
log.channel.servletLog=true
# Critical errors
# Messages produced by critical events causing jserv to stop
log.channel.critical=true
# Debug channel
# Only for internal debugging purposes
# log.channel.debug=true
#
# Oracle XSQL Servlet
wrapper.classpath=D:\Oracle\Ora81/lib/oraclexsql.jar
# Oracle JDBC (8.1.7)
wrapper.classpath=D:\Oracle\Ora81/jdbc/lib/classes12.zip
# Oracle XML Parser V2 (with XSLT Engine)
wrapper.classpath=D:\Oracle\Ora81/lib/xmlparserv2.jar
# Oracle XML SQL Components for Java
wrapper.classpath=D:\Oracle\Ora81/rdbms/jlib/xsu12.jar
# XSQLConfig.xml File location
wrapper.classpath=D:\Oracle\Ora81/xdk/lib
#
# Oracle Servlet
#wrapper.classpath=D:\Oracle\Ora81\lib\servlet.jar
wrapper.classpath=D:\Oracle\Ora81\lib\servlet22.jar
#wrapper.classpath=D:\Oracle\Ora81\lib\servlet23.jar
# Oracle Java Server Pages
wrapper.classpath=D:\Oracle\Ora81\jsp\lib\ojsp.jar
# Oracle Util
wrapper.classpath=D:\Oracle\Ora81\jsp\lib\ojsputil.jar
# Oracle Java SQL
wrapper.classpath=D:\Oracle\Ora81\sqlj\lib\translator.zip
# Oracle JDBC
wrapper.classpath=D:\Oracle\Ora81\jdbc\lib\classes12.zip
# SQLJ runtime
wrapper.classpath=D:\Oracle\Ora81\sqlj\lib\runtime.zip
# Oracle Messaging
wrapper.classpath=D:\Oracle\Ora81\rdbms\jlib\aqapi11.jar
wrapper.classpath=D:\Oracle\Ora81\rdbms\jlib\jmscommon.jar
# OJSP environment settings
wrapper.env=ORACLE_HOME=D:\Oracle\Ora81
# The next line should be modified to reflect the value of the SID for your webserver.
#wrapper.env=ORACLE_SID=<place Oracle SID here>
wrapper.env=LD_LIBRARY_PATH=D:\Oracle\Ora81\lib
wrapper.classpath=D:\Oracle\Ora81\Apache\BC4J\lib\ordvir817.zip
wrapper.classpath=D:\Oracle\Ora81\Apache\BC4J\lib\ordim817.zip
wrapper.classpath=D:\Oracle\Ora81\Apache\BC4J\lib\ordhttp.zip
wrapper.classpath=D:\Oracle\Ora81\Apache\BC4J\lib\jboremote.zip
wrapper.classpath=D:\Oracle\Ora81\Apache\BC4J\lib\oraclexmlsql.jar
wrapper.classpath=D:\Oracle\Ora81\Apache\BC4J\lib\jboorasql.zip
wrapper.classpath=D:\Oracle\Ora81\Apache\BC4J\lib\jndi.jar
wrapper.classpath=D:\Oracle\Ora81\Apache\BC4J\lib\jbomt.zip
wrapper.classpath=D:\Oracle\Ora81\Apache\BC4J\lib\javax_ejb.zip
wrapper.classpath=D:\Oracle\Ora81\Apache\BC4J\lib\jdev-rt.zip
wrapper.classpath=D:\Oracle\Ora81\Apache\BC4J\lib\jbohtml.zip
wrapper.classpath=D:\Oracle\Ora81\Apache\Apache\htdocs\OnlineOrders_html
wrapper.classpath=D:\Oracle\Ora81\Apache\Apache\htdocs\OnlineOrders_html\OnlineOrders.jar
wrapper.classpath=D:\Oracle\Ora81\Apache\BC4J\lib\connectionmanager.zip
wrapper.classpath=D:\Oracle\Ora81\Apache\BC4J\lib\jbodatum12.zip
#wrapper.classpath=D:\Oracle\Ora81\Apache\BC4J\lib\jbodatum111.zip
wrapper.classpath=D:\Oracle\Ora81\Apache\Apache\htdocs\skins
wrapper.classpath=D:\Oracle\Ora81\Apache\Apache\htdocs\bc4jauctions\Jsps
wrapper.classpath=D:\Oracle\Ora81\Apache\Apache\htdocs\bc4jauctions\Jsps\auctionbeans
wrapper.classpath=D:\Oracle\Ora81\Apache\Apache\htdocs\bc4jauctions\Oowbiz
wrapper.classpath=D:\Oracle\Ora81\Apache\Apache\htdocs\bc4jauctions\oowbizCommonCS
wrapper.classpath=D:\Oracle\Ora81\Apache\Apache\htdocs\auctions\Jsps
wrapper.classpath=D:\Oracle\Ora81\Apache\Apache\htdocs\auctions\Jsps\auctionbeans
wrapper.classpath=D:\Oracle\Ora81\Apache\Apache\htdocs\auctions\Oowbiz
wrapper.classpath=D:\Oracle\Ora81\Apache\Apache\htdocs\auctions\oowbizCommonCS
wrapper.classpath=D:\Oracle\Ora81\Apache\Apache\htdocs\jspImage

Setting weblogic/java character set

Where is necessary to set some parameter or system variable or anything to
make force weblogic work e.g. in windows-1250, utf-8, ... or any character
set i wish.
Object of this question is that i want to work with data in request in
charset i wish. Implicitly e.g on solaris it's iso-latin-2 which is not
comfortable for me.
Thank you.
Ondrej Psencik
Hi Ondrej,
You have several points to check to have your encoding set for weblogic.
Let's begin with Weblogic :
In your Webloigc 5.1 property file
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# WEBLOGIC CHARACTERS PROPERTIES
# ------------------------------------------------
weblogic.httpd.inputCharset./russian/*=ISO-8859-5
# This will encode the subdirectory russian (the one after public_html) in
ISO-8859-5
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# FOR ENCODING THE WHOLE SITE IN UTF-8, UNCOMMENT THE FOLLOWING LINE
# ------------------------------------------------
#weblogic.httpd.inputCharset./*=UTF-8
In your Webloigc 6 web.xml file :
<context-param>
<param-name>weblogic.httpd.inputCharset./russian*</param-name>
<param-value>ISO-8859-5</param-value>
</context-param>
<context-param>
<param-name>weblogic.httpd.inputCharset./*</param-name>
<param-value>UTF-8</param-value>
</context-param>
These parameters will set the default encoding for any jsp, servlet and ejb
in the defined directories (note that is there is a different encoding set
in the files, this could generate a display conflict)
Now the Operating System:
If you are on Sun Solaris systems please check the LC values of your
environment as shown in example below.
This is the cause of many troubles due to the fact that the JVM considers
these parameters to encode.
On Solaris 7 the right settings are
LC_COLLATE=it.ISO8859-15
LC_CTYPE=it.ISO8859-15
LC_MESSAGES=it
LC_MONETARY=it.ISO8859-15
LC_NUMERIC=it.ISO8859-15
LC_TIME=it.ISO8859-15
on Solaris 8
LC_COLLATE=it_IT.ISO8859-1
LC_CTYPE=it_IT.ISO8859-1
LC_MESSAGES=it
LC_MOLC_COLLATE=it.ISO8859-15
LC_NUMERIC=it_IT.ISO8859-1
LC_TIME=it_IT.ISO8859-1
PLEASE NOTE THAT FOR CHANGING THE LC PARAMETERS, THIS HAS TO BE DONE ON THE
SAME LINE WITH THE EXPORT
Example
out.println("<title>Sähköinen hakemus</title>"); // some scandinavic letters
1 - With the variables set properly (here in ISO8859):
LC_COLLATE=fr_FR.ISO8859-1
LC_CTYPE=fr_FR.ISO8859-1
LC_MESSAGES=fr
LC_MONETARY=fr_FR.ISO8859-1
LC_NUMERIC=fr_FR.ISO8859-1
LC_TIME=fr_FR.ISO8859-1
I have correct compilation with javac - Results OK
Class decompiled results:
printwriter.println("<title>S\344hk\366inen hakemus</title>");
2 - With the variables NOT set:
LC_COLLATE=
LC_CTYPE=
LC_MESSAGES=
LC_MONETARY=
LC_NUMERIC=
LC_TIME=
I have an incorrect result and the compiler does not solve the encoding
properly. - Result Not OK.
Class decompiled results:
printwriter.println("<title>S\uFFFDhk\uFFFDinen hakemus</title>");
Here are the informations I can spare with you about encoding settings. I
hope this is what you were looking for.
Feel free to post anytime for further enquirery.
Nohmenn
"Ondøej P¹enèík" <o.psencik#sh.cvut.cz> a écrit dans le message de news:
3c02c601#newsgroups.bea.com...
Where is necessary to set some parameter or system variable or anything to
make force weblogic work e.g. in windows-1250, utf-8, ... or any character
set i wish.
Object of this question is that i want to work with data in request in
charset i wish. Implicitly e.g on solaris it's iso-latin-2 which is not
comfortable for me.
Thank you.
Ondrej Psencik
Thank you very much for complex answer. It's really exact.
Ondrej Psencik

Add few lines in jserv.properties file automatically

Hi All,
Generally we will be doing 11.5.10.2 "refresh" automatically.....
How can i automate the script to add this 3 lines in jserv,properties?
Basically add the following lines to the jserv.properties before any other classpath entry
wrapper.classpath=/u01/uat2/uat2comn/java/6003133.jar
wrapper.classpath=/u01/uat2/uat2comn/java/Bug6823675.jar
wrapper.classpath=/u01/uat2/uat2comn/java/bug5336153.25.42.jar
thanks a million.... 
Hi,
Add those entries at the end of the file in the following block.
# Begin customizations
... ...
# End customizationsRegards,
Hussein 
Hi Hussein,
Thanks for giving this information..
This is my jserv.properties file
ORIGINAL jserv.properties  FILE
# PATH environment value passed to the JVM
# Syntax: wrapper.path=[path] (String)
# Default: "/bin:/usr/bin:/usr/local/bin" for Unix systems
# "c:\(windows-dir);c:\(windows-system-dir)" for Win32 systems
# Notes: if more than one line is supplied these will be concatenated using
# ":" or ";" (depending wether Unix or Win32) characters
# Under Win32 (windows-dir) and (windows-system-dir) will be
# automatically evaluated to match your system requirements
# CLASSPATH environment value passed to the JVM
# Syntax: wrapper.classpath=[path] (String)
# Default: NONE (Sun's JDK/JRE already have a default classpath)
# Note: if more than one line is supplied these will be concatenated using
# ":" or ";" (depending wether Unix or Win32) characters. JVM must be
# able to find JSDK and JServ classes and any utility classes used by
# your servlets.
# Note: the classes you want to be automatically reloaded upon modification
# MUST NOT be in this classpath or the classpath of the shell
# you start the Apache from.
#
# Custom classpath
# wrapper.classpath =
wrapper.classpath=/u01/clone/cloneora/web/Apache/Jserv/libexec/ApacheJServ.jar
wrapper.classpath=/u01/clone/cloneora/web/Apache/Jsdk/lib/jsdk.jar
# ----- iAS 1022 -----
wrapper.classpath=/u01/clone/cloneora/web/jsp/lib/ojsp.jar
wrapper.classpath=/u01/clone/cloneora/web/jsp/lib/ojsputil.jar
wrapper.classpath=/u01/clone/cloneora/web/lib/servlet.jar
wrapper.classpath=/u01/clone/clonecomn/java/ojdigsig.zip
wrapper.classpath=/u01/clone/clonecomn/java/sax2.zip
wrapper.classpath=/u01/clone/clonecomn/java/xmlparserv2-904.zip
#---------------------
wrapper.classpath=/u01/clone/clonecomn/java/xdoparser.zip
wrapper.classpath=/u01/clone/cloneora/web/sqlj/lib/translator.zip
wrapper.classpath=/u01/clone/clonecomn/java/jbojdbcpatch.zip
wrapper.classpath=/u01/clone/clonecomn/java/jdbc14.zip
wrapper.classpath=/u01/clone/clonecomn/java/nls_charset12.zip
wrapper.classpath=/u01/clone/clonecomn/java/apps.zip
wrapper.classpath=/u01/clone/clonecomn/java
wrapper.classpath=/u01/clone/clonecomn/java/cache.zip
wrapper.classpath=/u01/clone/clonecomn/util/java/1.4/j2sdk1.4.2_04/lib/dt.jar
wrapper.classpath=/u01/clone/clonecomn/util/java/1.4/j2sdk1.4.2_04/lib/tools.jar
wrapper.classpath=/u01/clone/clonecomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/rt.jar
wrapper.classpath=/u01/clone/clonecomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/charsets.jar
wrapper.classpath=/u01/clone/cloneora/web/jlib/jssl-1_1.jar
wrapper.classpath=/u01/clone/cloneora/web/jlib/javax-ssl-1_1.jar
wrapper.classpath=/u01/clone/cloneora/web/rdbms/jlib/aqapi.jar
wrapper.classpath=/u01/clone/cloneora/8.0.6/forms60/java
wrapper.classpath=/u01/clone/cloneora/web/rdbms/jlib/jmscommon.jar
UPDATED FILE SHOULD BE LIKE THIS
# PATH environment value passed to the JVM
# Syntax: wrapper.path=[path] (String)
# Default: "/bin:/usr/bin:/usr/local/bin" for Unix systems
# "c:\(windows-dir);c:\(windows-system-dir)" for Win32 systems
# Notes: if more than one line is supplied these will be concatenated using
# ":" or ";" (depending wether Unix or Win32) characters
# Under Win32 (windows-dir) and (windows-system-dir) will be
# automatically evaluated to match your system requirements
# CLASSPATH environment value passed to the JVM
# Syntax: wrapper.classpath=[path] (String)
# Default: NONE (Sun's JDK/JRE already have a default classpath)
# Note: if more than one line is supplied these will be concatenated using
# ":" or ";" (depending wether Unix or Win32) characters. JVM must be
# able to find JSDK and JServ classes and any utility classes used by
# your servlets.
# Note: the classes you want to be automatically reloaded upon modification
# MUST NOT be in this classpath or the classpath of the shell
# you start the Apache from.
#
# Custom classpath
# wrapper.classpath =
wrapper.classpath=/u01/uat2/uat2comn/java/6003133.jar
wrapper.classpath=/u01/uat2/uat2comn/java/Bug6823675.jar
wrapper.classpath=/u01/uat2/uat2comn/java/bug5336153.25.42.jar
wrapper.classpath=/u01/clone/cloneora/web/Apache/Jserv/libexec/ApacheJServ.jar
wrapper.classpath=/u01/clone/cloneora/web/Apache/Jsdk/lib/jsdk.jar
# ----- iAS 1022 -----
wrapper.classpath=/u01/clone/cloneora/web/jsp/lib/ojsp.jar
wrapper.classpath=/u01/clone/cloneora/web/jsp/lib/ojsputil.jar
wrapper.classpath=/u01/clone/cloneora/web/lib/servlet.jar
wrapper.classpath=/u01/clone/clonecomn/java/ojdigsig.zip
wrapper.classpath=/u01/clone/clonecomn/java/sax2.zip
wrapper.classpath=/u01/clone/clonecomn/java/xmlparserv2-904.zip
#---------------------
wrapper.classpath=/u01/clone/clonecomn/java/xdoparser.zip
wrapper.classpath=/u01/clone/cloneora/web/sqlj/lib/translator.zip
wrapper.classpath=/u01/clone/clonecomn/java/jbojdbcpatch.zip
wrapper.classpath=/u01/clone/clonecomn/java/jdbc14.zip
wrapper.classpath=/u01/clone/clonecomn/java/nls_charset12.zip
wrapper.classpath=/u01/clone/clonecomn/java/apps.zip
wrapper.classpath=/u01/clone/clonecomn/java
wrapper.classpath=/u01/clone/clonecomn/java/cache.zip
wrapper.classpath=/u01/clone/clonecomn/util/java/1.4/j2sdk1.4.2_04/lib/dt.jar
wrapper.classpath=/u01/clone/clonecomn/util/java/1.4/j2sdk1.4.2_04/lib/tools.jar
wrapper.classpath=/u01/clone/clonecomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/rt.jar
wrapper.classpath=/u01/clone/clonecomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/charsets.jar
wrapper.classpath=/u01/clone/cloneora/web/jlib/jssl-1_1.jar
wrapper.classpath=/u01/clone/cloneora/web/jlib/javax-ssl-1_1.jar
wrapper.classpath=/u01/clone/cloneora/web/rdbms/jlib/aqapi.jar
wrapper.classpath=/u01/clone/cloneora/8.0.6/forms60/java
wrapper.classpath=/u01/clone/cloneora/web/rdbms/jlib/jmscommon.jar
This bold line should be added to that place, how can i do automatically.please suggest me.
Thanks a million... 
Hi,
1) Take a backup of jserv.properties file
2) Remove the custom lines and add the following to the end of the file:
# Begin customizations
wrapper.classpath=/u01/uat2/uat2comn/java/6003133.jar
wrapper.classpath=/u01/uat2/uat2comn/java/Bug6823675.jar
wrapper.classpath=/u01/uat2/uat2comn/java/bug5336153.25.42.jar
# End customizations3) Run AutoConfig, and verify that the files are still exist in the file
Regards,
Hussein

Categories

Resources