Educating the world

Our blog has over 10,000 readers a month

Pivotal Tomcat server configuration is missing in Eclipse

September 21st, 2016

I use Spring Tool Suite (STS) when I'm working on Java projects that heavily use the Spring Framework. One gotcha that keeps getting me is the following message.

The Tomcat server configuration at \Servers\Pivotal tc Server Developer Edition v3.1-config is missing. Check the server for errors.

The message pops up when I try to drag a web project on to the icon for Pivotal tc Server Developer Edition v3.1 in the Servers tab. Eclipse can not read the configuration file because it lives in a project that is closed. In spite of saying open related projects Eclipse does not notice that the web server configuration project is related to my web application project and so I must open it explicitly. Opening the Servers project fixes it.

Creating users on MySQL

September 4th, 2016

It's mainly because I have trouble spelling privileges!


mysqlCREATE USER 'me'@'localhost' IDENTIFIED BY 'me123';
Query OK0 rows affected (0.00 sec)
mysqlGRANT ALL ON me.* TO 'me'@'localhost';
Query OK0 rows affected (0.00 sec)
mysqlflush privileges;
Query OK0 rows affected (0.01 sec)

Peru tour - Day 9 Journey to Cusco

August 21st, 2016

Feel much better today, don't feel sick. Just have to wait for the Imodium to wear off so I can get back to my normal routine.

Took a few photos from the 11th floor of the hotel after breakfast then got on the bus at 8am.

Today we have a long drive to Cusco with a couple of short stops along the way. The first stop was in Jolaca. There is an enormous market that runs every day, selling literary everything from shoes to haircuts to dried cow pats! I could have spent all day looking around but we only had 15 minutes. Yet again we were held back by the usual suspects who thought that 15 minutes meant anytime they felt like. We sent out a search party to find them but couldn't so we just had to wait. When they eventually turned up they have nothing but attitude and didn't seem to care. These were the same people that moaned about being late into Puno when it was their constant fannying around that delayed us. I'm finding it increasingly difficult to be nice, but that is what being a considerate human being is all about.

Next stop is Pukara for a comfort break. Then another stop about 30 minutes later, at an all you can eat buffet for 25/s. The restaurant has 4 musicians playing panpipes and guitars. I found it a bit annoying. Everywhere you go here they want to play their music at you and all I wanted to do was eat my lunch in peace! Chatting to Richard about humour and language. I could have done with a bit more time for lunch but we were on a schedule so had to go.

We stopped at another town after about another hour. This town was special because of the alien. Yes, you heard me! There was a museum all about maze which is basically corn. Here corn comes in many different forms not just yellow cobs but different colours and different shapes. The Incas used maze as a primary food source, eating it as we do but also making jam, sweet drinks and fermenting it to make beer and spirits. Once the museum started to talk about the Incas it started telling us about how they trapanned some people to remove evil spirits and wrapped royal people's heads in order to elongate their skulls. There was one body they found that had an elongated skull but appeared to be too small to be an adult and yet had adult teeth so it must have been an alien! National Geographic has (apparently) investigated the body but can't be sure that it is human. It all sounded a bit silly to me.

We eventually got to Cusco and checked into Hotel Midori. It was quite a nice hotel and the staff seemed very pleasant. Coincidentally, I was in the same room number as the last hotel 108. The others all set off for dinner but Steve and I have got into the habit of having dinner together so we headed down to Plaza De Armas.

We wanted to go to a tapas place Steve knew but it was full so we headed back to the square. The first place we tried was playing panpipe music in the restaurant and I just turned around and said no way. They had ruined my lunch and I couldn't face them ruining dinner too. We eventually went into a place that said they'd give us a free pisco sour with our dinner. It was disappointingly small but by that time we had sat down and were pretty hungry so stayed. It was a bit more expensive that we thought it'd be but it was getting late so we just laughed it off. I had pork chops and it was very tasty although the French fries were a bit rubbish. For a country that has 3000 varieties of potato, I still haven't had any decent chips yet! It was another pleasant evening.

Afterwards, we tried to find a bar for a night cap. There were a couple of salsa bars which offered a free drink but they were dead so we headed for a normal bar. I enjoyed it, they had some 6-8% Belgium-like beers and IPAs which seemed to make things better. Steve had water because he was still feeling a bit rough.

I had posted my blog and got a Facebook message from Serge so we tried to meet up before he left for his 5-day cycle ride to Machu Pichu but our timings were off and so we never got it together.

By this point it was late and time for bed.

Peru tour - Day 8 Visiting the Uros Island people on lake Titikaka

August 20th, 2016

Woke up several times during the night for visits to the loo. The night was restless. Had a lovely hot shower then went to breakfast, didn't seem to have my usual appetite though. It was a 7.30 meet in reception so popped back to the room to pick up my stuff. Had a bit of an accident so had to have another shower and change my undies! Wasn't going to let it ruin my day so popped a few Imodium and headed out the door.

We all got on the bus except for Steve who was feeling a bit under the weather too. 10 minutes drive and we were at the harbour which was hustling and bustling with tourists all wanting trips to the floating islands. There was an acrid smell of diesel and plumes of bluish smoke surrounding the boats.

Our guide, Felix, introduced the crew. The captain was called Haraldo and Carlso was his 10 year old helper. Both Haraldo and Carlos were wearing the traditional dress of the Uros people: black trousers, white shirt, a half-length black waistcoat and a hat. These are an old people but the Spanish invaders affected their culture and dress so I can see a matador influence in their uniforms.

Our private boat had 20 seats indoors, a bench-like arrangement outside at the back of the boat and an area on the roof for another 8 so there was plenty of space to move around and a toilet which I was hoping I wouldn't be seeing much of!

As the boat left Puno and sailed out we passed through a toll. The toll helps to fund the community, providing a school and medical facilities. Within a quarter of an hour, we could see the floating islands.

It was not what I imagined at all. Each island was made of water grass. The first island we disembarked on was set up for a demonstration of how the islands are made. The roots of the water grass clumped together to make a buoyant block about half a meter square cubed. These were lashed together then the grass was layered on top. The layers were built up pushing the roots down and stabilising the platform. Some of the newer islands were very springy underfoot and we could see people falling over from time to time. The older islands felt a lot more solid and stable.

The soft base of the grass is used as a food source by the people and the upper part is used as a building material or is sold on the mainland as animal feed. Before the tourists came, selling the grass to farmers was their only income. Now with the tourist visiting, they make crocheted designed material depicting the history of their people. These are rounded and cartooned in nature. Simplistic but still very ornate. I didn't have time to get more cash before setting off so Toni lent me 100/s to get one. This will be the centre piece of one of the rooms in my house in the same way that the Tenka from Nepal helped me design my bedroom.

The money raised from selling these items along with other handmade jewellery goes to support the actual people on the island. There are about 85 islands in total and due to their floating property they are not fixed and can move around. The islanders take it in turns to be the islands closest to the mainland in order to share the money raised from tourism.

We took a water taxi from the first island to the next. These boats are nicknamed by the Uros people as Mercedes Boats because they are slightly bigger than their standard boat design and have an extra structure in the centre to carry more people (tourists). It looked a bit like the saddle you'd see on top of an elephant only double decked. Our drivers were a really old man and a small girl probably only 10 or 12. They were dressed in traditional clothes. The girl was really pretty but terribly grubby. Both of them had skin that had been darkened by the sun.

It occurred to me that I was supporting child labour but all the money being raised was going into the community to provide education and better health care and over time some of then were leaving the islands to find a better life for themselves on land.

They are a separate people to the Peruvian people with a separate language that dates back to before Christ and so on one of the islands they were stamping passports. I unfortunately, didn't have mine with me so picked up a stamped paper which I'll glue in when I get back.

I could write lots more about the islands and the people but you really need to come here and see it for yourself.

We piled back on the boat with all our trinkets and set off across Lake Titicaca, the highest lake on the planet at 3810 meters. The lake forms the border between Peru and Bolivia. The Peruvians say they own 60% of the lake and the Bolivians own 40%. However, if you ask a Bolivian they will say the opposite!

2 hours on the boats took us to Taquile, a small (proper) island with a population of 2000. We walked across the beach and onto the coastal path. Each year the inhabitants club together money, sweat and tears and improve the island in some way. The coastal path is a work in progress and covers about half the circumference of the island. I found it heavy going as I'm still feeling quite sick.

A couple of the others have had tummy troubles and we think it was from eating at the stall yesterday.

When we got to the top of the island there was a restaurant which is owned and shared by the 8 communities living on the island. As we went into the garden the local women shook our hands and greeted us. A long table was set up at the back of the house. One side had chairs and the other side had one long seat built into the garden's wall which overlooked the bay. While the people in the chairs could look at the view, the people sitting on the wall could see a group of the local women making clothing by hand using traditional methods.

Lunch was gifted to us by Steve as we had been late arriving in Puno last night. It was nobody's fault we were late so it was nice of him.

Lunch consisted of vegetable soup, with a load of vegetables I didn't recognize, trout with rice and veg followed by pancakes and jam. The trout was delicious, it was fried and had something on top which gave it a sweet flavour and crisp texture.

After lunch we were invited to buy some of the garments made by the local women. They were reasonably priced but I didn't have enough and I didn't want to increase my debt to the group.

We have nicknamed Flojee "Fag Ash Lil" because she spent all her free time smoking. Several members of the group noticed and commented on the fact that she was walking up and down the line of clothing on the floor flicking ash all over then. We noticed that the Peruvian women who were selling the clothes were, shall we say, less than impressed. When Fag Ash Lil had finished, she just flicked her butt on the floor. There was no litter anywhere, but somehow she thought this was acceptable behaviour.

The guide said they sell their wears in the market in Puno for the same price so I thought I'd try there after going to the ATM.

We wanted to get back before dark and so we set off down the path. The boat we had arrived on had already circled around the island so it was a steep but short climb down.

I noticed that we had picked up another passenger for our return and asked the guide who he was. "He's the cook", replied the guide. He was on his way to the market to buy supplies for the island. Today is market day in Puno so he can get stuff cheaply and return to the island tomorrow with enough for the week. I got the impression that the people of the island use the tourist boats as a kind of free taxi service, which is fair enough when you think about it.

I got back and showered. I wanted to hang out with Steve again because last night was so easy and fun but didn't want to encroach on his tour duties. Just then the phone rang and it was Steve asking if I had a plan for the evening. I didn't so we decided to repeat last night.

We had a bit of a wandered around town and he showed me some of the other hotels he had been looking at for next year's Peru tour. A few of the group had complained that they couldn't sleep because they could hear the music from local nightclubs.

One of the hotels was really nice, it had a modern interior with a trendy well-decorated restaurant joining it. This hotel was the cheapest of the 3 so if you're in Peru next year with Angel Holidays then you have me to thank for the accommodation! We decided to eat in the restaurant. We shared some chicken wings that we really tasty and spicy then I had Spaghetti Bolanase and a beer. Steve was still feeling peeky, so just had soup. It was a really pleasant evening.

It was still a bit early for bed so wandered around town and watched what was going on before heading back to the hotel.

Peru tour - Day 7 Condors and journey to Puno

August 18th, 2016

The alarm went off at 5.50am. I spent most of the night listening to the stray dogs barking at each other so didn't get a lot of sleep. Felt really tired which doesn't help with shortness of breath caused by the altitude.

Today's main activity is seeing the condors. They like flying in the hot air thermals in the morning between 8 and 10 although it's not guaranteed when they'll turn up.

We drove up to the observation point and luckily we didn't have to wait very long. The condor is related to the vulture family and the adults have a wingspan of about 3 meters. It was a wonderful experience watching them sawing overhead. Their main home is in Colca Canyon which supports about 50 of them. The views of the canyon were spectacular. It reminded me of the Grand Canyon in America where the mountains had a blue misty tint because the were so far away.

We watch them flying around for about at hour but I could have stayed longer. On the way back we stopped in Shivya again for lunch but this time we eat street food in the market. I had Papa Araine which was a shell made of potato filled with mincemeat, vegetables and olives with a bit of salad. It was really tasty and not bad for 3/s (80p). Topped it up with a chocolate bar I didn't recognize which turned out to be nutty!

It was time to leave the area and make our 5 hour journey to Puno.

We passed an enormous legume with flamingos and stopped for a photo opportunity. The landscape was breathtaking.

It was a long journey so Steve had "prepared" one of his legendary quizzes to help pass the time. The prizes this time were 2 pens with larmas on top so the pressure was on. This quiz was even more bizarre than the last.

The questions are ambiguous at best and the answers are open to interpretation. A nice example of this is "how many planes are in the air at rush hour?" A) more than 4000, b) more than 8000 or c) more than 10000. "A" will always be right because they are all more than 4000! All the questions were pot luck and it was a bit of a crapshoot who won.

Along the way, we were delayed by a petroleum lorry that had come off the road and turned upside down. The police were there waving traffic through and a lots of people were there scooping up the petrol into buckets. I could smell the petrol in the air and nobody seemed overly concerned with the highly flammable nature of the substance. If that had been in England there would have been fire retardant form everywhere with a corden. This was the only road so that just wasn't possible here.

As we approached Puno it was dark. There was a really slow lorry that several cars, lorries and vans were trying to overtake. In Peru they have a relaxed attitude to overtaking. You come up behind someone beep your horn, flash your lights and overtake. The car being overtaken stays at the same speed or slows a little to let them pass. If there is any oncoming traffic, which there usual is, they slow down. This happens all the time because all the traffic travels at different speeds.

This is much better than England where most traffic will speed up while you try to overtake and the oncoming traffic will speed up flash their lights and shout abuse at you. So the traffic here seems to move quite fluidly.

The hotel was a bit characterless as it was like a proper hotel. 9 floors of rooms and a bar at the top. It was the most like a regular western hotel we've stayed in so far. The upside was that when I put the hot shower tap on, it stayed hot and didn't run out after a minute. Ooh bliss!

It was a free night tonight. It just so happen that Steve had the room next door to mine so we decided to go for dinner together. We found a nice restaurant a couple of streets down. I get along with Steve best out of the group and the more I get to know him the funnier I think he is, this man has done all the jobs there are and is full of stories and anecdotes. We had a couple of beers and chatted about the tour.

During the conversation Pelar's name came up and Steve said she really enjoyed meeting the group. I was excepting Steve to come out with some sarcy comment about my swan gift to Pelar but he said that she really liked it and has put it in her room with her other keepsakes as a reminder of a really nice evening.

It was probably the nicest evening I've had so far. We called it a night when we were about half way through our second beer as we were both feeling quite drunk!

Got back to the hotel and realized I'd left my camera charger at the planetarium hotel. My camera had a full charge but I knew that would only last a day or two. I really wanted the camera for Machu Picchu at the end of the week. I was kicking myself.