Error starting solr with plugin which uses spark libraries - java

I am trying to start solr with a custom plugin which uses spark library. I am trying to initialize sparkcontext in local mode. I have made a fat jar for this plugin using maven shade and put it in the lib directory. While starting solr it is not able to initialize sparkcontext. It says class not found exception for AkkaRpcEnvFactory. Can anyone please help.
It gives the following error:
3870 [coreLoadExecutor-4-thread-1] ERROR org.apache.spark.SparkContext – Error initializing SparkContext.
java.lang.ClassNotFoundException:org.apache.spark.rpc.akka.AkkaRpcEnvFactory
Here is the detailed error
java -jar start.jar
0 [main] INFO org.eclipse.jetty.server.Server – jetty-8.1.10.v20130312
27 [main] INFO org.eclipse.jetty.deploy.providers.ScanningAppProvider – Deployment monitor /home/rahul/solr-4.7.2/example/contexts at interval 0
40 [main] INFO org.eclipse.jetty.deploy.DeploymentManager – Deployable added: /home/rahul/solr-4.7.2/example/contexts/solr-jetty-context.xml
1095 [main] INFO org.eclipse.jetty.webapp.StandardDescriptorProcessor – NO JSP Support for /solr, did not find org.apache.jasper.servlet.JspServlet
1155 [main] INFO org.apache.solr.servlet.SolrDispatchFilter – SolrDispatchFilter.init()
1189 [main] INFO org.apache.solr.core.SolrResourceLoader – JNDI not configured for solr (NoInitialContextEx)
1190 [main] INFO org.apache.solr.core.SolrResourceLoader – solr home defaulted to 'solr/' (could not find system property or JNDI)
1190 [main] INFO org.apache.solr.core.SolrResourceLoader – new SolrResourceLoader for directory: 'solr/'
1280 [main] INFO org.apache.solr.core.ConfigSolr – Loading container configuration from /home/rahul/solr-4.7.2/example/solr/solr.xml
1458 [main] INFO org.apache.solr.core.CoresLocator – Config-defined core root directory: /home/rahul/solr-4.7.2/example/solr
1465 [main] INFO org.apache.solr.core.CoreContainer – New CoreContainer 602710225
...............
3870 [coreLoadExecutor-4-thread-1] ERROR org.apache.spark.SparkContext – Error initializing SparkContext.
java.lang.ClassNotFoundException: org.apache.spark.rpc.akka.AkkaRpcEnvFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:430)
at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:383)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:274)
at org.apache.spark.util.Utils$.classForName(Utils.scala:173)
at org.apache.spark.rpc.RpcEnv$.getRpcEnvFactory(RpcEnv.scala:42)
at org.apache.spark.rpc.RpcEnv$.create(RpcEnv.scala:53)
at org.apache.spark.SparkEnv$.create(SparkEnv.scala:252)
at org.apache.spark.SparkEnv$.createDriverEnv(SparkEnv.scala:193)
at org.apache.spark.SparkContext.createSparkEnv(SparkContext.scala:276)
at org.apache.spark.SparkContext.<init>(SparkContext.scala:441)
at org.apache.spark.api.java.JavaSparkContext.<init>(JavaSparkContext.scala:61)
at com.snapdeal.search.spark.SparkLoadModel.loadModel(SparkLoadModel.java:11)
at com.snapdeal.search.valuesource.parser.RankingModelValueSourceParser.init(RankingModelValueSourceParser.java:29)
at org.apache.solr.core.SolrCore.createInitInstance(SolrCore.java:591)
at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:2191)
at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:2185)
at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:2218)
at org.apache.solr.core.SolrCore.initValueSourceParsers(SolrCore.java:2130)
at org.apache.solr.core.SolrCore.<init>(SolrCore.java:765)
at org.apache.solr.core.SolrCore.<init>(SolrCore.java:630)
at org.apache.solr.core.CoreContainer.createFromLocal(CoreContainer.java:562)
at org.apache.solr.core.CoreContainer.create(CoreContainer.java:597)
at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:258)
at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:250)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
3880 [coreLoadExecutor-4-thread-1] INFO org.apache.spark.SparkContext – Successfully stopped SparkContext

Related

ClassNotFoundException: org.jboss.resteasy.core.messagebody.AsyncBufferedMessageBodyWriter

I'm trying to implement this tutorial:
https://www.baeldung.com/rest-api-spring-oauth2-angular
My implementation: Github
I updated the package dependencies to latest version. But when I start the project I get exception:
13:34:43.343 [main] INFO EngineApplication[logStarting:55] - Starting EngineApplication v1.0 on ws-11820 with PID 56180 (C:\Users\plte1219\Desktop\CJM\media_auth\target\engine-1.0.jar started by plte1219 in C:\Users\plte1219\Desktop\CJM\media_auth)
13:34:43.347 [main] INFO EngineApplication[logStartupProfileInfo:655] - The following profiles are active: local
13:34:46.239 [main] INFO RepositoryConfigurationDelegate[registerRepositoriesIn:127] - Bootstrapping Spring Data JPA repositories in DEFAULT mode.
13:34:46.289 [main] INFO RepositoryConfigurationDelegate[registerRepositoriesIn:187] - Finished Spring Data repository scanning in 7ms. Found 0 JPA repository interfaces.
13:34:46.299 [main] INFO RepositoryConfigurationDelegate[registerRepositoriesIn:127] - Bootstrapping Spring Data JPA repositories in DEFAULT mode.
13:34:46.301 [main] INFO RepositoryConfigurationDelegate[registerRepositoriesIn:187] - Finished Spring Data repository scanning in 1ms. Found 0 JPA repository interfaces.
13:34:48.008 [main] INFO PostProcessorRegistrationDelegate$BeanPostProcessorChecker[postProcessAfterInitialization:335] - Bean 'contextProductionDatasource' of type [org.engine.context.ContextProductionDatasource$$EnhancerBySpringCGLIB$$80cefca2] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
13:34:48.192 [main] INFO PostProcessorRegistrationDelegate$BeanPostProcessorChecker[postProcessAfterInitialization:335] - Bean 'contextWarehouseDatasource' of type [org.engine.context.ContextWarehouseDatasource$$EnhancerBySpringCGLIB$$f848a010] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
13:34:49.537 [main] INFO TomcatWebServer[initialize:108] - Tomcat initialized with port(s): 8080 (http)
13:34:49.551 [main] INFO Http11NioProtocol[log:173] - Initializing ProtocolHandler ["http-nio-8080"]
13:34:49.552 [main] INFO StandardService[log:173] - Starting service [Tomcat]
13:34:49.552 [main] INFO StandardEngine[log:173] - Starting Servlet engine: [Apache Tomcat/9.0.36]
13:34:49.693 [main] INFO [/engine][log:173] - Initializing Spring embedded WebApplicationContext
13:34:49.693 [main] INFO ServletWebServerApplicationContext[prepareWebApplicationContext:285] - Root WebApplicationContext: initialization completed in 6128 ms
13:34:50.508 [main] INFO LogHelper[logPersistenceUnitInformation:31] - HHH000204: Processing PersistenceUnitInfo [name: DS1]
13:34:51.231 [main] INFO Version[logVersion:44] - HHH000412: Hibernate ORM core version 5.4.18.Final
13:34:51.979 [main] INFO Version[<clinit>:49] - HCANN000001: Hibernate Commons Annotations {5.1.0.Final}
13:34:53.126 [main] INFO HikariDataSource[getConnection:110] - PRODUCTION_HIKARICP_CONNECTION_POOL - Starting...
13:34:53.427 [main] INFO HikariDataSource[getConnection:123] - PRODUCTION_HIKARICP_CONNECTION_POOL - Start completed.
13:34:53.565 [main] INFO Dialect[<init>:172] - HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect
13:34:55.995 [main] INFO JtaPlatformInitiator[initiateService:52] - HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
13:34:57.676 [main] INFO LocalContainerEntityManagerFactoryBean[buildNativeEntityManagerFactory:416] - Initialized JPA EntityManagerFactory for persistence unit 'DS1'
13:34:57.698 [main] INFO LogHelper[logPersistenceUnitInformation:31] - HHH000204: Processing PersistenceUnitInfo [name: DS2]
13:34:58.075 [main] INFO HikariDataSource[getConnection:110] - WAREHOUSE_HIKARICP_CONNECTION_POOL - Starting...
13:34:58.081 [main] INFO HikariDataSource[getConnection:123] - WAREHOUSE_HIKARICP_CONNECTION_POOL - Start completed.
13:34:58.082 [main] INFO Dialect[<init>:172] - HHH000400: Using dialect: org.hibernate.dialect.MariaDB103Dialect
13:34:58.432 [main] INFO JtaPlatformInitiator[initiateService:52] - HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
13:34:58.433 [main] INFO LocalContainerEntityManagerFactoryBean[buildNativeEntityManagerFactory:416] - Initialized JPA EntityManagerFactory for persistence unit 'DS2'
13:34:58.879 [main] WARN JpaBaseConfiguration$JpaWebConfiguration[openEntityManagerInViewInterceptor:220] - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
13:34:59.216 [main] INFO ThreadPoolTaskExecutor[initialize:181] - Initializing ExecutorService 'applicationTaskExecutor'
13:35:00.069 [main] WARN FreeMarkerAutoConfiguration[checkTemplateLocationExists:67] - Cannot find template location(s): [classpath:/templates/] (please add some templates, check your FreeMarker configuration, or set spring.freemarker.checkTemplateLocation=false)
13:35:01.188 [main] INFO Http11NioProtocol[log:173] - Starting ProtocolHandler ["http-nio-8080"]
13:35:01.423 [main] WARN i18n[registerProviders:150] - RESTEASY002145: NoClassDefFoundError: Unable to load builtin provider org.jboss.resteasy.plugins.providers.jackson.ResteasyJackson2Provider from jar:file:/C:/Users/plte1219/Desktop/CJM/media_auth/target/engine-1.0.jar!/BOOT-INF/lib/resteasy-jackson2-provider-4.5.5.Final.jar!/META-INF/services/javax.ws.rs.ext.Providers
java.lang.NoClassDefFoundError: org/jboss/resteasy/core/messagebody/AsyncBufferedMessageBodyWriter
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017)
at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:151)
at java.base/java.net.URLClassLoader.defineClass(URLClassLoader.java:514)
at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:422)
at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:416)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:691)
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:415)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)
at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:151)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:427)
at org.springframework.boot.web.embedded.tomcat.TomcatEmbeddedWebappClassLoader.loadFromParent(TomcatEmbeddedWebappClassLoader.java:114)
at org.springframework.boot.web.embedded.tomcat.TomcatEmbeddedWebappClassLoader.doLoadClass(TomcatEmbeddedWebappClassLoader.java:87)
at org.springframework.boot.web.embedded.tomcat.TomcatEmbeddedWebappClassLoader.loadClass(TomcatEmbeddedWebappClassLoader.java:70)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1188)
at org.jboss.resteasy.plugins.providers.RegisterBuiltin.registerProviders(RegisterBuiltin.java:132)
at org.jboss.resteasy.plugins.providers.RegisterBuiltin.register(RegisterBuiltin.java:52)
at org.jboss.resteasy.spi.ResteasyDeployment.startInternal(ResteasyDeployment.java:266)
at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:92)
at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:119)
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1134)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:986)
at org.springframework.boot.web.embedded.tomcat.TomcatEmbeddedContext.load(TomcatEmbeddedContext.java:82)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1624)
at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:658)
at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:274)
at java.base/java.util.TreeMap$ValueSpliterator.forEachRemaining(TreeMap.java:2905)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
at org.springframework.boot.web.embedded.tomcat.TomcatEmbeddedContext.lambda$deferredLoadOnStartup$0(TomcatEmbeddedContext.java:65)
at org.springframework.boot.web.embedded.tomcat.TomcatEmbeddedContext.doWithThreadContextClassLoader(TomcatEmbeddedContext.java:106)
at org.springframework.boot.web.embedded.tomcat.TomcatEmbeddedContext.deferredLoadOnStartup(TomcatEmbeddedContext.java:64)
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.performDeferredLoadOnStartup(TomcatWebServer.java:305)
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.start(TomcatWebServer.java:216)
at org.springframework.boot.web.servlet.context.WebServerStartStopLifecycle.start(WebServerStartStopLifecycle.java:43)
at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:182)
at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:53)
at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:360)
at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:158)
at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:122)
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:895)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:554)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:143)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:758)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:750)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1237)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226)
at org.engine.EngineApplication.main(EngineApplication.java:25)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:109)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88)
Caused by: java.lang.ClassNotFoundException: org.jboss.resteasy.core.messagebody.AsyncBufferedMessageBodyWriter
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:435)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)
at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:151)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
... 66 common frames omitted
Do you know how I can fix this issue?
I had the same error. I updated resteasy-jackson2-provider and that caused the problem.
Turned out I had to also update resteasy-client to the same version, not sure if it applies to your case, but I got rid of this error this way. In my case I updated to the latest (at the moment) 4.5.8.Final

springboot get error when server starting in linux

First, there are two Linux servers.
I want to build a redundant web server on two servers.
I installed jre1.8.0 on two servers equally.
And I installed the same spring boot war file on two servers equally.
By the way ....
Server 1 normally goes up and works normally.
Error on server # 2 ....
I've copied war and tomcat on server # 1 to server # 2.
I still get an error on server # 2.
The duplication structure is almost the same as all the settings ...
jre path I checked .. 1.8.0 I checked and ..... ha ...... what is the problem?
I can not figure out why the error is only on server 2, because it is the same file with the same settings.
This is the error log.
:: Spring Boot :: (v2.1.0.BUILD-SNAPSHOT)
2018-09-17 16:31:35 [DEBUG] [StartupInfoLogger.java]logStarting(53) :
Running with Spring Boot v2.1.0.BUILD-SNAPSHOT, Spring
v5.1.0.BUILD-SNAPSHOT
2018-09-17 16:31:35 [INFO ]
[SpringApplication.java]logStartupProfileInfo(701) : The following
profiles are active: dev
2018-09-17 16:31:35 [ERROR]
[LoggingFailureAnalysisReporter.java]report(42) :
APPLICATION FAILED TO START
Description:
An attempt was made to call the method org.springframework.beans.factory.annotation.AnnotatedBeanDefinition.setRole(I)V but it does not exist. Its class, org.springframework.beans.factory.annotation.AnnotatedBeanDefinition, is available from the following locations:
jar:file:{path}/WEB-INF/lib/spring-beans-5.1.0.RC3.jar!/org/springframework/beans/factory/annotation/AnnotatedBeanDefinition.class
jar:file:{path}/WEB-INF/lib/spring-beans-5.1.0.BUILD-SNAPSHOT.jar!/org/springframework/beans/factory/annotation/AnnotatedBeanDefinition.class
It was loaded from the following location:
file:{path}/WEB-INF/lib/spring-beans-5.1.0.RC3.jar
Action:
Correct the classpath of your application so that it contains a single, compatible version of
org.springframework.beans.factory.annotation.AnnotatedBeanDefinition
17-Sep-2018 16:31:35.890 ½É°¢ [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild:
start:
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/url]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:753)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:729)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:940)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1816)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoSuchMethodError:
org.springframework.beans.factory.annotation.AnnotatedBeanDefinition.setRole(I)V
at
org.springframework.context.annotation.AnnotationConfigUtils.processCommonDefinitionAnnotations(AnnotationConfigUtils.java:259)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForBeanMethod(ConfigurationClassBeanDefinitionReader.java:228)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:140)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:116)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:327)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:232)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:275)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:95)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:693)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:530)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:797)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:421)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:340)
at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:157)
at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:137)
at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:91)
at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:171)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5303)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
... 10 more
17-Sep-2018 16:31:35.892 ½É°¢ [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployWAR Error deploying web
application archive {Path}.War java.lang.IllegalStateException:
ContainerBase.addChild: start: org.apache.catalina.LifecycleException:
Failed to start component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/url]]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:757)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:729)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:940)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1816)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
17-Sep-2018 16:31:35.893 Á¤º¸ [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployWAR Deployment of web
application archive {path}.war has finished in 3,617 ms 17-Sep-2018
16:31:35.894 Á¤º¸ [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployDirectory Deploying web
application directory {path}/ROOT 17-Sep-2018 16:31:35.924 Á¤º¸
[localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployDirectory Deployment of
web application directory {path}/ROOT has finished in 30 ms
17-Sep-2018 16:31:35.926 Á¤º¸ [main]
org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler
["http-nio-5555"] 17-Sep-2018 16:31:35.932 Á¤º¸ [main]
org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler
["ajp-nio-4444"] 17-Sep-2018 16:31:35.934 Á¤º¸ [main]
org.apache.catalina.startup.Catalina.start Server startup in 3701 ms

How to solve the error when I try to display JSP page?

I have try to display some database records on JSP page. In my project I have to pages like index.html and studentDeatils.jsp. I set requestDispather to go studentDetails page from index page.
When I try to display the JSP I got the following error in my browser page.
Error:
HTTP Status 500 - Servlet execution threw an exception
type Exception report
message Servlet execution threw an exception
description The server encountered an internal error that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Servlet execution threw an exception
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
root cause
java.lang.LinkageError: loader constraint violation: loader (instance of org/apache/catalina/loader/WebappClassLoader) previously initiated loading for a different type with name "javax/servlet/RequestDispatcher"
java.lang.ClassLoader.defineClass1(Native Method)
java.lang.ClassLoader.defineClass(Unknown Source)
java.security.SecureClassLoader.defineClass(Unknown Source)
java.net.URLClassLoader.defineClass(Unknown Source)
java.net.URLClassLoader.access$100(Unknown Source)
java.net.URLClassLoader$1.run(Unknown Source)
java.net.URLClassLoader$1.run(Unknown Source)
java.security.AccessController.doPrivileged(Native Method)
java.net.URLClassLoader.findClass(Unknown Source)
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:894)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1298)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1175)
com.mine.servlet.TestClass.doGet(TestClass.java:23)
javax.servlet.http.HttpServlet.service(HttpServlet.java:618)
javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
note The full stack trace of the root cause is available in the Apache Tomcat/8.0.5 logs.
This is my folder structure:
Web Content
-->index.html and stucentDetails.jsp
log File : tomcat8-stdout.2015-03-03
2015-03-03 12:17:10 Commons Daemon procrun stdout initialized
reqType = next
Inside if() reqType = next
ID :: 101 First Name :: Kavi Last Name :: Arasu
ID :: 102 First Name :: Sathis Last Name :: Kumar
ArrayList = [com.min.variableobject.StudentVO#45a690]
Error file : tomcat8-stderr.2015-03-03
2015-03-03 12:17:10 Commons Daemon procrun stderr initialized
03-Mar-2015 12:17:14.535 INFO [main] org.apache.catalina.core.AprLifecycleListener.init The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Apache Software Foundation\Tomcat 8.0\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\egurkha\bin;C:\egurkha\lib;C:\egurkha\JAVA\JDK\bin;C:\egurkha\lib\tt;C:\egurkha\bin\tt;C:\Program Files\Common Files\Microsoft Shared\Microsoft Online Services;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\apache-ant-1.9.4\bin;C:\Program Files\Java\jdk1.7.0_17\bin ;C:\egurkha\manager\tomcat\bin;.
03-Mar-2015 12:17:15.941 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
03-Mar-2015 12:17:16.113 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
03-Mar-2015 12:17:16.129 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
03-Mar-2015 12:17:16.145 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
03-Mar-2015 12:17:16.145 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 2763 ms
03-Mar-2015 12:17:16.270 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina
03-Mar-2015 12:17:16.270 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.5
03-Mar-2015 12:17:16.316 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\egtomcat.war
03-Mar-2015 12:17:17.004 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
03-Mar-2015 12:17:17.238 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\Learning.war
03-Mar-2015 12:17:17.410 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
03-Mar-2015 12:17:17.410 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\docs
03-Mar-2015 12:17:17.457 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\manager
03-Mar-2015 12:17:17.551 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\ROOT
03-Mar-2015 12:17:17.598 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
03-Mar-2015 12:17:17.598 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
03-Mar-2015 12:17:17.613 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 1468 ms
Please share your ideas.
The jars in your WAR file contain either servlet-api.jar or javaee-api.jar. It is bundled in your tomcat installation. If you are adding any lib with these jars, they ll give conflict

Apache Solr "HTTP ERROR 503" after unloading Core and trying to re-create it

I was looking how I can query some XML files with Solr and thus I went and changed the schema.xml file located under the collection1 directory.
Then I launched a query, which I knew it should return 1 result but in vain.
So I figured I might have to re-load the CORE (the idea was taken from CoreAdmin -Solr Wiki). So I did, but for some reason I wasn't able to. Thats said, I decided to restart the service (sorl/example java -jar start.jar) and now I am getting this error:
HTTP ERROR 503
Problem accessing /solr/. Reason:
Server is shutting down or failed to initialize
Powered by Jetty://
This is the command prompt output which shows that server is running??
0 [main] INFO org.eclipse.jetty.server.Server û jetty-8.1.10.v20130312
75 [main] INFO org.eclipse.jetty.deploy.providers.ScanningAppProvider û Depl
oyment monitor C:\Users\kapel_000\Desktop\solr-4.10.2\example\contexts at interv
al 0
83 [main] INFO org.eclipse.jetty.deploy.DeploymentManager û Deployable added
: C:\Users\kapel_000\Desktop\solr-4.10.2\example\contexts\solr-jetty-context.xml
1916 [main] INFO org.eclipse.jetty.webapp.StandardDescriptorProcessor û NO JSP
Support for /solr, did not find org.apache.jasper.servlet.JspServlet
2066 [main] INFO org.apache.solr.servlet.SolrDispatchFilter û SolrDispatchFilt
er.init()
2083 [main] INFO org.apache.solr.core.SolrResourceLoader û JNDI not configured
for solr (NoInitialContextEx)
2083 [main] INFO org.apache.solr.core.SolrResourceLoader û solr home defaulted
to 'solr/' (could not find system property or JNDI)
2084 [main] INFO org.apache.solr.core.SolrResourceLoader û new SolrResourceLoa
der for directory: 'solr/'
2248 [main] INFO org.apache.solr.core.ConfigSolr û Loading container configura
tion from C:\Users\kapel_000\Desktop\solr-4.10.2\example\solr\solr.xml
2323 [main] INFO org.apache.solr.core.CoresLocator û Config-defined core root
directory: C:\Users\kapel_000\Desktop\solr-4.10.2\example\solr
2334 [main] INFO org.apache.solr.core.CoreContainer û New CoreContainer 307272
05
2335 [main] INFO org.apache.solr.core.CoreContainer û Loading cores into CoreC
ontainer [instanceDir=solr/]
2351 [main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory û S
etting socketTimeout to: 0
2352 [main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory û S
etting urlScheme to: null
2359 [main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory û S
etting connTimeout to: 0
2360 [main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory û S
etting maxConnectionsPerHost to: 20
2362 [main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory û S
etting corePoolSize to: 0
2363 [main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory û S
etting maximumPoolSize to: 2147483647
2363 [main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory û S
etting maxThreadIdleTime to: 5
2364 [main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory û S
etting sizeOfQueue to: -1
2365 [main] INFO org.apache.solr.handler.component.HttpShardHandlerFactory û S
etting fairnessPolicy to: false
2596 [main] INFO org.apache.solr.update.UpdateShardHandler û Creating UpdateSh
ardHandler HTTP client with params: socketTimeout=0&connTimeout=0&retry=false
2599 [main] INFO org.apache.solr.logging.LogWatcher û SLF4J impl is org.slf4j.
impl.Log4jLoggerFactory
2601 [main] INFO org.apache.solr.logging.LogWatcher û Registering Log Listener
[Log4j (org.slf4j.impl.Log4jLoggerFactory)]
2603 [main] INFO org.apache.solr.core.CoreContainer û Host Name:
7194 [main] INFO org.apache.solr.core.CoresLocator û Looking for core definiti
ons underneath C:\Users\kapel_000\Desktop\solr-4.10.2\example\solr
7213 [main] INFO org.apache.solr.core.CoresLocator û Found core collection1 in
C:\Users\kapel_000\Desktop\solr-4.10.2\example\solr\collection1\
7215 [main] INFO org.apache.solr.core.CoresLocator û Found core collection1 in
C:\Users\kapel_000\Desktop\solr-4.10.2\example\solr\collection5\
7216 [main] INFO org.apache.solr.core.CoresLocator û Found 2 core definitions
7220 [main] ERROR org.apache.solr.servlet.SolrDispatchFilter û Could not start
Solr. Check solr/home property and the logs
7270 [main] ERROR org.apache.solr.core.SolrCore û null:org.apache.solr.common.S
olrException: Found multiple cores with the name [collection1], with instancedir
s [C:\Users\kapel_000\Desktop\solr-4.10.2\example\solr\collection1\] and [C:\Use
rs\kapel_000\Desktop\solr-4.10.2\example\solr\collection5\]
at org.apache.solr.core.CoreContainer.checkForDuplicateCoreNames(CoreCon
tainer.java:297)
at org.apache.solr.core.CoreContainer.load(CoreContainer.java:241)
at org.apache.solr.servlet.SolrDispatchFilter.createCoreContainer(SolrDi
spatchFilter.java:189)
at org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.ja
va:136)
at org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:119)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
Cycle.java:64)
at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.ja
va:719)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletC
ontextHandler.java:265)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.jav
a:1252)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandle
r.java:710)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494
)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
Cycle.java:64)
at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(Stan
dardStarter.java:39)
at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:1
86)
at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentM
anager.java:494)
at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.j
ava:141)
at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(Scan
ningAppProvider.java:145)
at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(Sc
anningAppProvider.java:56)
at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:609)
at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:540)
at org.eclipse.jetty.util.Scanner.scan(Scanner.java:403)
at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:337)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
Cycle.java:64)
at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(Scanni
ngAppProvider.java:121)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
Cycle.java:64)
at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(Deploymen
tManager.java:555)
at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.
java:230)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
Cycle.java:64)
at org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(Aggregate
LifeCycle.java:81)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHand
ler.java:58)
at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrappe
r.java:96)
at org.eclipse.jetty.server.Server.doStart(Server.java:280)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
Cycle.java:64)
at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:12
59)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:118
2)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.jetty.start.Main.invokeMain(Main.java:473)
at org.eclipse.jetty.start.Main.start(Main.java:615)
at org.eclipse.jetty.start.Main.main(Main.java:96)
7276 [main] INFO org.apache.solr.servlet.SolrDispatchFilter û SolrDispatchFilt
er.init() done
7302 [main] INFO org.eclipse.jetty.server.AbstractConnector û Started SocketCo
nnector#0.0.0.0:8983
Does any of this make any sense? Did I messed up badly (more than once?) or is it something simle I am not aware of?
Here's your error:
7270 [main] ERROR org.apache.solr.core.SolrCore û
null:org.apache.solr.common.S olrException: Found multiple cores with
the name [collection1], with instancedirs
[C:\Users\kapel_000\Desktop\solr-4.10.2\example\solr\collection1] and
[C:\Users\kapel_000\Desktop\solr-4.10.2\example\solr\collection5]
Check your config, you've got the core collection1 configured twice. Once pointing to example\solr\collection1 and once to example\solr\collection5
HTTP ERROR 503
Problem accessing /solr/. Reason:
Server is shutting down or failed to initialize

I always face this error when I run a web app from intellij and restart the tomcat server

when I run the web app using intellij and using tomcat server the first time it works good but after the third time and I am using restart server I got this error in debug mode
Apr 29, 2014 3:42:46 PM org.apache.catalina.core.StandardServer await
WARNING: StandardServer.await: read:
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at org.apache.catalina.core.StandardServer.await(StandardServer.java:477)
at org.apache.catalina.startup.Catalina.await(Catalina.java:777)
at org.apache.catalina.startup.Catalina.start(Catalina.java:723)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:321)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:455)
Apr 29, 2014 3:42:46 PM org.apache.catalina.core.StandardServer await
WARNING: StandardServer.await: Invalid command 'SHTDOWN' received
I see this in server output (run mode)
D:\DevelopingTools\apache-tomcat-8.0.5\bin\catalina.bat run
[2014-05-06 10:55:17,115] Artifact untitled3:war exploded: Server is not connected. Deploy is not available.
Using CATALINA_BASE: "C:\Users\MohammedSubhi.subhi-PC\.IntelliJIdea13\system\tomcat\Unnamed_untitled3"
Using CATALINA_HOME: "D:\DevelopingTools\apache-tomcat-8.0.5"
Using CATALINA_TMPDIR: "D:\DevelopingTools\apache-tomcat-8.0.5\temp"
Using JRE_HOME: "C:\Program Files\Java\jre7"
Using CLASSPATH: "D:\DevelopingTools\apache-tomcat-8.0.5\bin\bootstrap.jar;D:\DevelopingTools\apache-tomcat-8.0.5\bin\tomcat-juli.jar"
06-May-2014 10:55:17.847 INFO [main] org.apache.catalina.core.AprLifecycleListener.init The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\SlikSvn\bin;C:\Program Files (x86)\Git\bin;D:\DevelopingTools\apache-maven-3.2.1\bin;C:\Program Files\Java\jdk1.7.0_51\bin;C:\Program Files\SlikSvn\bin;D:\DevelopingTools\adt-bundle-windows-x86_64-20140321\sdk\platform-tools;.
06-May-2014 10:55:18.070 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8077"]
06-May-2014 10:55:18.088 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
06-May-2014 10:55:18.091 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
06-May-2014 10:55:18.094 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
06-May-2014 10:55:18.094 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 586 ms
06-May-2014 10:55:18.117 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina
06-May-2014 10:55:18.118 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.5
06-May-2014 10:55:18.126 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8077"]
06-May-2014 10:55:18.136 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
06-May-2014 10:55:18.138 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 43 ms
Connected to server
[2014-05-06 10:55:18,187] Artifact untitled3:war exploded: Artifact is being deployed, please wait...
[2014-05-06 10:55:18,580] Artifact untitled3:war exploded: Artifact is deployed successfully
[2014-05-06 10:55:18,580] Artifact untitled3:war exploded: Deploy took 393 milliseconds
06-May-2014 10:55:28.132 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory D:\DevelopingTools\apache-tomcat-8.0.5\webapps\manager
D:\DevelopingTools\apache-tomcat-8.0.5\bin\catalina.bat stop
Using CATALINA_BASE: "C:\Users\MohammedSubhi.subhi-PC\.IntelliJIdea13\system\tomcat\Unnamed_untitled3"
Using CATALINA_HOME: "D:\DevelopingTools\apache-tomcat-8.0.5"
Using CATALINA_TMPDIR: "D:\DevelopingTools\apache-tomcat-8.0.5\temp"
Using JRE_HOME: "C:\Program Files\Java\jre7"
Using CLASSPATH: "D:\DevelopingTools\apache-tomcat-8.0.5\bin\bootstrap.jar;D:\DevelopingTools\apache-tomcat-8.0.5\bin\tomcat-juli.jar"
06-May-2014 10:55:37.537 WARNING [main] org.apache.catalina.core.StandardServer.await StandardServer.await: Invalid command 'SHTDOWN' received
try to install avg inertent security and make a full scan or delete the latest installed programs.
Some software seems to block your sockets activity. Try removing or disabling any kind of antiviruses, spyware/malware protection, firewall, security soft, etc.

Categories

Resources