commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rafael, Joaquim Joao" <jraf...@indracpc.pt>
Subject can i make commons-net-1.1.0.jar to work on jdk1.2.2_07 ?
Date Wed, 07 Jan 2004 10:52:19 GMT
I need help!
 
I was working on a project using commons-net-1.1.0.jar (ftp related
parts), when i realized that the jdk the client had was 1.2.2_07. So i
tried to compile using that, no problems. But when i tried to execute
the tests this came up...
 
java.lang.IllegalMonitorStateException: current thread not owner  at
org.apache.commons.net.telnet.TelnetInputStream.available(TelnetInputStr
eam.java, Compiled Code)  at
java.io.BufferedInputStream.read(BufferedInputStream.java:287)
 at java.io.FilterInputStream.read(FilterInputStream.java:97)
 at java.io.InputStreamReader.fill(InputStreamReader.java:163)
 at java.io.InputStreamReader.read(InputStreamReader.java:239)
 at java.io.BufferedReader.fill(BufferedReader.java:137)
 at java.io.BufferedReader.readLine(BufferedReader.java:274)
 at java.io.BufferedReader.readLine(BufferedReader.java:329)
 at org.apache.commons.net.ftp.FTP.__getReply(FTP.java, Compiled Code)
at org.apache.commons.net.ftp.FTP._connectAction_(FTP.java:361)
 at
org.apache.commons.net.ftp.FTPClient._connectAction_(FTPClient.java:506)
 at org.apache.commons.net.SocketClient.connect(SocketClient.java:202)
 at org.apache.commons.net.SocketClient.connect(SocketClient.java:289)
 at
pt.indracpc.aps.broker.FileBrokerFtp.connectToFtpServer(FileBrokerFtp.ja
va:348)
 at
pt.indracpc.aps.broker.FileBrokerFtp.receiveFiles(FileBrokerFtp.java:157
)
 at
tests.pt.indracpc.aps.broker.TestFileBroker.testGetFiles(TestFileBroker.
java, Compiled Code)  at java.lang.reflect.Method.invoke(Native Method)
at junit.framework.TestCase.runTest(TestCase.java:154)
 at junit.framework.TestCase.runBare(TestCase.java:127)
 at junit.framework.TestResult$1.protect(TestResult.java:106)
 at junit.framework.TestResult.runProtected(TestResult.java:124)
 at junit.framework.TestResult.run(TestResult.java:109)
 at junit.framework.TestCase.run(TestCase.java:118)
 at junit.framework.TestSuite.runTest(TestSuite.java:208)
 at junit.framework.TestSuite.run(TestSuite.java, Compiled Code)  at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTe
stRunner.java, Compiled Code)  at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRun
ner.java:276)
 at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRu
nner.java:167)
 
Is commons-net-1.1.0.jar incompatible with jdk1.2.2_07 ?
Can i use an older package that has a similar API? So i can refactor
some of the work but don't lose too many source code I invested?
 
Any light on the subject would be appreciated,
Thanks.
 
__________________________
joao rafael
INDRA Cpc
jrafael@indracpc.pt
 

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message