Revision 4351
Added by daigle over 16 years ago
lib/style/skins/sbclter/templates/jsp/include_session_vars.jsp | ||
---|---|---|
121 | 121 |
|
122 | 122 |
} else { // ...or create it if it doesn't already exist |
123 | 123 |
try { |
124 |
metacat = MetacatFactory.createMetacatConnection(METACAT_URL);
|
|
124 |
metacat = MetacatFactory.createMetacatConnection(SERVLET_URL);
|
|
125 | 125 |
} catch (MetacatInaccessibleException mie) { |
126 |
throw new ServletException("Metacat connection to "+METACAT_URL
|
|
126 |
throw new ServletException("Metacat connection to "+SERVLET_URL
|
|
127 | 127 |
+" failed." + mie.getMessage()); |
128 | 128 |
} |
129 | 129 |
if (metacat==null) { |
130 |
throw new ServletException("Metacat connection to "+METACAT_URL
|
|
130 |
throw new ServletException("Metacat connection to "+SERVLET_URL
|
|
131 | 131 |
+" failed - Metacat object is NULL!"); |
132 | 132 |
} |
133 | 133 |
rfSession.setAttribute("sess_metacatObj", metacat); |
... | ... | |
182 | 182 |
%> |
183 | 183 |
<div id="debug"> |
184 | 184 |
<ul> |
185 |
<li>METACAT_URL: <%=METACAT_URL%></li>
|
|
185 |
<li>SERVLET_URL: <%=SERVLET_URL%></li>
|
|
186 | 186 |
<li>rfSession: <%=rfSession%></li> |
187 | 187 |
<li>metacatResponse: <%=metacatResponse%></li> |
188 | 188 |
<li>posted_ldapUserName: <%=posted_ldapUserName%></li> |
Also available in: Unified diff
Change METACAT_URL to SERVLET_URL