WebHouse – Error 503 Service Temporarily Unavailable

lacike/ February 9, 2013/ Uncategorized

Máte svoj hosting v spoločnosti WebHouse?  Na vašom webe čas od času vidíte namiesto obsahu iba chybovú hlášku? Service Temporarily Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.   Tak vedzte, že to nie je nutne problém vášho webu. Uvedená spoločnosť uplatňuje “rate limit” na zdroje, ktoré na

Read More

JAXB xjc expected element of type …

lacike/ November 21, 2012/ Hints

If you have trouble loading Xml using classes generated by xjc tool (included in JAXB distribution), be carefull and do not define XSD main element like this: <!– MAIN element –> <xs:element name=”main” type=”Main”> <xs:complexType name=”Main”> … The problem here is that the main element and main element type names are identical (except the first letter that is uppercased). Xjc

Read More

Java String.isEmpty interrupts method call or thread

lacike/ November 15, 2012/ Hints

Does your call of String.isEmpty in your code cause strange behaviour such as: – sudden interruption of method call (as if return was called) – thread interruption ? The problem is quite simple – you had build your code using JDK 1.6 with language compatibility set to previous version (1.4, 1.5) hoping the compiler would use the correct classes. This

Read More