*
The moose likes JBoss/WildFly and the fly likes Problem deploying extenal url in Jboss 5.1.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Problem deploying extenal url in Jboss 5.1.0" Watch "Problem deploying extenal url in Jboss 5.1.0" New topic
Author

Problem deploying extenal url in Jboss 5.1.0

Ryan Raina
Greenhorn

Joined: Jun 16, 2010
Posts: 28
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

Joined: Nov 29, 2007
Posts: 198
Refer to this link: http://community.jboss.org/wiki/HowToDeployMyApplicationInAnExternalDirectoryInJBoss-5
You are not putting the deploy-url correctly.


Tina
SCJP 1.4, SCWCD 1.4
 
wood burning stoves
 
subject: Problem deploying extenal url in Jboss 5.1.0
 
Similar Threads
Unable to start Jboss 5.1.0 GA
Running JBoss 5.1.0 All Server
Server started with Deployment Errors
JBoss virtual directory in jboss 5.0.1
Error while deplloying the application on JBoss.