• Post Reply Bookmark Topic Watch Topic
  • New Topic

please help.. TimeoutExpiredException!

 
Rudy Harianto
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
did anyone experienced this problem?
it was deployed on Oracle IAS.
please help.. and thanks!


source code:

/**
* Constructor of numbering class
* @param argBranch a branch id
* @param argDocument a document type/ID of a document that a
* number would be generated
*/
public Numbering( int argBranch, int argDocument ) throws Exception
{
cob = 0;
branch = argBranch;
document = argDocument;

try
{
Object o = __context.lookup( NumberGeneratorJNDI );
__home = ( NumberGeneratorHome ) PortableRemoteObject.narrow( o, com.aswata.general.numbering.ejb.NumberGeneratorHome.class );
__remote = __home.create( new String( "" ) );
}
catch( Exception e )
{
throw e;
}
}


stack trace:

com.evermind.server.ejb.TimeoutExpiredException: timeout expired waiting for an instance
at com.evermind.server.ejb.EntityEJBHome.getContextInstance(EntityEJBHome.java:277)
at NumberGeneratorHome_EntityHomeWrapper153.create(NumberGeneratorHome_EntityHomeWrapper153.java:467)
at com.aswata.general.numbering.Numbering.<init>(Numbering.java:114)
at com.aswata.claim.survey.inhouse.finalsurvey.FinalSurveyClaim.generateDnCnModel(FinalSurveyClaim.java:305)
at com.aswata.claim.survey.inhouse.finalsurvey.ejb.FinalSurveyNotify.notify(FinalSurveyNotify.java:163)
at com.aswata.claim.survey.inhouse.finalsurvey.ejb.FinalSurveyEB.notify(FinalSurveyEB.java:149)
at FinalSurveyRemote_EntityBeanWrapper163.notify(FinalSurveyRemote_EntityBeanWrapper163.java:518)
at com.aswata.claim.survey.inhouse.finalsurvey.FinalSurveyAB.doApprove(FinalSurveyAB.java:154)
at com.aswata.claim.survey.inhouse.finalsurvey.FinalSurveyAB.execute(FinalSurveyAB.java:61)
at com.balicamp.pattern.command.CommandServerB.executeCommand(CommandServerB.java:33)
at CommandServerR_StatelessSessionBeanWrapper102.executeCommand(CommandServerR_StatelessSessionBeanWrapper102.java:117)
at com.balicamp.pattern.command.EJBCommandTarget.executeCommand(EJBCommandTarget.java:36)
at com.balicamp.pattern.command.CommandExecutor.execute(CommandExecutor.java:17)
at com.aswata.claim.survey.inhouse.finalsurvey.FinalSurveyCB.doActivate(FinalSurveyCB.java:233)
at com.aswata.claim.survey.inhouse.finalsurvey.FinalSurveyCB.execute(FinalSurveyCB.java:62)
at com.balicamp.framework.waf.controller.ServletController.execute(ServletController.java:146)
at com.balicamp.framework.waf.controller.ServletController.process(ServletController.java:81)
at com.aswata.servlet.CServletController.doPost(CServletController.java:57)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at com.aswata.servlet.SignOnFilter.doFilter(SignOnFilter.java:119)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:560)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:148)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:72)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Unknown Source)
 
Rudy Harianto
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in addition, the error occure on the line that get the remote object:

__remote = __home.create( new String( "" ) );
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!