File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in begining the transaction in hibernate

 
Poornima Sharma
Ranch Hand
Posts: 114
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,

I am able to begin transaction in hibernate but after few clicks I cannot begin the transaction for other functions. There is no exception, the cursor gets stuck up at the particular line:-

transaction.begin();

and does not move forward. Once it happens all other transactions are stuck. Please help.

Thanks in advance.

 
Poornima Sharma
Ranch Hand
Posts: 114
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

The daemon is going into wait mode. The stack trace of the daemon is following:-

Object.wait(long) line: not available [native method]
BasicResourcePool.awaitAcquire(long) line: 966
BasicResourcePool.checkoutResource(long) line: 208
C3P0PooledConnectionPool.checkoutPooledConnection() line: 232
PoolBackedDataSource.getConnection() line: 94
C3P0ConnectionProvider.getConnection() line: 78
ConnectionManager.openConnection() line: 446
ConnectionManager.getConnection() line: 167
JDBCContext.connection() line: 142
JDBCTransaction.begin() line: 85
MbrTransDAOImpl.getMemberGroupByDesc(long) line: 287
MemberServiceImpl.getMemberGroupByDesc(long) line: 156
MemberServiceDelegate.getMemberGroupByDesc(long) line: 109
PointsAction.pointsGroupByDescList(long) line: 92
PointsAction.execute() line: 61
NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]
NativeMethodAccessorImpl.invoke(Object, Object[]) line: not available
DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: not available
Method.invoke(Object, Object...) line: not available
DefaultActionInvocation.invokeAction(Object, ActionConfig) line: 440
DefaultActionInvocation.invokeActionOnly() line: 279
DefaultActionInvocation.invoke() line: 242
DefaultWorkflowInterceptor.doIntercept(ActionInvocation) line: 163
DefaultWorkflowInterceptor(MethodFilterInterceptor).intercept(ActionInvocation) line: 87
DefaultActionInvocation.invoke() line: 236
AnnotationValidationInterceptor(ValidationInterceptor).doIntercept(ActionInvocation) line: 249
AnnotationValidationInterceptor.doIntercept(ActionInvocation) line: 68
AnnotationValidationInterceptor(MethodFilterInterceptor).intercept(ActionInvocation) line: 87
DefaultActionInvocation.invoke() line: 236
StrutsConversionErrorInterceptor(ConversionErrorInterceptor).intercept(ActionInvocation) line: 122
DefaultActionInvocation.invoke() line: 236
ParametersInterceptor.doIntercept(ActionInvocation) line: 195
ParametersInterceptor(MethodFilterInterceptor).intercept(ActionInvocation) line: 87
DefaultActionInvocation.invoke() line: 236
ActionMappingParametersInteceptor(ParametersInterceptor).doIntercept(ActionInvocation) line: 195
ActionMappingParametersInteceptor(MethodFilterInterceptor).intercept(ActionInvocation) line: 87
DefaultActionInvocation.invoke() line: 236
StaticParametersInterceptor.intercept(ActionInvocation) line: 148
DefaultActionInvocation.invoke() line: 236
CheckboxInterceptor.intercept(ActionInvocation) line: 93
DefaultActionInvocation.invoke() line: 236
FileUploadInterceptor.intercept(ActionInvocation) line: 235
DefaultActionInvocation.invoke() line: 236
ModelDrivenInterceptor.intercept(ActionInvocation) line: 89
DefaultActionInvocation.invoke() line: 236
ScopedModelDrivenInterceptor.intercept(ActionInvocation) line: 128
DefaultActionInvocation.invoke() line: 236
ProfilingActivationInterceptor.intercept(ActionInvocation) line: 104
DefaultActionInvocation.invoke() line: 236
DebuggingInterceptor.intercept(ActionInvocation) line: 267
DefaultActionInvocation.invoke() line: 236
ChainingInterceptor.intercept(ActionInvocation) line: 126
DefaultActionInvocation.invoke() line: 236
PrepareInterceptor.doIntercept(ActionInvocation) line: 138
PrepareInterceptor(MethodFilterInterceptor).intercept(ActionInvocation) line: 87
DefaultActionInvocation.invoke() line: 236
I18nInterceptor.intercept(ActionInvocation) line: 148
DefaultActionInvocation.invoke() line: 236
ServletConfigInterceptor.intercept(ActionInvocation) line: 164
DefaultActionInvocation.invoke() line: 236
AliasInterceptor.intercept(ActionInvocation) line: 128
DefaultActionInvocation.invoke() line: 236
ExceptionMappingInterceptor.intercept(ActionInvocation) line: 176
DefaultActionInvocation.invoke() line: 236
LoginInterceptor.intercept(ActionInvocation) line: 83
DefaultActionInvocation.invoke() line: 236
StrutsActionProxy.execute() line: 52
Dispatcher.serviceAction(HttpServletRequest, HttpServletResponse, ServletContext, ActionMapping) line: 468
ExecuteOperations.executeAction(HttpServletRequest, HttpServletResponse, ActionMapping) line: 77
StrutsPrepareAndExecuteFilter.doFilter(ServletRequest, ServletResponse, FilterChain) line: 76
ApplicationFilterChain.internalDoFilter(ServletRequest, ServletResponse) line: 235
ApplicationFilterChain.doFilter(ServletRequest, ServletResponse) line: 206
StandardWrapperValve.invoke(Request, Response) line: 233
StandardContextValve.invoke(Request, Response) line: 191
StandardHostValve.invoke(Request, Response) line: 127
ErrorReportValve.invoke(Request, Response) line: 102
StandardEngineValve.invoke(Request, Response) line: 109
CoyoteAdapter.service(Request, Response) line: 298
Http11Processor.process(Socket) line: 852
Http11Protocol$Http11ConnectionHandler.process(Socket) line: 588
JIoEndpoint$Worker.run() line: 489
Thread.run() line: not available
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic