tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henty Waker <>
Subject Error initializing i18n taglibs on Orion 1.5.2
Date Thu, 16 Aug 2001 10:18:49 GMT

Hi there

I'm using the i18n taglibrary in my jsp application running from Orion 

Whenever a new http session is started and a message tag is used for the 
first time I get the exception below. If I refresh the page everything 
works fine from then on until a new session is started again.

Sound like there's some session-scope attribute that is not being found 
the first time, is created, but then causes a null pointer exception. The 
next time the tag library is used (on the refresh), the atrribute exists, 
so everything is fine.

Anyone else experienced this ? Anyone got a solution ? 



500 Internal Server Error500 Internal Server 
      at java.util.ResourceBundle.getBundle(
  at org.apache.taglibs.i18n.BundleTag.doStartTag(
     at /auth/login.jsp._jspService(/auth/ (JSP page 
line 5)
       at com.orionserver[Orion/1.5.2 (build 
10460)].http.OrionHttpJspPage.service(Unknown Source)
     at com.evermind[Orion/1.5.2 (build 10460)]._ah._rad(Unknown Source)
     at com.evermind[Orion/1.5.2 (build 
10460)].server.http.JSPServlet.service(Unknown Source)
       at com.evermind[Orion/1.5.2 (build 10460)]._cxb._abe(Unknown 
    at com.evermind[Orion/1.5.2 (build 10460)]._cxb._uec(Unknown Source)
    at com.evermind[Orion/1.5.2 (build 10460)]._cxb.forward(Unknown 
 at com.evermind[Orion/1.5.2 (build 10460)]._ctb.reject(Unknown Source)
  at com.evermind[Orion/1.5.2 (build 10460)]._ah._fod(Unknown Source)
     at com.evermind[Orion/1.5.2 (build 10460)]._ah._cwc(Unknown Source)
     at com.evermind[Orion/1.5.2 (build 10460)]._io._twc(Unknown Source)
     at com.evermind[Orion/1.5.2 (build 10460)]._io._gc(Unknown Source)
      at com.evermind[Orion/1.5.2 (build 10460)] Source)

JSP code causing the error:

<%@ taglib uri="" prefix="i18n" %>

baseName="com.innoforge.bloomprototype.general.resources.auth.login" />

    <i18n:message key="heading1">
      <BR>Please enter your username and password to login to the 
BloomPrototype system.

    <form method="post" action="j_security_check">
      Username: <input name="j_username" type="text"><br>
      Password: <input name="j_password" type="password"><br>
      <input type="submit">

Orion: 1.5.2
Taglibs: 20010815
OS:  Linux 2.2.17-21mdksmp on intel
JDK: Sun JDK 1.3.1

View raw message