Finding the shortest path router for the router tracking purpose

Hi all,
A Question asking you regarding to routers' tracking information.
We keeps all the router infomation of our subnet in a file name "routers.txt" in this format:
1 2 1
2 4 1
4 3 1
1 3 5
This states there are four routers, the distance between routers 1 and 2 is 1, between 2 and 4 is 1, etc.
I need to write a Java program to keep track the shortest path between routers, I would understand that we can get this done easily in Java, but I am not a Java Savvy. I'm new in Java, would somebody help me to the right direction?
In order to keep track the routers in our subnet easily,the output would look something like:
Router 1
To Router Distance Vector
2 1 2
3 3 2
4 2 2
Thanks very much,
Cait.

Hi kksenji,
Well, because of the webform, it's not obvious to see. The output would be simple. From the input, for router 1 to router 2, the shortest distance is 1. For router 1 to router 3, the shortest distance is 3, for router 1 to router 4, the shortest distance is 2 and so on. The middle vector that it went through is 2 for every route. Hope this makes sense.
Just try to solve the problem with the shortest distance, and I have a hard time to figure out the algorithm for this as well as how to get this started.
Thanks, Cait.

Similar Messages

  • Need Help in finding the Menu Path's for the below topics

    Hi,
    Where can i get the menu paths for the below topics in SAP syste. I have searched in the system,But couldnot find the Menu Path's for the below topics.Kindly help me in finding the configuration Path for the below...
    1)Public tendering process
    2)Grants Management
    3)Tax & Revenue management
    4)Public sector accounting --> Budget formulation, preparation, execution & Monitoring.
    Thanks
    Rajitha M

    Hi,
    Check for the relevant path in IMG in Public Sector Management.  The prerequisites being configuration of Financial accounting
    sub modules.
    Best Regards,
    Sadashivan

  • How can I find the all path available for a MPLS VPN in SP network

    How can I find the all path available for a MPLS VPN in SP network between PE to PE and CE to CE?

    Hi There
    If we need to find all the available paths for a remote CE from a local PE it will depend upon whether its a RR or non-RR design. If the MP-iBGP deisgn is non-RR  the below vrf specific command
    sh ip bgp vpnv4 vrf "vrf_name"  will show us the MP-iBGP RT for that particular VPN. It will show us the next hop. Checking the route for same in the Global RT will show us the path(s) available for same ( load-balancing considered) .Then we can do a trace using the Local PE MP-iBGP loopback as source to remote PE's MP-iBGP loopback to get the physical Hops involved.
    However if the design is RR-based there might be complications involved when the RR is in the forwarding path ie we have NHS being set to RR-MP-iBGP loopback and the  trace using the Local PE MP-iBGP loopback as source to remote PE's MP-iBGP loopback will get us the physical Hops involved.
    If we have redundant RRs being used with NHS being set then the output of sh ip bgp vpnv4 vrf "vrf_name" will show us two different available paths for the remote CE destination but just one being used.
    RR-based design with no NHS being used will always to cater to single path for the remote CE detsination.
    So in any case the actual path used for the remote CE connectivity would be a single unless we are using load-balancing.
    Hope this helps you a bit on your requirement
    Thanks & Regards
    Vaibhava Varma

  • Finding the shortest path

    Hey guys,
    Im working on a solution to this problem below is a program to allow a user to draw straight line paths. What i'd like to do is allow the user to select two points on the path he has drawn and find the shortest path among all the interesecting lines.....im going crazy thinking of a solution for this.....im thinking bout steeping down a notch and just try to find just any path first.
    Will really appreciate any help.
    Thnx in advance,
    Vikhyat
    import java.applet.*;*
    *import java.awt.*;
    import java.awt.event.*;*
    *import javax.swing.*;
    import java.awt.geom.*;
    public class Lab11 extends Applet implements MouseListener, MouseMotionListener {
    int x0, y0, x1, y1;
    int mouseRelease=0;
    GeneralPath path = new GeneralPath();
    public Lab11()
    addMouseListener(this);
    addMouseMotionListener(this);
    public void mouseDragged(MouseEvent e)
    x1 = e.getX();
    y1 = e.getY();
    repaint();
    public void mouseMoved(MouseEvent e) { }
    public void mouseClicked(MouseEvent e) { }
    public void mouseEntered(MouseEvent e) { }
    public void mouseExited (MouseEvent e) { }
    public void mousePressed(MouseEvent e) {
    x0 = e.getX();
    y0 = e.getY();
    System.out.println("Mouse pressed at: (" +
    x0 + ", " + y0 + ")" );
    public void mouseReleased(MouseEvent e) {
    x1 = e.getX();
    y1 = e.getY();
    System.out.println("Mouse released at: (" +
    x1 + ", " + y1 + ")" );
    mouseRelease = 1;
    this.repaint();
    public void paint(Graphics g)
    Graphics2D g2 = (Graphics2D)g;
    g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
    RenderingHints.VALUE_ANTIALIAS_ON);
    //just for show not concerned with saving paths
    if(mouseRelease==1)
    path.moveTo(x0,y0);
    path.lineTo(x1,y1);
    mouseRelease = 0;
    g2.setPaint(Color.RED);
    g2.draw(path);
    g.setColor(Color.BLACK);
    g.drawLine(x0, y0, x1, y1);
    public static void main(String[] argv)
    JFrame f = new JFrame("Test");
    f.getContentPane().add(new Lab11());
    f.setSize(600,600);
    f.setVisible(true);
    f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }Pictorially this is what im trying to do:
    User draws a path like so and selects two points as shown in blue
    [http://i48.photobucket.com/albums/f236/theforrestgump/select.jpg]
    The program should then proceed to highlighting the shortest path
    [http://i48.photobucket.com/albums/f236/theforrestgump/sp.jpg]
    Edited by: cannonball on Apr 1, 2008 7:58 PM

    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    import javax.swing.*;
    public class ShortPath extends JPanel {
        Path2D.Double path;
        Path2D.Double shortPath = new Path2D.Double();
        Point p1 = new Point();
        Point p2 = new Point();
        final double PROXIMITY = 5.0;
        public ShortPath() {
            path = new Path2D.Double();
            path.moveTo(145,80);
            path.lineTo(125,170);
            path.lineTo(190,200);
            path.lineTo(240,340);
            path.lineTo(285,220);
            path.lineTo(145,80);
        protected void paintComponent(Graphics g) {
            super.paintComponent(g);
            Graphics2D g2 = (Graphics2D)g;
            g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                                RenderingHints.VALUE_ANTIALIAS_ON);
            g2.setPaint(Color.blue);
            g2.draw(path);
            g2.setPaint(Color.green);
            g2.setStroke(new BasicStroke(2f));
            g2.draw(shortPath);
            g2.setPaint(Color.red);
            g2.fill(new Ellipse2D.Double(p1.x-2, p1.y-2, 4, 4));
            g2.setPaint(Color.orange);
            g2.fill(new Ellipse2D.Double(p2.x-2, p2.y-2, 4, 4));
        private void findShortPath() {
            if(!isPointOnLine(p1) || !isPointOnLine(p2)) {
                System.out.println("a point is not on the path");
                return;
            double d1 = getDistanceToPoint(p1);
            double d2 = getDistanceToPoint(p2);
            double pathLength = getDistanceToPoint(new Point());
            Point2D.Double start = new Point2D.Double();
            Point2D.Double end   = new Point2D.Double();
            if((d1 < d2 && d2 - d1 < pathLength - d2 + d1) ||
               (d1 > d2 && d1 - d2 > pathLength - d1 + d2)) {
                start.setLocation(p1);
                end.setLocation(p2);
            } else {
                start.setLocation(p2);
                end.setLocation(p1);
            generatePath(start, end);
        //                        145,80
        // leg distance = 92.2    125,170
        // leg distance = 71.6    190,200   163.8
        // leg distance = 148.7   240,340   312.5
        // leg distance = 128.2   285,220   440.7
        // leg distance = 198.0   145,80    638.7
        private double getDistanceToPoint(Point p) {
            PathIterator pit = path.getPathIterator(null);
            double[] coords = new double[2];
            double distance = 0;
            Point2D.Double start = new Point2D.Double();
            Point2D.Double end = new Point2D.Double();
            Line2D.Double line = new Line2D.Double();
            while(!pit.isDone()) {
                int type = pit.currentSegment(coords);
                switch(type) {
                    case PathIterator.SEG_MOVETO:
                        start.setLocation(coords[0], coords[1]);
                        pit.next();
                        continue;
                    case PathIterator.SEG_LINETO:
                        end.setLocation(coords[0], coords[1]);
                line.setLine(start, end);
                boolean onLine = line.ptSegDist(p) < PROXIMITY;
                if(onLine) {  // point is on this line
                    distance += start.distance(p);
                    break;
                } else {
                    distance += start.distance(end);
                start.setLocation(end);
                pit.next();
            return distance;
        private void generatePath(Point2D.Double first, Point2D.Double second) {
            Point2D.Double p = new Point2D.Double(first.x, first.y);
            Point2D.Double start = new Point2D.Double();
            Point2D.Double end = new Point2D.Double();
            Line2D.Double line = new Line2D.Double();
            boolean pathStarted = false;
            for(int j = 0; j < 2; j++) {
                PathIterator pit = path.getPathIterator(null);
                double[] coords = new double[2];
                while(!pit.isDone()) {
                    int type = pit.currentSegment(coords);
                    switch(type) {
                        case PathIterator.SEG_MOVETO:
                            start.setLocation(coords[0], coords[1]);
                            pit.next();
                            continue;
                        case PathIterator.SEG_LINETO:
                            end.setLocation(coords[0], coords[1]);
                            line.setLine(start, end);
                            boolean onLine = line.ptSegDist(p) < PROXIMITY;
                            if(onLine) {            // found point on line
                                Point2D.Double linePt = getClosestPoint(line, p);
                                Line2D.Double segment;
                                if(!pathStarted) {  // found first point
                                                    // both points on line
                                    if(line.ptSegDist(second) < PROXIMITY) {
                                        Point2D.Double secPt =
                                            getClosestPoint(line, second);
                                        segment = new Line2D.Double(linePt, secPt);
                                        shortPath.append(segment, false);
                                        return;
                                    } else {        // first point only
                                        segment = new Line2D.Double(linePt, end);
                                        shortPath.append(segment, false);
                                        p.setLocation(second);
                                        pathStarted = true;
                                } else {            // found second point
                                    segment = new Line2D.Double(start, linePt);
                                    shortPath.append(segment, false);
                                    return;
                            } else if(pathStarted) {
                                                    // add intermediate lines
                                Line2D.Double nextLine =
                                    new Line2D.Double(start, end);
                                shortPath.append(nextLine, false);
                    start.setLocation(end);
                    pit.next();
        private Point2D.Double getClosestPoint(Line2D.Double line,
                                               Point2D.Double p) {
            double minDist = Double.MAX_VALUE;
            Point2D.Double closePt = new Point2D.Double();
            double dy = line.getY2() - line.getY1();
            double dx = line.getX2() - line.getX1();
            double theta = Math.atan2(dy, dx);
            double length = line.getP2().distance(line.getP1());
            int limit = (int)(length+.05);
            for(int j = 0; j < limit; j++) {
                double x = line.getX1() + j*Math.cos(theta);
                double y = line.getY1() + j*Math.sin(theta);
                double distance = p.distance(x, y);
                if(distance < minDist) {
                    minDist = distance;
                    closePt.setLocation(x, y);
            return closePt;
        private boolean isPointOnLine(Point p) {
            Point2D.Double start = new Point2D.Double();
            Point2D.Double end = new Point2D.Double();
            Line2D.Double line = new Line2D.Double();
            PathIterator pit = path.getPathIterator(null);
            double[] coords = new double[2];
            while(!pit.isDone()) {
                int type = pit.currentSegment(coords);
                switch(type) {
                    case PathIterator.SEG_MOVETO:
                        start.setLocation(coords[0], coords[1]);
                        pit.next();
                        continue;
                    case PathIterator.SEG_LINETO:
                        end.setLocation(coords[0], coords[1]);
                        line.setLine(start, end);
                        if(line.ptSegDist(p) < PROXIMITY) {
                            return true;
                start.setLocation(end);
                pit.next();
            return false;
        public static void main(String[] args) {
            ShortPath test = new ShortPath();
            test.addMouseListener(test.ml);
            JFrame f = new JFrame();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.add(test);
            f.setSize(400,400);
            f.setLocation(200,200);
            f.setVisible(true);
        private MouseListener ml = new MouseAdapter() {
            boolean oneSet = false;
            public void mousePressed(MouseEvent e) {
                Point p = e.getPoint();
                if(oneSet) {
                    p2 = p;
                    findShortPath();
                } else {
                    p1 = p;
                    shortPath.reset();
                oneSet = !oneSet;
                repaint();
    }

  • I have a hard drive for CD storage that needs to connect to the Ethernet router. sInce my router is not in this room, and in another room, I want to use my Mac as a router for the drive, and share the wifi. Ho do I do this

    I have a hard drive for CD storage that needs to connect to the Ethernet router. sInce my router is not in this room, and in another room, I want to use my Mac as a router for the drive, and share the wifi. Ho do I do this? I gace tried the System Preferences -> Sharing, shared internet to Ethernet, but can't se ethe device on Finder

    Djembe wrote:
    UEFI (unified extensible firmware interface) boot requires Global unique identifier Partition Table (GPT) as opposed to the older Master Boot Record (MBR). If your existing drive is formatted in MBR, you will need to adjust BIOS settings to enable legacy boot in order for it to work properly.
    Is there a performance difference between GPT and MBR? If GPT is better, I do not mind formatting the drive with it.
    5. No special drivers are needed.
    Thanks. What about the thunderbolt port?
    7. I think Lenovo estimates 6 hours.
    Lenovo says 6 hours with the 6-cell battery on its website.
    BrendaEM wrote:
    Hi,
    There was a serious BIOS/UEFI problem with that SSD . Perhaps this thread will save you some headaches. Someone is recomending shutting off Rapid Boot in the setup, which would probable mean little with a SSD, anyway.
    I read through this, and it looks like the problem was fixed in a BIOS update, which I plan to do. However, it also seems like Intel Rapid Start is not even worth it in the first place, as sleep consumes almost no power at all.
    W540: i7-4700mq, K2100m, 8 GB DDR3L, 512 GB SSD
    T510: i7-620m, NVS 3100m, 8 GB DDR3, 512 GB SSD

  • How to get the command line interface for WRT160NL router

    hi,
    How can I get the command line interface for WRT160NL router. please suggest.

    If you’re trying to access the web-based interface of your router, just use its default IP address (192.168.1.1). The Username is left blank and the Password is "admin". Here’s a quick link on how to do that.

  • The system could not find a javax.ws.rs.ext.MessageBodyWriter or a DataSourceProvider class for the com.rest.assignment.EmpBean type and application/json mediaType.  Ensure that a javax.ws.rs.ext.MessageBodyWriter exists in the JAX-RS application for the

    Hi,
    Im trying to create a Rest WS with a @GET method that will return me an Emp object. I need the output as a JSON string.
    I have created a dynamic web project and added javax RS jars:
    When im trying to run this, i'm getting the below mentioned error:
    FlushResultHa E org.apache.wink.server.internal.handlers.FlushResultHandler handleResponse The system could not find a javax.ws.rs.ext.MessageBodyWriter or a DataSourceProvider class for the com.rest.assignment.EmpBean type and application/json mediaType.  Ensure that a javax.ws.rs.ext.MessageBodyWriter exists in the JAX-RS application for the type and media type specified.
    RequestProces I org.apache.wink.server.internal.RequestProcessor logException The following error occurred during the invocation of the handlers chain: WebApplicationException (500 - Internal Server Error)
    Please help as im stuck with this from long.
    Thanks in advance.
    Below is the code for my service class:
    package com.rest.assignment;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.io.IOException;
    import java.util.Enumeration;
    import java.util.HashSet;
    import java.util.Properties;
    import java.util.Set;
    import javax.ws.rs.GET;
    import javax.ws.rs.Path;
    import javax.ws.rs.Produces;
    import javax.ws.rs.core.Application;
    import javax.ws.rs.core.MediaType;
    import javax.ws.rs.core.Response;
    @Path("/restService")
    public class RestService extends Application {   
        @GET
        @Path("/getEmpDetails")
        @Produces(MediaType.APPLICATION_JSON)
        public Response getStringResponse()
            EmpBean empBean = new EmpBean();
            String filePath = "C:/Program Files/IBM/workspace/HelloWorld/src/com/rest/resources/EmpData.properties";
            Properties properties = new Properties();
            try {
                properties.load(new FileInputStream(filePath));
            } catch (FileNotFoundException e) {
                e.printStackTrace();
            } catch (IOException e) {
                e.printStackTrace();
             Enumeration e = properties.propertyNames();
             String result="";
            String[] empDetailsArr;
            while (e.hasMoreElements()) {
              String key = (String) e.nextElement();
              String empDetails = properties.getProperty(key);
              empDetailsArr=empDetails.split(",");    
              empBean.setFirstName(empDetailsArr[0]);
              empBean.setLastName(empDetailsArr[1]);
              empBean.setEmpId(empDetailsArr[2]);
              empBean.setDesignation(empDetailsArr[3]);
              empBean.setSkillSet(empDetailsArr[4]);
              result = empDetailsArr[1];
            //return empBean;
            return Response.ok(empBean).type(MediaType.APPLICATION_JSON_TYPE).build();
        @Override
        public Set<Class<?>> getClasses() {
            Set<Class<?>> classes = new HashSet<Class<?>>();
            classes.add(RestService.class);
            classes.add(EmpBean.class);
            return classes;
    and my empBean goes like this:
    package com.rest.assignment;
    public class EmpBean {
        private String firstName;
        private String lastName;
        private String empId;
        private String designation;
        private String skillSet;
        public String getFirstName() {
            return firstName;
        public void setFirstName(String firstName) {
            this.firstName = firstName;
        public String getLastName() {
            return lastName;
        public void setLastName(String lastName) {
            this.lastName = lastName;
        public String getEmpId() {
            return empId;
        public void setEmpId(String empId) {
            this.empId = empId;
        public String getDesignation() {
            return designation;
        public void setDesignation(String designation) {
            this.designation = designation;
        public String getSkillSet() {
            return skillSet;
        public void setSkillSet(String skillSet) {
            this.skillSet = skillSet;
    Web.xml goes like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="WebApp_ID" version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
    <display-name>restWS</display-name>
    <welcome-file-list>
      <welcome-file>index.html</welcome-file>
      <welcome-file>index.htm</welcome-file>
      <welcome-file>index.jsp</welcome-file>
      <welcome-file>default.html</welcome-file>
      <welcome-file>default.htm</welcome-file>
      <welcome-file>default.jsp</welcome-file>
    </welcome-file-list>
    <servlet>
      <servlet-name>REST</servlet-name>
      <servlet-class>com.ibm.websphere.jaxrs.server.IBMRestServlet</servlet-class>
      <init-param>
       <param-name>javax.ws.rs.Application</param-name>
       <param-value>com.rest.assignment.RestService</param-value>
      </init-param>
      <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
      <servlet-name>REST</servlet-name>
      <url-pattern>/rest/*</url-pattern>
    </servlet-mapping>
    </web-app>
    When i try to return a string from my get method, it gives me a proper response. i get this exception when im trying to return a JSON response.

    Hi,
    Im trying to create a Rest WS with a @GET method that will return me an Emp object. I need the output as a JSON string.
    I have created a dynamic web project and added javax RS jars:
    When im trying to run this, i'm getting the below mentioned error:
    FlushResultHa E org.apache.wink.server.internal.handlers.FlushResultHandler handleResponse The system could not find a javax.ws.rs.ext.MessageBodyWriter or a DataSourceProvider class for the com.rest.assignment.EmpBean type and application/json mediaType.  Ensure that a javax.ws.rs.ext.MessageBodyWriter exists in the JAX-RS application for the type and media type specified.
    RequestProces I org.apache.wink.server.internal.RequestProcessor logException The following error occurred during the invocation of the handlers chain: WebApplicationException (500 - Internal Server Error)
    Please help as im stuck with this from long.
    Thanks in advance.
    Below is the code for my service class:
    package com.rest.assignment;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.io.IOException;
    import java.util.Enumeration;
    import java.util.HashSet;
    import java.util.Properties;
    import java.util.Set;
    import javax.ws.rs.GET;
    import javax.ws.rs.Path;
    import javax.ws.rs.Produces;
    import javax.ws.rs.core.Application;
    import javax.ws.rs.core.MediaType;
    import javax.ws.rs.core.Response;
    @Path("/restService")
    public class RestService extends Application {   
        @GET
        @Path("/getEmpDetails")
        @Produces(MediaType.APPLICATION_JSON)
        public Response getStringResponse()
            EmpBean empBean = new EmpBean();
            String filePath = "C:/Program Files/IBM/workspace/HelloWorld/src/com/rest/resources/EmpData.properties";
            Properties properties = new Properties();
            try {
                properties.load(new FileInputStream(filePath));
            } catch (FileNotFoundException e) {
                e.printStackTrace();
            } catch (IOException e) {
                e.printStackTrace();
             Enumeration e = properties.propertyNames();
             String result="";
            String[] empDetailsArr;
            while (e.hasMoreElements()) {
              String key = (String) e.nextElement();
              String empDetails = properties.getProperty(key);
              empDetailsArr=empDetails.split(",");    
              empBean.setFirstName(empDetailsArr[0]);
              empBean.setLastName(empDetailsArr[1]);
              empBean.setEmpId(empDetailsArr[2]);
              empBean.setDesignation(empDetailsArr[3]);
              empBean.setSkillSet(empDetailsArr[4]);
              result = empDetailsArr[1];
            //return empBean;
            return Response.ok(empBean).type(MediaType.APPLICATION_JSON_TYPE).build();
        @Override
        public Set<Class<?>> getClasses() {
            Set<Class<?>> classes = new HashSet<Class<?>>();
            classes.add(RestService.class);
            classes.add(EmpBean.class);
            return classes;
    and my empBean goes like this:
    package com.rest.assignment;
    public class EmpBean {
        private String firstName;
        private String lastName;
        private String empId;
        private String designation;
        private String skillSet;
        public String getFirstName() {
            return firstName;
        public void setFirstName(String firstName) {
            this.firstName = firstName;
        public String getLastName() {
            return lastName;
        public void setLastName(String lastName) {
            this.lastName = lastName;
        public String getEmpId() {
            return empId;
        public void setEmpId(String empId) {
            this.empId = empId;
        public String getDesignation() {
            return designation;
        public void setDesignation(String designation) {
            this.designation = designation;
        public String getSkillSet() {
            return skillSet;
        public void setSkillSet(String skillSet) {
            this.skillSet = skillSet;
    Web.xml goes like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="WebApp_ID" version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
    <display-name>restWS</display-name>
    <welcome-file-list>
      <welcome-file>index.html</welcome-file>
      <welcome-file>index.htm</welcome-file>
      <welcome-file>index.jsp</welcome-file>
      <welcome-file>default.html</welcome-file>
      <welcome-file>default.htm</welcome-file>
      <welcome-file>default.jsp</welcome-file>
    </welcome-file-list>
    <servlet>
      <servlet-name>REST</servlet-name>
      <servlet-class>com.ibm.websphere.jaxrs.server.IBMRestServlet</servlet-class>
      <init-param>
       <param-name>javax.ws.rs.Application</param-name>
       <param-value>com.rest.assignment.RestService</param-value>
      </init-param>
      <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
      <servlet-name>REST</servlet-name>
      <url-pattern>/rest/*</url-pattern>
    </servlet-mapping>
    </web-app>
    When i try to return a string from my get method, it gives me a proper response. i get this exception when im trying to return a JSON response.

  • Outlook - The path specified for the file SharePoint Lists PST is not valid

    Some users are connecting via Citrix XenApp to Microsoft Server 2008 R2 and using Microsoft Office 2010 (14.0.7109.5000) SP2 MSO (14.0.7116.5000) - Microsoft Office Profressional Plus 2010 x86 version for their email.  Microsoft Exchange Server 2010
    SP2 for email.
    They are connected to Microsoft SharePoint 2010 SP2 August 2013 CU, via a SharePoint Calender; they have View permissions to the SharePoint calendar using Classic Mode permissions (Not Claims).  No permissions have / are changing on this SharePoint
    Calendar.  They connect to the SharePoint Calender to Outlook.
    When they open up their Office Outlook client, they receive an error "Outlook Data File" "The path specified for the file \AppData\Local\Microsoft\Outlook\SharePoint Lists.pst is not valid." OK
    They select OK and they get a window popping up with the option to try to find the SharePoint list.  "Create/Open Outlook Data File" (File name: 'SharePoint Lists') Open Cancel.  They select Cancel.
    They are returned to their Outlook client "email." 
    As an I.T. administrator and SharePoint Administrator, I had a remote session with them, using Bomgar software and I Go to File Menu, Account Settings, SharePoint Lists Tab but there is no list there so go to the Data Files tab and see SharePoint Lists listed. 
    Selecting it once, and clicking on Settings... button gives error message similar to the one above about PST not valid.
    STRANGE in that, when you do that!  You can go to Home tab, Calendar (Ctrl+2), and see Other Calendars and now the SharePoint calendar that was supposed to be there before, but was just "empty!"  There was only the Other Calendars
    option but it didn't have any "sub" calendar item.
    A similar issue is when Other Calendars is listed, and has a sub calendar listed, a SharePoint connected calendar.  You click on it and get "Microsoft Outlook" "The set of folders cannot be opened. The path specified for the file c:\Users\USERNAMEHERE\AppData\Local\Microsoft\Outlook\SharePoint
    Lists.pst is not valid."  OK
    Click OK and go through the above steps to get the same result.  After going into Account Settings, Data Files, checking on the Settings... button, and receiving the error message, again mentioned above, and the prompt to Create/Open Outlook Data File,
    thgen I can go back into Account Settings, Data Files, and double click on the SharePoint Lists and instead of an error, the Outlook Data File comes up, with Change Password... Compact Now, Comment, Name, Filename, Format (Outlook Data File) OK Cancel.
    Can go back to the Calendar (Ctrl+2) and Other Calendars, and the SharePoint Calendar "Sub calendar" will appear and operate as normal!  All was done was go into the Account settings and "check" on the "error." 
    Tried to delete the SharePoint Lists and close out and add it and then go back in, and it "worked" for a few days.  I later turned on Logging and for over 24 hours it was on for the user.  The user was not on forever. 
    In the Outlook Logging folder, from the users profile, I found many *.log files, firstrun, OPMLog, ETL files, one of which is 6MB, and some prof_001_outlook....txt files.  I clickedo n the SharePoint Lists.pst.log file 1KB
    It is listed here:
    Store File Name: SharePoint Lists.pst
    Date|Time|Action|Search Owner|NID|Change Action|Change Semantics|URL|Count Of DocIDs|Next NID Index to add to All Msg folder|Next NID Index to push to FTE|Folder Path|Folder Path ID|HRESULT|Result Status
    2014/05/23|08:10:22:672|SGD_ScOpenNode(fCreate=FALSE)||||0x80040818|FAIL
    2014/05/23|08:10:22:672|SGD_ScOpenNode(fCreate=TRUE)|||||OK
    2014/05/23|08:10:22:673|Marking store for re-push: Newly created store|0|||||||||||OK
    2014/05/23|08:10:22:673|SGO_ScMarkPushEverythingDone|0|||||||||||OK
    firstrun.log
    *** Starting First Run (05-23-2014 07:32:08) ***
    ...HrPreSplashFirstRun called.
    ...HrPreLogFirstRun called.
    ...HrPostLogFirstRun called.
    ...deleting WAB4/UseOutlook because we're using MAPI.
    ...writing UUID to HKCU.
    ...setting Primary Client to Outlook.
    *** Ending First Run (05-23-2014 07:32:26) ***
    OPMLog.log
    2014.05.23 07:32:28 <<<< Logging Started (level is LTF_TRACE) >>>>
    2014.05.23 07:32:28 HELPER::Initialize called
    2014.05.23 07:32:28 Initializing: Finding a Transport
    2014.05.23 07:32:28 MAPI XP Call: XPProviderInit in EMSMDB.DLL, hr = 0x00000000
    2014.05.23 07:32:28 MAPI Status: (-- -- ---/--- -- ---)
    2014.05.23 07:32:28 MAPI XP Call: TransportLogon, hr = 0x00000000
    2014.05.23 07:32:28 Initializing: Found a transport, Error code = 0x00000000
    2014.05.23 07:32:28 MAPI XP Call: AddressTypes, hr = 0x00000000, cAddrs = 3, cUids = 1
    2014.05.23 07:32:28 MAPI Status: (IN -- ---/OUT -- ---)
    2014.05.23 07:32:28 MAPI XP Call: TransportNotify(BEGIN_IN|BEGIN_OUT), hr = 0x00000000
    2014.05.23 07:32:28 HELPER::Initialize done, Error code = 0x00000000
    2014.05.23 07:32:28 HELPER::GetCapabilities called, Error code = 0x00000000
    2014.05.23 07:32:28 HELPER::Initialize called
    2014.05.23 07:32:28 Initializing: Finding a Transport
    2014.05.23 07:32:28 MAPI XP Call: XPProviderInit in EMSMDB.DLL, hr = 0x00000000
    2014.05.23 07:32:28 MAPI Status: (-- -- ---/--- -- ---)
    2014.05.23 07:32:28 MAPI XP Call: TransportLogon, hr = 0x00000000
    2014.05.23 07:32:28 Initializing: Found a transport, Error code = 0x00000000
    2014.05.23 07:32:28 MAPI XP Call: AddressTypes, hr = 0x00000000, cAddrs = 3, cUids = 1
    2014.05.23 07:32:28 MAPI Status: (IN -- ---/OUT -- ---)
    2014.05.23 07:32:28 MAPI XP Call: TransportNotify(BEGIN_IN|BEGIN_OUT), hr = 0x00000000
    2014.05.23 07:32:28 HELPER::Initialize done, Error code = 0x00000000
    2014.05.23 07:32:28 HELPER::GetCapabilities called, Error code = 0x00000000
    2014.05.23 07:32:45 HELPER::Uninitialize called
    2014.05.23 07:32:45 MAPI Status: (-- -- ---/--- -- ---)
    2014.05.23 07:32:45 MAPI XP Call: TransportNotify(END_IN|END_OUT), hr = 0x00000000
    2014.05.23 07:32:45 MAPI XP Call: TransportLogoff in EMSMDB.DLL, hr = 0x00000000
    2014.05.23 07:32:45 MAPI XP Call: Shutdown, hr = 0x00000000
    2014.05.23 07:32:45 HELPER::Uninitialize called
    2014.05.23 07:32:45 MAPI Status: (-- -- ---/--- -- ---)
    2014.05.23 07:32:45 MAPI XP Call: TransportNotify(END_IN|END_OUT), hr = 0x00000000
    2014.05.23 07:32:45 MAPI XP Call: TransportLogoff in EMSMDB.DLL, hr = 0x00000000
    2014.05.23 07:32:45 MAPI XP Call: Shutdown, hr = 0x00000000
    2014.05.23 07:32:45 Resource manager terminated
    2014.05.23 07:34:06 <<<< Logging Started (level is LTF_TRACE) >>>>
    2014.05.23 07:34:06 HELPER::Initialize called
    2014.05.23 07:34:06 Initializing: Finding a Transport
    2014.05.23 07:34:06 MAPI XP Call: XPProviderInit in EMSMDB.DLL, hr = 0x00000000
    2014.05.23 07:34:06 MAPI Status: (-- -- ---/--- -- ---)
    2014.05.23 07:34:06 MAPI XP Call: TransportLogon, hr = 0x00000000
    2014.05.23 07:34:06 Initializing: Found a transport, Error code = 0x00000000
    2014.05.23 07:34:06 MAPI XP Call: AddressTypes, hr = 0x00000000, cAddrs = 3, cUids = 1
    2014.05.23 07:34:06 MAPI Status: (IN -- ---/OUT -- ---)
    2014.05.23 07:34:06 MAPI XP Call: TransportNotify(BEGIN_IN|BEGIN_OUT), hr = 0x00000000
    2014.05.23 07:34:06 HELPER::Initialize done, Error code = 0x00000000
    2014.05.23 07:34:06 HELPER::GetCapabilities called, Error code = 0x00000000
    2014.05.23 07:34:06 HELPER::Initialize called
    2014.05.23 07:34:06 Initializing: Finding a Transport
    2014.05.23 07:34:06 MAPI XP Call: XPProviderInit in EMSMDB.DLL, hr = 0x00000000
    2014.05.23 07:34:06 MAPI Status: (-- -- ---/--- -- ---)
    2014.05.23 07:34:06 MAPI XP Call: TransportLogon, hr = 0x00000000
    2014.05.23 07:34:06 Initializing: Found a transport, Error code = 0x00000000
    2014.05.23 07:34:06 MAPI XP Call: AddressTypes, hr = 0x00000000, cAddrs = 3, cUids = 1
    2014.05.23 07:34:06 MAPI Status: (IN -- ---/OUT -- ---)
    2014.05.23 07:34:06 MAPI XP Call: TransportNotify(BEGIN_IN|BEGIN_OUT), hr = 0x00000000
    2014.05.23 07:34:06 HELPER::Initialize done, Error code = 0x00000000
    2014.05.23 07:34:06 HELPER::GetCapabilities called, Error code = 0x00000000
    2014.05.23 07:35:12 [email protected]: Synch operation started (flags = 00000001)
    2014.05.23 07:35:12 [email protected]: UploadItems: 1 messages to send
    2014.05.23 07:35:12 EXECUTING Put MAPI TASK
    2014.05.23 07:35:13 Starting the Spooling Cycle
    2014.05.23 07:35:13 MAPI Status: (IN -- ---/OUT fl ---)
    2014.05.23 07:35:13 MAPI XP Call: FlushQueues, hr = 0x00000000, ulFlushFlags = 0x0000001a
    2014.05.23 07:35:13 Sending one message
    2014.05.23 07:35:13 Progress: Sending message 'RE: Good Morning!' (size 14.76 KBytes)
    2014.05.23 07:35:13 MAPI Status: (IN -- ---/OUT fl act)
    2014.05.23 07:35:13 MAPI Status: (IN -- ---/OUT fl ---)
    2014.05.23 07:35:13 MAPI XP Call: SubmitMessage, hr = 0x00000000
    2014.05.23 07:35:13 MAPI XP Call: EndMessage, hr = 0x00000000
    2014.05.23 07:35:13 FINISHED MAPI TASK
    2014.05.23 07:35:13 [email protected]: ReportStatus: RSF_COMPLETED, hr = 0x00000000
    2014.05.23 07:35:13 [email protected]: Synch operation completed
    2014.05.23 07:35:13 Sending done, Error code = 0x00000000
    2014.05.23 07:35:13 Sending done, Error code = 0x8004010f
    2014.05.23 07:35:13 MAPI Status: (IN -- ---/OUT -- ---)
    2014.05.23 07:35:13 Finishing the Spooling Cycle, Error code = 0x00000000
    2014.05.23 07:37:53 [email protected]: Synch operation started (flags = 00000001)
    2014.05.23 07:37:53 [email protected]: UploadItems: 1 messages to send
    2014.05.23 07:37:53 EXECUTING Put MAPI TASK
    2014.05.23 07:37:53 Starting the Spooling Cycle
    2014.05.23 07:37:53 MAPI Status: (IN -- ---/OUT fl ---)
    2014.05.23 07:37:53 MAPI XP Call: FlushQueues, hr = 0x00000000, ulFlushFlags = 0x0000001a
    2014.05.23 07:37:53 Sending one message
    2014.05.23 07:37:53 Progress: Sending message 'RE: Good Morning!' (size 14.03 KBytes)
    2014.05.23 07:37:53 MAPI Status: (IN -- ---/OUT fl act)
    2014.05.23 07:37:53 MAPI Status: (IN -- ---/OUT fl ---)
    2014.05.23 07:37:53 MAPI XP Call: SubmitMessage, hr = 0x00000000
    2014.05.23 07:37:53 MAPI XP Call: EndMessage, hr = 0x00000000
    2014.05.23 07:37:53 FINISHED MAPI TASK
    2014.05.23 07:37:53 [email protected]: ReportStatus: RSF_COMPLETED, hr = 0x00000000
    2014.05.23 07:37:53 [email protected]: Synch operation completed
    2014.05.23 07:37:53 Sending done, Error code = 0x00000000
    2014.05.23 07:37:53 Sending done, Error code = 0x8004010f
    2014.05.23 07:37:53 MAPI Status: (IN -- ---/OUT -- ---)
    2014.05.23 07:37:53 Finishing the Spooling Cycle, Error code = 0x00000000
    2014.05.23 07:57:34 [email protected]: Synch operation started (flags = 00000001)
    2014.05.23 07:57:34 [email protected]: UploadItems: 1 messages to send
    2014.05.23 07:57:34 EXECUTING Put MAPI TASK
    2014.05.23 07:57:34 Starting the Spooling Cycle
    2014.05.23 07:57:34 MAPI Status: (IN -- ---/OUT fl ---)
    2014.05.23 07:57:34 MAPI XP Call: FlushQueues, hr = 0x00000000, ulFlushFlags = 0x0000001a
    2014.05.23 07:57:34 Sending one message
    2014.05.23 07:57:34 Progress: Sending message 'TP - Hold PE Call ' (size 6.00 KBytes)
    2014.05.23 07:57:34 MAPI Status: (IN -- ---/OUT fl act)
    2014.05.23 07:57:34 MAPI Status: (IN -- ---/OUT fl ---)
    2014.05.23 07:57:34 MAPI XP Call: SubmitMessage, hr = 0x00000000
    2014.05.23 07:57:34 MAPI XP Call: EndMessage, hr = 0x00000000
    2014.05.23 07:57:34 FINISHED MAPI TASK
    2014.05.23 07:57:34 [email protected]: ReportStatus: RSF_COMPLETED, hr = 0x00000000
    2014.05.23 07:57:34 [email protected]: Synch operation completed
    2014.05.23 07:57:34 Sending done, Error code = 0x00000000
    2014.05.23 07:57:34 Sending done, Error code = 0x8004010f
    2014.05.23 07:57:34 MAPI Status: (IN -- ---/OUT -- ---)
    2014.05.23 07:57:34 Finishing the Spooling Cycle, Error code = 0x00000000
    2014.05.23 07:58:58 [email protected]: Synch operation started (flags = 00000001)
    2014.05.23 07:58:58 [email protected]: UploadItems: 1 messages to send
    2014.05.23 07:58:58 EXECUTING Put MAPI TASK
    2014.05.23 07:58:58 Starting the Spooling Cycle
    2014.05.23 07:58:58 MAPI Status: (IN -- ---/OUT fl ---)
    2014.05.23 07:58:58 MAPI XP Call: FlushQueues, hr = 0x00000000, ulFlushFlags = 0x0000001a
    2014.05.23 07:58:58 Sending one message
    2014.05.23 07:58:58 Progress: Sending message 'TP - Hold PE Call' (size 6.00 KBytes)
    2014.05.23 07:58:58 MAPI Status: (IN -- ---/OUT fl act)
    2014.05.23 07:58:58 MAPI Status: (IN -- ---/OUT fl ---)
    2014.05.23 07:58:58 MAPI XP Call: SubmitMessage, hr = 0x00000000
    2014.05.23 07:58:58 MAPI XP Call: EndMessage, hr = 0x00000000
    2014.05.23 07:58:58 FINISHED MAPI TASK
    2014.05.23 07:58:58 [email protected]: ReportStatus: RSF_COMPLETED, hr = 0x00000000
    2014.05.23 07:58:58 [email protected]: Synch operation completed
    2014.05.23 07:58:58 Sending done, Error code = 0x00000000
    2014.05.23 07:58:58 Sending done, Error code = 0x8004010f
    2014.05.23 07:58:58 MAPI Status: (IN -- ---/OUT -- ---)
    2014.05.23 07:58:58 Finishing the Spooling Cycle, Error code = 0x00000000
    2014.05.23 08:03:12 [email protected]: Synch operation started (flags = 00000001)
    2014.05.23 08:03:12 [email protected]: UploadItems: 1 messages to send
    2014.05.23 08:03:12 EXECUTING Put MAPI TASK
    2014.05.23 08:03:12 Starting the Spooling Cycle
    2014.05.23 08:03:12 MAPI Status: (IN -- ---/OUT fl ---)
    2014.05.23 08:03:12 MAPI XP Call: FlushQueues, hr = 0x00000000, ulFlushFlags = 0x0000001a
    2014.05.23 08:03:12 Sending one message
    2014.05.23 08:03:12 Progress: Sending message 'Accepted: TP - Hold PE Call' (size 5.70 KBytes)
    2014.05.23 08:03:12 MAPI Status: (IN -- ---/OUT fl act)
    2014.05.23 08:03:12 MAPI Status: (IN -- ---/OUT fl ---)
    2014.05.23 08:03:12 MAPI XP Call: SubmitMessage, hr = 0x00000000
    2014.05.23 08:03:12 MAPI XP Call: EndMessage, hr = 0x00000000
    2014.05.23 08:03:12 FINISHED MAPI TASK
    2014.05.23 08:03:12 [email protected]: ReportStatus: RSF_COMPLETED, hr = 0x00000000
    2014.05.23 08:03:12 [email protected]: Synch operation completed
    2014.05.23 08:03:12 Sending done, Error code = 0x00000000
    2014.05.23 08:03:12 Sending done, Error code = 0x8004010f
    2014.05.23 08:03:12 MAPI Status: (IN -- ---/OUT -- ---)
    2014.05.23 08:03:12 Finishing the Spooling Cycle, Error code = 0x00000000
    2014.05.23 08:03:16 [email protected]: Synch operation started (flags = 00000001)
    2014.05.23 08:03:16 [email protected]: UploadItems: 1 messages to send
    2014.05.23 08:03:16 EXECUTING Put MAPI TASK
    2014.05.23 08:03:17 Starting the Spooling Cycle
    2014.05.23 08:03:17 MAPI Status: (IN -- ---/OUT fl ---)
    2014.05.23 08:03:17 MAPI XP Call: FlushQueues, hr = 0x00000000, ulFlushFlags = 0x0000001a
    2014.05.23 08:03:17 Sending one message
    2014.05.23 08:03:17 Progress: Sending message 'Accepted: TP - Hold PE Call ' (size 5.70 KBytes)
    2014.05.23 08:03:17 MAPI Status: (IN -- ---/OUT fl act)
    2014.05.23 08:03:17 MAPI Status: (IN -- ---/OUT fl ---)
    2014.05.23 08:03:17 MAPI XP Call: SubmitMessage, hr = 0x00000000
    2014.05.23 08:03:17 MAPI XP Call: EndMessage, hr = 0x00000000
    2014.05.23 08:03:17 FINISHED MAPI TASK
    2014.05.23 08:03:17 [email protected]: ReportStatus: RSF_COMPLETED, hr = 0x00000000
    2014.05.23 08:03:17 [email protected]: Synch operation completed
    2014.05.23 08:03:17 Sending done, Error code = 0x00000000
    2014.05.23 08:03:17 Sending done, Error code = 0x8004010f
    2014.05.23 08:03:17 MAPI Status: (IN -- ---/OUT -- ---)
    2014.05.23 08:03:17 Finishing the Spooling Cycle, Error code = 0x00000000
    2014.05.23 08:04:08 [email protected]: Synch operation started (flags = 00000031)
    2014.05.23 08:04:08 [email protected]: StartImport(flags = 00000000, max msg = ffffffff): full items
    2014.05.23 08:04:08 [email protected]: UploadItems: 0 messages to send
    2014.05.23 08:04:08 [email protected]: Synch operation started (flags = 00000031)
    2014.05.23 08:04:08 [email protected]: StartImport(flags = 00000000, max msg = ffffffff): full items
    2014.05.23 08:04:08 [email protected]: UploadItems: 0 messages to send
    2014.05.23 08:04:08 Starting the Spooling Cycle
    2014.05.23 08:04:08 MAPI Status: (IN fl ---/OUT -- ---)
    2014.05.23 08:04:08 MAPI XP Call: FlushQueues, hr = 0x00000000, ulFlushFlags = 0x0000001c
    2014.05.23 08:04:08 MAPI XP Call: Poll, hr = 0x00000000, cPollCount = 636
    2014.05.23 08:04:08 Progress: Receiving message (message 1 out of 637, size unknown)
    2014.05.23 08:04:08 Downloading one message
    2014.05.23 08:04:08 Transport tightly coupled with store, download is NOOP
    2014.05.23 08:04:08 Downloading done, Error code = 0x8004010f
    2014.05.23 08:04:08 MAPI Status: (IN -- ---/OUT -- ---)
    2014.05.23 08:04:08 FINISHED MAPI TASK
    2014.05.23 08:04:08 [email protected]: ReportStatus: RSF_COMPLETED, hr = 0x00000000
    2014.05.23 08:04:08 Finishing the Spooling Cycle, Error code = 0x00000000
    2014.05.23 08:04:08 Starting the Spooling Cycle
    2014.05.23 08:04:08 MAPI Status: (IN fl ---/OUT -- ---)
    2014.05.23 08:04:08 MAPI XP Call: FlushQueues, hr = 0x00000000, ulFlushFlags = 0x0000001c
    2014.05.23 08:04:08 MAPI XP Call: Poll, hr = 0x00000000, cPollCount = 706
    2014.05.23 08:04:08 Progress: Receiving message (message 1 out of 707, size unknown)
    2014.05.23 08:04:08 Downloading one message
    2014.05.23 08:04:08 Transport tightly coupled with store, download is NOOP
    2014.05.23 08:04:08 Downloading done, Error code = 0x8004010f
    2014.05.23 08:04:08 MAPI Status: (IN -- ---/OUT -- ---)
    2014.05.23 08:04:08 FINISHED MAPI TASK
    2014.05.23 08:04:08 [email protected]: ReportStatus: RSF_COMPLETED, hr = 0x00000000
    2014.05.23 08:04:08 Finishing the Spooling Cycle, Error code = 0x00000000
    2014.05.23 08:04:08 EXECUTING EndSession MAPI TASK
    2014.05.23 08:04:09 Starting the Simplified Transfer Cycle
    2014.05.23 08:04:09 MAPI XP Call: Poll, hr = 0x00000000, iMsgsReceived = 0, cPollCount = 636
    2014.05.23 08:04:09 Progress: Receiving message (message 1 out of 637, size unknown)
    2014.05.23 08:04:09 Downloading one message
    2014.05.23 08:04:09 MAPI Status: (IN -- act/OUT -- ---)
    2014.05.23 08:04:09 MAPI Status: (IN -- ---/OUT -- ---)
    2014.05.23 08:04:09 Downloading done, Error code = 0x8004010f
    2014.05.23 08:04:09 Finishing the Spooling Cycle, Error code = 0x00000000
    2014.05.23 08:04:09 FINISHED MAPI TASK
    2014.05.23 08:04:09 [email protected]: ReportStatus: RSF_COMPLETED, hr = 0x00000000
    2014.05.23 08:04:09 [email protected]: Synch operation completed
    2014.05.23 08:04:09 EXECUTING EndSession MAPI TASK
    2014.05.23 08:04:09 Starting the Simplified Transfer Cycle
    2014.05.23 08:04:09 MAPI XP Call: Poll, hr = 0x00000000, iMsgsReceived = 0, cPollCount = 706
    2014.05.23 08:04:09 Progress: Receiving message (message 1 out of 707, size unknown)
    2014.05.23 08:04:09 Downloading one message
    2014.05.23 08:04:09 MAPI Status: (IN -- act/OUT -- ---)
    2014.05.23 08:04:09 MAPI Status: (IN -- ---/OUT -- ---)
    2014.05.23 08:04:09 Downloading done, Error code = 0x8004010f
    2014.05.23 08:04:09 Finishing the Spooling Cycle, Error code = 0x00000000
    2014.05.23 08:04:09 FINISHED MAPI TASK
    2014.05.23 08:04:09 [email protected]: ReportStatus: RSF_COMPLETED, hr = 0x00000000
    2014.05.23 08:04:09 [email protected]: Synch operation completed
    They are using a CRM client 2011 (Server is CRM 2011 - on premise) as well as having other connected email accounts - managed accounts, like Accounting or HR, etc.
    What can I look for / provide for you all to assist?  I am almost ready to open a ticket with Microsoft to resolve this as it has been happening for multiple users for multiple weeks.
    When "I" go in, logged on as myself, I do NOT have this problem, however my account is not "old" in that I just logged onto the account domain\matthew.carter, where these users use their accounts day in and day out for weeks / months
    / (some years).
    Thank you!

    Did you post this in the SharePoint Section? Did you find a resolution for this?
    We are experiencing the same issue and have yet to find anything to resolve this issue.
    Regards, Daniel
    I ended up scouring his old posts looking for the other thread, and he did open one in the SharePoint forum:
    https://social.technet.microsoft.com/Forums/office/en-US/3dded85b-73ee-47dc-9609-6ee65f329983/outlook-the-path-specified-for-the-file-sharepoint-lists-pst-is-not-valid?forum=sharepointadminprevious#3dded85b-73ee-47dc-9609-6ee65f329983
    Unfortunately, what was marked as an "answer" by the moderators isn't really an answer at all to the problem. We are experiencing pretty much an identical issue with a calendar people are adding to Outlook 2010 from SharePoint 2010 within a XenApp
    server (using roaming profiles). However, we have not had the issue occur outside of XenApp yet.

  • Could not find agent library on the library path or in the local directory

    Hi all,
    I'm trying to write a jvmti agent that write any information in a mysql db. I've written a simple agent that work correctly and now I'll try to insert the mysqlpp library in my agent:
    1) I've added #include <mysql++.h>
    2) and I've added mysqlpp::Connection      conn(false); (global variable)
    I've modify my Makefile and the compiler and linker work correctly but when I test the agent the VM says "Could not find agent library on the library path or in the local directory"
    Below the code:
    -- analizer.cpp --
    #include <iostream>
    #include <stdlib.h>
    #include <jni.h>
    #include <string.h>
    #include <jvmti.h>
    #include <mysql++.h>
    #include "ClassDetail.cpp"
    #define CFN(ptr) checkForNull(ptr, __FILE__, __LINE__);
    static void checkForNull(void *ptr, const char* file, int line) {
        if(ptr == NULL) {
            std::cerr << "ERROR : NullPointerException in " << file <<":"<< line<<"\n";
            abort();
    static char* getErrorName(jvmtiEnv *jvmti, jvmtiError err) {
        jvmtiError errNum;
        char *name;
        errNum = jvmti->GetErrorName(err, &name);
        if( errNum != JVMTI_ERROR_NONE) {
            std::cerr << "ERROR : errore nel reprire l'error name " << errNum;
            abort();
        return name;
    #define CJVMTIE(jvmti, err) checkJvmtiError(jvmti, err, __FILE__, __LINE__);
    static void checkJvmtiError(jvmtiEnv *jvmti, jvmtiError err, const char* file, int line) {
        if(err != JVMTI_ERROR_NONE) {
            char *name = getErrorName(jvmti, err);
            std::cout << "ERROR : JVMTI error " << err << "("<<name<<") in "<<file<<":"<<line;
            abort();
    static void vmInit(jvmtiEnv *jvmti_env, JNIEnv *jni, jthread thread);
    static void startGCEvent(jvmtiEnv *jvmti_env);
    static void finishGCEvent(jvmtiEnv *jvmti_env);
    static jvmtiIterationControl JNICALL heapObject(jlong tag, jlong size, jlong* tag_ptr, void* userData);
    jrawMonitorID           lock;
    int                     gc_count;
    long                    heapSize = 0;
    bool                    heapCheck = false;
    mysqlpp::Connection      conn(false);
    JNIEXPORT jint JNICALL Agent_OnLoad(JavaVM *vm, char *options, void *reserved) {
        std::cout<<"OnLoad\n";
        jint                rc;
        jvmtiEnv            *jvmti = NULL;
        jvmtiError          err;
        jvmtiCapabilities   capabilities;
        jvmtiEventCallbacks callbacks;
        rc = vm->GetEnv((void **)&jvmti, JVMTI_VERSION);
        if( rc != JNI_OK) {
            std::cout << "ERROR : Errore nell'ottenere 'environment rc = " << rc;
            return -1;
        CFN(jvmti);
        err = jvmti->GetCapabilities(&capabilities);
        CJVMTIE(jvmti, err);
        CFN(&capabilities);
        capabilities.can_generate_garbage_collection_events = true;
        capabilities.can_tag_objects = true;
        CJVMTIE(jvmti, jvmti->AddCapabilities(&capabilities));
        CJVMTIE(jvmti, jvmti->CreateRawMonitor("agent lock", &lock));
        callbacks.VMInit = &vmInit;
        callbacks.GarbageCollectionStart = &startGCEvent;
        callbacks.GarbageCollectionFinish = &finishGCEvent;
        CJVMTIE(jvmti, jvmti->SetEventCallbacks(&callbacks, sizeof(callbacks)));
        jvmti->SetEventNotificationMode(JVMTI_ENABLE, JVMTI_EVENT_VM_INIT, NULL);
        jvmti->SetEventNotificationMode(JVMTI_ENABLE, JVMTI_EVENT_GARBAGE_COLLECTION_START, NULL);
        jvmti->SetEventNotificationMode(JVMTI_ENABLE, JVMTI_EVENT_GARBAGE_COLLECTION_FINISH, NULL);
        return 0;
    JNIEXPORT void JNICALL Agent_OnUnload(JavaVM *vm)
        std::cout<<"OnUnload\n";
    static void JNICALL worker(jvmtiEnv *jvmti, JNIEnv *jni, void *p) {
        std::cout << "worker";
        for (;;) {
            CJVMTIE(jvmti, jvmti->RawMonitorEnter(lock));
            while (gc_count == 0) {
                CJVMTIE(jvmti, jvmti->RawMonitorWait(lock, 0));
                jvmti->RawMonitorExit(lock);
            gc_count = 0;
            jvmti->RawMonitorExit(lock);
            /* Perform arbitrary JVMTI/JNI work here to do post-GC cleanup */
            if(!heapCheck) {
                heapCheck = true;
                jint        count;
                jclass    *classes;
                CJVMTIE(jvmti, jvmti->GetLoadedClasses(&count, &classes));
                ClassDetail *details = (ClassDetail*)calloc(sizeof(ClassDetail), count);
                for(int i = 0; i < count; i++) {
                    char *sig;
                    CJVMTIE(jvmti, jvmti->GetClassSignature(classes, &sig, NULL));
    CFN(sig);
    details[i] = ClassDetail(strdup(sig));
    CJVMTIE(jvmti, jvmti->SetTag(classes[i], (jlong)(ptrdiff_t)(void*) (&details[i])));
    heapSize = 0;
    CJVMTIE(jvmti, jvmti->IterateOverHeap(JVMTI_HEAP_OBJECT_EITHER, &heapObject, NULL));
    std::cout << "Heap Memory : " << heapSize<<'\n';
    heapCheck = false;
    static void vmInit(jvmtiEnv jvmti, JNIEnv jni, jthread thread) {
    jclass clazz = jni->FindClass("java/lang/Thread");
    jmethodID mid = jni->GetMethodID(clazz, "<init>", "()V");
    jthread _thread = jni->NewObject(clazz, mid);
    CJVMTIE(jvmti, jvmti->RunAgentThread(_thread, &worker, NULL, JVMTI_THREAD_MAX_PRIORITY));
    static void startGCEvent(jvmtiEnv *jvmti) {
    static void finishGCEvent(jvmtiEnv *jvmti) {
    std::cout << "****************************************************************** <<<<<<<<<<<< Finito gc\n";
    gc_count++;
    CJVMTIE(jvmti,jvmti->RawMonitorEnter(lock));
    CJVMTIE(jvmti,jvmti->RawMonitorNotify(lock));
    CJVMTIE(jvmti,jvmti->RawMonitorExit(lock));
    static jvmtiIterationControl JNICALL heapObject(jlong tag, jlong size, jlong* tag_ptr, void* userData) {
    if(tag != (jlong) 0) {
    std::cout << "Tag : " << tag<< '\n';
    ClassDetail detail = (ClassDetail) (void*) (ptrdiff_t) tag;
    char *sig = detail->getSignature();
    std::cout << "Class " << sig << " size : " << size<<'\n';
    heapSize += size;
    return JVMTI_ITERATION_CONTINUE;
    -- ClassDetail.cpp --class ClassDetail {
    private:
    char* signature;
    public:
    ClassDetail(char* signature){
    this->signature = signature;
    char* getSignature() { return this->signature;}
    --Makefile--########################################################################
    # Sample GNU Makefile for building JVMTI Demo waiters
    # Example uses:
    # gnumake JDK=<java_home> OSNAME=solaris [OPT=true] [LIBARCH=sparc]
    # gnumake JDK=<java_home> OSNAME=solaris [OPT=true] [LIBARCH=sparcv9]
    # gnumake JDK=<java_home> OSNAME=linux [OPT=true]
    # gnumake JDK=<java_home> OSNAME=win32 [OPT=true]
    # Source lists
    LIBNAME=analizer
    SOURCES=analizer.cpp
    MYSQLPP_LIB_PATH=/home/claudio/Desktop/Scaricati2/mysql++-3.0.6/mysqlpp_lib/lib/
    MYSQLPP_HEADER_PATH=/home/claudio/Desktop/Scaricati2/mysql++-3.0.6/mysqlpp_lib/include/mysql++
    MYSQL_PATH=/opt/mysql-5.0.51a-linux-i686-icc-glibc23
    # Solaris Sun C Compiler Version 5.5
    ifeq ($(OSNAME), solaris)
    # Tell gnumake which compilers to use
    CC=cc
    CXX=CC
    # Sun Solaris Compiler options needed
    COMMON_FLAGS=-mt -KPIC
    # Check LIBARCH for any special compiler options
    LIBARCH=$(shell uname -p)
    ifeq ($(LIBARCH), sparc)
    COMMON_FLAGS+=-xarch=v8 -xregs=no%appl
    endif
    ifeq ($(LIBARCH), sparcv9)
    COMMON_FLAGS+=-xarch=v9 -xregs=no%appl
    endif
    ifeq ($(OPT), true)
    CXXFLAGS=-xO2 $(COMMON_FLAGS)
    else
    CXXFLAGS=-g $(COMMON_FLAGS)
    endif
    # Object files needed to create library
    OBJECTS=$(SOURCES:%.cpp=%.o)
    # Library name and options needed to build it
    LIBRARY=lib$(LIBNAME).so
    LDFLAGS=-z defs -ztext
    # Libraries we are dependent on
    LIBRARIES= -lc
    # Building a shared library
    LINK_SHARED=$(LINK.cc) -G -o $@
    endif
    # Linux GNU C Compiler
    ifeq ($(OSNAME), linux)
    # GNU Compiler options needed to build it
    COMMON_FLAGS=-fno-strict-aliasing -fPIC -fno-omit-frame-pointer
    # Options that help find errors
    COMMON_FLAGS+= -W -Wall -Wno-unused -Wno-parentheses
    ifeq ($(OPT), true)
    CXXFLAGS=-O2 $(COMMON_FLAGS)
    else
    CXXFLAGS=-g $(COMMON_FLAGS)
    endif
    # Object files needed to create library
    OBJECTS=$(SOURCES:%.cpp=%.o)
    # Library name and options needed to build it
    LIBRARY=lib$(LIBNAME).so
    LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc -mimpure-text
    LDFLAGS += -lmysqlpp
    # Libraries we are dependent on
    LIBRARIES=
    # Building a shared library
    LINK_SHARED=$(LINK.cc) -shared -o $@
    endif
    # Windows Microsoft C/C++ Optimizing Compiler Version 12
    ifeq ($(OSNAME), win32)
    CC=cl
    # Compiler options needed to build it
    COMMON_FLAGS=-Gy -DWIN32
    # Options that help find errors
    COMMON_FLAGS+=-W0 -WX
    ifeq ($(OPT), true)
    CXXFLAGS= -Ox -Op -Zi $(COMMON_FLAGS)
    else
    CXXFLAGS= -Od -Zi $(COMMON_FLAGS)
    endif
    # Object files needed to create library
    OBJECTS=$(SOURCES:%.cpp=%.obj)
    # Library name and options needed to build it
    LIBRARY=$(LIBNAME).dll
    LDFLAGS=
    # Libraries we are dependent on
    LIBRARIES=
    # Building a shared library
    LINK_SHARED=link -dll -out:$@
    endif
    # Common -I options
    CXXFLAGS += -I.
    #CXXFLAGS += -I../agent_util
    CXXFLAGS += -I$(JDK)/include -I$(JDK)/include/$(OSNAME)
    CXXFLAGS += -I$(MYSQLPP_HEADER_PATH) -I$(MYSQL_PATH)/include -L$(MYSQLPP_LIB_PATH) -I$(MYSQLPP_LIB_PATH)
    # Default rule
    all: $(LIBRARY)
    # Build native library
    $(LIBRARY): $(OBJECTS)
         $(LINK_SHARED) $(OBJECTS) $(LIBRARIES)
    # Cleanup the built bits
    clean:
         rm -f $(LIBRARY) $(OBJECTS)
    # Simple tester
    test: all
         LD_LIBRARY_PATH=`pwd` $(JDK)/bin/java -agentlib:$(LIBNAME) -jar jvmti-test.jar
         #LD_LIBRARY_PATH=`pwd` $(JDK)/bin/java -agentlib:$(LIBNAME) -version
    # Compilation rule only needed on Windows
    ifeq ($(OSNAME), win32)
    %.obj: %.cpp
         $(COMPILE.cc) $<
    endif

    Did you make sure your library (call it x) starts is named libx.so (atleast, on linux, possibly libx.dll on windows, not sure)? It will not load otherwise, and you must specify -agentlib:x (rather than saying libx.so). Yes, it is "funny" how it gives the same uninformative error message for a wide variety of errors. It will also give you this same error message if there are still unresolved symbols upon loading your library (which would be my second guess).

  • Computing of the shortest path using a custom cost function in Oracle NDM

    Hi to all,
    I have Oracle 10g R2, I'm working on Oracle Network Data Model. I created a Network (named ITALIA_NET) based on links table (named ITALIA_LINK$) and nodes table (named ITALIA_NODE$).
    Until now I computed the shortest path between two nodes using the 10gR2 NDM Java API, in particular I used the shortestPath() method.
    I know that this method computes the shortest path between two nodes on the base of the values of a field that can be the lenght OR the travel time of the links.
    What I wish to do is compute the shortest path between two nodes with a function that considers ( at the same time ) more parameters and on the base of them returns a path. For example, I want compute the shortest path taking into account these parameters for the links:
    travel times of links
    gradient links
    tortuosity links
    Infact, I have for each link the costs of: travel time (for example 3 minuts for cross the link), gradient (for example, the link has 2% of gradient) and tortuosity (for example, the link has two curves of 60° of angle).
    Do you have any idea how I can implement this?
    Are there other ways for reach this objective?
    I hope I explained well my objective.
    Thank you very much to all in advance.

    _1) If I convert the values of the other cost columns into the values of the primary cost column (time is ok), what is the formulation for do this conversion?_
    The modeling part is the most difficult part. I am not sure if there is a universal conversion formula between two different costs.
    One recommendation is to use time as your primary cost.
    For any other secondary costs, collect some data (or from some published statistics) on how these costs affect the travel time (based on the actual speeds wrt to gradients and tortuosity).
    I am not an expert on this. Maybe asking questions like,
    Q. how will a road of gradient = 10 deg affect the speed, uphill and downhill compared to the speed limit?
    Once you have a good estimates on the speeds, you can compute the travel times as the distance/length of the link is known. The same applies to tortuosity,
    Q. how will roads with 30/60/90 deg angles affect the travel speeds compared to the speed limit?
    Assuming you are using something like the speed limit as you normal travel speed to compute your travel time.
    _2) After conversion, how can I combine these columns?_
    Say if you have done the conversion part in Step 1, you have 3 costs,
    cost1, cost2, and cost3
    You can create a view on the link table with the combined link cost as (cost1+cost2+cost4) or
    you can create a new column that sums up the costs you want and use it as the link cost.
    hope it helps!
    jack

  • I can't find most of my files for the songs in my iTunes library and so cannot Sync them with my iPhone, Help please

    Help please! When I try to sync my iPhone it tells me it can't find most of my files for the songs in my iTunes library, although the songs are there!!

    Can anyone help?

  • I have windows 7 64 bit but the new itunes will not install because it can't find itunes64.msi.  I have searxhed evertwhere on my pc. In addition, I can't uninstall the itunes and reinstall for the same reason.

    I have windows 7 64 bit but the new itunes will not install because it can't find itunes64.msi.  I have searched evertwhere on my pc. In addition, I can't uninstall the itunes and reinstall for the same reason. I can't upgrade for my icloud account.

    Try the following steps:
    1. Go to Microsoft website to fix install and Unistall problems. Click "Run now" from Fix it to remove all iTunes & related installer files:
    http://support.microsoft.com/mats/Program_Install_and_Uninstall
    Be aware that Windows Installer CleanUp Utility will not remove the actual program from your computer. However, it will remove the installation files so that you can start the installation, upgrade, or uninstall over.
    2. You should remove all instances of iTunes and the rest of the components listed below:
    it may be necessary to remove all traces of iTunes, QuickTime, and related software components from your computer before reinstalling iTunes.
    Use the Control Panel to uninstall iTunes and related software components in the following order:
    iTunes
    QuickTime
    Apple Software Update
    Apple Mobile Device Support
    Bonjour
    Apple Application Support (iTunes 9 or later)
    Follow the instructions from Apple article listed here: http://support.apple.com/kb/HT1923 to remove all components
    3. Reboot your computer. Next, download iTunes from here:http://www.apple.com/itunes/download/ and install from scratch

  • I am trying to connect a PC wirelessly to my Mac OS X. The PC finds the Mac but asks for the WEP number. Where do I find this number?

    I am trying to connect a PC wirelessly to my Mac OS X. The PC finds the Mac but asks for the WEP number. Where do I find this number?

    Then use multipel 99 picture slideshows. 
    You can have up to 8 or 9 slideshows per menu.  If you add a sub menu reduce that by 1 and add 8 more to the sub menu.  The top menu can have links to up to 8 or so submenus (depends on the theme) and each submenu can have up to 8 or so slideshows. 
    However, converting a very large slideshow to a QT movie as Terence suggested does not envoke the 99 slide limit in iDVD.  It just becomes a single video/movie file.  So you should not have a problem with exporting at the large size, 720 x 540,
    and dragging the resulting file into the iDVD menu being sure to avoid any drop zones.
    OT

  • Finding output type and form for the transaction

    hi all,
       i have a problem finding output type and form for the transaction j1iv .actually i need to find the standard output type and form name for the transaction j1iv. how can we do it.

    Hi Abinash,
         Go through the following steps.
                     1 . Go to the transaction <b>NACE.</b>
                     2. You will be able to see the <b>Application and description</b> tab over  
                         there. Select the Application for which you need the output type.
                     3. After selecting the Application..on the top you can see the tab--
                        output types...click in that..here you will be able to see all the <b>output
                        types for that application.</b>
                    4. Now select a output type ..and on the left side u will be able to see
                       the tab for processing routines...double click on it...
                    5. Here you will be able to see the standard SAP program...the form
                       routine...the form..attached to it..
                Please Reward..if helpful..
    Regards,
    Himanshu.

  • Find the SAP Script name for the Output type RD00 and Appli V3

    Hi Gurus,
    My requirement was to copy the Std SAP Script for the output type RD00 and application name V3 and to do some modification.
    Please any one suggest me how to find the Std SAP script based on the above Output type and Appl ?
    Regards
    paul

    Hi,
    The script Name is LB_BIL_INVOICE
    You can find byNACE>V3>Output Types>RD00-->Processing Routines
    In thje output type Press Change button and select New entries.
    Regards
    Sandipan
    Edited by: Sandipan Ghosh on Mar 31, 2008 12:06 PM

Maybe you are looking for

  • I-Phone @ Inaugural - AT&T Fails Again - Damaging Apple Brand Name

    Once again AT&T let down i-Phone users. Terrible coverage across Washington DC while my Blackberry friends enjoyed great service. We missed our ride at one point because AT&T system went down. In the coat check line at one Inaugural Ball I overheard

  • Raw devices

    Hi I have one TB of sata hard disk on linux EL4. recently i was having some issues for ipaddress. so I reinstalled Linux EL4 keeping all other u01, u02 devices and formatted /, boot (root and boot). now when i see I dont find u01, or u02 etc what wou

  • Can the application shortcut point to an actual URL instead of the cache

    Hi, I am pretty new to Webstart and am trying to figure out if the application shortcut can actually point to some URL like http://www.something.com/abc.jnlp instead of pointing to some value in the cache. I would like to know if this is possible and

  • Cannot pair my iphone to laptop using bluetooth

    why i can't pair my iphone3GS to my sony vaio laptop using bluetooth? My friend can pair his iphone to laptop but when i try using his laptop to pair my iphone it cannot. can someone help me i think is the problem from my iphone.

  • The flow of SD

    Hi Experts .     Can u please help me explain how the flow of SD  and MM, and In FI CO( what are the transcation will be created)