Re: [appfuse-user] Embedded error: java.lang.reflect.InvocationTargetException

2009-11-30 Thread Matt Raible
If you're using AppFuse 2.1.0-M1, you should be able to use mvn jetty:run and Jetty will detect when you compile new classes to your target/classes directory. If you use an IDE like Eclipse or IDEA, you can configure them to auto-compile whenever you save a class. If you're using AppFuse 2.0.x, I'

Re: [appfuse-user] Embedded error: java.lang.reflect.InvocationTargetException

2009-11-30 Thread Babu
Thanks for your quick reply, I haven't seen any javaassist dependency in my classpath.So i added externally to my class path,that's also not worked. I am having doubts regarding setting target...Am not using our appfuse project,using Maven project.So my workspace in /home/test/workspace.. I hav

Re: [appfuse-user] Embedded error: java.lang.reflect.InvocationTargetException

2009-11-30 Thread Matt Raible
I haven't seen this error before, but it looks like you might have a couple versions of javassist in your classpath. I'd suggest using "mvn dependency:tree" and see if you can spot the two versions. Then exclude the one you don't want. On Mon, Nov 30, 2009 at 7:10 AM, Babu wrote: > > Hi all, > m

[appfuse-user] Embedded error: java.lang.reflect.InvocationTargetException

2009-11-30 Thread Babu
Hi all, mvn jetty:run-war -Dmaven.test.skip=true or mvn jetty:run -Dmaven.test.skip=true -Dhost=localhost When i am trying run with terminal ..context initilzed successfully .But server is not starting..I have trace my log here,please help me to fix 2009-11-30 19:31:30.942::WARN: failed Dispat

Re: [appfuse-user] @Embedded

2008-06-12 Thread Matt Raible
On Thu, Jun 12, 2008 at 12:33 AM, Juan Heyns <[EMAIL PROTECTED]> wrote: > Matt > > We have a class hierarchy such as the following: > > @Entity > @Inheritance(strategy = InheritanceType.JOINED) > @Table(name = "subclass") > public abstract class SubClass extends BaseObject { > > private stati

Re: [appfuse-user] @Embedded

2008-06-11 Thread Juan Heyns
Matt We have a class hierarchy such as the following: @Entity @Inheritance(strategy = InheritanceType.JOINED) @Table(name = "subclass") public abstract class SubClass extends BaseObject { private static final long serialVersionUID = 247081957928058557L; private Long id; // other p

Re: [appfuse-user] @Embedded

2008-06-11 Thread Matt Raible
It should be fixed as long as you have to the proper annotations in both POJOs. Have you examined User and Address to ensure you have similar annotations? http://static.appfuse.org/appfuse-data/appfuse-data-common/xref/index.html Matt On Wed, Jun 11, 2008 at 1:28 AM, Juan Heyns <[EMAIL PROTECTED

[appfuse-user] @Embedded

2008-06-11 Thread Juan Heyns
Hi guys We are using a modular project with Struts2 & Hibernate. In our core project we are using annotated POJOs with @Embedded POJOs. When running generate on the entity it does not include the fields of the @Embeddable POJO when creating the sample data. Is this still an issue in Appfuse 2.0.

Re: [appfuse-user] Embedded Jetty under Java Web Start

2007-08-27 Thread Bron
Turned out to be a Web Start permissions issue. The tag in the JNLP did not cover code contained within the .war file. Adding the following to my jetty startup class made it work. Policy.setPolicy( new Policy() { public PermissionCollection getPermissions(CodeSource code

Re: [appfuse-user] Embedded Jetty under Java Web Start

2007-08-23 Thread Matt Raible
That's quite strange it doesn't work. What happens if you change the paths to be explicit instead of using wildcards? FWIW, Hudson has a Java Web Start demo that uses Jetty and allows you to view their full application - could be very cool for 1-click demos of AppFuse or AL. https://hudson.dev.ja

[appfuse-user] Embedded Jetty under Java Web Start

2007-08-23 Thread Bron
This may be a question for the Web Start or the Jetty forum, but maybe some of you have experience with something like this or you may just find it interesting. In the past, I have successfully taken an embedded Jetty application containing raw servlets and delivered it via Web Start by zipping t