I am experiencing an error when running the "Duke's Bank" tutorial. at first I
thought that it might just be lack of knowledge (and it still may be) but I
have now tried this on two different machines and once using startup guide 4.0
(version 2) and once, this morning, with version 3 and it's new set of code. I
can run the web interface fine (http://localhost:8080/bank/main). when I run
the "db-list" ant target I get data back.
when I run the ant target "run-ws" I get the error below. Any direction I can
get on how to debug and/or info on what "port" it might be conflicking with
would be helpful. Thanks in advance, --Mike
D:\java\j2eetutorial14\examples\bank>ant -f jboss-build.xml run-ws
Buildfile: jboss-build.xml
run-ws:
[java] Customer: 200
[java] 2005-02-08 10:37:18,476 ERROR org.jboss.webservice.client.PortProxy[
main] - Port error
[java] java.lang.NullPointerException
[java] at java.util.Hashtable.put(Hashtable.java:396)
[java] at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProp
erty(SAXParserImpl.java:395)
[java] at org.apache.axis.encoding.DeserializationContextImpl.parse(Des
erializationContextImpl.java:263)
[java] Exception in thread "main" java.rmi.RemoteException: null; nested ex
ception is:
[java] java.lang.NullPointerException
[java] at org.jboss.webservice.client.PortProxy.invoke(PortProxy.java:1
84)
[java] at $Proxy1.getAccountsOfCustomer(Unknown Source)
[java] at com.jboss.ebank.WSClient.main(WSClient.java:33)
[java] Caused by: java.lang.NullPointerException
[java] at java.util.Hashtable.put(Hashtable.java:396)
[java] at org.apache.axis.MessagePart.getAsSOAPEnvelope(MessagePart.jav
a:657)
[java] at org.apache.axis.Message.getSOAPEnvelope(Message.java:430)
[java] at org.apache.axis.Message.getContentType(Message.java:496)
[java] at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPS
ender.java:386)
[java] at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.j
ava:126)
[java] at org.apache.axis.strategies.InvocationStrategy.visit(Invocatio
nStrategy.java:73)
[java] at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:160)
[java] at org.apache.axis.SimpleChain.invoke(SimpleChain.java:123)
[java] at org.jboss.webservice.client.ClientEngine.invoke(ClientEngine.
java:126)
[java] at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProp
erty(SAXParserImpl.java:395)
[java] at org.apache.axis.encoding.DeserializationContextImpl.parse(Des
erializationContextImpl.java:263)
[java] at org.apache.axis.MessagePart.getAsSOAPEnvelope(MessagePart.jav
a:657)
[java] at org.apache.axis.Message.getSOAPEnvelope(Message.java:430)
[java] at org.apache.axis.Message.getContentType(Message.java:496)
[java] at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPS
ender.java:386)
[java] at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.j
ava:126)
[java] at org.apache.axis.strategies.InvocationStrategy.visit(Invocatio
nStrategy.java:73)
[java] at org.apache.axis.client.Call.invokeEngine(Call.java:3029)
[java] at org.apache.axis.client.Call.invoke(Call.java:3014)
[java] at org.apache.axis.client.Call.invoke(Call.java:2608)
[java] at org.apache.axis.client.Call.invoke(Call.java:2513)
[java] at org.apache.axis.client.Call.invokeInternal(Call.java:1973)
[java] at org.apache.axis.client.Call.invoke(Call.java:1914)
[java] at org.jboss.webservice.client.CallImpl.invoke(CallImpl.java:265
)
[java] at org.apache.axis.client.AxisClientProxy.invoke(AxisClientProxy
.java:372)
[java] at $Proxy0.getAccountsOfCustomer(Unknown Source)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:585)
[java] at org.jboss.webservice.client.PortProxy.invoke(PortProxy.java:1
11)
[java] at $Proxy1.getAccountsOfCustomer(Unknown Source)
[java] at com.jboss.ebank.WSClient.main(WSClient.java:33)
[java] at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:160)
[java] at org.apache.axis.SimpleChain.invoke(SimpleChain.java:123)
[java] at org.jboss.webservice.client.ClientEngine.invoke(ClientEngine.
java:126)
[java] at org.apache.axis.client.Call.invokeEngine(Call.java:3029)
[java] at org.apache.axis.client.Call.invoke(Call.java:3014)
[java] at org.apache.axis.client.Call.invoke(Call.java:2608)
[java] at org.apache.axis.client.Call.invoke(Call.java:2513)
[java] at org.apache.axis.client.Call.invokeInternal(Call.java:1973)
[java] at org.apache.axis.client.Call.invoke(Call.java:1914)
[java] at org.jboss.webservice.client.CallImpl.invoke(CallImpl.java:265
)
[java] at org.apache.axis.client.AxisClientProxy.invoke(AxisClientProxy
.java:372)
[java] at $Proxy0.getAccountsOfCustomer(Unknown Source)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:585)
[java] at org.jboss.webservice.client.PortProxy.invoke(PortProxy.java:1
11)
[java] ... 2 more
[java] Java Result: 1
BUILD SUCCESSFUL
Total time: 7 seconds
D:\java\j2eetutorial14\examples\bank>
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865708#3865708
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865708
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user