tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frederick Piña <pina.freder...@gmail.com>
Subject Re: Apache Tomcat 9
Date Fri, 06 May 2016 18:17:29 GMT
I'm having errors:

/usr/local/apache-tomcat-9.0.0.M4/bin/catalina.sh run
Configuration Error: deployment source 'SimpleJavaWebApp:war exploded' 
is not valid
[2016-05-06 01:50:26,222] Artifact SimpleJavaWebApp:war exploded: Error 
during artifact deployment. See server log for details.
06-May-2016 13:50:30.839 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Server 
version:        Apache Tomcat/9.0.0.M4
06-May-2016 13:50:30.851 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Server 
built:          Mar 12 2016 11:39:59 UTC
06-May-2016 13:50:30.852 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Server 
number:         9.0.0.0
06-May-2016 13:50:30.852 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log OS 
Name:               Mac OS X
06-May-2016 13:50:30.853 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log OS 
Version:            10.11.4
06-May-2016 13:50:30.853 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log 
Architecture:          x86_64
06-May-2016 13:50:30.853 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Java Home: 
/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/jre
06-May-2016 13:50:30.854 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log JVM 
Version:           1.8.0_91-b14
06-May-2016 13:50:30.855 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log JVM 
Vendor:            Oracle Corporation
06-May-2016 13:50:30.856 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: 
/Users/frederickpina/Library/Caches/IntelliJIdea2016.1/tomcat/Tomcat_9_0_0_M4_SimpleJavaWebApp
06-May-2016 13:50:30.856 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log 
CATALINA_HOME:         /usr/local/apache-tomcat-9.0.0.M4
06-May-2016 13:50:30.858 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line 
argument: 
-Djava.util.logging.config.file=/Users/frederickpina/Library/Caches/IntelliJIdea2016.1/tomcat/Tomcat_9_0_0_M4_SimpleJavaWebApp/conf/logging.properties
06-May-2016 13:50:30.858 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line 
argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
06-May-2016 13:50:30.858 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line 
argument: -Dcom.sun.management.jmxremote=
06-May-2016 13:50:30.859 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line 
argument: -Dcom.sun.management.jmxremote.port=1099
06-May-2016 13:50:30.859 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line 
argument: -Dcom.sun.management.jmxremote.ssl=false
06-May-2016 13:50:30.860 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line 
argument: -Dcom.sun.management.jmxremote.authenticate=false
06-May-2016 13:50:30.860 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line 
argument: -Djava.rmi.server.hostname=127.0.0.1
06-May-2016 13:50:30.860 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line 
argument: 
-Dcatalina.base=/Users/frederickpina/Library/Caches/IntelliJIdea2016.1/tomcat/Tomcat_9_0_0_M4_SimpleJavaWebApp
06-May-2016 13:50:30.871 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line 
argument: -Dcatalina.home=/usr/local/apache-tomcat-9.0.0.M4
06-May-2016 13:50:30.871 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line 
argument: -Djava.io.tmpdir=/usr/local/apache-tomcat-9.0.0.M4/temp
06-May-2016 13:50:30.872 INFO [main] 
org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR 
based Apache Tomcat Native library which allows optimal performance in 
production environments was not found on the java.library.path: 
/Users/frederickpina/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
06-May-2016 13:50:31.613 INFO [main] 
org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler 
["http-nio-8009"]
06-May-2016 13:50:31.679 SEVERE [main] 
org.apache.coyote.AbstractProtocol.init Failed to initialize end point 
associated with ProtocolHandler ["http-nio-8009"]
  java.net.BindException: Address already in use
     at sun.nio.ch.Net.bind0(Native Method)
     at sun.nio.ch.Net.bind(Net.java:433)
     at sun.nio.ch.Net.bind(Net.java:425)
     at 
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
     at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
     at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:245)
     at 
org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:798)
     at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:547)
     at 
org.apache.coyote.http11.AbstractHttp11Protocol.init(AbstractHttp11Protocol.java:66)
     at 
org.apache.catalina.connector.Connector.initInternal(Connector.java:1010)
     at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
     at 
org.apache.catalina.core.StandardService.initInternal(StandardService.java:549)
     at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
     at 
org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:873)
     at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
     at org.apache.catalina.startup.Catalina.load(Catalina.java:606)
     at org.apache.catalina.startup.Catalina.load(Catalina.java:629)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.lang.reflect.Method.invoke(Method.java:498)
     at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:311)
     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:494)

06-May-2016 13:50:31.684 SEVERE [main] 
org.apache.catalina.core.StandardService.initInternal Failed to 
initialize connector [Connector[HTTP/1.1-8009]]
  org.apache.catalina.LifecycleException: Failed to initialize component 
[Connector[HTTP/1.1-8009]]
     at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:112)
     at 
org.apache.catalina.core.StandardService.initInternal(StandardService.java:549)
     at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
     at 
org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:873)
     at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
     at org.apache.catalina.startup.Catalina.load(Catalina.java:606)
     at org.apache.catalina.startup.Catalina.load(Catalina.java:629)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.lang.reflect.Method.invoke(Method.java:498)
     at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:311)
     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:494)
Caused by: org.apache.catalina.LifecycleException: Protocol handler 
initialization failed
     at 
org.apache.catalina.connector.Connector.initInternal(Connector.java:1013)
     at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
     ... 12 more
Caused by: java.net.BindException: Address already in use
     at sun.nio.ch.Net.bind0(Native Method)
     at sun.nio.ch.Net.bind(Net.java:433)
     at sun.nio.ch.Net.bind(Net.java:425)
     at 
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
     at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
     at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:245)
     at 
org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:798)
     at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:547)
     at 
org.apache.coyote.http11.AbstractHttp11Protocol.init(AbstractHttp11Protocol.java:66)
     at 
org.apache.catalina.connector.Connector.initInternal(Connector.java:1010)
     ... 13 more

06-May-2016 13:50:31.686 INFO [main] 
org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler 
["ajp-nio-50922"]
06-May-2016 13:50:31.721 INFO [main] 
org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a 
shared selector for servlet write/read
06-May-2016 13:50:31.733 INFO [main] 
org.apache.catalina.startup.Catalina.load Initialization processed in 
2461 ms
06-May-2016 13:50:31.997 INFO [main] 
org.apache.catalina.core.StandardService.startInternal Starting service 
Catalina
06-May-2016 13:50:31.997 INFO [main] 
org.apache.catalina.core.StandardEngine.startInternal Starting Servlet 
Engine: Apache Tomcat/9.0.0.M4
06-May-2016 13:50:32.016 INFO [main] 
org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler 
[ajp-nio-50922]
06-May-2016 13:50:32.044 INFO [main] 
org.apache.catalina.startup.Catalina.start Server startup in 309 ms
Connected to server
Configuration Error: deployment source 'SimpleJavaWebApp:war exploded' 
is not valid
[2016-05-06 01:50:32,418] Artifact SimpleJavaWebApp:war exploded: Error 
during artifact deployment. See server log for details.
06-May-2016 13:50:42.023 INFO [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployDirectory Deploying web 
application directory /usr/local/apache-tomcat-9.0.0.M4/webapps/manager
06-May-2016 13:50:42.625 INFO [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web 
application directory /usr/local/apache-tomcat-9.0.0.M4/webapps/manager 
has finished in 601 ms


On 5/6/16 2:01 PM, Mark Thomas wrote:
> On 06/05/2016 17:50, Frederick Piña wrote:
>> Hi ! I'm having an issue with my Apache Tomcat 9 and the new IntelliJ
>> 2016.1
>>
>> It seems that the Tomcat was properly installed, yet I can't compile my
>> Java Web Application on the server. It's a strange issue.
>>
>> Can someone assist me ?
> Sure, just as soon as the fog clears in my crystal ball so I can see
> what error you are getting.
>
> Mark
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message