tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jieryn <jie...@gmail.com>
Subject Re: Apache TomEE 7 - tomee:run - resource reloading failing
Date Tue, 08 Nov 2016 22:41:35 GMT
       <plugin>
          <groupId>org.apache.tomee.maven</groupId>
          <artifactId>tomee-maven-plugin</artifactId>
          <version>7.0.1</version>
          <configuration>
            <context>ROOT</context>
            <deployOpenEjbApplication>true</deployOpenEjbApplication>
            <password>tomee</password>
            <path>/</path>
            <reloadOnUpdate>true</reloadOnUpdate>
            <removeDefaultWebapps>true</removeDefaultWebapps>
            <removeTomeeWebapp>true</removeTomeeWebapp>
            <simpleLog>true</simpleLog>
            <synchronization>
              <extensions>
                <extension>.class</extension>
                <extension>.css</extension>
                <extension>.html</extension>
                <extension>.js</extension>
                <extension>.ui.xml</extension>
              </extensions>
            </synchronization>
            <systemVariables>
              <tomee.serialization.class.whitelist />
              <tomee.serialization.class.blacklist>-</tomee.serialization.class.blacklist>
            </systemVariables>
            <tomeeAjpPort>8009</tomeeAjpPort>
            <tomeeClassifier>plus</tomeeClassifier>
            <tomeeHttpPort>8080</tomeeHttpPort>
            <tomeeShutdownPort>8005</tomeeShutdownPort>
            <tomeeVersion>7.0.1</tomeeVersion>
            <user>tomee</user>
            <warFile>/home/jieryn/workspaces/acme/com.acme.app/ui/user/target/user-0.1-SNAPSHOT.war</warFile>
          </configuration>
        </plugin>


Previously, we had used blaclist of
org.codehaus.groovy.runtime.,org.apache.commons.collections.functors.,org.apache.xalan,java.lang.Process


both configurations above fail, can not reload



On Tue, Nov 8, 2016 at 5:39 PM, Romain Manni-Bucau
<rmannibucau@gmail.com> wrote:
> Yes,
>
> openejb.system.apps=true
> tomee.remote.support=true
>
> + the blacklist as in 1.7.4
>
>
> Romain Manni-Bucau
> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> <https://blog-rmannibucau.rhcloud.com> | Old Blog
> <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau>
|
> LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory
> <https://javaeefactory-rmannibucau.rhcloud.com>
>
> 2016-11-08 23:20 GMT+01:00 jieryn <jieryn@gmail.com>:
>
>> Nov 08, 2016 5:18:51 PM org.apache.openejb.client.EventLogger log
>> INFO: RemoteInitialContextCreated{providerUri=http://localhost:
>> 8080/tomee/ejb}
>> Nov 08, 2016 5:18:51 PM org.apache.openejb.client.EventLogger log
>> WARNING: RequestFailed{server=http://localhost:8080/tomee/ejb}
>> JNDI_LOOKUP:/openejb/DeployerBusinessRemote {error=Cannot open input
>> stream to server: }
>> Exception in thread "tomee-maven-plugin-synchronizer"
>> org.apache.openejb.OpenEJBRuntimeException: Can't lookup Deployer
>>         at org.apache.openejb.maven.plugin.UpdatableTomEEMojo.
>> deployer(UpdatableTomEEMojo.java:368)
>>         at org.apache.openejb.maven.plugin.UpdatableTomEEMojo.
>> reload(UpdatableTomEEMojo.java:227)
>>         at org.apache.openejb.maven.plugin.UpdatableTomEEMojo$
>> SynchronizerRedeployer.run(UpdatableTomEEMojo.java:254)
>>         at java.util.TimerThread.mainLoop(Timer.java:555)
>>         at java.util.TimerThread.run(Timer.java:505)
>>
>>
>> This used to just work for TomEE 1.7.4. Is there some new
>> configuration I have to enable to get that synchronizer working?
>>

Mime
View raw message