MIDRANGE dot COM Mailing List Archive



Home » JAVA400-L » February 2008

Re: Another "java.lang.NoSuchMethodError" question



fixed


Hi MichaelH,

As Luis implies in his response, there is Not Enough Information. I'll add that Something Is Different. Either

A) one or both of your code sets do something different than the other programs that use the class.

B) The issue always exists, but the timing of these two brings it to the fore.

Is the "Excel building class" something developed in-house or somewhere else? There may be some indication in the documentation about locking, either on the file itself or some commonly used object. Without information, no one can provide more than guesses, which is often a waste of everyone's time. .


Joe Sam

Joe Sam Shirah - http://www.conceptgo.com
conceptGO - Consulting/Development/Outsourcing
Java Filter Forum: http://www.ibm.com/developerworks/java/
Just the JDBC FAQs: http://www.jguru.com/faq/JDBC
Going International? http://www.jguru.com/faq/I18N
Que Java400? http://www.jguru.com/faq/Java400

----- Original Message ----- From: <MichaelH@xxxxxxxx>
To: "Java Programming on and around the iSeries / AS400" <java400-l@xxxxxxxxxxxx>
Sent: Wednesday, February 06, 2008 9:04 AM
Subject: Re: Another "java.lang.NoSuchMethodError" question


Any suggestions on how to get around the issue with "resource busy"?

We have two programs that run back to back that use the same Excel
building class. Seems the second job in ties things up for these two.
There are many other jobs that run during the day that use the class just
fine. Other jobs use the same IFS folder as well. Just these two seem to
butt heads each morning.



> "java.io.FileNotFoundException: Resource busy. <- last compiled
1/14/06

Resource busy indicates a lock on the IFS file or directory. The "not
found" is a little misleading. It wasn't found (assuming it really
exists)
because it wasn't able to look for it in the path because of "resource
busy."
--






Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact