component without template and servlet-deployment
component without template and servlet-deployment
- Subject: component without template and servlet-deployment
- From: "Ruenagel, Frank" <email@hidden>
- Date: Fri, 6 Jul 2007 12:58:55 +0200
- Thread-topic: component without template and servlet-deployment
Hi,
I tried to use some components without template. Their template-method is overwritten and
returns null, appendToResponse does not call super(). Their .wo-Folder does not exist.
With direct-connect deployment this runs well.
Testing with tomcat I get an " Unable to find framework named "tb"" Error thrown by the
parent of the template-less components We have no framework "tb".
The name of the application is "tb" (Wo 5.2.4).
If I create the '.wo' Folder and put empty files into it, it works well.
Any clues?
java.lang.IllegalStateException: Unable to find framework named "tb".
at com.webobjects.appserver._private.WOComponentDefinition.<init>(WOComponentDefinition.java:179)
at com.webobjects.appserver.WOApplication._componentDefinitionFromClassNamed(WOApplication.java:2353)
at com.webobjects.appserver.WOApplication._componentDefinition(WOApplication.java:2448)
at com.webobjects.appserver._private.WOHTMLWebObjectTag._componentReferenceWithClassNameDeclarationAndTemplate(WOHTMLWebObjectTag.java:129)
at com.webobjects.appserver._private.WOHTMLWebObjectTag._elementWithDeclaration(WOHTMLWebObjectTag.java:196)
at com.webobjects.appserver._private.WOHTMLWebObjectTag.dynamicElement(WOHTMLWebObjectTag.java:122)
at com.webobjects.appserver._private.WOHTMLTemplateParser.didParseClosingWebObjectTag(WOHTMLTemplateParser.java:52)
at com.webobjects.appserver._private.WOHTMLParser.didParseClosingWebObjectTag(WOHTMLParser.java:183)
at com.webobjects.appserver._private.WOHTMLParser.endOfWebObjectTag(WOHTMLParser.java:150)
at com.webobjects.appserver._private.WOHTMLParser.parseHTML(WOHTMLParser.java:67)
at com.webobjects.appserver._private.WOHTMLTemplateParser.parseHTML(WOHTMLTemplateParser.java:81)
at com.webobjects.appserver._private.WOHTMLTemplateParser.parse(WOHTMLTemplateParser.java:95)
at com.webobjects.appserver._private.WOParser.templateWithHTMLAndDeclaration(WOParser.java:71)
at com.webobjects.appserver._private.WOComponentDefinition.template(WOComponentDefinition.java:288)
at com.webobjects.appserver.WOComponent.templateWithName(WOComponent.java:597)
at com.webobjects.appserver.WOComponent.template(WOComponent.java:507)
at com.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:982)
at TBComponente.appendToResponse(TBComponente.java:1768)
at TBAdressen.appendToResponse(TBAdressen.java:1276)
at com.webobjects.appserver.WOSession.appendToResponse(WOSession.java:1198)
at com.webobjects.appserver.WOApplication.appendToResponse(WOApplication.java:1418)
at Application.appendToResponse(Application.java:473)
at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedPage(WOComponentRequestHandler.java:230)
at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedSession(WOComponentRequestHandler.java:287)
at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedApplication(WOComponentRequestHandler.java:322)
at com.webobjects.appserver._private.WOComponentRequestHandler._handleRequest(WOComponentRequestHandler.java:358)
at com.webobjects.appserver._private.WOComponentRequestHandler.handleRequest(WOComponentRequestHandler.java:435)
at com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1306)
at Application.dispatchRequest(Application.java:1080)
at com.webobjects.jspservlet._WOApplicationWrapper.servletDispatchRequest(_WOApplicationWrapper.java:118)
at com.webobjects.jspservlet.WOServletAdaptor._handleRequest(WOServletAdaptor.java:678)
at com.webobjects.jspservlet.WOServletAdaptor.doPost(WOServletAdaptor.java:645)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Thank you.
Frank Rünagel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden