If I login with incorrect details I get back a error HTML page, when using the 
correct details 200/j2ee I get the following.

There is no mention of "ejb/customerControllerCould" in the source, maybe 
something in the source is appending the "Could" to the name ?

JNDI view shows that it does not exist in the Global JNDI namespace.

18:54:07,124 INFO  [STDOUT] Debug: hack - Creating bean manager.
  | 18:54:12,138 INFO  [STDOUT] Debug: Unable to lookup home: 
java:comp/env/ejb/customerControllerCould not dereference object
  | 18:54:17,145 INFO  [STDOUT] Debug: Unable to lookup home: 
java:comp/env/ejb/accountControllerCould not dereference object
  | 18:54:22,152 INFO  [STDOUT] Debug: Unable to lookup home: 
java:comp/env/ejb/txControllerCould not dereference object
  | 18:54:22,156 INFO  [STDOUT] Debug: hack - added customerBean to request
  | 18:54:22,157 INFO  [STDOUT] Debug: /main
  | 18:54:22,157 INFO  [STDOUT] Debug: Forwarding to template.
  | 18:54:22,242 ERROR [StandardWrapper[/bank:jsp]] Servlet.service() for 
servlet jsp threw exception
  | java.lang.NullPointerException
  |         at com.sun.ebank.web.CustomerBean.getAccounts(CustomerBean.java:107)
  |         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.commons.el.ArraySuffix.evaluate(ArraySuffix.java:314)


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875171#3875171

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875171


-------------------------------------------------------
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
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to