Eeeek :)

Hier finden YaCy User Hilfe wenn was nicht funktioniert oder anders funktioniert als man dachte. Bei offensichtlichen Fehlern diese bitte gleich in die Bugs (http://bugs.yacy.net) eintragen.
Forumsregeln
In diesem Forum geht es um Benutzungsprobleme und Anfragen für Hilfe. Wird dabei ein Bug identifiziert, wird der thread zur Bearbeitung in die Bug-Sektion verschoben. Wer hier also einen Thread eingestellt hat und ihn vermisst, wird ihn sicherlich in der Bug-Sektion wiederfinden.

Eeeek :)

Beitragvon nstaudt » Do Feb 10, 2011 6:28 pm

Web server isn't responding, checked the log and found this?

S 2011/02/10 17:24:19 STARTUP YaCy version: 0.99/7475
Code: Alles auswählen
java.lang.reflect.InvocationTargetException
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at net.yacy.kelondro.workflow.InstantBusyThread.job(InstantBusyThread.java:108)
   at net.yacy.kelondro.workflow.AbstractBusyThread.run(AbstractBusyThread.java:161)
Caused by: java.lang.NoSuchMethodError: org.apache.http.conn.scheme.Scheme.<init>(Ljava/lang/String;ILorg/apache/http/conn/scheme/SchemeSocketFactory;)V
   at net.yacy.cora.protocol.http.HTTPClient.initConnectionManager(HTTPClient.java:118)
   at net.yacy.cora.protocol.http.HTTPClient.<clinit>(HTTPClient.java:96)
   at de.anomic.search.Switchboard.loadSeedLists(Switchboard.java:2451)
   ... 6 more
W 2011/02/10 17:24:20 StackTrace org.apache.http.conn.scheme.Scheme.<init>(Ljava/lang/String;ILorg/apache/http/conn/scheme/SchemeSocketFactory;)V
java.lang.NoSuchMethodError: org.apache.http.conn.scheme.Scheme.<init>(Ljava/lang/String;ILorg/apache/http/conn/scheme/SchemeSocketFactory;)V
   at net.yacy.cora.protocol.http.HTTPClient.initConnectionManager(HTTPClient.java:118)
   at net.yacy.cora.protocol.http.HTTPClient.<clinit>(HTTPClient.java:96)
   at de.anomic.search.Switchboard.loadSeedLists(Switchboard.java:2451)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at net.yacy.kelondro.workflow.InstantBusyThread.job(InstantBusyThread.java:108)
   at net.yacy.kelondro.workflow.AbstractBusyThread.run(AbstractBusyThread.java:161)
E 2011/02/10 17:24:20 BUSYTHREAD Runtime Error in serverInstantThread.job, thread 'de.anomic.search.Switchboard.loadSeedLists': null; target exception: org.apache.http.conn.scheme.Scheme.<init>(Ljava/lang/String;ILorg/apache/http/conn/scheme/SchemeSocketFactory;)V
java.lang.NoSuchMethodError: org.apache.http.conn.scheme.Scheme.<init>(Ljava/lang/String;ILorg/apache/http/conn/scheme/SchemeSocketFactory;)V
   at net.yacy.cora.protocol.http.HTTPClient.initConnectionManager(HTTPClient.java:118)
   at net.yacy.cora.protocol.http.HTTPClient.<clinit>(HTTPClient.java:96)
   at de.anomic.search.Switchboard.loadSeedLists(Switchboard.java:2451)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at net.yacy.kelondro.workflow.InstantBusyThread.job(InstantBusyThread.java:108)
   at net.yacy.kelondro.workflow.AbstractBusyThread.run(AbstractBusyThread.java:161)
nstaudt
 
Beiträge: 73
Registriert: Fr Aug 13, 2010 10:54 am

Re: Eeeek :)

Beitragvon sixcooler » Do Feb 10, 2011 7:01 pm

Hello nstaudt,

please look at yacy/lib/-directory for files httpclient-4.0.3.jar, httpmime-4.0.3.jar and httpcore-4.0.1.jar.
Delete them if found, cause this libs got an update in 7474.
Check if that helps.

@all how to get these old libs deleted by update-procedure?

cu, sixcooler.
sixcooler
 
Beiträge: 494
Registriert: Do Aug 14, 2008 5:22 pm

Re: Eeeek :)

Beitragvon Low012 » Do Feb 10, 2011 8:30 pm

The lib folder is supposed to be deleted by the update scripts which are created depending on the OS in de.anomic.yacy.yacyRelease.
Low012
 
Beiträge: 2214
Registriert: Mi Jun 27, 2007 12:11 pm

Re: Eeeek :)

Beitragvon nstaudt » Do Feb 10, 2011 11:58 pm

Thanks sixcooler, the web server now starts, but the crawler doesn't seem to be running :D

I checked the log file and found this:

(should I just download yacy and extract it into the existing directory to try to fix it?)

Code: Alles auswählen
W 2011/02/10 22:51:41 StackTrace null
java.lang.reflect.InvocationTargetException
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at net.yacy.kelondro.workflow.InstantBusyThread.job(InstantBusyThread.java:108)
   at net.yacy.kelondro.workflow.AbstractBusyThread.run(AbstractBusyThread.java:161)
Caused by: java.lang.NoSuchMethodError: org.apache.http.util.EntityUtils.consume(Lorg/apache/http/HttpEntity;)V
   at net.yacy.cora.protocol.http.HTTPClient.getContentBytes(HTTPClient.java:452)
   at net.yacy.cora.protocol.http.HTTPClient.GETbytes(HTTPClient.java:274)
   at net.yacy.cora.protocol.http.HTTPClient.GETbytes(HTTPClient.java:261)
   at de.anomic.search.Switchboard.loadSeedLists(Switchboard.java:2488)
   ... 6 more
W 2011/02/10 22:51:41 StackTrace org.apache.http.util.EntityUtils.consume(Lorg/apache/http/HttpEntity;)V
java.lang.NoSuchMethodError: org.apache.http.util.EntityUtils.consume(Lorg/apache/http/HttpEntity;)V
   at net.yacy.cora.protocol.http.HTTPClient.getContentBytes(HTTPClient.java:452)
   at net.yacy.cora.protocol.http.HTTPClient.GETbytes(HTTPClient.java:274)
   at net.yacy.cora.protocol.http.HTTPClient.GETbytes(HTTPClient.java:261)
   at de.anomic.search.Switchboard.loadSeedLists(Switchboard.java:2488)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at net.yacy.kelondro.workflow.InstantBusyThread.job(InstantBusyThread.java:108)
   at net.yacy.kelondro.workflow.AbstractBusyThread.run(AbstractBusyThread.java:161)
E 2011/02/10 22:51:41 BUSYTHREAD Runtime Error in serverInstantThread.job, thread 'de.anomic.search.Switchboard.loadSeedLists': null; target exception: org.apache.http.util.EntityUtils.consume(Lorg/apache/http/HttpEntity;)V
java.lang.NoSuchMethodError: org.apache.http.util.EntityUtils.consume(Lorg/apache/http/HttpEntity;)V
   at net.yacy.cora.protocol.http.HTTPClient.getContentBytes(HTTPClient.java:452)
   at net.yacy.cora.protocol.http.HTTPClient.GETbytes(HTTPClient.java:274)
   at net.yacy.cora.protocol.http.HTTPClient.GETbytes(HTTPClient.java:261)
   at de.anomic.search.Switchboard.loadSeedLists(Switchboard.java:2488)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at net.yacy.kelondro.workflow.InstantBusyThread.job(InstantBusyThread.java:108)
   at net.yacy.kelondro.workflow.AbstractBusyThread.run(AbstractBusyThread.java:161)
nstaudt
 
Beiträge: 73
Registriert: Fr Aug 13, 2010 10:54 am

Re: Eeeek :)

Beitragvon sixcooler » Fr Feb 11, 2011 12:18 am

now it looks like you don't have httpcore-4.1.jar - strange
nstaudt hat geschrieben:(should I just download yacy and extract it into the existing directory to try to fix it?)

Perhaps it is a quick way to remove everything but your DATA-dirctory (thats where your Index an settings hold) and extract yacy.
I think your problem is caused by old libs still there.

cu, sixcooler.
sixcooler
 
Beiträge: 494
Registriert: Do Aug 14, 2008 5:22 pm

Re: Eeeek :)

Beitragvon Low012 » Fr Feb 11, 2011 9:32 am

Nathan, if you haven't chosen the quick way to probably get rid of the problem described by sixcooler: Which operating system do you use to run YaCy? Is it possible that in the past you accidentally unpacked a YaCy tar with a different user than the one running YaCy or maybe otherwise changed the access rights?

Here is a list of all the JAR files in my peer's lib folder:

activation.jar
apache-mime4j-0.6.jar
bcmail-jdk15-145.jar
bcprov-jdk15-145.jar
bzip2.jar
commons-codec-1.4.jar
commons-fileupload-1.2.2.jar
commons-io-1.4.jar
commons-jxpath-1.3.jar
commons-logging-1.1.1.jar
fontbox-1.2.1.jar
httpclient-4.1.jar
httpcore-4.1.jar
httpmime-4.1.jar
icu4j-core.jar
J7Zip-modified.jar
jakarta-oro-2.0.8.jar
jcifs-1.3.14.jar
jsch-0.1.42.jar
log4j-1.2.16.jar
metadata-extractor-2.4.0-beta-1.jar
mysql-connector-java-5.1.12-bin.jar
pdfbox-1.2.1.jar
poi-3.6-20091214.jar
poi-scratchpad-3.6-20091214.jar
servlet-api.jar
webcat-0.1-swf.jar
xerces.jar
yacycore.jar

There are 29 JARs and a total of 57 files in my lib folder.
Low012
 
Beiträge: 2214
Registriert: Mi Jun 27, 2007 12:11 pm

Re: Eeeek :)

Beitragvon nstaudt » Fr Feb 11, 2011 10:08 am

Thanks guys, I'll give those things a try this weekend :)
nstaudt
 
Beiträge: 73
Registriert: Fr Aug 13, 2010 10:54 am


Zurück zu Fragen und Antworten

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 2 Gäste