Different Environment Variable in OS and Solman
Hi dear experts,
I have a weird question here. I set the environment variable in the OS as blew:
smsp:smpadm 52> echo $PATH
/sybase/SMP/ASE-15_0/jobscheduler/bin:/sybase/SMP/ASE-15_0/bin:/sybase/SMP/ASE-15_0/install:/sybase/SMP/DBISQL/bin:/sybase/SMP/OCS-15_0/bin:/usr/sap/SMP/DVEBMGS00/exe/sapjvm_4/bin:/home/smpadm/bin:/usr/sap/SMP/hdbclient:/sapdb/programs/bin:/sapdb/clients/SMP/bin:/sapdb/clients/SMP/pgm:/sapdb/programs/pgm:/sapdb/programs:/sapdb/programs/lib:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/sap/SMP/SYS/exe/uc/linuxx86_64:/usr/sap/SMP/SYS/exe/run:/home/smpadm:.
But in solman, I run the same command in RSBDCOS0, get this:
echo $PATH
/usr/sap/SMP/DVEBMGS00/exe:/sybase/SMP/ASE-15_0/jobscheduler/bin:/sybase/SMP/ASE-15_0/bin:/sybase/SMP/ASE-15_0/install:/sybase/SMP/DBISQL/bin:/sybase/SMP/OCS-15_0/bin:/usr/sap/SMP/DVEBMGS00/exe/sapjvm_4/bin:/home/smpadm/bin:/usr/local/bin:/bin:/usr/bin:/u
It's same as what I found in program by debugging. And that's the reason why I failed to install MaxDB.
I have restarted solman, but the issue persisted. Can you give me any advices? Thank you.
Regards,
Pany Pan
Hi Gaurav,
There is only bash.bashrc exists, I have never did anything to this file before. As below:
# /etc/bash.bashrc for SuSE Linux
# PLEASE DO NOT CHANGE /etc/bash.bashrc There are chances that your changes
# will be lost during system upgrades. Instead use /etc/bash.bashrc.local
# for your local settings, favourite global aliases, VISUAL and EDITOR
# variables, etc ...
# Check which shell is reading this file
if test -z "$is" ; then
if test -f /proc/mounts ; then
if ! is=$(readlink /proc/$$/exe 2>/dev/null) ; then
case "$0" in
*pcksh) is=ksh ;;
*) is=sh ;;
esac
fi
case "$is" in
*/bash) is=bash
case "$0" in
sh|-sh|*/sh)
is=sh ;;
esac ;;
*/ash) is=ash ;;
*/dash) is=ash ;;
*/ksh) is=ksh ;;
*/ksh93) is=ksh ;;
*/pdksh) is=ksh ;;
*/*pcksh) is=ksh ;;
*/zsh) is=zsh ;;
*/*) is=sh ;;
esac
# `r' in $- occurs *after* system files are parsed
for a in $SHELL ; do
case "$a" in
*/r*sh)
readonly restricted=true ;;
-r*|-[!-]r*|-[!-][!-]r*)
readonly restricted=true ;;
--restricted)
readonly restricted=true ;;
esac
done
unset a
else
is=sh
fi
fi
# Call common progams from /bin or /usr/bin only
path ()
if test -x /usr/bin/$1 ; then
${1+"/usr/bin/$@"}
elif test -x /bin/$1 ; then
${1+"/bin/$@"}
fi
# ksh/ash sometimes do not know
test -z "$UID" && readonly UID=`path id -ur 2> /dev/null`
test -z "$EUID" && readonly EUID=`path id -u 2> /dev/null`
# Colored file listings
if test -x /usr/bin/dircolors ; then
# set up the color-ls environment variables:
if test -f $HOME/.dir_colors ; then
eval "`/usr/bin/dircolors -b $HOME/.dir_colors`"
elif test -f /etc/DIR_COLORS ; then
eval "`/usr/bin/dircolors -b /etc/DIR_COLORS`"
fi
fi
# ls color option depends on the terminal
# If LS_COLORS is set but empty, the terminal has no colors.
if test "${LS_COLORS+empty}" = "${LS_COLORS:+empty}" ; then
LS_OPTIONS=--color=tty
else
LS_OPTIONS=--color=none
fi
if test "$UID" = 0 ; then
LS_OPTIONS="-A -N $LS_OPTIONS -T 0"
else
LS_OPTIONS="-N $LS_OPTIONS -T 0"
fi
# Avoid trouble with Emacs shell mode
if test "$EMACS" = "t" ; then
LS_OPTIONS='-N --color=none -T 0';
path tset -I -Q
path stty cooked pass8 dec nl -echo
fi
export LS_OPTIONS
# Set prompt and aliases to something useful for an interactive shell
case "$-" in
*i*)
# Some useful functions
if test -z "$restricted" ; then
startx () {
test -x /usr/bin/startx || {
echo "No startx installed" 1>&2
return 1;
/usr/bin/startx ${1+"$@"} 2>&1 | tee $HOME/.xsession-errors
remount () { /bin/mount -o remount,${1+"$@"} ; }
fi
# Set prompt to something useful
case "$is" in
bash)
# Append history list instead of override
shopt -s histappend
# All commands of root will have a time stamp
if test "$UID" -eq 0 ; then
HISTTIMEFORMAT=${HISTTIMEFORMAT:-"%F %H:%M:%S "}
fi
# Force a reset of the readline library
unset TERMCAP
# Returns short path (last two directories)
spwd () {
( IFS=/
set $PWD
if test $# -le 3 ; then
echo "$PWD"
else
eval echo \"..\${$(($#-1))}/\${$#}\"
fi ) ; }
# Set xterm prompt with short path (last 18 characters)
ppwd () {
local _t="$1" _w _x _u="$USER" _h="$HOST"
test -n "$_t" || return
test "${_t#tty}" = $_t && _t=pts/$_t
test -O /dev/$_t || return
_w="$(dirs +0)"
_x=$((${#_w}-18))
test ${#_w} -le 18 || _w="...${_w#$(printf "%.*s" $_x "$_w")}"
printf "\e]2;%s@%s:%s\007\e]1;%s\007" "$_u" "$_h" "$_w" "$_h" > /dev/$_t
# If set: do not follow sym links
# set -P
# Other prompting for root
_t=""
if test "$UID" -eq 0 ; then
_u="\h"
_p=" #"
else
_u="\u@\h"
_p=">"
if test \( "$TERM" = "xterm" -o "${TERM#screen}" != "$TERM" \) \
-a -z "$EMACS" -a -z "$MC_SID" -a -n "$DISPLAY" \
-a ! -r $HOME/.bash.expert
then
_t="\$(ppwd \l)"
fi
if test -n "$restricted" ; then
_t=""
fi
fi
case "$(declare -p PS1 2> /dev/null)" in
*-x*PS1=*)
# With full path on prompt
PS1="${_t}${_u}:\w${_p} "
# # With short path on prompt
# PS1="${_t}${_u}:\$(spwd)${_p} "
# # With physical path even if reached over sym link
# PS1="${_t}${_u}:\$(pwd -P)${_p} "
esac
# Colored root prompt (see bugzilla #144620)
if test "$UID" -eq 0 -a -t ; then
_bred="$(path tput bold 2> /dev/null; path tput setaf 1 2> /dev/null)"
_sgr0="$(path tput sgr0 2> /dev/null)"
PS1="\[$_bred\]$PS1\[$_sgr0\]"
unset _bred _sgr0
fi
unset _u _p _t
ash)
cd () {
local ret
command cd "$@"
ret=$?
PWD=$(pwd)
if test "$UID" = 0 ; then
PS1="${HOST}:${PWD} # "
else
PS1="${USER}@${HOST}:${PWD}> "
fi
return $ret
cd .
ksh)
# Some users of the ksh are not common with the usage of PS1.
# This variable should not be exported, because normally only
# interactive shells set this variable by default to ``$ ''.
if test "${PS1-\$ }" = '$ ' ; then
if test "$UID" = 0 ; then
PS1="${HOST}:"'${PWD}'" # "
else
PS1="${USER}@${HOST}:"'${PWD}'"> "
fi
fi
zsh)
# setopt chaselinks
if test "$UID" = 0; then
PS1='%n@%m:%~ # '
else
PS1='%n@%m:%~> '
fi
# PS1='\u:\w> '
PS1='\h:\w> '
esac
PS2='> '
if test "$is" = "ash" ; then
# The ash shell does not have an alias builtin in
# therefore we use functions here. This is a seperate
# file because other shells may run into trouble
# if they parse this even if they do not expand.
test -s /etc/profile.d/alias.ash && . /etc/profile.d/alias.ash
else
unalias ls 2>/dev/null
case "$is" in
bash) alias ls='ls $LS_OPTIONS' ;;
zsh) alias ls='\ls $=LS_OPTIONS' ;;
*) alias ls='/bin/ls $LS_OPTIONS' ;;
esac
alias dir='ls -l'
alias ll='ls -l'
alias la='ls -la'
alias l='ls -alF'
alias ls-l='ls -l'
# Set some generic aliases
alias o='less'
alias ..='cd ..'
alias ...='cd ../..'
alias cd..='cd ..'
if test "$is" != "ksh" ; then
alias -- +='pushd .'
alias -- -='popd'
fi
alias rd=rmdir
alias md='mkdir -p'
if test "$is" = "bash" -a ! -x /bin/which -a ! -x /usr/bin/which ; then
# Other shells use the which command in path (e.g. ash) or
# their own builtin for the which command (e.g. ksh and zsh).
_which () {
local file=$(type -p ${1+"$@"} 2>/dev/null)
if test -n "$file" -a -x "$file"; then
echo "$file"
return 0
fi
hash -r
type -P ${1+"$@"}
alias which=_which
fi
alias rehash='hash -r'
alias you='if test "$EUID" = 0 ; then /sbin/yast2 online_update ; else su - -c "/sbin/yast2 online_update" ; fi'
if test "$is" != "ksh" ; then
alias beep='echo -en "\007"'
else
alias beep='echo -en "\x07"'
fi
alias unmount='echo "Error: Try the command: umount" 1>&2; false'
test -s $HOME/.alias && . $HOME/.alias
fi
# Expert mode: if we find $HOME/.bash.expert we skip our settings
# used for interactive completion and read in the expert file.
if test "$is" = "bash" -a -r $HOME/.bash.expert ; then
. $HOME/.bash.expert
elif test "$is" = "bash" ; then
# Complete builtin of the bash 2.0 and higher
case "$BASH_VERSION" in
[2-9].*)
if test -e $HOME/.bash_completion ; then
. $HOME/.bash_completion
elif test -e /etc/bash_completion ; then
. /etc/bash_completion
elif test -s /etc/profile.d/complete.bash ; then
. /etc/profile.d/complete.bash
fi
for s in /etc/bash_completion.d/*.sh ; do
test -r $s && . $s
done
if test -f /etc/bash_command_not_found ; then
. /etc/bash_command_not_found
fi
esac
fi
# Do not save dupes and lines starting by space in the bash history file
HISTCONTROL=ignoreboth
if test "$is" = "ksh" ; then
# Use a ksh specific history file and enable
# emacs line editor
: ${HISTFILE=$HOME/.kshrc_history}
: ${VISUAL=emacs}
case $(set -o) in
*multiline*) set -o multiline
esac
fi
# command not found handler in zsh version
if test "$is" = "zsh" ; then
if test -f /etc/zsh_command_not_found ; then
. /etc/zsh_command_not_found
fi
fi
esac
# Just in case the user excutes a command with ssh
if test -n "$SSH_CONNECTION" -a -z "$PROFILEREAD" ; then
_SOURCED_FOR_SSH=true
. /etc/profile > /dev/null 2>&1
unset _SOURCED_FOR_SSH
fi
# And now let us see if there is e.g. a local bash.bashrc
# (for options defined by your sysadmin, not SuSE Linux)
case "$is" in
bash) test -s /etc/bash.bashrc.local && . /etc/bash.bashrc.local ;;
ksh) test -s /etc/ksh.kshrc.local && . /etc/ksh.kshrc.local ;;
zsh) test -s /etc/zsh.zshrc.local && . /etc/zsh.zshrc.local ;;
ash) test -s /etc/ash.ashrc.local && . /etc/ash.ashrc.local
esac
test -s /etc/sh.shrc.local && . /etc/sh.shrc.local
if test -n "$restricted" -a -z "$PROFILEREAD" ; then
PATH=/usr/lib/restricted/bin
export PATH
fi
# End of /etc/bash.bashrc
Similar Messages
-
R12, Environment Variables on Windows, and OBIEE
Dear Experts,
I've managed to install R12 on Windows.
Now, in the global environment variable, Path, the user Oracle has a number of directories in its default PATH, starting with the Oracle apps middle tier.
C:\oapps\apps\tech_st\10.1.2\bin;
C:\oapps\apps\tech_st\10.1.2\jdk\jre\bin\classic;
C:\oapps\apps\tech_st\10.1.2\jdk\jre\bin;
C:\oapps\apps\tech_st\10.1.2\jlib;
C:\oapps\apps\tech_st\10.1.3\bin;
C:\oapps\db\tech_st\11.1.0\bin;
C:\Windows\system32;
C:\Windows;
I notice that there are .cmd scripts that set the Path.
This script sets the path to look in: c:\oapps\db
cd C:\oapps\db\tech_st\11.1.0
VIS_black.cmd
echo %PATH%
C:\oapps\db\tech_st\11.1.0\perl\5.8.3\bin\MSWin32-x86-multithread\;
C:\oapps\db\tech_st\11.1.0\bin;
This script sets the path to look in: c:\oapps\apps
set PATH=""
cd c:\oapps\apps\apps_st\appl
VIS_black.cmd
echo %PATH%
C:\oapps\apps\apps_st\appl\au\12.0.0\bin;
I'd like to install OBIEE on the same server. Obviously, I don't want any path conflicts. And, OBIEE uses a different version of java.
1)
Do all these Apps directories need to remain in the global PATH environment variable? Or, can the directories be removed from the path, and the scripts can be relied on to set the appropriate variables?
Thanks a lot!if you want global settings (always present, even after reboot), you have to edit the autoexec.bat file, e..g
SET CLASSPATH=c:\myclasses
you can set environment variables temporarility in a DOS shell using the same command.
if possible, you should avoid the CLASSPATH environment variable, and use the -cp or -classpath option for java and javac. This helps a lot to solve classpath confusions. -
Gcc seems not to be recognising environment variables for include and lib.
I'm trying to install programs into a non standard location, but GCC does not seem to be checking the paths defined in global profile. All 3rd party dependencies are not found and only the default locations are checked.
The environment variables defined in profile are:
CPLUSINCLUDEPATH="/DVL/include:/GNU/include:/usr/X11/include:/TEST/include"
DYLDLIBRARYPATH="/DVL/lib":/GNU/lib:/usr/x11/lib"
LIBRARY_PATH="/dvl/lib:/gnu/lib:/TEST/lib"
As GCC is a proven technology, I can only assume that my variables are incorrect or something is missing. Has anyone else experienced this or is your configuration recognising non-standard locations?sorry, wrong forum. I put this topic again in forum "portal applications"
-
Environment variable for share and etc
Hi all, first let me say sorry if this is the wrong sub-section, This one is the closest as far as I could tell.
I've been messing around with building self-contained packages for top level apps like gimp, vlc etc. Ive gotten all the libraries worked out by using LD_LIBRARY_PATH.
However they still need files in /usr/share and /etc. I know I can change these at compile time, but what im trying to do change some variable to look in the programs root directory not the systems.
Does anyone know if sysconfdir can be changed at runtime? for example use ~/Progs/Gimp/usr/share instead of /usr/share? Ive been playing around with a command called cde which sandboxes that apps fairly well
but its very unclean, and is not aware of any files outside the sandbox (think chroot).
Thanks in advance, and sorry for my bad grammer.Prashant,
Did you check this?
https://kr.forums.oracle.com/forums/thread.jspa?threadID=670431
Regards,
Dpka -
Usage of CGI environment variables SERVER_NAME and HTTP_HOST by APEX
Hi,
I have a question about the usage of the CGI environment variables SERVER_NAME/SERVER_PORT and HTTP_HOST by APEX.
When does it use which CGI environment variables when it is generating absolute URLs.
Based on the following thread about the online help (Re: Help does not show content it seems to use SERVER_NAME/SERVER_PORT. At least for the online help.
But based on my own tests some time ago about the flash charting at the following thread (Re: APEX Charts - Error XML Loading falied I investigated that at least flash charting is using HTTP_HOST to generate an absolute URL.
My question now is what is the logical difference between HTTP_HOST and SERVER_NAME and which of the URLs should be used when I want to generate absolute URLs in my application?
I would tend to use HTTP_HOST because it seems to be more logically. I would see SERVER_NAME more as just the name of the web-server, which doesn't have to be the URL the user enters in case a reverse proxy is used.
Thanks
Patrick
My APEX Blog: http://inside-apex.blogspot.com
The ApexLib Framework: http://apexlib.sourceforge.net
The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/We use HTTP_HOST in most cases from what I can see. You may have also noted that HTTP_HOST may have :<port> appended to the hostname as well.
Scott -
Where does OS X store environment variables?
I'm new to OS X but I've used Linux (and a Unix a while ago) on and off. I'm a bit confused as to how the particular version of Unix Mac OS X uses works.
In Linux, I kept environment variables in .bash and .bash_profile files in my home directory. What is the default file Mac OSX uses to store all this information? So, for instance if I do
$env
I get information about my environment such as:
PATH=/usr/bin/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/ usr/X11/bin
USER=josepmfontana
HOME=/Volumes/DATA
The problem comes when I try to modify this information. I even did a grep:
Josep-M-Fontanas-iMac:~ josepmfontana$ grep -r USER=josepmfontana ~/.*
But I only found this string in .bash_history
Actually, I found another unexpected problem. grep stalled with the following error message:
grep: warning: /Volumes/DATA/../Macintosh HD/Applications/VirtualBox.app/Contents/Resources/VirtualBoxVM.app/Contents/Res ources: recursive directory loop
I've checked a few manuals, I've Googled for default environment variables Mac OS X but I'm stumped.
Any help I can get from the community will be greatly appreciated.
Josep M.Basically, OS X and Linux are mostly the same.
First, it's not the operating system that decides where the environment variables go, it's the shell. For example, the 'bash' shell that's the default on Linux and OS X systems. If you read the manual page for bash, you will see the following nugget:
{quote}
When bash is invoked as an interactive login shell, or as a non-inter-
active shell with the --login option, it first reads and executes com-
mands from the file /etc/profile, if that file exists. After reading
that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile,
in that order, and reads and executes commands from the first one that
exists and is readable. The --noprofile option may be used when the
shell is started to inhibit this behavior.
When a login shell exits, bash reads and executes commands from the
file ~/.bash_logout, if it exists.
When an interactive shell that is not a login shell is started, bash
reads and executes commands from ~/.bashrc, if that file exists. This
may be inhibited by using the --norc option. The --rcfile file option
will force bash to read and execute commands from file instead of
~/.bashrc.
When bash is started non-interactively, to run a shell script, for
example, it looks for the variable BASH_ENV in the environment, expands
its value if it appears there, and uses the expanded value as the name
of a file to read and execute. Bash behaves as if the following com-
mand were executed:
if \[ -n "$BASH_ENV" \]; then . "$BASH_ENV"; fi
but the value of the PATH variable is not used to search for the file
name.
{quote}
Different shells (like tcsh, for example) follow different rules.
One big difference is that most Linux environments have a directory, /etc/profile.d, that /etc/profile will look to for individual environment setup scripts. OS X does not. -
Hi,
Just curious... What are the different environment variables that Java looks at, and what is the purpose for each of them?? To clarify that I'm talking about, I think some of them are JAVA_HOME, JAVAC(?), CLASSPATH, etc.
ThanksThere are three environment variables that Java generally uses:
1. PATH
2. CLASSPATH
3. JAVA_HOME
PATH is actually a windows environment variable where you specify the paths of executable files. For Java, this environment variable helps it locate java compiler, java runtimes - java, javaw and other tools in the JDK.
CLASSPATH is specific to Java; it helps Java tools find Java class files
JAVA_HOME is used by Java Applications to point to the directory where JDK is installed.
For the current status of environment variables in Windows, run a command prompt and type 'set' (without quotes) followed by enter. Windows will then list all environment variables defined. -
Can environment variable be used in Windows
Can an environment variable be set and used in Windows for compiling.
For example, instead of typing in something like
javac -classpath c:/java/j2sdk/xml/lib/jaxb.jar MyProg.java
can I set an environment variable (call it "ev")
to c:/java/j2sdk/xml/lib
(or would it be c:\java\j2sdk\xml\lib)
so that something like one of the following (which one?) will work:
javac -classpath ev/jaxb.jar MyProg.java
or
javac -classpath %ev%/jaxb.jar MyProg.java
or
javac -class path %ev%\jaxb.jar MyProg.javaDon't know - best way to find out is to test.
-
Shorten environment variable path
I am installing Oracle database 10G on Windows XP. I am getting an error message saying 'The value of the environment variable path is more than 1023 characters.' How do I shorten this path, where do I go? thanks
My Computer ( right click) -> property -> Advance -> Environment Variable
Select patch and edit it , remove all not required paths
Virag -
I'm having a problem with Forms (6.0.8.11.3) and the FORMS60_PATH environment variable. I've changed it in the Registry, and on advice from another developer, created a Windows environment variable named FORMS60_PATH and given the value of the path to my development directory. Still when I issue a CALL_FORM('awards'), nothing happens. If I use the whole path like: CALL_FORM('d:\myforms\awards'); it works fine.
HELP!!A few things to check are:
In which Oracle_home did you define your forms60_path?It's in HOME2 which is the only place I found the FORMS60_PATH registry entry. If I do a TOOL_ENV.GETVAR('FORMS60_PATH', v_path), I get my development path as I defined in the registry. Any other suggestions?
Also make sure the value is not longer then the limit (255). no problem there
Thanks -
Environment variables for Java
Hi,
I installed jdk1.6.0_02 from Sun, and set the following environment variables:
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games:*/home/username/jdk1.6.0_02/bin*
export LD_LIBRARY_PATH=/home/username/jdk1.6.0_02/lib
export JAVA_HOME=/home/username/jdk1.6.0_0
I issue the following commands:
which javac
*/home/username/jdk1.6.0_02/bin/javac*
which java
*/usr/bin/java*
why is it referring to */usr/bin/java* instead of */home/username/jdk1.6.0_02/bin/java*
How can I solve this problem under Ubuntu 8.04.
Thank you in advance,
--Blaise
Edited by: Blaize on Jul 19, 2008 5:49 AMBlaize wrote:
Ok */ust/bin* is needed in the PATH. Why it affected java but not javac then?
Provide an instructive solution or an instructive comment if you have.I should have thought it would have been fairly obvious that it was because javac was not in /usr/bin (and that it would have been just as easy to be certain, i.e. type "ls /usr/bin/javac"), but I guess not.
I also would have thought, that it should be fairly obvious that a search path will always be read in a specific order (after all that is one of the reasons to have one, so that command searches aren't random), and, extrapolating from there, that it should be fairly obvious, considering the problem observed, that that search order was from left to right, but again, I guess not.
Use your head for something other than a paper weight, and maybe you wouldn't need to become either defensive or aggresive, but, once again, that must be something that's beyond you.
Learn how to type "How to configure path environment variable" into Google, and maybe the same would apply, but, once again, that is probably something that's beyond you. -
How to sync to different environment (Devlopment & Test)
Hi,
I would like to know more about, how to sync two different environment (includes metadata changes and data if applicable).
using LCM of version 11.1.2.1 (for Planning, Essbase and FR).
Regards
KumarThere are so many posts and blogs on LCM, a little research and I am sure you will be able to get to grips with using LCM, for example - http://www.oracle.com/webfolder/technetwork/tutorials/obe/hyp/PLN11.1.2_LCM/index.html
Cheers
John
http://john-goodwin.blogspot.com/ -
I see that the environment variable ${domain_url} is used in bpel.xml files when user tasks are employed. I'd like to use the same technique for referencing schemas from a WSDL file (as well as other such options). I've tried to define system/environment variables BPEL_MACHINE, BPEL_PORT, and BPEL_DOMAIN and reference them for my schemaLocation in the WSDL file using the same fashion as the domain_url but it doesn't seem to recognize it.
Since these references are to a middle tier installation on Solaris I will be performing the same environmental references on the Solaris middle tier as well since the schemas are layered (the first referenced schema imports another schema). Please confirm the environmental structure required here too (this is using Oracle AS).Toby
This is an example of the XSLT that gets generated by JDev
<!-- SPECIFICATION OF MAP SOURCES AND TARGETS, DO NOT MODIFY. -->
<mapSources>
<source type="XSD">
<schema location="test.xsd"/>
<rootElement name="testRequest" namespace="http://test/test.xsd"/>
</source>
</mapSources>
<mapTargets>
<target type="WSDL">
<schema location="http://serverrig/orabpel/default/process1/process1?wsdl"/>
<rootElement name="process" namespace="http://test"/>
</target>
</mapTargets>
<!-- GENERATED BY ORACLE XSL MAPPER 10.1.2.0.2(build 060111.0746) AT [WED AUG 02 08:46:44 BST 2006]. -->
Because the WSDL is held on the serverrig machine, it includes this reference in the XSLT.
Pete -
Adrelink.sh fails with new environment variable settings (HISTTTY)
Our IBM-AIX system administrators have adjusted some Unix Host environment variables, like HISTTTY, and made them readonly. They did this for locking down some security issues. When you run adpatch, for example, it would error when running adrelink. When you look at adrelink log, you see the following text:
You are running adrelink, version 115.28
Start of adrelink session
Date/time is Mon Feb 7 10:42:00 EST 2011
Log file is /in/OAAP/apps11i/oaapappl/admin/OAAP/log/adrelink.log
Command line arguments are
"force=y" "ranlib=y" "link_debug=n"
"filelist=/in/OAAP/apps11i/oaapappl/admin/OAAP/out/alkglx000.txt"
Operating System Information (output of 'uname -a'):AIX m015ap01 3 5 000AB1E0D600
Backup Mode is "file"
Removing extra variables from the environment...
adrelink will save the following variables (if set): - Generic:"PATH ORACLE_HOME TMPDIR TZ APPL_TOP APPLFENV
PLATFORM LD_LIBRARY_PATH COBDIR
LIBPATH NLS_LANG JAVA_TOP PERL5LIB"
- Shell-Specific: "PS1 PS2 PS3 PS4 IFS MAILCHECK _ LOGNAME A__z"
Beginning pass 1.
Processing 408 environment variables...
/in/OAAP/apps11i/oaapappl/ad/11.5.0/bin/adrelinknew.sh[1066]: HISTTTY: is read only
adrelink is exiting with status 1
End of adrelink session
Date/time is Mon Feb 7 10:42:01 EST 2011
Thanks in advance!Our IBM-AIX system administrators have adjusted some Unix Host environment variables, like HISTTTY, and made them readonlyWhat is the value of HISTTTY"
Processing 408 environment variables...
/in/OAAP/apps11i/oaapappl/ad/11.5.0/bin/adrelinknew.sh[1066]: HISTTTY: is read only
adrelink is exiting with status 1
End of adrelink sessionFrom the error, looks like you need to give applmgr user more privileges on HISTTTY (try the execute privilege only first).
Thanks,
Hussein -
Building with different environment configuration
I currently work on a Portal project and have the need for building towards different environment - such as production and test. These different environment have their own configuration settings. For instance would I like to benefit of this configuration in test and production, but not in development:
http://dev2dev.bea.com/blog/gnunn/archive/2005/06/a_no_brainer_pe_1.html
Another issue is security setup. I would like to be able to run the portal file during development, but being more restrictive in test and production.
Have anyone handled this in a good automated way? Any codeshare project that might help me?
Any input appriciated.... Thanks
Trond Andersen, Invenia AS, http://www.invenia.noHello Jinsoo,
Yes, it should be fine to set the cache size different on the master
versus the replica.
There are several configuration items that must be set the same
across all sites, such as the size of the log file, or ack policy, etc.
You should carefully read the pages for any configuration items that
you want to have different across sites to see if it is allowed or not.
Sue LoVerso
Oracle
Maybe you are looking for
-
Differences between Oracle SID / Instance/ Listener / Service or Service_Na
Hi guys, i am confuse about the following terms above and how they relate to one another when connecting to a database.. This is what i know - SID is the identifier of an Oracle Instance. - An Oracle Instance is a group of programs and memory allocat
-
ITunes doesn't open when I tell it to.
My itunes will not open or start when I click on it. It has worked before, so I don't understand why it's not working now. Has anybody else had this problem or know how to fix it?
-
My iphone just turned off and will not turn back on. What should I do?
My iphone just turned off with full battery. I have plugged it up to the charger and my computer. it will not turn on. It did bring up my iphoto and uploaded my new photos, but besides that nothing. What should I do? I need help!
-
Palm Pre still not working with IMAP on Lotus Notes
Even after Web OS 1.1 I still can not get my Palm Pre to Sync with my works IMAP Lotus Notes. We use a self siged cert, so I did a manual move of the cert to my Palm Pre (instructions I got on this site) Next I instlled the cert with the Cert Mgr.
-
Communication with Siebel adapter from AE
Hi, I imported the siebel adapter to Soa 11g and using the Application Explorer(AE). Now I would like to add a task to siebel adapter in design time of AE. But it is asking the gateway server, siebel server fields.. So what could be the values for th