2016-11-14 15:10 GMT+01:00 jessepeng <[email protected]>: > Romain Manni-Bucau wrote > > Without tomee? Maybe tomcat scanning - in catalina.properties > > Doesn't help either, unfortunately. > > I tried to start the TomEE in IntelliJ to see if the problem occurs there, > but I got this error and couldn't deploy: > > Application Server was not connected before run configuration stop, reason: > javax.naming.NoInitialContextException: Cannot instantiate class: > org.apache.openejb.client.RemoteInitialContextFactory > > I then added openejb-client.jar to the classes in the Application Servers > settings, and now I'm getting this error: > > Application Server was not connected before run configuration stop, reason: > javax.naming.NamingException: Cannot lookup > '/openejb/DeployerBusinessRemote'. > > has been fixed normally in late idea versions but in 2 words you need to setup tomee ejbd protocol (tomee.remote.support=true etc...)
If you can reproduce it with tomee maven plugin (idea is you share a project we run with mvn package tomee:run) we could help you more accurately. > > > -- > View this message in context: http://tomee-openejb.979440. > n4.nabble.com/IllegalAccess-exception-when-reloading- > TomEE-7-0-1-using-Apache-Camel-2-18-0-tp4680514p4680532.html > Sent from the TomEE Users mailing list archive at Nabble.com. >
