Hello!
How i can pin one of my OSGI webapp to virtualhost?
i`m trying to use GF 3.1 trunk.
I`m deploying my bundle to server with command
"./bin/asadmin deploy --force=true --virtualservers cp.bill --type osgi
ControlPanel-0.0.2.jar"
Deploy is ok. Application startup ok and deploys with context root = "/".
In domain.xml i have application declaration
<application
location="${com.sun.aas.instanceRootURI}/applications/ControlPanel-0.0.2/"
name="ControlPanel-0.0.2" object-type="user">
<property name="module-name" value="ControlPanel-0.0.2" />
<property name="defaultAppName" value="ControlPanel-0.0.2" />
<module name="ControlPanel-0.0.2">
<engine sniffer="osgi" />
</module>
</application>
and application mapping
<application-ref ref="ControlPanel-0.0.2" virtual-servers="cp.bill" />
this config is created by asadmin.
also i have virtualhost configured to work with ajp13
<virtual-server id="cp.bill" hosts="cp.bill.nodex.ru"
network-listeners="ajp13" />
When i`m trying to open my app - GF displays to me default page.
When i`m trying to open / by ip (handled my default virtual server)- is
displays to me my app.
--
Pavel Kuzin
NODEX Ltd.
St.Petersburg, Russia
pk_at_nodex.ru