on 04-26-2007 9:52 AM
Hello
I ported a servlet application from Tomcat to SAP WAS 6.40. The server.xml file defines a context_path, is there an equivalent for this in SAP ?
Any pointers will be appreciated
Johan
Hello Johan,
the context-path in server.xml is used to specify which apps should be published besides the ones underneath the folder "TOMCAT_HOME\webapps". You specifiy a context name/path and a docbase/folder for it.
The SAP WAS does not have such a concept, as its deployment is not file directory based but database-based: You deploy your app, it is being put into the WAS database and from there it is synchonised to the different server nodes of the potential cluster. There is no automatic publishing merely by putting apps into specific folders. The database approach guarantees consistency of the file system across a cluster. It is more a large scale enterprise approach you cannot circumvent for development purposes.
Therefore, you can simply forget about the context path.
Hope that helps.
Best,
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.