on 05-09-2006 1:29 PM
I have a general question. On Apache Tomcat, we use to deploy our application as two separate pieces, frontend and backend, to different virtual hosts, using the same context path, usually '/web'. So we end up with urls like:
admin.mysite.com/web/.....
This works well on Tomcat. Is this possible on SAP Web AS?
At the moment I get the feeling that this is not possible. When I try to deploy my backend.ear and frontend.ear using the SDM, I get the following exception:
Starting Deployment of nl.gx.webmanager.frontend
Aborted: development component
'nl.gx.webmanager.frontend'/'gx.nl'/'www.scout'/'2006.05.01.13.45.43':
Caught exception during application deployment from SAP
J2EE Engine's deploy service:
java.rmi.RemoteException: Cannot deploy application
gx.nl/nl.gx.webmanager.frontend.. Reason: Application
alias [web] for application
[gx.nl/nl.gx.webmanager.frontend] already exists in the
HTTP Provider Service. The application that holds this
alias is [gx.nl/nl.gx.webmanager.backend].....
I am connecting with SDM to myhost. I have a hosts file with entries for www.myhost and admin.myhost. I have the default virtual host (named 'default') and a virtual host named 'www.myhost' and one named 'admin.myhost'.
If I use the Netweaver Administrator to manage the virtual hosts, I see all apps under all hosts. If I create a new host it immediately has all apps. This leads me to believe that it is not possible to deploy an app to a single host...
I would be very gratefull if anyone could shed some light on this...
Kind regards,
-Stijn
Hi
Yes you right we cannot give same context name for 2 different virtual host in SAP WEB AS . Both the ear need to have different Context names . SAP web AS does not support having same context names
Hope this helps, please do not forget to reward points if helpful .
regards
rajeshkr
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.