WeBWorK Main Forum

Another findAppletCodebase Error

Another findAppletCodebase Error

by Louis Zulli -
Number of replies: 9
Having trouble with problems that use applets. In this case, the file phaseLine.swf is present on our server at webwork2/htdocs/applets 

Warning messages

findAppletCodebase Error: phaseLine.swf not found after searching https://webwork.lafayette.edu/webwork2_files/applets, https://webwork.lafayette.edu/webwork2_files/applets/geogebra_stable, https://webwork.lafayette.edu/webwork2_course_files/MATH300_0102_1314S/applets, https://webwork.lafayette.edu/webwork2_files/applets/Xgraph, https://webwork.lafayette.edu/webwork2_files/applets/PointGraph, https://webwork.lafayette.edu/webwork2_files/applets/Xgraph, https://webwork.lafayette.edu/webwork2_files/applets/liveJar, https://webwork.lafayette.edu/webwork2_files/applets/Image_and_Cursor_All at [PG]/lib/PGalias.pm line 946
findAppletCodebase Error: phaseLine.swf not found after searching https://webwork.lafayette.edu/webwork2_files/applets, 
In reply to Louis Zulli

Re: Another findAppletCodebase Error

by Michael Gage -
It can't find the applet file.  

The file is in OpenProblemLibrary/CSUOhio/htdocs/applets/phaseLine.swf.

If you run    sudo -E webwork2/bin/OPL-update 
the database for the library will be updated and links to the CSU applets will be automatically installed in  webwork2/htdocs/applets (which is addressed by the url .../webwork2_files/applets   ) 

Hope this helps.


In reply to Michael Gage

Re: Another findAppletCodebase Error

by Louis Zulli -
Thanks, but I don't understand your answer. As I posted, the file (or a link to it) already exists in webwork2/htdocs/applets.
In reply to Louis Zulli

Re: Another findAppletCodebase Error

by Michael Gage -
Hmm.  Sorry, I missed that comment.  

I still think there is something wrong with that file or link.  If you try to download the .swf file directly using the browser can you get the file?  Could it be a link that isn't pointing to the correct file?
In reply to Michael Gage

Re: Another findAppletCodebase Error

by Louis Zulli -
When I point my browser to 

https://webwork.lafayette.edu/webwork2_files/applets/phaseLine.swf

some applet loads. I see a number line from -10 to 10, along with other stuff.


In reply to Louis Zulli

Re: Another findAppletCodebase Error

by Ann Kullenberg -
Hello,

We are also having a similar problem with the NPL Applet from CSUOhio.  This is apparent in trying to create problems or load the CSUOhio/appletDemonstationProblems in the Library Browser.

I'll paste the error below, but I found the reason for the problem.  I copied our WebWork server to a test server and removed forced https (redirect http to https) traffic.  As soon as I tried to view the library over just http versus https it loaded fine.  If I manually added https back in, it stopped working.

Error code:

Warning messages

  • findAppletCodebase Error: AntiderivativeDraw.swf not found after searching https://webwork.interlochen.org/webwork2_files/applets, https://webwork.interlochen.org/webwork2_files/applets/geogebra_stable, https://webwork.interlochen.org/webwork2_course_files/iaa_mth301_K/applets, https://webwork.interlochen.org/webwork2_files/applets/Xgraph, https://webwork.interlochen.org/webwork2_files/applets/PointGraph, https://webwork.interlochen.org/webwork2_files/applets/Xgraph, https://webwork.interlochen.org/webwork2_files/applets/liveJar, https://webwork.interlochen.org/webwork2_files/applets/Image_and_Cursor_All at [PG]/lib/PGalias.pm line 946
  • findAppletCodebase Error: DerivativeDraw11.swf not found after searching https://webwork.interlochen.org/webwork2_files/applets, https://webwork.interlochen.org/webwork2_files/applets/geogebra_stable, https://webwork.interlochen.org/webwork2_course_files/iaa_mth301_K/applets, https://webwork.interlochen.org/webwork2_files/applets/Xgraph, https://webwork.interlochen.org/webwork2_files/applets/PointGraph, https://webwork.interlochen.org/webwork2_files/applets/Xgraph, https://webwork.interlochen.org/webwork2_files/applets/liveJar, https://webwork.interlochen.org/webwork2_files/applets/Image_and_Cursor_All at [PG]/lib/PGalias.pm line 946
  • findAppletCodebase Error: Graph_Limit.swf not found after searching https://webwork.interlochen.org/webwork2_files/applets, https://webwork.interlochen.org/webwork2_files/applets/geogebra_stable, https://webwork.interlochen.org/webwork2_course_files/iaa_mth301_K/applets, https://webwork.interlochen.org/webwork2_files/applets/Xgraph, https://webwork.interlochen.org/webwork2_files/applets/PointGraph, https://webwork.interlochen.org/webwork2_files/applets/Xgraph, https://webwork.interlochen.org/webwork2_files/applets/liveJar, https://webwork.interlochen.org/webwork2_files/applets/Image_and_Cursor_All at [PG]/lib/PGalias.pm line 946
  • findAppletCodebase Error: Graph_Limit.swf not found after searching https://webwork.interlochen.org/webwork2_files/applets, https://webwork.interlochen.org/webwork2_files/applets/geogebra_stable, https://webwork.interlochen.org/webwork2_course_files/iaa_mth301_K/applets, https://webwork.interlochen.org/webwork2_files/applets/Xgraph, https://webwork.interlochen.org/webwork2_files/applets/PointGraph, https://webwork.interlochen.org/webwork2_files/applets/Xgraph, https://webwork.interlochen.org/webwork2_files/applets/liveJar, https://webwork.interlochen.org/webwork2_files/applets/Image_and_Cursor_All at [PG]/lib/PGalias.pm line 946
  • findAppletCodebase Error: Graph_Limit.swf not found after searching https://webwork.interlochen.org/webwork2_files/applets, https://webwork.interlochen.org/webwork2_files/applets/geogebra_stable, https://webwork.interlochen.org/webwork2_course_files/iaa_mth301_K/applets, https://webwork.interlochen.org/webwork2_files/applets/Xgraph, https://webwork.interlochen.org/webwork2_files/applets/PointGraph, https://webwork.interlochen.org/webwork2_files/applets/Xgraph, https://webwork.interlochen.org/webwork2_files/applets/liveJar, https://webwork.interlochen.org/webwork2_files/applets/Image_and_Cursor_All at [PG]/lib/PGalias.pm line 946
  • findAppletCodebase Error: derGraphMatchWW.swf not found after searching https://webwork.interlochen.org/webwork2_files/applets, https://webwork.interlochen.org/webwork2_files/applets/geogebra_stable, https://webwork.interlochen.org/webwork2_course_files/iaa_mth301_K/applets, https://webwork.interlochen.org/webwork2_files/applets/Xgraph, https://webwork.interlochen.org/webwork2_files/applets/PointGraph, https://webwork.interlochen.org/webwork2_files/applets/Xgraph, https://webwork.interlochen.org/webwork2_files/applets/liveJar, https://webwork.interlochen.org/webwork2_files/applets/Image_and_Cursor_All at [PG]/lib/PGalias.pm line 946
  • findAppletCodebase Error: derGraphMatchWW.swf not found after searching https://webwork.interlochen.org/webwork2_files/applets, https://webwork.interlochen.org/webwork2_files/applets/geogebra_stable, https://webwork.interlochen.org/webwork2_course_files/iaa_mth301_K/applets, https://webwork.interlochen.org/webwork2_files/applets/Xgraph, https://webwork.interlochen.org/webwork2_files/applets/PointGraph, https://webwork.interlochen.org/webwork2_files/applets/Xgraph, https://webwork.interlochen.org/webwork2_files/applets/liveJar, https://webwork.interlochen.org/webwork2_files/applets/Image_and_Cursor_All at [PG]/lib/PGalias.pm line 946
  • findAppletCodebase Error: graphSketch.swf not found after searching https://webwork.interlochen.org/webwork2_files/applets, https://webwork.interlochen.org/webwork2_files/applets/geogebra_stable, https://webwork.interlochen.org/webwork2_course_files/iaa_mth301_K/applets, https://webwork.interlochen.org/webwork2_files/applets/Xgraph, https://webwork.interlochen.org/webwork2_files/applets/PointGraph, https://webwork.interlochen.org/webwork2_files/applets/Xgraph, https://webwork.interlochen.org/webwork2_files/applets/liveJar, https://webwork.interlochen.org/webwork2_files/applets/Image_and_Cursor_All at [PG]/lib/PGalias.pm line 946
  • findAppletCodebase Error: graphSketch.swf not found after searching https://webwork.interlochen.org/webwork2_files/applets, https://webwork.interlochen.org/webwork2_files/applets/geogebra_stable, https://webwork.interlochen.org/webwork2_course_files/iaa_mth301_K/applets, https://webwork.interlochen.org/webwork2_files/applets/Xgraph, https://webwork.interlochen.org/webwork2_files/applets/PointGraph, https://webwork.interlochen.org/webwork2_files/applets/Xgraph, https://webwork.interlochen.org/webwork2_files/applets/liveJar, https://webwork.interlochen.org/webwork2_files/applets/Image_and_Cursor_All at [PG]/lib/PGalias.pm line 946
  • findAppletCodebase Error: graphSketch.swf not found after searching https://webwork.interlochen.org/webwork2_files/applets, https://webwork.interlochen.org/webwork2_files/applets/geogebra_stable, https://webwork.interlochen.org/webwork2_course_files/iaa_mth301_K/applets, https://webwork.interlochen.org/webwork2_files/applets/Xgraph, https://webwork.interlochen.org/webwork2_files/applets/PointGraph, https://webwork.interlochen.org/webwork2_files/applets/Xgraph, https://webwork.interlochen.org/webwork2_files/applets/liveJar, https://webwork.interlochen.org/webwork2_files/applets/Image_and_Cursor_All at [PG]/lib/PGalias.pm line 946
  • findAppletCodebase Error: graphSketch.swf not found after searching https://webwork.interlochen.org/webwork2_files/applets, https://webwork.interlochen.org/webwork2_files/applets/geogebra_stable, https://webwork.interlochen.org/webwork2_course_files/iaa_mth301_K/applets, https://webwork.interlochen.org/webwork2_files/applets/Xgraph, https://webwork.interlochen.org/webwork2_files/applets/PointGraph, https://webwork.interlochen.org/webwork2_files/applets/Xgraph, https://webwork.interlochen.org/webwork2_files/applets/liveJar, https://webwork.interlochen.org/webwork2_files/applets/Image_and_Cursor_All at [PG]/lib/PGalias.pm line 946
  • findAppletCodebase Error: graphSketch.swf not found after searching https://webwork.interlochen.org/webwork2_files/applets, https://webwork.interlochen.org/webwork2_files/applets/geogebra_stable, https://webwork.interlochen.org/webwork2_course_files/iaa_mth301_K/applets, https://webwork.interlochen.org/webwork2_files/applets/Xgraph, https://webwork.interlochen.org/webwork2_files/applets/PointGraph, https://webwork.interlochen.org/webwork2_files/applets/Xgraph, https://webwork.interlochen.org/webwork2_files/applets/liveJar, https://webwork.interlochen.org/webwork2_files/applets/Image_and_Cursor_All at [PG]/lib/PGalias.pm line 946
  • findAppletCodebase Error: graphSketch.swf not found after searching https://webwork.interlochen.org/webwork2_files/applets, https://webwork.interlochen.org/webwork2_files/applets/geogebra_stable, https://webwork.interlochen.org/webwork2_course_files/iaa_mth301_K/applets, https://webwork.interlochen.org/webwork2_files/applets/Xgraph, https://webwork.interlochen.org/webwork2_files/applets/PointGraph, https://webwork.interlochen.org/webwork2_files/applets/Xgraph, https://webwork.interlochen.org/webwork2_files/applets/liveJar, https://webwork.interlochen.org/webwork2_files/applets/Image_and_Cursor_All at [PG]/lib/PGalias.pm line 946
  • findAppletCodebase Error: graphSketch.swf not found after searching https://webwork.interlochen.org/webwork2_files/applets, https://webwork.interlochen.org/webwork2_files/applets/geogebra_stable, https://webwork.interlochen.org/webwork2_course_files/iaa_mth301_K/applets, https://webwork.interlochen.org/webwork2_files/applets/Xgraph, https://webwork.interlochen.org/webwork2_files/applets/PointGraph, https://webwork.interlochen.org/webwork2_files/applets/Xgraph, https://webwork.interlochen.org/webwork2_files/applets/liveJar, https://webwork.interlochen.org/webwork2_files/applets/Image_and_Cursor_All at [PG]/lib/PGalias.pm line 946
  • findAppletCodebase Error: invaders.swf not found after searching https://webwork.interlochen.org/webwork2_files/applets, https://webwork.interlochen.org/webwork2_files/applets/geogebra_stable, https://webwork.interlochen.org/webwork2_course_files/iaa_mth301_K/applets, https://webwork.interlochen.org/webwork2_files/applets/Xgraph, https://webwork.interlochen.org/webwork2_files/applets/PointGraph, https://webwork.interlochen.org/webwork2_files/applets/Xgraph, https://webwork.interlochen.org/webwork2_files/applets/liveJar, https://webwork.interlochen.org/webwork2_files/applets/Image_and_Cursor_All at [PG]/lib/PGalias.pm line 946
  • findAppletCodebase Error: InverseGraph.swf not found after searching https://webwork.interlochen.org/webwork2_files/applets, https://webwork.interlochen.org/webwork2_files/applets/geogebra_stable, https://webwork.interlochen.org/webwork2_course_files/iaa_mth301_K/applets, https://webwork.interlochen.org/webwork2_files/applets/Xgraph, https://webwork.interlochen.org/webwork2_files/applets/PointGraph, https://webwork.interlochen.org/webwork2_files/applets/Xgraph, https://webwork.interlochen.org/webwork2_files/applets/liveJar, https://webwork.interlochen.org/webwork2_files/applets/Image_and_Cursor_All at [PG]/lib/PGalias.pm line 946
  • findAppletCodebase Error: solidsWW.swf not found after searching https://webwork.interlochen.org/webwork2_files/applets, https://webwork.interlochen.org/webwork2_files/applets/geogebra_stable, https://webwork.interlochen.org/webwork2_course_files/iaa_mth301_K/applets, https://webwork.interlochen.org/webwork2_files/applets/Xgraph, https://webwork.interlochen.org/webwork2_files/applets/PointGraph, https://webwork.interlochen.org/webwork2_files/applets/Xgraph, https://webwork.interlochen.org/webwork2_files/applets/liveJar, https://webwork.interlochen.org/webwork2_files/applets/Image_and_Cursor_All at [PG]/lib/PGalias.pm line 946
  • findAppletCodebase Error: solidsWW.swf not found after searching https://webwork.interlochen.org/webwork2_files/applets, https://webwork.interlochen.org/webwork2_files/applets/geogebra_stable, https://webwork.interlochen.org/webwork2_course_files/iaa_mth301_K/applets, https://webwork.interlochen.org/webwork2_files/applets/Xgraph, https://webwork.interlochen.org/webwork2_files/applets/PointGraph, https://webwork.interlochen.org/webwork2_files/applets/Xgraph, https://webwork.interlochen.org/webwork2_files/applets/liveJar, https://webwork.interlochen.org/webwork2_files/applets/Image_and_Cursor_All at [PG]/lib/PGalias.pm line 946
  • findAppletCodebase Error: solidsWW.swf not found after searching https://webwork.interlochen.org/webwork2_files/applets, https://webwork.interlochen.org/webwork2_files/applets/geogebra_stable, https://webwork.interlochen.org/webwork2_course_files/iaa_mth301_K/applets, https://webwork.interlochen.org/webwork2_files/applets/Xgraph, https://webwork.interlochen.org/webwork2_files/applets/PointGraph, https://webwork.interlochen.org/webwork2_files/applets/Xgraph, https://webwork.interlochen.org/webwork2_files/applets/liveJar, https://webwork.interlochen.org/webwork2_files/applets/Image_and_Cursor_All at [PG]/lib/PGalias.pm line 946
  • findAppletCodebase Error: trigwidget.swf not found after searching https://webwork.interlochen.org/webwork2_files/applets, https://webwork.interlochen.org/webwork2_files/applets/geogebra_stable, https://webwork.interlochen.org/webwork2_course_files/iaa_mth301_K/applets, https://webwork.interlochen.org/webwork2_files/applets/Xgraph, https://webwork.interlochen.org/webwork2_files/applets/PointGraph, https://webwork.interlochen.org/webwork2_files/applets/Xgraph, https://webwork.interlochen.org/webwork2_files/applets/liveJar, https://webwork.interlochen.org/webwork2_files/applets/Image_and_Cursor_All at [PG]/lib/PGalias.pm line 946

Request information

TimeWed Jan 29 12:34:58 2014
MethodPOST
URI/webwork2/iaa_mth301_K/instructor/setmaker/

Again, just to confirm, the files are there, you can actually browse to the applets directly over https and they load fine.  I have tried OPL-Update and setfilepermissions scripts, checked my modules, etc.  They only do not load when embedded/loaded into another page of https, but do load on http.

The CSUOhio applet library is the only error we have run across so far, everything else has been fine, but given the number of libraries, I am sure there might be others (maybe the flash based ones) that have the same problem.

I should also mention we are on Webwork 2.8 and pg 2.8.  Happy to provide other server related version stats if needed.
In reply to Ann Kullenberg

Re: Another findAppletCodebase Error

by Louis Zulli -
You may want to check the portion of your site.conf shown below. On our server, lwp-request is in /usr/local/bin. Once we fixed the path, applets were found as needed by WW.

Louis 



####################################################
# url checker
####################################################

$externalPrograms{checkurl} = "/usr/bin/lwp-request -d -mHEAD "; # or "/usr/local/bin/w3c -head "

In reply to Louis Zulli

Re: Another findAppletCodebase Error

by Ann Kullenberg -
Thanks for the idea, but on our server lwp-request is located in /usr/bin/ not /usr/local/bin/ and the site.conf points to the correct location, so no luck with that.
In reply to Ann Kullenberg

Re: Another findAppletCodebase Error

by Ann Kullenberg -
I think I figured this out for us, the https cert we were using needed to have an intermediate chain cert (Entrust for us) set in sites-enabled conf for webwork.  Just posting this on the off-chance it helps someone else.