[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: White spaces are required between publicId and systemId.
nesyarug
do-not-reply at jboss.com
Mon Mar 16 12:25:49 EDT 2009
And here is applicationContext.xml:
<?xml version="1.0" encoding="UTF-8"?>
| <beans xmlns="http://www.springframework.org/schema/beans"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xmlns:aop="http://www.springframework.org/schema/aop"
| xmlns:tx="http://www.springframework.org/schema/tx"
| xsi:schemaLocation="
| http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
| http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
| http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd">
| <bean id="profiler" class="x.aop.SimpleProfiler">
| <!-- execute before the transactional advice (hence the lower order number) -->
| <property name="order" value="1" />
| </bean>
| <aop:config>
| <!-- this advice will execute around the transactional advice -->
| <aop:aspect id="profilingAspect" ref="profiler">
| <aop:pointcut id="serviceMethodWithReturnValue" expression="execution(!void x.list..*Service.*(..))" />
| <aop:around method="profile" pointcut-ref="serviceMethodWithReturnValue" />
| </aop:aspect>
| </aop:config>
| <bean id="mailSender" class="org.springframework.mail.javamail.JavaMailSenderImpl">
| <property name="host" value="smtp.x" />
| </bean>
| <bean id="repositoryStrategy" class="x.repository.strategy.HibernateRepositoryStrategy">
| <property name="sessionFactory" ref="sessionFactory" />
| </bean>
| <bean id="userRepository" class="x.user.Repository">
| <property name="strategy" ref="repositoryStrategy" />
| </bean>
| <!-- Exception handling -->
| <bean id="exceptionResolver" class="org.springframework.web.servlet.handler.SimpleMappingExceptionResolver">
| <property name="defaultErrorView" value="error/default" />
| <property name="exceptionMappings">
| <props>
| <prop key="java.lang.NullPointerException">error/default</prop>
| <prop key="javax.servlet.jsp.JspException">error/default</prop>
| </props>
| </property>
| </bean>
| <!-- Quartz -->
| <bean id="scheduler" class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
| <property name="jobFactory">
| <ref local="jobFactory" />
| </property>
| <property name="autoStartup">
| <value>true</value>
| </property>
| <property name="quartzProperties">
| <props>
| <prop key="org.quartz.scheduler.instanceName">stmScheduler</prop>
| <prop key="org.quartz.scheduler.rmi.export">false</prop>
| <prop key="org.quartz.scheduler.rmi.proxy">false</prop>
| <prop key="org.quartz.scheduler.wrapJobExecutionInUserTransaction">false</prop>
| <prop key="org.quartz.threadPool.class">org.quartz.simpl.SimpleThreadPool</prop>
| <prop key="org.quartz.threadPool.threadCount">1</prop>
| <prop key="org.quartz.threadPool.threadPriority">5</prop>
| <prop key="org.quartz.threadPool.threadsInheritContextClassLoaderOfInitializingThread">true</prop>
| <prop key="org.quartz.jobStore.misfireThreshold">6000</prop>
| <prop key="org.quartz.jobStore.class">org.quartz.simpl.RAMJobStore</prop>
| </props>
| </property>
| <property name="triggers">
| <list>
| </list>
| </property>
| </bean>
| <bean id="jobFactory" class="x.scheduler.quartz.JobFactory" />
| </beans>
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4218381#4218381
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4218381
More information about the jboss-user
mailing list