tag:blogger.com,1999:blog-112080040011486548.post3793595473290065850..comments2024-02-24T08:38:04.890+01:00Comments on plosquare.com blog: Solution for XHR ERROR: Response_Code = -1 Error_Message = Request ErrorUnknownnoreply@blogger.comBlogger9125tag:blogger.com,1999:blog-112080040011486548.post-43581536322015177232011-12-19T15:59:36.763+01:002011-12-19T15:59:36.763+01:00Thank You Jan Ploski,
This article helped us. We ...Thank You Jan Ploski,<br /><br />This article helped us. We also added another condition for IE in the same .js file before making an updated jar. "if (self.xhrResponseCode == -1 || self.xhrResponseCode == 12007)"<br /><br />ThanksSreedhar Velagapudinoreply@blogger.comtag:blogger.com,1999:blog-112080040011486548.post-53639915128962417432011-06-08T09:47:15.189+02:002011-06-08T09:47:15.189+02:00Thanks jpl. Today i will try the new server.Thanks jpl. Today i will try the new server.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-112080040011486548.post-32965874818373226252011-06-07T18:00:27.960+02:002011-06-07T18:00:27.960+02:00@Anonymous how about this:
cd MyDirPreviouslyUnja...@Anonymous how about this:<br /><br />cd MyDirPreviouslyUnjared<br />jar cmvf META-INF/MANIFEST.MF selenium-server.jar *jplhttps://www.blogger.com/profile/12101058989598856696noreply@blogger.comtag:blogger.com,1999:blog-112080040011486548.post-60275983057017486182011-06-07T17:21:49.813+02:002011-06-07T17:21:49.813+02:00Hi all, i'm trying to use "jar cmvf META-...Hi all, i'm trying to use "jar cmvf META-INF/MANIFEST.MF selenium-server.jar -C MyDirPreviouslyUnjared" but it doesn't work.<br />Can you help me to solve the problem? Which is the correct syntax of the command? <br />Thanks a lot.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-112080040011486548.post-81178736217950191312011-06-06T17:30:01.843+02:002011-06-06T17:30:01.843+02:00Ron, I haven't got more information besides of...Ron, I haven't got more information besides of what is already included in the post. I've since upgraded to FF4 and Selenium 2.0b3 for my testing, and this problem didn't reappear (although there was another one concerning unsuppressed window.alarm popups; "issue 27", for which a patch is now available).jplhttps://www.blogger.com/profile/12101058989598856696noreply@blogger.comtag:blogger.com,1999:blog-112080040011486548.post-9303029693756442132011-06-06T17:24:40.273+02:002011-06-06T17:24:40.273+02:00Hello
We tried to use this workaround:
if (self.xh...Hello<br />We tried to use this workaround:<br />if (self.xhrResponseCode == -1) return self.newPageLoaded;<br /><br />The only difference was that we didn't see the error message, but the error still happened<br />The browser dissconnected from selenium<br />Any other ideas?<br />Can u explain the cause of failure?<br />Thnaks in advance<br />RonRonDavhttps://www.blogger.com/profile/04524839029616786788noreply@blogger.comtag:blogger.com,1999:blog-112080040011486548.post-29437391441861261862011-01-18T11:03:42.241+01:002011-01-18T11:03:42.241+01:00Thanks! This solved my problem.
I had to run this...Thanks! This solved my problem.<br /><br />I had to run this command in order to get the jar back together:<br /><br />jar cmvf META-INF/MANIFEST.MF selenium-server.jar -C selenium-jar (this is the location where i unjared the selenium-server.jar)Tobiashttp://saiboten.comnoreply@blogger.comtag:blogger.com,1999:blog-112080040011486548.post-58019769305502778022010-11-23T16:10:17.077+01:002010-11-23T16:10:17.077+01:00When you re-create the JAR file with jar (rather t...When you re-create the JAR file with jar (rather than, say, with WinZip), you must not forget to name the old manifest file using an extra parameter, eg.<br /><br />jar cmvf META-INF/MANIFEST.MF selenium-server.jar<br /><br />The file MANIFEST.MF contains the Main-Class line which instructs the Java VM which class should be taken as application entry point when you use the command "java -jar xxxx.jar". If you forget the 'm' option while creating a jar file, it will generate a new empty MANIFEST.MF without the Main-Class attribute.jplhttps://www.blogger.com/profile/12101058989598856696noreply@blogger.comtag:blogger.com,1999:blog-112080040011486548.post-8469780912939672922010-11-23T12:47:21.706+01:002010-11-23T12:47:21.706+01:00Thanks a lot for your tip! I tried to add the code...Thanks a lot for your tip! I tried to add the code that you suggested but I ran into a problem... <br /><br />I extracted the Selenium-server.jar with command: jar xvf selenium-server.jar<br /><br />Then I edited the file selenium-browserbot.js as you described. Then I created a jar again with the command: jar cvf selenium-server.jar.<br /><br />When I started the server I received following error: "Failed to load Main-Class manifest attribute from selenium-server.jar"<br /><br />Do you have any idea what the problem is?Tinanoreply@blogger.com