On migration application from glassfish 3 to payara , I am getting following error on console. What could be the possible reasons for EJB not getting deployed on payara server?
Exception while invoking class org.glassfish.ejb.startup.EjbDeployer
load method java.lang.RuntimeException: EJB Container initialization
error at
org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:234)
...
Caused by: java.lang.IllegalAccessException: Class
com.sun.ejb.containers.BaseContainer can not access a member of class
my.package.$Proxy280 with modifiers "public"> at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:102)--
You received this message because you are subscribed to the Google Groups "Payara Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to payara-forum...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/payara-forum/f76148a3-e2c1-4fdc-829b-d720d1454bba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Payara Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to payara-forum+unsubscribe@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/payara-forum/7e7d6214-2cff-4eaf-8ed6-09eff6f19e8c%40googlegroups.com.
Following are the files and highlighted lines which seems to get called. Line numbers in stack trace are different as the versions are different. I checked all classes in services package they are public and have public constructor, does this direct to check something else which I am missing?
On Thu, Apr 12, 2018 at 2:30 AM, Ondro Mihályi <ondrej....@gmail.com> wrote:
Is the class from the error message public? I mean the class whose name ends with "ervices" and you blurred its name in the log output. If it's not public, make it public. It's very probably that Payara validates the code more strictly than GlassFish 3.
2018-04-11 23:16 GMT+02:00 xyz1 <sko...@gmail.com>:
--On migration application from
glassfish 3to payara , I am getting following error on console. What could be the possible reasons for EJB not getting deployed on payara server?Exception while invoking class org.glassfish.ejb.startup.EjbDeployer load method java.lang.RuntimeException: EJB Container initialization error at org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:234) ... Caused by: java.lang.IllegalAccessException: Class com.sun.ejb.containers.BaseContainer can not access a member of class my.package.$Proxy280 with modifiers "public"> at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:102)
You received this message because you are subscribed to the Google Groups "Payara Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to payara-forum...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/payara-forum/7e7d6214-2cff-4eaf-8ed6-09eff6f19e8c%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Payara Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to payara-forum...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/payara-forum/CANx__0sxJPcvF%3DkejqSUD1xpHUDOaQnEE4wFNMnS_0EyRUDg_g%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Payara Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to payara-forum+unsubscribe@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/payara-forum/c38a39b6-c6a5-487b-bc15-28852d83298b%40googlegroups.com.