cannot load class sun/plugin/JavaRunTime.

I have a project which uses interpreted java scripts.

The file basically reads in a txt file and then goes through each line and uses the value to do a search.

On the scraping session, I have selected the HTTP client: to the value of Internet Explorer (Windows Only).

When I run the script, I get a the error

cannot load class sun/plugin/JavaRunTime.

The bridge was installed at but the class is not there
modify the registry key to reflect the new bridge location
the key is HKEY_LOCAL_MACHINE\SOFTWARE\Java Plug-in
or change your CLASSPATH to include the new directory.

I have researched this error and have tried practically all of the suggested remedies listed on this forum
[url]
http://forum.java.sun.com/thread.jspa?threadID=559238[/url]

I have also tried installing Java6 but nothing has yet made any difference.

The script works if I set the HTTP client: http client (recommended) but then I can't seem to get out onto the web going through the companies proxy server. The proxy server works your windows login and these values are automatically picked up when you use internet explorer. I believe it is active directory to get store/get this information.

Does anyone have any ideas for a solution.

cannot load class sun/plugin/JavaRunTime.

Ben,

[quote]There is no projected time frame available from Apache for when this will be - customary for Open Source projects.[/quote]

-Scott

release schedule

Hi Scott

I have looked on the link that was on your last reply

[url]http://jakarta.apache.org/httpcomponents/httpcomponents-client/index.html
[/url]

I was wondering if there is any schedule for the releases of httpClient, I looked on the link above but couldn't really find any indication of the release schedule

I appreciate you don't know because it could be any time but I was wondering if you had any idea of When will version 4 of HTTPClient be released ?

I'm just looking for a very rough estimate, do you think it will be within the next 3 months? 6 months.

Thanks for you responses, your help is greatly appreciated.

Cheers

Ben

cannot load class sun/plugin/JavaRunTime.

Ben,

Apache is working on releasing version 4 of HTTPClient. It will include a way to integrate with Active Directory networks. screen-scraper currently employs HTTPClient 3 which is incompatible with Active Directory (since it uses Micosoft's closes authentication protocol Kerberos).

Once HTTP 4 is released in a stable form we expect to be integrating it within screen-scraper. There is no projected time frame available from Apache for when this will be - customary for Open Source projects.

In the meantime, you'll need to run screen-scraper from outside your network.

http://jakarta.apache.org/httpcomponents/httpcomponents-client/index.html

Thanks,
Scott

firewall blocking calls

Hi Todd

I am in a unusual situation. Basically I have asked the techy guys to see what is happening regarding the call getting out to the internet.

They have said that when Screen scraper is run the call to the website doesn't get past the firewall. This is quite unusual because the firewall is run with basic settings of stopping rude words and words like bomb, so I'm not sure why this is happening. I'm not sure why this is happening or why the call from screen scraper wouldn't get past the firewall, have you experienced anything like this before.

The problem I had before was we can't access the internet because logging into the proxy server is usually done automatically when you log in with Internet Explorer. The logging in to the proxy server takes the details of the active directory, which is your windows log in. The works when we change the Http Client to Internet Explorer (windows only). If we don't set the Http Client to internet explorer then it crashes with the java error.

any suggestions on my next move

cannot load class sun/plugin/JavaRunTime.

Hi Ben,

screen-scraper connects to web sites using whatever port is indicated in the URL, which, by default, is 80. From the standpoint of your firewall, it wouldn't even be able to distinguish between an actual web browser and screen-scraper.

My guess is that it still has something to do with the authentication required by your company's firewall. Just out of curiosity, are you able to connect to the Internet using Firefox or Opera while on your company's network? If so, do you need to make any adjustments to the browser preferences in order to connect up?

Thanks,

Todd

cannot load class sun/plugin/JavaRunTime.

Hi Scott

We think we are experiencing problems due to the firewall perhaps filtering out the calls to the web pages from screen safer.

Have you had an thing like this before.

I believe that screen scraper makes it own internet connection and goes out through the normal http access on port 80, is this the case or does screen scraper go onto the internet via a different port. If it is a different port then this would explain why it isn't get past the firewall.

Have you had any previous problem with screen scraper and firewall settings? or do you have any advice on perhaps how we can diagnose the problem and which port does screen scraper get out on to the internet from.

Thanks for your help

Ben

cannot load class sun/plugin/JavaRunTime.

Ben,

I'm afraid we do not have a network set-up equivalent to what you're describing in order to do adequate testing. The best I can do is offer some ideas and tools that may help you identify a possible fix.

First, I recommend that you add this Explorer Bar to your version of Internet Explorer.

http://www.blunck.info/iehttpheaders/iehttpheaders.html

It will reveal all of the HTTP Header transactions occurring between your browser and anything beyond it. The Firefox equivalent is called Live HTTP Headers and is available here.

https://addons.mozilla.org/en-US/firefox/addon/3829

This link contains certain proxy probing tools that you may find helpful.

http://www.ush.it/free-services/proxy-tools/

Please let us know if you have any specific questions for us.

Thanks,
Scott

cannot load class sun/plugin/JavaRunTime.

Hi Scott

We tried trying to connect through the proxy server using both types of connection (ntlm and the other one)

When we connect via the normal proxy settings, we get a 407 message, which I think is basically saying it isn't authenticating.

When we try to screen scrape through the NTLM Proxy settings we can send the request off but then nothing comes back.

If you have any ideas that would be great.

I have been investigating the reason for the crash when you select the internet explorer http client and it seems that the plugin my internet explorer has is version 6. something whilst jre that screen scraper uses is version 4.2 something. I have tried setting my browser to use the version 4 jre but I couldn't figure out how to do it.

If you have any suggestions on the above that would be great.

Thanks Ben

cannot load class sun/plugin/JavaRunTime.

Ben,

I'm having our lead developer take a look at this for you. In the mean time could you just confirm that you've tried using the NTLM proxy settings as well?

Thanks,
Scott

can't connect to proxy server

We have tried putting in the login details of the user into external Proxy authentication but this doesn't get through the proxy server. I put in the correct username, password, host and port but the connection doesn't work.

I'm not sure if its because it uses active directory to get the username, password details usually.

The bottom line is that I can't get the proxy authentication to work, so the way I got it work was changing the http client but then this crashes.

cannot load class sun/plugin/JavaRunTime.

Ben,

I recommend that you resolve the issue you're having with accessing the companies proxy server by obtaining the credentials you need. Once you have the appropriate username, password, host, & port you can set screen-scraper to use the companies external proxy server in the settings window from within the workbench.

The error you're experiencing is occurring outside of screen-scraper and may not have an easy solution.

Thank you,
Scott