Hi John,
I think that your classpath is not totally setup correctly, ie.
causing classes to be loaded through different classloaders that
shouldn't. How are you running your application? Are you using the
RIFE jumpstart or is this something you created yourself? Did you
setup the rife.webapp.path correctly?
I hope this helps you along to figure out what's happening. It's not
always easy to identify why these problems are happening without
having access to the source code.
Best regards,
Geert
On 07 Oct 2006, at 18:12, John Lukar wrote:
Hello,
I am following through the Theater - Demo2 Tutorial series. thanks
much for this effort. It has helped me along A LOT further.
I am hand entering the code (OrderData and associated artifacts) into
my own jumpstart project. I opted to do so rather than just running
the demo, to learn.
When I try to run the order entry form I have couple of issues.
firstly, the OrderData bean does not seem to be properly processed and
tied to the Order Element and template data fields are not filled in.
The fields on the form only show the basic input fields with none of
the bean fields.
Second: when I submit the form, I get a class cast exception:
SEVERE: Error on host localhost:8050/
java.lang.ClassCastException: com.uwyn.rife.jumpstart.OrderData
at com.uwyn.rife.jumpstart.elements.pub.Order.processElement
(Order.java:23)
at com.uwyn.rife.engine.ElementContext.processContext
(ElementContext.java:443)
at com.uwyn.rife.engine.RequestState.service(RequestState.java:342)
at com.uwyn.rife.engine.Gate.handleRequest(Gate.java:421)
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.uwyn.rife.servlet.RifeFilter.doFilter(RifeFilter.java:142)
It seems the Elem annotation is not properly being processed or the
MetaData merging is not happening as the OrderData bean is not merged
with Validate interface.
The downloaded demo code works perfectly. So its obviously it is
something silly I am doing. But I can't figure out for the life of me
what I am doing wrong.
Any ideas ?
_______________________________________________
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users
--
Geert Bevin
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com
_______________________________________________
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users