I created new project (Liferay Project with Plugin Portlet Type and JSF 2.x.x Portlet Framework) using Lifeay IDE in Eclipse. I didn't change anything and added project to Liferay v6.1 CE Server (Tomcat 7) and started this server.
Unfortunately, I got this errors (portlet was unregistered).
(...) 09:05:08,828 INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]][PluginPackageUtil:1033] Reading plugin package for MyFaces-portlet 2013-08-02 09:05:09 org.apache.catalina.core.ApplicationContext log INFO: Closing Spring root WebApplicationContext 09:05:09,037 INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]][HookHotDeployListener:813] Hook for MyFaces-portlet was unregistered 2013-08-02 09:05:09 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: The web application [/MyFaces-portlet] appears to have started a thread named [MultiThreadedHttpConnectionManager cleanup] but has failed to stop it. This is very likely to create a memory leak. 09:05:26,970 INFO [com.liferay.portal.plugin.PluginPackageUtil][PluginPackageUtil:1421] Checking for available updates 09:05:26,971 INFO [com.liferay.portal.plugin.PluginPackageUtil][PluginPackageUtil:1465] Finished checking for available updates in 1 ms
What is wrong?