commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbre...@wi.rr.com (Jeffrey D. Brekke)
Subject Re: can i make commons-net-1.1.0.jar to work on jdk1.2.2_07 ?
Date Wed, 07 Jan 2004 13:43:36 GMT

I'm not sure about this one.  We recently tagged a version in cvs that
should be 1.1 compatible and now are moving towards 1.2 compatibility.

What platform are you on?  This doesn't look like a jvm version issue...

You could always pull the source for commons-net down and build a jar
of it with your jdk.  Please report back if you try that.

>>>>> On Wed, 07 Jan 2004 10:52:19 +0000, "Rafael, Joaquim Joao" <jrafael@indracpc.pt>
said:

> 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

-- 
=====================================================================
Jeffrey D. Brekke                                   jbrekke@wi.rr.com
Wisconsin,  USA                                     brekke@apache.org
                                                    ekkerbj@yahoo.com


---------------------------------------------------------------------
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