Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Security error - Starting TomEE Plume 1.7.4

I downloaded the newest TomEE Plume 1.7.4 Version and tried to start it from inside IntelliJ IDEA 14 with what seems to me to be a normal server setup and I get a timeout error with the following error message repeatedly printed:

Apr 11, 2016 9:20:31 AM org.apache.openejb.server.ejbd.EjbDaemon service WARNUNG: "null OEJP/4.7" FAIL "Security error - [Ljava.net.URI; is not whitelisted as deserialisable, prevented before loading it." - Debug for StackTrace

I can start the server from normal shell, so seems related to the IDE. Anybody has any idea what the problem is?

like image 989
Lemao1981 Avatar asked Apr 11 '16 07:04

Lemao1981


1 Answers

Newer versions of TomEE require configuring of whitelisting and blacklisting for Ejbd transport, which is covered here:

http://tomee.apache.org/ejbd-transport.html

conf/system.properties has the blacklist enabled by default

tomee.serialization.class.blacklist = *

... however it can be disabled by setting this value to "-"

tomee.serialization.class.blacklist = -
like image 181
zfxgames Avatar answered Oct 06 '22 08:10

zfxgames