RE: [Rabbit-proxy-users] name lookups and dnsjava
Brought to you by:
ernimril
From: Samuel H. <Sam...@Co...> - 2004-04-23 14:32:54
|
Hmmmmm... Well, I have it in a folder called "class". My proxy is in /usr/local/proxy and class is /usr/local/proxy/class more classpath CLASSPATH=.:/usr/local/proxy/class/dnsjava-1.6.2.jar I actually had to manually specify the following in jr, jmake, common, and classpath. Something weird, maybe the freebsd issue. Works now but for some reason there is not an inclusion properly of the classpath in every file. I think this is that -f switch that you have in there which must be a linux thing. OKAY.... That seems to improve that. It seems to have improved response time :-) ANYWAY... How can I figure out what is causing the process to grow? Starts.................. PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND 51625 root 96 0 274M 23408K select 0 0:18 3.27% 3.27% java And after exactly 30 minutes... PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND 51625 root 97 0 286M 46672K select 0 1:32 4.25% 4.25% java About double in size. As you can guess after one hour the proxy needs restarted. This is an exact number, exactly 30 minutes within a few seconds. Sam ------------------------------------------------------------------------ ------------------------ 500 Internal Server Error You have found a bug in RabbIT please report this(together with the URL you tried to visit) to the RabbIT crew. Connection status ------------------------------------------------------------------------ -------- status: Handling request started: Fri Apr 23 09:35:41 EDT 2004 keepalive: true meta: false mayusecache: false maycache: true mayfilter: true requestline: GET http://www.westpa.net/ HTTP/1.1 statuscode: 200 extrainfo: null contentlength: - Proxy status ------------------------------------------------------------------------ -------- proxy version: RabbIT proxy version 2.0.31 proxy identity: ..__-WestPAnet SpeedLink DialUp-__.. server host: speedlinkdialup-proxy1.westpa.net/65.110.97.42 server port: 500 accessfilters: rabbit.filter.AccessFilter httpinfilters: rabbit.filter.HTTPBaseFilter httpoutfilters:rabbit.filter.HTTPBaseFilter System properties ------------------------------------------------------------------------ -------- java.version: 1.4.2-p6 java.vendor: Sun Microsystems Inc. os.name: FreeBSD os.version: 5.2.1-RELEASE os.arch: i386 error is: java.lang.NoClassDefFoundError: org/xbill/DNS/Address at rabbit.proxy.Proxy.getInetAddress(Proxy.java:651) at rabbit.io.ConnectionHandler.getConnection(ConnectionHandler.java:136) at rabbit.proxy.Proxy.getWebConnection(Proxy.java:242) at rabbit.proxy.Connection.setupWebConnection(Connection.java:1340) at rabbit.proxy.Connection.handleRequest(Connection.java:1576) at rabbit.proxy.Connection.filterAndHandleRequest(Connection.java:199) at rabbit.proxy.Connection.doWork(Connection.java:293) at rabbit.util.RestartableThread.run(RestartableThread.java:28) -----Original Message----- From: rab...@li... [mailto:rab...@li...] On Behalf Of Robert Olofsson Sent: Friday, April 23, 2004 9:25 AM To: Samuel Hill Cc: rab...@li... Subject: Re: [Rabbit-proxy-users] name lookups and dnsjava Samuel Hill wrote: >I got the following errors on compile... > >src/rabbit/proxy/Proxy.java:16: package org.xbill.DNS does not exist >import org.xbill.DNS.*; > > So you have not managed to put the dnsjava-1.6.2.jar in the classpath. Did you update the classpath file to point out the jar? You can also do it manually like this: robo@ghoul:~/src/RabbIT2$ javac -d . -classpath /tmp/dnsjava-1.6.2.jar src/rabbit/*/*.java (depending on where you have put dnsjava-1.6.2.jar of course). Starting it, there may again be issues with the classpath since you seem to have trouble using the jr command (and I do not think that your fix to it was correct), I suggest you start it manually like this: robo@ghoul:~/src/RabbIT2$ java -classpath .:/tmp/dnsjava-1.6.2.jar rabbit.proxy.Proxy If I choose to use dnsjava I will of course make it easier, but for now it is still in testing mode. /robo ------------------------------------------------------- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 _______________________________________________ Rabbit-proxy-users mailing list Rab...@li... https://lists.sourceforge.net/lists/listinfo/rabbit-proxy-users |