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

Apostoly Guillaume ApostolyG at mail.europcar.com
Fri Jul 18 10:10:01 CEST 2003


Some precisions :
- i've had a look at the dates of the files in WEB-INF/classes, and they are
ok, I even uncompiled the .class with jad, and i'm getting a coherent .class
(no changes in pathes by example)
- regarding the code i just sent, the error occures when i try to
instantiate the class. commenting out this line solves the problem (there's
no need to comment out the import of the class)


> -----Message d'origine-----
> De: M Butcher [mailto:mbutcher at grcomputing.net]
> Date: jeudi 17 juillet 2003 19:31
> À: opencms-dev at opencms.org
> Objet: RE: TR: [opencms-dev] Help ! Resource loader error ...
> 
> 
> 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>
> _______________________________________________
> 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
> 



More information about the opencms-dev mailing list