Re: ReportMill can't find Framework?
Re: ReportMill can't find Framework?
- Subject: Re: ReportMill can't find Framework?
- From: Chuck Hill <email@hidden>
- Date: Mon, 16 Jun 2008 11:17:08 -0700
On Jun 16, 2008, at 11:06 AM, James Cicenia wrote:
I am a bit confused. TOSDevelopment is the name of my project. It is
not a component.
So, let's take this from the top.
I have RMPDFPage.java from Report Mill.
I had tried creating a new wo component with its java the same as
RMPDFPage.java. Same error.
Carefully read http://lists.apple.com/archives/webobjects-dev/2008/Jan/msg00474.html
Open the built .woa from your project in Finder. Carefully look for a
problem such as those described in that message. Once you find the
problem, work backwards to discover what in your project setup is
causing it.
Chuck
On Jun 16, 2008, at 11:30 AM, Don Lindsay wrote:
This kind of does apply and kind of doesn't apply, not the same
problem but the same cause. :) But it did jog my memory on what I
had to do to fix the problem. Create a template for your
TOSDevelopment component. Backup your existing java file.
Create a new component name TOSDevelopment, then copy your previous
backed up java file back into your source directory.
For some reason in previous versions of WebObjects, you did not
have to have a HTML and WOD file for a component it could be only
java. In the newer releases you have to have the component
directory and a HTML and WOD file under that directory or
WebObjects complains.
In my case I had to do this with RMPDFPage.WO, then it will work.
The HTML and the WOD files can be completely blank. Thanks for
jogging my memory Chuck.
Don
On Jun 16, 2008, at 12:23 PM, Chuck Hill wrote:
On Jun 15, 2008, at 5:01 PM, Don Lindsay wrote:
Hmm, are you trying to generate a report at that point (I.E. use
one of the ReportMill components) Do the reportmill components
have imports for your entity classes? (line 64 in RM_Dashboard)
Make sure you do not have two copies of the ReportMill custom
components in your project. Open your sources folder and send me
a screen shot.
Don
On Jun 15, 2008, at 4:58 PM, James Cicenia wrote:
As requested: (note TOSPDFPage was my attempt to just create a
copy of the component and put it in the default package... same
error basically.
[2008-06-15 13:10:12 CDT] <WorkerThread0>
<com.webobjects.appserver._private.WOComponentDefinition> No
template found for component TOSPDFPage at "file:/Users/jcicenia/
Documents/workspace/TOSDevelopment/build/TOSDevelopment.woa/".
[2008-06-15 13:10:12 CDT] <WorkerThread0>
<com.webobjects.appserver._private.WOComponentRequestHandler>:
Exception occurred while handling request:
java.lang.IllegalStateException: Unable to find framework named
"TOSDevelopment".
[2008-06-15 13:10:12 CDT] <WorkerThread0>
java.lang.IllegalStateException: Unable to find framework named
"TOSDevelopment".
at
com
.webobjects
.appserver
._private
.WOComponentDefinition.<init>(WOComponentDefinition.java:179)
http://lists.apple.com/archives/webobjects-dev/2008/Jan/
msg00474.html
With thanks to Mike Schrag.
at
com
.webobjects
.appserver
.WOApplication
._componentDefinitionFromClassNamed(WOApplication.java:2353)
at
com
.webobjects
.appserver.WOApplication._componentDefinition(WOApplication.java:
2448)
at
com
.webobjects
.appserver.WOApplication.pageWithName(WOApplication.java:1943)
at
com
.noxymo
.application.NXApplication.pageWithName(NXApplication.java:279)
at
com
.webobjects.appserver.WOComponent.pageWithName(WOComponent.java:
1200)
at com.tos.reports.RM_Dashboard.runReport(RM_Dashboard.java:65)
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:585)
at com.webobjects.foundation.NSKeyValueCoding
$1.methodValue(NSKeyValueCoding.java:684)
at com.webobjects.foundation.NSKeyValueCoding
$_MethodBinding.valueInObject(NSKeyValueCoding.java:1160)
at com.webobjects.foundation.NSKeyValueCoding
$DefaultImplementation.valueForKey(NSKeyValueCoding.java:1268)
at
com
.webobjects.appserver.WOComponent.valueForKey(WOComponent.java:
1539)
at com.webobjects.foundation.NSKeyValueCoding
$Utility.valueForKey(NSKeyValueCoding.java:498)
at com.webobjects.foundation.NSKeyValueCodingAdditions
$
DefaultImplementation
.valueForKeyPath(NSKeyValueCodingAdditions.java:212)
at
com
.webobjects
.appserver.WOComponent.valueForKeyPath(WOComponent.java:1600)
at
com
.webobjects
.appserver
._private
.WOKeyValueAssociation
.valueInComponent(WOKeyValueAssociation.java:46)
at
com
.webobjects
.appserver._private.WOHyperlink.invokeAction(WOHyperlink.java:76)
at
com
.webobjects
.appserver
._private
.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:101)
at
com
.webobjects
.appserver
._private.WODynamicGroup.invokeAction(WODynamicGroup.java:110)
at
com
.webobjects
.appserver._private.WORepetition.invokeAction(WORepetition.java:
196)
at
com
.webobjects
.appserver
._private
.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:101)
at
com
.webobjects
.appserver
._private.WODynamicGroup.invokeAction(WODynamicGroup.java:110)
at
com
.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:
945)
at
com.webobjects.appserver.WOSession.invokeAction(WOSession.java:
1168)
at
com
.webobjects
.appserver.WOApplication.invokeAction(WOApplication.java:1375)
at
com
.webobjects
.appserver
._private
.WOComponentRequestHandler
._dispatchWithPreparedPage(WOComponentRequestHandler.java:196)
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
com
.noxymo
.application.NXApplication.dispatchRequest(NXApplication.java:201)
at com.tos.Application.dispatchRequest(Application.java:371)
at
com
.webobjects
.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:
173)
at
com
.webobjects
.appserver._private.WOWorkerThread.run(WOWorkerThread.java:254)
at java.lang.Thread.run(Thread.java:613)
errorjava.lang.IllegalStateException: Unable to find framework
named "TOSDevelopment".
[2008-06-15 13:10:20 CDT] <main> Waiting for requests...
On Jun 15, 2008, at 3:28 PM, Don Lindsay wrote:
Hmmm, my issue was happening in Tomcat not direct. Send me
your stack trace please.
Don
On Jun 15, 2008, at 2:04 PM, James Cicenia wrote:
Funny,,,, I just sent you a direct email.
Anyway, TOSDevelopment is the name of this project.
I did modify the ReportMill components to reside in their own
package.
The templates are being served by the database and not the
resource directory.
The app isn't deployed of course, but running it via my
Eclipse set up with Apache.
Thanks
James
On Jun 15, 2008, at 12:54 PM, Don Lindsay wrote:
HEllo James;
Is TOSDevelopment the name of your project? Did you modify
the ReportMill components to not reside in the default
packages, but in the java package for your application? Do
you have your reportmill templates in the resources
directory? How are you running the application (Servlet,
direct, adaptor)?
Don
On Jun 14, 2008, at 10:45 PM, James Cicenia wrote:
Hello
I thought I had my ReportMill all good to go but it thinks
it is in a framework?
It errors on the RMPDFPage saying it can't find the
TOSDevelopment framework.
Any thoughts?
Thanks
James Cicenia
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve
specific problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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