aspose file tools*
The moose likes Object Relational Mapping and the fly likes Hibernate + OC4J Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate + OC4J" Watch "Hibernate + OC4J" New topic
Author

Hibernate + OC4J

Lamartine Teixeira
Greenhorn

Joined: Jan 14, 2005
Posts: 2
I have run my application in Tomcat without problem, but now I'm trying no run it on OC4J and got some errors.
Is my hibernate configuration correct?

Hibernate.properties file:

hibernate.connection.datasource=jdbc/DotacaoORADESENVDS
hibernate.dialect=net.sf.hibernate.dialect.OracleDialect
hibernate.c3p0.initialPoolSize=5
hibernate.c3p0.min_size=5
hibernate.c3p0.max_size=100
hibernate.c3p0.timeout=1800
hibernate.c3p0.max_statements=0

That's the output:

java.lang.NoSuchMethodError: void java.lang.RuntimeException.<init>(java.lang.String, java.lang.Throwable)
void com.ntsolucoes.components.servico.exception.SistemaException.<init>(java.lang.String, java.lang.Exception)
void com.ntsolucoes.components.servico.exception.IOConfigException.<init>(java.lang.String, java.lang.Exception)
com.ntsolucoes.components.servico.util.ConstantesSistema com.ntsolucoes.components.servico.util.ConstantesSistema.getInstance()
void com.ntsolucoes.components.persistencia.impl.Persistencia.<init>(com.ntsolucoes.components.persistencia.impl.IGerenciadorTransacao)
void com.ntsolucoes.components.persistencia.impl.hibernate.PersistenciaHibernate.<init>()
java.util.Hashtable com.ntsolucoes.components.NtsFachadaAlmoxarifado.verificarUsuario(java.lang.String, java.lang.String)
java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[])
java.lang.Object com.ntsolucoes.components.proxy.impl.NtsDynamicProxy.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])
java.util.Hashtable $Proxy0.verificarUsuario(java.lang.String, java.lang.String)
org.apache.struts.action.ActionForward com.ntsolucoes.webapp.dotacao.action.NtsLoginAction.executar(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
org.apache.struts.action.ActionForward com.ntsolucoes.webapp.base.NtsBaseAction.perform(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
org.apache.struts.action.ActionForward org.apache.struts.action.ActionServlet.processActionPerform(org.apache.struts.action.Action, org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
void org.apache.struts.action.ActionServlet.process(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
void org.apache.struts.action.ActionServlet.doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
void javax.servlet.http.HttpServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
void com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ResourceFilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
void oracle.security.jazn.oc4j.JAZNFilter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)
void com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
void com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
boolean com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.ApplicationServerThread, com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.EvermindHttpServletRequest, com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
void com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(java.lang.Thread)
void com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].util.ThreadPoolThread.run()


Thanks!!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Hibernate + OC4J
 
Similar Threads
what does this error mean?
Strangest problem I ever saw with JSP
JSP Error???
New to struts.. Help plz..
problem while using display taglib