- 浏览: 312478 次
- 性别:
- 来自: 北京
文章分类
- 全部博客 (118)
- oracle (16)
- java (13)
- jquery (16)
- hibernate (2)
- spring (14)
- struts (2)
- eclipse (1)
- birt (5)
- integrated skill (13)
- linux (9)
- css+html (5)
- redis (1)
- jqgrid (4)
- mybatis (2)
- multithreading (3)
- jvm (1)
- mvn (3)
- php (2)
- jms (2)
- photoshop (1)
- springmvc (3)
- cluster (1)
- cache (1)
- jquery-ui (2)
- 英语词根 (0)
- svn (0)
- ide (1)
- mysql (3)
- rich-text (1)
- golang (8)
- mac 10 (1)
- android (1)
- react (0)
- bootstrap (2)
- css (2)
- 1 (0)
- beego (1)
- pictures (1)
- java小生转战 (0)
- 转站通知 (0)
- 转站通知,,,啊啊啊 (1)
- threeperson (1)
- unity (1)
最新评论
-
zld406504302:
aaaddddddd
java小生转站threeperson博客 -
zld406504302:
aaaaaddd
java小生转站threeperson博客 -
zld406504302:
aaaaaaaaaaaa
java小生转站threeperson博客 -
乌发舞天:
UEditor 实例 -
van_2013:
请问这是订阅模式的配置吗?
SPRING JMS 整合ACTIVEMQ
2012-5-28 18:17:50 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Program Files\Java\jdk1.5.0_17\bin;.;C:\WINDOWS\system32;C:\WINDOWS;D:\Program Files\Java\jdk1.5.0_17\jre\bin;C:/Program Files/Java/jre6/bin/client;C:/Program Files/Java/jre6/bin;C:/Program Files/Java/jre6/lib/i386;C:\windows\system32\;D:\tools\android-sdk_r16-windows\android-sdk-windows\tools;D:\tools\jprofiler_windows_5_1_\jprofiler5\bin\windows;F:\软件\eclipse-SDK-3.7.1-win32\eclipse;
2012-5-28 18:17:50 org.apache.coyote.http11.Http11BaseProtocol init
信息: Initializing Coyote HTTP/1.1 on http-8088
2012-5-28 18:17:50 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 672 ms
2012-5-28 18:17:50 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2012-5-28 18:17:50 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/5.5.28
2012-5-28 18:17:50 org.apache.catalina.core.StandardHost start
信息: XML validation disabled
UTF-8
2012-5-28 18:17:50 org.apache.catalina.startup.HostConfig deployWAR
信息: Deploying web application archive axis2.war
[2012-05-28 18:17:51,339][INFO ]<main>(ApplicationContext.java:653) - Initializing Spring root WebApplicationContext
[2012-05-28 18:17:51,339][INFO ]<main>(ContextLoader.java:189) - Root WebApplicationContext: initialization started
[2012-05-28 18:17:51,417][INFO ]<main>(AbstractApplicationContext.java:400) - Refreshing org.springframework.web.context.support.XmlWebApplicationContext@1f2be27: display name [Root WebApplicationContext]; startup date [Mon May 28 18:17:51 CST 2012]; root of context hierarchy
[2012-05-28 18:17:51,589][INFO ]<main>(XmlBeanDefinitionReader.java:323) - Loading XML bean definitions from file [D:\tomcat\webapps\axis2\WEB-INF\classes\application-aop.xml]
[2012-05-28 18:17:52,824][INFO ]<main>(XmlBeanDefinitionReader.java:323) - Loading XML bean definitions from file [D:\tomcat\webapps\axis2\WEB-INF\classes\application-dao.xml]
[2012-05-28 18:17:53,027][INFO ]<main>(XmlBeanDefinitionReader.java:323) - Loading XML bean definitions from file [D:\tomcat\webapps\axis2\WEB-INF\classes\application-manager.xml]
[2012-05-28 18:17:53,136][INFO ]<main>(AbstractApplicationContext.java:415) - Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@1f2be27]: org.springframework.beans.factory.support.DefaultListableBeanFactory@e77781
[2012-05-28 18:17:53,386][INFO ]<main>(PropertiesLoaderSupport.java:178) - Loading properties file from class path resource [jdbc.properties]
[2012-05-28 18:17:53,558][INFO ]<main>(DefaultListableBeanFactory.java:414) - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@e77781: defining beans [org.springframework.aop.config.internalAutoProxyCreator,aspectBean,org.springframework.aop.aspectj.AspectJPointcutAdvisor#0,org.springframework.aop.aspectj.AspectJPointcutAdvisor#1,org.springframework.aop.aspectj.AspectJPointcutAdvisor#2,org.springframework.aop.aspectj.AspectJPointcutAdvisor#3,businessService,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,dataSource,SayHelloDao,applicationContext,transactionManager,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,threadPool,collectSalesOrderExecutor,springScheduleExecutorTask,springScheduledExecutorFactoryBean,SayHelloManager]; root of factory hierarchy
[2012-05-28 18:17:54,402][INFO ]<main>(ThreadPoolTaskExecutor.java:213) - Initializing ThreadPoolExecutor 'threadPool'
[2012-05-28 18:17:54,949][INFO ]<main>(ScheduledExecutorFactoryBean.java:170) - Initializing ScheduledExecutorService 'springScheduledExecutorFactoryBean'
[2012-05-28 18:17:55,058][INFO ]<main>(ContextLoader.java:209) - Root WebApplicationContext: initialization completed in 3719 ms
[2012-05-28 18:17:56,058][INFO ]<main>(ModuleDeployer.java:75) - Deploying module: addressing - file:/D:/tomcat/webapps/axis2/WEB-INF/modules/addressing-1.4.1.mar
[2012-05-28 18:17:56,089][INFO ]<main>(ModuleDeployer.java:75) - Deploying module: addressing - file:/D:/tomcat/webapps/axis2/WEB-INF/modules/addressing-1.5.5.mar
[2012-05-28 18:17:56,105][INFO ]<main>(ModuleDeployer.java:75) - Deploying module: jaxws - file:/D:/tomcat/webapps/axis2/WEB-INF/modules/axis2-jaxws-mar-1.5.5.mar
[2012-05-28 18:17:56,120][INFO ]<main>(ModuleDeployer.java:75) - Deploying module: script-1.41 - file:/D:/tomcat/webapps/axis2/WEB-INF/modules/axis2-scripting-1.41.mar
[2012-05-28 18:17:56,152][INFO ]<main>(ModuleDeployer.java:75) - Deploying module: metadataExchange-1.41 - file:/D:/tomcat/webapps/axis2/WEB-INF/modules/mex-1.41.mar
[2012-05-28 18:17:56,245][INFO ]<main>(ModuleDeployer.java:75) - Deploying module: metadataExchange - file:/D:/tomcat/webapps/axis2/WEB-INF/modules/mex-1.5.5.mar
[2012-05-28 18:17:56,261][INFO ]<main>(ModuleDeployer.java:75) - Deploying module: mtompolicy - file:/D:/tomcat/webapps/axis2/WEB-INF/modules/mtompolicy-1.5.5.mar
[2012-05-28 18:17:56,277][INFO ]<main>(ModuleDeployer.java:75) - Deploying module: ping-1.41 - file:/D:/tomcat/webapps/axis2/WEB-INF/modules/ping-1.41.mar
[2012-05-28 18:17:56,292][INFO ]<main>(ModuleDeployer.java:75) - Deploying module: ping - file:/D:/tomcat/webapps/axis2/WEB-INF/modules/ping-1.5.5.mar
[2012-05-28 18:17:56,308][INFO ]<main>(ModuleDeployer.java:75) - Deploying module: script - file:/D:/tomcat/webapps/axis2/WEB-INF/modules/scripting-1.5.5.mar
[2012-05-28 18:17:56,339][INFO ]<main>(ModuleDeployer.java:75) - Deploying module: soapmonitor-1.41 - file:/D:/tomcat/webapps/axis2/WEB-INF/modules/soapmonitor-1.41.mar
[2012-05-28 18:17:56,355][INFO ]<main>(ModuleDeployer.java:75) - Deploying module: soapmonitor - file:/D:/tomcat/webapps/axis2/WEB-INF/modules/soapmonitor-1.5.5.mar
org.apache.axis2.deployment.DeploymentException: The following error occurred during schema generation: Unable to load bytecode for class cn.com.ld.manager.impl.SayHelloManagerImpl$$EnhancerByCGLIB$$45ddd918
at org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:151)
at org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:81)
at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:597)
at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:330)
at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:227)
at org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:131)
at org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:284)
at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:82)
at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:516)
at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:436)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3996)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4266)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:831)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:720)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1150)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:448)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Caused by: org.apache.axis2.deployment.DeploymentException: The following error occurred during schema generation: Unable to load bytecode for class cn.com.ld.manager.impl.SayHelloManagerImpl$$EnhancerByCGLIB$$45ddd918
at org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:106)
at org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:110)
at org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:144)
... 37 more
Caused by: org.apache.axis2.deployment.DeploymentException: The following error occurred during schema generation: Unable to load bytecode for class cn.com.ld.manager.impl.SayHelloManagerImpl$$EnhancerByCGLIB$$45ddd918
at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:431)
at org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:101)
... 39 more
Caused by: org.apache.axis2.deployment.DeploymentException: The following error occurred during schema generation: Unable to load bytecode for class cn.com.ld.manager.impl.SayHelloManagerImpl$$EnhancerByCGLIB$$45ddd918
at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:394)
... 40 more
Caused by: java.io.IOException: Unable to load bytecode for class cn.com.ld.manager.impl.SayHelloManagerImpl$$EnhancerByCGLIB$$45ddd918
at org.apache.axis2.description.java2wsdl.bytecode.ClassReader.getBytes(ClassReader.java:84)
at org.apache.axis2.description.java2wsdl.bytecode.ParamReader.<init>(ParamReader.java:57)
at org.apache.axis2.description.java2wsdl.bytecode.ChainedParamReader.<init>(ChainedParamReader.java:52)
at org.apache.axis2.description.java2wsdl.bytecode.MethodTable.<init>(MethodTable.java:31)
at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.<init>(DefaultSchemaGenerator.java:158)
at org.apache.axis2.deployment.util.Utils.fillAxisService(Utils.java:524)
at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:386)
... 40 more
[2012-05-28 18:17:56,574][ERROR]<main>(ServiceDeployer.java:96) - The meta-info.aar service, which is not valid, caused The following error occurred during schema generation: Unable to load bytecode for class cn.com.ld.manager.impl.SayHelloManagerImpl$$EnhancerByCGLIB$$45ddd918
org.apache.axis2.deployment.DeploymentException: The following error occurred during schema generation: Unable to load bytecode for class cn.com.ld.manager.impl.SayHelloManagerImpl$$EnhancerByCGLIB$$45ddd918
at org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:151)
at org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:81)
at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:597)
at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:330)
at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:227)
at org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:131)
at org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:284)
at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:82)
at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:516)
at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:436)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3996)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4266)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:831)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:720)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1150)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:448)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Caused by: org.apache.axis2.deployment.DeploymentException: The following error occurred during schema generation: Unable to load bytecode for class cn.com.ld.manager.impl.SayHelloManagerImpl$$EnhancerByCGLIB$$45ddd918
at org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:106)
at org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:110)
at org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:144)
... 37 more
Caused by: org.apache.axis2.deployment.DeploymentException: The following error occurred during schema generation: Unable to load bytecode for class cn.com.ld.manager.impl.SayHelloManagerImpl$$EnhancerByCGLIB$$45ddd918
at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:431)
at org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:101)
... 39 more
Caused by: org.apache.axis2.deployment.DeploymentException: The following error occurred during schema generation: Unable to load bytecode for class cn.com.ld.manager.impl.SayHelloManagerImpl$$EnhancerByCGLIB$$45ddd918
at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:394)
... 40 more
Caused by: java.io.IOException: Unable to load bytecode for class cn.com.ld.manager.impl.SayHelloManagerImpl$$EnhancerByCGLIB$$45ddd918
at org.apache.axis2.description.java2wsdl.bytecode.ClassReader.getBytes(ClassReader.java:84)
at org.apache.axis2.description.java2wsdl.bytecode.ParamReader.<init>(ParamReader.java:57)
at org.apache.axis2.description.java2wsdl.bytecode.ChainedParamReader.<init>(ChainedParamReader.java:52)
at org.apache.axis2.description.java2wsdl.bytecode.MethodTable.<init>(MethodTable.java:31)
at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.<init>(DefaultSchemaGenerator.java:158)
at org.apache.axis2.deployment.util.Utils.fillAxisService(Utils.java:524)
at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:386)
... 40 more
[2012-05-28 18:17:56,574][INFO ]<main>(DeploymentEngine.java:600) - org.apache.axis2.deployment.DeploymentException: The following error occurred during schema generation: Unable to load bytecode for class cn.com.ld.manager.impl.SayHelloManagerImpl$$EnhancerByCGLIB$$45ddd918
[2012-05-28 18:17:56,761][INFO ]<main>(ServiceDeployer.java:91) - Deploying Web service: version-1.5.5.aar - file:/D:/tomcat/webapps/axis2/WEB-INF/services/version-1.5.5.aar
2012-5-28 18:17:56 org.apache.catalina.core.ApplicationContext log
信息: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
2012-5-28 18:17:57 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2012-5-28 18:17:57 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2012-5-28 18:17:57 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2012-5-28 18:17:57 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2012-5-28 18:17:57 org.apache.coyote.http11.Http11BaseProtocol start
信息: Starting Coyote HTTP/1.1 on http-8088
2012-5-28 18:17:57 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2012-5-28 18:17:57 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/31 config=null
2012-5-28 18:17:57 org.apache.catalina.storeconfig.StoreLoader load
信息: Find registry server-registry.xml at classpath resource
2012-5-28 18:17:57 org.apache.catalina.startup.Catalina start
信息: Server startup in 7625 ms
applicationContext-service.xml
<bean id="SayHelloManager" class="cn.com.ld.manager.impl.SayHelloManagerImpl">
<property name="sayHelloDao" ref="SayHelloDao"/>
</bean>
applicationContext-dao.xml
<bean id="SayHelloDao" class="cn.com.ld.dao.impl.SayHelloDaoImpl"/>
tomcat\webapps\axis2\WEB-INF\lib已经加入 jar包
asm-2.2.3.jar
asm-commons-2.2.3.jar
asm-util-2.2.3.jar
aspectjrt-1.5.2.jar
aspectjweaver.jar
c3p0-0.9.0.4.jar
c3p0-0.9.1.jar
cglib-nodep-2.1_3.jar
cglib.jar
commons-logging.jar
log4j-1.2.8.jar
spring-context-2.5.jar
spring-context.jar
spring-jdbc-1.2.1.jar
spring.jar
发布服务中代码
@Autowired
private SayHelloDao sayHelloDao;
@Transactional(propagation = Propagation.REQUIRED, timeout = 10)
public void sayHello() {
System.out.println("-----------------");
sayHelloDao.sayHello();
}
Transactional 注解不支持
@Autowired
private SayHelloDao sayHelloDao;
//@Transactional(propagation = Propagation.REQUIRED, timeout = 10)
public void sayHello() {
System.out.println("-----------------");
sayHelloDao.sayHello();
}
当然spring-aop 也无法与集成
评论
用RowMapper 实现类 BeanPropertyRowMapper 会抛出类型无法转换异常,
org.springframework.jdbc.support.JdbcUtils.lookupColumnName (Ljava/sql/ResultSetMetaData;I)Ljava/lang/String;
可以自定义实现类
public class SpAreaRowMapper implements RowMapper {
public Object mapRow(ResultSet resultset, int i) throws SQLException {
SpArea spArea = new SpArea();
spArea.setId(resultset.getInt(1));
spArea.setAreaCode(resultset.getString(2));
spArea.setAreaName(resultset.getString(3));
return spArea;
}
}
改成如下方式 就可以映射成javabean list
List<SpArea> spAreaList = (List<SpArea>) template.query(sql, new SpAreaRowMapper());
axis2 对于在services.xml 中发布的spring bean ,不支持bean中Java的动态代理 或是CGLIB代理技术,所以直接将使用java动态代理或是cglib代理的springbean 发布,就会抛出异常。
目前,小生仅是通过在spring 使用代理的bean外层加了一层,用其发布
发表评论
-
spring jdbcTemplate 批量插入返回自增id
2016-03-22 00:24 1999项目中一个业务场景包含两个相互依赖的批量插入,第二次批量插入 ... -
mvn assembly package jar 无法运行
2015-04-27 20:04 774项目中要跑了一个jar工程,每天做一次数据结 ... -
SPRING INTERCEPTOR 监控 JMS 发送接受性能
2013-07-18 17:17 1587将spring aspectj 和 jms 整合了一下, ... -
SPRING JMS 发送 接受 性能监控
2013-07-18 17:13 0将spring aspectj 和 jms 整合了一下, ... -
SPRING JMS 整合ACTIVEMQ
2013-07-18 16:47 13079近日用spring3.2 jms 与activemq5.8 ... -
SLF4J jar包冲突的迷惑
2013-07-14 12:42 1486Running com.cn.ld.modules.jms.J ... -
SLF4J jar包冲突的迷惑
2013-07-14 12:42 0Running com.cn.ld.modules.jms.J ... -
tomcat 集群下ehcache 整合spring cache-annotation
2013-07-02 12:44 6192系统环境:win7 部署环境:apache2.2 tomcat ... -
springmvc 整合apache tiles
2013-06-15 23:36 9096最近把springmvc3.2.0 和 apache t ... -
springmvc3.2 demo
2013-06-15 23:28 107401:mvn 构建一个web工程 [img] [/img] r ... -
spring jms 异步接受消息
2013-05-22 21:46 24spring jms 的监听器是可配置的,而且通常会交 ... -
Spring Multipart上传
2013-03-18 11:53 11531:在application.xml中初始化CommonsM ... -
@Value 注解
2013-03-13 15:43 1321:在application。xml文件中配置属性文件加载be ... -
spring 事务隔离 与 传播
2012-07-15 21:18 9981) PROPAGATION_REQUIRED ,默认的spr ... -
spring缓存 ehcache
2012-03-07 10:49 1612ehcache 与spring集成实现简单 ... -
ssh+birt
2011-12-02 12:00 3309新公司工作一年多,接触最多的就是统计,当然用于统计数据展示的b ... -
java,spring,aspectj
2011-11-16 19:39 1190最近要项目有个新需求,统计查询的接口要进行 ...
相关推荐
配置Axis2与SSH集成的具体步骤如下: 1. **安装和配置Axis2**:下载并解压Axis2的最新版本,设置AXIS2_HOME环境变量,将bin目录添加到PATH环境变量中。 2. **创建Web服务**:编写Java服务接口和实现,使用Axis2的...
JFile 是 JActor 的文件持久化组件,以及一个高吞吐量的可靠事务日志组件。 Google地图JSP标签库 利用Google:maps JSP标签库就能够在你的Web站点上实现GoogleMaps的所有功能而且不需要javascript或AJAX编程。它还...
JFile 是 JActor 的文件持久化组件,以及一个高吞吐量的可靠事务日志组件。 Google地图JSP标签库 利用Google:maps JSP标签库就能够在你的Web站点上实现GoogleMaps的所有功能而且不需要javascript或AJAX编程。它还...
JFile 是 JActor 的文件持久化组件,以及一个高吞吐量的可靠事务日志组件。 Google地图JSP标签库 利用Google:maps JSP标签库就能够在你的Web站点上实现GoogleMaps的所有功能而且不需要javascript或AJAX编程。它还...
JFile 是 JActor 的文件持久化组件,以及一个高吞吐量的可靠事务日志组件。 Google地图JSP标签库 利用Google:maps JSP标签库就能够在你的Web站点上实现GoogleMaps的所有功能而且不需要javascript或AJAX编程。它还...
JFile 是 JActor 的文件持久化组件,以及一个高吞吐量的可靠事务日志组件。 Google地图JSP标签库 利用Google:maps JSP标签库就能够在你的Web站点上实现GoogleMaps的所有功能而且不需要javascript或AJAX编程。它还...
JFile 是 JActor 的文件持久化组件,以及一个高吞吐量的可靠事务日志组件。 Google地图JSP标签库 利用Google:maps JSP标签库就能够在你的Web站点上实现GoogleMaps的所有功能而且不需要javascript或AJAX编程。它还...
JFile 是 JActor 的文件持久化组件,以及一个高吞吐量的可靠事务日志组件。 Google地图JSP标签库 利用Google:maps JSP标签库就能够在你的Web站点上实现GoogleMaps的所有功能而且不需要javascript或AJAX编程。它还...
JFile 是 JActor 的文件持久化组件,以及一个高吞吐量的可靠事务日志组件。 Google地图JSP标签库 利用Google:maps JSP标签库就能够在你的Web站点上实现GoogleMaps的所有功能而且不需要javascript或AJAX编程。它还...
JFile 是 JActor 的文件持久化组件,以及一个高吞吐量的可靠事务日志组件。 Google地图JSP标签库 利用Google:maps JSP标签库就能够在你的Web站点上实现GoogleMaps的所有功能而且不需要javascript或AJAX编程。它还...
JFile 是 JActor 的文件持久化组件,以及一个高吞吐量的可靠事务日志组件。 Google地图JSP标签库 利用Google:maps JSP标签库就能够在你的Web站点上实现GoogleMaps的所有功能而且不需要javascript或AJAX编程。它还...
JFile 是 JActor 的文件持久化组件,以及一个高吞吐量的可靠事务日志组件。 Google地图JSP标签库 利用Google:maps JSP标签库就能够在你的Web站点上实现GoogleMaps的所有功能而且不需要javascript或AJAX编程。它还...
JFile 是 JActor 的文件持久化组件,以及一个高吞吐量的可靠事务日志组件。 Google地图JSP标签库 利用Google:maps JSP标签库就能够在你的Web站点上实现GoogleMaps的所有功能而且不需要javascript或AJAX编程。它还...
JFile 是 JActor 的文件持久化组件,以及一个高吞吐量的可靠事务日志组件。 Google地图JSP标签库 利用Google:maps JSP标签库就能够在你的Web站点上实现GoogleMaps的所有功能而且不需要javascript或AJAX编程。它还...
Tcp服务端与客户端的JAVA实例源代码 2个目标文件 摘要:Java源码,文件操作,TCP,服务器 Tcp服务端与客户端的JAVA实例源代码,一个简单的Java TCP服务器端程序,别外还有一个客户端的程序,两者互相配合可以开发出超多...