-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 
Author Message
 Post subject: net/sf/ehcache/CacheException
PostPosted: Mon Mar 07, 2005 5:10 pm 
Regular
Regular

Joined: Wed Jan 19, 2005 4:52 pm
Posts: 61
Location: Kansas City, USA
Hibernate version: 3.0

java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException

does this have to do with me missing something in my libs? Here is the full stack.
03/07 14:41:33 user FlashGatewayServlet: init

03/07 14:42:50 info [axis] Hibernate 3.0rc1

03/07 14:42:50 info [axis] hibernate.properties not found

03/07 14:42:50 info [axis] using CGLIB reflection optimizer

03/07 14:42:50 info [axis] using JDK 1.4 java.sql.Timestamp handling

03/07 14:42:50 info [axis] configuring from resource: /hibernate.cfg.xml

03/07 14:42:50 info [axis] Configuration resource: /hibernate.cfg.xml

03/07 14:42:50 info [axis] Configured SessionFactory: null

03/07 14:42:50 info [axis] processing extends queue

03/07 14:42:50 info [axis] processing collection mappings

03/07 14:42:50 info [axis] processing association property references

03/07 14:42:50 info [axis] processing foreign key constraints

03/07 14:42:50 info [axis] Using dialect: org.hibernate.dialect.SQLServerDialect

03/07 14:42:50 info [axis] Default batch fetch size: 1

03/07 14:42:50 info [axis] Generate SQL with comments: disabled

03/07 14:42:50 info [axis] Order SQL updates by primary key: disabled

03/07 14:42:50 info [axis] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory

03/07 14:42:50 info [axis] Using ASTQueryTranslatorFactory

03/07 14:42:50 info [axis] Query language substitutions: {}

03/07 14:42:50 info [axis] Using Hibernate built-in connection pool (not for production use!)

03/07 14:42:50 info [axis] Hibernate connection pool size: 20

03/07 14:42:50 info [axis] autocommit mode: false

03/07 14:42:50 info [axis] using driver: com.microsoft.jdbc.sqlserver.SQLServerDriver at URL: jdbc:microsoft:sqlserver://sqldev:1433;DatabaseName=nations;SelectMethod=cursor

03/07 14:42:50 info [axis] connection properties: {user=WebUserNLS, password=****}

03/07 14:42:50 info [axis] Scrollable result sets: enabled

03/07 14:42:50 info [axis] JDBC3 getGeneratedKeys(): disabled

03/07 14:42:50 info [axis] Using default transaction strategy (direct JDBC transactions)

03/07 14:42:50 info [axis] No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)

03/07 14:42:50 info [axis] Automatic flush during beforeCompletion(): disabled

03/07 14:42:50 info [axis] Automatic session close at end of transaction: disabled

03/07 14:42:50 info [axis] Cache provider: org.hibernate.cache.EhCacheProvider

03/07 14:42:50 error [axis] java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException

03/07 14:42:50 error

java.lang.NoClassDefFoundError

at com.nationsholding.xOps.common.facade.ejb.TempestOrderFacadeBean.createOrder(TempestOrderFacadeBean.java:62)

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 jrun.ejb.interceptors.InvokerInterceptor.invokeObjectMethod(InvokerInterceptor.java:153)

at jrun.ejb.interceptors.ContainerManagedTransactionInterceptor.invokeRequired(ContainerManagedTransactionInterceptor.java:304)

at jrun.ejb.interceptors.ContainerManagedTransactionInterceptor.invokeTransactedMethod(ContainerManagedTransactionInterceptor.java:140)

at jrun.ejb.interceptors.TransactionInterceptor.invokeObjectMethod(TransactionInterceptor.java:130)

at jrun.ejb.interceptors.StatelessSessionInstanceInterceptor.invokeObjectMethod(StatelessSessionInstanceInterceptor.java:49)

at jrun.ejb.interceptors.EJBSecurityInterceptor.invokeObjectMethod(EJBSecurityInterceptor.java:81)

at jrun.ejb.EJBContainer.invokeObjectMethod(EJBContainer.java:193)

at jrun.ejb.invocation.RemoteInvocationProxyImpl.invoke(RemoteInvocationProxyImpl.java:109)

at jrunx.rmi.RMIBroker.invokeEJB(RMIBroker.java:235)

at jrunx.rmi.RMIBroker.invoke(RMIBroker.java:142)

at jrunx.cluster.ClusterAlgorithm.invokeService(ClusterAlgorithm.java:98)

at jrunx.cluster.ClusterAlgorithm.invokeService(ClusterAlgorithm.java:80)

at jrunx.rmi.Invocation.invoke(Invocation.java:304)

at jrunx.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:177)

at jrun.ejb.invocation.ClientInvocationHandlerImpl.invoke(ClientInvocationHandlerImpl.java:215)

at $Proxy3.createOrder(Unknown Source)

at com.nationsholding.xOps.request.control.ProcessAction.execute(ProcessAction.java:45)

at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)

at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)

at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)

at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)

at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)

at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:249)

at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)

at jrun.servlet.http.WebService.invokeRunnable(WebService.java:168)

at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:457)

at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)



03/07 14:42:50 info The container xOpsEJB.jar#TempestOrderFacade rolled back a transaction it began for the method createOrder.

03/07 14:42:50 error

javax.ejb.EJBException

at jrun.ejb.interceptors.InvokerInterceptor.handleThrowable(InvokerInterceptor.java:75)

at jrun.ejb.interceptors.InvokerInterceptor.invokeObjectMethod(InvokerInterceptor.java:159)

at jrun.ejb.interceptors.ContainerManagedTransactionInterceptor.invokeRequired(ContainerManagedTransactionInterceptor.java:304)

at jrun.ejb.interceptors.ContainerManagedTransactionInterceptor.invokeTransactedMethod(ContainerManagedTransactionInterceptor.java:140)

at jrun.ejb.interceptors.TransactionInterceptor.invokeObjectMethod(TransactionInterceptor.java:130)

at jrun.ejb.interceptors.StatelessSessionInstanceInterceptor.invokeObjectMethod(StatelessSessionInstanceInterceptor.java:49)

at jrun.ejb.interceptors.EJBSecurityInterceptor.invokeObjectMethod(EJBSecurityInterceptor.java:81)

at jrun.ejb.EJBContainer.invokeObjectMethod(EJBContainer.java:193)

at jrun.ejb.invocation.RemoteInvocationProxyImpl.invoke(RemoteInvocationProxyImpl.java:109)

at jrunx.rmi.RMIBroker.invokeEJB(RMIBroker.java:235)

at jrunx.rmi.RMIBroker.invoke(RMIBroker.java:142)

at jrunx.cluster.ClusterAlgorithm.invokeService(ClusterAlgorithm.java:98)

at jrunx.cluster.ClusterAlgorithm.invokeService(ClusterAlgorithm.java:80)

at jrunx.rmi.Invocation.invoke(Invocation.java:304)

at jrunx.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:177)

at jrun.ejb.invocation.ClientInvocationHandlerImpl.invoke(ClientInvocationHandlerImpl.java:215)

at $Proxy3.createOrder(Unknown Source)

at com.nationsholding.xOps.request.control.ProcessAction.execute(ProcessAction.java:45)

at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)

at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)

at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)

at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)

at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)

at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:249)

at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)

at jrun.servlet.http.WebService.invokeRunnable(WebService.java:168)

at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:457)

at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)



thanks

Tim


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 08, 2005 10:35 am 
Regular
Regular

Joined: Wed Jan 19, 2005 4:52 pm
Posts: 61
Location: Kansas City, USA
Does anyone know if this is hibernate related? Am I missing a jar file? Please, I am stuck. Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 08, 2005 10:54 am 
Regular
Regular

Joined: Mon Feb 23, 2004 10:42 pm
Posts: 102
Location: Washington DC
What jars do you have in your classpath that are hibernate related?

_________________
Matt Veitas


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 08, 2005 11:41 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 3:00 pm
Posts: 1816
Location: Austin, TX
Your missing the ehcache jar file from your classpath


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 08, 2005 1:40 pm 
Regular
Regular

Joined: Wed Jan 19, 2005 4:52 pm
Posts: 61
Location: Kansas City, USA
got it thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 22, 2005 9:36 am 
Beginner
Beginner

Joined: Tue Aug 30, 2005 9:40 am
Posts: 29
Hi ,

I am also facing the same problem

I have ehcahe-1.1.jar in my lib directory.


But while deploying the application in JBOSS AS , I am getting the error


Can you suggest where I have to put this

Regards,
Srinivas


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.