2 Replies Latest reply on Apr 23, 2010 1:07 AM by Prakash M

    Jboss 5.1 - java.lang.reflect.InvocationTargetException

    Prakash M Novice

      I am getting the following errors while deploying the mands-jmx-packet-sender-2.0.0-.ear in Jboss 5.1.

      Note: This was working in Jboss 4.2.3 without any exceptions.

      Please find the attached file for stack trace.

      Contents of PacketSender.appctx.xml

      <?xml version="1.0" encoding="UTF-8"?>

      <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">




            <bean id="sessions" class="org.springframework.jndi.JndiObjectFactoryBean">

                  <property name="jndiName" value="java:/mands/packetSender/hibernate/sessionFactory" />



            <bean id="dao" class="uk.co.choice.mands.server.jmx.packetsender.dao.hibernate.HibernateInventoryPacketTreeItemDao">

                  <property name="sessionFactory" ref="sessions" />




      It would be great, if any one provides some inputs to resolve this issue.