facebook

getting error in creating TransactionProxyFactoryBean

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #314804 Reply

    MK SHAJI
    Member

    <bean id=”FundDAO” class=”com.FundDAO”>
    <property name=”sessionFactory”>
    <ref bean=”SF” />
    </property>
    </bean>
    <bean id=”ft” class=”com.Fund” abstract=”true”
    p:DAO-ref=”FundDAO”>
    </bean>
    <bean id=”txManager”
    class=”org.springframework.orm.hibernate3.HibernateTransactionManager”
    abstract=”true” p:sessionFactory-ref=”SF”>
    </bean>

    <bean id=”ftm”
    class=”org.springframework.transaction.interceptor.TransactionProxyFactoryBean”
    abstract=”true” p:transactionManager-ref=”txManager”
    p:target-ref=”ft”>
    <property name=”transactionAttributes”>
    <map>
    <entry key=”*”
    value=”PROPAGATION_REQUIRES_NEW”>
    </entry>
    </map>
    </property>
    </bean>
    I am getting error on these two properties transactionManager and target. I am using MyEclipse 8.6 version.

    #314816 Reply

    support-swapna
    Moderator

    mkshaji,

    Can you please answer some questions for me to investigate further ?

    1) Please share your installation details from MyEclipse > Installation Summary > Installation Details. Paste them here for me.

    2) What is the error you are getting on these properties ? Can you please paste the complete error here for me ?

    3) Also check the . log file which is located at < workspace dir>/.metadata /.log for any errors of interest. Paste the errors here if any.

    #314862 Reply

    MK SHAJI
    Member

    Installation Details
    @@@@@@@@@@@@@@@@@@@@

    *** Date:
    Tuesday, March 1, 2011 10:18:48 PM IST

    ** System properties:
    OS=WindowsVista
    OS version=6.1.0
    Java version=1.6.0_13

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 8.6
    Build id: 8.6-20100723

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 8.6
    Build id: 8.6-20100723

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\MyEclipse-8.6\myeclipse.exe
    -name
    Myeclipse
    –launcher.library
    C:\MyEclipse-8.6\Common/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519\eclipse_1206.dll
    -startup
    C:\MyEclipse-8.6\Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
    -install
    C:/MyEclipse-8.6
    -configuration
    configuration
    -vm
    C:\MyEclipse-8.6\Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll

    ************************************************************************************************

    ERROR
    *****
    <bean id=”ftm”
    class=”org.springframework.transaction.interceptor.TransactionProxyFactoryBean”
    abstract=”true” p:transactionManager-ref=”txManager”
    p:target-ref=”ft”>

    Multiple annotations found at this line
    Refrenced bean txManager is invalid (abstract or no bean class and no factorybean)
    Refrenced bean ft is invalid (abstract or no bean class and no factorybean)
    ************************************************************************************************

    .log file
    **********

    !SESSION 2011-03-01 22:28:32.050 ———————————————–
    eclipse.buildId=unknown
    java.version=1.6.0_13
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Command-line arguments: -os win32 -ws win32 -arch x86

    !ENTRY org.eclipse.osgi 2 1 2011-03-01 22:28:51.459
    !MESSAGE NLS unused message: WizardNewFileCreationPage_title in: com.genuitec.eclipse.springframework.messages

    !ENTRY org.eclipse.osgi 2 1 2011-03-01 22:28:51.460
    !MESSAGE NLS unused message: WizardNewFileCreationPage_errorTitle in: com.genuitec.eclipse.springframework.messages

    !ENTRY org.eclipse.osgi 2 1 2011-03-01 22:28:51.460
    !MESSAGE NLS unused message: WizardNewFileCreationPage_internalErrorTitle in: com.genuitec.eclipse.springframework.messages

    !ENTRY org.eclipse.osgi 2 1 2011-03-01 22:28:51.461
    !MESSAGE NLS unused message: WizardNewFileCreationPage_internalErrorMessage in: com.genuitec.eclipse.springframework.messages

    !ENTRY org.eclipse.osgi 2 1 2011-03-01 22:29:02.840
    !MESSAGE NLS unused message: prompt.optclasspath in: com.genuitec.eclipse.easie.core.configuration

    !ENTRY org.eclipse.osgi 2 1 2011-03-01 22:29:02.841
    !MESSAGE NLS unused message: prompt.preclasspath in: com.genuitec.eclipse.easie.core.configuration

    !ENTRY org.eclipse.osgi 2 1 2011-03-01 22:29:02.841
    !MESSAGE NLS unused message: prompt.optlibrarypath in: com.genuitec.eclipse.easie.core.configuration

    !ENTRY org.eclipse.jface 2 0 2011-03-01 22:29:06.994
    !MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation.
    !SUBENTRY 1 org.eclipse.jface 2 0 2011-03-01 22:29:06.994
    !MESSAGE A conflict occurred for SHIFT+DEL:
    Binding(SHIFT+DEL,
    ParameterizedCommand(Command(org.eclipse.datatools.sqltools.result.removeAllInstances,Remove All Visible Results,
    ,
    Category(org.eclipse.datatools.sqltools.result.category,SQL Results View,null,true),
    ,
    ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    org.eclipse.ui.contexts.window,,,system)
    Binding(SHIFT+DEL,
    ParameterizedCommand(Command(org.eclipse.ui.edit.cut,Cut,
    Cut the selection to the clipboard,
    Category(org.eclipse.ui.category.edit,Edit,null,true),
    org.eclipse.ui.internal.handlers.WidgetMethodHandler@1d1e70a,
    ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    org.eclipse.ui.contexts.dialogAndWindow,,,system)
    Binding(SHIFT+DEL,
    ParameterizedCommand(Command(org.topcased.modeler.deleteModelObject,Delete From Model,
    Allows the user to delete the selected graph element and its associated model element in a Topcased editor.,
    Category(org.eclipse.ui.category.edit,Edit,null,true),
    ,
    ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    org.eclipse.ui.contexts.window,,,system)
    thanks
    Shaji

    #314969 Reply

    support-swapna
    Moderator

    mkshaji,

    Sorry for the delayed response. I will have a dev team member answer this for you.

    #315001 Reply

    MK SHAJI
    Member

    ok thank you, eagerly waiting for their response
    reagrds
    Shaji

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: getting error in creating TransactionProxyFactoryBean

You must be logged in to post in the forum log in