[jboss-user] [JBoss AOP] New message: "Deploying AOP in 5.1 with pojo cache"

Sudeep Mahorker do-not-reply at jboss.com
Thu Jan 7 15:09:19 EST 2010


User development,

A new message was posted in the thread "Deploying AOP in 5.1 with pojo cache":

http://community.jboss.org/message/518841#518841

Author  : Sudeep Mahorker
Profile : http://community.jboss.org/people/sudeep575

Message:
--------------------------------------------------------------
Hi , i am new to jboss. I am trying to deploy jboss pojo cache 3.0 on jboss 5.1.
When i am trying to attach the object to pojo cache, it is throwing error as object need to be serialized or instrumented.
 
i am using @Replicable annotation over my persisitence object. In my build.xml i am trying to instrument object using pojocache-aop.xml and javassist. here is the build.xml i am using. My object is not instrumenting correctly. @ Replicable annotation is not working properly.
 
Here i am attaching pojocache-aop.xml.

<target name="war" depends="compile">  
        <java classname="com.test.pojo.Vehicle" fork="true" >
                     <jvmarg value="-Xmx128M"/>
                     <jvmarg value="-javaagent:WebContent/WEB-INF/lib/jboss-aop.jar"/>
                     <jvmarg value="-Djboss.aop.path=WebContent/META-INF/pojocache-aop.xml"/>
                     <classpath refid="compile.classpath"/>       
                     <classpath path="build/classes" /> 
                 </java> 
        <war destfile="dist/Cache.war" webxml="WebContent/WEB-INF/web.xml">
            <fileset dir="WebContent"/>
            <lib dir="WebContent/WEB-INF/lib"/>
            <classes dir="build/classes"/>
        </war>
    </target>
 
 
 
Can anyone pls help me out ?

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/518841#518841




More information about the jboss-user mailing list