Environment variable comes off App Server, oh well.

I just tried an environment variable from a different machine and it reads it off of the Application Server machine, so I won't be using that method. Maybe I can't avoid WebUtil after all. Do you know if the jacobBin_17.zip file is required for what I want to do? Or can I leave it out as I won't need OLE? They should change that name, jacobBin is too much like jacobian and brings back bad memories from calculus.

They should change that name, jacobBin is too much like jacobian and brings back bad memories from calculus. Well, Jacobin makes me think of eigtheenth century French politics. I really ought to renew my membership of the Must Get Out More Club.
Cheers, APC

Similar Messages

  • Environment variables of 9i  App server

    I have to configure few Environment variables in 9i App server. How can i do that. Also I want to view all the exisitng Env varibles.
    Thanks
    N

    Nitin,
    What kind of environment variables? Could you provide some more details. All Application Server settings are done via the EM Website.
    Also, if this is a J2EE question, please post it on the J2EE forum.
    Thanks,
    Ashesh Parekh
    Oracle9iAS Product Management

  • How to set environment variables in JavaCAPS6 app server?

    In JavaCAPS6 you can have variables in wsdls of the form {$var}.
    How are the values of these set in the app server configuration?
    Rupert

    Hi,
    You can set the environmet variable in Weblogic by using the below commands
    setWLSEnv.cmd/sh ==>Set the CLASSPATH to include the WebLogic Server classes.
    Overview of WebLogic Server Domains
    or you can use to set the Environment variable along with domain specific varables using the SetDomainEnv.cmd
    To run SetDomainEnv.sh in Linux please use
    . ./setDomainEnv.sh it require two dots (Dont miss it )
    http://docs.oracle.com/cd/E28280_01/web.1111/e13749/weblogicserver.htm#ADMRF205
    Hope it helps

  • How to invoke environment variables from a remote server

    Hi Guys;
    I am new to java programming and have very basic knowledge. I am trying to get some environment variable information from a remote server. I have created a program that gives me the env variables from my machine but I need to connect to some other server and bring those variables.
    Can someone help me with this?
    Regards,
    Aditya

    there is no way to get that information from a remote machine without that machine having some program installed on it that you can poll to ask for it (and no machine should have a program like that on it, it's a potentially massive security hole).

  • Shell environment variables and apple apps

    Hi Does anyone know how to pass environmental variables to apple applications. For example I have an an app that will automatically execute a shell script on receipt of certain downloads but that script calls another script that has some embedded functions. The scripts all work from command line since I have all my paths and EVs defined in my .tchsrc but the app isn't run from the same shell.
    Any clues as to a work around.
    thanks
    Anna

    See
    http://developer.apple.com/qa/qa2001/qa1067.html
    or
    http://www.rubicode.com/Software/RCEnvironment/

  • How to use windows environment variable "%appdata%" in TEXT_IO built-in

    Hello Sir/Madam,
    I'm currently using TEXT_IO built-in package to write data file user's "C" drive in Oracle Forms 6i on Windows XP OS. We are in the process of upgrading the OS to Windows7. This new version does not allow to write to "C" or "D" drive. I was wondering how I can use windows environment variable "%appdata%" in this built-in to write the data file to user's AppData folder?
    I would appreciate your help.
    Regards,
    Vani Sonti

    You are obviously not familiar with the architecture of webforms. See here http://www.oracle.com/technetwork/developer-tools/forms/275632-133265.pdf
    I guess you are running your forms locally, so the forms server and the client run on the very same machine. This won't be the case once you run in production, as you will have an application server and clients connecting to the server.
    text_io, tool_env and all the forms built ins will be executed on the machine the forms runtime runs on, and in a 3 tier architecture this is the application server, not the client as the real client will run just a java applet which actually just does what the forms runtime on the server tells it to do (or passes client side events like mouse clicks to the forms runtime on the server).
    A very simple explanation for the architecture would be that the whole GUI part has been ripped off the forms runtime and put into a java applet; the logic part (the old-fashioned forms runtime) where the whole Forms PL/SQL code is executed communicates with the GUI part (which is implemented as a java applet) via HTTP, so there is no need to have both running on the very same machine.
    So if you are writing a file with text_io on c:\dummy.txt this file will be generated on the application server machine as it is executed where the forms runtime runs. If you read environment variables with tool_env.getvar you will get the environment variable from the application server machine.
    If you need those variables from your application server then those built-in packages are what you need, but if you need the real client variables there is no way around java in webforms 6i. But the beans should be simple enough to have them written within no time ;)
    cheers

  • How to set new Tomcat Environment variable?

    I have an imported class used by my servlet that is supposed to look for an environment variable like "xxx.app.logdir". I'm having trouble setting it in Tomcat. I have tried the following (stopping and starting Tomcat with each change):
    1) In \conf\server.xml file, adding under <GlobalNamingResources> <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
    <Environment name="xxx.app.logdir" type="java.lang.String" value="C:\\Tomcat-4-1\\logs"/>2) In my app's web.xml file <env-entry>
      <env-entry-name>xxx.app.logdir</env-entry-name>
      <env-entry-value>C:\\Tomcat-4-1\\logs</env-entry-value>
      <env-entry-type>java.lang.String</env-entry-type>
    </env-entry> 3) In my \bin\startup.bat file
    set xxx.app.logdir=C:\\Tomcat-4-1\\
    4) On my PC's Environment variables.
    Nothing has worked. In my code I have the lines
    logMsg("System.getProperty('mmm.app.logdir')=" +
    System.getProperty("xxx.app.logdir"));
    logMsg("System.getProperty('simpleValue')=" +
    System.getProperty("simpleValue")); with the output :System.getProperty('xxx.app.logdir')=null
    System.getProperty('simpleValue')=null I've searched forums and the Tomcat docs, but no luck. Any ideas?

    I tried that as well, but maybe I didn't define my DefaultContect correctly. Do I need any other parameters? Couldn't find it in the Tomcat docs. <DefaultContext>
    <Environment name="matt" type="java.lang.String" value="value1" />
    </DefaultContext>My new code (I simplified the variable name for testing):
    System.out.println("System.getProperty('matt')=" + System.getProperty("matt"));
    System.out.println("System.getProperty('MATT')=" + System.getProperty("MATT"));Results:
    System.getProperty('matt')=null
    System.getProperty('MATT')=null

  • Problem with Connection to SQL Server via Servlet (in iPlanet 6 App Server)

    Hi ,
    I am using the iPlanet ApplicationServer 6.0 SP2 for development & testing of an internet application.
    I am facing a problem when I am trying to connect to MS SQL SERVER via the native jdbcodbc driver (obdc32.dll). The error is something like this :
    [26/Jul/2001 11:50:35:7] warning: DriverConnect: (28000): [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user '\'.(DB Error: 18456)
    [26/Jul/2001 11:50:35:7] warning: ODBC-027: CreateConn: failed to create connection [new connection]: DSN=fadd,DB=cashbook,USER=test,PASS=xxxxxxxxx
    [26/Jul/2001 11:50:35:7] error: DATA-108: failed to create a data connection wit
    h any of specified drivers
    Error in connecting to the Database for cirrus :java.sql.SQLException: failed to
    create a data connection with any of specified drivers
    java.sql.SQLException: failed to create a data connection with any of specified
    drivers
    at com.netscape.server.jdbc.Driver.afterVerify(Unknown Source)
    at com.netscape.server.jdbc.Driver.connect(Unknown Source)
    at com.netscape.server.jdbc.DataSourceImpl.getConnection(Unknown Source)
    at gefa.util.DBConnection.jdbcConnectionOpen(DBConnection.java:65)
    at gefa.servlet.ServUpload.doPost(ServUpload.java:45)
    at gefa.servlet.ServUpload.doGet(ServUpload.java:29)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
    Source)
    at com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unkno
    wn Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at java.lang.Thread.run(Thread.java:479)
    I have configured a DSN with the name "fadd" on the machine with the application server and it used NT authentication. I have supplied an NT userid and password that has appropriate rights on the database "cashbook".
    When I write a java standalone program, it does connect but via a servlet it does not connect.
    Can some guide me with this problem please ?
    Anything one might have observed in the past ? (may be specific to iPlanet ?)
    Thanks a lot in advance
    ~Sunil

    I'm using iPlanet App server as well and experiencing similar problem. I load my SQL Server driver by Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver"), then use DriverManager.getDriver() to obtain the Driver.
    However, the Driver returned is not the SQLServerDriver as expected. The Driver returned is com.netscape.server.jdbc.Driver! And then when I do Driver.getConnection("jdbc:microsoft:sqlserver://MyServer"), it throws an SQLException saying that it doesn't accept a jdbc:microsoft:sqlserver subprotocol. Well, of course it doesn't, it's not a microsoft Driver at all.
    I suspect the problem is that the netscape Driver's acceptsURL() method ALWAYS returns true in iPlanet app server, thus when you getDriver(), the netscape Driver is always returned (and always returned as the first one since it's default?). Thus even though the same piece of code works fine as a standalone application, it just doesn't work on iPlanet app server.
    My work around is:
    Class.forName("my.Driver");
    Enumeration enu = DriverManager.getDrivers();
    Driver useThis = null;
    while (enu.hasMoreElements()) {
    Driver d = (Driver)enu.nextElement();
    if (d.getClass().toString().indexOf("my.Driver") > -1) {
    useThis = d;
    Mind that my above code does not have an performance issue. If you look into the source code of how DriverManager get a Driver for a particular URL, it also loads the whole set of available Drivers, then call acceptsURL() method on each of them to find the first "suitable" one. Thus time complexity is the same.
    I know this is not a very elegant solution and it defeats the purpose of having a DriverManager. Does any one else has a better way to solve this problem, like a way to specify the priority of each Driver so that SQLServerDriver is returned before the netscape Driver?
    Thanks a lot.

  • [beginner] Relationship between app server and JBI container

    Hello,
    I downloaded the Sun app server as well as the JBI SDK and I would like to understand how they relate to each other. Is the JBI SDK a plug-in in the app server? Does it run on top of it? What part of J2ee are used by JBI?(servlets, ejbs, JCA???).
    Thanks in advance,
    Julien.
    PS
    Any answer is welcome. I am a complete beginner in JBI and I am looking for some primer that will help me get started with the spec...

    JBI is a specification; its up to the implementations to decide how they interact with different application servers. e.g. Sun's RI may work in Sun's app server and, say, JBoss. ServiceMix is already integrated into Apache Geronimo but has deployers for any Servlet engine and JBoss.
    Typically a JBI container will use servlets for HTTP bindings and can use EJBs if required. JCA integration is an option too - e.g. ServiceMix can either integrate with the application servers JCA engine or can use its own embedded JCA engine - Jencks (http://jencks.org).
    James
    http://logicblaze.com/

  • Initial workflow runs on WFE, then APP server, loses dependency?

    I'm still having issues with a WFE deployment to a farm with a WFE, an APP, and a SQL server. I'm trying to get my head around it. Workflow timer jobs run on the APP server, in accordance with Microsoft recommendations.
    User adds a list item
    When he / she submits their request, an Update workflow is kicked off -
    this part of the workflow I believe is still running on WFE because I see my printed messages in the ULS logs on the WFE
    If the request to update a list item is approved, the workflow kicks off a timer job.
    The SharePoint timer service then picks up the job on the APP server - I know this because I see my printed messages on the APP server instead of WFE.
    Submitted request passed on to a database on a different server.
    Getting the right solution has been challenging as I've been struggling to ask the right questions. I've confirmed that the SharePoint 2010 Timer Job is started on both servers with same account. I'm thinking that the wsp deploys something to the WFE,
    but not to the APP server. For #5 to happen, that something needs to live on the WFE (unless I want to change the service configuration and add Workflow Timer Jobs on both servers.)
    I'm thinking that the solution should be to manually add whatever those files are deployed via the wsp to the APP server as well.
    Scott

    Best practice states that Foundation Web runs on every server in the farm, as solutions must be built around the exception of not running Foundation Web on particular servers. You're encountering that issue, the solution wasn't built to accommodate for
    this type of architecture. There is little reason to not run Foundation Web on all servers, including performance.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Problem running a sample application in sun app server PE 8

    Hi,
    I am trying to run the petstore application with oracle 9i. It's a demo application that comes with app server. I set the classpath in the app server to the oracle driver files. I am able to deploy it successfully. But, when I run it it gives me this error:
    java.sql.SQLException: Error in allocating a connection. Cause: Class name is wrong or classpath is not set for : oracle.jdbc.xa.client.OracleXADataSource
    I am using oracle thin driver.
    Rgds,
    shipf1

    Yes, I am deploying the application as an ear.You would need to configure the JAR as a module within the EAR. If it is required only by a web app, you could add it to the WEB-INF/lib for the web app.

  • Using environment variable / double quotes in "Arguments" in "Server Start"

    I have an admin server, NodeManager, and 1 managed server, all on the same machine (windows). I am trying to enter something similar to this to the arguments field in the Server Start tab:
    -Dmy.property=%USERPROFILE%\someDir\someJar.jar
    But when the managed server is started it throws this exception:
    Error opening zip file or JAR manifest missing : %USERPROFILE%\someDir\someJar.jar
    It appears that the environment variable is not being translated into it's value. It is just passed on to the managed server as plain-text. I tried surrounding the path with double quotes (") but the console validates the input and does not allow this: *"Arguments may not contain '"'"*
    Even editing the config.xml file manually cannot work, as the admin server fails to startup after this:
    <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason: [Management:141266]Parsing failure in config.xml: java.lang
    .IllegalArgumentException: Arguments may not contain '"'.>
    I also tried using %20 to no avail, it is just passed as %20.
    I thought that perhaps this had something to do with the spaces in the value of %USERPROFILE% (which is "C:\documents and settings.."), but the same thing happens with other env. variables which point to other directories with no spaces.
    _My question:_
    Is there any supported way of :
    using double quotes? what if i have to reference a folder with spaces in it's name?
    reference an environment variable? What if i have to rely on it's value for distributed servers where i do not know in advance the variable's value?
    Edited by: 937622 on Sep 28, 2012 1:02 AM

    There is workaround : http://stackoverflow.com/questions/12629395/weblogic-using-environment-variable-double-quotes-in-arguments-in-server
    Just posting here for reference. Let's see if we get a different answer from anyone else.

  • App-V 5 package ignores environment variable included in virtual registry

    Hey all,
    I'm experiencing following problem with one of my virtual packages - it keeps ignoring system environment variable included in virtual registry.
    During sequencing, i've added system variable on the machine, sequencer picked it up and included in virtual registry. Variable is stored in following key (key set to merge):
    Machine\System\CurrentControlSet\Control\Session Manager\Enviroment\MyVariable
    When i install the application (with msi, packaged fully cached on the client) and i run the application, it fails with error. 
    Going into virtual environment of the package with cmd.exe /appvpid:<pid of application>  and checking
    SET command, i see that variable is stored, recognized and returned correctly:
    MyVariable=C:\ProgramData\App-V\5550C766-44C0-4E75-95F9-961EFDC04B8E\158980CE-20C3-4D2B-9763-B06616BF71D0\Root\BIN 
    Where C:\ProgramData\App-V\5550C766-44C0(..) is local cache copy of the application.
    There is a kind of workaround - application works properly when i set the variable in client's environment variables.
    It looks like App-V package completely ignores the variable from virtual registry as adding identical one to the client machine allows the application to run just fine.
    Has anyone similar experienced with their applications and would be able to point me in some directions where to look for the issue?
    Thanks,
    Marek

    All, 
    Sorry for the spam on this thread, here is the workaround (I use AD groups).  I configured this in the UserConfig.xml (remember to re-import via management console if used).
    The first shortcut called BMC Atrium Integrator Spoon.lnk is the default from sequencing, it does work via the sequencing machine and also launches from command prompt within the app-v environment, but does
    not work via the Windows startmenu.
    The second shortcut called BMC Atrium Integrator Spoon Test.lnk
    uses cmd.exe to fire off the spoon.bat (argument), this link works great native from the Windows Start-menu.
    <Shortcuts Enabled="true">
          <Extensions>
            <Extension Category="AppV.Shortcut">
              <Shortcut>
                <File>[{Common Programs}]\BMC Software\Atrium Integrator\BMC Atrium Integrator Spoon.lnk</File>
                <Target>[{AppVPackageRoot}]\client\data-integration\Spoon.bat</Target>
                <Icon>[{Windows}]\Installer\{D664641A-EC80-45F0-828E-22A1174C4537}\IconD664641A.ico.1.ico</Icon>
                <Arguments />
                <WorkingDirectory>[{AppVPackageRoot}]\client\data-integration\</WorkingDirectory>
                <ShowCommand>1</ShowCommand>
                <ApplicationId>[{AppVPackageRoot}]\client\data-integration\Spoon.bat</ApplicationId>
     </Shortcut>
    </Extension>
    <Extension Category="AppV.Shortcut">
    <Shortcut>
    <File>[{Common Programs}]\BMC Software\Atrium Integrator\BMC Atrium Integrator Spoon Test.lnk</File>
    <Target>[{System}]\cmd.exe</Target>
    <Icon>[{Windows}]\Installer\{D664641A-EC80-45F0-828E-22A1174C4537}\IconD664641A.ico.1.ico</Icon>
    <Arguments>/C [{AppVPackageRoot}]\client\data-integration\Spoon.bat</Arguments>
    <WorkingDirectory>[{AppVPackageRoot}]\client\data-integration\</WorkingDirectory>
    <ShowCommand>1</ShowCommand>
    <ApplicationId>[{System}]\cmd.exe</ApplicationId>
    </Shortcut>
     </Extension>
          </Extensions>
        </Shortcuts>

  • Server Properties environment Variables

    hi all
    i want to know what is job of append check box in server Properties environment Variables section
    Thnkax
    Asanka Priyanjith

    Hi,
    I'm also trying to install ETMv2.1.5, as part of that , I installed Oracle utilities Framework appliation and created environment. But when I tried to start up the environment with Tomcat 5.5.20 as a web server I'm getting below errors.
    ERROR (host.sockets.WindowsPipeSocket) Cannot instantiate com.splwg.base.support.cobol.host.sockets.WindowsPipeSocket because of problem loading a library com_splwg_base_support_cobol_host_sockets_WindowsPipeSocket during static initialization.
    java.lang.UnsatisfiedLinkError: no com_splwg_base_support_cobol_host_sockets_WindowsPipeSocket in java.library.path
    FATAL (support.context.ApplicationContext) Error initializing ApplicationContext
    - 11:11:04,968 [main] ERROR ([Catalina].[localhost].[]) Exception sending context initialized event to listener instance of class com.splwg.base.web.startup.SPLWebStartup
    Error initializing ApplicationContext
    The root LoggedException was: Cannot instantiate com.splwg.base.support.cobol.host.sockets.WindowsPipeSocket because of problem loading a library
    java.lang.UnsatisfiedLinkError: no com_splwg_base_support_cobol_host_sockets_WindowsPipeSocket in java.library.path
    your help is higly apprciated in this regard. kindly pls let me know the solution.
    thanks,
    Uday

  • How to accces environment Variables in app

    Hi, thanks for reding my post
    I have created in the OAS Portal a variable called PORTAL_HOME that points to the home of the Oracle Portal's OC4J. I want to access this variable for logging purposes.
    I tried to access it with ${PORTAL_HOME}, but it doesn't works...
    ¿What I'm doing wrong?

    Hi,
    You can set the environmet variable in Weblogic by using the below commands
    setWLSEnv.cmd/sh ==>Set the CLASSPATH to include the WebLogic Server classes.
    Overview of WebLogic Server Domains
    or you can use to set the Environment variable along with domain specific varables using the SetDomainEnv.cmd
    To run SetDomainEnv.sh in Linux please use
    . ./setDomainEnv.sh it require two dots (Dont miss it )
    http://docs.oracle.com/cd/E28280_01/web.1111/e13749/weblogicserver.htm#ADMRF205
    Hope it helps

Maybe you are looking for

  • HP slate 6 update 4.4 Kitkat

    Hello, I have a HP slate 6 voicetab and today I got a notification for a new update voor Android. I let the phone update, but now I can't use my phone anymore. It shows a screen with the 'HP' logo and coloured lines going around it. Sometimes the pho

  • PC Suite 6.86.9.0. What is ServiceLayer version?

    Dear new users of PC Suite 6.86.9.0. Please check and let us know what is ServiceLayer version used? I just do not want to get into the same trouble we had with ServiceLayer.exe version 6.85.91.18 Product version 3.3. (see /discussions/board/message?

  • ESS - New Window

    We have enabled launching HCM F&P by calling the ASR_PROCESS_EXECUTE Application in an iview When we open a Form, and click on the Role Tab, instead of opening in the same window, system is opening a new window. If we open a WDA screen / WD Java scre

  • Erro 1306

    New computer, but long time itunes and Ipod mini user. Downloaded itunes with no apparent difficulty. Clicked to run it, but hourglass flashed for a second, then no action. Repeated tries resulted in the same thing. Then, after disabling Norton and o

  • Color Changed when reading a Tiff Image

    I have created a ImageIcon of a tiff image by using the following code. but when reading some images the color is Mis-Matching BufferedImage bufImage = ImageIO.read( <tiff file path> ); JLabel jLabel= new JLabel(new ImageIcon(bufImage));whats the rea