3.2. Changing the context path
Now you can rebuild JBoss portal and redeploy it for the context path changes to take effect
You need to rebuild so...
But I couldn't find such: local.properties . and what's the $PORTAL_HOME?
$PORTAL_HOME is directory with portal sources.
You will find local.properties-example in $PORTAL_HOME/build/etc
so just copy/rename it to
then edit and rebuild
So I have to deploy the portal from the 'source' as the document in 2.3 :
2.3. Deploying JBoss Portal
2.3.2. From the sources
I tried to build the 'jboss-portal.sar' as in the document:
JBOSS_HOME = C:\jboss-4.0.3SP1
then in the build directory, I typed: build (it's XP box)
It said the 'build success', but I didn't find the 'jboss-portal.sar' is in the deploy directory: C:\jboss-4.0.3SP1\server\default\deploy.
So you're almost there ;)
In docs you have:
First, build the sources and deploy them, go to jboss-portal-2.0/build and type sh build.sh deploy, you should read BUILD SUCCESSFUL at the end of the operation. This operation should have copired the jboss-portal.sar to your $JBOSS_HOME/server/default/deploy directory.
Make sure that JBOSS_HOME is still defined in the environment or it will not work.
In xp in build directory type:
"build deploy" and with JBOSS_HOME set properly you will have portal sar copied.
Read The Manual.........