bean.main.main(main.java:25)
"test" Stateless Session bean does not have Business Interface from which it implements.
Seeing the trace, you are calling the "test" class from main() method of main class...
Seems you have directly instantiated the "test" class and making a conventional method on object invocation...
Does not seem to be done in Application Server...