Hmm I set JAVA_OPTS with setenv.sh, but it's the same config from 1.7.2.
(-server -Xms1G -Xmx3G -XX:MaxMetaspaceSize=1G -XX:+UseTLAB
-XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode
-XX:+CMSClassUnloadingEnabled)

I was able to reproduce the issue in a VM copying the corrupted install,
but I didn't figured out what caused it.

I shared it in case you have time to take a look
Corrupted server install: https://db.tt/1gUgAYeF
VM with server installed: https://db.tt/a2RqU2hr (user: tomee, pass: tomee)


I'll reinstall 7.0.1 on my production server

2016-07-19 11:05 GMT-03:00 Romain Manni-Bucau <rmannibu...@gmail.com>:

> Hmm, sounds even weirder, there is no environment variable which could
> corrupt the config in files? Can you reproduce it in a virtual machine too
> (to ensure it is not a local setup issue)?
>
>
> Romain Manni-Bucau
> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> <https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog
> <http://rmannibucau.wordpress.com> | Github <
> https://github.com/rmannibucau> |
> LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
> <http://www.tomitribe.com> | JavaEE Factory
> <https://javaeefactory-rmannibucau.rhcloud.com>
>
> 2016-07-19 15:58 GMT+02:00 Felipe Jaekel <fkjae...@gmail.com>:
>
> > I think it will be complicated to test on a plain tomcat because my apps
> > use TomEE plus features...
> >
> > Despite the exceptions, apps still work. I discovered it by accident
> when I
> > was trying to figure out why TOMEE-1545
> > <https://issues.apache.org/jira/browse/TOMEE-1545> is not working on
> > 7.0.1.
> >
> > Something broke the server on production. I copied the install and I'm
> able
> > to simulate it locally without the symbolic link and after removing all
> > apps.
> >
> > Any ideas?
> >
> > Thanks
> >
> > 2016-07-18 18:14 GMT-03:00 Romain Manni-Bucau <rmannibu...@gmail.com>:
> >
> > > Is that hard to test the same setup and naming with a plain tomcat?
> > >
> > > Stack should only imply tomcat code but im surprised issue wasnt
> > identified
> > > already if present
> > >
> > > Le 18 juil. 2016 21:03, "Felipe Jaekel" <fkjae...@gmail.com> a écrit :
> > >
> > > > I'm using the default catalina.properties
> > > >
> > > > Loaders config:
> > > >
> > > >
> > > >
> > >
> >
> common.loader="${catalina.base}/lib","${catalina.base}/lib/*.jar","${catalina.home}/lib","${catalina.home}/lib/*.jar"
> > > >
> > > > server.loader=
> > > >
> > > > shared.loader=
> > > >
> > > > 2016-07-18 15:45 GMT-03:00 Romain Manni-Bucau <rmannibu...@gmail.com
> >:
> > > >
> > > > > can be both, I would first check *.loader in
> conf/catalina.properties
> > > > > before saying it is a bug (did you misconfigure the common.loader
> to
> > be
> > > > > very concrete?)
> > > > >
> > > > >
> > > > > Romain Manni-Bucau
> > > > > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > > > > <https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog
> > > > > <http://rmannibucau.wordpress.com> | Github <
> > > > > https://github.com/rmannibucau> |
> > > > > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
> > > > > <http://www.tomitribe.com> | JavaEE Factory
> > > > > <https://javaeefactory-rmannibucau.rhcloud.com>
> > > > >
> > > > > 2016-07-18 20:22 GMT+02:00 Felipe Jaekel <fkjae...@gmail.com>:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > My production TomEE 7.0.1 is installed
> > > > > > under /home/ec2-user/apache-tomee-plus-7.0.1.
> > > > > >
> > > > > > I have a symbolic link for this folder: apache-tomee-plus ->
> > > > > > apache-tomee-plus-7.0.1/
> > > > > >
> > > > > > I noticed this on the log:
> > > > > >
> > > > > > 17-Jul-2016 04:01:28.227 INFO [localhost-startStop-1]
> > > > > > org.apache.openejb.assembler.classic.Assembler.createApplication
> > > > Deployed
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> Application(path=/home/ec2-user/apache-tomee-plus-7.0.1/webapps/servicos##20160715-1420)
> > > > > > 17-Jul-2016 04:01:28.555 WARNING [localhost-startStop-1]
> > > > > > org.apache.tomcat.util.scan.StandardJarScanner.scan Failed to
> scan
> > > > > >
> > > >
> > [file:/home/ec2-user/apache-tomee-plus-7.0.1/lib/lib/gmbal-api-only.jar]
> > > > > > from classloader hierarchy
> > > > > >  java.io.FileNotFoundException:
> > > > > > /home/ec2-user/apache-tomee-plus-7.0.1/lib/lib/gmbal-api-only.jar
> > > > > (Arquivo
> > > > > > ou diretório não encontrado)
> > > > > > at java.util.zip.ZipFile.open(Native Method)
> > > > > > at java.util.zip.ZipFile.<init>(ZipFile.java:219)
> > > > > > at java.util.zip.ZipFile.<init>(ZipFile.java:149)
> > > > > > at java.util.jar.JarFile.<init>(JarFile.java:166)
> > > > > > at java.util.jar.JarFile.<init>(JarFile.java:130)
> > > > > > at
> > > > >
> > org.apache.tomcat.util.scan.JarFileUrlJar.<init>(JarFileUrlJar.java:60)
> > > > > > at
> > > >
> org.apache.tomcat.util.scan.JarFactory.newInstance(JarFactory.java:43)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.scan.StandardJarScanner.process(StandardJarScanner.java:326)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.java:276)
> > > > > > at
> > > > org.apache.tomee.loader.TomEEJarScanner.scan(TomEEJarScanner.java:61)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.startup.ContextConfig.processJarsForWebFragments(ContextConfig.java:1887)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1122)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.startup.OpenEJBContextConfig.webConfig(OpenEJBContextConfig.java:402)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:771)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.startup.OpenEJBContextConfig.configureStart(OpenEJBContextConfig.java:123)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:298)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5076)
> > > > > > at
> > > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
> > > > > > at
> > > > >
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
> > > > > > at
> > > > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
> > > > > > at
> > > > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952)
> > > > > > at
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823)
> > > > > > 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:1142)
> > > > > > at
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> > > > > > at java.lang.Thread.run(Thread.java:745)
> > > > > >
> > > > > > The lib/lib on the path is a bug or something is wrong with my
> > > config?
> > > > > >
> > > > > > Thanks?
> > > > > >
> > > > >
> > > >
> > >
> >
>

Reply via email to