aspose file tools*
The moose likes JBoss/WildFly and the fly likes Unable to run embedded jboss. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Unable to run embedded jboss. " Watch "Unable to run embedded jboss. " New topic
Author

Unable to run embedded jboss.

Vinod Reddy Rondla
Greenhorn

Joined: Feb 23, 2011
Posts: 3
Hi,
I am trying to run a test class for a session bean from ant. It contains the following code for embedding the jboss.


EJBContainer ejbC = EJBContainer.createEJBContainer();


Context ctx = ejbC.getContext();

AcmeFinance testObject;

public AcmeFinanceTest()
{
try{
testObject = (AcmeFinance) ctx.lookup("java:global//AcmeFinance");
}catch(Exception e){}
}

It shows the following exception on the red line above:

java.lang.reflect.InvocationTargetException
javax.ejb.EJBException: java.lang.reflect.InvocationTargetException
at org.jboss.ejb3.embedded.impl.standalone.JBossStandaloneEJBContainerProvider.createEJBContainer(JBossStandaloneEJBContainerProvider.java:153)
at javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:93)
at javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:75)
at com.acme.test.AcmeFinanceTest.<init>(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
at org.jboss.ejb3.embedded.impl.standalone.JBossStandaloneEJBContainerProvider.createEJBContainer(JBossStandaloneEJBContainerProvider.java:141)
Caused by: java.lang.RuntimeException: Found .class on ClassPath which could not be found by the TCCL
at org.jboss.ejb3.embedded.impl.base.scanner.ClassPathEjbJarScanner.containsEjbComponentClass(ClassPathEjbJarScanner.java:371)
at org.jboss.ejb3.embedded.impl.base.scanner.ClassPathEjbJarScanner.containsEjbComponentClass(ClassPathEjbJarScanner.java:349)
at org.jboss.ejb3.embedded.impl.base.scanner.ClassPathEjbJarScanner.containsEjbComponentClass(ClassPathEjbJarScanner.java:349)
at org.jboss.ejb3.embedded.impl.base.scanner.ClassPathEjbJarScanner.containsEjbComponentClass(ClassPathEjbJarScanner.java:349)
at org.jboss.ejb3.embedded.impl.base.scanner.ClassPathEjbJarScanner.containsEjbComponentClass(ClassPathEjbJarScanner.java:349)
at org.jboss.ejb3.embedded.impl.base.scanner.ClassPathEjbJarScanner.containsEjbComponentClass(ClassPathEjbJarScanner.java:324)
at org.jboss.ejb3.embedded.impl.base.scanner.ClassPathEjbJarScanner.isEjbJar(ClassPathEjbJarScanner.java:285)
at org.jboss.ejb3.embedded.impl.base.scanner.ClassPathEjbJarScanner.getEjbJars(ClassPathEjbJarScanner.java:174)
at org.jboss.ejb3.embedded.sub.JBossSubmersibleEJBContainer.createEJBContainer(JBossSubmersibleEJBContainer.java:117)
Caused by: java.lang.ClassNotFoundException: 1.0.com.sun.codemodel.JConditional
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.jboss.ejb3.embedded.impl.base.scanner.ClassPathEjbJarScanner.containsEjbComponentClass(ClassPathEjbJarScanner.java:367)

and Here is my build.xml:

<project name="Acme" default="help" basedir=".">
<target name="help">
<echo>
EJB3.1 (JBoss 6.0) persistence (JPA) example
--------------------------------------------

This example builds upon the concepts of the messaging (MDB) example by
adding a basic storage backend for messages. You should note the separation
of functionality for adding and querying. This separation allows for design
and deployment (number of, TX-tuning, interceptors, etc) adjustments for
recording and retrieval of data.

To deploy (JBoss 6.x):
1) create message queue logging/record (default/deploy/hornetq/hornetq-jms.xml)

<!--queue name="demo">
<entry name="queue/MyQueue" />
</queue> -->

2) run the deploy ant target
</echo>
</target>

<target name="init">
<property name="src.dir" value="${basedir}/ejbModule" />
<property name="test.dir" value="${basedir}/test" />
<property name="classes.dir" value="${basedir}/classes" />
<property name="out.dir" value="${basedir}/build" />
<property name="jboss.home" value="C:/jboss-6.0.0.Final" />
<property name="junit.home" value="${basedir}/junit/org.junit_4.8.1.v4_8_1_v20100427-1100" />
<property name="jboss.deploy" value="${jboss.home}/server/default/deploy" />
<property name="jboss.deploy2" value="${jboss.home}/server/all/deploy" />
</target>

<target name="build" depends="clean">
<mkdir dir="${classes.dir}" />
<mkdir dir="${out.dir}" />
<javac srcdir="${src.dir}" destdir="${classes.dir}">
<classpath>
<fileset dir="${jboss.home}/client">
<include name="**/*.jar" />
</fileset>
<pathelement location="${classes.dir}" />
<pathelement location="${basedir}\junit\org.junit_4.8.1.v4_8_1_v20100427-1100\junit.jar"/>
</classpath>
</javac>

<javac srcdir="${test.dir}" destdir="${classes.dir}/com/acme/test">
<classpath>
<fileset dir="${jboss.home}/client">
<include name="**/*.jar" />
</fileset>
<pathelement location="${classes.dir}/com/acme/test" />
<pathelement location="${basedir}\junit\org.junit_4.8.1.v4_8_1_v20100427-1100\junit.jar"/>
</classpath>
</javac>
</target>

<target name="clean" depends="init">
<delete dir="${classes.dir}" quiet="true" />
<delete dir="${out.dir}" quiet="true" />
</target>

<target name="deploy" depends="jar">
<copy file="${out.dir}/AcmeAnt.jar" toDir="${jboss.deploy}" />
</target>

<target name="jar" depends="build">
<mkdir dir="${out.dir}/ejb-jar/META-INF" />
<mkdir dir="${out.dir}/ejb-jar/lib" />

<!-- for jboss 6.0 we do not deploy the log-queue-service.xml -->
<!-- copy file="${basedir}/conf/log-queue-service.xml" toDir="${out.dir}/ejb-jar" / -->
<copy file="${basedir}/conf/persistence.xml" toDir="${out.dir}/ejb-jar/META-INF" />

<copy toDir="${out.dir}/ejb-jar">
<fileset dir="${classes.dir}">
<include name="**/acme/beans/**" />
<include name="**/acme/entities/**" />
<include name="**/acme/test/**"/>
</fileset>
</copy>

<jar destfile="${out.dir}/AcmeAnt.jar">
<fileset dir="${out.dir}/ejb-jar">
<include name="**/*" />
</fileset>
</jar>
</target>

<target name="test" depends="deploy">
<junit printsummary="yes" fork="yes" haltonfailure="yes">
<classpath>
<pathelement location="${classes.dir}" />
<pathelement location="${junit.home}/junit.jar" />
<pathelement location = "${basedir}\junit\org.hamcrest.core_1.1.0.v20090501071000.jar"/>
<pathelement location="${jboss.home}/lib/jboss-logmanager.jar"/>
<fileset dir="${jboss.home}/client">
<include name="*.jar"/>
</fileset>
<fileset dir="${jboss.home}/lib/endorsed">
<include name="*.jar" />
</fileset>
<fileset dir="${jboss.home}/lib">
<include name="*.jar" />
</fileset>
</classpath>


<formatter type="plain" />
<test name="com.acme.test.AcmeFinanceTest" />
</junit>
</target>

</project>



Am i missing something here?Please let me know.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10266
    
168

Does your classpath or application have a jaxb-xjc*.jar file? If yes then try removing that jar from the application/classpath.

[My Blog] [JavaRanch Journal]
Vinod Reddy Rondla
Greenhorn

Joined: Feb 23, 2011
Posts: 3
Hi jai kiran,

I removed the jar and tried all other options. I am finally struck at this exception. Sorry for the late reply BTW.

java.lang.RuntimeException: Error retrieving annotation attribute values
at org.jboss.reflect.plugins.AnnotationValueFactory.createAnnotationValue(AnnotationValueFactory.java:124) [jboss-reflect.jar:2.2.0.GA]
at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.createAnnotationValue(IntrospectionTypeInfoFactoryImpl.java:148) [jboss-reflect.jar:2.2.0.GA]
at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.getAnnotations(IntrospectionTypeInfoFactoryImpl.java:141) [jboss-reflect.jar:2.2.0.GA]
at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl$2.run(IntrospectionTypeInfoFactoryImpl.java:229) [jboss-reflect.jar:2.2.0.GA]
at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl$2.run(IntrospectionTypeInfoFactoryImpl.java:218) [jboss-reflect.jar:2.2.0.GA]
at java.security.AccessController.doPrivileged(Native Method) [:1.6.0_21]
at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.getMethods(IntrospectionTypeInfoFactoryImpl.java:217) [jboss-reflect.jar:2.2.0.GA]
at org.jboss.reflect.plugins.ClassInfoImpl.getDeclaredMethods(ClassInfoImpl.java:416) [jboss-reflect.jar:2.2.0.GA]
at org.jboss.beans.info.plugins.AbstractBeanInfoFactory.getMethods(AbstractBeanInfoFactory.java:245) [jboss-reflect.jar:2.2.0.GA]
at org.jboss.beans.info.plugins.AbstractBeanInfoFactory.getBeanInfo(AbstractBeanInfoFactory.java:164) [jboss-reflect.jar:2.2.0.GA]
at org.jboss.beans.info.plugins.AbstractBeanInfoFactory.getBeanInfo(AbstractBeanInfoFactory.java:136) [jboss-reflect.jar:2.2.0.GA]
at org.jboss.config.plugins.AbstractConfiguration.getBeanInfo(AbstractConfiguration.java:75) [jboss-reflect.jar:2.2.0.GA]
at org.jboss.managed.plugins.factory.DeploymentTemplateInfoFactory.createTemplateInfo(DeploymentTemplateInfoFactory.java:158) [jboss-managed.jar:2.1.1.SP2]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_21]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_21]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_21]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_21]
at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:60) [jboss-reflect.jar:2.2.0.GA]
at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:168) [jboss-reflect.jar:2.2.0.GA]
at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66) [jboss-reflect.jar:2.2.0.GA]
at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:257) [jboss-kernel.jar:2.2.0.GA]
at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47) [jboss-kernel.jar:2.2.0.GA]
at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:125) [jboss-kernel.jar:2.2.0.GA]
at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:72) [jboss-kernel.jar:2.2.0.GA]
at org.jboss.kernel.plugins.dependency.InstantiateAction.installActionInternal(InstantiateAction.java:67) [jboss-kernel.jar:2.2.0.GA]
at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.GA]
at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.GA]
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:894) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:641) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:182) [jboss-deployers-vfs.jar:2.2.0.GA]
at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:58) [jboss-deployers-vfs.jar:2.2.0.GA]
at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) [jboss-deployers-spi.jar:2.2.0.GA]
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55) [jboss-deployers-spi.jar:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [jboss-deployers-impl.jar:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [jboss-deployers-impl.jar:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [jboss-deployers-impl.jar:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1571) [jboss-deployers-impl.jar:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [jboss-deployers-impl.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983) [jboss-deployers-impl.jar:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076) [jboss-deployers-impl.jar:2.2.0.GA]
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) [jboss-deployers-impl.jar:2.2.0.GA]
at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106) [jboss-system.jar:6.0.0.Final]
at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:143) [jboss-profileservice-core.jar:0.2.2]
at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:151) [jboss-profileservice-core.jar:0.2.2]
at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94) [jboss-profileservice-core.jar:0.2.2]
at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.GA]
at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.GA]
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.profileservice.dependency.ProfileActivationWrapper$BasicProfileActivation.start(ProfileActivationWrapper.java:190) [jboss-profileservice-core.jar:0.2.2]
at org.jboss.profileservice.dependency.ProfileActivationWrapper.start(ProfileActivationWrapper.java:87) [jboss-profileservice-core.jar:0.2.2]
at org.jboss.profileservice.dependency.ProfileActivationService.activateProfile(ProfileActivationService.java:215) [jboss-profileservice-core.jar:0.2.2]
at org.jboss.profileservice.dependency.ProfileActivationService.activate(ProfileActivationService.java:159) [jboss-profileservice-core.jar:0.2.2]
at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.activate(AbstractProfileServiceBootstrap.java:112) [jboss-profileservice-core.jar:0.2.2]
at org.jboss.profileservice.resolver.BasicResolverFactory$ProfileResolverFacade.deploy(BasicResolverFactory.java:87) [jboss-profileservice-core.jar:0.2.2]
at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.start(AbstractProfileServiceBootstrap.java:91) [jboss-profileservice-core.jar:0.2.2]
at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:132) [jboss-system.jar:6.0.0.Final]
at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [jboss-system.jar:6.0.0.Final]
at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
at java.lang.Thread.run(Thread.java:619) [:1.6.0_21]
Caused by: java.lang.TypeNotPresentException: Type org.jboss.resource.deployers.management.ConnectionFactoryProperty not present
at sun.reflect.annotation.TypeNotPresentExceptionProxy.generateException(TypeNotPresentExceptionProxy.java:27) [:1.6.0_21]
at sun.reflect.annotation.AnnotationInvocationHandler.invoke(AnnotationInvocationHandler.java:56) [:1.6.0_21]
at $Proxy58.value(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_21]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_21]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_21]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_21]
at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:60) [jboss-reflect.jar:2.2.0.GA]
at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:168) [jboss-reflect.jar:2.2.0.GA]
at org.jboss.reflect.plugins.SecurityActions.invokeMethod(SecurityActions.java:78) [jboss-reflect.jar:2.2.0.GA]
at org.jboss.reflect.plugins.AnnotationValueFactory.createAnnotationValue(AnnotationValueFactory.java:117) [jboss-reflect.jar:2.2.0.GA]
... 86 more
Caused by: java.lang.ClassNotFoundException: org.jboss.resource.deployers.management.ConnectionFactoryProperty
at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1361) [ant.jar:1.8.1]
at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1311) [ant.jar:1.8.1]
at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1064) [ant.jar:1.8.1]
at org.apache.tools.ant.util.SplitClassLoader.loadClass(SplitClassLoader.java:58) [ant.jar:]
at java.lang.ClassLoader.loadClass(ClassLoader.java:248) [:1.6.0_21]
at java.lang.Class.forName0(Native Method) [:1.6.0_21]
at java.lang.Class.forName(Class.java:247) [:1.6.0_21]
at sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:95) [:1.6.0_21]
at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:107) [:1.6.0_21]
at sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:31) [:1.6.0_21]
at sun.reflect.annotation.AnnotationParser.parseSig(AnnotationParser.java:370) [:1.6.0_21]
at sun.reflect.annotation.AnnotationParser.parseClassValue(AnnotationParser.java:351) [:1.6.0_21]
at sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:280) [:1.6.0_21]
at sun.reflect.annotation.AnnotationParser.parseAnnotation(AnnotationParser.java:222) [:1.6.0_21]
at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:69) [:1.6.0_21]
at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:52) [:1.6.0_21]
at java.lang.reflect.Method.declaredAnnotations(Method.java:693) [:1.6.0_21]
at java.lang.reflect.Method.getDeclaredAnnotations(Method.java:686) [:1.6.0_21]
at java.lang.reflect.AccessibleObject.getAnnotations(AccessibleObject.java:175) [:1.6.0_21]
at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.readAnnotations(IntrospectionTypeInfoFactoryImpl.java:610) [jboss-reflect.jar:2.2.0.GA]
at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.getAnnotations(IntrospectionTypeInfoFactoryImpl.java:126) [jboss-reflect.jar:2.2.0.GA]
... 84 more

Vinod Reddy Rondla
Greenhorn

Joined: Feb 23, 2011
Posts: 3
Basically I am a newbie. Could you also list out the mandatory things necessary to run the embedded as to run. Do i need maven and pom.xml. Or any other??

Thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to run embedded jboss.