• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Do anyone develop jsp with JRun?About taglib in JRun

 
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a tld for a set of custom tags. This is developed under tomcat4 and it run successfully. But the deployment is on JRun. Jrun gives the following unhelpful error on any pages which use the tags.

<head><title>JRun Servlet Error</title></head><h1>500 Internal Server Error</h1><body>
<PRE>
<B>/ardeo/purchasemaster/ListBaskets.jsp:</B>
Error parsing TLD '/dbpager.tld': null.
java.lang.NullPointerException
at allaire.jrun.jsp.TagLibraryClassLoader.loadClass(JRunTagLibraryInfo.java:872)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at allaire.jrun.jsp.JRunTagLibraryInfo.getPropertyType(JRunTagLibraryInfo.java:725)
at allaire.jrun.jsp.JRunTagLibraryInfo.buildAttributeInfo(JRunTagLibraryInfo.java:705)
at allaire.jrun.jsp.JRunTagLibraryInfo.buildTagInfo(JRunTagLibraryInfo.java:683)
at allaire.jrun.jsp.JRunTagLibraryInfo.initialize(JRunTagLibraryInfo.java:627)
at allaire.jrun.jsp.JRunTagLibraryInfo.<init>(JRunTagLibraryInfo.java:199)
at allaire.jrun.jsp.JRunTagLibraryInfo.lookupTLI(JRunTagLibraryInfo.java:109)
at allaire.jrun.jsp.JSPParser.taglibDirective(JSPParser.java:844)
at allaire.jrun.jsp.JSPParser.directive(JSPParser.java:975)
at allaire.jrun.jsp.JSPParser.parse(JSPParser.java:923)
at allaire.jrun.jsp.JSPParser.writeXML(JSPParser.java:138)
/////////////////////////////////////////////////////////////////////////
It looks like Jrun doesn't understand valid TLDs .It seems that we must use its own jruntags.jar files.I means we could add our .class and .tld to the jruntags.jar.
:roll:
reply
    Bookmark Topic Watch Topic
  • New Topic