cancel
Showing results for 
Search instead for 
Did you mean: 

Is there an equivalent for Tomcat's server.xml in SAP WAS ?

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hello Markus

Thanks for your answer, it confirms what I already thought, back to the drawing board.

Johan