Revision 3780
Added by daigle over 16 years ago
session_vars.jsp | ||
---|---|---|
54 | 54 |
Metacat metacat = null; |
55 | 55 |
HttpSession rfSession = null; |
56 | 56 |
boolean isLoggedIn = false; |
57 |
String relativeRoot = "."; |
|
58 | 57 |
|
59 | 58 |
////////////////////////////////////////////////////////////////////////////// |
60 | 59 |
|
... | ... | |
122 | 121 |
|
123 | 122 |
} else { // ...or create it if it doesn't already exist |
124 | 123 |
try { |
125 |
metacat = MetacatFactory.createMetacatConnection(METACAT_URL);
|
|
124 |
metacat = MetacatFactory.createMetacatConnection(SERVLET_URL);
|
|
126 | 125 |
} catch (MetacatInaccessibleException mie) { |
127 |
throw new ServletException("Metacat connection to "+METACAT_URL
|
|
126 |
throw new ServletException("Metacat connection to "+SERVLET_URL
|
|
128 | 127 |
+" failed." + mie.getMessage()); |
129 | 128 |
} |
130 | 129 |
if (metacat==null) { |
131 |
throw new ServletException("Metacat connection to "+METACAT_URL
|
|
130 |
throw new ServletException("Metacat connection to "+SERVLET_URL
|
|
132 | 131 |
+" failed - Metacat object is NULL!"); |
133 | 132 |
} |
134 | 133 |
rfSession.setAttribute("sess_metacatObj", metacat); |
... | ... | |
185 | 184 |
<tr> |
186 | 185 |
<td colspan="4" align="left" valign="top" class="text_plain" bgcolor="#ffff00"> |
187 | 186 |
<ul> |
188 |
<li>METACAT_URL: <%=METACAT_URL%></li>
|
|
187 |
<li>SERVLET_URL: <%=SERVLET_URL%></li>
|
|
189 | 188 |
<li>rfSession: <%=rfSession%></li> |
190 | 189 |
<li>metacatResponse: <%=metacatResponse%></li> |
191 | 190 |
<li>posted_ldapUserName: <%=posted_ldapUserName%></li> |
Also available in: Unified diff
Changes to remove ANT tokens for the turnkey install project