jdbc - Glassfish admin console's java.lang.RuntimeException -
i have tried create jdbc connection pool on glassfish following properties(as seen on image below). connected succesfully makes me think works right. after restarted glassfish , tried ping pool, runtimeexception appeared on screen on white screen. not when ping it, when click tab , save , cancel button end runtimeexception. i've tried every possible cause , search net on , on ended same exception. please help. :(
runtimeexception steps encounter
2015-04-29t15:19:29.144+0800|severe: java.lang.runtimeexception: java.lang.reflect.invocationtargetexception while attempting process 'beforecreate' event 'event132'. @ com.sun.jsftemplating.layout.descriptors.layoutelementbase.dispatchhandlers(layoutelementbase.java:422) @ com.sun.jsftemplating.layout.descriptors.layoutelementbase.dispatchhandlers(layoutelementbase.java:394) @ com.sun.jsftemplating.layout.descriptors.layoutcomponent.beforecreate(layoutcomponent.java:348) @ com.sun.jsftemplating.layout.descriptors.layoutcomponent.getchild(layoutcomponent.java:288) @ com.sun.jsftemplating.layout.layoutviewhandler.builduicomponenttree(layoutviewhandler.java:556) @ com.sun.jsftemplating.layout.layoutviewhandler.builduicomponenttree(layoutviewhandler.java:551) @ com.sun.jsftemplating.layout.layoutviewhandler.builduicomponenttree(layoutviewhandler.java:507) @ com.sun.jsftemplating.layout.layoutviewhandler.builduicomponenttree(layoutviewhandler.java:507) @ com.sun.jsftemplating.layout.layoutviewhandler.createview(layoutviewhandler.java:255) @ com.sun.faces.lifecycle.restoreviewphase.execute(restoreviewphase.java:205) @ com.sun.faces.lifecycle.phase.dophase(phase.java:101) @ com.sun.faces.lifecycle.restoreviewphase.dophase(restoreviewphase.java:121) @ com.sun.faces.lifecycle.lifecycleimpl.execute(lifecycleimpl.java:198) @ javax.faces.webapp.facesservlet.service(facesservlet.java:646) @ org.apache.catalina.core.standardwrapper.service(standardwrapper.java:1682) @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:344) @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:214) @ com.sun.webui.jsf.util.uploadfilter.dofilter(uploadfilter.java:233) @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:256) @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:214) @ org.apache.catalina.core.standardwrappervalve.invoke(standardwrappervalve.java:316) @ org.apache.catalina.core.standardcontextvalve.invoke(standardcontextvalve.java:160) @ org.apache.catalina.core.standardpipeline.doinvoke(standardpipeline.java:734) @ org.apache.catalina.core.standardpipeline.dochaininvoke(standardpipeline.java:678) @ com.sun.enterprise.web.webpipeline.invoke(webpipeline.java:97) @ org.apache.catalina.core.standardhostvalve.invoke(standardhostvalve.java:174) @ org.apache.catalina.connector.coyoteadapter.doservice(coyoteadapter.java:415) @ org.apache.catalina.connector.coyoteadapter.service(coyoteadapter.java:282) @ com.sun.enterprise.v3.services.impl.containermapper$httphandlercallable.call(containermapper.java:459) @ com.sun.enterprise.v3.services.impl.containermapper.service(containermapper.java:167) @ org.glassfish.grizzly.http.server.httphandler.runservice(httphandler.java:201) @ org.glassfish.grizzly.http.server.httphandler.dohandle(httphandler.java:175) @ org.glassfish.grizzly.http.server.httpserverfilter.handleread(httpserverfilter.java:235) @ org.glassfish.grizzly.filterchain.executorresolver$9.execute(executorresolver.java:119) @ org.glassfish.grizzly.filterchain.defaultfilterchain.executefilter(defaultfilterchain.java:284) @ org.glassfish.grizzly.filterchain.defaultfilterchain.executechainpart(defaultfilterchain.java:201) @ org.glassfish.grizzly.filterchain.defaultfilterchain.execute(defaultfilterchain.java:133) @ org.glassfish.grizzly.filterchain.defaultfilterchain.process(defaultfilterchain.java:112) @ org.glassfish.grizzly.processorexecutor.execute(processorexecutor.java:77) @ org.glassfish.grizzly.nio.transport.tcpniotransport.fireioevent(tcpniotransport.java:561) @ org.glassfish.grizzly.strategies.abstractiostrategy.fireioevent(abstractiostrategy.java:112) @ org.glassfish.grizzly.strategies.workerthreadiostrategy.run0(workerthreadiostrategy.java:117) @ org.glassfish.grizzly.strategies.workerthreadiostrategy.access$100(workerthreadiostrategy.java:56) @ org.glassfish.grizzly.strategies.workerthreadiostrategy$workerthreadrunnable.run(workerthreadiostrategy.java:137) @ org.glassfish.grizzly.threadpool.abstractthreadpool$worker.dowork(abstractthreadpool.java:565) @ org.glassfish.grizzly.threadpool.abstractthreadpool$worker.run(abstractthreadpool.java:545) @ java.lang.thread.run(thread.java:745) caused by: java.lang.reflect.invocationtargetexception @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:483) @ com.sun.jsftemplating.layout.descriptors.handler.handler.invoke(handler.java:442) @ com.sun.jsftemplating.layout.descriptors.layoutelementbase.dispatchhandlers(layoutelementbase.java:420) ... 46 more caused by: java.lang.illegalargumentexception: "segments" parameter null. @ org.glassfish.jersey.uri.internal.jerseyuribuilder.appendpath(jerseyuribuilder.java:711) @ org.glassfish.jersey.uri.internal.jerseyuribuilder.segment(jerseyuribuilder.java:422) @ org.glassfish.jersey.uri.internal.jerseyuribuilder.segment(jerseyuribuilder.java:71) @ org.glassfish.admingui.common.util.restutil.appendencodedsegment(restutil.java:531) @ org.glassfish.admingui.common.handlers.restapihandlers.encodeurl(restapihandlers.java:435) ... 52 more
i faced issue. took 2 measures fix it, not sure 1 trick:
- revert jdbc driver version using in glassfish installation;
- clean browser cache
after able edit connection pool properties , ping connection without runtimeexception.
hope helps.
Comments
Post a Comment