Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on 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.



    Add a 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).



Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.