Hi,
I got a webapp liferay portal 4.2.2 which uses spring. when i try to deploy the webapp i get the following error:
org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011666: Could not parse file ../mail-ejb.jar/META-INF/mail-spring-jms.xml
Caused by: com.ctc.wstx.exc.WstxParsingException: Received event DTD, instead of START_ELEMENT or END_ELEMENT.
at [row,col {unknown-source}]: [2,103]
it seems that the xml parser is not able to parse the doctype. (looks very strange)
i tried to remove the doctype and insert xmlns to the beans tag. but that doesnt work either.
Can someone provide a solution for this problem?
Thx in advance and best regards,
wildflynoob
ny jms.xml file :
<?xml version="1.0"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<beans>
<bean id="com.liferay.mail.service.jms.MailQCF" class="org.apache.activemq.pool.PooledConnectionFactory">
<property name="connectionFactory">
<bean class="org.apache.activemq.ActiveMQConnectionFactory">
<property name="brokerURL">
<value>vm://localhost?broker.persistent=false</value>
</property>
</bean>
</property>
</bean>
<bean name="com.liferay.mail.service.jms.MailQueue" class="org.apache.activemq.command.ActiveMQQueue" autowire="constructor">
<constructor-arg>
<value>com.liferay.mail.service.jms.MailQueue</value>
</constructor-arg>
</bean>
</beans>