Hi,
This is due to missing image file(s) in the daytrader client app. The
code does not handle missing images well, as you can see. You probably
want to open a JIRA to get the image file(s) added. There is also a web
services client that you can try in the meantime if you are just looking
for an application client.
Thanks,
Nell
*Maxim Berkultsev <[EMAIL PROTECTED]>*
02/01/2006 06:56 AM
Please respond to
[email protected]
To
[email protected]
cc
Subject
application client for daytrader
Hi,
I've tried to run an application client for daytrader from
geronimo-jetty-j2ee-1.0.
Its name is "geronimo/daytrader-derby-jetty-streamer-client/1.0/car".
But it failed with:
**********
$ java -jar ./bin/client.jar
geronimo/daytrader-derby-jetty-streamer-client/1.0/car
12:03:54,572 INFO [CommandLine] Server startup completed
TradeStreamer getInitial Context
12:03:55,697 INFO [ActiveMQConnection] channel status changed:
Channel: TcpTransportChannel:
Socket[addr=localhost/127.0.0.1,port=61616,localport=3621] has connected
Caught an unexpected exception!
java.lang.NullPointerException
at javax.swing.ImageIcon.<init>(ImageIcon.java:138)
at
org.apache.geronimo.samples.daytrader.client.TradeClientGUI.<init>(
TradeClientGUI.java:59)
at
org.apache.geronimo.samples.daytrader.client.TradeClient.startClient(TradeClient.java:81)
at
org.apache.geronimo.samples.daytrader.client.TradeClient.main(TradeClient.java:63)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.geronimo.client.AppClientContainer.main(AppClientContainer.java:143)
at
org.apache.geronimo.client.AppClientContainer$$FastClassByCGLIB$$b5beae18.invoke
(<generated>)
at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke
(GBeanOperation.java:118)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:835)
at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:178)
at
org.apache.geronimo.system.main.CommandLine.invokeMainGBean(CommandLine.java:90)
at
org.apache.geronimo.system.main.ClientCommandLine.<init>(ClientCommandLine.java:71)
at org.apache.geronimo.system.main.ClientCommandLine.main
(ClientCommandLine.java:46)
12:03:58,322 INFO [CommandLine] Server shutdown begun
12:03:58,338 ERROR [GBeanInstance] GBeanInstance should already be
stopped before die() is called:
objectName=geronimo.client:J2EEApplication=client-application
,J2EEServer=client,JCAResource=activemq/activemq-ra/3.2.1/rar,j2eeType=JCAConnectionFactory,name=jms/TopicConnectionFactory
state=starting
12:03:58,338 ERROR [GBeanInstance] GBeanInstance should already be
stopped before die() is called: objectName=
geronimo.client:J2EEApplication=client-application,J2EEServer=client,j2eeType=ResourceAdapterModule,name=activemq/activemq-ra/3.2.1/rar
state=starting
12:03:58,353 INFO [CommandLine] Client shutdown completed
**********
Have I missed something?
Are there any other application clients for daytrader?
I've found 'wsappclient' mentioning in the previous threads. Is it
possible to run it now?
Thank you in advance.
--
Best regards,
Maxim Berkultsev,
Intel Middleware Products Division