Hi all, I’m using a JSTL application which pulls
its initial data from OPS, I use <c:import var=”tagXML” context=”/peaUtilities”
url=”/common/get-data-for-hierarchy”/> to get this! However,
when running this through a style sheet on the page I get the following SAX
Exception I decided to dump the output of the import to the page and
found this <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN"> <html> <head> <meta http-equiv="Content-Type"
content="text/html; charset=utf-8"> <link
rel="stylesheet"
href="/ruleHierarchy/config/theme/jscalendar/calendar-blue.css"
type="text/css"><script type="text/javascript"
src="/ruleHierarchy/config/theme/jscalendar/calendar.js"></script><script
type="text/javascript"
src="/ruleHierarchy/config/theme/jscalendar/lang/calendar-en.js"></script><script
type="text/javascript"
src="/ruleHierarchy/config/theme/jscalendar/calendar-setup.js"></script><link
rel="stylesheet" href="/ruleHierarchy/config/theme/xforms.css"
type="text/css"> <link rel="stylesheet"
href="/ruleHierarchy/config/theme/orbeon.css"
type="text/css"><script type="text/javascript"
src="/ruleHierarchy/config/theme/javascript/xforms-style.js"></script><script
type="text/javascript"
src="/ruleHierarchy/ops/javascript/wz_tooltip.js"></script><script
type="text/javascript"
src="/ruleHierarchy/ops/javascript/overlib_mini.js"></script><script
type="text/javascript"
src="/ruleHierarchy/ops/javascript/time-utils.js"></script><script
type="text/javascript"
src="/ruleHierarchy/ops/javascript/sarissa.js"></script><script
type="text/javascript"
src="/ruleHierarchy/ops/javascript/xforms.js"></script><title>HTTP
404 : Page not found</title><script type="text/javascript"
src="/ruleHierarchy/scripts/domUtil.js"></script><script
type="text/javascript"
src="/ruleHierarchy/scripts/sortTable.js"></script><script
type="text/javascript"
src="/ruleHierarchy/scripts/treeTable.js"></script><link
rel="stylesheet" href="/ruleHierarchy/stylesheets/pea.css" type="text/css">
<link rel="stylesheet"
href="/ruleHierarchy/stylesheets/peaUtilities.css"
type="text/css"> <link
href="/ruleHierarchy/stylesheets/corporateIntranet.css"
type="text/css" rel="stylesheet"> </head>
<body> <div class="header"> <div class="headerpadding">
<table id="mainPageTable" cellpadding="0"
cellspacing="0" border="0" width="100%">
<tr id="corporateLogoAndGKNLogoArea"> <td
width="190" align="left"
id="corporateLogoCell"><a target="_blank"
href="http://homedev.teleflex.com/Intranet/TeleflexIncorporated/index.html"><img
id="corporateLogo"
src="/ruleHierarchy/images/intranetcorporatelogo.jpg"
alt="Teleflex Corporate Logo"
border="0"></a></td> <td><img
id="logoGradient"
src="/ruleHierarchy/images/intranetcorporategradient.jpg"
alt="Gradient Image Filler" border="0"></td>
<td id="gknHeaderLogoCell"><img id="logo"
align="right" src="/ruleHierarchy/images/pea-long.gif"
alt=":PEA"></td> </tr> </table> </div>
</div> <form id="xforms-form" class="xforms-form"
action="/ruleHierarchy/xforms-server-submit" method="POST"
onsubmit="return false"><input type="hidden"
name="$static-state"
value="session:1BF2ADEA-BE79-9EEA-BEC2-C32FE78C07DD"><input
type="hidden" name="$dynamic-state"
value="session:81066652-AF66-C754-D103-F62B8B756B77"><input
type="hidden" name="$client-state"
value=""><span
id="xforms-repeat-tree"></span><span
id="xforms-repeat-indexes"></span><span
class="xforms-loading-loading"><img src="/ruleHierarchy/images/loading.gif"
style="float: left"> Loading... </span><span
class="xforms-loading-none"></span><span
class="xforms-loading-error"></span><h1
class="PEAUtilities">Page Not Found</h1> <p> Sorry,
the page you were trying to retrieve does not exist.<br> (<span
id="xforms-element-3" class="xforms-control
xforms-output">http://localhost:8080/ruleHierarchy/jsp/RuleHierarchy.jsp</span>)<br>
This might be because: </p> <ul> <li>You may have typed the
web address incorrectly. Please check the address and spelling ensuring that it
does not contain capital letters or spaces </li> <li>It is possible
that the page you were looking for may have been moved, updated or
deleted.</li> </ul> <p></p> <h3>Debug
Information</h3> <p><b>requested-session-id:
</b><span id="xforms-element-4" class="xforms-control
xforms-output">4938A2C416E076FAAD2BA6AD0D4104A4</span><br><b>request-uri:
</b><span id="xforms-element-5" class="xforms-control
xforms-output">/ruleHierarchy/jsp/RuleHierarchy.jsp</span><br><b>request-url:
</b><span id="xforms-element-6" class="xforms-control
xforms-output">http://localhost:8080/ruleHierarchy/jsp/RuleHierarchy.jsp</span><br><b>servlet-path:
</b><span id="xforms-element-7" class="xforms-control
xforms-output">/jsp/RuleHierarchy.jsp</span><br><b>request-path:
</b><span id="xforms-element-8" class="xforms-control
xforms-output">/jsp/RuleHierarchy.jsp</span><br></p>
</form> <table id="xforms-messages" style="display:
none"> <tr> <td style="padding-left: 1em"><img
src="/ruleHierarchy/images/error-large.gif" alt="Error"></td>
<td style="padding-right: 1em"> <p>Please check form for
invalid values</p> </td> </tr> </table> <hr>
<div class="footer"> <table width="100%">
<tr id="footerRow" class="footer"> <td
class="footerCell" colspan="2"><a href="mailto:[hidden email]?Subject=PEA%20Site%20Question&Body=Please%20enter%20the%20details%20of%20your%20question%20here..."
class="footerMenuLink">Site Problems</a> | <a
href="mailto:[hidden email]?Subject=PEA%20Process%20Question&Body=Please%20enter%20the%20details%20of%20your%20question%20here..."
class="footerMenuLink"> PEA Problems</a></td>
</tr> <tr> <td class="copyright"
colspan="2">2006 Teleflex Incorporated. All rights
reserved</td> </tr> <tr> <td class="copyright"
colspan="2" color="red"><font
color="red"><strong>Development
Version</strong><ul> <li>You are: ()</li>
<li>Default Tamino: </li> <li>Site prefix for mail links:
http://localhost:8888/pea/</li> </ul></font></td>
</tr> </table> </div> </body> </html> It’s my Not Found page except all the URLs have been rewritten to
the context of my current application “ruleHierarchy”, which I’m
guessing is the reason for the Not Found page, because if I type the address
into the browser it works and if I type the full HTTP address into the c:import
it also works! Any ideas why OPS is rewriting the URL like this, or what the
problem is? Is there anyway I can get more information on where the problem
lies? Thanks Ryan Puddephatt Software Engineer TFX Group - IT UK Scotand EH54 7DP (
01506 407 110 7 01506 407 108 -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Sorry the error was org.apache.jasper.JasperException: org.xml.sax.SAXParseException: White spaces are required between publicId and systemId. Ryan
Puddephatt Software Engineer TFX Group - IT UK Scotand EH54 7DP ( 01506 407 110 7 01506 407 108 From: Ryan Puddephatt
[mailto:[hidden email]] Hi all,
I’m using a JSTL application which pulls its initial data from OPS, I use
<c:import var=”tagXML” context=”/peaUtilities”
url=”/common/get-data-for-hierarchy”/> to get this! However,
when running this through a style sheet on the page I get the following SAX Exception I decided to dump the output of the import to the page and
found this <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN"> <html> <head> <meta
http-equiv="Content-Type" content="text/html;
charset=utf-8"> <link rel="stylesheet" href="/ruleHierarchy/config/theme/jscalendar/calendar-blue.css"
type="text/css"><script type="text/javascript"
src="/ruleHierarchy/config/theme/jscalendar/calendar.js"></script><script
type="text/javascript"
src="/ruleHierarchy/config/theme/jscalendar/lang/calendar-en.js"></script><script
type="text/javascript"
src="/ruleHierarchy/config/theme/jscalendar/calendar-setup.js"></script><link
rel="stylesheet" href="/ruleHierarchy/config/theme/xforms.css"
type="text/css"> <link rel="stylesheet"
href="/ruleHierarchy/config/theme/orbeon.css"
type="text/css"><script type="text/javascript"
src="/ruleHierarchy/config/theme/javascript/xforms-style.js"></script><script
type="text/javascript" src="/ruleHierarchy/ops/javascript/wz_tooltip.js"></script><script
type="text/javascript"
src="/ruleHierarchy/ops/javascript/overlib_mini.js"></script><script
type="text/javascript"
src="/ruleHierarchy/ops/javascript/time-utils.js"></script><script
type="text/javascript"
src="/ruleHierarchy/ops/javascript/sarissa.js"></script><script
type="text/javascript"
src="/ruleHierarchy/ops/javascript/xforms.js"></script><title>HTTP
404 : Page not found</title><script type="text/javascript"
src="/ruleHierarchy/scripts/domUtil.js"></script><script
type="text/javascript" src="/ruleHierarchy/scripts/sortTable.js"></script><script
type="text/javascript"
src="/ruleHierarchy/scripts/treeTable.js"></script><link
rel="stylesheet" href="/ruleHierarchy/stylesheets/pea.css"
type="text/css"> <link rel="stylesheet"
href="/ruleHierarchy/stylesheets/peaUtilities.css"
type="text/css"> <link
href="/ruleHierarchy/stylesheets/corporateIntranet.css"
type="text/css" rel="stylesheet"> </head>
<body> <div class="header"> <div class="headerpadding">
<table id="mainPageTable" cellpadding="0"
cellspacing="0" border="0" width="100%">
<tr id="corporateLogoAndGKNLogoArea"> <td
width="190" align="left"
id="corporateLogoCell"><a target="_blank"
href="http://homedev.teleflex.com/Intranet/TeleflexIncorporated/index.html"><img
id="corporateLogo" src="/ruleHierarchy/images/intranetcorporatelogo.jpg"
alt="Teleflex Corporate Logo"
border="0"></a></td> <td><img
id="logoGradient"
src="/ruleHierarchy/images/intranetcorporategradient.jpg"
alt="Gradient Image Filler" border="0"></td>
<td id="gknHeaderLogoCell"><img id="logo"
align="right" src="/ruleHierarchy/images/pea-long.gif"
alt=":PEA"></td> </tr> </table> </div>
</div> <form id="xforms-form" class="xforms-form"
action="/ruleHierarchy/xforms-server-submit" method="POST"
onsubmit="return false"><input type="hidden"
name="$static-state" value="session:1BF2ADEA-BE79-9EEA-BEC2-C32FE78C07DD"><input
type="hidden" name="$dynamic-state"
value="session:81066652-AF66-C754-D103-F62B8B756B77"><input
type="hidden" name="$client-state" value=""><span
id="xforms-repeat-tree"></span><span
id="xforms-repeat-indexes"></span><span
class="xforms-loading-loading"><img
src="/ruleHierarchy/images/loading.gif" style="float:
left"> Loading... </span><span
class="xforms-loading-none"></span><span
class="xforms-loading-error"></span><h1
class="PEAUtilities">Page Not Found</h1> <p> Sorry,
the page you were trying to retrieve does not exist.<br> (<span
id="xforms-element-3" class="xforms-control
xforms-output">http://localhost:8080/ruleHierarchy/jsp/RuleHierarchy.jsp</span>)<br>
This might be because: </p> <ul> <li>You may have typed the
web address incorrectly. Please check the address and spelling ensuring that it
does not contain capital letters or spaces </li> <li>It is possible
that the page you were looking for may have been moved, updated or deleted.</li>
</ul> <p></p> <h3>Debug Information</h3>
<p><b>requested-session-id: </b><span
id="xforms-element-4" class="xforms-control
xforms-output">4938A2C416E076FAAD2BA6AD0D4104A4</span><br><b>request-uri:
</b><span id="xforms-element-5" class="xforms-control
xforms-output">/ruleHierarchy/jsp/RuleHierarchy.jsp</span><br><b>request-url:
</b><span id="xforms-element-6" class="xforms-control
xforms-output">http://localhost:8080/ruleHierarchy/jsp/RuleHierarchy.jsp</span><br><b>servlet-path:
</b><span id="xforms-element-7" class="xforms-control
xforms-output">/jsp/RuleHierarchy.jsp</span><br><b>request-path:
</b><span id="xforms-element-8" class="xforms-control
xforms-output">/jsp/RuleHierarchy.jsp</span><br></p>
</form> <table id="xforms-messages" style="display:
none"> <tr> <td style="padding-left: 1em"><img
src="/ruleHierarchy/images/error-large.gif"
alt="Error"></td> <td style="padding-right:
1em"> <p>Please check form for invalid values</p>
</td> </tr> </table> <hr> <div
class="footer"> <table width="100%"> <tr
id="footerRow" class="footer"> <td
class="footerCell" colspan="2"><a
href="mailto:[hidden email]?Subject=PEA%20Site%20Question&Body=Please%20enter%20the%20details%20of%20your%20question%20here..."
class="footerMenuLink">Site Problems</a> | <a
href="mailto:[hidden email]?Subject=PEA%20Process%20Question&Body=Please%20enter%20the%20details%20of%20your%20question%20here..."
class="footerMenuLink"> PEA Problems</a></td>
</tr> <tr> <td class="copyright"
colspan="2">2006 Teleflex Incorporated. All rights reserved</td>
</tr> <tr> <td class="copyright" colspan="2"
color="red"><font
color="red"><strong>Development
Version</strong><ul> <li>You are: ()</li> <li>Default
Tamino: </li> <li>Site prefix for mail links:
http://localhost:8888/pea/</li> </ul></font></td>
</tr> </table> </div> </body> </html> It’s my Not Found page except all the URLs have been rewritten to
the context of my current application “ruleHierarchy”, which
I’m guessing is the reason for the Not Found page, because if I type the
address into the browser it works and if I type the full HTTP address into the
c:import it also works! Any ideas why OPS is rewriting the URL like this, or
what the problem is? Is there anyway I can get more information on where the
problem lies? Thanks Ryan Puddephatt Software Engineer TFX Group - IT Scotand EH54 7DP (
01506 407 110 7 01506 407 108 -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Hi all, I
still can’t get rid of this problem, I am calling from JSP/JSTL to an OPS
application to get XML, but I get an error, I dumped the output of the XML to screen
and see my Not Found page. When I check through the URLs they are all rewritten
to my JSP/JSTL application rather than my OPS application. Any ideas why this
is happening and how I can fix it? Ryan
Puddephatt Software Engineer TFX Group - IT UK Scotand EH54 7DP ( 01506 407 110 7 01506 407 108 From: Ryan Puddephatt
[mailto:[hidden email]] Sorry the error was org.apache.jasper.JasperException: org.xml.sax.SAXParseException: White spaces are required between publicId and systemId. Ryan
Puddephatt Software Engineer TFX Group - IT Scotand EH54 7DP ( 01506 407 110 7 01506 407 108 From: Ryan Puddephatt
[mailto:[hidden email]] Hi all,
I’m using a JSTL application which pulls its initial data from OPS, I use
<c:import var=”tagXML” context=”/peaUtilities”
url=”/common/get-data-for-hierarchy”/> to get this! However,
when running this through a style sheet on the page I get the following SAX Exception I decided to dump the output of the import to the page and
found this <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN"> <html> <head> <meta
http-equiv="Content-Type" content="text/html;
charset=utf-8"> <link rel="stylesheet" href="/ruleHierarchy/config/theme/jscalendar/calendar-blue.css"
type="text/css"><script type="text/javascript"
src="/ruleHierarchy/config/theme/jscalendar/calendar.js"></script><script
type="text/javascript"
src="/ruleHierarchy/config/theme/jscalendar/lang/calendar-en.js"></script><script
type="text/javascript"
src="/ruleHierarchy/config/theme/jscalendar/calendar-setup.js"></script><link
rel="stylesheet" href="/ruleHierarchy/config/theme/xforms.css"
type="text/css"> <link rel="stylesheet"
href="/ruleHierarchy/config/theme/orbeon.css"
type="text/css"><script type="text/javascript"
src="/ruleHierarchy/config/theme/javascript/xforms-style.js"></script><script
type="text/javascript" src="/ruleHierarchy/ops/javascript/wz_tooltip.js"></script><script
type="text/javascript"
src="/ruleHierarchy/ops/javascript/overlib_mini.js"></script><script
type="text/javascript"
src="/ruleHierarchy/ops/javascript/time-utils.js"></script><script
type="text/javascript"
src="/ruleHierarchy/ops/javascript/sarissa.js"></script><script
type="text/javascript"
src="/ruleHierarchy/ops/javascript/xforms.js"></script><title>HTTP
404 : Page not found</title><script type="text/javascript"
src="/ruleHierarchy/scripts/domUtil.js"></script><script
type="text/javascript" src="/ruleHierarchy/scripts/sortTable.js"></script><script
type="text/javascript"
src="/ruleHierarchy/scripts/treeTable.js"></script><link
rel="stylesheet" href="/ruleHierarchy/stylesheets/pea.css"
type="text/css"> <link rel="stylesheet"
href="/ruleHierarchy/stylesheets/peaUtilities.css"
type="text/css"> <link
href="/ruleHierarchy/stylesheets/corporateIntranet.css"
type="text/css" rel="stylesheet"> </head>
<body> <div class="header"> <div class="headerpadding">
<table id="mainPageTable" cellpadding="0"
cellspacing="0" border="0" width="100%">
<tr id="corporateLogoAndGKNLogoArea"> <td
width="190" align="left"
id="corporateLogoCell"><a target="_blank"
href="http://homedev.teleflex.com/Intranet/TeleflexIncorporated/index.html"><img
id="corporateLogo" src="/ruleHierarchy/images/intranetcorporatelogo.jpg"
alt="Teleflex Corporate Logo"
border="0"></a></td> <td><img
id="logoGradient"
src="/ruleHierarchy/images/intranetcorporategradient.jpg"
alt="Gradient Image Filler" border="0"></td>
<td id="gknHeaderLogoCell"><img id="logo"
align="right" src="/ruleHierarchy/images/pea-long.gif"
alt=":PEA"></td> </tr> </table> </div>
</div> <form id="xforms-form" class="xforms-form"
action="/ruleHierarchy/xforms-server-submit" method="POST"
onsubmit="return false"><input type="hidden"
name="$static-state" value="session:1BF2ADEA-BE79-9EEA-BEC2-C32FE78C07DD"><input
type="hidden" name="$dynamic-state"
value="session:81066652-AF66-C754-D103-F62B8B756B77"><input
type="hidden" name="$client-state" value=""><span
id="xforms-repeat-tree"></span><span
id="xforms-repeat-indexes"></span><span
class="xforms-loading-loading"><img
src="/ruleHierarchy/images/loading.gif" style="float:
left"> Loading... </span><span
class="xforms-loading-none"></span><span
class="xforms-loading-error"></span><h1
class="PEAUtilities">Page Not Found</h1> <p> Sorry,
the page you were trying to retrieve does not exist.<br> (<span
id="xforms-element-3" class="xforms-control
xforms-output">http://localhost:8080/ruleHierarchy/jsp/RuleHierarchy.jsp</span>)<br>
This might be because: </p> <ul> <li>You may have typed the
web address incorrectly. Please check the address and spelling ensuring that it
does not contain capital letters or spaces </li> <li>It is possible
that the page you were looking for may have been moved, updated or deleted.</li>
</ul> <p></p> <h3>Debug Information</h3>
<p><b>requested-session-id: </b><span
id="xforms-element-4" class="xforms-control
xforms-output">4938A2C416E076FAAD2BA6AD0D4104A4</span><br><b>request-uri:
</b><span id="xforms-element-5" class="xforms-control
xforms-output">/ruleHierarchy/jsp/RuleHierarchy.jsp</span><br><b>request-url:
</b><span id="xforms-element-6" class="xforms-control
xforms-output">http://localhost:8080/ruleHierarchy/jsp/RuleHierarchy.jsp</span><br><b>servlet-path:
</b><span id="xforms-element-7" class="xforms-control
xforms-output">/jsp/RuleHierarchy.jsp</span><br><b>request-path:
</b><span id="xforms-element-8" class="xforms-control
xforms-output">/jsp/RuleHierarchy.jsp</span><br></p>
</form> <table id="xforms-messages" style="display:
none"> <tr> <td style="padding-left: 1em"><img
src="/ruleHierarchy/images/error-large.gif"
alt="Error"></td> <td style="padding-right:
1em"> <p>Please check form for invalid values</p>
</td> </tr> </table> <hr> <div
class="footer"> <table width="100%"> <tr
id="footerRow" class="footer"> <td
class="footerCell" colspan="2"><a
href="mailto:[hidden email]?Subject=PEA%20Site%20Question&Body=Please%20enter%20the%20details%20of%20your%20question%20here..."
class="footerMenuLink">Site Problems</a> | <a
href="mailto:[hidden email]?Subject=PEA%20Process%20Question&Body=Please%20enter%20the%20details%20of%20your%20question%20here..."
class="footerMenuLink"> PEA Problems</a></td>
</tr> <tr> <td class="copyright"
colspan="2">2006 Teleflex Incorporated. All rights reserved</td>
</tr> <tr> <td class="copyright" colspan="2"
color="red"><font
color="red"><strong>Development
Version</strong><ul> <li>You are: ()</li> <li>Default
Tamino: </li> <li>Site prefix for mail links:
http://localhost:8888/pea/</li> </ul></font></td>
</tr> </table> </div> </body> </html> It’s my Not Found page except all the URLs have been rewritten to
the context of my current application “ruleHierarchy”, which
I’m guessing is the reason for the Not Found page, because if I type the
address into the browser it works and if I type the full HTTP address into the
c:import it also works! Any ideas why OPS is rewriting the URL like this, or
what the problem is? Is there anyway I can get more information on where the
problem lies? Thanks Ryan Puddephatt Software Engineer TFX Group - IT Scotand EH54 7DP (
01506 407 110 7 01506 407 108 -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Ryan,
And I assume you get the right data when you access the URL directly with your browser instead of through the <c:import>? Alex On 3/13/06, Ryan Puddephatt <[hidden email]> wrote: > > > > Hi all, > > I still can't get rid of this problem, I am calling from > JSP/JSTL to an OPS application to get XML, but I get an error, I dumped the > output of the XML to screen and see my Not Found page. When I check through > the URLs they are all rewritten to my JSP/JSTL application rather than my > OPS application. Any ideas why this is happening and how I can fix it? > > > > > > Ryan Puddephatt > > Software Engineer > > TFX Group - IT UK > > 1 Michaelson Square > > Livingston > > West Lothian > > Scotand > > EH54 7DP > > > > * [hidden email] > > ( 01506 407 110 > > 7 01506 407 108 > > > > > ________________________________ > > > From: Ryan Puddephatt [mailto:[hidden email]] > Sent: 07 March 2006 16:11 > > To: [hidden email] > Subject: RE: [ops-users] Problems call OPS from JSTL > > > > > Sorry the error was org.apache.jasper.JasperException: > org.xml.sax.SAXParseException: White spaces are required between publicId > and systemId. > > > > > > > > Ryan Puddephatt > > Software Engineer > > TFX Group - IT UK > > 1 Michaelson Square > > Livingston > > West Lothian > > Scotand > > EH54 7DP > > > > * [hidden email] > > ( 01506 407 110 > > 7 01506 407 108 > > > > > ________________________________ > > > From: Ryan Puddephatt [mailto:[hidden email]] > Sent: 07 March 2006 15:57 > To: [hidden email] > Subject: [ops-users] Problems call OPS from JSTL > > > > Hi all, > > I'm using a JSTL application which pulls its initial data from > OPS, I use <c:import var="tagXML" context="/peaUtilities" > url="/common/get-data-for-hierarchy"/> to get this! > However, when running this through a style sheet on the page I get the > following SAX Exception > > > > > > I decided to dump the output of the import to the page and found this > > > > <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> > <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> > <link rel="stylesheet" > href="/ruleHierarchy/config/theme/jscalendar/calendar-blue.css" > type="text/css"><script type="text/javascript" > src="/ruleHierarchy/config/theme/jscalendar/calendar.js"></script><script > type="text/javascript" > src="/ruleHierarchy/config/theme/jscalendar/lang/calendar-en.js"></script><script > type="text/javascript" > src="/ruleHierarchy/config/theme/jscalendar/calendar-setup.js"></script><link > rel="stylesheet" > href="/ruleHierarchy/config/theme/xforms.css" > type="text/css"> <link rel="stylesheet" > href="/ruleHierarchy/config/theme/orbeon.css" > type="text/css"><script type="text/javascript" > src="/ruleHierarchy/config/theme/javascript/xforms-style.js"></script><script > type="text/javascript" > src="/ruleHierarchy/ops/javascript/wz_tooltip.js"></script><script > type="text/javascript" > src="/ruleHierarchy/ops/javascript/overlib_mini.js"></script><script > type="text/javascript" > src="/ruleHierarchy/ops/javascript/time-utils.js"></script><script > type="text/javascript" > src="/ruleHierarchy/ops/javascript/sarissa.js"></script><script > type="text/javascript" > src="/ruleHierarchy/ops/javascript/xforms.js"></script><title>HTTP > 404 : Page not found</title><script type="text/javascript" > src="/ruleHierarchy/scripts/domUtil.js"></script><script > type="text/javascript" > src="/ruleHierarchy/scripts/sortTable.js"></script><script > type="text/javascript" > src="/ruleHierarchy/scripts/treeTable.js"></script><link > rel="stylesheet" href="/ruleHierarchy/stylesheets/pea.css" > type="text/css"> <link rel="stylesheet" > href="/ruleHierarchy/stylesheets/peaUtilities.css" > type="text/css"> <link > href="/ruleHierarchy/stylesheets/corporateIntranet.css" > type="text/css" rel="stylesheet"> </head> <body> <div class="header"> <div > class="headerpadding"> <table id="mainPageTable" cellpadding="0" > cellspacing="0" border="0" width="100%"> <tr > id="corporateLogoAndGKNLogoArea"> <td width="190" > align="left" id="corporateLogoCell"><a target="_blank" > href="http://homedev.teleflex.com/Intranet/TeleflexIncorporated/index.html"><img > id="corporateLogo" > src="/ruleHierarchy/images/intranetcorporatelogo.jpg" > alt="Teleflex Corporate Logo" border="0"></a></td> <td><img > id="logoGradient" > src="/ruleHierarchy/images/intranetcorporategradient.jpg" > alt="Gradient Image Filler" border="0"></td> <td id="gknHeaderLogoCell"><img > id="logo" align="right" src="/ruleHierarchy/images/pea-long.gif" > alt=":PEA"></td> </tr> </table> </div> </div> <form id="xforms-form" > class="xforms-form" > action="/ruleHierarchy/xforms-server-submit" method="POST" > onsubmit="return false"><input type="hidden" name="$static-state" > value="session:1BF2ADEA-BE79-9EEA-BEC2-C32FE78C07DD"><input > type="hidden" name="$dynamic-state" > value="session:81066652-AF66-C754-D103-F62B8B756B77"><input > type="hidden" name="$client-state" value=""><span > id="xforms-repeat-tree"></span><span > id="xforms-repeat-indexes"></span><span > class="xforms-loading-loading"><img > src="/ruleHierarchy/images/loading.gif" style="float: > left"> Loading... </span><span > class="xforms-loading-none"></span><span > class="xforms-loading-error"></span><h1 > class="PEAUtilities">Page Not Found</h1> <p> Sorry, the page you were trying > to retrieve does not exist.<br> (<span id="xforms-element-3" > class="xforms-control > xforms-output">http://localhost:8080/ruleHierarchy/jsp/RuleHierarchy.jsp</span>)<br> > This might be because: </p> <ul> <li>You may have typed the web address > incorrectly. Please check the address and spelling ensuring that it does not > contain capital letters or spaces </li> <li>It is possible that the page you > were looking for may have been moved, updated or deleted.</li> </ul> <p></p> > <h3>Debug Information</h3> <p><b>requested-session-id: </b><span > id="xforms-element-4" class="xforms-control > xforms-output">4938A2C416E076FAAD2BA6AD0D4104A4</span><br><b>request-uri: > </b><span id="xforms-element-5" class="xforms-control > xforms-output">/ruleHierarchy/jsp/RuleHierarchy.jsp</span><br><b>request-url: > </b><span id="xforms-element-6" class="xforms-control > xforms-output">http://localhost:8080/ruleHierarchy/jsp/RuleHierarchy.jsp</span><br><b>servlet-path: > </b><span id="xforms-element-7" class="xforms-control > xforms-output">/jsp/RuleHierarchy.jsp</span><br><b>request-path: > </b><span id="xforms-element-8" class="xforms-control > xforms-output">/jsp/RuleHierarchy.jsp</span><br></p> > </form> <table id="xforms-messages" style="display: none"> <tr> <td > style="padding-left: 1em"><img > src="/ruleHierarchy/images/error-large.gif" > alt="Error"></td> <td style="padding-right: 1em"> <p>Please check form for > invalid values</p> </td> </tr> </table> <hr> <div class="footer"> <table > width="100%"> <tr id="footerRow" class="footer"> <td class="footerCell" > colspan="2"><a > href="mailto:[hidden email]?Subject=PEA%20Site%20Question&Body=Please%20enter%20the%20details%20of%20your%20question%20here..." > class="footerMenuLink">Site Problems</a> | <a > href="mailto:[hidden email]?Subject=PEA%20Process%20Question&Body=Please%20enter%20the%20details%20of%20your%20question%20here..." > class="footerMenuLink"> PEA Problems</a></td> </tr> <tr> <td > class="copyright" colspan="2">2006 Teleflex Incorporated. All rights > reserved</td> </tr> <tr> <td class="copyright" colspan="2" color="red"><font > color="red"><strong>Development Version</strong><ul> <li>You are: ()</li> > <li>Default Tamino: </li> <li>Site prefix for mail links: > http://localhost:8888/pea/</li> </ul></font></td> </tr> </table> </div> > </body> </html> > > > > It's my Not Found page except all the URLs have been rewritten to the > context of my current application "ruleHierarchy", which I'm guessing is the > reason for the Not Found page, because if I type the address into the > browser it works and if I type the full HTTP address into the c:import it > also works! Any ideas why OPS is rewriting the URL like this, or what the > problem is? Is there anyway I can get more information on where the problem > lies? > > > > Thanks > > > > Ryan Puddephatt > > Software Engineer > > TFX Group - IT UK > > 1 Michaelson Square > > Livingston > > West Lothian > > Scotand > > EH54 7DP > > > > * [hidden email] > > ( 01506 407 110 > > 7 01506 407 108 > > > > > > > -- > You receive this message as a subscriber of the [hidden email] > mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > > > -- Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Alex, it works fine. It seems OPS is rewriting the URL to the application
that is calling it (ruleHierarchy) not the application being called (peaUtilities) Any ideas? Ryan Puddephatt Software Engineer TFX Group - IT UK 1 Michaelson Square Livingston West Lothian Scotand EH54 7DP * [hidden email] ( 01506 407 110 7 01506 407 108 >-----Original Message----- >From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro >Vernet >Sent: 14 March 2006 02:20 >To: [hidden email] >Subject: Re: [ops-users] Problems call OPS from JSTL > >Ryan, > >And I assume you get the right data when you access the URL directly >with your browser instead of through the <c:import>? > >Alex > >On 3/13/06, Ryan Puddephatt <[hidden email]> wrote: >> >> >> >> Hi all, >> >> I still can't get rid of this problem, I am calling from >> JSP/JSTL to an OPS application to get XML, but I get an error, I dumped >the >> output of the XML to screen and see my Not Found page. When I check >through >> the URLs they are all rewritten to my JSP/JSTL application rather than my >> OPS application. Any ideas why this is happening and how I can fix it? >> >> >> >> >> >> Ryan Puddephatt >> >> Software Engineer >> >> TFX Group - IT UK >> >> 1 Michaelson Square >> >> Livingston >> >> West Lothian >> >> Scotand >> >> EH54 7DP >> >> >> >> * [hidden email] >> >> ( 01506 407 110 >> >> 7 01506 407 108 >> >> >> >> >> ________________________________ >> >> >> From: Ryan Puddephatt [mailto:[hidden email]] >> Sent: 07 March 2006 16:11 >> >> To: [hidden email] >> Subject: RE: [ops-users] Problems call OPS from JSTL >> >> >> >> >> Sorry the error was org.apache.jasper.JasperException: >> org.xml.sax.SAXParseException: White spaces are required between publicId >> and systemId. >> >> >> >> >> >> >> >> Ryan Puddephatt >> >> Software Engineer >> >> TFX Group - IT UK >> >> 1 Michaelson Square >> >> Livingston >> >> West Lothian >> >> Scotand >> >> EH54 7DP >> >> >> >> * [hidden email] >> >> ( 01506 407 110 >> >> 7 01506 407 108 >> >> >> >> >> ________________________________ >> >> >> From: Ryan Puddephatt [mailto:[hidden email]] >> Sent: 07 March 2006 15:57 >> To: [hidden email] >> Subject: [ops-users] Problems call OPS from JSTL >> >> >> >> Hi all, >> >> I'm using a JSTL application which pulls its initial data >from >> OPS, I use <c:import var="tagXML" context="/peaUtilities" >> url="/common/get-data-for-hierarchy"/> to get this! >> However, when running this through a style sheet on the page I get the >> following SAX Exception >> >> >> >> >> >> I decided to dump the output of the import to the page and found this >> >> >> >> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> >> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf- >8"> >> <link rel="stylesheet" >> href="/ruleHierarchy/config/theme/jscalendar/calendar-blue.css" >> type="text/css"><script type="text/javascript" >> src="/ruleHierarchy/config/theme/jscalendar/calendar.js"></script><script >> type="text/javascript" >> src="/ruleHierarchy/config/theme/jscalendar/lang/calendar- >en.js"></script><script >> type="text/javascript" >> src="/ruleHierarchy/config/theme/jscalendar/calendar- >setup.js"></script><link >> rel="stylesheet" >> href="/ruleHierarchy/config/theme/xforms.css" >> type="text/css"> <link rel="stylesheet" >> href="/ruleHierarchy/config/theme/orbeon.css" >> type="text/css"><script type="text/javascript" >> src="/ruleHierarchy/config/theme/javascript/xforms- >style.js"></script><script >> type="text/javascript" >> src="/ruleHierarchy/ops/javascript/wz_tooltip.js"></script><script >> type="text/javascript" >> src="/ruleHierarchy/ops/javascript/overlib_mini.js"></script><script >> type="text/javascript" >> src="/ruleHierarchy/ops/javascript/time-utils.js"></script><script >> type="text/javascript" >> src="/ruleHierarchy/ops/javascript/sarissa.js"></script><script >> type="text/javascript" >> src="/ruleHierarchy/ops/javascript/xforms.js"></script><title>HTTP >> 404 : Page not found</title><script type="text/javascript" >> src="/ruleHierarchy/scripts/domUtil.js"></script><script >> type="text/javascript" >> src="/ruleHierarchy/scripts/sortTable.js"></script><script >> type="text/javascript" >> src="/ruleHierarchy/scripts/treeTable.js"></script><link >> rel="stylesheet" href="/ruleHierarchy/stylesheets/pea.css" >> type="text/css"> <link rel="stylesheet" >> href="/ruleHierarchy/stylesheets/peaUtilities.css" >> type="text/css"> <link >> href="/ruleHierarchy/stylesheets/corporateIntranet.css" >> type="text/css" rel="stylesheet"> </head> <body> <div class="header"> ><div >> class="headerpadding"> <table id="mainPageTable" cellpadding="0" >> cellspacing="0" border="0" width="100%"> <tr >> id="corporateLogoAndGKNLogoArea"> <td width="190" >> align="left" id="corporateLogoCell"><a target="_blank" >> >href="http://homedev.teleflex.com/Intranet/TeleflexIncorporated/index.html" >><img >> id="corporateLogo" >> src="/ruleHierarchy/images/intranetcorporatelogo.jpg" >> alt="Teleflex Corporate Logo" border="0"></a></td> <td><img >> id="logoGradient" >> src="/ruleHierarchy/images/intranetcorporategradient.jpg" >> alt="Gradient Image Filler" border="0"></td> <td >id="gknHeaderLogoCell"><img >> id="logo" align="right" src="/ruleHierarchy/images/pea-long.gif" >> alt=":PEA"></td> </tr> </table> </div> </div> <form id="xforms-form" >> class="xforms-form" >> action="/ruleHierarchy/xforms-server-submit" method="POST" >> onsubmit="return false"><input type="hidden" name="$static-state" >> value="session:1BF2ADEA-BE79-9EEA-BEC2-C32FE78C07DD"><input >> type="hidden" name="$dynamic-state" >> value="session:81066652-AF66-C754-D103-F62B8B756B77"><input >> type="hidden" name="$client-state" value=""><span >> id="xforms-repeat-tree"></span><span >> id="xforms-repeat-indexes"></span><span >> class="xforms-loading-loading"><img >> src="/ruleHierarchy/images/loading.gif" style="float: >> left"> Loading... </span><span >> class="xforms-loading-none"></span><span >> class="xforms-loading-error"></span><h1 >> class="PEAUtilities">Page Not Found</h1> <p> Sorry, the page you were >trying >> to retrieve does not exist.<br> (<span id="xforms-element-3" >> class="xforms-control >> xforms- >output">http://localhost:8080/ruleHierarchy/jsp/RuleHierarchy.jsp</span>)<b >r> >> This might be because: </p> <ul> <li>You may have typed the web address >> incorrectly. Please check the address and spelling ensuring that it does >not >> contain capital letters or spaces </li> <li>It is possible that the page >you >> were looking for may have been moved, updated or deleted.</li> </ul> ><p></p> >> <h3>Debug Information</h3> <p><b>requested-session-id: </b><span >> id="xforms-element-4" class="xforms-control >> xforms-output">4938A2C416E076FAAD2BA6AD0D4104A4</span><br><b>request-uri: >> </b><span id="xforms-element-5" class="xforms-control >> xforms-output">/ruleHierarchy/jsp/RuleHierarchy.jsp</span><br><b>request- >url: >> </b><span id="xforms-element-6" class="xforms-control >> xforms- >output">http://localhost:8080/ruleHierarchy/jsp/RuleHierarchy.jsp</span><br >><b>servlet-path: >> </b><span id="xforms-element-7" class="xforms-control >> xforms-output">/jsp/RuleHierarchy.jsp</span><br><b>request-path: >> </b><span id="xforms-element-8" class="xforms-control >> xforms-output">/jsp/RuleHierarchy.jsp</span><br></p> >> </form> <table id="xforms-messages" style="display: none"> <tr> <td >> style="padding-left: 1em"><img >> src="/ruleHierarchy/images/error-large.gif" >> alt="Error"></td> <td style="padding-right: 1em"> <p>Please check form >for >> invalid values</p> </td> </tr> </table> <hr> <div class="footer"> <table >> width="100%"> <tr id="footerRow" class="footer"> <td class="footerCell" >> colspan="2"><a >> >href="mailto:[hidden email]?Subject=PEA%20Site%20Question&Body=P >lease%20enter%20the%20details%20of%20your%20question%20here..." >> class="footerMenuLink">Site Problems</a> | <a >> >href="mailto:[hidden email]?Subject=PEA%20Process%20Question&B >ody=Please%20enter%20the%20details%20of%20your%20question%20here..." >> class="footerMenuLink"> PEA Problems</a></td> </tr> <tr> <td >> class="copyright" colspan="2">2006 Teleflex Incorporated. All rights >> reserved</td> </tr> <tr> <td class="copyright" colspan="2" >color="red"><font >> color="red"><strong>Development Version</strong><ul> <li>You are: ()</li> >> <li>Default Tamino: </li> <li>Site prefix for mail links: >> http://localhost:8888/pea/</li> </ul></font></td> </tr> </table> </div> >> </body> </html> >> >> >> >> It's my Not Found page except all the URLs have been rewritten to the >> context of my current application "ruleHierarchy", which I'm guessing is >the >> reason for the Not Found page, because if I type the address into the >> browser it works and if I type the full HTTP address into the c:import it >> also works! Any ideas why OPS is rewriting the URL like this, or what the >> problem is? Is there anyway I can get more information on where the >problem >> lies? >> >> >> >> Thanks >> >> >> >> Ryan Puddephatt >> >> Software Engineer >> >> TFX Group - IT UK >> >> 1 Michaelson Square >> >> Livingston >> >> West Lothian >> >> Scotand >> >> EH54 7DP >> >> >> >> * [hidden email] >> >> ( 01506 407 110 >> >> 7 01506 407 108 >> >> >> >> >> >> >> -- >> You receive this message as a subscriber of the [hidden email] >> mailing list. >> To unsubscribe: mailto:[hidden email] >> For general help: mailto:[hidden email]?subject=help >> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws >> >> >> > > >-- >Blog (XML, Web apps, Open Source): >http://www.orbeon.com/blog/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Hi Ryan,
I am not sure to understand the problem. It looks like you are loading from a ruleHierarchy application the URL /peaUtilities/common/get-data-for-hierarchy. This URL is served by PresentationServer, and PresentationServer is returning Not Found page. But where does PresentationServer do a rewrite? I think I must be missing something. Alex On 3/16/06, Ryan Puddephatt <[hidden email]> wrote: > Alex, it works fine. It seems OPS is rewriting the URL to the application > that is calling it (ruleHierarchy) not the application being called > (peaUtilities) Any ideas? > > Ryan Puddephatt > Software Engineer > TFX Group - IT UK > 1 Michaelson Square > Livingston > West Lothian > Scotand > EH54 7DP > > * [hidden email] > ( 01506 407 110 > 7 01506 407 108 > > > >-----Original Message----- > >From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro > >Vernet > >Sent: 14 March 2006 02:20 > >To: [hidden email] > >Subject: Re: [ops-users] Problems call OPS from JSTL > > > >Ryan, > > > >And I assume you get the right data when you access the URL directly > >with your browser instead of through the <c:import>? > > > >Alex > > > >On 3/13/06, Ryan Puddephatt <[hidden email]> wrote: > >> > >> > >> > >> Hi all, > >> > >> I still can't get rid of this problem, I am calling from > >> JSP/JSTL to an OPS application to get XML, but I get an error, I dumped > >the > >> output of the XML to screen and see my Not Found page. When I check > >through > >> the URLs they are all rewritten to my JSP/JSTL application rather than my > >> OPS application. Any ideas why this is happening and how I can fix it? > >> > >> > >> > >> > >> > >> Ryan Puddephatt > >> > >> Software Engineer > >> > >> TFX Group - IT UK > >> > >> 1 Michaelson Square > >> > >> Livingston > >> > >> West Lothian > >> > >> Scotand > >> > >> EH54 7DP > >> > >> > >> > >> * [hidden email] > >> > >> ( 01506 407 110 > >> > >> 7 01506 407 108 > >> > >> > >> > >> > >> ________________________________ > >> > >> > >> From: Ryan Puddephatt [mailto:[hidden email]] > >> Sent: 07 March 2006 16:11 > >> > >> To: [hidden email] > >> Subject: RE: [ops-users] Problems call OPS from JSTL > >> > >> > >> > >> > >> Sorry the error was org.apache.jasper.JasperException: > >> org.xml.sax.SAXParseException: White spaces are required between publicId > >> and systemId. > >> > >> > >> > >> > >> > >> > >> > >> Ryan Puddephatt > >> > >> Software Engineer > >> > >> TFX Group - IT UK > >> > >> 1 Michaelson Square > >> > >> Livingston > >> > >> West Lothian > >> > >> Scotand > >> > >> EH54 7DP > >> > >> > >> > >> * [hidden email] > >> > >> ( 01506 407 110 > >> > >> 7 01506 407 108 > >> > >> > >> > >> > >> ________________________________ > >> > >> > >> From: Ryan Puddephatt [mailto:[hidden email]] > >> Sent: 07 March 2006 15:57 > >> To: [hidden email] > >> Subject: [ops-users] Problems call OPS from JSTL > >> > >> > >> > >> Hi all, > >> > >> I'm using a JSTL application which pulls its initial data > >from > >> OPS, I use <c:import var="tagXML" context="/peaUtilities" > >> url="/common/get-data-for-hierarchy"/> to get this! > >> However, when running this through a style sheet on the page I get the > >> following SAX Exception > >> > >> > >> > >> > >> > >> I decided to dump the output of the import to the page and found this > >> > >> > >> > >> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> > >> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf- > >8"> > >> <link rel="stylesheet" > >> href="/ruleHierarchy/config/theme/jscalendar/calendar-blue.css" > >> type="text/css"><script type="text/javascript" > >> src="/ruleHierarchy/config/theme/jscalendar/calendar.js"></script><script > >> type="text/javascript" > >> src="/ruleHierarchy/config/theme/jscalendar/lang/calendar- > >en.js"></script><script > >> type="text/javascript" > >> src="/ruleHierarchy/config/theme/jscalendar/calendar- > >setup.js"></script><link > >> rel="stylesheet" > >> href="/ruleHierarchy/config/theme/xforms.css" > >> type="text/css"> <link rel="stylesheet" > >> href="/ruleHierarchy/config/theme/orbeon.css" > >> type="text/css"><script type="text/javascript" > >> src="/ruleHierarchy/config/theme/javascript/xforms- > >style.js"></script><script > >> type="text/javascript" > >> src="/ruleHierarchy/ops/javascript/wz_tooltip.js"></script><script > >> type="text/javascript" > >> src="/ruleHierarchy/ops/javascript/overlib_mini.js"></script><script > >> type="text/javascript" > >> src="/ruleHierarchy/ops/javascript/time-utils.js"></script><script > >> type="text/javascript" > >> src="/ruleHierarchy/ops/javascript/sarissa.js"></script><script > >> type="text/javascript" > >> src="/ruleHierarchy/ops/javascript/xforms.js"></script><title>HTTP > >> 404 : Page not found</title><script type="text/javascript" > >> src="/ruleHierarchy/scripts/domUtil.js"></script><script > >> type="text/javascript" > >> src="/ruleHierarchy/scripts/sortTable.js"></script><script > >> type="text/javascript" > >> src="/ruleHierarchy/scripts/treeTable.js"></script><link > >> rel="stylesheet" href="/ruleHierarchy/stylesheets/pea.css" > >> type="text/css"> <link rel="stylesheet" > >> href="/ruleHierarchy/stylesheets/peaUtilities.css" > >> type="text/css"> <link > >> href="/ruleHierarchy/stylesheets/corporateIntranet.css" > >> type="text/css" rel="stylesheet"> </head> <body> <div class="header"> > ><div > >> class="headerpadding"> <table id="mainPageTable" cellpadding="0" > >> cellspacing="0" border="0" width="100%"> <tr > >> id="corporateLogoAndGKNLogoArea"> <td width="190" > >> align="left" id="corporateLogoCell"><a target="_blank" > >> > >href="http://homedev.teleflex.com/Intranet/TeleflexIncorporated/index.html" > >><img > >> id="corporateLogo" > >> src="/ruleHierarchy/images/intranetcorporatelogo.jpg" > >> alt="Teleflex Corporate Logo" border="0"></a></td> <td><img > >> id="logoGradient" > >> src="/ruleHierarchy/images/intranetcorporategradient.jpg" > >> alt="Gradient Image Filler" border="0"></td> <td > >id="gknHeaderLogoCell"><img > >> id="logo" align="right" src="/ruleHierarchy/images/pea-long.gif" > >> alt=":PEA"></td> </tr> </table> </div> </div> <form id="xforms-form" > >> class="xforms-form" > >> action="/ruleHierarchy/xforms-server-submit" method="POST" > >> onsubmit="return false"><input type="hidden" name="$static-state" > >> value="session:1BF2ADEA-BE79-9EEA-BEC2-C32FE78C07DD"><input > >> type="hidden" name="$dynamic-state" > >> value="session:81066652-AF66-C754-D103-F62B8B756B77"><input > >> type="hidden" name="$client-state" value=""><span > >> id="xforms-repeat-tree"></span><span > >> id="xforms-repeat-indexes"></span><span > >> class="xforms-loading-loading"><img > >> src="/ruleHierarchy/images/loading.gif" style="float: > >> left"> Loading... </span><span > >> class="xforms-loading-none"></span><span > >> class="xforms-loading-error"></span><h1 > >> class="PEAUtilities">Page Not Found</h1> <p> Sorry, the page you were > >trying > >> to retrieve does not exist.<br> (<span id="xforms-element-3" > >> class="xforms-control > >> xforms- > >output">http://localhost:8080/ruleHierarchy/jsp/RuleHierarchy.jsp</span>)<b > >r> > >> This might be because: </p> <ul> <li>You may have typed the web address > >> incorrectly. Please check the address and spelling ensuring that it does > >not > >> contain capital letters or spaces </li> <li>It is possible that the page > >you > >> were looking for may have been moved, updated or deleted.</li> </ul> > ><p></p> > >> <h3>Debug Information</h3> <p><b>requested-session-id: </b><span > >> id="xforms-element-4" class="xforms-control > >> xforms-output">4938A2C416E076FAAD2BA6AD0D4104A4</span><br><b>request-uri: > >> </b><span id="xforms-element-5" class="xforms-control > >> xforms-output">/ruleHierarchy/jsp/RuleHierarchy.jsp</span><br><b>request- > >url: > >> </b><span id="xforms-element-6" class="xforms-control > >> xforms- > >output">http://localhost:8080/ruleHierarchy/jsp/RuleHierarchy.jsp</span><br > >><b>servlet-path: > >> </b><span id="xforms-element-7" class="xforms-control > >> xforms-output">/jsp/RuleHierarchy.jsp</span><br><b>request-path: > >> </b><span id="xforms-element-8" class="xforms-control > >> xforms-output">/jsp/RuleHierarchy.jsp</span><br></p> > >> </form> <table id="xforms-messages" style="display: none"> <tr> <td > >> style="padding-left: 1em"><img > >> src="/ruleHierarchy/images/error-large.gif" > >> alt="Error"></td> <td style="padding-right: 1em"> <p>Please check form > >for > >> invalid values</p> </td> </tr> </table> <hr> <div class="footer"> <table > >> width="100%"> <tr id="footerRow" class="footer"> <td class="footerCell" > >> colspan="2"><a > >> > >href="mailto:[hidden email]?Subject=PEA%20Site%20Question&Body=P > >lease%20enter%20the%20details%20of%20your%20question%20here..." > >> class="footerMenuLink">Site Problems</a> | <a > >> > >href="mailto:[hidden email]?Subject=PEA%20Process%20Question&B > >ody=Please%20enter%20the%20details%20of%20your%20question%20here..." > >> class="footerMenuLink"> PEA Problems</a></td> </tr> <tr> <td > >> class="copyright" colspan="2">2006 Teleflex Incorporated. All rights > >> reserved</td> </tr> <tr> <td class="copyright" colspan="2" > >color="red"><font > >> color="red"><strong>Development Version</strong><ul> <li>You are: ()</li> > >> <li>Default Tamino: </li> <li>Site prefix for mail links: > >> http://localhost:8888/pea/</li> </ul></font></td> </tr> </table> </div> > >> </body> </html> > >> > >> > >> > >> It's my Not Found page except all the URLs have been rewritten to the > >> context of my current application "ruleHierarchy", which I'm guessing is > >the > >> reason for the Not Found page, because if I type the address into the > >> browser it works and if I type the full HTTP address into the c:import it > >> also works! Any ideas why OPS is rewriting the URL like this, or what the > >> problem is? Is there anyway I can get more information on where the > >problem > >> lies? > >> > >> > >> > >> Thanks > >> > >> > >> > >> Ryan Puddephatt > >> > >> Software Engineer > >> > >> TFX Group - IT UK > >> > >> 1 Michaelson Square > >> > >> Livingston > >> > >> West Lothian > >> > >> Scotand > >> > >> EH54 7DP > >> > >> > >> > >> * [hidden email] > >> > >> ( 01506 407 110 > >> > >> 7 01506 407 108 > >> > >> > >> > >> > >> > >> > >> -- > >> You receive this message as a subscriber of the [hidden email] > >> mailing list. > >> To unsubscribe: mailto:[hidden email] > >> For general help: mailto:[hidden email]?subject=help > >> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > >> > >> > >> > > > > > >-- > >Blog (XML, Web apps, Open Source): > >http://www.orbeon.com/blog/ > > > > > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > > > -- Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Alex,
I might be wrong in assuming its rewriting! I'll try to explain it a little better! I have a JSTL/JSP app (ruleHierarchy) which calls my OPS app to get an XML it calls the URL using context "peaUtilities" and url "common/get-data-for-hierarchy". This was giving me an error, so I dumped what it was returning to the page and could see OPS was giving me the not-found page, but when I looked at all the URLs (for images, css etc.) they were all showing the context of /ruleHierarchy rather than /peaUtilities (hence I thought it was a url rewrite). I am assuming this is why OPS showed the not-found page. I have a nasty work around of displaying the XML instead of the not-found page for certain conditions, but its not ideal! Any ideas? I could build two small (JSP, OPS) test cases it you wanted, but they would be full Apps. (or I can copy what OPS returns) Hopefully I have explained it a little better! Ryan Puddephatt Software Engineer TFX Group - IT UK 1 Michaelson Square Livingston West Lothian Scotand EH54 7DP * [hidden email] ( 01506 407 110 7 01506 407 108 >-----Original Message----- >From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro >Vernet >Sent: 20 March 2006 22:53 >To: [hidden email] >Subject: Re: [ops-users] Problems call OPS from JSTL > >Hi Ryan, > >I am not sure to understand the problem. It looks like you are loading >from a ruleHierarchy application the URL >/peaUtilities/common/get-data-for-hierarchy. This URL is served by >PresentationServer, and PresentationServer is returning Not Found >page. But where does PresentationServer do a rewrite? I think I must >be missing something. > >Alex > >On 3/16/06, Ryan Puddephatt <[hidden email]> wrote: >> Alex, it works fine. It seems OPS is rewriting the URL to the application >> that is calling it (ruleHierarchy) not the application being called >> (peaUtilities) Any ideas? >> >> Ryan Puddephatt >> Software Engineer >> TFX Group - IT UK >> 1 Michaelson Square >> Livingston >> West Lothian >> Scotand >> EH54 7DP >> >> * [hidden email] >> ( 01506 407 110 >> 7 01506 407 108 >> >> >> >-----Original Message----- >> >From: [hidden email] [mailto:[hidden email]] On Behalf Of >Alessandro >> >Vernet >> >Sent: 14 March 2006 02:20 >> >To: [hidden email] >> >Subject: Re: [ops-users] Problems call OPS from JSTL >> > >> >Ryan, >> > >> >And I assume you get the right data when you access the URL directly >> >with your browser instead of through the <c:import>? >> > >> >Alex >> > >> >On 3/13/06, Ryan Puddephatt <[hidden email]> wrote: >> >> >> >> >> >> >> >> Hi all, >> >> >> >> I still can't get rid of this problem, I am calling from >> >> JSP/JSTL to an OPS application to get XML, but I get an error, I >dumped >> >the >> >> output of the XML to screen and see my Not Found page. When I check >> >through >> >> the URLs they are all rewritten to my JSP/JSTL application rather than >my >> >> OPS application. Any ideas why this is happening and how I can fix it? >> >> >> >> >> >> >> >> >> >> >> >> Ryan Puddephatt >> >> >> >> Software Engineer >> >> >> >> TFX Group - IT UK >> >> >> >> 1 Michaelson Square >> >> >> >> Livingston >> >> >> >> West Lothian >> >> >> >> Scotand >> >> >> >> EH54 7DP >> >> >> >> >> >> >> >> * [hidden email] >> >> >> >> ( 01506 407 110 >> >> >> >> 7 01506 407 108 >> >> >> >> >> >> >> >> >> >> ________________________________ >> >> >> >> >> >> From: Ryan Puddephatt [mailto:[hidden email]] >> >> Sent: 07 March 2006 16:11 >> >> >> >> To: [hidden email] >> >> Subject: RE: [ops-users] Problems call OPS from JSTL >> >> >> >> >> >> >> >> >> >> Sorry the error was org.apache.jasper.JasperException: >> >> org.xml.sax.SAXParseException: White spaces are required between >publicId >> >> and systemId. >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> Ryan Puddephatt >> >> >> >> Software Engineer >> >> >> >> TFX Group - IT UK >> >> >> >> 1 Michaelson Square >> >> >> >> Livingston >> >> >> >> West Lothian >> >> >> >> Scotand >> >> >> >> EH54 7DP >> >> >> >> >> >> >> >> * [hidden email] >> >> >> >> ( 01506 407 110 >> >> >> >> 7 01506 407 108 >> >> >> >> >> >> >> >> >> >> ________________________________ >> >> >> >> >> >> From: Ryan Puddephatt [mailto:[hidden email]] >> >> Sent: 07 March 2006 15:57 >> >> To: [hidden email] >> >> Subject: [ops-users] Problems call OPS from JSTL >> >> >> >> >> >> >> >> Hi all, >> >> >> >> I'm using a JSTL application which pulls its initial data >> >from >> >> OPS, I use <c:import var="tagXML" context="/peaUtilities" >> >> url="/common/get-data-for-hierarchy"/> to get this! >> >> However, when running this through a style sheet on the page I get the >> >> following SAX Exception >> >> >> >> >> >> >> >> >> >> >> >> I decided to dump the output of the import to the page and found this >> >> >> >> >> >> >> >> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> >> >> <head> <meta http-equiv="Content-Type" content="text/html; >charset=utf- >> >8"> >> >> <link rel="stylesheet" >> >> href="/ruleHierarchy/config/theme/jscalendar/calendar-blue.css" >> >> type="text/css"><script type="text/javascript" >> >> >src="/ruleHierarchy/config/theme/jscalendar/calendar.js"></script><script >> >> type="text/javascript" >> >> src="/ruleHierarchy/config/theme/jscalendar/lang/calendar- >> >en.js"></script><script >> >> type="text/javascript" >> >> src="/ruleHierarchy/config/theme/jscalendar/calendar- >> >setup.js"></script><link >> >> rel="stylesheet" >> >> href="/ruleHierarchy/config/theme/xforms.css" >> >> type="text/css"> <link rel="stylesheet" >> >> href="/ruleHierarchy/config/theme/orbeon.css" >> >> type="text/css"><script type="text/javascript" >> >> src="/ruleHierarchy/config/theme/javascript/xforms- >> >style.js"></script><script >> >> type="text/javascript" >> >> src="/ruleHierarchy/ops/javascript/wz_tooltip.js"></script><script >> >> type="text/javascript" >> >> src="/ruleHierarchy/ops/javascript/overlib_mini.js"></script><script >> >> type="text/javascript" >> >> src="/ruleHierarchy/ops/javascript/time-utils.js"></script><script >> >> type="text/javascript" >> >> src="/ruleHierarchy/ops/javascript/sarissa.js"></script><script >> >> type="text/javascript" >> >> src="/ruleHierarchy/ops/javascript/xforms.js"></script><title>HTTP >> >> 404 : Page not found</title><script type="text/javascript" >> >> src="/ruleHierarchy/scripts/domUtil.js"></script><script >> >> type="text/javascript" >> >> src="/ruleHierarchy/scripts/sortTable.js"></script><script >> >> type="text/javascript" >> >> src="/ruleHierarchy/scripts/treeTable.js"></script><link >> >> rel="stylesheet" href="/ruleHierarchy/stylesheets/pea.css" >> >> type="text/css"> <link rel="stylesheet" >> >> href="/ruleHierarchy/stylesheets/peaUtilities.css" >> >> type="text/css"> <link >> >> href="/ruleHierarchy/stylesheets/corporateIntranet.css" >> >> type="text/css" rel="stylesheet"> </head> <body> <div class="header"> >> ><div >> >> class="headerpadding"> <table id="mainPageTable" cellpadding="0" >> >> cellspacing="0" border="0" width="100%"> <tr >> >> id="corporateLogoAndGKNLogoArea"> <td width="190" >> >> align="left" id="corporateLogoCell"><a target="_blank" >> >> >> >>href="http://homedev.teleflex.com/Intranet/TeleflexIncorporated/index.html >" >> >><img >> >> id="corporateLogo" >> >> src="/ruleHierarchy/images/intranetcorporatelogo.jpg" >> >> alt="Teleflex Corporate Logo" border="0"></a></td> <td><img >> >> id="logoGradient" >> >> src="/ruleHierarchy/images/intranetcorporategradient.jpg" >> >> alt="Gradient Image Filler" border="0"></td> <td >> >id="gknHeaderLogoCell"><img >> >> id="logo" align="right" src="/ruleHierarchy/images/pea-long.gif" >> >> alt=":PEA"></td> </tr> </table> </div> </div> <form id="xforms-form" >> >> class="xforms-form" >> >> action="/ruleHierarchy/xforms-server-submit" method="POST" >> >> onsubmit="return false"><input type="hidden" name="$static-state" >> >> value="session:1BF2ADEA-BE79-9EEA-BEC2-C32FE78C07DD"><input >> >> type="hidden" name="$dynamic-state" >> >> value="session:81066652-AF66-C754-D103-F62B8B756B77"><input >> >> type="hidden" name="$client-state" value=""><span >> >> id="xforms-repeat-tree"></span><span >> >> id="xforms-repeat-indexes"></span><span >> >> class="xforms-loading-loading"><img >> >> src="/ruleHierarchy/images/loading.gif" style="float: >> >> left"> Loading... </span><span >> >> class="xforms-loading-none"></span><span >> >> class="xforms-loading-error"></span><h1 >> >> class="PEAUtilities">Page Not Found</h1> <p> Sorry, the page you were >> >trying >> >> to retrieve does not exist.<br> (<span id="xforms-element-3" >> >> class="xforms-control >> >> xforms- >> >>output">http://localhost:8080/ruleHierarchy/jsp/RuleHierarchy.jsp</span>)< >b >> >r> >> >> This might be because: </p> <ul> <li>You may have typed the web >address >> >> incorrectly. Please check the address and spelling ensuring that it >does >> >not >> >> contain capital letters or spaces </li> <li>It is possible that the >page >> >you >> >> were looking for may have been moved, updated or deleted.</li> </ul> >> ><p></p> >> >> <h3>Debug Information</h3> <p><b>requested-session-id: </b><span >> >> id="xforms-element-4" class="xforms-control >> >> xforms-output">4938A2C416E076FAAD2BA6AD0D4104A4</span><br><b>request- >uri: >> >> </b><span id="xforms-element-5" class="xforms-control >> >> xforms- >output">/ruleHierarchy/jsp/RuleHierarchy.jsp</span><br><b>request- >> >url: >> >> </b><span id="xforms-element-6" class="xforms-control >> >> xforms- >> >>output">http://localhost:8080/ruleHierarchy/jsp/RuleHierarchy.jsp</span><b >r >> >><b>servlet-path: >> >> </b><span id="xforms-element-7" class="xforms-control >> >> xforms-output">/jsp/RuleHierarchy.jsp</span><br><b>request-path: >> >> </b><span id="xforms-element-8" class="xforms-control >> >> xforms-output">/jsp/RuleHierarchy.jsp</span><br></p> >> >> </form> <table id="xforms-messages" style="display: none"> <tr> <td >> >> style="padding-left: 1em"><img >> >> src="/ruleHierarchy/images/error-large.gif" >> >> alt="Error"></td> <td style="padding-right: 1em"> <p>Please check form >> >for >> >> invalid values</p> </td> </tr> </table> <hr> <div class="footer"> ><table >> >> width="100%"> <tr id="footerRow" class="footer"> <td >class="footerCell" >> >> colspan="2"><a >> >> >> >>href="mailto:[hidden email]?Subject=PEA%20Site%20Question&Body= >P >> >lease%20enter%20the%20details%20of%20your%20question%20here..." >> >> class="footerMenuLink">Site Problems</a> | <a >> >> >> >>href="mailto:[hidden email]?Subject=PEA%20Process%20Question& >B >> >ody=Please%20enter%20the%20details%20of%20your%20question%20here..." >> >> class="footerMenuLink"> PEA Problems</a></td> </tr> <tr> <td >> >> class="copyright" colspan="2">2006 Teleflex Incorporated. All rights >> >> reserved</td> </tr> <tr> <td class="copyright" colspan="2" >> >color="red"><font >> >> color="red"><strong>Development Version</strong><ul> <li>You are: >()</li> >> >> <li>Default Tamino: </li> <li>Site prefix for mail links: >> >> http://localhost:8888/pea/</li> </ul></font></td> </tr> </table> ></div> >> >> </body> </html> >> >> >> >> >> >> >> >> It's my Not Found page except all the URLs have been rewritten to the >> >> context of my current application "ruleHierarchy", which I'm guessing >is >> >the >> >> reason for the Not Found page, because if I type the address into the >> >> browser it works and if I type the full HTTP address into the c:import >it >> >> also works! Any ideas why OPS is rewriting the URL like this, or what >the >> >> problem is? Is there anyway I can get more information on where the >> >problem >> >> lies? >> >> >> >> >> >> >> >> Thanks >> >> >> >> >> >> >> >> Ryan Puddephatt >> >> >> >> Software Engineer >> >> >> >> TFX Group - IT UK >> >> >> >> 1 Michaelson Square >> >> >> >> Livingston >> >> >> >> West Lothian >> >> >> >> Scotand >> >> >> >> EH54 7DP >> >> >> >> >> >> >> >> * [hidden email] >> >> >> >> ( 01506 407 110 >> >> >> >> 7 01506 407 108 >> >> >> >> >> >> >> >> >> >> >> >> >> >> -- >> >> You receive this message as a subscriber of the ops- >[hidden email] >> >> mailing list. >> >> To unsubscribe: mailto:[hidden email] >> >> For general help: mailto:[hidden email]?subject=help >> >> ObjectWeb mailing lists service home page: >http://www.objectweb.org/wws >> >> >> >> >> >> >> > >> > >> >-- >> >Blog (XML, Web apps, Open Source): >> >http://www.orbeon.com/blog/ >> >> >> >> >> >> >> -- >> You receive this message as a subscriber of the [hidden email] >mailing list. >> To unsubscribe: mailto:[hidden email] >> For general help: mailto:[hidden email]?subject=help >> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws >> >> >> > > >-- >Blog (XML, Web apps, Open Source): >http://www.orbeon.com/blog/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Ryan,
How does the include happen in the JSTL/JSP application (ruleHierarchy)? How would PresentationServer have a chance to intercept the URL? I guess the ruleHierarchy application is in a war file that contains PresentationServer? Is the epilogue running on the output of the JSP? Yes, I know, I was supposed to answer your question, not ask more questions :). Alex On 3/21/06, Ryan Puddephatt <[hidden email]> wrote: > Alex, > I might be wrong in assuming its rewriting! I'll try to explain it a > little better! I have a JSTL/JSP app (ruleHierarchy) which calls my OPS app > to get an XML it calls the URL using context "peaUtilities" and url > "common/get-data-for-hierarchy". This was giving me an error, so I dumped > what it was returning to the page and could see OPS was giving me the > not-found page, but when I looked at all the URLs (for images, css etc.) > they were all showing the context of /ruleHierarchy rather than > /peaUtilities (hence I thought it was a url rewrite). > > I am assuming this is why OPS showed the not-found page. I have a nasty work > around of displaying the XML instead of the not-found page for certain > conditions, but its not ideal! > > Any ideas? I could build two small (JSP, OPS) test cases it you wanted, but > they would be full Apps. (or I can copy what OPS returns) > > Hopefully I have explained it a little better! > > Ryan Puddephatt > Software Engineer > TFX Group - IT UK > 1 Michaelson Square > Livingston > West Lothian > Scotand > EH54 7DP > > * [hidden email] > ( 01506 407 110 > 7 01506 407 108 > > > >-----Original Message----- > >From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro > >Vernet > >Sent: 20 March 2006 22:53 > >To: [hidden email] > >Subject: Re: [ops-users] Problems call OPS from JSTL > > > >Hi Ryan, > > > >I am not sure to understand the problem. It looks like you are loading > >from a ruleHierarchy application the URL > >/peaUtilities/common/get-data-for-hierarchy. This URL is served by > >PresentationServer, and PresentationServer is returning Not Found > >page. But where does PresentationServer do a rewrite? I think I must > >be missing something. > > > >Alex > > > >On 3/16/06, Ryan Puddephatt <[hidden email]> wrote: > >> Alex, it works fine. It seems OPS is rewriting the URL to the application > >> that is calling it (ruleHierarchy) not the application being called > >> (peaUtilities) Any ideas? > >> > >> Ryan Puddephatt > >> Software Engineer > >> TFX Group - IT UK > >> 1 Michaelson Square > >> Livingston > >> West Lothian > >> Scotand > >> EH54 7DP > >> > >> * [hidden email] > >> ( 01506 407 110 > >> 7 01506 407 108 > >> > >> > >> >-----Original Message----- > >> >From: [hidden email] [mailto:[hidden email]] On Behalf Of > >Alessandro > >> >Vernet > >> >Sent: 14 March 2006 02:20 > >> >To: [hidden email] > >> >Subject: Re: [ops-users] Problems call OPS from JSTL > >> > > >> >Ryan, > >> > > >> >And I assume you get the right data when you access the URL directly > >> >with your browser instead of through the <c:import>? > >> > > >> >Alex > >> > > >> >On 3/13/06, Ryan Puddephatt <[hidden email]> wrote: > >> >> > >> >> > >> >> > >> >> Hi all, > >> >> > >> >> I still can't get rid of this problem, I am calling from > >> >> JSP/JSTL to an OPS application to get XML, but I get an error, I > >dumped > >> >the > >> >> output of the XML to screen and see my Not Found page. When I check > >> >through > >> >> the URLs they are all rewritten to my JSP/JSTL application rather than > >my > >> >> OPS application. Any ideas why this is happening and how I can fix it? > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> Ryan Puddephatt > >> >> > >> >> Software Engineer > >> >> > >> >> TFX Group - IT UK > >> >> > >> >> 1 Michaelson Square > >> >> > >> >> Livingston > >> >> > >> >> West Lothian > >> >> > >> >> Scotand > >> >> > >> >> EH54 7DP > >> >> > >> >> > >> >> > >> >> * [hidden email] > >> >> > >> >> ( 01506 407 110 > >> >> > >> >> 7 01506 407 108 > >> >> > >> >> > >> >> > >> >> > >> >> ________________________________ > >> >> > >> >> > >> >> From: Ryan Puddephatt [mailto:[hidden email]] > >> >> Sent: 07 March 2006 16:11 > >> >> > >> >> To: [hidden email] > >> >> Subject: RE: [ops-users] Problems call OPS from JSTL > >> >> > >> >> > >> >> > >> >> > >> >> Sorry the error was org.apache.jasper.JasperException: > >> >> org.xml.sax.SAXParseException: White spaces are required between > >publicId > >> >> and systemId. > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> Ryan Puddephatt > >> >> > >> >> Software Engineer > >> >> > >> >> TFX Group - IT UK > >> >> > >> >> 1 Michaelson Square > >> >> > >> >> Livingston > >> >> > >> >> West Lothian > >> >> > >> >> Scotand > >> >> > >> >> EH54 7DP > >> >> > >> >> > >> >> > >> >> * [hidden email] > >> >> > >> >> ( 01506 407 110 > >> >> > >> >> 7 01506 407 108 > >> >> > >> >> > >> >> > >> >> > >> >> ________________________________ > >> >> > >> >> > >> >> From: Ryan Puddephatt [mailto:[hidden email]] > >> >> Sent: 07 March 2006 15:57 > >> >> To: [hidden email] > >> >> Subject: [ops-users] Problems call OPS from JSTL > >> >> > >> >> > >> >> > >> >> Hi all, > >> >> > >> >> I'm using a JSTL application which pulls its initial data > >> >from > >> >> OPS, I use <c:import var="tagXML" context="/peaUtilities" > >> >> url="/common/get-data-for-hierarchy"/> to get this! > >> >> However, when running this through a style sheet on the page I get the > >> >> following SAX Exception > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> I decided to dump the output of the import to the page and found this > >> >> > >> >> > >> >> > >> >> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> > >> >> <head> <meta http-equiv="Content-Type" content="text/html; > >charset=utf- > >> >8"> > >> >> <link rel="stylesheet" > >> >> href="/ruleHierarchy/config/theme/jscalendar/calendar-blue.css" > >> >> type="text/css"><script type="text/javascript" > >> >> > >src="/ruleHierarchy/config/theme/jscalendar/calendar.js"></script><script > >> >> type="text/javascript" > >> >> src="/ruleHierarchy/config/theme/jscalendar/lang/calendar- > >> >en.js"></script><script > >> >> type="text/javascript" > >> >> src="/ruleHierarchy/config/theme/jscalendar/calendar- > >> >setup.js"></script><link > >> >> rel="stylesheet" > >> >> href="/ruleHierarchy/config/theme/xforms.css" > >> >> type="text/css"> <link rel="stylesheet" > >> >> href="/ruleHierarchy/config/theme/orbeon.css" > >> >> type="text/css"><script type="text/javascript" > >> >> src="/ruleHierarchy/config/theme/javascript/xforms- > >> >style.js"></script><script > >> >> type="text/javascript" > >> >> src="/ruleHierarchy/ops/javascript/wz_tooltip.js"></script><script > >> >> type="text/javascript" > >> >> src="/ruleHierarchy/ops/javascript/overlib_mini.js"></script><script > >> >> type="text/javascript" > >> >> src="/ruleHierarchy/ops/javascript/time-utils.js"></script><script > >> >> type="text/javascript" > >> >> src="/ruleHierarchy/ops/javascript/sarissa.js"></script><script > >> >> type="text/javascript" > >> >> src="/ruleHierarchy/ops/javascript/xforms.js"></script><title>HTTP > >> >> 404 : Page not found</title><script type="text/javascript" > >> >> src="/ruleHierarchy/scripts/domUtil.js"></script><script > >> >> type="text/javascript" > >> >> src="/ruleHierarchy/scripts/sortTable.js"></script><script > >> >> type="text/javascript" > >> >> src="/ruleHierarchy/scripts/treeTable.js"></script><link > >> >> rel="stylesheet" href="/ruleHierarchy/stylesheets/pea.css" > >> >> type="text/css"> <link rel="stylesheet" > >> >> href="/ruleHierarchy/stylesheets/peaUtilities.css" > >> >> type="text/css"> <link > >> >> href="/ruleHierarchy/stylesheets/corporateIntranet.css" > >> >> type="text/css" rel="stylesheet"> </head> <body> <div class="header"> > >> ><div > >> >> class="headerpadding"> <table id="mainPageTable" cellpadding="0" > >> >> cellspacing="0" border="0" width="100%"> <tr > >> >> id="corporateLogoAndGKNLogoArea"> <td width="190" > >> >> align="left" id="corporateLogoCell"><a target="_blank" > >> >> > >> > >>href="http://homedev.teleflex.com/Intranet/TeleflexIncorporated/index.html > >" > >> >><img > >> >> id="corporateLogo" > >> >> src="/ruleHierarchy/images/intranetcorporatelogo.jpg" > >> >> alt="Teleflex Corporate Logo" border="0"></a></td> <td><img > >> >> id="logoGradient" > >> >> src="/ruleHierarchy/images/intranetcorporategradient.jpg" > >> >> alt="Gradient Image Filler" border="0"></td> <td > >> >id="gknHeaderLogoCell"><img > >> >> id="logo" align="right" src="/ruleHierarchy/images/pea-long.gif" > >> >> alt=":PEA"></td> </tr> </table> </div> </div> <form id="xforms-form" > >> >> class="xforms-form" > >> >> action="/ruleHierarchy/xforms-server-submit" method="POST" > >> >> onsubmit="return false"><input type="hidden" name="$static-state" > >> >> value="session:1BF2ADEA-BE79-9EEA-BEC2-C32FE78C07DD"><input > >> >> type="hidden" name="$dynamic-state" > >> >> value="session:81066652-AF66-C754-D103-F62B8B756B77"><input > >> >> type="hidden" name="$client-state" value=""><span > >> >> id="xforms-repeat-tree"></span><span > >> >> id="xforms-repeat-indexes"></span><span > >> >> class="xforms-loading-loading"><img > >> >> src="/ruleHierarchy/images/loading.gif" style="float: > >> >> left"> Loading... </span><span > >> >> class="xforms-loading-none"></span><span > >> >> class="xforms-loading-error"></span><h1 > >> >> class="PEAUtilities">Page Not Found</h1> <p> Sorry, the page you were > >> >trying > >> >> to retrieve does not exist.<br> (<span id="xforms-element-3" > >> >> class="xforms-control > >> >> xforms- > >> > >>output">http://localhost:8080/ruleHierarchy/jsp/RuleHierarchy.jsp</span>)< > >b > >> >r> > >> >> This might be because: </p> <ul> <li>You may have typed the web > >address > >> >> incorrectly. Please check the address and spelling ensuring that it > >does > >> >not > >> >> contain capital letters or spaces </li> <li>It is possible that the > >page > >> >you > >> >> were looking for may have been moved, updated or deleted.</li> </ul> > >> ><p></p> > >> >> <h3>Debug Information</h3> <p><b>requested-session-id: </b><span > >> >> id="xforms-element-4" class="xforms-control > >> >> xforms-output">4938A2C416E076FAAD2BA6AD0D4104A4</span><br><b>request- > >uri: > >> >> </b><span id="xforms-element-5" class="xforms-control > >> >> xforms- > >output">/ruleHierarchy/jsp/RuleHierarchy.jsp</span><br><b>request- > >> >url: > >> >> </b><span id="xforms-element-6" class="xforms-control > >> >> xforms- > >> > >>output">http://localhost:8080/ruleHierarchy/jsp/RuleHierarchy.jsp</span><b > >r > >> >><b>servlet-path: > >> >> </b><span id="xforms-element-7" class="xforms-control > >> >> xforms-output">/jsp/RuleHierarchy.jsp</span><br><b>request-path: > >> >> </b><span id="xforms-element-8" class="xforms-control > >> >> xforms-output">/jsp/RuleHierarchy.jsp</span><br></p> > >> >> </form> <table id="xforms-messages" style="display: none"> <tr> <td > >> >> style="padding-left: 1em"><img > >> >> src="/ruleHierarchy/images/error-large.gif" > >> >> alt="Error"></td> <td style="padding-right: 1em"> <p>Please check form > >> >for > >> >> invalid values</p> </td> </tr> </table> <hr> <div class="footer"> > ><table > >> >> width="100%"> <tr id="footerRow" class="footer"> <td > >class="footerCell" > >> >> colspan="2"><a > >> >> > >> > >>href="mailto:[hidden email]?Subject=PEA%20Site%20Question&Body= > >P > >> >lease%20enter%20the%20details%20of%20your%20question%20here..." > >> >> class="footerMenuLink">Site Problems</a> | <a > >> >> > >> > >>href="mailto:[hidden email]?Subject=PEA%20Process%20Question& > >B > >> >ody=Please%20enter%20the%20details%20of%20your%20question%20here..." > >> >> class="footerMenuLink"> PEA Problems</a></td> </tr> <tr> <td > >> >> class="copyright" colspan="2">2006 Teleflex Incorporated. All rights > >> >> reserved</td> </tr> <tr> <td class="copyright" colspan="2" > >> >color="red"><font > >> >> color="red"><strong>Development Version</strong><ul> <li>You are: > >()</li> > >> >> <li>Default Tamino: </li> <li>Site prefix for mail links: > >> >> http://localhost:8888/pea/</li> </ul></font></td> </tr> </table> > ></div> > >> >> </body> </html> > >> >> > >> >> > >> >> > >> >> It's my Not Found page except all the URLs have been rewritten to the > >> >> context of my current application "ruleHierarchy", which I'm guessing > >is > >> >the > >> >> reason for the Not Found page, because if I type the address into the > >> >> browser it works and if I type the full HTTP address into the c:import > >it > >> >> also works! Any ideas why OPS is rewriting the URL like this, or what > >the > >> >> problem is? Is there anyway I can get more information on where the > >> >problem > >> >> lies? > >> >> > >> >> > >> >> > >> >> Thanks > >> >> > >> >> > >> >> > >> >> Ryan Puddephatt > >> >> > >> >> Software Engineer > >> >> > >> >> TFX Group - IT UK > >> >> > >> >> 1 Michaelson Square > >> >> > >> >> Livingston > >> >> > >> >> West Lothian > >> >> > >> >> Scotand > >> >> > >> >> EH54 7DP > >> >> > >> >> > >> >> > >> >> * [hidden email] > >> >> > >> >> ( 01506 407 110 > >> >> > >> >> 7 01506 407 108 > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> -- > >> >> You receive this message as a subscriber of the ops- > >[hidden email] > >> >> mailing list. > >> >> To unsubscribe: mailto:[hidden email] > >> >> For general help: mailto:[hidden email]?subject=help > >> >> ObjectWeb mailing lists service home page: > >http://www.objectweb.org/wws > >> >> > >> >> > >> >> > >> > > >> > > >> >-- > >> >Blog (XML, Web apps, Open Source): > >> >http://www.orbeon.com/blog/ > >> > >> > >> > >> > >> > >> > >> -- > >> You receive this message as a subscriber of the [hidden email] > >mailing list. > >> To unsubscribe: mailto:[hidden email] > >> For general help: mailto:[hidden email]?subject=help > >> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > >> > >> > >> > > > > > >-- > >Blog (XML, Web apps, Open Source): > >http://www.orbeon.com/blog/ > > > > > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > > > -- Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Alex,
The ruleHierarchy is a separate application from OPS, it seemed similar that way. The JSP app makes its call to a URI that runs an XPL to give raw XML. JSTL calls the url with <c:import context="/peaUtilities" url="/common/get-data-for-hierarchy"/> It appears its not a direct call because I had to enable the crossContext attribute on tomcat, looking at the tomcat docs (http://tomcat.apache.org/tomcat-5.5-doc/config/context.html) It says this "Set to true if you want calls within this application to ServletContext.getContext() to successfully return a request dispatcher for other web applications running on this virtual host. Set to false (the default) in security conscious environments, to make getContext() always return null." I don't know how OPS would get the url that is being called, but the request processor doesn't show anything useful and the "Request Received" entry in the logging events shows "/jsp/RuleHierarcy.jsp" which is the URL making the call, I tried putting this in the page-flow (as a hack), but no joy I guess because it's a file rather than a URI I think the JSTL isn't giving OPS the URI as it would expect, therefore its showing the not found page. I'm guessing its something to do with this ServletContext.getContext() function Hope this helps Ryan Puddephatt Software Engineer TFX Group - IT UK 1 Michaelson Square Livingston West Lothian Scotand EH54 7DP * [hidden email] ( 01506 407 110 7 01506 407 108 >-----Original Message----- >From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro >Vernet >Sent: 24 March 2006 00:13 >To: [hidden email] >Subject: Re: [ops-users] Problems call OPS from JSTL > >Ryan, > >How does the include happen in the JSTL/JSP application >(ruleHierarchy)? How would PresentationServer have a chance to >intercept the URL? I guess the ruleHierarchy application is in a war >file that contains PresentationServer? Is the epilogue running on the >output of the JSP? > >Yes, I know, I was supposed to answer your question, not ask more questions >:). > >Alex > >On 3/21/06, Ryan Puddephatt <[hidden email]> wrote: >> Alex, >> I might be wrong in assuming its rewriting! I'll try to explain >it a >> little better! I have a JSTL/JSP app (ruleHierarchy) which calls my OPS >app >> to get an XML it calls the URL using context "peaUtilities" and url >> "common/get-data-for-hierarchy". This was giving me an error, so I dumped >> what it was returning to the page and could see OPS was giving me the >> not-found page, but when I looked at all the URLs (for images, css etc.) >> they were all showing the context of /ruleHierarchy rather than >> /peaUtilities (hence I thought it was a url rewrite). >> >> I am assuming this is why OPS showed the not-found page. I have a nasty >work >> around of displaying the XML instead of the not-found page for certain >> conditions, but its not ideal! >> >> Any ideas? I could build two small (JSP, OPS) test cases it you wanted, >but >> they would be full Apps. (or I can copy what OPS returns) >> >> Hopefully I have explained it a little better! >> >> Ryan Puddephatt >> Software Engineer >> TFX Group - IT UK >> 1 Michaelson Square >> Livingston >> West Lothian >> Scotand >> EH54 7DP >> >> * [hidden email] >> ( 01506 407 110 >> 7 01506 407 108 >> >> >> >-----Original Message----- >> >From: [hidden email] [mailto:[hidden email]] On Behalf Of >Alessandro >> >Vernet >> >Sent: 20 March 2006 22:53 >> >To: [hidden email] >> >Subject: Re: [ops-users] Problems call OPS from JSTL >> > >> >Hi Ryan, >> > >> >I am not sure to understand the problem. It looks like you are loading >> >from a ruleHierarchy application the URL >> >/peaUtilities/common/get-data-for-hierarchy. This URL is served by >> >PresentationServer, and PresentationServer is returning Not Found >> >page. But where does PresentationServer do a rewrite? I think I must >> >be missing something. >> > >> >Alex >> > >> >On 3/16/06, Ryan Puddephatt <[hidden email]> wrote: >> >> Alex, it works fine. It seems OPS is rewriting the URL to the >application >> >> that is calling it (ruleHierarchy) not the application being called >> >> (peaUtilities) Any ideas? >> >> >> >> Ryan Puddephatt >> >> Software Engineer >> >> TFX Group - IT UK >> >> 1 Michaelson Square >> >> Livingston >> >> West Lothian >> >> Scotand >> >> EH54 7DP >> >> >> >> * [hidden email] >> >> ( 01506 407 110 >> >> 7 01506 407 108 >> >> >> >> >> >> >-----Original Message----- >> >> >From: [hidden email] [mailto:[hidden email]] On Behalf Of >> >Alessandro >> >> >Vernet >> >> >Sent: 14 March 2006 02:20 >> >> >To: [hidden email] >> >> >Subject: Re: [ops-users] Problems call OPS from JSTL >> >> > >> >> >Ryan, >> >> > >> >> >And I assume you get the right data when you access the URL directly >> >> >with your browser instead of through the <c:import>? >> >> > >> >> >Alex >> >> > >> >> >On 3/13/06, Ryan Puddephatt <[hidden email]> wrote: >> >> >> >> >> >> >> >> >> >> >> >> Hi all, >> >> >> >> >> >> I still can't get rid of this problem, I am calling >from >> >> >> JSP/JSTL to an OPS application to get XML, but I get an error, I >> >dumped >> >> >the >> >> >> output of the XML to screen and see my Not Found page. When I check >> >> >through >> >> >> the URLs they are all rewritten to my JSP/JSTL application rather >than >> >my >> >> >> OPS application. Any ideas why this is happening and how I can fix >it? >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> Ryan Puddephatt >> >> >> >> >> >> Software Engineer >> >> >> >> >> >> TFX Group - IT UK >> >> >> >> >> >> 1 Michaelson Square >> >> >> >> >> >> Livingston >> >> >> >> >> >> West Lothian >> >> >> >> >> >> Scotand >> >> >> >> >> >> EH54 7DP >> >> >> >> >> >> >> >> >> >> >> >> * [hidden email] >> >> >> >> >> >> ( 01506 407 110 >> >> >> >> >> >> 7 01506 407 108 >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> ________________________________ >> >> >> >> >> >> >> >> >> From: Ryan Puddephatt [mailto:[hidden email]] >> >> >> Sent: 07 March 2006 16:11 >> >> >> >> >> >> To: [hidden email] >> >> >> Subject: RE: [ops-users] Problems call OPS from JSTL >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> Sorry the error was org.apache.jasper.JasperException: >> >> >> org.xml.sax.SAXParseException: White spaces are required between >> >publicId >> >> >> and systemId. >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> Ryan Puddephatt >> >> >> >> >> >> Software Engineer >> >> >> >> >> >> TFX Group - IT UK >> >> >> >> >> >> 1 Michaelson Square >> >> >> >> >> >> Livingston >> >> >> >> >> >> West Lothian >> >> >> >> >> >> Scotand >> >> >> >> >> >> EH54 7DP >> >> >> >> >> >> >> >> >> >> >> >> * [hidden email] >> >> >> >> >> >> ( 01506 407 110 >> >> >> >> >> >> 7 01506 407 108 >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> ________________________________ >> >> >> >> >> >> >> >> >> From: Ryan Puddephatt [mailto:[hidden email]] >> >> >> Sent: 07 March 2006 15:57 >> >> >> To: [hidden email] >> >> >> Subject: [ops-users] Problems call OPS from JSTL >> >> >> >> >> >> >> >> >> >> >> >> Hi all, >> >> >> >> >> >> I'm using a JSTL application which pulls its initial >data >> >> >from >> >> >> OPS, I use <c:import var="tagXML" context="/peaUtilities" >> >> >> url="/common/get-data-for-hierarchy"/> to get this! >> >> >> However, when running this through a style sheet on the page I get >the >> >> >> following SAX Exception >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> I decided to dump the output of the import to the page and found >this >> >> >> >> >> >> >> >> >> >> >> >> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> ><html> >> >> >> <head> <meta http-equiv="Content-Type" content="text/html; >> >charset=utf- >> >> >8"> >> >> >> <link rel="stylesheet" >> >> >> href="/ruleHierarchy/config/theme/jscalendar/calendar-blue.css" >> >> >> type="text/css"><script type="text/javascript" >> >> >> >> >>src="/ruleHierarchy/config/theme/jscalendar/calendar.js"></script><script >> >> >> type="text/javascript" >> >> >> src="/ruleHierarchy/config/theme/jscalendar/lang/calendar- >> >> >en.js"></script><script >> >> >> type="text/javascript" >> >> >> src="/ruleHierarchy/config/theme/jscalendar/calendar- >> >> >setup.js"></script><link >> >> >> rel="stylesheet" >> >> >> href="/ruleHierarchy/config/theme/xforms.css" >> >> >> type="text/css"> <link rel="stylesheet" >> >> >> href="/ruleHierarchy/config/theme/orbeon.css" >> >> >> type="text/css"><script type="text/javascript" >> >> >> src="/ruleHierarchy/config/theme/javascript/xforms- >> >> >style.js"></script><script >> >> >> type="text/javascript" >> >> >> src="/ruleHierarchy/ops/javascript/wz_tooltip.js"></script><script >> >> >> type="text/javascript" >> >> >> >src="/ruleHierarchy/ops/javascript/overlib_mini.js"></script><script >> >> >> type="text/javascript" >> >> >> src="/ruleHierarchy/ops/javascript/time-utils.js"></script><script >> >> >> type="text/javascript" >> >> >> src="/ruleHierarchy/ops/javascript/sarissa.js"></script><script >> >> >> type="text/javascript" >> >> >> src="/ruleHierarchy/ops/javascript/xforms.js"></script><title>HTTP >> >> >> 404 : Page not found</title><script type="text/javascript" >> >> >> src="/ruleHierarchy/scripts/domUtil.js"></script><script >> >> >> type="text/javascript" >> >> >> src="/ruleHierarchy/scripts/sortTable.js"></script><script >> >> >> type="text/javascript" >> >> >> src="/ruleHierarchy/scripts/treeTable.js"></script><link >> >> >> rel="stylesheet" href="/ruleHierarchy/stylesheets/pea.css" >> >> >> type="text/css"> <link rel="stylesheet" >> >> >> href="/ruleHierarchy/stylesheets/peaUtilities.css" >> >> >> type="text/css"> <link >> >> >> href="/ruleHierarchy/stylesheets/corporateIntranet.css" >> >> >> type="text/css" rel="stylesheet"> </head> <body> <div >class="header"> >> >> ><div >> >> >> class="headerpadding"> <table id="mainPageTable" cellpadding="0" >> >> >> cellspacing="0" border="0" width="100%"> <tr >> >> >> id="corporateLogoAndGKNLogoArea"> <td width="190" >> >> >> align="left" id="corporateLogoCell"><a target="_blank" >> >> >> >> >> >> >>>href="http://homedev.teleflex.com/Intranet/TeleflexIncorporated/index.htm >l >> >" >> >> >><img >> >> >> id="corporateLogo" >> >> >> src="/ruleHierarchy/images/intranetcorporatelogo.jpg" >> >> >> alt="Teleflex Corporate Logo" border="0"></a></td> <td><img >> >> >> id="logoGradient" >> >> >> src="/ruleHierarchy/images/intranetcorporategradient.jpg" >> >> >> alt="Gradient Image Filler" border="0"></td> <td >> >> >id="gknHeaderLogoCell"><img >> >> >> id="logo" align="right" src="/ruleHierarchy/images/pea-long.gif" >> >> >> alt=":PEA"></td> </tr> </table> </div> </div> <form id="xforms- >form" >> >> >> class="xforms-form" >> >> >> action="/ruleHierarchy/xforms-server-submit" method="POST" >> >> >> onsubmit="return false"><input type="hidden" name="$static-state" >> >> >> value="session:1BF2ADEA-BE79-9EEA-BEC2-C32FE78C07DD"><input >> >> >> type="hidden" name="$dynamic-state" >> >> >> value="session:81066652-AF66-C754-D103-F62B8B756B77"><input >> >> >> type="hidden" name="$client-state" value=""><span >> >> >> id="xforms-repeat-tree"></span><span >> >> >> id="xforms-repeat-indexes"></span><span >> >> >> class="xforms-loading-loading"><img >> >> >> src="/ruleHierarchy/images/loading.gif" style="float: >> >> >> left"> Loading... </span><span >> >> >> class="xforms-loading-none"></span><span >> >> >> class="xforms-loading-error"></span><h1 >> >> >> class="PEAUtilities">Page Not Found</h1> <p> Sorry, the page you >were >> >> >trying >> >> >> to retrieve does not exist.<br> (<span id="xforms-element-3" >> >> >> class="xforms-control >> >> >> xforms- >> >> >> >>>output">http://localhost:8080/ruleHierarchy/jsp/RuleHierarchy.jsp</span>) >< >> >b >> >> >r> >> >> >> This might be because: </p> <ul> <li>You may have typed the web >> >address >> >> >> incorrectly. Please check the address and spelling ensuring that it >> >does >> >> >not >> >> >> contain capital letters or spaces </li> <li>It is possible that the >> >page >> >> >you >> >> >> were looking for may have been moved, updated or deleted.</li> ></ul> >> >> ><p></p> >> >> >> <h3>Debug Information</h3> <p><b>requested-session-id: </b><span >> >> >> id="xforms-element-4" class="xforms-control >> >> >> xforms- >output">4938A2C416E076FAAD2BA6AD0D4104A4</span><br><b>request- >> >uri: >> >> >> </b><span id="xforms-element-5" class="xforms-control >> >> >> xforms- >> >output">/ruleHierarchy/jsp/RuleHierarchy.jsp</span><br><b>request- >> >> >url: >> >> >> </b><span id="xforms-element-6" class="xforms-control >> >> >> xforms- >> >> >> >>>output">http://localhost:8080/ruleHierarchy/jsp/RuleHierarchy.jsp</span>< >b >> >r >> >> >><b>servlet-path: >> >> >> </b><span id="xforms-element-7" class="xforms-control >> >> >> xforms-output">/jsp/RuleHierarchy.jsp</span><br><b>request-path: >> >> >> </b><span id="xforms-element-8" class="xforms-control >> >> >> xforms-output">/jsp/RuleHierarchy.jsp</span><br></p> >> >> >> </form> <table id="xforms-messages" style="display: none"> <tr> <td >> >> >> style="padding-left: 1em"><img >> >> >> src="/ruleHierarchy/images/error-large.gif" >> >> >> alt="Error"></td> <td style="padding-right: 1em"> <p>Please check >form >> >> >for >> >> >> invalid values</p> </td> </tr> </table> <hr> <div class="footer"> >> ><table >> >> >> width="100%"> <tr id="footerRow" class="footer"> <td >> >class="footerCell" >> >> >> colspan="2"><a >> >> >> >> >> >> >>>href="mailto:[hidden email]?Subject=PEA%20Site%20Question&Body >= >> >P >> >> >lease%20enter%20the%20details%20of%20your%20question%20here..." >> >> >> class="footerMenuLink">Site Problems</a> | <a >> >> >> >> >> >> >>>href="mailto:[hidden email]?Subject=PEA%20Process%20Question& >; >> >B >> >> >ody=Please%20enter%20the%20details%20of%20your%20question%20here..." >> >> >> class="footerMenuLink"> PEA Problems</a></td> </tr> <tr> <td >> >> >> class="copyright" colspan="2">2006 Teleflex Incorporated. All >rights >> >> >> reserved</td> </tr> <tr> <td class="copyright" colspan="2" >> >> >color="red"><font >> >> >> color="red"><strong>Development Version</strong><ul> <li>You are: >> >()</li> >> >> >> <li>Default Tamino: </li> <li>Site prefix for mail links: >> >> >> http://localhost:8888/pea/</li> </ul></font></td> </tr> </table> >> ></div> >> >> >> </body> </html> >> >> >> >> >> >> >> >> >> >> >> >> It's my Not Found page except all the URLs have been rewritten to >the >> >> >> context of my current application "ruleHierarchy", which I'm >guessing >> >is >> >> >the >> >> >> reason for the Not Found page, because if I type the address into >the >> >> >> browser it works and if I type the full HTTP address into the >c:import >> >it >> >> >> also works! Any ideas why OPS is rewriting the URL like this, or >what >> >the >> >> >> problem is? Is there anyway I can get more information on where the >> >> >problem >> >> >> lies? >> >> >> >> >> >> >> >> >> >> >> >> Thanks >> >> >> >> >> >> >> >> >> >> >> >> Ryan Puddephatt >> >> >> >> >> >> Software Engineer >> >> >> >> >> >> TFX Group - IT UK >> >> >> >> >> >> 1 Michaelson Square >> >> >> >> >> >> Livingston >> >> >> >> >> >> West Lothian >> >> >> >> >> >> Scotand >> >> >> >> >> >> EH54 7DP >> >> >> >> >> >> >> >> >> >> >> >> * [hidden email] >> >> >> >> >> >> ( 01506 407 110 >> >> >> >> >> >> 7 01506 407 108 >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> -- >> >> >> You receive this message as a subscriber of the ops- >> >[hidden email] >> >> >> mailing list. >> >> >> To unsubscribe: mailto:[hidden email] >> >> >> For general help: mailto:[hidden email]?subject=help >> >> >> ObjectWeb mailing lists service home page: >> >http://www.objectweb.org/wws >> >> >> >> >> >> >> >> >> >> >> > >> >> > >> >> >-- >> >> >Blog (XML, Web apps, Open Source): >> >> >http://www.orbeon.com/blog/ >> >> >> >> >> >> >> >> >> >> >> >> >> >> -- >> >> You receive this message as a subscriber of the ops- >[hidden email] >> >mailing list. >> >> To unsubscribe: mailto:[hidden email] >> >> For general help: mailto:[hidden email]?subject=help >> >> ObjectWeb mailing lists service home page: >http://www.objectweb.org/wws >> >> >> >> >> >> >> > >> > >> >-- >> >Blog (XML, Web apps, Open Source): >> >http://www.orbeon.com/blog/ >> >> >> >> >> >> >> -- >> You receive this message as a subscriber of the [hidden email] >mailing list. >> To unsubscribe: mailto:[hidden email] >> For general help: mailto:[hidden email]?subject=help >> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws >> >> >> > > >-- >Blog (XML, Web apps, Open Source): >http://www.orbeon.com/blog/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
On 3/24/06, Ryan Puddephatt <[hidden email]> wrote:
> It appears its not a direct call because I had to enable the crossContext > attribute on tomcat, looking at the tomcat docs > (http://tomcat.apache.org/tomcat-5.5-doc/config/context.html) It says this Interesting; I don't think this is something we have ever tried. Are you saying that using your <c:import> works if you disable the crossContext option in Tomcat (which is apparently the default)? Alex -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
In reply to this post by Ryan Puddephatt
Alex,
I have to enable the crossContext attribute, this allows the ruleHierarchy (JSP) app to find peaUtilities (OPS), but peaUtilities thinks the call being made is for the ruleHierarchy context not the peaUtilities context. Ryan Ryan Puddephatt Software Engineer TFX Group - IT UK 1 Michaelson Square Livingston West Lothian Scotand EH54 7DP * [hidden email] ( 01506 407 110 7 01506 407 108 >-----Original Message----- >From: [hidden email] [mailto:[hidden email]] On Behalf Of >Alessandro Vernet >Sent: 28 March 2006 00:16 >To: [hidden email] >Subject: Re: [ops-users] Problems call OPS from JSTL > >On 3/24/06, Ryan Puddephatt <[hidden email]> wrote: >> It appears its not a direct call because I had to enable the >> crossContext attribute on tomcat, looking at the tomcat docs >> (http://tomcat.apache.org/tomcat-5.5-doc/config/context.html) It says >this > >Interesting; I don't think this is something we have ever tried. Are >you saying that using your <c:import> works if you disable the >crossContext option in Tomcat (which is apparently the default)? > >Alex -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
In reply to this post by Ryan Puddephatt
Alex,
Any ideas what is causeing this? Ryan Ryan Puddephatt Software Engineer TFX Group - IT UK 1 Michaelson Square Livingston West Lothian Scotand EH54 7DP * [hidden email] ( 01506 407 110 7 01506 407 108 >-----Original Message----- >From: Ryan Puddephatt [mailto:[hidden email]] >Sent: 21 March 2006 10:20 >To: [hidden email] >Subject: RE: [ops-users] Problems call OPS from JSTL > >Alex, > I might be wrong in assuming its rewriting! I'll try to explain it a >little better! I have a JSTL/JSP app (ruleHierarchy) which calls my OPS app >to get an XML it calls the URL using context "peaUtilities" and url >"common/get-data-for-hierarchy". This was giving me an error, so I dumped >what it was returning to the page and could see OPS was giving me the >not-found page, but when I looked at all the URLs (for images, css etc.) >they were all showing the context of /ruleHierarchy rather than >/peaUtilities (hence I thought it was a url rewrite). > >I am assuming this is why OPS showed the not-found page. I have a nasty >work >around of displaying the XML instead of the not-found page for certain >conditions, but its not ideal! > >Any ideas? I could build two small (JSP, OPS) test cases it you wanted, but >they would be full Apps. (or I can copy what OPS returns) > >Hopefully I have explained it a little better! > >Ryan Puddephatt >Software Engineer >TFX Group - IT UK >1 Michaelson Square >Livingston >West Lothian >Scotand >EH54 7DP > >* [hidden email] >( 01506 407 110 >7 01506 407 108 > > >>-----Original Message----- >>From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro >>Vernet >>Sent: 20 March 2006 22:53 >>To: [hidden email] >>Subject: Re: [ops-users] Problems call OPS from JSTL >> >>Hi Ryan, >> >>I am not sure to understand the problem. It looks like you are loading >>from a ruleHierarchy application the URL >>/peaUtilities/common/get-data-for-hierarchy. This URL is served by >>PresentationServer, and PresentationServer is returning Not Found >>page. But where does PresentationServer do a rewrite? I think I must >>be missing something. >> >>Alex >> >>On 3/16/06, Ryan Puddephatt <[hidden email]> wrote: >>> Alex, it works fine. It seems OPS is rewriting the URL to the >application >>> that is calling it (ruleHierarchy) not the application being called >>> (peaUtilities) Any ideas? >>> >>> Ryan Puddephatt >>> Software Engineer >>> TFX Group - IT UK >>> 1 Michaelson Square >>> Livingston >>> West Lothian >>> Scotand >>> EH54 7DP >>> >>> * [hidden email] >>> ( 01506 407 110 >>> 7 01506 407 108 >>> >>> >>> >-----Original Message----- >>> >From: [hidden email] [mailto:[hidden email]] On Behalf Of >>Alessandro >>> >Vernet >>> >Sent: 14 March 2006 02:20 >>> >To: [hidden email] >>> >Subject: Re: [ops-users] Problems call OPS from JSTL >>> > >>> >Ryan, >>> > >>> >And I assume you get the right data when you access the URL directly >>> >with your browser instead of through the <c:import>? >>> > >>> >Alex >>> > >>> >On 3/13/06, Ryan Puddephatt <[hidden email]> wrote: >>> >> >>> >> >>> >> >>> >> Hi all, >>> >> >>> >> I still can't get rid of this problem, I am calling from >>> >> JSP/JSTL to an OPS application to get XML, but I get an error, I >>dumped >>> >the >>> >> output of the XML to screen and see my Not Found page. When I check >>> >through >>> >> the URLs they are all rewritten to my JSP/JSTL application rather >than >>my >>> >> OPS application. Any ideas why this is happening and how I can fix >it? >>> >> >>> >> >>> >> >>> >> >>> >> >>> >> Ryan Puddephatt >>> >> >>> >> Software Engineer >>> >> >>> >> TFX Group - IT UK >>> >> >>> >> 1 Michaelson Square >>> >> >>> >> Livingston >>> >> >>> >> West Lothian >>> >> >>> >> Scotand >>> >> >>> >> EH54 7DP >>> >> >>> >> >>> >> >>> >> * [hidden email] >>> >> >>> >> ( 01506 407 110 >>> >> >>> >> 7 01506 407 108 >>> >> >>> >> >>> >> >>> >> >>> >> ________________________________ >>> >> >>> >> >>> >> From: Ryan Puddephatt [mailto:[hidden email]] >>> >> Sent: 07 March 2006 16:11 >>> >> >>> >> To: [hidden email] >>> >> Subject: RE: [ops-users] Problems call OPS from JSTL >>> >> >>> >> >>> >> >>> >> >>> >> Sorry the error was org.apache.jasper.JasperException: >>> >> org.xml.sax.SAXParseException: White spaces are required between >>publicId >>> >> and systemId. >>> >> >>> >> >>> >> >>> >> >>> >> >>> >> >>> >> >>> >> Ryan Puddephatt >>> >> >>> >> Software Engineer >>> >> >>> >> TFX Group - IT UK >>> >> >>> >> 1 Michaelson Square >>> >> >>> >> Livingston >>> >> >>> >> West Lothian >>> >> >>> >> Scotand >>> >> >>> >> EH54 7DP >>> >> >>> >> >>> >> >>> >> * [hidden email] >>> >> >>> >> ( 01506 407 110 >>> >> >>> >> 7 01506 407 108 >>> >> >>> >> >>> >> >>> >> >>> >> ________________________________ >>> >> >>> >> >>> >> From: Ryan Puddephatt [mailto:[hidden email]] >>> >> Sent: 07 March 2006 15:57 >>> >> To: [hidden email] >>> >> Subject: [ops-users] Problems call OPS from JSTL >>> >> >>> >> >>> >> >>> >> Hi all, >>> >> >>> >> I'm using a JSTL application which pulls its initial data >>> >from >>> >> OPS, I use <c:import var="tagXML" context="/peaUtilities" >>> >> url="/common/get-data-for-hierarchy"/> to get this! >>> >> However, when running this through a style sheet on the page I get >the >>> >> following SAX Exception >>> >> >>> >> >>> >> >>> >> >>> >> >>> >> I decided to dump the output of the import to the page and found this >>> >> >>> >> >>> >> >>> >> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> ><html> >>> >> <head> <meta http-equiv="Content-Type" content="text/html; >>charset=utf- >>> >8"> >>> >> <link rel="stylesheet" >>> >> href="/ruleHierarchy/config/theme/jscalendar/calendar-blue.css" >>> >> type="text/css"><script type="text/javascript" >>> >> >>src="/ruleHierarchy/config/theme/jscalendar/calendar.js"></script><script >>> >> type="text/javascript" >>> >> src="/ruleHierarchy/config/theme/jscalendar/lang/calendar- >>> >en.js"></script><script >>> >> type="text/javascript" >>> >> src="/ruleHierarchy/config/theme/jscalendar/calendar- >>> >setup.js"></script><link >>> >> rel="stylesheet" >>> >> href="/ruleHierarchy/config/theme/xforms.css" >>> >> type="text/css"> <link rel="stylesheet" >>> >> href="/ruleHierarchy/config/theme/orbeon.css" >>> >> type="text/css"><script type="text/javascript" >>> >> src="/ruleHierarchy/config/theme/javascript/xforms- >>> >style.js"></script><script >>> >> type="text/javascript" >>> >> src="/ruleHierarchy/ops/javascript/wz_tooltip.js"></script><script >>> >> type="text/javascript" >>> >> src="/ruleHierarchy/ops/javascript/overlib_mini.js"></script><script >>> >> type="text/javascript" >>> >> src="/ruleHierarchy/ops/javascript/time-utils.js"></script><script >>> >> type="text/javascript" >>> >> src="/ruleHierarchy/ops/javascript/sarissa.js"></script><script >>> >> type="text/javascript" >>> >> src="/ruleHierarchy/ops/javascript/xforms.js"></script><title>HTTP >>> >> 404 : Page not found</title><script type="text/javascript" >>> >> src="/ruleHierarchy/scripts/domUtil.js"></script><script >>> >> type="text/javascript" >>> >> src="/ruleHierarchy/scripts/sortTable.js"></script><script >>> >> type="text/javascript" >>> >> src="/ruleHierarchy/scripts/treeTable.js"></script><link >>> >> rel="stylesheet" href="/ruleHierarchy/stylesheets/pea.css" >>> >> type="text/css"> <link rel="stylesheet" >>> >> href="/ruleHierarchy/stylesheets/peaUtilities.css" >>> >> type="text/css"> <link >>> >> href="/ruleHierarchy/stylesheets/corporateIntranet.css" >>> >> type="text/css" rel="stylesheet"> </head> <body> <div class="header"> >>> ><div >>> >> class="headerpadding"> <table id="mainPageTable" cellpadding="0" >>> >> cellspacing="0" border="0" width="100%"> <tr >>> >> id="corporateLogoAndGKNLogoArea"> <td width="190" >>> >> align="left" id="corporateLogoCell"><a target="_blank" >>> >> >>> >>>href="http://homedev.teleflex.com/Intranet/TeleflexIncorporated/index.htm >l >>" >>> >><img >>> >> id="corporateLogo" >>> >> src="/ruleHierarchy/images/intranetcorporatelogo.jpg" >>> >> alt="Teleflex Corporate Logo" border="0"></a></td> <td><img >>> >> id="logoGradient" >>> >> src="/ruleHierarchy/images/intranetcorporategradient.jpg" >>> >> alt="Gradient Image Filler" border="0"></td> <td >>> >id="gknHeaderLogoCell"><img >>> >> id="logo" align="right" src="/ruleHierarchy/images/pea-long.gif" >>> >> alt=":PEA"></td> </tr> </table> </div> </div> <form id="xforms-form" >>> >> class="xforms-form" >>> >> action="/ruleHierarchy/xforms-server-submit" method="POST" >>> >> onsubmit="return false"><input type="hidden" name="$static-state" >>> >> value="session:1BF2ADEA-BE79-9EEA-BEC2-C32FE78C07DD"><input >>> >> type="hidden" name="$dynamic-state" >>> >> value="session:81066652-AF66-C754-D103-F62B8B756B77"><input >>> >> type="hidden" name="$client-state" value=""><span >>> >> id="xforms-repeat-tree"></span><span >>> >> id="xforms-repeat-indexes"></span><span >>> >> class="xforms-loading-loading"><img >>> >> src="/ruleHierarchy/images/loading.gif" style="float: >>> >> left"> Loading... </span><span >>> >> class="xforms-loading-none"></span><span >>> >> class="xforms-loading-error"></span><h1 >>> >> class="PEAUtilities">Page Not Found</h1> <p> Sorry, the page you were >>> >trying >>> >> to retrieve does not exist.<br> (<span id="xforms-element-3" >>> >> class="xforms-control >>> >> xforms- >>> >>>output">http://localhost:8080/ruleHierarchy/jsp/RuleHierarchy.jsp</span>) >< >>b >>> >r> >>> >> This might be because: </p> <ul> <li>You may have typed the web >>address >>> >> incorrectly. Please check the address and spelling ensuring that it >>does >>> >not >>> >> contain capital letters or spaces </li> <li>It is possible that the >>page >>> >you >>> >> were looking for may have been moved, updated or deleted.</li> </ul> >>> ><p></p> >>> >> <h3>Debug Information</h3> <p><b>requested-session-id: </b><span >>> >> id="xforms-element-4" class="xforms-control >>> >> xforms-output">4938A2C416E076FAAD2BA6AD0D4104A4</span><br><b>request- >>uri: >>> >> </b><span id="xforms-element-5" class="xforms-control >>> >> xforms- >>output">/ruleHierarchy/jsp/RuleHierarchy.jsp</span><br><b>request- >>> >url: >>> >> </b><span id="xforms-element-6" class="xforms-control >>> >> xforms- >>> >>>output">http://localhost:8080/ruleHierarchy/jsp/RuleHierarchy.jsp</span>< >b >>r >>> >><b>servlet-path: >>> >> </b><span id="xforms-element-7" class="xforms-control >>> >> xforms-output">/jsp/RuleHierarchy.jsp</span><br><b>request-path: >>> >> </b><span id="xforms-element-8" class="xforms-control >>> >> xforms-output">/jsp/RuleHierarchy.jsp</span><br></p> >>> >> </form> <table id="xforms-messages" style="display: none"> <tr> <td >>> >> style="padding-left: 1em"><img >>> >> src="/ruleHierarchy/images/error-large.gif" >>> >> alt="Error"></td> <td style="padding-right: 1em"> <p>Please check >form >>> >for >>> >> invalid values</p> </td> </tr> </table> <hr> <div class="footer"> >><table >>> >> width="100%"> <tr id="footerRow" class="footer"> <td >>class="footerCell" >>> >> colspan="2"><a >>> >> >>> >>>href="mailto:[hidden email]?Subject=PEA%20Site%20Question&Body >= >>P >>> >lease%20enter%20the%20details%20of%20your%20question%20here..." >>> >> class="footerMenuLink">Site Problems</a> | <a >>> >> >>> >>>href="mailto:[hidden email]?Subject=PEA%20Process%20Question& >; >>B >>> >ody=Please%20enter%20the%20details%20of%20your%20question%20here..." >>> >> class="footerMenuLink"> PEA Problems</a></td> </tr> <tr> <td >>> >> class="copyright" colspan="2">2006 Teleflex Incorporated. All rights >>> >> reserved</td> </tr> <tr> <td class="copyright" colspan="2" >>> >color="red"><font >>> >> color="red"><strong>Development Version</strong><ul> <li>You are: >>()</li> >>> >> <li>Default Tamino: </li> <li>Site prefix for mail links: >>> >> http://localhost:8888/pea/</li> </ul></font></td> </tr> </table> >></div> >>> >> </body> </html> >>> >> >>> >> >>> >> >>> >> It's my Not Found page except all the URLs have been rewritten to the >>> >> context of my current application "ruleHierarchy", which I'm guessing >>is >>> >the >>> >> reason for the Not Found page, because if I type the address into the >>> >> browser it works and if I type the full HTTP address into the >c:import >>it >>> >> also works! Any ideas why OPS is rewriting the URL like this, or what >>the >>> >> problem is? Is there anyway I can get more information on where the >>> >problem >>> >> lies? >>> >> >>> >> >>> >> >>> >> Thanks >>> >> >>> >> >>> >> >>> >> Ryan Puddephatt >>> >> >>> >> Software Engineer >>> >> >>> >> TFX Group - IT UK >>> >> >>> >> 1 Michaelson Square >>> >> >>> >> Livingston >>> >> >>> >> West Lothian >>> >> >>> >> Scotand >>> >> >>> >> EH54 7DP >>> >> >>> >> >>> >> >>> >> * [hidden email] >>> >> >>> >> ( 01506 407 110 >>> >> >>> >> 7 01506 407 108 >>> >> >>> >> >>> >> >>> >> >>> >> >>> >> >>> >> -- >>> >> You receive this message as a subscriber of the ops- >>[hidden email] >>> >> mailing list. >>> >> To unsubscribe: mailto:[hidden email] >>> >> For general help: mailto:[hidden email]?subject=help >>> >> ObjectWeb mailing lists service home page: >>http://www.objectweb.org/wws >>> >> >>> >> >>> >> >>> > >>> > >>> >-- >>> >Blog (XML, Web apps, Open Source): >>> >http://www.orbeon.com/blog/ >>> >>> >>> >>> >>> >>> >>> -- >>> You receive this message as a subscriber of the [hidden email] >>mailing list. >>> To unsubscribe: mailto:[hidden email] >>> For general help: mailto:[hidden email]?subject=help >>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws >>> >>> >>> >> >> >>-- >>Blog (XML, Web apps, Open Source): >>http://www.orbeon.com/blog/ > > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
In reply to this post by Ryan Puddephatt
Alex,
Any ideas as to what is causing this problem? I'm having to do a major hack to catch a 404 at the moment and I'd rather tidy it up! I looked at the Apache Tomcat docs (http://tomcat.apache.org/tomcat-5.5-doc/config/context.html) and found that crossContext uses the following Set to true if you want calls within this application to ServletContext.getContext() to successfully return a request dispatcher for other web applications running on this virtual host. Set to false (the default) in security conscious environments, to make getContext() always return null. It seems like the call is made internally through Tomcat rather than a full http call. I noticed the URL that OPS shows as receiving is the URL the call is coming from and not the URL being called, also the oxf:request processor gives the request information for the calling page, as if it is forwarded. Could this be Tomcat making a request call in a way OPS isn't expecting it? If you would like I could get a simple JSP and OPS example to show all this? Thanks Ryan Puddephatt Software Engineer TFX Group - IT UK 1 Michaelson Square Livingston West Lothian Scotand EH54 7DP * [hidden email] ( 01506 407 110 7 01506 407 108 >-----Original Message----- >From: [hidden email] [mailto:[hidden email]] >Sent: 28 March 2006 00:37 >To: [hidden email] >Subject: RE: [ops-users] Problems call OPS from JSTL > >Alex, > I have to enable the crossContext attribute, this allows the >ruleHierarchy (JSP) app to find peaUtilities (OPS), but peaUtilities thinks >the call being made is for the ruleHierarchy context not the peaUtilities >context. > >Ryan > >Ryan Puddephatt >Software Engineer >TFX Group - IT UK >1 Michaelson Square >Livingston >West Lothian >Scotand >EH54 7DP > >* [hidden email] >( 01506 407 110 >7 01506 407 108 > >>-----Original Message----- >>From: [hidden email] [mailto:[hidden email]] On Behalf Of >>Alessandro Vernet >>Sent: 28 March 2006 00:16 >>To: [hidden email] >>Subject: Re: [ops-users] Problems call OPS from JSTL >> >>On 3/24/06, Ryan Puddephatt <[hidden email]> wrote: >>> It appears its not a direct call because I had to enable the >>> crossContext attribute on tomcat, looking at the tomcat docs >>> (http://tomcat.apache.org/tomcat-5.5-doc/config/context.html) It says >>this >> >>Interesting; I don't think this is something we have ever tried. Are >>you saying that using your <c:import> works if you disable the >>crossContext option in Tomcat (which is apparently the default)? >> >>Alex > > > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Ryan Puddephatt wrote:
> Alex, > Any ideas as to what is causing this problem? I'm having to do a > major hack to catch a 404 at the moment and I'd rather tidy it up! I looked > at the Apache Tomcat docs > (http://tomcat.apache.org/tomcat-5.5-doc/config/context.html) and found that > crossContext uses the following > > Set to true if you want calls within this application to > ServletContext.getContext() to successfully return a request dispatcher for > other web applications running on this virtual host. Set to false (the > default) in security conscious environments, to make getContext() always > return null. > > It seems like the call is made internally through Tomcat rather than a full > http call. I noticed the URL that OPS shows as receiving is the URL the call > is coming from and not the URL being called, also the oxf:request processor > gives the request information for the calling page, as if it is forwarded. property to false in properties.xml: <property as="xs:boolean" name="oxf.xforms.optimize-local-submission" value="false"/> Maybe this will help. -Erik -- Orbeon - XForms Everywhere: http://www.orbeon.com/blog/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Erik,
The problem still exists, even when I change this propertie, would you like me to get a test case together, it will be a JSP and a OPS app? Ryan Ryan Puddephatt Software Engineer TFX Group - IT UK 1 Michaelson Square Livingston West Lothian Scotand EH54 7DP * [hidden email] ( 01506 407 110 7 01506 407 108 >-----Original Message----- >From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez >Sent: 03 May 2006 19:37 >To: [hidden email] >Subject: Re: [ops-users] Problems call OPS from JSTL > >Ryan Puddephatt wrote: >> Alex, >> Any ideas as to what is causing this problem? I'm having to do a >> major hack to catch a 404 at the moment and I'd rather tidy it up! I >looked >> at the Apache Tomcat docs >> (http://tomcat.apache.org/tomcat-5.5-doc/config/context.html) and found >that >> crossContext uses the following >> >> Set to true if you want calls within this application to >> ServletContext.getContext() to successfully return a request dispatcher >for >> other web applications running on this virtual host. Set to false (the >> default) in security conscious environments, to make getContext() always >> return null. >> >> It seems like the call is made internally through Tomcat rather than a >full >> http call. I noticed the URL that OPS shows as receiving is the URL the >call >> is coming from and not the URL being called, also the oxf:request >processor >> gives the request information for the calling page, as if it is >forwarded. > >You can force OPS to not optimize local HTTP requests by setting a >property to false in properties.xml: > ><property as="xs:boolean" name="oxf.xforms.optimize-local-submission" > value="false"/> > >Maybe this will help. > >-Erik > >-- >Orbeon - XForms Everywhere: >http://www.orbeon.com/blog/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Sure, that would help.
-Erik Ryan Puddephatt wrote: > Erik, > The problem still exists, even when I change this propertie, would > you like me to get a test case together, it will be a JSP and a OPS app? > > Ryan > > Ryan Puddephatt > Software Engineer > TFX Group - IT UK > 1 Michaelson Square > Livingston > West Lothian > Scotand > EH54 7DP > > * [hidden email] > ( 01506 407 110 > 7 01506 407 108 > >> -----Original Message----- >> From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez >> Sent: 03 May 2006 19:37 >> To: [hidden email] >> Subject: Re: [ops-users] Problems call OPS from JSTL >> >> Ryan Puddephatt wrote: >>> Alex, >>> Any ideas as to what is causing this problem? I'm having to do a >>> major hack to catch a 404 at the moment and I'd rather tidy it up! I >> looked >>> at the Apache Tomcat docs >>> (http://tomcat.apache.org/tomcat-5.5-doc/config/context.html) and found >> that >>> crossContext uses the following >>> >>> Set to true if you want calls within this application to >>> ServletContext.getContext() to successfully return a request dispatcher >> for >>> other web applications running on this virtual host. Set to false (the >>> default) in security conscious environments, to make getContext() always >>> return null. >>> >>> It seems like the call is made internally through Tomcat rather than a >> full >>> http call. I noticed the URL that OPS shows as receiving is the URL the >> call >>> is coming from and not the URL being called, also the oxf:request >> processor >>> gives the request information for the calling page, as if it is >> forwarded. >> >> You can force OPS to not optimize local HTTP requests by setting a >> property to false in properties.xml: >> >> <property as="xs:boolean" name="oxf.xforms.optimize-local-submission" >> value="false"/> >> >> Maybe this will help. >> >> -Erik >> >> -- >> Orbeon - XForms Everywhere: >> http://www.orbeon.com/blog/ > > > > > ------------------------------------------------------------------------ > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- Orbeon - XForms Everywhere: http://www.orbeon.com/blog/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Erik,
Attached is jspapp.null I've had to rename it from zip as it won't get past our email filters! For an OPS app you just need something that returns XML. Within the JSP app in file /jsp/index.jsp change <c:import> to the appropriate @context and @url. When loading the JSP page you will see that it returns the not found page rather than the xml you wanted. Ryan Ryan Puddephatt Software Engineer TFX Group - IT UK 1 Michaelson Square Livingston West Lothian Scotand EH54 7DP * [hidden email] ( 01506 407 110 7 01506 407 108 >-----Original Message----- >From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez >Sent: 11 May 2006 23:48 >To: [hidden email] >Subject: Re: [ops-users] Problems call OPS from JSTL > >Sure, that would help. > >-Erik > >Ryan Puddephatt wrote: >> Erik, >> The problem still exists, even when I change this propertie, would >> you like me to get a test case together, it will be a JSP and a OPS app? >> >> Ryan >> >> Ryan Puddephatt >> Software Engineer >> TFX Group - IT UK >> 1 Michaelson Square >> Livingston >> West Lothian >> Scotand >> EH54 7DP >> >> * [hidden email] >> ( 01506 407 110 >> 7 01506 407 108 >> >>> -----Original Message----- >>> From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez >>> Sent: 03 May 2006 19:37 >>> To: [hidden email] >>> Subject: Re: [ops-users] Problems call OPS from JSTL >>> >>> Ryan Puddephatt wrote: >>>> Alex, >>>> Any ideas as to what is causing this problem? I'm having to do a >>>> major hack to catch a 404 at the moment and I'd rather tidy it up! I >>> looked >>>> at the Apache Tomcat docs >>>> (http://tomcat.apache.org/tomcat-5.5-doc/config/context.html) and found >>> that >>>> crossContext uses the following >>>> >>>> Set to true if you want calls within this application to >>>> ServletContext.getContext() to successfully return a request dispatcher >>> for >>>> other web applications running on this virtual host. Set to false (the >>>> default) in security conscious environments, to make getContext() >always >>>> return null. >>>> >>>> It seems like the call is made internally through Tomcat rather than a >>> full >>>> http call. I noticed the URL that OPS shows as receiving is the URL the >>> call >>>> is coming from and not the URL being called, also the oxf:request >>> processor >>>> gives the request information for the calling page, as if it is >>> forwarded. >>> >>> You can force OPS to not optimize local HTTP requests by setting a >>> property to false in properties.xml: >>> >>> <property as="xs:boolean" name="oxf.xforms.optimize-local-submission" >>> value="false"/> >>> >>> Maybe this will help. >>> >>> -Erik >>> >>> -- >>> Orbeon - XForms Everywhere: >>> http://www.orbeon.com/blog/ >> >> >> >> >> ------------------------------------------------------------------------ >> >> >> -- >> You receive this message as a subscriber of the [hidden email] >mailing list. >> To unsubscribe: mailto:[hidden email] >> For general help: mailto:[hidden email]?subject=help >> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > > >-- >Orbeon - XForms Everywhere: >http://www.orbeon.com/blog/ jspapp.null (57K) Download Attachment |
Erik,
Any joy with this? Thanks Ryan Ryan Puddephatt Software Engineer TFX Group - IT UK 1 Michaelson Square Livingston West Lothian Scotand EH54 7DP * [hidden email] ( 01506 407 110 7 01506 407 108 >-----Original Message----- >From: Ryan Puddephatt [mailto:[hidden email]] >Sent: 16 May 2006 12:43 >To: [hidden email] >Subject: RE: [ops-users] Problems call OPS from JSTL > >Erik, > Attached is jspapp.null I've had to rename it from zip as it won't >get past our email filters! For an OPS app you just need something that >returns XML. Within the JSP app in file /jsp/index.jsp change <c:import> to >the appropriate @context and @url. > >When loading the JSP page you will see that it returns the not found page >rather than the xml you wanted. > >Ryan > >Ryan Puddephatt >Software Engineer >TFX Group - IT UK >1 Michaelson Square >Livingston >West Lothian >Scotand >EH54 7DP > >* [hidden email] >( 01506 407 110 >7 01506 407 108 > >>-----Original Message----- >>From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez >>Sent: 11 May 2006 23:48 >>To: [hidden email] >>Subject: Re: [ops-users] Problems call OPS from JSTL >> >>Sure, that would help. >> >>-Erik >> >>Ryan Puddephatt wrote: >>> Erik, >>> The problem still exists, even when I change this propertie, would >>> you like me to get a test case together, it will be a JSP and a OPS app? >>> >>> Ryan >>> >>> Ryan Puddephatt >>> Software Engineer >>> TFX Group - IT UK >>> 1 Michaelson Square >>> Livingston >>> West Lothian >>> Scotand >>> EH54 7DP >>> >>> * [hidden email] >>> ( 01506 407 110 >>> 7 01506 407 108 >>> >>>> -----Original Message----- >>>> From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik >Bruchez >>>> Sent: 03 May 2006 19:37 >>>> To: [hidden email] >>>> Subject: Re: [ops-users] Problems call OPS from JSTL >>>> >>>> Ryan Puddephatt wrote: >>>>> Alex, >>>>> Any ideas as to what is causing this problem? I'm having to do a >>>>> major hack to catch a 404 at the moment and I'd rather tidy it up! I >>>> looked >>>>> at the Apache Tomcat docs >>>>> (http://tomcat.apache.org/tomcat-5.5-doc/config/context.html) and >found >>>> that >>>>> crossContext uses the following >>>>> >>>>> Set to true if you want calls within this application to >>>>> ServletContext.getContext() to successfully return a request >dispatcher >>>> for >>>>> other web applications running on this virtual host. Set to false (the >>>>> default) in security conscious environments, to make getContext() >>always >>>>> return null. >>>>> >>>>> It seems like the call is made internally through Tomcat rather than a >>>> full >>>>> http call. I noticed the URL that OPS shows as receiving is the URL >the >>>> call >>>>> is coming from and not the URL being called, also the oxf:request >>>> processor >>>>> gives the request information for the calling page, as if it is >>>> forwarded. >>>> >>>> You can force OPS to not optimize local HTTP requests by setting a >>>> property to false in properties.xml: >>>> >>>> <property as="xs:boolean" name="oxf.xforms.optimize-local-submission" >>>> value="false"/> >>>> >>>> Maybe this will help. >>>> >>>> -Erik >>>> >>>> -- >>>> Orbeon - XForms Everywhere: >>>> http://www.orbeon.com/blog/ >>> >>> >>> >>> >>> ------------------------------------------------------------------------ >>> >>> >>> -- >>> You receive this message as a subscriber of the [hidden email] >>mailing list. >>> To unsubscribe: mailto:[hidden email] >>> For general help: mailto:[hidden email]?subject=help >>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws >> >> >>-- >>Orbeon - XForms Everywhere: >>http://www.orbeon.com/blog/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Erik/Alex,
Any joy with finding this problem when making a context call in JSP? Thanks Ryan Ryan Puddephatt Software Engineer TFX Group - IT UK 1 Michaelson Square Livingston West Lothian Scotand EH54 7DP * [hidden email] ( 01506 407 110 7 01506 407 108 >-----Original Message----- >From: Ryan Puddephatt [mailto:[hidden email]] >Sent: 05 June 2006 12:06 >To: [hidden email] >Subject: RE: [ops-users] Problems call OPS from JSTL > >Erik, > Any joy with this? > >Thanks Ryan > >Ryan Puddephatt >Software Engineer >TFX Group - IT UK >1 Michaelson Square >Livingston >West Lothian >Scotand >EH54 7DP > >* [hidden email] >( 01506 407 110 >7 01506 407 108 > > >>-----Original Message----- >>From: Ryan Puddephatt [mailto:[hidden email]] >>Sent: 16 May 2006 12:43 >>To: [hidden email] >>Subject: RE: [ops-users] Problems call OPS from JSTL >> >>Erik, >> Attached is jspapp.null I've had to rename it from zip as it won't >>get past our email filters! For an OPS app you just need something that >>returns XML. Within the JSP app in file /jsp/index.jsp change <c:import> >to >>the appropriate @context and @url. >> >>When loading the JSP page you will see that it returns the not found page >>rather than the xml you wanted. >> >>Ryan >> >>Ryan Puddephatt >>Software Engineer >>TFX Group - IT UK >>1 Michaelson Square >>Livingston >>West Lothian >>Scotand >>EH54 7DP >> >>* [hidden email] >>( 01506 407 110 >>7 01506 407 108 >> >>>-----Original Message----- >>>From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez >>>Sent: 11 May 2006 23:48 >>>To: [hidden email] >>>Subject: Re: [ops-users] Problems call OPS from JSTL >>> >>>Sure, that would help. >>> >>>-Erik >>> >>>Ryan Puddephatt wrote: >>>> Erik, >>>> The problem still exists, even when I change this propertie, would >>>> you like me to get a test case together, it will be a JSP and a OPS >app? >>>> >>>> Ryan >>>> >>>> Ryan Puddephatt >>>> Software Engineer >>>> TFX Group - IT UK >>>> 1 Michaelson Square >>>> Livingston >>>> West Lothian >>>> Scotand >>>> EH54 7DP >>>> >>>> * [hidden email] >>>> ( 01506 407 110 >>>> 7 01506 407 108 >>>> >>>>> -----Original Message----- >>>>> From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik >>Bruchez >>>>> Sent: 03 May 2006 19:37 >>>>> To: [hidden email] >>>>> Subject: Re: [ops-users] Problems call OPS from JSTL >>>>> >>>>> Ryan Puddephatt wrote: >>>>>> Alex, >>>>>> Any ideas as to what is causing this problem? I'm having to do >a >>>>>> major hack to catch a 404 at the moment and I'd rather tidy it up! I >>>>> looked >>>>>> at the Apache Tomcat docs >>>>>> (http://tomcat.apache.org/tomcat-5.5-doc/config/context.html) and >>found >>>>> that >>>>>> crossContext uses the following >>>>>> >>>>>> Set to true if you want calls within this application to >>>>>> ServletContext.getContext() to successfully return a request >>dispatcher >>>>> for >>>>>> other web applications running on this virtual host. Set to false >(the >>>>>> default) in security conscious environments, to make getContext() >>>always >>>>>> return null. >>>>>> >>>>>> It seems like the call is made internally through Tomcat rather than >a >>>>> full >>>>>> http call. I noticed the URL that OPS shows as receiving is the URL >>the >>>>> call >>>>>> is coming from and not the URL being called, also the oxf:request >>>>> processor >>>>>> gives the request information for the calling page, as if it is >>>>> forwarded. >>>>> >>>>> You can force OPS to not optimize local HTTP requests by setting a >>>>> property to false in properties.xml: >>>>> >>>>> <property as="xs:boolean" name="oxf.xforms.optimize-local-submission" >>>>> value="false"/> >>>>> >>>>> Maybe this will help. >>>>> >>>>> -Erik >>>>> >>>>> -- >>>>> Orbeon - XForms Everywhere: >>>>> http://www.orbeon.com/blog/ >>>> >>>> >>>> >>>> >>>> ----------------------------------------------------------------------- >- >>>> >>>> >>>> -- >>>> You receive this message as a subscriber of the [hidden email] >>>mailing list. >>>> To unsubscribe: mailto:[hidden email] >>>> For general help: mailto:[hidden email]?subject=help >>>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws >>> >>> >>>-- >>>Orbeon - XForms Everywhere: >>>http://www.orbeon.com/blog/ > > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Hi Ryan,
OPS returns a page not found, because calling methods like request.getRequestURI() in this case apparently returns the original URL, not the URL requested by the c:import. With Tomcat, we can get from within the OPS servlet the path the request was dispatched to with: request.getAttribute("org.apache.catalina.core.DISPATCHER_REQUEST_PATH") I am surprised by this behavior, but it looks like a way around it is to specify a full URL with no context in c:import, as in: <c:import var="tagXML" url="http://localhost:8080/ops/xforms-controls"/> This seems to be working fine. Is this an acceptable solution in your case? Alex On 7/6/06, Ryan Puddephatt <[hidden email]> wrote: > Erik/Alex, > Any joy with finding this problem when making a context call in JSP? > > Thanks > > Ryan > > Ryan Puddephatt > Software Engineer > TFX Group - IT UK > 1 Michaelson Square > Livingston > West Lothian > Scotand > EH54 7DP > > * [hidden email] > ( 01506 407 110 > 7 01506 407 108 > > >-----Original Message----- > >From: Ryan Puddephatt [mailto:[hidden email]] > >Sent: 05 June 2006 12:06 > >To: [hidden email] > >Subject: RE: [ops-users] Problems call OPS from JSTL > > > >Erik, > > Any joy with this? > > > >Thanks Ryan > > > >Ryan Puddephatt > >Software Engineer > >TFX Group - IT UK > >1 Michaelson Square > >Livingston > >West Lothian > >Scotand > >EH54 7DP > > > >* [hidden email] > >( 01506 407 110 > >7 01506 407 108 > > > > > >>-----Original Message----- > >>From: Ryan Puddephatt [mailto:[hidden email]] > >>Sent: 16 May 2006 12:43 > >>To: [hidden email] > >>Subject: RE: [ops-users] Problems call OPS from JSTL > >> > >>Erik, > >> Attached is jspapp.null I've had to rename it from zip as it won't > >>get past our email filters! For an OPS app you just need something that > >>returns XML. Within the JSP app in file /jsp/index.jsp change <c:import> > >to > >>the appropriate @context and @url. > >> > >>When loading the JSP page you will see that it returns the not found page > >>rather than the xml you wanted. > >> > >>Ryan > >> > >>Ryan Puddephatt > >>Software Engineer > >>TFX Group - IT UK > >>1 Michaelson Square > >>Livingston > >>West Lothian > >>Scotand > >>EH54 7DP > >> > >>* [hidden email] > >>( 01506 407 110 > >>7 01506 407 108 > >> > >>>-----Original Message----- > >>>From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez > >>>Sent: 11 May 2006 23:48 > >>>To: [hidden email] > >>>Subject: Re: [ops-users] Problems call OPS from JSTL > >>> > >>>Sure, that would help. > >>> > >>>-Erik > >>> > >>>Ryan Puddephatt wrote: > >>>> Erik, > >>>> The problem still exists, even when I change this propertie, would > >>>> you like me to get a test case together, it will be a JSP and a OPS > >app? > >>>> > >>>> Ryan > >>>> > >>>> Ryan Puddephatt > >>>> Software Engineer > >>>> TFX Group - IT UK > >>>> 1 Michaelson Square > >>>> Livingston > >>>> West Lothian > >>>> Scotand > >>>> EH54 7DP > >>>> > >>>> * [hidden email] > >>>> ( 01506 407 110 > >>>> 7 01506 407 108 > >>>> > >>>>> -----Original Message----- > >>>>> From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik > >>Bruchez > >>>>> Sent: 03 May 2006 19:37 > >>>>> To: [hidden email] > >>>>> Subject: Re: [ops-users] Problems call OPS from JSTL > >>>>> > >>>>> Ryan Puddephatt wrote: > >>>>>> Alex, > >>>>>> Any ideas as to what is causing this problem? I'm having to do > >a > >>>>>> major hack to catch a 404 at the moment and I'd rather tidy it up! I > >>>>> looked > >>>>>> at the Apache Tomcat docs > >>>>>> (http://tomcat.apache.org/tomcat-5.5-doc/config/context.html) and > >>found > >>>>> that > >>>>>> crossContext uses the following > >>>>>> > >>>>>> Set to true if you want calls within this application to > >>>>>> ServletContext.getContext() to successfully return a request > >>dispatcher > >>>>> for > >>>>>> other web applications running on this virtual host. Set to false > >(the > >>>>>> default) in security conscious environments, to make getContext() > >>>always > >>>>>> return null. > >>>>>> > >>>>>> It seems like the call is made internally through Tomcat rather than > >a > >>>>> full > >>>>>> http call. I noticed the URL that OPS shows as receiving is the URL > >>the > >>>>> call > >>>>>> is coming from and not the URL being called, also the oxf:request > >>>>> processor > >>>>>> gives the request information for the calling page, as if it is > >>>>> forwarded. > >>>>> > >>>>> You can force OPS to not optimize local HTTP requests by setting a > >>>>> property to false in properties.xml: > >>>>> > >>>>> <property as="xs:boolean" name="oxf.xforms.optimize-local-submission" > >>>>> value="false"/> > >>>>> > >>>>> Maybe this will help. > >>>>> > >>>>> -Erik > >>>>> > >>>>> -- > >>>>> Orbeon - XForms Everywhere: > >>>>> http://www.orbeon.com/blog/ > >>>> > >>>> > >>>> > >>>> > >>>> ----------------------------------------------------------------------- > >- > >>>> > >>>> > >>>> -- > >>>> You receive this message as a subscriber of the [hidden email] > >>>mailing list. > >>>> To unsubscribe: mailto:[hidden email] > >>>> For general help: mailto:[hidden email]?subject=help > >>>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > >>> > >>> > >>>-- > >>>Orbeon - XForms Everywhere: > >>>http://www.orbeon.com/blog/ > > > > > > > > > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > > > -- Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |