01-26-2008 02:31 AM
01-31-2008 11:33 PM
I'd like to know who out there is really using the virtualization platform to virtual j2EE applications – if so what type of application, and what technology is it built on.
I'd also like to get a discussion going here about best practices when it comes to managing applications inside a web project. Do we have people who would be interested in that?
If you are here are a couple of things you might like to know:
* In order to give the virtualization server access to resources inside the war (when .getRealPath() is called) you will need to have the V: drive mounted. (windows). This applies to spring context files for example.
* ServletContext.getRealPath() returns a path to the staging sandbox – not the sandbox you are working in – watch out for this bug – it will drive you mad unless you catch it early on. either patch the code or use request.getRealPath() instead.
<%=this.getServletContext().getRealPath("/") %><br/>
<%=request.getRealPath("/") %><br/>
v:\simple–admin\VERSION\v-1\DATA\www\avm_webapps\ROOT\
v:\simple–admin\VERSION\v-1\DATA\www\avm_webapps\ROOT\
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.