Forum Thread: Dukebank Application client problum

You are currently viewing a forum thread in the Secunia Community Forum. Please note that opinions expressed here are not of Secunia but solely reflect those of the user who wrote it.

This thread was submitted in the following forum:
Open Discussions

This thread has been marked as locked.
kumar0shree Dukebank Application client problum
Member 18th Jun, 2010 11:57
Ranking: 0
Posts: 2
User Since: 18th Jun, 2010
System Score: N/A
Location: IN
Application client not running in duke bank Application
I made all installation as per guide of j2eetutorial6.zip application but i got struck while I am tring to run application client. i found following error while trying to run application client


WARNING: Attribute 'State' failed for amx:pp=/mon/server-mon[server]/ORB-Root[S1AS-ORB]/ oa.poa.POAFactory,type=oa.poa.POAImpl,name=RootPOA .#RFMBase#.83679504784621570_RBusiness_com.sun.tut orial.javaee.dukesbank.request._TxController_Remot e-EJBObject
java.lang.NullPointerException
at com.sun.corba.ee.impl.oa.poa.POAImpl.getState(POAI mpl.java:1706)
at com.sun.corba.ee.spi.oa.ObjectAdapterBase.getDispl ayState(ObjectAdapterBase.java:181)
at sun.reflect.GeneratedMethodAccessor95.invoke(Unkno wn Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.glassfish.gmbal.generic.FacetAccessorImpl.invo ke(FacetAccessorImpl.java:126)
at org.glassfish.gmbal.impl.MBeanImpl.invoke(MBeanImp l.java:440)
at org.glassfish.gmbal.impl.AttributeDescriptor.get(A ttributeDescriptor.java:144)
at org.glassfish.gmbal.impl.MBeanSkeleton.getAttribut e(MBeanSkeleton.java:569)
at org.glassfish.gmbal.impl.MBeanImpl.getAttribute(MB eanImpl.java:378)
at com.sun.jmx.interceptor.DefaultMBeanServerIntercep tor.getAttribute(DefaultMBeanServerInterceptor.jav a:666)
at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribut e(JmxMBeanServer.java:638)
at org.glassfish.admin.amx.util.jmx.MBeanProxyHandler .getAttribute(MBeanProxyHandler.java:247)
at org.glassfish.admin.amx.core.AMXValidator._validat e(AMXValidator.java:587)
at org.glassfish.admin.amx.core.AMXValidator.validate (AMXValidator.java:1298)
at org.glassfish.admin.amx.impl.mbean.ComplianceMonit or$ValidatorThread.doRun(ComplianceMonitor.java:25 6)
at org.glassfish.admin.amx.impl.mbean.ComplianceMonit or$ValidatorThread.run(ComplianceMonitor.java:227)

INFO: amx:pp=/mon/server-mon[server]/ORB-Root[S1AS-ORB]/ oa.poa.POAFactory,type=oa.poa.POAImpl,name=RootPOA .#RFMBase#.83679504784621570_RBusiness_com.sun.tut orial.javaee.dukesbank.request._TxController_Remot e-EJBObject
General test failure:
java.lang.NullPointerException: "null"
com.sun.corba.ee.impl.oa.poa.POAImpl.getManagerId( POAImpl.java:1701)
sun.reflect.GeneratedMethodAccessor77.invoke(Unkno wn Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.glassfish.gmbal.generic.FacetAccessorImpl.invo ke(FacetAccessorImpl.java:126)
org.glassfish.gmbal.impl.MBeanImpl.invoke(MBeanImp l.java:440)
org.glassfish.gmbal.impl.AttributeDescriptor.get(A ttributeDescriptor.java:144)
org.glassfish.gmbal.impl.MBeanSkeleton.getAttribut e(MBeanSkeleton.java:569)
org.glassfish.gmbal.impl.MBeanSkeleton.getAttribut es(MBeanSkeleton.java:625)
org.glassfish.gmbal.impl.MBeanImpl.getAttributes(M BeanImpl.java:389)
com.sun.jmx.interceptor.DefaultMBeanServerIntercep tor.getAttributes(DefaultMBeanServerInterceptor.ja va:726)
com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribut es(JmxMBeanServer.java:665)
org.glassfish.admin.amx.util.jmx.MBeanProxyHandler .getAttributes(MBeanProxyHandler.java:273)
org.glassfish.admin.amx.core.proxy.AMXProxyHandler .attributesMap(AMXProxyHandler.java:1193)
org.glassfish.admin.amx.core.proxy.AMXProxyHandler .attributesMap(AMXProxyHandler.java:1203)
org.glassfish.admin.amx.core.proxy.AMXProxyHandler .handleSpecialMethod(AMXProxyHandler.java:414)
org.glassfish.admin.amx.core.proxy.AMXProxyHandler ._invoke(AMXProxyHandler.java:792)
org.glassfish.admin.amx.core.proxy.AMXProxyHandler .invoke(AMXProxyHandler.java:526)
$Proxy154.attributesMap(Unknown Source)
org.glassfish.admin.amx.core.AMXValidator._validat e(AMXValidator.java:642)
org.glassfish.admin.amx.core.AMXValidator.validate (AMXValidator.java:1298)
org.glassfish.admin.amx.impl.mbean.ComplianceMonit or$ValidatorThread.doRun(ComplianceMonitor.java:25 6)
org.glassfish.admin.amx.impl.mbean.ComplianceMonit or$ValidatorThread.run(ComplianceMonitor.java:227)
1 failures.
1 MBeans tested.
INFO: ACDEPL104: Java Web Start services stopped for the app client dukesbank/dukesbank-appclient.jar
INFO: Portable JNDI names for EJB AccountControllerBean : [java:global/dukesbank/dukesbank-ejb/AccountContro llerBean, java:global/dukesbank/dukesbank-ejb/AccountControl lerBean!com.sun.tutorial.javaee.dukesbank.request. AccountController]
INFO: Glassfish-specific (Non-portable) JNDI names for EJB AccountControllerBean : [com.sun.tutorial.javaee.dukesbank.request.Account Controller, com.sun.tutorial.javaee.dukesbank.request.AccountC ontroller#com.sun.tutorial.javaee.dukesbank.reques t.AccountController]
INFO: Portable JNDI names for EJB TxControllerBean : [java:global/dukesbank/dukesbank-ejb/TxControllerB ean, java:global/dukesbank/dukesbank-ejb/TxControllerBe an!com.sun.tutorial.javaee.dukesbank.request.TxCon troller]
INFO: Glassfish-specific (Non-portable) JNDI names for EJB TxControllerBean : [com.sun.tutorial.javaee.dukesbank.request.TxContr oller, com.sun.tutorial.javaee.dukesbank.request.TxContro ller#com.sun.tutorial.javaee.dukesbank.request.TxC ontroller]
INFO: com.sun.tutorial.javaee.dukesbank.entity.Customer actually got transformed
INFO: Portable JNDI names for EJB CustomerControllerBean : [java:global/dukesbank/dukesbank-ejb/CustomerContr ollerBean, java:global/dukesbank/dukesbank-ejb/CustomerContro llerBean!com.sun.tutorial.javaee.dukesbank.request .CustomerController]
INFO: Glassfish-specific (Non-portable) JNDI names for EJB CustomerControllerBean : [com.sun.tutorial.javaee.dukesbank.request.Custome rController, com.sun.tutorial.javaee.dukesbank.request.Customer Controller#com.sun.tutorial.javaee.dukesbank.reque st.CustomerController]
INFO: Initializing Mojarra 2.0.2 (FCS b10) for context '/bank'
INFO: Loading application dukesbank#dukesbank-war.war at /bank
WARNING: ACDEPL112: Error attempting to process extensions from the manifest of JAR file /usr/local/sges-v3/glassfish/domains/domain1/gener ated/xml/dukesbank/dukesbank-appclient_jar/swing-l ayout-1.0.4.jar; ignoring it and continuing
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:114)
at java.util.jar.JarFile.<init>(JarFile.java:135)
at java.util.jar.JarFile.<init>(JarFile.java:99)
at org.glassfish.appclient.server.core.jws.ExtensionF ileManager.findExtensionTransitiveClosure(Extensio nFileManager.java:264)
at org.glassfish.appclient.server.core.jws.JavaWebSta rtInfo.processExtensionReferences(JavaWebStartInfo .java:331)
at org.glassfish.appclient.server.core.jws.JavaWebSta rtInfo.startJWSServices(JavaWebStartInfo.java:308)
at org.glassfish.appclient.server.core.jws.JavaWebSta rtInfo.access$100(JavaWebStartInfo.java:96)
at org.glassfish.appclient.server.core.jws.JavaWebSta rtInfo$1.run(JavaWebStartInfo.java:254)
at org.glassfish.appclient.server.core.jws.JavaWebSta rtState.transition(JavaWebStartState.java:84)
at org.glassfish.appclient.server.core.jws.JavaWebSta rtInfo.start(JavaWebStartInfo.java:250)
at org.glassfish.appclient.server.core.AppClientServe rApplication.start(AppClientServerApplication.java :134)
at org.glassfish.appclient.server.core.AppClientServe rApplication.start(AppClientServerApplication.java :126)
at org.glassfish.internal.data.EngineRef.start(Engine Ref.java:126)
at org.glassfish.internal.data.ModuleInfo.start(Modul eInfo.java:241)
at org.glassfish.internal.data.ApplicationInfo.start( ApplicationInfo.java:236)
at com.sun.enterprise.v3.server.ApplicationLifecycle. deploy(ApplicationLifecycle.java:339)
at com.sun.enterprise.v3.server.ApplicationLifecycle. deploy(ApplicationLifecycle.java:183)
at org.glassfish.deployment.admin.DeployCommand.execu te(DeployCommand.java:272)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.ex ecute(CommandRunnerImpl.java:305)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCo mmand(CommandRunnerImpl.java:320)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCo mmand(CommandRunnerImpl.java:1176)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.acce ss$900(CommandRunnerImpl.java:83)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$Exec utionContext.execute(CommandRunnerImpl.java:1235)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$Exec utionContext.execute(CommandRunnerImpl.java:1224)
at com.sun.enterprise.v3.admin.AdminAdapter.doCommand (AdminAdapter.java:365)
at com.sun.enterprise.v3.admin.AdminAdapter.service(A dminAdapter.java:204)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service( GrizzlyAdapter.java:166)
at com.sun.enterprise.v3.server.HK2Dispatcher.dispath (HK2Dispatcher.java:100)
at com.sun.enterprise.v3.services.impl.ContainerMappe r.service(ContainerMapper.java:245)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(P rocessorTask.java:791)
at com.sun.grizzly.http.ProcessorTask.doProcess(Proce ssorTask.java:693)
at com.sun.grizzly.http.ProcessorTask.process(Process orTask.java:954)
at com.sun.grizzly.http.DefaultProtocolFilter.execute (DefaultProtocolFilter.java:170)
at com.sun.grizzly.DefaultProtocolChain.executeProtoc olFilter(DefaultProtocolChain.java:135)
at com.sun.grizzly.DefaultProtocolChain.execute(Defau ltProtocolChain.java:102)
at com.sun.grizzly.DefaultProtocolChain.execute(Defau ltProtocolChain.java:88)
at com.sun.grizzly.http.HttpProtocolChain.execute(Htt pProtocolChain.java:76)
at com.sun.grizzly.ProtocolChainContextTask.doCall(Pr otocolChainContextTask.java:53)
at com.sun.grizzly.SelectionKeyContextTask.call(Selec tionKeyContextTask.java:57)
at com.sun.grizzly.ContextTask.run(ContextTask.java:6 9)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doW ork(AbstractThreadPool.java:330)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run (AbstractThreadPool.java:309)
at java.lang.Thread.run(Thread.java:619)




and



Warning: Could not find file /usr/local/sges-v3/glassfish/domains/domain1/gener ated/xml/dukesbank/dukesbankClient.jar to copy.
Copying 1 file to /root/10 jun/javaeetutorial5/examples/dukesbank/dist
Copying 3 files to /root/10 jun/javaeetutorial5/examples/dukesbank/dist/dukesb ankClient
Copying 1 file to /root/10 jun/javaeetutorial5/examples/dukesbank/dist/dukesb ankClient
java.lang.NullPointerException
at org.glassfish.appclient.client.acc.ACCLogger$1.run (ACCLogger.java:149)
at java.security.AccessController.doPrivileged(Native Method)
at org.glassfish.appclient.client.acc.ACCLogger.revis eLogger(ACCLogger.java:146)
at org.glassfish.appclient.client.acc.ACCLogger.init( ACCLogger.java:93)
at org.glassfish.appclient.client.acc.ACCLogger.<init >(ACCLogger.java:80)
at org.glassfish.appclient.client.AppClientFacade.cre ateBuilder(AppClientFacade.java:360)
at org.glassfish.appclient.client.AppClientFacade.pre pareACC(AppClientFacade.java:247)
at org.glassfish.appclient.client.acc.agent.AppClient ContainerAgent.premain(AppClientContainerAgent.jav a:75)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.instrument.InstrumentationImpl.loadClassAndSta rtAgent(InstrumentationImpl.java:323)
at sun.instrument.InstrumentationImpl.loadClassAndCal lPremain(InstrumentationImpl.java:338)
Java Result: 1
run-dukesbank-appclient:
BUILD SUCCESSFUL (total time: 25 seconds)

This user no longer exists RE: Dukebank Application client problum
Member 18th Jun, 2010 12:03
Hi,

For support and help regarding specific products, it is usually better to directly contact the vendor/use their forum. Secunia does not publish or maintain patches, but only link to vendor's own downloads and fixes. Therefore, there is nothing we can do to remedy issues with broken installers/software.


Hope this helps, and good luck fixing your problem!
Was this reply relevant?
+0
-0
Maurice Joyce RE: Dukebank Application client problum
Handling Contributor 18th Jun, 2010 12:03
Score: 12325
Posts: 9,575
User Since: 4th Jan 2009
System Score: N/A
Location: UK
Last edited on 18th Jun, 2010 12:05
Have U got the correct Forum?

There is no mention of OSI or PSI not working or giving a vulnerability warning.

Are U asking how to get Dukebank Application working?

Whoops - sorry Emil - another cross post.

--
Maurice

Microsoft Surface 4 Intel i7 64Bit
Windows 10 Pro version 1809 Build 17763.404
16 GB RAM
IE & Edge Only
Was this reply relevant?
+1
-0

This thread has been marked as locked.