Re: Axis2 / Spring3 / .aar file

Simone <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <[email protected]>
Did you do this step? "move the axis2-spring-*.jar from WEB-INF/lib to 
inside the AAR, as shown below - it will not work otherwise." Make sure 
that jar is only in the aar. Also, try expanding your springframework 
jar to verify org/springframework/context/ApplicationContextAware is 
inside. A quick look at the springframework docs indicates that the 
class is still in the distro, but we need to double check. - R 
--------------------------------------------------------------------- To 
unsubscribe, e-mail: [email protected] For 
additional commands, e-mail: [email protected]



Hi,

the jars have been in the lib folder of the .aar file.
I copied the jars to the axis2/WEB-INF/lib folder and now it works. But 
I don`t understand why?
The next problem (using hibernate with spring) :

[INFO] Loaded JDBC driver: com.mysql.jdbc.Driver
[INFO] HCANN000001: Hibernate Commons Annotations {4.0.2.Final}
[INFO] HHH000412: Hibernate Core {4.2.5.Final}
[INFO] HHH000206: hibernate.properties not found
[INFO] HHH000021: Bytecode provider name : javassist
[WARN] HHH000342: Could not obtain connection to query metadata : No 
suitable driver found for jdbc:mysql://xxxx:3306/dam_sr
[INFO] HHH000400: Using dialect: org.hibernate.dialect.MySQLDialect
[INFO] HHH000422: Disabling contextual LOB creation as connection was null
[INFO] HHH000399: Using default transaction strategy (direct JDBC 
transactions)
[INFO] HHH000397: Using ASTQueryTranslatorFactory
[INFO] Using DataSource 
[org.springframework.jdbc.datasource.DriverManagerDataSource@69c290fe] 
of Hibernate SessionFactory for HibernateTransactionManager
spring loaded
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.