Well, I can show the stack trace but it wont mean much to you, since the error doesn't happen until I try to use the null session that my custom service uses.
Besides, I'm not really asking for help on how to fix the problem causing the stack trace...I just want to know where I can see hybernate errors. I'm positive somewhere there is a hybernate error like "cant find datasource invalid JNDI name" or some such.
The same thing happened one time on tomcat. buildSessionFactory() returned null so when I tried to run sessionFactory.openSession() I had a null pointer exception for an unknown reason. There was nothing in the logs anywhere. The way I finally found the hibernate exception is by running tomcat 4.3 in a console window and seeing the output there. Everything works fine in tomcat now, just not on oracle.
Thanks.
Stack Trace:
model.service.HibernateCigVendService.getCompaniesByName(HibernateCigVendService.java:28)
view.Search.search(Search.java:32)
java.lang.reflect.Method.invoke(Native Method)
org.apache.tapestry.listener.ListenerMap.invokeTargetMethod(ListenerMap.java:257)
org.apache.tapestry.listener.ListenerMap.access$100(ListenerMap.java:46)
org.apache.tapestry.listener.ListenerMap$SyntheticListener.invoke(ListenerMap.java:97)
org.apache.tapestry.listener.ListenerMap$SyntheticListener.actionTriggered(ListenerMap.java:102)
org.apache.tapestry.form.Form.renderComponent(Form.java:423)
org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:857)
org.apache.tapestry.form.Form.rewind(Form.java:568)
org.apache.tapestry.engine.RequestCycle.rewindForm(RequestCycle.java:432)
org.apache.tapestry.form.Form.trigger(Form.java:582)
org.apache.tapestry.engine.DirectService.service(DirectService.java:169)
org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:872)
org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:197)
org.apache.tapestry.ApplicationServlet.doPost(ApplicationServlet.java:326)
javax.servlet.http.HttpServlet.service(HttpServlet.java:283)
javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:66)
oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:284)
com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
org.apache.tapestry.RedirectFilter.doFilter(RedirectFilter.java:106)
com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:535)
com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:285)
com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:771)
com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:170)
com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:72)
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:802)
java.lang.Thread.run(Thread.java:484)
|