axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Afkham Azeez (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2-3100) How can I integrate Spring , Hibernate with Axis2?
Date Thu, 06 Jan 2011 15:58:45 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-3100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Afkham Azeez resolved AXIS2-3100.
---------------------------------

    Resolution: Not A Problem

Please do not use JIRA to ask questions. You could use the mailing lists to do this.

> How can I integrate Spring , Hibernate with Axis2?
> --------------------------------------------------
>
>                 Key: AXIS2-3100
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3100
>             Project: Axis2
>          Issue Type: Task
>          Components: samples
>    Affects Versions: 1.2
>         Environment: winxp ,   Axis2
>            Reporter: tommy
>         Attachments: Axis_Spring_Hibernate.rar
>
>
> I have tested my hibernate and spring codes in a single java project, it works.  When
I added some Axis2 features to it and deploy it to the Tomcat with Axis2.war.   It gives me
the exception that the server couldnot find the dao.weatherForeforecastDAO,  
> My structure of .aar is like this,
> Package dao:
>        Weatherforecast.class
>        WeatherforecastDAO.class
>        Weatherforecast.hbm.xml
> Package init:
>      SpringInit.class
> Package META-INF:
>        MANIFEST.MF
>         services.xml
> Package service:
>         WeatherService.class
> under root:
> applicationContext.xml
> hibernate.cfg.xml
> The codes in WeatherService.class is,
> ApplicationContext ctx = new ClassPathXmlApplicationContext("applicationContext.xml");
> WeatherforecastDAO weatherforecastDAO = (WeatherforecastDAO) ctx.getBean("weatherforecastDAO");
> The problem now is that the deployment can find applicationContext.xml but not weatherforecastDAO
in context.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message