Skip to Content
author's profile photo
Former Member

Hosts Specific Variables

I have created virtual hosts with the J2ee SAP Administrator. I want to have environment variables at that virtual host level and not across the whole server.

My ultimate goal is to have a development and testing environment on the same server.

http://dev-url/ (root directory /sap/apps/dev)

http://tst-url/ (root directory /sap/apps/tst)

Both of these virtual hosts will be using the same naming for the JDBC Connection and other server specific variables, but when in the dev-url I want it to point to my development resources and similarly for my testing environment.

I understand that I can do this at the application level, but I need it at the host level.

With tomcat, I can create a at the root level for each virtual host. I have not been able to do this with the SAP product.

Any Suggestions?

Nathan Zentner

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Nov 18, 2003 at 03:39 PM

    Hello Nathan,

    I think I have to better understand what you want here before answering:

    "in the dev-url I want it to point to my development resources and similarly for my testing environment"

    What do you mean here with resources? Is it just your application?

    In WebAS the virtual host is behind the HTTP service, while the apps run under the Web Container (in 6.20 the names are different but principle is the same). This will prevent us to use an app with the same name a second time.

    Regards,

    Benny

    Add comment
    10|10000 characters needed characters exceeded

    • Nathan,

      in the full blown system there will be complete Change Management system that does all of this for you. This is included in the Java Development Infrastructure we currently work on. It will be part of 6.40 and delivers much more then just the management of different deployment targets.

      There are a couple of describing articles on SDN.

      keywords for you are : Design Time Repository (DTR), Component Build Service (CBS), Change Management System (CMS).

      Regards,

      Benny