TR: [opencms-dev] Help ! Resource loader error ...

M Butcher mbutcher at grcomputing.net
Thu Jul 17 19:21:01 CEST 2003


Is it possible for you to post code samples?

One thing I encountered yesterday (and still haven't quite figured out)
is that a particular variable name (e.g. the line 'int thisDate', though
that's not the exact name -- I can't remember what the real name was)
was causing exactly the same problem as what you have described. I would
have expected some error about redeclaring an existing variable, like I
normally get when I do that, but that was not the case. Anyway, changing
the name of the variable fixed the problem.

A few more questions... though you're probably sick of my asking them:

- Do you know the exact line of code that is causing the exception?
- Can you wrap that code in a try/catch and catch a more informative 
exception? (Do a  catch(Exception e) to make sure you get stuff like
NullPointerException)

Sorry I can't be of more help... at least I'm not telling you to restart
tomcat anymore. ;-)

Matt


On Thu, 2003-07-17 at 10:27, Apostoly Guillaume wrote:
> Already tried !
> 
> In fact, this is really misterious. If i take the .class from my
> opencms/WEB-INF/classes and put it into another webapp, and then build a jsp
> in that webapp that makes "new myClass()", this works. If i put the same jsp
> into my opencms webapp directory, the class can not be loaded ... I've tried
> all sort of possible restarts/touch the file and so on !! That's X-Files ...
> :)
> 
> > -----Message d'origine-----
> > De: Urich, Chase [mailto:ChaseUrich at letu.edu]
> > Date: jeudi 17 juillet 2003 17:45
> > À: opencms-dev at opencms.org
> > Objet: RE: TR: [opencms-dev] Help ! Resource loader error ...
> > 
> > 
> > Restart Tomcat?
> > 
> > Chase Urich
> > LeTourneau University
> > Web Programmer
> > ---------------------
> > Linux: Because rebooting is for adding hardware
> > 
> > -----Original Message-----
> > From: Apostoly Guillaume [mailto:ApostolyG at mail.europcar.com] 
> > Sent: Thursday, July 17, 2003 8:31 AM
> > To: opencms-dev at opencms.org
> > Subject: RE: TR: [opencms-dev] Help ! Resource loader error ...
> > 
> > 
> > thanks for your help, still ... any body else ? ;)
> > 
> > > -----Message d'origine-----
> > > De: Mark Miller [mailto:mark.miller at hema.ch]
> > > Date: jeudi 17 juillet 2003 14:55
> > > À: opencms-dev at opencms.org
> > > Objet: AW: TR: [opencms-dev] Help ! Resource loader error ...
> > > 
> > > 
> > > Hmmm ... sorry ... no more ideas
> > > 
> > > All the best (and good luck),
> > > 
> > > mark
> > > 
> > > _______________________________________________
> > > This mail is send to you from the opencms-dev mailing list
> > > To change your list options, or to unsubscribe from the list,
> > > please visit
> > > http://mail.opencms.org/mailman/listinfo/opencms-dev
> > > 
> > _______________________________________________
> > This mail is send to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the list, 
> > please visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> > _______________________________________________
> > This mail is send to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the list, 
> > please visit
> > http://mail.opencms.org/mailman/listinfo/opencms-dev
> > 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
-- 
M Butcher <mbutcher at grcomputing.net>



More information about the opencms-dev mailing list