Client username bring to application

I download HTMLDB example htmldb_w_mod_ntlm.zip and follow instructions configured http use mod_ntlm.
I copied file to <oracle_home>/apache/apache/modules
Add to my httpd.conf file
LoadModule ntlm_module modules/mod_ntlm.so
# Configuration for mod_ntlm
<IfModule mod_ntlm.c>
<Location /protected/>
AuthName "A Protected Place"
AuthType NTLM
NTLMAuth On
NTLMAuthoritative On
NTLMOfferBasic On
NTLMBasicPreferred
require valid-user
</Location>
</IfModule>
Stopped/Start HTTP.
For testing purpose in Apex application I created item like text field and source type is pl/sql function body:
begin
return OWA_UTIL.GET_CGI_ENV('REMOTE_ADDR');
end;
It is returns my computer IP. -- It is good.
When I changed pl/sql code to
begin
return OWA_UTIL.GET_CGI_ENV('REMOTE_USER');
end;
It is returns APEX_PUBLIC_USER
But I need username login to this computer.
What should I do?

John,
Thanks for the interest, I realized I should probably start me own thread;
Remote_user
Thanks,
Justin

Similar Messages

  • Storing chinese in client odb from java application

    Hi all,
    first i like to thank Greg Rekounas for his wonderful support and contribution....
    This is my server setup.
    os-windows 2000 sp4
    db-oracle 9ir2 (unicode with AL32UTF8 charset)
    lite-oracle10g r2 (with latest patchset)
    nls_lang- AMERICAN_AMERICA.AL32UTF8
    storing and retriving chinese in oracle 9i database from isql*plus works.
    lite configuration.
    1. In $OLITE_HOME\mobile_oc4j\j2ee\mobileserver\applications
    \mobileserver\setup\common\webtogo\webtogo.ora file edited the JAVA_OPTION
    to:
    JAVA_OPTION=-Djava.compiler=NONE -Dfile.encoding=UTF8
    2. In $OLITE_HOME\mobile_oc4j\j2ee\mobileserver\applications
    \mobileserver\setup\dmc\common\win32.inf file, added the following:
    a. In the <file> section, added the following:
    <item>
    <src>/common/win32/olilUTF8.dll</src>
    <des>$APP_DIR$\bin\olilUTF8.dll</des>
    </item>
    b. In the <ini> section, added the following:
    <item name='POLITE.INI' section='All Databases'>
    <item name="DB_CHAR_ENCODING">UTF8</item>
    </item>
    <item name='POLITE.INI' section='SYNC'>
    <item name="DB_ENCODING">UTF8</item>
    </item>
    published the application developed in java using packaging wizard.
    downloaded the client in the pc with the following config:
    windows 2000 (english)
    nls - default.
    installed chinese language support.
    tried to access 9i database from isql*plus and stored & viewed chinese characters sucessfully.
    tried to store a chinese character from java application in the client odb -- failed.
    values are getting inserted from the application but when i view them back it shows & # 2 6 0 8 5 ; (i have included a space in between all 8 characters.
    but when i copy this no and paste in msword it shows 日(chinese character)
    i dont know the exact reason for the above scenerio...................
    Also please help me on this too.......
    why can i store & view chinese characters sucessfully in isql*plus from the client machine while i cannot do the same on client odb from java application even though the lite config are done to support utf8?
    is anything i left out?
    should i do any codes changes in java?(java application is of verision jdk1.4_13)
    Thanks,
    Ashok kumar.G

    Sorry for late replay!! in the SharePoint server both the Claim based and Classic mode is enabled in the server, but still I want to get authenticated via Classic mode just like it happens in SharePoint  2007 and 2010, so do i have to use a different
    set of classes to do that if yes can you please tell me those ?

  • Using Notes and Oracle Client in the same application on Linux crashes

    This thread is copied from a thread of the same name under Database - General, since I cannot get any replies there.
    Could someone from Oracle PLEASE comment on this.
    Our application on Linux loads the Notes client libraries and then the Oracle client libraries. The application will crashes when connectimg to an Oracle server. This is because the T_* symbols in libnnz11.so get fixed up into libnotes.so rather than locally into libnnz11.so where the functions are defined.
    #10 0xb4779ea6 in T_malloc () from /opt/ibm/lotus/notes/libnotes.so
    #11 0xae7ca050 in CMP_reallocNoCopy ()
    from /opt/oracle/product/10.2/db_1/lib/libnnz11.so
    #12 0xae7ccf7b in CMP_OctetStringToCMPInt ()
    from /opt/oracle/product/10.2/db_1/lib/libnnz11.so
    #13 0xae7c91fd in A_X931RandomInit ()
    from /opt/oracle/product/10.2/db_1/lib/libnnz11.so
    #14 0xaec09e0d in ztcriv ()
    from /opt/oracle/product/10.2/db_1/lib/libclntsh.so.10.1
    #15 0xaec09cef in ztcrbp ()
    from /opt/oracle/product/10.2/db_1/lib/libclntsh.so.10.1
    #16 0xaec09ca4 in ztcr2seed ()
    from /opt/oracle/product/10.2/db_1/lib/libclntsh.so.10.1
    #17 0xaec09c54 in ztcrseed3 ()
    from /opt/oracle/product/10.2/db_1/lib/libclntsh.so.10.1
    #18 0xaeb40683 in ztcsh ()
    from /opt/oracle/product/10.2/db_1/lib/libclntsh.so.10.1
    #19 0xaea631c4 in kpusattr ()
    from /opt/oracle/product/10.2/db_1/lib/libclntsh.so.10.1
    #20 0xaea7847e in OCIAttrSet ()
    from /opt/oracle/product/10.2/db_1/lib/libclntsh.so.10.1
    #21 0xb081cb9f in COCIObject::Connect ()
    from /opt/criticalpath/common/bin/libor9i.so
    We have circumvented the problem for the time being by making sure that we load the Oracle libraries before Notes, but we cannot go with that as a long term solution.
    In my opinion the Oracle library is wrongly linked since all the T_* functions are defined in libnnz11.so. When we load Oracle first, the loader debug trace shows the correct fixups. When we load Notes first, the loader trace shows the incorrect fixups. We are using dlopen(libor9i.so, RTLD_LOCAL) for Oracle and dlopen(libnotes.so, RTLD_LOCAL) for Notes. libor9i.so has a dependency on libclntsh.so.10.1.
    An opinion would really be appreciated.
    Thanks,
    John Unsworth

    Thanks again.
    We don't have an Oracle support contract because we do not use Oracle ourselves. We supply an application that synchronises data between multiple data servers and server types, of which Oracle is one and Notes is another, as well as LDAP servers and many other types.
    Producing a full resolved binary is therefore not an option since the types of data server are configured when the apploication is installed, and then the client software for each server is loaded as required.
    The end user of the application supplies the client libraries and has a support contract for the servers, in particular Oracle and Notes in this case. So the other option is for the end user to raise a ticket using his support contract, but he is reluctant to do that since he considers that this is our problem as we supply the application that is having the problem. So we are in a dead water area. We do not want to take out a support contract just to get what is an Oracle product problem resolved. I imagine that this problem is something that has not been encountered before, because our use of the client library in conjunction with other client libraries is probably unusual.
    So that is why I am hoping, without any success so far, that someone from Oracle will pick this up.

  • Client/server vs. Application Server

    Our company has around 30 sites with each one having its own Oracle database server and file server (repository for executables of Forms6i/Reports6i). All the sites have the same applications running, i.e., the same set of programs are replicated to each site. At present we are running the applications in client/server mode (Forms6i/Reports6i runtime is installed on each client machine).
    We are also using some third party modules developed in VB/VC++.
    Now we are looking for the Centralized Solution, i.e., We want to have a Single Database Server available to all the sites all the sites are already linked with Network Leased lines).
    Now we want to know the impact of running centralized file server (located at Corporate Office site) accessible from all the sites (through same client/server mode).
    Will this solution work for us or we should move to 3-tier mode? Please suggest us the best feasible solution which can be implemented as early as possible.
    What I mean to ask in the question above is: if a good intranet connectivity is available among sites, what would be the better approach, client/server or n-tier?
    What actually would we gain by using application server in this context? Does the Data travelling is reduced from Database Server through to the Client Node in 3-tier AS approach? Does this 3-tier approach will reduce the Burden on Leased Lines? Does we gain more network resources available in 3-tier?
    What I think is that in client/server mode, the data is travelled from Database Server to Client Machine, but using Application Server, the Data from Database Server will travel upto Application Server and NOT to the Cleint machine (on browser etc.), hence reducing Network Load.
    Please clarify as your input makes a valuable role in our decision-making.

    Hello,
    I'll take a stab at this one...
    If you have enough network bandwidth, you should be fine funning in client/server mode. I have worked with clients with this same configuration. In addition to having a centralized DB, we have also centralized the forms on a network drive allowing users to access the same files and removing the need for users having to update their files locally. The biggest problem I see with this configuration, as long as you have enough band width, is that your configuration is not supported as 6i has been desupported.
    From my perspective you really don't have any choice but to upgrade your application so that you can be supported. The good news is that for the clients we have worked with upgrades have gone very smoothly. In fact recently we have started to partner with another vendor that has a tool specifically designed to upgrade Oracle Forms and it includes additional features above and beyond what you get from Oracle. This tool has drastically reduced the amount of time to complete upgrades (like going from a 2 year project to just a few weeks).
    I hate to answer this question because it is hard to answer without really getting into the details with you. The good news is once you do have a centralized DB and centralized application maintenance will be significantly easier.
    One last option you might consider that our company has done is to use Citrix. I've never used it for Oracle Forms, but for other client/server applications it has allowed out clients to web enabled their existing applications without changing them at all and also get a boost in performance. I wouldn't recommend this approach to you because what you have should be short term until you get your forms/reports upgraded.
    If you have any specific questions I can try and answer them for you. Good luck and let me know if I can be of any assistance.

  • How to get username in the application?

    Hi,
    Do anyone knows how to get username from the application, for example, oracle provides a function to retreive a username from application?
    Please Help
    Amy

    read about the following function, it is usefull for you.
    sys_context

  • Getting a client username

    Is it possible to have a jsp retrieve a clients username automatically (much like the java call System.getProperty("user.name"))?
    I know that I can use cookies for everything but my boss doesn't want to ever make a user log into the system. We are on a closed network so security isn't a major concern.
    Once I have the password, the JavaBean will handle retrieving the user password from a system file on the server. I just need to be able to get the username of the client machine.

    You'll need the latest JAAS.
    Every client will need to have at least the Java1.3 plugin running.
    http://java.sun.com/j2se/1.4.1/docs/guide/plugin/developer_guide/using_tags.html
    You'll write an applet and the applet will need to be signed. Not as hard as it sounds but I don't have the link.
    Here is the applet code:
    import java.applet.*;
    public class ntApplet extends Applet {
    private String userName = "NONE";
    public void init() {
          System.out.println("INIT");
          try {
               com.sun.security.auth.module.NTSystem ntSystem = new com.sun.security.auth.module.NTSystem();
               userName = ntSystem.getName();
               } catch (Exception e) { System.out.println("Error : " + e + "\n"); }
          System.out.println(">>>>" +  userName + "<<<");
         }//End Init
    public String getUserName() { return this.userName; }    
    }//End Class<P>
    Here is some sample HTML:
    <html>
    <head></head>
    <body onLoad="getName()" >
    HERE IS SOME TEXT BEFORE THE APPLET <P>
    <form name="form1">
    <input type=text name="name" value="XXXXXXXX">
    <button type="button" class="stdButton" onClick="getName()"><b>Clear</b></button>
    </form>
    X<applet
    codebase = "."
    code = "ntApplet.class"
    archive="ntApplet.jar"
    name = "ntApplet"
    width = "1"
    height = "1"
    hspace = "0"
    vspace = "0" MAYSCRIPT></applet>X
    <P>
    HERE IS SOME TEXT AFTER THE APPLET
    <P>
    </body>
    <html>
    <Script Language="JavaScript">
    function getName() { document.form1.name.value=document.ntApplet.getUserName(); }
    </Script>

  • Client/server socket based application

    hi does anyone have example of client/server socket based application using Spring and Maven
    where application do the following
    Client sends a request with a path to any file on the server
    „h Server reads the file and responds back with the content
    „h Client outputs the content to the console
    am trying to follow this
    http://www2.sys-con.com/itsg/virtualcd/java/archives/0205/dibella/index.html
    http://syntx.io/a-client-server-application-using-socket-programming-in-java/
    am using java 6

    i have attempt code but i wht to do the following
    client/server socket based application that will read the content of a file and stream the content of the file to the client. The client must simply output the content of the file to the console using System.out. The client must be able to run in a standalone mode (non-network mode) or in a remote mode.
    Additionally the client must be designed in a way that i can print the output to a console but must be interchangeable where if requirements change i can persist the response to file or persist the response to a database.
    /* Server.java*/
    ///ifgetBoolen= true then...
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import java.sql.*;
    public class Server
        static String array[][];
        // STEP 1 a1  
        // Server socket
        ServerSocket listener;
        // STEP 1 a2 Client connection
        Socket client;
        ObjectInputStream in;
        ObjectOutputStream out;
        public void createConnection() throws IOException
                System.out.println("\nSERVER >>> Waiting for connection.....");
                client = listener.accept();
                String IPAddress = "" + client.getInetAddress();
                DisplayMessage("SERVER >>> Connected to " + IPAddress.substring(1,IPAddress.length()));
          public void runServer()
            // Start listening for client connections
            // STEP 2
            try
                listener = new ServerSocket(12345, 10);
                createConnection();
                  // STEP 3
    //              processConnection();
            catch(IOException ioe)
                DisplayMessage("SERVER >>> Error trying to listen: " + ioe.getMessage());
        private void closeConnection()
            DisplayMessage("SERVER >>> Terminating connections");
            try
                if(out != null && in != null)
                      out.close();
                    in.close();
                    client.close();                
            catch(IOException ioe)
                DisplayMessage("SERVER >>> Closing connections");
        public static void define2DArray(ResultSet RS, int Size)
            try
                ResultSetMetaData RMSD = RS.getMetaData();
                DisplayMessage("SERVER >>> Requested arraySize: " + Size);
                if (RS.next())
                    array = new String[Size][RMSD.getColumnCount()];
                    for (int Row = 0; Row < Size; Row++)
                        for (int Col = 0; Col < RMSD.getColumnCount(); Col++)
                            array[Row][Col] = new String();
                            array[Row][Col] = RS.getString(Col+1);
                            DisplayMessage(array[Row][Col] + " ");
                        RS.next();
                else
                    array = new String[1][1];
                    array[0][0] = "#No Records";
            catch (Exception e)
                DisplayMessage("SERVER >>> Error in defining a 2DArray: " + e.getMessage());  
        public static void DisplayMessage(final String IncomingSMS)
            System.out.println(IncomingSMS);
    //client
    * @author
    import java.io.*;
    import java.net.*;
    import javax.swing.*;
    public class ClientSystem
        static Socket server;
        static ObjectOutputStream out;
        static ObjectInputStream in;
        static String Response[][];
        static boolean IsConnected = false;
        static int Num = 0;
        public static void connectToServer() throws IOException
            server = new Socket("127.0.0.1", 12345);
    //        server = new Socket("000.00.98.00", 12345);
            String IPAddress = "" + server.getInetAddress();
            DisplayMessage("\nCLIENT >>> Connected to " + IPAddress.substring(1,IPAddress.length()));
        public static void getStreams() throws IOException
            out = new ObjectOutputStream(server.getOutputStream());
            out.flush();
              in = new ObjectInputStream(server.getInputStream());
              IsConnected = true;
              DisplayMessage("CLIENT >>> Got I/O streams");  
        public static void runClient()
            try
                connectToServer();
                getStreams();
                  DisplayMessage("CLIENT >>> Connection successfull....\n");
                  DisplayMessage("CLIENT >>> Want to talk to server");
            catch (IOException ioe)
                System.out.print("."+Num);
                Num++;
        public static void closeConnection()
            try
                out.close();
                in.close();
                server.close();  
            catch(IOException error)
                DisplayMessage("CLIENT >>> Could not close connections");
        public static void Start()
            System.out.print("\nCLIENT >>> Attempting connection.....");
            try
                IsConnected = false;
                while (IsConnected == false)
                    runClient();
                    if (IsConnected == false)
                        Thread.sleep(100);
            catch (Exception e)
                DisplayMessage("CLIENT >>> Attempting connection.....");
        public static String sendSMS(String sms)
            Response = new String[0][0];
            try
                DisplayMessage("CLIENT >>> " + sms);
                out.writeObject(sms);
                out.flush();
                Response = (String[][])in.readObject();
                DisplayMessage("CLIENT >>> Waiting for server to respond...");
                for (int Row = 0; Row < Response.length; Row++)
                    System.out.printf( "_SERVER >>> \t");
                    for (int Col = 0; Col < Response[Row].length; Col++)
                        //DisplayMessage( "_SERVER >>> " + Response[Row][Col] + " ");
                        System.out.printf( "%s\t", Response[Row][Col]);
                    System.out.println();
                DisplayMessage("CLIENT >>> Query processed successfully....\n");
            catch(ClassNotFoundException cnfe)
                DisplayMessage("CLIENT >>> Class not found for casting received object");
            catch(IOException ioe)
                reConnect();          
            catch (Exception sqle)
                DisplayMessage("CLIENT >>> Error sending query ??? " + sqle.getMessage());
            return "transmission successfull";
        public static void reConnect()
            try
                DisplayMessage("CLIENT >>> Connection was lost. Trying to reconnect...");
                closeConnection();
                Thread.sleep(100);
                IsConnected = false;
                while (IsConnected == false)
                    runClient();
                    Thread.sleep(200);
            catch (Exception e)
                DisplayMessage("CLIENT >>> Error trying to Re-Connect...");
        public static void DisplayMessage(final String IncomingSms)
            System.out.println(IncomingSms);
        System.out.printf("Isms: %s", IncomingSms);  ///naah.
        public static String[][] getResponse()
            return Response;
        public static String getResponse(int row, int col)
            return Response[row][col];
    how can i do below using above code
    The program must be able to work in a non-networked mode. In this mode, the server and client must run in the same VM and must perform no networking, must not use loopback networking i.e: no “localhost” or “127.0.0.1”, and must not involve the serialization of any objects when communicating between the client and server components.
    The operating mode is selected using the single command line argument that is permitted.
    imust use a socket connection and define a protocol. networking must be entirely bypassed in the non-network mode.

  • Bring Open Application to Current Space

    Is there a way to bring an application to the current Space?
    Situation: I'm actively working in Space A and I need to access information from an application that is in another space, Space X. I can easily enough click on the icon in the doc to switch me to that space and application. However, I would like to option to bring that application to the current window.
    Has anybody out there come across a way to do this?

    There are several ways to move a window into another space. Here are two:
    In the all-spaces view (F8 by default), you can arrange windows into whatever space you want.
    Or... go to the window you want to move. Grab the title bar to move it and shift spaces (Control-Arrow, for example) while holding the window. The window will move along with you as you cycle through spaces.

  • Setting Username/Password in Application.cfm

    I'm just moving my DB from Access over to MSSql, and I'm
    having difficulty figuring out how to set a global
    username/password in Application.cfm.
    I am able to set the username and password within the
    individual queries (using username= and password=) but I'd like to
    set the username and password within application.cfm so I do not
    have to go and change each and every cfquery statement throughout
    my site.
    So, essentially, I'm looking to insert code int he
    Application.cfm which logs into the MSSQL server, so whenever a
    cfquery is executed, the db is already logged into.
    Thanks!
    Andrew

    You can set application variables for your user name and
    password within application.cfm, then use those variables in your
    cfquery and cfstoredproc tags. That will allow you to change the
    value in one place instead of having to do it everywhere. As for
    staying logged on to the server, you may want to consider checking
    the Maintain Connections option in your advanced settings for your
    particular data source in ColdFusion Administrator.
    Phil

  • Client Server Desktop Sharing Application

    I have made a client server Desktop Sharing application containing a java class for server and one for client, how can I deploy my java client bytecode at client's machine without installing JVM on that machine and not even going to the clients machine if we are connected in LAN.
    I want to start my client program on that machine as & when the OS starts, so, is there any way to start a bytecode (or exe ) as a windows service( I dont want an installer)? Please provide information if I can get this done by some other service/software and tell me its name too.
    Thanks for your reply (awaited)

    I have made a client server Desktop Sharing
    application containing a java class for server and
    one for client, how can I deploy my java client
    bytecode at client's machine without installing JVM
    on that machine and not even going to the clients
    machine if we are connected in LAN.Well this can be done if the server has access to the clients hard disk you can simply copy the files from the server. But not recamended
    I want to start my client program on that machine as
    & when the OS starts, so, is there any way to start a
    bytecode (or exe ) as a windows service( I dont want
    an installer)? Please provide information if I can
    get this done by some other service/software and tell
    me its name too.Search in google for JavaService it is a simple third party exe that can register java programs as background services
    Thanks for your reply (awaited)

  • Can't bring an application to focus

    This happens to me every once in a while (maybe a couple times a month). I'll click on an application window that is open and it won't come to the front or receive focus. If I click on the application icon that's in the doc it will open the Applications folder where the app lives, rather than bring that application to the front.
    The system isn't hung, no spinning ball, whatever application still has focus works fine and receives input etc. I just can't get anything new to be the frontmost application.
    I've found nothing consistent about what causes it, nor have I seen a pattern as to what the frontmost application happens to be when it occurs. Sometimes it's Mail, sometimes Safari, sometimes iTunes, etc. The only way to fix it is to reboot. Has anyone else seen anything like this?
    I'm running Tiger with the latest updates on a dual PPC G5 desktop.
    Thanks in advance.
    Ken

    I seem to have to same problem, although up until now it has only happened with the Finder.
    I have the problem on a iMacG5 PPC thats been running for little over 2 years, without any problems. And a few days ago I got a new MacBook and tonight the Finder didn't get focus when I clicked the icon on the dock!
    Really a weird problem. I've tried trashing the com.apple.finder.something file. I thought it helped, but it didn't.
    Any suggesting is appreciated.
    Marco

  • Building JAX-WS Clients for Oracle Cloud Applications

    Hello,
    We are looking for a tutorial on how to build JAX-WS clients for Oracle Cloud Applications using Eclipse and OEPE.
    Do you know if there is any document about this, or any document that can help us on this task.
    Thanks and regards,
    Gustavo.

    A JAX-WS web service client with OEPE would be the same for a cloud service.
    https://docs.oracle.com/cd/E15315_09/help/oracle.eclipse.tools.weblogic.doc/html/webservices/start.html
    For developing for Oracle Cloud refer
    https://apex.oracle.com/pls/apex/f?p=44785:24:100395514147349::NO::P24_CONTENT_ID%2CP24_PREV_PAGE:7026%2C2

  • Get client username

    hello can u help me how to retrieve the client username.don't want to use System.getProperty(user,name) becoz this gives me the user of the server. thks

    You can only get the client's username if the client chooses to make it available to you.
    If you know the client is going to be using an NT Domain account or a similar package, you can get it via JNDI. Considering that I can log into my Windows 2000 Pro computer without setting my NT Domain account, I think you should just ask the client for a username and password.

  • AppV 5.0 SP3 client can't publish application to users on Server 2012 R2 RDS environment

    Hi,
    When using SCCM to publish an AppV application to a user any user with a profile created within the last 2 weeks gets the below error in the SCCM logs.  This has only started happening within the last 2 weeks or so. This environment uses full User Profile
    Disks but the error occurs without UPD's being turned on also.
    I believe this is due to incorrect permissions on the %USERPROFILE%\AppData\Local\Microsoft\AppV\Client\VFS folder.  If the VFS folder is deleted the AppV client recreates it wiht the correct permissions and the application deploys successfully.
    The permissions on the default profile are correct(has permissions for TrustedInstaller, ALL APPLICATION PACKAGES, SYSTEM) but when a new profile is created the permissions are inherited from C:\users\USER (SYSTEM, USER,Administrators).  The Session
    Hosts are on a regular patching schedule so it is possible this was caused by an update.
    Our windows 7 laptop fleet are also patched regularly and do not have this problem with AppV 5.0 SP3.
    SCCM AppEnforce.log is as below(and will deploy if VFS folder is deleted).
    +++ Starting Install enforcement for App DT "7-Zip - Stream" ApplicationDeliveryType - ScopeId_D634FF58-E60C-42F0-B1F4-BE34FCC447D4/DeploymentType_54ae828d-6260-4ddc-8c60-c4890a8884da, Revision - 3, ContentPath - C:\Windows\ccmcache\7,
    Execution Context - Any    AppEnforce    18/02/2015 16:16:17    304 (0x0130)
        A user is logged on to the system.    AppEnforce    18/02/2015 16:16:17    304 (0x0130)
        Installing App-V 5.X package 7-Zip (DTId = ScopeId_D634FF58-E60C-42F0-B1F4-BE34FCC447D4/DeploymentType_54ae828d-6260-4ddc-8c60-c4890a8884da, Revision = 3)    AppEnforce    18/02/2015 16:16:17    304
    (0x0130)
    The AppV 5X client is configured for use with ConfigMgr.    AppEnforce    18/02/2015 16:16:17    304 (0x0130)
       Opened config file C:\Windows\ccmcache\7\7-Zip_UserConfig.xml for package [Id = 20c84446-3b80-4b2b-8495-f35ba7fb2acc] [Xml namespace=http://schemas.microsoft.com/appv/2010/userconfiguration].    AppEnforce    18/02/2015
    16:16:17    304 (0x0130)
    Running App-V command ["C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" -ExecutionPolicy Bypass import-module 'C:\Program Files\Microsoft Application Virtualization\Client\AppvClient\AppvClient.psd1';  Publish-AppvClientPackage
    -PackageID 20c84446-3b80-4b2b-8495-f35ba7fb2acc -VersionID c1e74b5b-a5c0-4d55-87cd-a7600322cfe9  -DynamicUserConfigurationPath 'C:\Windows\CCM\SystemTemp\AppVTempData\20c84446-3b80-4b2b-8495-f35ba7fb2acc_UserConfig.xml' -ev err; if(($err -ne $null) -and
    ($error[0].Exception.AppvWarningCode -eq 8589935887)) {$host.SetShouldExit(4736)}] for the  user    AppEnforce    18/02/2015 16:16:17    304 (0x0130)
        Executing Command line: "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" -ExecutionPolicy Bypass import-module 'C:\Program Files\Microsoft Application Virtualization\Client\AppvClient\AppvClient.psd1';  Publish-AppvClientPackage
    -PackageID 20c84446-3b80-4b2b-8495-f35ba7fb2acc -VersionID c1e74b5b-a5c0-4d55-87cd-a7600322cfe9  -DynamicUserConfigurationPath 'C:\Windows\CCM\SystemTemp\AppVTempData\20c84446-3b80-4b2b-8495-f35ba7fb2acc_UserConfig.xml' -ev err; if(($err -ne $null) -and
    ($error[0].Exception.AppvWarningCode -eq 8589935887)) {$host.SetShouldExit(4736)} with user context    AppEnforce    18/02/2015 16:16:17    304 (0x0130)
        Process 4028 terminated with exitcode: 1    AppEnforce    18/02/2015 16:16:18    304 (0x0130)
    Here is the error message generated by the process:
    Publish-AppvClientPackage : Application Virtualization Service failed to complete requested operation.
    Operation attempted: Publish AppV Package.
    AppV Error Code: 040000002C.
    Error module: Virtualization Manager. Internal error detail: 4FC090040000002C.
    Please consult AppV Client Event Log for more details.
    At line:1 char:106
    + import-module 'C:\Program Files\Microsoft Application Virtualization\Client\Appv ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidResult: (:) [Publish-AppvClientPackage], ClientException
        + FullyQualifiedErrorId : PublishPackageError,Microsoft.AppV.AppvClientPowerShell.PublishAppvPackage
        AppEnforce    18/02/2015 16:16:18    304 (0x0130)
    AppV command ["C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" -ExecutionPolicy Bypass import-module 'C:\Program Files\Microsoft Application Virtualization\Client\AppvClient\AppvClient.psd1';  Publish-AppvClientPackage -PackageID
    20c84446-3b80-4b2b-8495-f35ba7fb2acc -VersionID c1e74b5b-a5c0-4d55-87cd-a7600322cfe9  -DynamicUserConfigurationPath 'C:\Windows\CCM\SystemTemp\AppVTempData\20c84446-3b80-4b2b-8495-f35ba7fb2acc_UserConfig.xml' -ev err; if(($err -ne $null) -and ($error[0].Exception.AppvWarningCode
    -eq 8589935887)) {$host.SetShouldExit(4736)}] failed with return code 1.    AppEnforce    18/02/2015 16:16:18    304 (0x0130)
    AppVCommandUtil::RunAppVCommand() failed. (0x87d0128f)    AppEnforce    18/02/2015 16:16:18    304 (0x0130)
    AppVManageClient5X::PublishAppVPackage() failed for package [20c84446-3b80-4b2b-8495-f35ba7fb2acc]. (0x87d0128f)    AppEnforce    18/02/2015 16:16:18    304 (0x0130)
    CAppV5XHandler::PublishSpecifiedAppVComponents() failed. (0x87d0128f)    AppEnforce    18/02/2015 16:16:18    304 (0x0130)
    CAppV5XHandler::PublishAppVComponentsForDT() failed. (0x87d0128f)    AppEnforce    18/02/2015 16:16:18    304 (0x0130)
        CAppV5XHandler::InstallApp() failed. (0x87d0128f)    AppEnforce    18/02/2015 16:16:18    304 (0x0130)
    ++++++ App enforcement completed (1 seconds) for App DT "7-Zip - Stream" [ScopeId_D634FF58-E60C-42F0-B1F4-BE34FCC447D4/DeploymentType_54ae828d-6260-4ddc-8c60-c4890a8884da], Revision: 3, User SID: S-1-5-21-924973937-481717530-2175923625-9537]
    ++++++    AppEnforce    18/02/2015 16:16:18    304 (0x0130)
    Thanks

    Hi,
    Did you mean that this issue happened after the RD Session Hosts are on a regular patching schedule?
    In addition, since the permissions for the new created profile are inherited from C:\users\USER, you can disable inherited permissions for that folder to see if the issue persists.
    Best regards,
    Susie
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Adding a WebService Client to a Web Application

    Hi, Everybody,
    I built a Bepl Module in which I had a ECHO WebService and the response parameter is a complex type.
    Then I built a Web application, and used the WSDL file to add a WebService Client to a this Web Application,
    but I found that the WebService Referrence dose not contain any method, so I could not add it in my jsp page.
    But when I changed the Response Message Part Type into a simple one, everything worked fine.
    *All the progress is the same as " [Using a Manually Created WSDL as a Web Service Client|https://open-esb.dev.java.net/kb/v2/javaeesetut.html] ", but change the simple type into complex type.*
    I want to know if the WebService Client Referrence dose not support generating java code which contains complex type or I had a wrong operation?
    thanks

    There are current limitations with the wsimport functionality and an issue has been logged.
    If you have a look at the blog entry from Andrew Hopkinson.....
    [http://blogs.sun.com/toxophily/entry/javacaps_tip_migrating_a_simple]
    ...you'll see part way down what the WSDL must look like to work with wsimport, i.e.....
    Message parts must be created using an Element rather than a specific type and the element must be defined in a local in-line schema.
    This in-line element can only contain a sequence with a single sub-element of a specific Complex Type.
    The name of the input element must be the same as the operation it will be used in.
    nillable element option should not be used because this will cause your strings to be returned as JAXBElements and not Strings.
    ...etc....
    Bit painful I know, but this is the only workaround until the bug is fixed.

Maybe you are looking for

  • One shared mailbox with multiple distribution groups connected and the sent items folder - how to configure?

    Hi! I have been struggling for a while now with the following issue. For starters: We are using exchange 2010 in combination with outlook 2013 on client computers. Cause of the limitations concerning the number of mailboxes in outlook im looking for

  • Found error while Deploying office 365 through SCCM.

    Hello Experts, We are currently working to deploy office 365 through SCCM but on client system it failed to installed. found error in AppEnforce.log file. Please help to resolved the error.

  • UC on C210 Westmere starter kit

    Hi guys, I have a customer who already posses a couple of Cisco UCS C210 M2 servers based on preconfigured starter kits ( 2 x X5650, 48Gb RAM, 2 x 146 HDD) and IBM SAN storage. We were planning to deploy Unified Communications following the UC on UCS

  • Incoming calls doesn't show on ios 5.0.1 on iPhone 4s

    I bought iPhone 4s yesterday at T-Mobile Montengro, and I'm having problem with incoming and outgoing calls. All calls are show as number (not names from contacts) in Recants lists, and all incoming calls are the same. I have all my contacts stored i

  • Solaris 7 install 'no disk found'

    Good day, I'm trying to install Solaris 7 on a Sun Ultra5. However it gets part way through the install then it displays an error message "'no disks found' - please check that all disks are cabled and powered". I have tried a couple of different disk