in error log SEVERE: Error listenerStart Jul 17, 2013 4:10:03 PM org.apache.catalina.core.StandardContext start SEVERE: Context [/sqoop] startup failed due to previous errors Jul 17, 2013 4:10:03 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc SEVERE: The web application [/sqoop] registered the JDBC driver [org.apache.derby.jdbc.AutoloadedDriver40] but failed to unregister it when the web application was stopped. To p revent a memory leak, the JDBC Driver has been forcibly unregistered. Jul 17, 2013 4:10:03 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: The web application [/sqoop] appears to have started a thread named [sqoop-config-file-poller] but has failed to stop it. This is very likely to create a memory leak. Jul 17, 2013 4:10:03 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks SEVERE: The web application [/sqoop] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@7c92eb86]) and a value of type [org.apache.derb y.iapi.services.context.ContextManager] (value [org.apache.derby.iapi.services.context.ContextManager@7185ad79]) but failed to remove it when the web application was stopped. Th is is very likely to create a memory leak. Jul 17, 2013 4:10:03 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks SEVERE: The web application [/sqoop] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@7c92eb86]) and a value of type [org.apache.derby.iapi.services.context.ContextManager] (value [org.apache.derby.iapi.services.context.ContextManager@22e90943]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. log4j: log4j called after unloading, see http://logging.apache.org/log4j/1.2/faq.html#unload. java.lang.IllegalStateException: Class invariant violation at org.apache.log4j.LogManager.getLoggerRepository(LogManager.java:199) at org.apache.log4j.LogManager.getLogger(LogManager.java:228) at org.apache.log4j.Logger.getLogger(Logger.java:117) at org.apache.sqoop.connector.jdbc.GenericJdbcImportInitializer.<clinit>(GenericJdbcImportInitializer.java:39) at sun.misc.Unsafe.ensureClassInitialized(Native Method) at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:25) at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:122) at java.lang.reflect.Field.acquireFieldAccessor(Field.java:918) at java.lang.reflect.Field.getFieldAccessor(Field.java:899) at java.lang.reflect.Field.get(Field.java:358) at org.apache.catalina.loader.WebappClassLoader.clearReferencesStaticFinal(WebappClassLoader.java:2066)
On Wed, Jul 17, 2013 at 4:26 PM, ch huang <[email protected]> wrote: > is this a bug? ,i can not run show command > > sqoop:000> show connector --all > Exception has occurred during processing command > Exception: com.sun.jersey.api.client.UniformInterfaceException Message: > GET http://localhost:12000/sqoop/v1/connector/all returned a response > status of 404 Not Found > sqoop:000> set server --host localhost --port 8050 --webapp sqoop > Server is set successfully > sqoop:000> show connector --all > Exception has occurred during processing command > Exception: com.sun.jersey.api.client.ClientHandlerException Message: > java.net.ConnectException: Connection refused > sqoop:000> show server --all > Server host: localhost > Server port: 8050 > Server webapp: sqoop > sqoop:000> show connector --all > Exception has occurred during processing command > Exception: com.sun.jersey.api.client.ClientHandlerException Message: > java.net.ConnectException: Connection refused >
