Apache Environment variables usage for dispatcher configurations
I have tried using apache environment variables within dispatcher.any files which doesn't seem to work. Is it feasible?
Hi Yogesh,
I want to carry forward certain environment variables which we are using all virtual hosts configured in our apache web server.
e.g., #1: Virtual hosts used in dispatcher will be same as the ServerName used in our Apache Virtualhost configuration
e.g.. #2: Using environment variables to identify custom docroot in our web cluster based on VirtualHost configuration.
Any thoughts?
Thanks
Suresh
Similar Messages
-
Apache Environment Variables inside PL/SQL
How to access Apache Environment Variables inside HTMLDB (PL/SQL block)?
Hi,
You can use the owa_util.get_cgi_env packaged function -
FUNCTION GET_CGI_ENV RETURNS VARCHAR2
Argument Name Type In/Out Default?
PARAM_NAME VARCHAR2 INSo, pass in the name of the Env var you want and it will give you back the value. -
Oracle environment variable setting for mulit instances
Dear experts,
I am doing CRM_ABAP, CRM_JAVA,ERP installation based on Oracle in a laptop for SAP Best Practise.
The CRM_ABAP installation have done, and start to install CRM_JAVA named CRJ.
In CRM_ABAP installation, I set Oracle environment variable as below:(/etc/profile.d/oracle.sh)
・CRACLE_SID=u201DCRMu201D
・CRACLE_HOME=u201Doracle/CRMu201D
・PATH=$PATH:$ORACLE_HOME/bin:$ORACLE_HOME/bin/oPatch:$PATH:
・export CRACLE_SID CRACLE_HOME PATH
My question is that how do I set environment variable for CRM_JAVA(CRJ) in oracle.sh,?
I tried e.g. CRACLE_SID=u201DCRMu201D:u201DCRJu201D, CRACLE_HOME=u201Doracle/CRMu201D:u201Doracle/CRJ/102_64u201D
or CRACLE_SID=u201DCRJu201D CRACLE_HOME=oracle/CRJ/102_64u201D export CRACLE_SID CRACLE_HOME
in addition
but got an error message in SAPinst (Task Progress: configure Oracle server network)
said u201CAssertion failed:lsnrctl:Parameter dbHOME has to be a valid ORACLE_HOME).u201D
kindly help me to reslove the issue.
Thanks.
regards.
Li.etsuhinSetting a Linux environment variable like ORACLE_SID to multiple values will not work.
Use another oracle.sh, and maybe also another Linux user.
I am not familiar with the details, but what does your installation guide say?
Or you may have to use the same values for Java. The installation guide will tell you. -
Unix shell: Environment variable works for file system but not for ASM path
We would like to switch from file system to ASM for data files of Oracle tablespaces. For the path of the data files, we have so far used environment variables, e.g.,
CREATE TABLESPACE BMA DATAFILE '${ORACLE_DB_DATA}/bma.dbf' SIZE 2M AUTOEXTEND ON;
This works just fine (from shell scripts, PL/SQL packages, etc.) if ORACLE_DB_DATA denotes a file system path, such as "/home/oracle", but doesn’t work if the environment variable denotes an ASM path like "\+DATA/rac/datafile". I assume that it has something to do with "+" being a special character in the shell. However, escaping "\+" didn’t work. I tried with both bash and ksh.
Oracle managed files (e.g., set DB_CREATE_FILE_DEST to +DATA/rac/datafile) would be an option. However, this would require changing quite a few scripts and programs. Therefore, I am looking for a solution with the environment variable. Any suggestions?
The example below is on a RAC Attack system (http://en.wikibooks.org/wiki/RAC_Attack_-OracleCluster_Database_at_Home). I get the same issues on Solaris/AIX/HP-UX on 11.2.0.3 also.
Thanks,
Martin
==== WORKS JUST FINE WITH ORACLE_DB_DATA DENOTING FILE SYSTEM PATH ====
collabn1:/home/oracle[RAC1]$ export ORACLE_DB_DATA=/home/oracle
collabn1:/home/oracle[RAC1]$ sqlplus "/ as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Fri Aug 24 20:57:09 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
SQL> CREATE TABLESPACE BMA DATAFILE '${ORACLE_DB_DATA}/bma.dbf' SIZE 2M AUTOEXTEND ON;
Tablespace created.
SQL> !ls -l ${ORACLE_DB_DATA}/bma.dbf
-rw-r----- 1 oracle asmadmin 2105344 Aug 24 20:57 /home/oracle/bma.dbf
SQL> drop tablespace bma including contents and datafiles;
==== DOESN’T WORK WITH ORACLE_DB_DATA DENOTING ASM PATH ====
collabn1:/home/oracle[RAC1]$ export ORACLE_DB_DATA="+DATA/rac/datafile"
collabn1:/home/oracle[RAC1]$ sqlplus "/ as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Fri Aug 24 21:08:47 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
SQL> CREATE TABLESPACE BMA DATAFILE '${ORACLE_DB_DATA}/bma.dbf' SIZE 2M AUTOEXTEND ON;
CREATE TABLESPACE BMA DATAFILE '${ORACLE_DB_DATA}/bma.dbf' SIZE 2M AUTOEXTEND ON
ERROR at line 1:
ORA-01119: error in creating database file '${ORACLE_DB_DATA}/bma.dbf'
ORA-27040: file create error, unable to create file
Linux Error: 2: No such file or directory
SQL> -- works if I substitute manually
SQL> CREATE TABLESPACE BMA DATAFILE '+DATA/rac/datafile/bma.dbf' SIZE 2M AUTOEXTEND ON;
Tablespace created.
SQL> drop tablespace bma including contents and datafiles;My revised understanding is that it is not a shell issue with replacing +, but an Oracle problem. It appears that Oracle first checks whether the path starts with a "+" or not. If it does not (file system), it performs the normal environment variable resolution. If it does start with a "+" (ASM case), Oracle does not perform environment variable resolution. Escaping, such as "\+" instead of "+" doesn't work either.
To be more specific regarding my use case: I need the substitution to work from SQL*Plus scripts started with @script, PL/SQL packages with execute immediate, and optionally entered interactively in SQL*Plus.
Thanks,
Martin -
Using BASH environment variables in xCode build configuration
Hi All,
Is it possible to use BASH environment variables (exported from /etc/profile, for example) in xcode build settings?
Specifically, I am exporting a "BOOST_HOME" variable, and would like to referencing this variable in "User Header Search Path", but the obvious $BOOST_HOME doesn't seem to work?
Thanks,
AndrewI don't know much about XCode -- but to set environment variables for GUI applications you need to edit ~/.MacOSX/environment.plist. There's a description here:
http://wiki.lyx.org/Mac/Environment
After editing that file I believe you have to logout and back in for the changes to take effect.
I swear I saw a GUI app to help edit that file, but I can't find it now... -
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 -
Variables usage for ageing analysis ...
Dear All,
Pls let me know how do we create a variable in the query so that an ageing analysis can be done.
e.g, I have ranges in the selection criteria (1-30, 31-60, 61-120, >120), I need to filter the data based on my posting date and the report run date.
Depending on the conditions the values should be populated in the respective variables viz ., 1-30, 31-60 etc.
TIA
Mohd. Abdul MoghaniHi,
Check the below link where I have provided a solution for aging....
Re: Aging Report
Hope this helps you.... -
Passing Apache (or OHS) environment variables to WebLogic
Hi,
AJP is the protocol used to proxy a Tomcat or Jetty container with Apache HTTP server. Apache environment variables can be passed along to the Java container, instead of using rather insecure HTTP headers.
Is there a way to do the same thing using Apache and mod_weblogic, or using OHS and mod_wl_ohs? From what I've read, these modules are rather pure HTTP proxies. See for instance this post [1].
The idea behind this is to integrate a Shibboleth Service Provider (mod_shib on Apache) with WebLogic, using an Identity Assertion Provider in WebLogic to establish user identities. Shibboleth advises NOT to use headers, and use environment variables instead (see [2]), but it seems that the configuration of perimetric authentication for WebLogic should rely on headers to extract username and other info (see [3] and [4]).
Thanks a lot,
/ben
[1] https://groups.google.com/group/shibboleth-users/browse_thread/thread/af5e7caf7c9bbc0b/7933e991cfcbe089?pli=1
[2] https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPSpoofChecking
[3] http://docs.oracle.com/cd/E21764_01/web.1111/e14395/apache.htm#CDEBCGBI
[4] http://docs.oracle.com/cd/E21764_01/web.1111/e13718/ia.htm#DEVSP248 ==> Passing Tokens for Perimeter AuthenticationHi, thanks for the answer.
However, this is not what I meant with "environment variables". I'm not referring to system environment variables, but to session environment variables of the Apache HTTP server, that it can pass along with requests to a Java container. This mechanism is possible with a Tomcat or Jetty container placed behind a Apache front-end, thx to AJP.
I'm wondering how to do this with Weblogic, which does not support AJP.
/ben -
BKI0008E: The environment variable BI_CALLER is not set correctely. The cur
Hi All,
I have configured backint for backup of maxdb for content server 640. I configured it as per the documents available, created the configuration fiale and the parameter file. Created the backup medium in dbmgui.
Now when i try to run the backup using the pipe am getting the above mentioned error.
Please find below the dbm.ebp log for the same...
more dbm.ebp
2009-10-22 02:06:08
Setting environment variable 'TEMP' for the directory for temporary files and pi
pes to default ''.
Setting environment variable 'TMP' for the directory for temporary files and pip
es to default ''.
Using connection to Backint for MaxDB Interface.
2009-10-22 02:06:08
Checking existence and configuration of Backint for MaxDB.
Using configuration variable 'BSI_ENV' = '/sapdb/CFC/lcbackup/apoatlas.env'
as path of the configuration file of Backint for MaxDB.
Setting environment variable 'BSI_ENV' for the path of the configuration fil
e of Backint for MaxDB to configuration value '/sapdb/CFC/lcbackup/apoatlas.env'
Reading the Backint for MaxDB configuration file '/sapdb/CFC/lcbackup/apoatl
as.env'.
Found keyword 'BACKINT' with value '/sapdb/CFC/db/bin/backint'.
Found keyword 'INPUT' with value '/tmp/backint4sapdbCFC.in'.
Found keyword 'OUTPUT' with value '/tmp/backint4sapdbCFC.out'.
Found keyword 'ERROROUTPUT' with value '/tmp/backint4sapdbCFC.err'.
Found keyword 'PARAMETERFILE' with value '/sapdb/CFC/lcbackup/param.cfg'
Found keyword 'TIMEOUT_SUCCESS' with value '1800'.
Found keyword 'TIMEOUT_FAILURE' with value '1800'.
Finished reading of the Backint for MaxDB configuration file.
Using '/sapdb/CFC/db/bin/backint' as Backint for MaxDB program.
Using '/tmp/backint4sapdbCFC.in' as input file for Backint for MaxDB.
Using '/tmp/backint4sapdbCFC.out' as output file for Backint for MaxDB.
Using '/tmp/backint4sapdbCFC.err' as error output file for Backint for MaxDB
Using '/sapdb/CFC/lcbackup/param.cfg' as parameter file for Backint for MaxD
B.
Using '1800' seconds as timeout for Backint for MaxDB in the case of success
Using '1800' seconds as timeout for Backint for MaxDB in the case of failure
Using '/sapdb/data/wrk/CFC/dbm.knl' as backup history of a database to migra
te.
Using '/sapdb/data/wrk/CFC/dbm.ebf' as external backup history of a database
to migrate.
Checking availability of backups using backint's inquire function.
Check passed successful.
2009-10-22 02:06:08
Checking medium.
Check passed successfully.
2009-10-22 02:06:08
Preparing backup.
Setting environment variable 'BI_CALLER' to value 'DBMSRV'.
Setting environment variable 'BI_REQUEST' to value 'NEW'.
Setting environment variable 'BI_BACKUP' to value 'FULL'.
Constructed Backint for MaxDB call '/sapdb/CFC/db/bin/backint -u CFC -f back
up -t file -p /sapdb/CFC/lcbackup/param.cfg -i /tmp/backint4sapdbCFC.in -c'.
Created temporary file '/tmp/backint4sapdbCFC.out' as output for Backint for
MaxDB.
Created temporary file '/tmp/backint4sapdbCFC.err' as error output for Backi
nt for MaxDB.
Writing '/sapdb/CFC/lcbackup/pipe1 #PIPE' to the input file.
Writing '/sapdb/CFC/lcbackup/pipe2 #PIPE' to the input file.
Prepare passed successfully.
2009-10-22 02:06:08
Creating pipes for data transfer.
Creating pipe '/sapdb/CFC/lcbackup/pipe1' ... Done.
Creating pipe '/sapdb/CFC/lcbackup/pipe2' ... Done.
All data transfer pipes have been created.
2009-10-22 02:06:08
Starting database action for the backup.
Requesting 'SAVE DATA QUICK TO '/sapdb/CFC/lcbackup/pipe1' PIPE,'/sapdb/CFC/
lcbackup/pipe2' PIPE BLOCKSIZE 8 NO CHECKPOINT MEDIANAME 'BACKINT_ONLINE1'' from
db-kernel.
The database is working on the request.
2009-10-22 02:06:09
Waiting until database has prepared the backup.
Asking for state of database.
2009-10-22 02:06:09 Database is still preparing the backup.
Waiting 1 second ... Done.
Asking for state of database.
2009-10-22 02:06:10 Database is still preparing the backup.
Waiting 2 seconds ... Done.
Asking for state of database.
2009-10-22 02:06:12 Database has finished preparation of the backup.
The database has prepared the backup successfully.
2009-10-22 02:06:12
Starting Backint for MaxDB.
Starting Backint for MaxDB process '/sapdb/CFC/db/bin/backint -u CFC -f back
up -t file -p /sapdb/CFC/lcbackup/param.cfg -i /tmp/backint4sapdbCFC.in -c >>/tm
p/backint4sapdbCFC.out 2>>/tmp/backint4sapdbCFC.err'.
Process was started successfully.
Backint for MaxDB has been started successfully.
2009-10-22 02:06:12
Waiting for end of the backup operation.
2009-10-22 02:06:12 The backup tool is running.
2009-10-22 02:06:12 The database is working on the request.
2009-10-22 02:06:14 The backup tool process has finished work with return co
de 2.
2009-10-22 02:06:17 The database is working on the request.
2009-10-22 02:06:27 The database is working on the request.
2009-10-22 02:06:42 The database is working on the request.
2009-10-22 02:07:02 The database is working on the request.
2009-10-22 02:07:15 Canceling Utility-task after a timeout of 60 seconds ela
psed ... OK.
2009-10-22 02:07:17 The database has finished work on the request.
Receiving a reply from the database kernel.
Got the following reply from db-kernel:
SQL-Code :-903
The backup operation has ended.
2009-10-22 02:07:17
Filling reply buffer.
Have encountered error -24920:
The backup tool failed with 2 as sum of exit codes. The database request
was canceled and ended with error -903.
Constructed the following reply:
ERR
-24920,ERR_BACKUPOP: backup operation was unsuccessful
The backup tool failed with 2 as sum of exit codes. The database request
was canceled and ended with error -903.
Reply buffer filled.
2009-10-22 02:07:17
Cleaning up.
Removing data transfer pipes.
Removing data transfer pipe /sapdb/CFC/lcbackup/pipe2 ... Done.
Removing data transfer pipe /sapdb/CFC/lcbackup/pipe1 ... Done.
Removed data transfer pipes successfully.
Copying output of Backint for MaxDB to this file.
Begin of output of Backint for MaxDB (/tmp/backint4sapdbCFC.out)-
Data Protection for mySAP(R)
Interface between BR*Tools and Tivoli Storage Manager
- Version 5, Release 4, Modification 0.0 for Linux x86_64
Build: 303 compiled on Nov 16 2006
(c) Copyright IBM Corporation, 1996, 2006, All Rights Reserved.
BKI0008E: The environment variable BI_CALLER is not set correctely. The
current value is "DBMSRV"
usage:
backint -p <par_file> [-u <user_id>] [-f <function>]
[-t <type>] [-i <in_file>] [-o <out_file>] [-c]
where:
<user_id> backint utility user
<function> backup | restore | inquire | password | delete
<type> file | file_online
<par_file> parameter file for backup utility
<in_file> name of a text file that defines the objects
default: STDIN
<out_file> Pool for processing messages and the results
of the executed function.
default: STOUT
BKI0020I: End of program at: Thu 22 Oct 2009 02:06:14 AM EDT .
BKI0021I: Elapsed time: 01 sec .
BKI0024I: Return code is: 2.
End of output of Backint for MaxDB (/tmp/backint4sapdbCFC.out)---
Removed Backint for MaxDB's temporary output file '/tmp/backint4sapdbCFC.out
Copying error output of Backint for MaxDB to this file.
Begin of error output of Backint for MaxDB (/tmp/backint4sapdbCFC
.err)----
End of error output of Backint for MaxDB (/tmp/backint4sapdbCFC.e
rr)----
Removed Backint for MaxDB's temporary error output file '/tmp/backint4sapdbC
FC.err'.
Removed the Backint for MaxDB input file '/tmp/backint4sapdbCFC.in'.
Have finished clean up successfully.Also, is there any specification about the user permissions and about how the backup should be run?
-
Action to SET environment variable (permanently) e.g. change path
I would like to be able to set an environment variable as an action in bundles
-- not to set one associated with an executable action, but rather to define an
action that will accomplish permanently setting an environment variable.
For example (not quite real but close) if I installed Java, I might want to set
the value for JAVA_HOME as a persistent environment variable if the install
doesn't create it.
I know of several methods that work for setting an environment variable on the
system, but none of them work particularly well for my purposes:
1) Create a batch/cmd file containing the SETX command, place it somewhere
accessible to the system, and use Run Script. The drawback is that this
requires placing an extra little command file somewhere accessible to every
system that runs the bundle.
2) Add or modify the variable via the registry. This has the drawback of
requiring a "refresh" action to somehow make the system see the variable value
right away.
err.... I think those are the only methods I know. Of course one can set an
environment variable just associated with an action (except with11.2.3 agent)
but I want to essentially modify the system permanently, but only for people
getting the specific bundle.
What's the best way to go about this? Am I missing something (personality?)?
Thanks.
-- DEOriginally Posted by DE
I would like to be able to set an environment variable as an action in bundles
-- not to set one associated with an executable action, but rather to define an
action that will accomplish permanently setting an environment variable.
For example (not quite real but close) if I installed Java, I might want to set
the value for JAVA_HOME as a persistent environment variable if the install
doesn't create it.
I know of several methods that work for setting an environment variable on the
system, but none of them work particularly well for my purposes:
1) Create a batch/cmd file containing the SETX command, place it somewhere
accessible to the system, and use Run Script. The drawback is that this
requires placing an extra little command file somewhere accessible to every
system that runs the bundle.
2) Add or modify the variable via the registry. This has the drawback of
requiring a "refresh" action to somehow make the system see the variable value
right away.
err.... I think those are the only methods I know. Of course one can set an
environment variable just associated with an action (except with11.2.3 agent)
but I want to essentially modify the system permanently, but only for people
getting the specific bundle.
What's the best way to go about this? Am I missing something (personality?)?
Thanks.
-- DE
Hi DE, have you tried with a VBS script? Here's a script that I use to add a path to the "PATH" variable and add 2 other system variables.
Code:
Dim CurrPath
Dim NewPath
strVarMAYA = "MAYA_LOCATION"
strVarMUDBOX = "MUDBOX_LOCATION"
strVarMAYAValue = "C:\Program Files\Autodesk\Maya2014"
strVarMUDBOXValue = "C:\Program Files\Autodesk\Mudbox 2014"
Set WshShell = CreateObject("WScript.Shell")
Set WshSystemEnv = WshShell.Environment("SYSTEM")
CurrPath = WshSystemEnv("PATH")
NewPath = CurrPath & ";C:\Program Files\Autodesk\Maya2014\bin" & ";C:\Program Files\Autodesk\Mudbox 2014"
WshSystemEnv("PATH") = NewPath
WshSystemEnv(strVarMAYA) = strVarMAYAValue
WshSystemEnv(strVarMUDBOX) = strVarMUDBOXValue
For the PATH system variable you could use EditPath if you need to manipulate the content of the variable.
Hope it helps!
GuillaumeBDEB -
Using environment variables in the JAR manifest
Hello,
I need to make a JAR which uses some third party libraries located in the file system, in a path referenced through a environment variable (named for example ENV_VAR). Without using the JAR the application may be started by running:
java -classpath %ENV_VAR%\lib\library1.jar;%ENV_VAR%\lib\library2.jar MyApplication
So what is the syntax to refer to environment variable inside the manifest?I guess its not possible. If you look at the [Manifest specification|http://java.sun.com/javase/6/docs/technotes/guides/jar/jar.html#JAR%20Manifest] there is nothing that inidcates that environment variables can be used. The classpath attribute is specified as follows:
The value of this attribute specifies the relative URLs of the extensions or libraries that this application or extension needs. URLs are separated by one or more spaces. The application or extension class loader uses the value of this attribute to construct its internal search path.
So actually, if it would be possible the ENV_VAR pathes must be set relative to your application .jar file.
Why not just use a batch that sets up your command line as in the example and runs your app? -
Can ODI use environment variables?
Running on Linux/Unix, can ODI use environment variables? For example, export LANGUAGE="en", and anyway in ODI can get variable LANGUAGE?
It is easy.
Use the following command at variable Refresh tab and let the Logical Schema to the file too...
Just change the file path (c:/temp/cezar_test.txt)
Select COLUMN_1 from TEST
/*$$SNPS_START_KEYSNP$CRDWG_TABLESNP$CRTABLE_NAME=TESTSNP$CRLOAD_FILE=c:/temp/cezar_test.txtSNP$CRFILE_FORMAT=DSNP$CRFILE_SEP_FIELD=3BSNP$CRFILE_SEP_LINE=0D0ASNP$CRFILE_FIRST_ROW=0SNP$CRFILE_ENC_FIELD=SNP$CRFILE_DEC_SEP=SNP$CRSNP$CRDWG_COLSNP$CRCOL_NAME=COLUMN_1SNP$CRTYPE_NAME=STRINGSNP$CRORDER=1SNP$CRLENGTH=50SNP$CRPRECISION=50SNP$CR$$SNPS_END_KEY*/
For this command the file must to have just just the value in one line.
Does it help you?
Edited by: Cezar Santos on 23/01/2009 16:14 -
CPU for Dispatcher and Shared Servers
Hi,
Is there any way to get CPU usage for Dispatcher and Shared Servers from database dictionary?
Currently I am using ps -ef to get the cpu usage of dispatcher and shared server background processes which gives time in seconds.
I want to get cpu time in 1/100th of second of in milliseconds.
Any help would be highly appreciated.
Thanks,
Manojhello Amish,
my first idea is,
please rename the progid in
IPC_RFC_DISPATCHER
like the handbooks.
I find a line in debugging where this name is hardcore stored in a report.
I forget the name.
The tests in SM59 are dinky.
I have the problem that the tests are okay, but i haven't a connect to the IPC_RFC_SERVER_1.
Second both systems have to be unicod or non-unicode, pleas no
mixed system-landscapes.
Hope I can help you a little bit.
Thorsten -
Hi,
Problem Description:
After installing my new product version, when user does log-off and log in again into admin account
or switch from admin account to non-admin account, PATH environment variable shows incorrect path of my product (previous product version’s path) using command prompt.
It seems windows refresh issue during session changes (log off and log in / switch from Admin to
Non-admin account).
Why PATH environment variable is not refresh immediately after log off and log in again or Switch
from admin to non-admin mode?.
Please see my thread for more details http://social.msdn.microsoft.com/Forums/vstudio/en-US/445ab42c-bdff-405a-8d53-558e1b6c7d34/path-environment-variable-issue-when-user-logoff-and-login-or-switch-from-admin-to-nonadmin?forum=windowsgeneraldevelopmentissues
Also submitted bug for this in connect.microsoft.com portal.In that it has lots of information
like problem statement, Reproduction steps and Expected Results.
Bug ID: 871782
Could you please any body help me for this?. your support will be appreciated.
Thanks,
MarichamyWhy PATH environment variable is not refresh immediately after log off and log in again or Switch
from admin to non-admin mode?.
I wouldn't have any expectation of what you are doing to work the way you expect. E.g. why is the %ABC% being replaced at all? There is some help about this ambiguous scenario in the cmd help...
/V:ON Enable delayed environment variable expansion using ! as the
delimiter. For example, /V:ON would allow !var! to expand the
variable var at execution time. The var syntax expands variables
at input time, which is quite a different thing when inside of a FOR
loop.
/V:OFF Disable delayed environment expansion.
So, what's the setting for the /V: switch that your users would be using? Perhaps you should be using the ! instead of the % for your ABC variable?
Oh. There's more below where I found that...
Delayed environment variable expansion is NOT enabled by default. You
can enable or disable delayed environment variable expansion for a
particular invocation of CMD.EXE with the /V:ON or /V:OFF switch. You
can enable or disable delayed expansion for all invocations of CMD.EXE on a
machine and/or user logon session by setting either or both of the
following REG_DWORD values in the registry using REGEDIT.EXE:
HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\DelayedExpansion
and/or
HKEY_CURRENT_USER\Software\Microsoft\Command Processor\DelayedExpansion
to either 0x1 or 0x0. The user specific setting takes precedence over
the machine setting. The command line switches take precedence over the
registry settings.
In a batch file the SETLOCAL ENABLEDELAYEDEXPANSION or DISABLEDELAYEDEXPANSION
arguments takes precedence over the /V:ON or /V:OFF switch. See SETLOCAL /?
for details.
If delayed environment variable expansion is enabled, then the exclamation
character can be used to substitute the value of an environment variable
at execution time.
So, I guess the essence of your "bug" will boil down to whether you
need the feature to get the result you want and the
truth of that first sentence but it certainly looks like a "can of worms" to me. ; )
HTH
Robert Aldwinckle -
Environment variables for j2ee1.4sdk on windows xp home
Hello,
I have just installed J2EE 1.4 SDK on Microsoft Windows XP Home, and everything went fine. I can start the Apache Server and run the demos. But I installed it to be able to compile own code!
So now abaout my problem: The installation guide says I should set some environment variables. But I dont know what paths to set the variables to!
The installation program has created a directory "C:\Sun". That directory contains only one subdirectory: "C:\Sund\AppServer". In that directory are, among others, a subdirectoy "bin" which includes some ".bat" files like "asant.bat", and a subdirectory "jdk", which also includes an own subdirectory "bin" with the well-known executables "java.exe", "javac.exe" and some more executables.
What environment variables do I have to set, and to which values??? "http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html" says:
In order to run the asant scripts, you must configure your environment and properties files as follows:
* Add <JAVA_HOME>/bin to the front of your path.
* Add <J2EE_HOME>/bin and <J2EE_HOME>/share/bin to the front of your path so that J2EE 1.4 Application Server scripts (asadmin, asant, deploytool, and wscompile) override other installations.
* Set the j2ee.home property in the file <INSTALL>/j2eetutorial14/examples/common/build.properties to the location of your J2EE Application Server installation. The build process uses the j2ee.home property to include the J2EE library archive, <J2EE_HOME>/lib/j2ee.jar, in the classpath. If you wish to use an IDE or the javac compiler to build J2EE applications, you must add this JAR to your classpath.
- so do I only have to set the %PATH% variable or also %CLASSPATH% manually?
- what directories do I have to set the variables to according to my directory structure as described above?
Thanks in advance! :)
yours sincerely,
StefanInstructions you are reading are relevant for J2EE 1.4 tutorial samples - if you want to compile and deploy your own code you don't have to go through all the steps described in tutorial documentation.
Based on the information you provided about your installation you should do the following in order to compile your own code:
* add C:\Sun\AppServer\jdk\bin;C:\Sun\AppServer\bin; at the beginning of your existing PATH
(you don't have to add C:\Sun\AppServer\share\bin for the simple reason that it does not exist anymore in this release and its content got moved into C:\Sun\AppServer\bin)
* in order to compile your code, you must make sure that C:\Sun\AppServer\lib\j2ee.jar is in your classpath - how are you going to achieve that depends on the development environment you are using
Hope this helps...
Maybe you are looking for
-
"file does not exist" output Help !
Dear Java People, I am doing a program that uses the methods of the File class. When I test to see if my file (containing the driver class )exists it says "does not exist" . I don't know why it doesn't see my file below is the coding the doesn't see
-
CS 5.5 Crashes on 2010 Macbook Pro
I've got a 2010 Macbook Pro with 8GB RAM and an nVidia card. CS5 worked great on it, but CS5.5 is a different story. I can create projects, import footage, save, and reopen, but when I add a few items to the timeline, save, and close the project or p
-
I can not turn on my Ipod Nano which is not used for a long time, Please help me how can i deal with it. It a must to bring them to Apple Store or there are tricks to fix it? Thanh you very much
-
Need help understanding whats making my cpu kernel.
While im running protools my cpu keeps kerneling, no set time or reason. If any bode can please help me understand this lingo I would really appreciate it. Thank you-Sam Fri Jan 25 15:31:03 2013 panic(cpu 8 caller 0xffffff7f80cc40c1): "Spinlock acqu
-
How do I make a new MouseEvent to my table
hi, i create a new class public class exoTabla extends javax.swing.JScrollPane implements TableModelListener { public void getDatos() { exodo.sia.libreria.tabla.exoTablaModelo modelo = new exodo.sia.libreria.tabla.exoTablaMo