Remove # from string

hello,
  I've got the following problem
  I receive an xml string with some '#' characters and would like to remove them
  I know that replace ... '#' doesn't work because it's not actually the char '#' that should be removed but it's a
  hexadecimal character (I think it's a blanc)
  any ideas on how to do this ? 
regards

Hi,
symbol is used for new line carried feed variable. It can be replaced with the following code.
Replace all occurances of CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB in string with space
or
Replace all occurances of CL_ABAP_CHAR_UTILITIES=>NEWLINE in string with space.
Regards,
Vik

Similar Messages

  • Removing binary characters/ special chrs from string entered by user

    Dear gurus,
    I have a string entered by users in database from where i am pulling data into SAP BW.
    Th problem is that the string contains binary characters. It is showing error and cant be upoaded
    Is there any function module/ code that removes binary data an special chrs from string??
    Pls help. thanks.

    Hi,
    U can use the Tcode:  RSKC,
    to allow the special charecters...
    otherwise if u r sure that u r facing only that type of errors..then u can allow the
    errors in ERROR HANDLING tab present in the infopackage screen < Update tab
    bye,
    sunil4points

  • Removing non-numeric characters from string

    Hi there,
    I need to have the ability to remove non-numeric characters from a string and I do not know how to do this.
    Does any one know a way?
    Example:
    Present String: (02)-2345-4607
    Required String: 0223454607
    Thanks in advance

    Dear NickM
    Try this this will work...........
    create or replace function char2num(mstring in varchar2) return integer
    is
    -- Function to remove Special characters and alphebets from phone no. string field
    -- Author - Valid Bharde.(India-Mumbai)
    -- Date :- 20 Sept 2006.
    -- This Function will return numeric representation.
    -- The Folowing program is gifted to NickM with respect to his post on oracle site regarding Removing non-numeric characters from string on the said date
    mstatus number :=0;
    mnum number:=0;
    mrefstring varchar2(50);
    begin
    mnum := length(mstring);
    for x in 1..mnum loop
    if (ASCII(substr(upper(mstring),x,1)) >= 48 and ASCII(substr(upper(mstring),x,1)) <= 57) then
    mrefstring := mrefstring || substr(mstring,x,1);
    end if;
    end loop;
    return mrefstring;
    end;
    copy the above program and use it at function for example
    SQL> select char2num('(022)-453452781') from dual;
    CHAR2NUM('(022)-453452781')
    22453452781
    Chao!!!

  • How to remove the comma from string

    Hi,
    I Have string like below :
    String some1="123,44.22";
    I want to remove comma from string and final output should be 12244.22.
    public class getOut{
    public static void main(String args[]){
    String some1="123,44.22";
    getChars(int 0,some1.length(),char[] dst,0);
    can somebody in the forum give me idea how to remove comma from the String and
    have a string without comma.
    Thanks
    Jack

    int idx = oldString.indexOf(',');
    if(idx >= 0)   
          newString = oldString.substring(0, idx) + oldString.substring(idx + 1);or for jdk 1.4 and later
    str = str.replaceAll(",", "");

  • Best way to remove apostrophe from string when loadiing

    Hi using an insert statement to load data some apostrophe's in string .
    We need to ensure all aposrophe's removed from such strings on loading/.
    What is best way to achive ethis.
    Uisng 11.2.0.3
    Thanks

    Use replace fucntion
    Please post ur DDL and DML for the table
    For examples you can see this
    how do i replace  single quotes in a string with say  ''  or null
    select replace('ab''''''''cd','''',' ') from dual;
    CREATE TABLE my_table
         istrng  varchar2(33)
    insert into my_table
    select replace('ab''''''''cd','''',' ') from dual;Please mark your questions as answered
          user5716448     
    Handle:      user5716448 
    Status Level:      Newbie
    Registered:      Mar 16, 2010
    Total Posts:      343
    Total Questions:      131 (80 unresolved)Edited by: Rahul India on Jan 29, 2013 6:04 PM

  • Remove "&" charachter from string

    Hi,
    Please inform me how can i remove the & from string.
    i try this but not working.
    SELECT REGEXP_REPLACE(’raise the level of &performance, creativity',’&','') COL1 FROM DUAL;
    Also i want to remove any special character from statement.
    many thanks

    Ayham wrote:
    i try this but not working.
    SELECT REGEXP_REPLACE(’raise the level of &performance, creativity',’&','') COL1 FROM DUAL;Are you getting any error?
    SQL> set define off
    SQL> SELECT REPLACE('raise the level of &performance, creativity','&') COL1
      2  FROM DUAL;
    COL1
    raise the level of performance, creativity>
    Also i want to remove any special character from statement.
    Search the forum..
    Sample:Re: How to find Special Characters in a single query
    Edited by: jeneesh on Sep 17, 2012 12:26 PM

  • Removal of String from JTextArea

    Does anyone know how to remove a string from a JTextArea. The folowing do not work
    t1.remove(s1);
    t1.delete(s1);
    t1 being the text area and s1 the string

    Hello,
    If you want to "clear" the string, it's "setText("")".
    If you want do remove part of the string, its a little bit more complex ...
    String temp = getText();
    remove the string from the temp String
    setText(temp);
    I hope this help

  • Fastest way to remove html tags except url in href from string using java

    Hi All,
    Please suggest the, fastest way to remove html tags (stripe) except url in href of an anchor tag from string using java.
    Please help me with the best solution as I use parser but it's taking time to remove the html tags from string of file.
    I want the program should give the performance as 1 millisecond for 2kb file.
    Please help me out... Thanks in advance

    Hi,
    how can I replace the anchor tag in a string, by the url in the href of that anchor tag by using jsoup,
    e. g.
    <code>
    suppose input text is :
    test, string using, dsfg, 1:14 PM, < a t a r ge t="_ablank" s t y l e = " color: red" h r e f = " h t t p : / / t e s t u r l . c o m / i n d e x . j s p ? a = 1 2 3 4 " > s u p p o r t < / a >, s c h e d u l a r t a g , < a t a r g e t = " _ vbblank " s t y l e = " c o l o r : g r e e n " h r e f = " h t t p : / / t e s t u r l g r e e n . c o m / i n d e x . j s p ? a = a s d f a s df 4 " > s u pp o r t r e q < / a > a s d f pq r
    then out put text should be :
    test, string using, dsfg, 1:14 PM, http://testurl.com/index.jsp?a=1234, schedular tag, http://testurlgreen.com/index.jsp?a=asdfasdf4 asdf pqr
    </code>
    Please help at the earliest..
    Thanks in advance
    as this text editor is not supporting html anchor tag the example is not displaying correctly
    Edited by: 976815 on Dec 17, 2012 5:17 AM

  • How to remove new line from string

    I have a string say following
    String line = "one\ntwo\nthree";Now i am trying to remove new line from string. For this i did following
    String txt = line.replaceAll("\\n","");But i see still new line is occuring. Is it correct way. Please advice me.

    Ok. I was just using \n instead of \r\n. And i am in windows. I will give a try with \r\n
    Ok i tried using following , but it doesnt work.
    line = line.replaceAll("\\r\n","");Am i missing anything here. Please guide me.
    Edited by: ArpanaK on Oct 8, 2007 4:44 PM

  • Removing from an FTP server

    Hey Guys,
    Say you have an image or file you want to remove from an FTP server, what method would you use in the FTPClient? the deleteFile(String arg)?
    Thanks,
    ArchBytes

    If you are using Apache Commons net API the answer is yes.
    Provided the login which you have used has respective permissions to do that.
    for more info please refer the API.
    http://commons.apache.org/net/api/org/apache/commons/net/ftp/FTPClient.html

  • Workflow 2013 is not removed from library after retract

    Hello.
    I created a test workflow 2013 in VS 2013, while adding this workflow to the project I selected document library for it and also selected pre-created tasks and history lists.
    I deployed the worklow from VS project menu, then started it manually in the library, worflow completed successfully.
    After it I called "Retract" from VS project menu, it completed without errors, but teh workflow stayed in library. Then I deployed it again, went to the library workflow settings, removed the workflow, retracted it again using VS project menu.
    But, now when I go to library - workflow setings - add workflow, I still can see there my workflow option (though the solution is retracted and feature is removed from site collection).
    What should I do to remove it?

    OK, here are the log entries for solution deploy and retract:
    Updating SPPersistedObject SPFeatureDefinition Name=FeatureDefinition/15/90531efa-67c7-45e6-8272-a061cc856924. Version: -1 Ensure: False, HashCode: 21145693, Id: 643508a2-1da2-4b52-99d5-1855c34bbee6, Stack: at Microsoft.SharePoint.Administration.SPPersistedChildCollection`1.Add(T newObj, Boolean ensure) at Microsoft.SharePoint.Administration.SPFeatureDefinitionCollection.AddCore(SPFeatureDefinition featdef, SPSite site, String solutionHash, Boolean fForce, Boolean fDoValidation, String pathToFeatureAndElementManifestXsdFile) at Microsoft.SharePoint.Administration.SPFeatureDefinitionCollection.AddInternal(String relativePathToFeatureManifest, Int32 compatibilityLevel, String pathToFeatureAndElementManifestXsdFile, Guid solutionId, String solutionHash, SPSite site, Boolean force, Boolean fDoValidation, SPFeatureDefinitionContext featureDefinitionContext) at Microsoft.SharePoint.Administration.SPSolutionPackage.AddFeatureDefinitions(SPFeatureDefinitionCollection featdefCollection, SPFeatureDefinitionContext context, Boolean force, SPSite site, SPWeb web, Int32 compatibilityLevel) at Microsoft.SharePoint.Administration.SPUserCodeSolutionPackage.AddFeatureDefinitions(SPSite site, SPWeb web, Boolean force, SPUserSolution solution) at Microsoft.SharePoint.SPUserSolutionCollection.<>c__DisplayClass7.<AddOrUpgrade>b__6() at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode) at Microsoft.SharePoint.SPUserSolutionCollection.AddOrUpgrade(SPUserCodeSolutionPackage solutionPackage, Int32 solutionGalleryItemId, SPUserSolution existingSolution) at Microsoft.SharePoint.SPUserSolutionCollection.AddOrUpgrade(SPListItem item, SPUserSolution existingSolution) at Microsoft.SharePoint.SPUserSolutionCollection.Add(Int32 solutionGalleryItemId) at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Delegate.DynamicInvokeImpl(Object[] args) at Microsoft.VisualStudio.SharePoint.Commands.SharePointCommand.Execute(SharePointContext sharePointContext, CommandFlags flags, Byte[] serializedParameter, ISharePointCommandLogger logger) at Microsoft.VisualStudio.SharePoint.Commands.CommandManager.ExecuteCommand(SharePointContext sharePointContext, String commandId, CommandFlags flags, Byte[] messageBody) at Microsoft.VisualStudio.SharePoint.Commands.RemoteCommandService.ExecuteCommand(String commandId, CommandFlags flags, Byte[] messageBody)
    Feature Installation: Installing Feature 'TestWorkflows_Feature1' (ID: '90531efa-67c7-45e6-8272-a061cc856924') into the farm.
    Entering monitored scope (Feature Installation: Installing Feature 'TestWorkflows_Feature1' (ID: '90531efa-67c7-45e6-8272-a061cc856924') into the farm.). Parent No
    Feature Installation: Calling FeatureInstalled method for Feature 'TestWorkflows_Feature1' (ID: '90531efa-67c7-45e6-8272-a061cc856924', Compatibility Level: 15).
    Leaving Monitored Scope (Feature Installation: Installing Feature 'TestWorkflows_Feature1' (ID: '90531efa-67c7-45e6-8272-a061cc856924') into the farm.). Execution Time=0.163841146451115
    Feature Activation: Activating Feature 'TestWorkflows_Feature1' (ID: '90531efa-67c7-45e6-8272-a061cc856924') at URL http://devsrv.
    Calling 'FeatureActivated' method of SPFeatureReceiver for Feature 'TestWorkflows_Feature1' (ID: '90531efa-67c7-45e6-8272-a061cc856924').
    Feature Activation: Feature 'TestWorkflows_Feature1' (ID: '90531efa-67c7-45e6-8272-a061cc856924') was activated at URL http://devsrv.
    Leaving Monitored Scope (Feature Activation: Activating Feature 'TestWorkflows_Feature1' (ID: '90531efa-67c7-45e6-8272-a061cc856924') at URL http://devsrv.). Execution Time=1961.3532869094
    Feature Deactivation: Deactivating Feature 'TestWorkflows_Feature1' (ID: '90531efa-67c7-45e6-8272-a061cc856924') at URL http://devsrv.
    Calling 'FeatureDeactivating' method of SPFeatureReceiver for Feature 'TestWorkflows_Feature1' (ID: '90531efa-67c7-45e6-8272-a061cc856924').
    Feature Deactivation: Feature 'TestWorkflows_Feature1' (ID: '90531efa-67c7-45e6-8272-a061cc856924') was deactivated at URL http://devsrv.
    Feature Uninstallation: Uninstalling Feature 'TestWorkflows_Feature1' (ID: '90531efa-67c7-45e6-8272-a061cc856924') from the farm.
    Entering monitored scope (Feature Uninstallation: Uninstalling Feature 'TestWorkflows_Feature1' (ID: '90531efa-67c7-45e6-8272-a061cc856924') from the farm.). Parent No
    Feature Installation: Calling FeatureUninstalling method for Feature 'TestWorkflows_Feature1' (ID: '90531efa-67c7-45e6-8272-a061cc856924', Compatibility Level: 15).
    Leaving Monitored Scope (Feature Uninstallation: Uninstalling Feature 'TestWorkflows_Feature1' (ID: '90531efa-67c7-45e6-8272-a061cc856924') from the farm.). Execution Time=0.0583684084232099
    Deleting the SPPersistedObject, SPFeatureDefinition Name=FeatureDefinition/15/90531efa-67c7-45e6-8272-a061cc856924.
    Looks OK.

  • Scan from string error 85

    Hi Everybody,
    I'm trying to use LabView to
    process some data.  The data, although it was collected via labview,
    has been written out to csv file format.  I have been able to
    successfully open the file and use the search split string function to
    remove the "header" from the data stream.  Now I'm trying to parse the
    header to extract some pieces of the info that is there.  I'm trying to
    do this with the Scan from String VI.  
    So
    far I've been able to retrieve the Specimen ID from the first line of
    the header by setting the format string input of Scan from String as
    "Specimen ID ,%s", which works just fine.  Problem is, when I
    adjust
    the format string to include the next piece of data I want, I
    inevitably get an Error 85, which is a failed scan.  In fact, I
    get an err85 every time I try to extract something from after the
    second line.  I've attached a VI in which I cut and pasted an
    example header string in as a string constant and an example of how I'm
    trying to extract the values.  I've tried playing around with
    spaces and different formats, but get the err85 no matter what I do
    (unless I extract the first line).  I have a hunch that it has
    something to do with the EOL marker, but no idea how to work around it.
    A search of posts here show that a lot of people have issues with the
    scan from string vi, but nobody I could find had this exact
    problem.  I've also considered using the spreadsheet spring to
    array function, but because I have a mix of commas and EOLs it doesn't
    seem to work either. HELP! I really don't want to have to write this
    over in VBA/Excel.
    Thanks,
    Turk
    Message Edited by YoungTurk on 07-29-2005 10:36 AM
    Attachments:
    Scan.vi ‏12 KB

    You should probably parse it line by line (See attached, LabVIEW 7.1)..
    The attached example shows one possibility to get all the Items and values out. Not all values are strictly numeric so you would need to adapt the code a little bit. (This is just a very rough 1 minute draft).
    You might want to cosider to extract all values into a cluster for further processing, Have a look at the example  posted in this thread . It can be easily adapted to read the values in the proper format (DBL, I32, Date, String, etc.) depending on the item name.
    Good luck!
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    ScanMOD.vi ‏30 KB

  • Remove from Main Window

    Hi all,
    I'm having some trouble removing text from labels in my main window.
    I have a main window which has a JMenuBar. On the MenuBar I have a options > file> Remove Menu Item.
    When I select the Remove Menu Item, a Remove Dialog opens up with a JList and a Remove button.
    The JList is populated by a column (queueName) from my table "testtable".
    When I select a particular entry from the Jlist and click "Remove" the entry is removed from the list and my database but not from my main window.
    How can i go about removing entry from my main window??
    Here is the necessary code:
    public class MainWindowClass extends JFrame implements ActionListener {   
        private JPanel prodEastPanel;
        private JPanel prodPanel;
        private JPanel prodWestPanel;
        private JMenuBar menuBar = null;
        private JMenu fileMenu,  optionsMenu = null;
        private JMenuItem exitMI,  removeMI = null;
        JLabel[] prdLabelArray = new JLabel[12];
        ArrayList rec = new ArrayList();
        DBConnection dbc = new DBConnection();
        public MainWindowClass() {
            initComponents();
        private void initComponents() {
            prodPanel = new JPanel();
            prodWestPanel = new JPanel();
            prodEastPanel = new JPanel();
            for (int i = 0; i < prdLabelArray.length; i++) {
                prdLabelArray[i] = new JLabel("");
            menuBar = new JMenuBar();
            fileMenu = new JMenu("File");
            optionsMenu = new JMenu("Options");
            removeMI = new JMenuItem("Remove");
            removeMI.addActionListener(this);
            exitMI = new JMenuItem("Exit");
            exitMI.addActionListener(this);
            fileMenu.add(optionsMenu);
            optionsMenu.add(removeMI);
            fileMenu.add(exitMI);
            menuBar.add(fileMenu);
            setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
            getContentPane().setLayout(new GridLayout(1, 0));
            prodPanel.setBackground(new Color(255, 255, 255));
            prodPanel.setLayout(new GridLayout(0, 2));
            prodWestPanel.setBackground(new Color(255, 255, 255));
            prodWestPanel.setLayout(new GridLayout(6, 0));
            prodPanel.add(prodWestPanel);
            prodEastPanel.setBackground(new Color(255, 255, 255));
            prodEastPanel.setLayout(new GridLayout(6, 0));
            prodPanel.add(prodEastPanel);
            getContentPane().add(prodPanel);
            for (int l = 0; l < prdLabelArray.length; l++) {
                if (l % 2 == 0) {
                    prodWestPanel.add(prdLabelArray[l]);
                    prdLabelArray[l].setHorizontalTextPosition(SwingConstants.LEFT);
                } else {
                    prodEastPanel.add(prdLabelArray[l]);
                    prdLabelArray[l].setHorizontalTextPosition(SwingConstants.RIGHT);
            dbc.startConnection();
            rec = dbc.selectData();
            Iterator it = rec.iterator();
            while (it.hasNext()) {
                Store_DB_Data sd = (Store_DB_Data) it.next();
                if (sd.getQDescription().equals("PROD")) {
                    for (int i = 0; i < prdLabelArray.length; i++) {
                        if (prdLabelArray.getText() == "") {
    prdLabelArray[i].setText(sd.getQName().toUpperCase());
    break;
    dbc.closeSelect();
    setJMenuBar(menuBar);
    setTitle("Monitor");
    setSize(900, 500);
    MainWindowCloser brkWindowCloser = new MainWindowCloser();
    this.addWindowListener(brkWindowCloser);
    setVisible(true);
    pack();
    public MainWindowClass(String st, String st2) {
    initComponents();
    public void actionPerformed(ActionEvent ae) {
    Object source = ae.getSource();
    if (source == exitMI) {
    System.exit(0);
    if (source == removeMI) {
    new RemoveLabel();
    class MainWindowCloser extends WindowAdapter {
    public void windowClosing(WindowEvent we) {
    public static void main(String args[]) {
    java.awt.EventQueue.invokeLater(new Runnable() {
    public void run() {
    new MainWindowClass().setVisible(true);

    import java.io.Serializable;
    public class Store_DB_Data implements Serializable {
        private String qName;
        private String qDescription;
        public Store_DB_Data(String qName, String qDescription) {
            this.qName = qName;
            this.qDescription = qDescription;
        public String getQName() {
            return qName;
        public String getQDescription() {
            return qDescription;
        public void setQName(String quName) {
            qName = quName;
        public void setQDescription(String quDescription) {
            qDescription = quDescription;
    public class DBConnection {
        private Connection conn = null;
        private Statement stat = null;
        private ResultSet rs = null;
        public static String queueName;
        public static String description;
        public void startConnection() {
            try {
                Class.forName("com.mysql.jdbc.Driver");
                System.out.println("Registered Driver");
            } catch (ClassNotFoundException ex) {
                ex.printStackTrace();           
            try {
                String userID = "";
                String psw = "";
                String url;
                url = "jdbc:mysql://localhost:3306/mqnames";
                conn = DriverManager.getConnection(url, userID, psw);
                stat = conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,
                        ResultSet.CONCUR_READ_ONLY);
            } catch (SQLException ex) {
                ex.printStackTrace();
        public ArrayList selectData() {
            ArrayList data = new ArrayList();
            try {
                String selectData = "SELECT queueName, description FROM testtable";
                rs = stat.executeQuery(selectData);
                while (rs.next()) {
                    queueName = rs.getString("queueName");
                    description = rs.getString("description");
                    data.add(new Store_DB_Data(queueName, description));
            } catch (SQLException e) {
                e.printStackTrace();
            return data;
        public void closeSelect() {
            try {
                rs.close();
                stat.close();
                conn.close();
            } catch (SQLException e) {
                e.printStackTrace();
        public void deleteData(String removeName) {
            try {
                System.out.println("qName: " + removeName);
                stat = conn.createStatement();
                String deleteData = "DELETE FROM testtable WHERE queueName ='" + removeName + "'";
                int deleteCount = stat.executeUpdate(deleteData);           
                stat.close();
                conn.close();
                System.out.println("Connection for delete is closed");
            } catch (SQLException e) {
                e.printStackTrace();
        public ArrayList removeList() {
            ArrayList rData = new ArrayList();
            String names = new String();
            try {
                rs = stat.executeQuery("SELECT queueName FROM testtable");
                while (rs.next()) {
                    names = rs.getString("queueName");
                    System.out.println("rs: " + names);
                    rData.add(new RemoveData(names));
                rs.close();
            } catch (SQLException e) {
            return rData;
    }

  • Remove  "  from file

    Hallow Im doing a batch input from file csv (comma dilmeted) In the file I have company that ok and company name with before and after the company name word <b>''</b>    how can I get rid of  from that . just<b> ''</b> before and after the company name .
    *--table with data from file(csv)--
      LOOP AT itab1.
        SPLIT itab1 AT ',' INTO:
           itab-osek_morsh
           <b>itab-company_name</b>
           itab-company_code.
        APPEND itab.
      ENDLOOP.

    Hi Antonio ,
    Now what i understand is that some companies may have " at begining , some may have at end , some may have both and some none .
    So your requirement is that if there is a " as the first char or last then we need remove it , for all other cases it is not required.
    If my understanding is correct , here is the code which gives the desired result
    * Selection Screen
    parameters : p_string type string .
    start-of-selection.
    DATA : t_result type  MATCH_RESULT_TAB. " Internal table
    data : v_string type i .
    v_string = strlen( p_string ).   " Get the lenght of string
    * get the offset of all occurances of " in your string
    FIND ALL OCCURRENCES OF '"' IN P_STRING RESULTS T_RESULT.
    v_string = v_string - 1.  " Here the offset start with zero
    * Check if last char is "
    read table t_result with key OFFSET = v_string transporting NO FIELDS .
    if sy-subrc = 0.
    " If yes remove if from string
    p_string = p_string+0(v_string).
    endif.
    *Check if the first char is "
    read table t_result with key OFFSET = '0' transporting NO FIELDS .
    if sy-subrc = 0.
    * if yes replace with space
      replace '"' in p_string with ' '
    endif.
    Check if this serves your purpose , if not please tell what is the concern you have.
    Thanks
    Arun

  • What could cause a server to be removed from the farm other than running PSConfig and removing it?

    Hi,
    We had a strange issue today.  One of our two production WFE servers in our SP2010 farm had become disconnected from the farm. I noticed it because I had created a new site collection within an existing web site last week but it was only available on
    one WFE. I didn't think for one second that the server had already been removed from the farm but I had decided I would remove it and re-add it to see if that would fix the issue.  When I ran PSConfig to remove it I found the following:
    I checked the log:
    Entering function WelcomeForm.TryToLoadTheFarm
    Found a task by the name of initialize in the task collection
    Entering function Farm.Farm
    Leaving function Farm.Farm
    Entering function Farm.TryIsJoinedToFarm
      Entering function get CommandCollection.this[string key]
        Entering function CommandCollectionBase.Get
          Found value in collection for key initialize
        Leaving function CommandCollectionBase.Get
        Found command initialize in collection
      Leaving function get CommandCollection.this[string key]
      Entering function Command.this[string key]
        Entering function CommandCollectionBase.Get
          Found value in collection for key B2B_UPGRADE
        Leaving function CommandCollectionBase.Get
        Found parameter B2B_UPGRADE in collection
      Leaving function Command.this[string key]
      Clearing cached Farm objects to reload
      Entering function Farm.Clear
        Entering function CentralAdminServiceInstance.Reset
        Leaving function CentralAdminServiceInstance.Reset
      Leaving function Farm.Clear
      My cached Farm object is null, so will load it
      Calling SPFarm.Local and SPServer.Local to get the local farm objects
      SPFarm.Local returned a local farm
      SPFarm.Local retuned a farm, but SPServer.Local returned null.  Failed to connect to the farm, except in B2B Upgrade.
      Entering function Farm.Clear
        Entering function CentralAdminServiceInstance.Reset
        Leaving function CentralAdminServiceInstance.Reset
      Leaving function Farm.Clear
    Leaving function Farm.TryIsJoinedToFarm
    Failed to successfully try to see if this server is joined to the server farm.  
    The operation will continue so that you can force a disconnect from a server farm that cannot be contacted
    Resource id to be retrieved is FarmIsJoinedFailureWhileUsingUICanOnlyDisconnect for language English (United States)
    Resource retrieved id FarmIsJoinedFailureWhileUsingUICanOnlyDisconnect is Failed to detect if this server is joined to a server farm.
    Possible reasons for this failure could be that you no longer have the appropriate permissions to the server farm, the database server hosting the server farm is unresponsive,
    the configuration database is inaccessible or this server has been removed from the server farm.
    To diagnose this problem further, review the extended error information located at {0}.
    If this problem persists, choose to disconnect from the server farm. After disconnecting, run the wizard again to create or connect to an existing server farm.
    Anyone know what this line means?
    SPFarm.Local retuned a farm, but SPServer.Local returned null.  Failed to connect to the farm, except in B2B Upgrade.
    Permissions were unchanged from before and I was running PSConfig elevated with the SharePoint admin account. So with this information along with the fact that the new site collection was not available on this server I concluded that it had been removed
    somehow.
    Has anyone seen this happen before?  As it is a production server I'm going to have to explain this to the customer.
    Thanks! 

    Hi Fridge,
    In Sharepoint central admin,Manage servers in Farm,Does this show this WFE Server still?
    Check if any ports(32843,32844) has been closed on the WFE server which got disconnected as these ports are used to communicate between WFE servers
    Check if this is helpful
    http://blogs.msdn.com/b/uksharepoint/archive/2013/01/21/sharepoint-2013-ports-proxies-and-protocols-an-overview-of-farm-communications.aspx

Maybe you are looking for