From 00674cde8e49199792c449c0d167b5e1094ce1f6 Mon Sep 17 00:00:00 2001 From: bindumathi Date: Mon, 9 Nov 2009 06:00:40 +0000 Subject: [PATCH] Checked in the changes for bug 535874. --- .../server-java/Svc/src/com/novell/casa/authtoksvc/Rpc.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CASA-auth-token/server-java/Svc/src/com/novell/casa/authtoksvc/Rpc.java b/CASA-auth-token/server-java/Svc/src/com/novell/casa/authtoksvc/Rpc.java index ddde5fe4..a09ff603 100644 --- a/CASA-auth-token/server-java/Svc/src/com/novell/casa/authtoksvc/Rpc.java +++ b/CASA-auth-token/server-java/Svc/src/com/novell/casa/authtoksvc/Rpc.java @@ -202,7 +202,10 @@ public final class Rpc extends javax.servlet.http.HttpServlet implements javax.s // // First check if it has been specified via a system property ServletContext context = config.getServletContext(); - m_appFolderPath = context.getRealPath(File.separator); + // m_appFolderPath = context.getRealPath(File.separator); + m_appFolderPath = context.getRealPath("/"); + if(!m_appFolderPath.endsWith(File.separator)) m_appFolderPath = m_appFolderPath + File.separator; + m_configFolderPath = System.getProperty("com.novell.casa.authtoksvc.config"); if (m_configFolderPath == null) {