Re: [Resin-interest] JSP pages wont compile : java.lang.RuntimeException: bad scheme in...

2012-02-21 Thread Scott Ferguson
On 02/21/2012 06:08 AM, Sean Moore wrote:
   All of a sudden I have jsp pages that will not compile with the below error.

 The issue does not show up on my test server.  Nothing much has happened on 
 the deployment server.

 It looks like it is in the process of loading all the tlds.  None of my very 
 few tlds say anything about facebook.  Where else could it be trying to read 
 the scheme from?


It should be scanning the WEB-INF directories. That scanning can be 
changed in the resin-web.xml with the tld-file-set or tld-dir directive.

Do you know how those are set?

Hmm. Checking the code, though. If you have a file under WEB-INF which 
is _named_ like a URL (for example in WEB-INF/tmp), you might have this 
problem.

-- Scott


 Help!

 Resin version 3.0.26

 Thanks,
 Sean Moore
 s...@homegauge.com


 java.lang.RuntimeException: bad scheme in 
 `https:%2F%2Fwww.facebook.com%2Fmedia%2Fset%2F?set=a.153069261371130.27793.10041703265type=1.webhistory'
  at com.caucho.vfs.HttpPath.schemeWalk(HttpPath.java:156)
  at com.caucho.vfs.Path.lookupImpl(Path.java:183)
  at com.caucho.vfs.Path.lookup(Path.java:121)
  at com.caucho.vfs.Path.lookup(Path.java:92)
  at com.caucho.config.types.FileSetType.getPaths(FileSetType.java:152)
  at com.caucho.config.types.FileSetType.getPaths(FileSetType.java:152)
  at com.caucho.config.types.FileSetType.getPaths(FileSetType.java:137)
  at com.caucho.config.types.FileSetType.getPaths(FileSetType.java:124)
  at com.caucho.jsp.TldManager.loadAllTlds(TldManager.java:302)
  at com.caucho.jsp.TldManager.init(TldManager.java:202)
  at com.caucho.jsp.TldManager.parseTld(TldManager.java:434)
  at com.caucho.jsp.TaglibManager.readTaglib(TaglibManager.java:225)
  at com.caucho.jsp.TaglibManager.getTaglib(TaglibManager.java:172)
  at com.caucho.jsp.ParseTagManager.addTaglib(ParseTagManager.java:258)
  at com.caucho.jsp.JspParser.processTaglib(JspParser.java:1655)
  at 
 com.caucho.jsp.JspParser.processTaglibDirective(JspParser.java:1629)
  at com.caucho.jsp.JspParser.parseDirective(JspParser.java:1159)
  at com.caucho.jsp.JspParser.parseScriptlet(JspParser.java:1033)
  at com.caucho.jsp.JspParser.parseNode(JspParser.java:417)
  at com.caucho.jsp.JspParser.parseJsp(JspParser.java:328)
  at com.caucho.jsp.JspParser.parse(JspParser.java:252)
  at 
 com.caucho.jsp.JspCompilerInstance.generate(JspCompilerInstance.java:466)
  at 
 com.caucho.jsp.JspCompilerInstance.compile(JspCompilerInstance.java:373)
  at com.caucho.jsp.JspManager.compile(JspManager.java:233)
  at com.caucho.jsp.JspManager.createPage(JspManager.java:177)
  at com.caucho.jsp.JspManager.createPage(JspManager.java:157)
  at com.caucho.jsp.PageManager.getPage(PageManager.java:248)
  at com.caucho.jsp.PageManager.getPage(PageManager.java:166)
  at com.caucho.jsp.QServlet.getSubPage(QServlet.java:292)
  at com.caucho.jsp.QServlet.getPage(QServlet.java:210)



 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest




___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] JSP pages wont compile : java.lang.RuntimeException: bad scheme in...

2012-02-21 Thread Sean Moore
So yes that was my problem.  Customers can upload profile pics and one of the 
pictures was named http://www.facebook.com/morestuff
I store a copy of the picture file before resizing it in WEB-INF/tmp

I will look at changing the tld-file-set and that could even increase my 
startup speed if it is scanning all of those sub folders.

Thanks for the response.

-Sean




-- Original Message --

FROM:  Scott Ferguson f...@caucho.com
TO:resin-interest@caucho.com
CC:
DATE:  Tue, 21 Feb 2012 09:04:56 -0800

SUBJECT:   Re: [Resin-interest] JSP pages wont compile :
java.lang.RuntimeException: bad scheme in...

On 02/21/2012 06:08 AM, Sean Moore wrote:
   All of a sudden I have jsp pages that will not compile with the below error.

 The issue does not show up on my test server.  Nothing much has happened on 
 the deployment server.

 It looks like it is in the process of loading all the tlds.  None of my very 
 few tlds say anything about facebook.  Where else could it be trying to read 
 the scheme from?


It should be scanning the WEB-INF directories. That scanning can be 
changed in the resin-web.xml with the tld-file-set or tld-dir directive.

Do you know how those are set?

Hmm. Checking the code, though. If you have a file under WEB-INF which 
is _named_ like a URL (for example in WEB-INF/tmp), you might have this 
problem.

-- Scott


 Help!

 Resin version 3.0.26

 Thanks,
 Sean Moore
 s...@homegauge.com


 java.lang.RuntimeException: bad scheme in 
 `https:%2F%2Fwww.facebook.com%2Fmedia%2Fset%2F?set=a.153069261371130.27793.10041703265type=1.webhistory'
  at com.caucho.vfs.HttpPath.schemeWalk(HttpPath.java:156)
  at com.caucho.vfs.Path.lookupImpl(Path.java:183)
  at com.caucho.vfs.Path.lookup(Path.java:121)
  at com.caucho.vfs.Path.lookup(Path.java:92)
  at com.caucho.config.types.FileSetType.getPaths(FileSetType.java:152)
  at com.caucho.config.types.FileSetType.getPaths(FileSetType.java:152)
  at com.caucho.config.types.FileSetType.getPaths(FileSetType.java:137)
  at com.caucho.config.types.FileSetType.getPaths(FileSetType.java:124)
  at com.caucho.jsp.TldManager.loadAllTlds(TldManager.java:302)
  at com.caucho.jsp.TldManager.init(TldManager.java:202)
  at com.caucho.jsp.TldManager.parseTld(TldManager.java:434)
  at com.caucho.jsp.TaglibManager.readTaglib(TaglibManager.java:225)
  at com.caucho.jsp.TaglibManager.getTaglib(TaglibManager.java:172)
  at com.caucho.jsp.ParseTagManager.addTaglib(ParseTagManager.java:258)
  at com.caucho.jsp.JspParser.processTaglib(JspParser.java:1655)
  at 
 com.caucho.jsp.JspParser.processTaglibDirective(JspParser.java:1629)
  at com.caucho.jsp.JspParser.parseDirective(JspParser.java:1159)
  at com.caucho.jsp.JspParser.parseScriptlet(JspParser.java:1033)
  at com.caucho.jsp.JspParser.parseNode(JspParser.java:417)
  at com.caucho.jsp.JspParser.parseJsp(JspParser.java:328)
  at com.caucho.jsp.JspParser.parse(JspParser.java:252)
  at 
 com.caucho.jsp.JspCompilerInstance.generate(JspCompilerInstance.java:466)
  at 
 com.caucho.jsp.JspCompilerInstance.compile(JspCompilerInstance.java:373)
  at com.caucho.jsp.JspManager.compile(JspManager.java:233)
  at com.caucho.jsp.JspManager.createPage(JspManager.java:177)
  at com.caucho.jsp.JspManager.createPage(JspManager.java:157)
  at com.caucho.jsp.PageManager.getPage(PageManager.java:248)
  at com.caucho.jsp.PageManager.getPage(PageManager.java:166)
  at com.caucho.jsp.QServlet.getSubPage(QServlet.java:292)
  at com.caucho.jsp.QServlet.getPage(QServlet.java:210)



 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest




___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest