[jboss-user] [Snowdrop] - Snowdrop 1.1 error

Joe Thomas do-not-reply at jboss.com
Thu Apr 14 16:42:35 EDT 2011


Joe Thomas [http://community.jboss.org/people/jpalakunnel] created the discussion

"Snowdrop 1.1 error"

To view the discussion, visit: http://community.jboss.org/message/600172#600172

--------------------------------------------------------------
We're trying out Spring with our JBoss5.0 EAP. My understaning is that by using snowdrop we get better intergration with JBoss and Spring. I downloaded the snowdrop 1.1 distro and unzipped itnto my /{config}/deployers directory:
 http://community.jboss.org/servlet/JiveServlet/showImage/2-600172-16159/snowdrop.png  http://community.jboss.org/servlet/JiveServlet/downloadImage/2-600172-16159/450-280/snowdrop.png 

I also have a 3rd party poral .war that uses spring internally, I noticed the following exception when starting the server:
Deployment "vfsfile:/C:/jboss-eap-5.0/jboss-as/server/production/deploy/liferay.war/" is in error due to the following reason(s): java.lang.IllegalArgumentException: Multiple matching files not allowed: [ZipEntryHandler at 6825008[path=liferay.war/WEB-INF/lib/portal-impl.jar/META-INF/base-spring.xml context=file:/C:/jboss-eap-5.0/jboss-as/server/production/deploy/ real=file:/C:/jboss-eap-5.0/jboss-as/server/production/deploy/liferay.war/WEB-INF/lib/portal-impl.jar/META-INF/base-spring.xml], ZipEntryHandler at 18873538[path=liferay.war/WEB-INF/lib/portal-impl.jar/META-INF/counter-spring.xml....etc

however, when I add the following stanza to spring-deployers-jboss-beans.xml, the exception is gone:

   <bean name="SpringParserDeployer" class="org.jboss.spring.deployers.SpringParserDeployer">
*<property name="allowMultipleFiles">true</property>*
   </bean>

is this how we go 2 bat if we have multiple spring-based application on Jboss5.0?
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/600172#600172]

Start a new discussion in Snowdrop at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2082]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110414/de4cb10c/attachment.html 


More information about the jboss-user mailing list