Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem deploying extenal url in Jboss 5.1.0

 
Ryan Raina
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody

I am trying to deploy a web application on jboss 5.1.0 app server....I am editing profile.xml of jboss because I have external url which i want to be deployed in jboss
Here is my edited section of profile.xml

<bean name="BootstrapProfileFactory" class="org.jboss.system.server.profileservice.repository.StaticProfileFactory">
<property name="bindingsURI">${jboss.server.home.url}conf/bindingservice.beans</property>
<property name="bootstrapURI">${jboss.server.home.url}conf/jboss-service.xml</property>
<property name="deployersURI">${jboss.server.home.url}deployers</property>
<property name="applicationURIs">
<list elementClass="java.net.URI">
<value>${jboss.server.home.url}deploy</value>
<!-- Add your own deploy folder
<value>file:/C:/MyFolder/deployments/xyz.war</value>//////////////////////////////my added url for deployment//////////////////////////////////////////////////
</list>
</property>
<property name="attachmentStoreRoot">${jboss.server.data.dir}/attachments</property>
<property name="profileFactory"><inject bean="ProfileFactory" /></property>
</bean>

After running the application i am getting this error

java.lang.IllegalArgumentException: Document base C:\MyFolder/deployments\xyz\WEB-INF\web.xml does not exist or is not a readable directory

Any ideas guyzzzzzzzzzzz.....Thanks in advance
 
Tina Ma
Ranch Hand
Posts: 198
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Refer to this link: http://community.jboss.org/wiki/HowToDeployMyApplicationInAnExternalDirectoryInJBoss-5
You are not putting the deploy-url correctly.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic