Unsigned applet load failure via HTTPS

Java Plug-in 1.5.0_06
MSIE 6.0
Unsigned applet loading via HTTPS failed.
We used a relative URL in an APPLET tag :
<APPLET CODEBASE="/TEST/" ARCHIVE="test.jar" CODE="nl.myorganisation.test">
The plugin does not seem to reuse the browser SSL-session.
It looks like the plugin does not find installed certificates in Explorer stores.
The 2th and 3th connection retry use an erroneous URL.
network: Connecting https://myorganisation.nl/TEST/test.jar with proxy=DIRECT
security: Loading Root CA certificates from <jre-home>\lib\security\cacerts
security: Loaded Root CA certificates from <jre-home>\lib\security\cacerts
security: Loading SSL Root CA certificates from <jre-home>\lib\security\cacerts
security: Loaded SSL Root CA certificates from <jre-home>\lib\security\cacerts
security: Loading Deployment SSL certificates from <user-home>\Data\Sun\Java\Deployment\security\trusted.jssecerts
security: Loaded Deployment SSL certificates from <user-home>\Data\Sun\Java\Deployment\security\trusted.jssecerts
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Loading certificates from Internet Explorer ROOT certificate store
security: Loaded certificates from Internet Explorer ROOT certificate store
security: Checking if certificate is in Deployment session certificate store
security: Checking if SSL certificate is in Deployment permanent certificate store
network: Connecting https://myorganisation.nl/CGI-BIN/nl/myorganisation/test.class with proxy=DIRECT
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Checking if certificate is in Deployment session certificate store
security: Checking if SSL certificate is in Deployment permanent certificate store
network: Connecting https://myorganisation.nl/CGI-BIN/nl/myorganisation/test.class with proxy=DIRECT
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Checking if certificate is in Deployment session certificate store
security: Checking if SSL certificate is in Deployment permanent certificate store
load: class nl.myorganisation.test not found.
Does anybody have any suggestion ?
Thanks and greetings,
Marc

First, Java plugin don't use browser https connection starting JRE 1.4, for running an applet in https server, the browser need to establish a https connection first, then Java pugin will use another https connection.
Second, Java plugin can read certificate from browser, starting JRE 1.5, you can go to Java control panel, Advanced tab, under security, check on the box:
"Use certificate and keys in browser keystore"
This way the Java plugin will read the certificate from browser too. (It will work automatically in IE browser, if you use Mozilla, you have to install JSS package first).
To answer your question, you can either turn on that option or import https certificate into JRE keystore (using Java control panel) for https connection.
Hope that answered your question.
Dennis

Similar Messages

  • EEM - puts action fails in EEM applet/script when called via HTTP

    I have an EEM script which produces some diagnostic output.  The script is written to be initiated by "event manager run" and is running in sync mode.  Script uses "puts" into stdout to produce the output.  Everything is working fine, except when script is initiated via HTTP/HTTPS I get no output.
    To reproduce the issue I have created the following applet:
    event manager applet TEST1
    event none sync yes
    action 1 puts nonewline "SOMETEXT"
    Here is output from command line (tested from console and telnet):
    router#event manager run TEST1
    SOMETEXT
    router#
    When applet is called via HTTP using http://router/level/15/exec/-/event/manager/run/TEST1/CR URL the output is empty.  The test message goes to the console versus to HTTP reply.
    So it looks like the stdout is not redirected to HTTP session successfully.
    Any advice on why it is happening, or better yet how to fix it would be apprecaited.

    Thank you.  This is also what I was thinking.  As you probably already know I have opened a TAC case on the matter.

  • Loading Classes with JarClassLoader via https

    I Tried the Examples under
    http://developer.java.sun.com/developer/Books/JAR/api/jarclassloader.html
    With this example you are able to load a class from an remote jar-file
    via an HTTP Server e.g. Netscape Enterprise Server down to your PC
    with the Command: java JarRunner http://xxx:<port#>/<mypath>/<myjar>.jar
    Does anybody know, how to load the class from the remote jar-file via
    https ? java JarRunner https://xxx:<port#>/<mypath>/<myjar>.jar ?

    Load the Java Secure Socket Extensions (http://java.sun.com/products/jsse/). This will provide a handler for HTTPS URL's. Obviously not a great option for internet applets...
    Chuck

  • Error while loading the runtime repository via HTTP

    Hi Experts,
    I am trying to delete an enhancement and when I enter the component name and the enhancement set in BSP_WD_CMPWB. I get the following error when right click the enhanced view and select delete : Error while loading the runtime repository via HTTP. How do I delete this enhancement?
    Regards
    Abdullah Ismail.

    if for some reason the runtime repository is not coherent, you get an error each time you try to read it (and this is the case when you open a component using the transaction BSP_WD_CMPWB)
    this is because the XML file is interpreted by a CALL TRANSFORMATION statement, and any incorrect node will raise an uncaught exception
    solution:
    enhanced view is contained into BSP application you have created the first time you enhanced the component
    go to SE80 and enter the BSP application where your objects are stored (the name you provided the first time)
    there you can modify directly the objects, including the runtime repository which is stored under node "Pages with flow Logic"
    once the correction is done, you can access again your component through transaction BSP_WD_CMPWB (and delete it properly if this is what you want to do)

  • Ensure image loaded via http connection

    hi all
    I have a midlet that will load various images and displaying them on a canvas, upon request from the sever via HTTP connection.
    And since the operation are being performed via the commands, the http connection code had been placed in another thread.
    My question is, how can I ensure that all the necessary images are being loaded before moving on to execute the next code segment in my midlet?

    When i try to send the server its unable to recieve image data . it was able to recieve request data.
    As we use the same procedure to send data(irrespective of form as i m sending bytes)
    Here is the code snippet
    private boolean OpenHTTPConnection(String xmlData, String strUrl, String strRequestType) {
            System.out.println("UUURRRRLLL ->" + strUrl);
            System.out.println("XML Data---> ->" + xmlData + "'''''''" + bHTTPStatus);
            int rc, height, width;
            byte[] data;
            byte[] imageData = null;
            InputStream iStrm = null;
            try {
                if (xmlData != null) {
                    con = (HttpConnection) Connector.open(strUrl, Connector.READ_WRITE, false);
                    con.setRequestMethod(HttpConnection.POST);
                    data = xmlData.getBytes();
                    System.out.println("1->" + data);
                    OutputStream ops = con.openOutputStream();
                    System.out.println("----data length---" + data.length);
                  ops.write(data);
       if (Snapper.isUpload == true) {
    ops.write(Snapper.raw,0,Snapper.raw.length);
                    rc = con.getResponseCode();
                    if (rc != HttpConnection.HTTP_OK) {
                        result.setText("Server is not ready...");
                    if (ops != null) {
                        ops.close();
                    xmlData = null;
                    imageData = null;
                    Snapper.isUpload = false;
                }// end of null check
                else {
                    System.out.println("Open the Con using this URL--->" + strUrl);
                    // open the specific photo for View module
                    con = (HttpConnection) Connector.open(strUrl);
                    con.setRequestMethod(HttpConnection.GET);
                strParameters = null;
            } catch (Exception e) {
                System.out.println("Exception------->" + e);
                e.printStackTrace();
                midlet.uiManeger.SetLastErrorCode(Parser.NO_NETWORK);
            return true;
        }

  • How can my applet communicate with servlet via HTTPS?

    hi all,
    I'm using jdk1.4.2_03. Tomcat 4.1.27/29.
    My applet used to communicate to serlvet/JSP via http protocol. However, I wish to apply SSL in my tomcat standalone. Is there any implication towards my existing applet to servlet codes?
    For example,
    URL servletURL = new URL("http://www.myhost.com/Shopping");
    // open connection between applet and servlet
    URLConnection servletConnection = servletURL.openConnection();
    servletConnection.setDoOutput(true); // allow connection do output
    servletConnection.setDoInput(true); // allow connection do input
    servletConnection.setUseCaches(false);
    servletConnection.setRequestProperty("Content-Type", "application/octet-stream");
    ObjectInputStream input = new ObjectInputStream(servletConnection.getInputStream());
    resultset = (Vector)input.readObject(); //get Object from Servlet
    input.close();

    http://java.sun.com/j2se/1.4.2/docs/api/javax/net/ssl/HttpsURLConnection.html
    I never used it though, you can check for some code here:
    http://javaalmanac.com/cgi-bin/search/find.pl?words=HttpsURLConnection

  • Problem with loading an image via HTTP

    Hallo,
    When using the JBCL TransparentImage control i can load images
    from my local HD. But when i use setImageURL it won't work. I
    looked at the sources and it seems to me that the problem lies
    within the default toolkit. The following code works when using
    a local file. Via HTTP the Observer get's one notification with
    just the error-flag set.
    URL url=new URL("http://localhost/mxtj_inetmaps/mp_map1.gif");
    // String sFileName="c:\\mapinfo\\inetmap\\mp_map1.gif";
    Toolkit tk=Toolkit.getDefaultToolkit();
    Image i=tk.getImage(url);
    // Image i=tk.getImage(sFileName);
    MyObserver mo=new MyObserver();
    tk.prepareImage(i, -1, -1, mo);
    Could someone help me, how to show a Web-Image within a control ?
    Bye Heiko.
    null

    Hi,
    There is no getImage that accepts the parameters in the order in which you have given them. Try this:
    getImage( getCodeBase(), "flower.gif" );
    Regards,
    Manfred.

  • WLC Captive Portal not loading images or via HTTP correctly

    Hi All,
    I have a strange issue I'm hoping someone can shed some light on.
    I have a CT2504 at a customer site which does not load the captive portal page correctly nor will it load via HTTP as opposed to HTTPS.
    So for starters I did what I do with all my CT2504's (which work fine), I configured my Guest network to authenticate via the default captive portal. I then disabled HTTPS and SSH and enabled HTTP managment followed by rebooting the controller.
    On boot, logging into the WLC management GUI is automatically presented via HTTP as expected.
    However when clients access the Guest network they are redirected to the Web Authorisation via HTTPS instead of HTTP, any ideas?
    In addtion to the above the captive portal page does not display correctly.
    The preview via the controller works fine, but the client is presented with a page with broken links to the images i.e. the blue strip at the top and the Cisco logo on the right, any clue what's happening here?
    Any help would be greatly appreciated.
    Thanks,
    Gary

    Thanks Gray. I am glad it worked.
    Rating useful replies is more useful than saying "Thank you"

  • SSIS Package Load Failure and is missing Execute SQL Task in Toolbox

    Also, BIDS closes after right-clicking the toolbox and selecting “Choose Items”.
    I’ve tried several ways to fix these issues with no success.
    I’m running SSIS/SSMS/SQL Server 2008 R2 (but not running an SQL instance on my PC) on a Windows XP with Service Pack 3 workstation. I get the following errors:
    WHEN OPENING BIDS:
    I get 2 errors titled “Package Load Failure”. They both reference ‘Visual Studio Explorers and Designers Package’ as being what failed to load. The first message references GUID 8D8529D3-625D-4496-8354-3DAD630ECC1B. The second references GUID AA612177-A69A-4391-B2F4-17F8A88F4BBA
    . They both mention contacting the package vendor, but I haven’t got any Add-ins loaded so I’m not sure what that means exactly. They also both ask if I’d like to skip loading the package in the future.
    ONCE BIDS IS OPEN:
    No error messages appear here. There is no ‘Execute SQL Task’ in the toolbox for Control Flows. Also, if I attempt to open a project containing this object (Execute SQL Task), I get this error in a modal window:
    TITLE: Microsoft Visual Studio
    There were errors while the package was being loaded.
    The package might be corrupted.
    See the Error List for details.
    BUTTONS:
    OK
    . . . and these errors in the Error List at the bottom of the IDE:
    Error      1             
    Error loading Package.dtsx: Failed to load task "Execute SQL Task", type "Microsoft.SqlServer.Dts.Tasks.ExecuteSQLTask.ExecuteSQLTask, Microsoft.SqlServer.SQLTask, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91". The contact information
    for this task is "Execute SQL Task; Microsoft Corporation; Microsoft SQL Server 2008 R2; © 2007 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1". 
            C:\Documents and Settings\848862.VCHS_NT_DOMAIN\My Documents\Visual Studio 2008\Projects\LearnSSIS\LearnSSIS\Package.dtsx   
    1               
    1             
    Error      2             
    Validation error. Execute SQL Task : The task has failed to load. The contact information for this task is "Execute SQL Task; Microsoft Corporation; Microsoft SQL Server 2008 R2; © 2007 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1". 
            Package.dtsx    
    0             
    0             
    Error      3             
    Validation error. Execute SQL Task : There were errors during task validation. 
       Package.dtsx    
    0             
    0               
    Finally, when I attempt to add the Execute SQL Task via the Tools menu, “Choose Toolbox Items” selection, I do get the tabbed box for adding things. However, they only come up after issuing this error:
    The following assemblies are installed SDK assemblies but could not be shown in the customize toolbox dialog because they are missing one or more components. Please make sure that all necessary libraries are available:
    Microsoft.SqlServer.SqlCEDest.dll
    Microsoft.SqlServer.Management.CollectorTasks.dll
    Microsoft.SqlServer.SQLTask.dll
    System.Data.SqlServerCe.dll
    Microsoft.Synchronization.Data.SqlServerCe.dll
    (above dll repeated at bottom of message)
    After this message, I have my choice of .NET Framework Compnents. When I select COM Components, those come up with no problem. The WPF Components tab generates the same dll error above. The Maintenance tab is empty. The SSIS Data Flow Items tab loads fine,
    as does the SSIS Control Flow Items tab – but there’s no Execute SQL Task there either.
    If you open the toolbox (on a new project, with a project loaded, or without a project loaded) and right-click, then select “Choose Items”, the entire application quickly closes. This “closing behavior” is the same thing you get if you attempt to add toolbox
    items through either the Tools menu or the right-click method when you launch BIDS in SafeMode.
    In an effort to fix this – I’ve rolled back the .NET Framework version to 3.0 and reinstalled back up to 4; I’ve uninstalled and reinstalled SQL Server 2008 R2 shared services as well as the entire application; I’ve cleared the .tbd files from my user profile;
    and I’ve run several things from the command line (devenv.exe /resetuserdata, /setup, /resetskippkgs, etc.). Lastly – I’ve applied every Service Pack and update applicable to my PC (ok, it belongs to my employer – but no one here has been able to figure this
    out either).
    After having worked this for several days now and, I think, exhausting every available avenue from search engines – I turn to you. Please let me know if you can help. Also, I can provide any additional
    files or information you may require.
    CBS

    try: Devenv.exe /ResetSettings
    http://msdn.microsoft.com/en-us/library/ms241273(v=vs.80).aspx
    Or try this (it's for 2005, but maybe it works for 2008 aswell):
    http://geekswithblogs.net/cicorias/archive/2007/10/10/Restoring-Missing-Toolbox-Items-in-Visual-Studio-2005---just.aspx
    or try
    http://stackoverflow.com/questions/1268298/how-to-rebuild-the-visual-studio-toolbox
    "You can also go into the folder "C:\Documents and Settings\\Local Settings\Application Data\Microsoft\VisualStudio\9.0" and delete the *.tbd files.  I have had to do this a couple times to get rid of duplicate items and when Reset Toolbox crashes
    without warning"
    Please mark the post as answered if it answers your question | My SSIS Blog:
    http://microsoft-ssis.blogspot.com |
    Twitter

  • Applet loading in IE vs Firefox

    Hello!
    I have a peculiar problem. I have several web pages containing lots of applets which via static methods register to a "master" applet which in turn collects information from a remote source and then updates the registered applets periodically.
    Well this works fine, however the load times in IE are outrageous, it can take up to 2 minutes or so before a page with approxiamtely 20 applets is fully loaded. Whilst the same page takes about 2 seconds in firefox. I should also mention that when the page has been loaded in IE it works just as well as it does in firefox. The only problem is that it takes all to long for the page to load.
    What could be the explanation of this? What is the fundamental difference in IE compared to firefox when applets are loaded?
    Does anyone have some sort of clue about this one?
    /HG

    cell@tech wrote:
    When I navigate to the site in IE and click on the link the applet loads, but when I navigate to the site in FireFox3 it displays the html code. My FireFox browser runs applets just fine on other sites, so is there something else I need to put in the html code for FF3?Works fine with FF2.
    Try to add a BODY to your HTML.
    <html>
    <body>
    <applet height="600" width="600" code="com.program.startup.Starter.class">
    <param name=archive value=http://www.wheeling22.adventistchurchconnect.org/site/1/directory/WheelingWebSite.jar /> Your browser does not support the <code>applet</code> tag. </applet>
    </body>
    </html>Bye.
    RG.

  • Uploading Very Large Files via HTTP

    I am developing some classes that must upload files to a web server via HTTP and multipart/form-data. I am using Apache's Tomcat FileUpload library contained within the commons-fileupload-1.0.jar file on the server side. My code fails on large files or large quantities of small files because of the memory restriction of the VM. For example when uploading a 429 MB file I get this exception:
    java.lang.OutOfMemoryError
    Exception in thread "main"I have never been successful in uploading, regardless of the server-side component, more than ~30 MB.
    In a production environment I cannot alter the clients VM memory setting, so I must code my client classes to handle such cases.
    How can this be done in Java? This is the method that reads in a selected file and immediately writes it upon the output stream to the web resource as referenced by bufferedOutputStream:
    private void write(File file) throws IOException {
      byte[] buffer = new byte[bufferSize];
      BufferedInputStream fileInputStream = new BufferedInputStream(new FileInputStream(file));
      // read in the file
      if (file.isFile()) {
        System.out.print("----- " + file.getName() + " -----");
        while (fileInputStream.available() > 0) {
          if (fileInputStream.available() >= 0 &&
              fileInputStream.available() < bufferSize) {
            buffer = new byte[fileInputStream.available()];
          fileInputStream.read(buffer, 0, buffer.length);
          bufferedOutputStream.write(buffer);
          bufferedOutputStream.flush();
        // close the files input stream
        try {
          fileInputStream.close();
        } catch (IOException ignored) {
          fileInputStream = null;
      else {
        // do nothing for now
    }The problem is, the entire file, and any subsequent files being read in, are all being packed onto the output stream and don't begin actually moving until close() is called. Eventually the VM gives way.
    I require my client code to behave no different than the typcial web browser when uploading or downloading a file via HTTP. I know of several commercial applets that can do this, why can't I? Can someone please educate me or at least point me to a useful resource?
    Thank you,
    Henryiv

    Are you guys suggesting that the failures I'm
    experiencing in my client code is a direct result of
    the web resource's (servlet) caching of my request
    (files)? Because the exception that I am catching is
    on the client machine and is not generated by the web
    server.
    trumpetinc, your last statement intrigues me. It
    sounds as if you are suggesting having the client code
    and the servlet code open sockets and talk directly
    with one another. I don't think out customers would
    like that too much.Answering your first question:
    Your original post made it sound like the server is running out of memory. Is the out of memory error happening in your client code???
    If so, then the code you provided is a bit confusing - you don't tell us where you are getting the bufferedOutputStream - I guess I'll just assume that it is a properly configured member variable.
    OK - so now, on to what is actually causing your problem:
    You are sending the stream in a very odd way. I highly suspect that your call to
    buffer = new byte[fileInputStream.available()];is resulting in a massive buffer (fileInputStream.available() probably just returns the size of the file).
    This is what is causing your out of memory problem.
    The proper way to send a stream is as follows:
         static public void sendStream(InputStream is, OutputStream os, int bufsize)
                     throws IOException {
              byte[] buf = new byte[bufsize];
              int n;
              while ((n = is.read(buf)) > 0) {
                   os.write(buf, 0, n);
         static public void sendStream(InputStream is, OutputStream os)
                     throws IOException {
              sendStream(is, os, 2048);
         }the simple implementation with the hard coded 2048 buffer size is fine for almost any situation.
    Note that in your code, you are allocating a new buffer every time through your loop. The purpose of a buffer is to have a block of memory allocated that you then move data into and out of.
    Answering your second question:
    No - actually, I'm suggesting that you use an HTTPUrlConnection to connect to your servlet directly - no need for special sockets or ports, or even custom protocols.
    Just emulate what your browser does, but do it in the applet instead.
    There's nothing that says that you can't send a large payload to an http servlet without multi-part mime encoding it. It's just that is what browsers do when uploading a file using a standard HTML form tag.
    I can't see that a customer would have anything to say on the matter at all - you are using standard ports and standard communication protocols... Unless you are not in control of the server side implementation, and they've already dictated that you will mime-encode the upload. If that is the case, and they are really supporting uploads of huge files like this, then their architect should be encouraged to think of a more efficient upload mechanism (like the one I describe) that does NOT mime encode the file contents.
    - K

  • Repetitive Applet Loading

    Hi,
    I have written a [signed applet|http://code.google.com/p/jzebra/] that sends special raw data to a printer. This applet loads and works well by specifying printer parameters as applet param tags.
    The applet is an open source project and has gained some momentum from a few web developers.
    Since this applet is designated for printing, it's loaded and unloaded a multitude of times (possibly hundreds) per day as the applet appears on the "print page" of the web sites that use it. (Think of a bar-code print page for example). This loading and unloading seems like a redundant step that could benefit by having the applet always running instead.
    In terms of functionality, I'm getting great feedback from users, but one complaint seems to be the load time of the applet for each successive load of the print page (our company uses the applet in a similar fashion).
    Is there a way to keep the applet "always loaded" page-wide or site-wide and have it simply "listen" for the print jobs? (Or perhaps is our web page design just wrong?)
    Suppose a pop-up or new web page loads that needs to use the applet, can the applet be residual in that fashion? It smells like a client-server relationship, but I doubt a server-side solution would work since the printers are attached locally to the workstations. I'm a fluent java developer but only know basic web development. Any help is appreciated.
    Thanks!
    -Tres

    FBL wrote:
    If this applet is deployed in a 1.6.0_10+ JREOur organization has flexibility on JRE versions, so requiring update 10 shouldn't be too large of a hurdle. In fact, the stations with internet access receive it automatically so we're lucky in that regard.
    it is possible to configure it via JWS (even while still embedded in the web page). JWS would provide more reliable caching behaviour, and might even allow you to provide the applet sandboxed, by using the JNLP API's PrintService. When you say "webstart" and "sandboxed", I assume you mean it will be a web start application that appears to be running as an applet within the page. >Just a slight clarification. To me, web start means a way of launching, sand-boxed means as opposed to j2ee-application-client-permissions or all-permissions, and embedded in a web page means as opposed to free floating (like a JFrame).
    It has been possible to launch applets using web start since Java 1.2 that become free floating. Since 1.6.0_10, it has become possible to configure an embedded applet using web start.
    All security levels are available to any application or applet launched(/configured) using web start. But a 'normal' (not configured by JNLP) signed applet has one of two security levels, either sand-boxed (the user refused the digitally signed code) or all-permissions (code OK'd).
    To use the web start services from the sand box, the code does not need to be digitally signed (one of the main benefits), but to get the code elevated to j2ee-application-client-permissions or all-permissions, it needs to be signed.
    >
    ..Although the built-in PrintService makes me wonder if you're hinting into going application-less and doing the logic in php/JavaScript. The only reason it actually shows in the page, is because it was the conservative applet approach.
    Having the applet outside the browser, or even "invisible" to the end-users is usually desired so as long as it's controlled through other means if necessary.
    Thank you for the response and the link. I launched the PrintService demo and received the security dialogs. Is that the primary purpose of the demos? >Basically. If you want to continue to deploy as trusted, then that 'query at time of print' prompt would disappear.
    >
    ...I didn't expect it to actually print anything. So, naturally I'll need to read more.
    I'm marking this thread as answered, but I'm very interested in learning more about use Java Web Start to exploit this applet. I guess I'm still a bit undereducated on the applet -- vs -- application aspect of JWS and how to bind and exploit the api through a web page.>All the services mentioned in the [JNLP API page|http://pscode.org/jws/api.html] are available to applets deployed via web start, though some of them (file associations, single instance service..) do not make much sense for applets. But the main reason I mentioned it, as that it takes control of the class caching from the browser, and makes it more reliable. Check out the [Java Web Start|http://java.sun.com/javase/technologies/desktop/javawebstart/index.jsp] pages at Sun, but keep in mind that the embedded web start applets are fairly new, and the Sun pages probably do not mention them yet (shrugs).
    It occured to me that if you are configuring the applet parameters for different products(/whatever) then you are actively generating the parameters? One slight complication is that configuring applets can be done via JS or a server side solution, whereas deployment using web start would require a unique (for each set of parameters) JNLP file that must be generated on the server side.

  • Try expose svn via http, but Location directive does not work.

    Hello everyone,
    I used svn exposed via http in OSX 10.6 and 10.7 using collabnet.
    Now I take OSX server 10.8 and installed svn inside XCode.
    SVN is correctly installed, apache respond to default site.
    I copied the modules dav_svn_module and authz_svn_module compiled on my machine with same svn version of XCode [version 1.6.18 (r1303927)] .
    I created a file into /etc/apache2/other called svn.conf that contain follow code:
    LoadModule dav_svn_module libexec/apache2/mod_dav_svn.so
    LoadModule authz_svn_module libexec/apache2/mod_authz_svn.so
    <Location /repo>
      DAV svn
      SVNPath '/Volumes/VMware HD/svn/repository'
    </Location>
    Checking if module are loaded with sudo apachectl -t -D DUMP_MODULES i obtain:
    Loaded Modules:
    dav_svn_module (shared)
    authz_svn_module (shared)
    Syntax OK
    So file svn.conf is loaded and the module too.
    When I try to check via browser with http://localhost/repo I obtain in /var/log/apache2/error_log the following error:
    [Wed Feb 13 12:41:12 2013] [error] [client 192.168.1.114] File does not exist: /Library/Server/Web/Data/Sites/Default/repo
    Is Location directive failing?!
    How can I expose the right repository location instead of default site?

    Oeren,
    I stumbled across this little tidbit buried in the BI Publisher forum: Dynamic Images in rtf
    Glad you are up and running!
    Joshua

  • Office Web Apps - Preview not appearing when acccessing via HTTPS

    I have installed Sharepoint 2013 and Office Web Apps, set the wopibinding, and set the wopizone to be https-external. Everything seems to work fine if accessing the web app using HTTP (can open, edit, preview office web app (WAC) documents)... but if
    I access via HTTPS then I run into a mixed content error when trying to preview the WAC documents... I can open them and edit them without issue using office web apps inside the browser though just not preview.
    If I select "New document" it also takes a while to load and displays a blank pop up window... assume it must be related
    Error message:
    XMLHttpRequest cannot load http://xxxx.org.nz/Docs/_layouts/15/inplview.aspx?List={6E…65723B96E}&ViewCount=1&IsXslView=TRUE&IsCSR=TRUE&IsRibbon=TRUE&Cmd=EcbView.
    No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://xxxxxx' is therefore not allowed access.
    [blocked] The page at 'https://xxxxx.org.nz/xx.aspx' was loaded over HTTPS, but ran insecure content from 'http://xxxxxx/Docs/_layouts/15/WopiFrame.aspx?sourced…%20big%20wide%20inter%20web%2Edocx&action=interactivepreview&wdSmallView=1':
    this content should also be loaded over HTTPS.

    Hi  ,
    Before you configure SharePoint 2013 to use Office Web Apps Server via HTTPS, make sure that you have set up Office Web Apps Server by following the steps in Deploy
    a single-server Office Web Apps Server farm that uses HTTPS or Deploy a multi-server, load-balanced Office Web Apps Server farm
    that uses HTTPS.
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Multiple instances of the same applet loaded causes problem

    I have a java applet that has several classes in the project. The applet has a JTable a JButton and a JLabel control. The applet is displayed within an HTML page. The problem is that if a user opens the same html page more than once with the applet in it, only the last applet loaded receives the screen updates.
    For example in one senario. I have an error message that displays in the Label control once they click on the button.
    The user opens the html page and the applet is loaded (window 1). The user then opens the same html page again (window 2) with window 1 still open. If the user clicks on the Button in window 1, the error message is displayed in the window 2 applet.
    Originally I had some static variables. Thinking it was being used globally by the JVM so I removed all of them and it still happens. I have tried using both the Applet and Object tag. But it still happens.
    Has anyone experienced this before? Any suggestions on how to make the applet update the instance that recieved the events and not just the last one that was loaded?

    You need to look at applet classloader issues. If applets have the same archive list and come from the same codebase, they have the same classloader. A class is namespaced by it's class + classloader. Any statics in a class with a classloader will be shared. If you instead make it such that your applets have unique classloaders (which you can't change for unsigned applets by yourself) by changing the codebase, that would be one solution.
    For other solutions, I recommend searching the forum. This issue comes up a lot.

Maybe you are looking for