Hi think you need to open an issue on intellij side. They look integrated to tomcat version so maybe something has been broken upgrading to tomcat 8.
Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com> 2015-11-30 17:59 GMT+01:00 MarkD <[email protected]>: > Hi guys, > > I was previously running tome 1.7.2 in intellij without any problems. It > was > running with myfaces 2.2.8 (api & core) jars in the library. Today I > downloaded the 7-snapshot. > > After setting up the application server, run configuration and running > there > is no application running. Files appear in the out directory. Upon stopping > the server I get the following error message: > > 'Application Server was not connected before run configuration stop, > reason: > javax.naming.NamingException: Cannot lookup > '/openejb/DeployerBusinessRemote' > > Also, a difference I have noticed is the intellij folder. The 1.7.2 app > server outputs a folder named 'TomEE_7_0_62_AppDI' whereas the 7 app server > outputs a folder named 'Unnamed_AppDI_4'. It is the 'Unnamed_' that looks > suspicious as it is not unnamed (unless I'm missing something). > > Further to this, I tested the server outside of IntelliJ and it works. > > Do you have any suggestions? > > I have included the output from the log: > > C:\apache-tomee-plus-7.0.0\bin\catalina.bat run > [2015-11-30 05:07:58,724] Artifact idaccessweb:war exploded: Server is not > connected. Deploy is not available. > Using CATALINA_BASE: > "C:\Users\Mark\.IntelliJIdea15\system\tomcat\Unnamed_AppDI_4" > Using CATALINA_HOME: "C:\apache-tomee-plus-7.0.0" > Using CATALINA_TMPDIR: "C:\apache-tomee-plus-7.0.0\temp" > Using JRE_HOME: "C:\Program Files (x86)\Java\jdk1.8.0_65" > Using CLASSPATH: > > "C:\apache-tomee-plus-7.0.0\bin\bootstrap.jar;C:\apache-tomee-plus-7.0.0\bin\tomcat-juli.jar" > INFO - Server version: Apache Tomcat (TomEE)/8.0.29 (7.0.0-SNAPSHOT) > INFO - Server built: Nov 20 2015 09:18:00 UTC > INFO - Server number: 8.0.29.0 > INFO - OS Name: Windows 10 > INFO - OS Version: 10.0 > INFO - Architecture: x86 > INFO - Java Home: C:\Program Files (x86)\Java\jdk1.8.0_65\jre > INFO - JVM Version: 1.8.0_65-b17 > INFO - JVM Vendor: Oracle Corporation > INFO - CATALINA_BASE: > C:\Users\Mark\.IntelliJIdea15\system\tomcat\Unnamed_AppDI_4 > INFO - CATALINA_HOME: C:\apache-tomee-plus-7.0.0 > INFO - Command line argument: > -javaagent:C:\apache-tomee-plus-7.0.0\lib\openejb-javaagent.jar > INFO - Command line argument: -Dcom.sun.management.jmxremote= > INFO - Command line argument: -Dcom.sun.management.jmxremote.port=1099 > INFO - Command line argument: -Dcom.sun.management.jmxremote.ssl=false > INFO - Command line argument: > -Dcom.sun.management.jmxremote.authenticate=false > INFO - Command line argument: -Djava.rmi.server.hostname=127.0.0.1 > INFO - Command line argument: > > -Djava.util.logging.config.file=C:\Users\Mark\.IntelliJIdea15\system\tomcat\Unnamed_AppDI_4\conf\logging.properties > INFO - Command line argument: > -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager > INFO - Command line argument: > -Djava.endorsed.dirs=C:\apache-tomee-plus-7.0.0\endorsed > INFO - Command line argument: > -Dcatalina.base=C:\Users\Mark\.IntelliJIdea15\system\tomcat\Unnamed_AppDI_4 > INFO - Command line argument: -Dcatalina.home=C:\apache-tomee-plus-7.0.0 > INFO - Command line argument: > -Djava.io.tmpdir=C:\apache-tomee-plus-7.0.0\temp > INFO - 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 > > (x86)\Java\jdk1.8.0_65\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program > Files (x86)\Skype\Phone\;. > INFO - Initializing ProtocolHandler ["http-nio-8080"] > INFO - Using a shared selector for servlet write/read > INFO - Initializing ProtocolHandler ["ajp-nio-8009"] > INFO - Using a shared selector for servlet write/read > INFO - Using > > 'openejb.jdbc.datasource-creator=org.apache.tomee.jdbc.TomEEDataSourceCreator' > INFO - > > ******************************************************************************** > INFO - OpenEJB http://tomee.apache.org/ > INFO - Startup: Mon Nov 30 17:08:02 GMT 2015 > INFO - Copyright 1999-2015 (C) Apache OpenEJB Project, All Rights Reserved. > INFO - Version: 7.0.0-SNAPSHOT > INFO - Build date: 20151130 > INFO - Build time: 04:07 > INFO - > > ******************************************************************************** > INFO - openejb.home = C:\apache-tomee-plus-7.0.0 > INFO - openejb.base = > C:\Users\Mark\.IntelliJIdea15\system\tomcat\Unnamed_AppDI_4 > INFO - Created new singletonService > org.apache.openejb.cdi.ThreadSingletonServiceImpl@1dc8ecb > INFO - Succeeded in installing singleton service > INFO - openejb configuration file is > > 'C:\Users\Mark\.IntelliJIdea15\system\tomcat\Unnamed_AppDI_4\conf\tomee.xml' > INFO - Configuring Service(id=Tomcat Security Service, > type=SecurityService, > provider-id=Tomcat Security Service) > INFO - Configuring Service(id=Default Transaction Manager, > type=TransactionManager, provider-id=Default Transaction Manager) > INFO - Using 'openejb.deployments.classpath=false' > INFO - Creating TransactionManager(id=Default Transaction Manager) > INFO - Creating SecurityService(id=Tomcat Security Service) > INFO - Creating ServerService(id=cxf) > INFO - Creating ServerService(id=cxf-rs) > INFO - ** Bound Services ** > INFO - NAME IP PORT > INFO - ------- > INFO - Ready! > INFO - Initialization processed in 3243 ms > INFO - Importing a Tomcat Resource with id 'UserDatabase' of type > 'org.apache.catalina.UserDatabase'. > INFO - Creating Resource(id=UserDatabase) > INFO - Starting service Catalina > INFO - Starting Servlet Engine: Apache Tomcat (TomEE)/8.0.29 > (7.0.0-SNAPSHOT) > INFO - Starting ProtocolHandler ["http-nio-8080"] > INFO - Starting ProtocolHandler ["ajp-nio-8009"] > INFO - Server startup in 87 ms > INFO - Deploying web application directory > C:\apache-tomee-plus-7.0.0\webapps\manager > INFO - ------------------------- localhost -> /manager > INFO - Configuring enterprise application: > C:\apache-tomee-plus-7.0.0\webapps\manager > INFO - Configuring Service(id=comp/DefaultManagedExecutorService, > type=Resource, provider-id=Default Executor Service) > INFO - Auto-creating a Resource with id > 'comp/DefaultManagedExecutorService' > of type 'javax.enterprise.concurrent.ManagedExecutorService for 'manager'. > INFO - Configuring Service(id=comp/DefaultManagedScheduledExecutorService, > type=Resource, provider-id=Default Scheduled Executor Service) > INFO - Auto-creating a Resource with id > 'comp/DefaultManagedScheduledExecutorService' of type > 'javax.enterprise.concurrent.ManagedScheduledExecutorService for 'manager'. > INFO - Configuring Service(id=comp/DefaultManagedThreadFactory, > type=Resource, provider-id=Default Managed Thread Factory) > INFO - Auto-creating a Resource with id 'comp/DefaultManagedThreadFactory' > of type 'javax.enterprise.concurrent.ManagedThreadFactory for 'manager'. > INFO - Enterprise application "C:\apache-tomee-plus-7.0.0\webapps\manager" > loaded. > INFO - Assembling app: C:\apache-tomee-plus-7.0.0\webapps\manager > INFO - using context file > C:\apache-tomee-plus-7.0.0\webapps\manager\META-INF\context.xml > INFO - Deployed > Application(path=C:\apache-tomee-plus-7.0.0\webapps\manager) > INFO - 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. > INFO - Deployment of web application directory > C:\apache-tomee-plus-7.0.0\webapps\manager has finished in 1,556 ms > > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/Tomee-7-snapshot-intellij-tp4677025.html > Sent from the TomEE Users mailing list archive at Nabble.com. >
