Strange behaviour of SJS Web server 7.0U1

Hi all,
I installed SJS Web server 7.0U1 on a Sun Blade with Solaris 10. All ok and no errors till sometimes it hang because suddenley it keep accepting more connection that it should.
We are tying everything but no clue.
Any suggetions? ANyone else got this problem or similar to this?
Thanks in advance
san2rini!!!

Hi,
the problem is that when I look up the .perf I see the follow.
Sessions:
Process Status Client Age VS Method URI Function
4384 response xxx.xxx.xx.xxx 23414 https-xxxx GET blablabla/200803101530.jpg send-file
4384 response xx..xx..xxx.xx 50 https-xxxx GET blablabla/0080310.jpg send-file
Now the AGE (which is 8 second by dedault) is keeping increasing and suddenly the webserver crash.
ANy clue?
regards

Similar Messages

  • SUN Java System Web Server 7.0U1 How to install certificate chain

    I am trying to install a certificate chain using the SUN Java Web Server 7.0U1 HTTPS User interface. What I have tried so far:
    1. Created a single file using vi editor containing the four certificates in the chain by cutting an pasting each certificate (Begin Certificate ... End Certificate) where the top certificate is the server cert (associated with the private key), then the CA that signed the server cert, then the next CA, then the root CA. Call this file cert_chain.pem
    2. Go to Certificates Tab/Server Certificates
    3. Choose Install
    4. Cut and paste contents of cert_chain.pem in the certificate data box.
    5. Assign to httplistener
    6. Nickname for this chain is 'server_cert'
    7. Select httplistener and assign server_cert (for some reason, this is not automatically done after doing step 5).
    8. No errors are received.
    When I display server_cert (by clicking on it), only the first certificate of the chain is displayed and only that cert is provided to the client during the SSL handshake.
    I tried to do the same, except using the Certificate Authority Tab, since this gave the option of designating the certificate as a CA or chain during installation. When I select ed "chain," I get the same results when I review the certificate (only the first cert in the file is displayed). This tells me that entering the chain in PEM format is not acceptable. I tried this method since it worked fine with the F5 BIG-IP SSL appliance.
    My question is what format/tool do I need to use to create a certificate chain that the Web Server will accept?

    turrie wrote:
    1. Created a single file using vi editor containing the four certificates in the chain by cutting an pasting each certificate (Begin Certificate ... End Certificate) where the top certificate is the server cert (associated with the private key), then the CA that signed the server cert, then the next CA, then the root CA. Call this file cert_chain.pemIn my opinion (I may be wrong) cut and pasting multiple begin end
    --- BEGIN CERTIFICATE ---
    ... some data....
    --- END CERTIFICATE ---
    --- BEGIN CERTIFICATE ---
    ... some data....
    --- END CERTIFICATE ---is NOT the way to create a certificate chain.
    I have installed a certificated chain (it had 1 BEGIN CERTIFICATE and one END CERTIFICATE only and still had 2 certificates) and I used the same steps as you mentioned and it installed both the certificates.
    some links :
    [https://developer.mozilla.org/en/NSS_Certificate_Download_Specification|https://developer.mozilla.org/en/NSS_Certificate_Download_Specification]
    [https://wiki.mozilla.org/CA:Certificate_Download_Specification|https://wiki.mozilla.org/CA:Certificate_Download_Specification]

  • So, noone at all is running SJS Web Server on Solaris 10 Update 6??

    Trying to get some feedback on running SJS Web Server under Solaris 10 Update 6.
    problems?
    "Boy, That was a Mistake"
    "Works Great"
    "No Problems"
    What?? Anything at all...
    Thanks

    Never mind.
    It is a known bug documented on manual " [Solaris 10 10/08 Release Notes, Chapter 2 Solaris Runtime Issues|http://docs.sun.com/app/docs/doc/820-5245/chapter2-1000?a=view] " as shown below.
    The solution is to apply vold patch [138130-01|http://sunsolve.sun.com/search/document.do?assetkey=1-21-138130-01-1].
    Solaris 10 10/08 DVD Media Might Not be Automatically Mounted by vold (6712352)
    The Solaris 10 10/08 DVD does not mount by default during runtime. No error message is displayed.
    Workaround: Perform the following steps:
       1. Become superuser.
       2. Disable vold:
          * On Solaris 10 Systems:
                # svcadm disable -t volfs
          * On Solaris 8 and Solaris 9 systems:
                /etc/init.d/volmgt stop
       3. Mount the media manually by using the # mount -F hsfs path to block device path to mount point command. For example:
          # mount -F hsfs /dev/rdsk/c0t2d0s2 /mnt

  • SJS Web Server 6.1SP3 certificate install in VIP

    Hi there,
    I have just tried to install a server certificate into SJS Web Server 6.1SP3 which resides in a VIP on a clustered machine (I believe).
    We created the database and certificate whilst the machine was sitting at a certain "node" (machine_namea.domain) - and sent off for the certificate.
    In the meantime - the machine failed over to node z - (machine_namez.domain) - and then we tried to install the certificate. We keep getting an error stating that the key pair password is not recognised.
    I realise that this is because the key pair database password was created and the certificate request was generated on a physically different machine from which we tried to install the certificate - however my question is do we need to request and install certificates for every failover node in order to https enable the webserver running in this VIP?
    Any help on this matter would be greatly appreciated, as I have just had to cancel an urgent promotion as we cannot https enable the webserver :-)
    Regards
    bc26480

    In IE, favicon will not be shown in the title bar or the addressbar as in other browsers. As its name indicates it is "Favorites Icon". If we add the web page to the favorites (ie Bookmark) then this icon will be used.
    In IE,
    1. Open the web page,
    2. Select Favorites --> Add to Favorites
    3. Now, You could see the Favicon in the Favorites menu.
    May be in the later versions of IE, it may use the favicon to show up in title bar or address bar similar to other browsers...

  • Strange behaviour on some web pages

    Hello. First of all sorry if posted in wrong thread - if wrong let me knw where to post it. I've got strange behaviour on some web pages. When I'm logged in to mobile me n the plce where is Search in right top corner I see grey rectangle, same when I want to delete something (email or gallery) where on the pop up window am I sure to delete buttons cancell and OK are black rectangles in that case, same thing happens on Safari and Firefox as well on few other pages similiar issue. No problems at all when loggin in from Windows based PC's even if it is a Virtuall Windows on Parallel. Please advice. I can attach a screen grabs how this exactly looks like ..
    Thank you for ur help.
    Regards
    Rafal

    First thing to try: go to System Preferences>Universal Access and turn Voiceover off.

  • Strange behaviour in .mac web galleries

    Hi,
    I have started to use .mac web galleries with aperture 2. However, I am witnessing some very strange behaviour. Firstly, it seems to take forever to update, the icon at the side of the gallery is permanently on the 'update' icon.
    Secondly, whenever I add new photos to the gallery it actually creates an entirely new gallery with all the photos from the previous gallery.
    Is anybody else having issues with the aperture flavour of .mac web galleries?
    thx
    Phil

    I have a similar problem Phil! I watch the status indicator for a web gallery progress to about half way then it stops, the album doesn't get published. I have published albums before this started happening, and have published other albums successfully but sometimes certain albums don't publish. I delete them and repost them to no avail. Hopefully we can get some answers! This is quite lame, don'tcha think?

  • How do I use Sun Web Server 7.0u1 reverse proxy to change public URLs?

    Some of our installations use the Sun Web Server 7.0 (update 1, usually)
    for hosting some of the public resource and reverse-proxying other parts
    of the URI namespace from other backend servers (content, application
    and other types of servers).
    So far every type of backend server served a unique part of the namespace
    and there was no collision of names, and the backend resources were
    published in a one-to-one manner. That is, a backend resource like, say,
    http://appserver:8080/content/page.html would be published in the internet
    as http://www.publicsite.com/content/page.html
    I was recently asked to research whether we can rename some parts of
    the public URI namespace, to publish some or all resources as, say,
    http://www.publicsite.com/data/page.html while using the same backend
    resources.
    Another quest, possibly related in solution, was to make a tidy url for the
    first page the user opens of the site. That is, in the current solution when
    a visitor types the url "www.publicsite.com" in his or her browser, our web
    server returns an HTTP-302 redirect to the actual first page URL, so the
    browser sends a second request (and changes the URL in its location bar).
    One customer said that it is not "tidy". They don't want the URL to change
    right upon first rendering the page. They want the root page to be rendered
    instantly i the first HTTP request.
    So far I found that I can't solve these problems. I believe these problems
    share a solution because it relies on ability to control the actual URI strings
    requested by Sun Web Server from backend servers.
    Some details follow, now:
    It seems that the reverse proxy (Service fn="service-passthrough") takes
    only the $uri value which was originally requested by the browser. I didn't
    yet manage to override this value while processing a request, not even if
    I "restart" a request. Turning the error log up to "finest" I see that even
    when making the "service-passthrough" operation, the Sun Web Server
    still remembers that the request was for "/test" (in my test case below);
    it does indeed ask the backend server for an URI "/test" and that fails.
    [04/Mar/2009:21:45:34] finest (25095) www.publicsite.com: for host xx.xx.xx.83
    trying to GET /content/MainPage.html while trying to GET /test, func_exec reports:
    fn="service-passthrough" rewrite-host="true" rewrite-location="true"
    servers="http://10.16.2.127:8080" Directive="Service" DaemonPool="2b1348"
    returned 0 (REQ_PROCEED)My obj.conf file currently has simple clauses like this:
    # this causes /content/* to be taken from another (backend) server
    NameTrans fn="assign-name" from="/content" name="content-test" nostat="/content"
    # this causes requests to site root to be HTTP-redirected to a certain page URI
    <If $uri =~ '^/$'>
        NameTrans fn="redirect"
            url="http://www.publicsite.com/content/MainPage.html"
    </If>
    <Object name="content-test">
    ### This maps http://public/content/* to http://10.16.2.127:8080/content/*
    ### Somehow the desired solution should instead map http://public/data/* to http://10.16.2.127:8080/content/*
        Service fn="service-passthrough" rewrite-host="true" rewrite-location="true" servers="http://10.16.2.127:8080"
        Service fn="set-variable" set-srvhdrs="host=www.publicsite.com:80"
    </Object>
    I have also tried "restart"ing the request like this:
        NameTrans fn="restart" uri="/data"or desperately trying to set the new request uri like this:
        Service fn="set-variable"  uri="/magnoliaPublic/Main.html"Thanks for any ideas (including a statement whether this can be done at all
    in some version of Sun Web Server 7.0 or its opensourced siblings) ;)
    //Jim

    Some of our installations use the Sun Web Server 7.0 (update 1, usually)please plan on installing the latest service pack - 7.0 Update 4. these updates addresses potentially critical bug fixes.
    I was recently asked to research whether we can rename some parts of
    the public URI namespace, to publish some or all resources as, say,
    http://www.publicsite.com/data/page.html while using the same backend
    resources.> now, if all the resources are under say /data, then how will you know which pages need to be sent to which back end resources. i guess, you probably meant to check for /data/page.html should go to <back-end>/content/page.html
    yes, you could do something like
    - edit your corresponding obj.conf (<hostname>-obj.conf or obj.conf depending on your configuration)
    <Object name=¨default¨>
    <If $uri = ¨/page/¨>
    #move this nametrans SAF (for map directive - which is for reverse proxy within <if> clause)
    NameTrans.. fn=map
    </If
    </Object>
    and you could do https-<hostname>/bin/reconfig (dynamic reconfiguration) to check out if this is what you wanted. also, you might want to move config/server.xml <log-level> to finest and do your configuration . this way, you would get enough information on what is going on within your server logs.
    finally,when you are satisfied, you might have to run the following command to make your manual change into admin config repository.
    <install-root>/bin/wadm pull-config user=admin config=<hostname> <hostname>
    <install-root>/bin/wadm deploy-config --user=admin <hostname>
    you might want to check out this for more info on how you could use <if> else condition to handle your requirement.
    http://docs.sun.com/app/docs/doc/820-6599/gdaer?a=view
    finally, you might want to refer to this doc - which explains on ws7 request processing overview. this should provide you with some pointers as to what these different directives mean
    http://docs.sun.com/app/docs/doc/820-6599/gbysz?a=view
    >
    One customer said that it is not "tidy". They don't want the URL to change
    right upon first rendering the page. They want the root page to be rendered
    instantly i the first HTTP request.
    please check out the rewrite / restart SAF. this should help you.
    http://docs.sun.com/app/docs/doc/820-6599/gdada?a=view
    pl. understand that - like with more web servers - ordering of directives is very important within obj.conf. so, you might want to make sure that you verify the obj.conf directive ordering is what you want it to do..
    It seems that the reverse proxy (Service fn="service-passthrough") takes
    only the $uri value which was originally requested by the browser. I didn't
    yet manage to override this value while processing a request, not even if
    I "restart" a request. Turning the error log up to "finest" I see that even
    when making the "service-passthrough" operation, the Sun Web Server
    still remembers that the request was for "/test" (in my test case below);
    it does indeed ask the backend server for an URI "/test" and that fails.
    now, you are in the totally wrong direction. web server 7 includes a highly integrated reverse proxy solution compared to 6.1. unlike 6.1, you don´t have to download a separate plugin . however, you will need to manually migrate your 6.1 based reverse proxy settings into 7.0. please check out this blog link on how to set up a reverse proxy
    http://blogs.sun.com/amit/entry/setting_up_a_reverse_proxy
    feel free to post to us if you need any futher help
    you are probably better off - starting fresh
    - install ws7u4
    - use gui or CLI to create a reverse proxy and map one on one - say content
    http://docs.sun.com/app/docs/doc/820-6601/create-reverse-proxy-1?a=view
    if you don´t plan on using ws7 integrated web container (ability to process jsp/servlet), then you could disable java support as well. this should reduce your server memory footprint
    <install-root>/bin/wadm disable-java user=admin config=<hostname>
    <install-root>/bin/wadm create-reverse-proxy user=admin uri-prefix=/content server=<http://your back end server/ config=<hostname> --vs=<hostname>
    <install-root>/bin/wadm deploy-config --user=admin <hostname>
    now, you can check out the regular express processing and <if> syntax from our docs and try it out within <https-<hostname>/config/<hostname>-obj.conf> file and restart the server. pl. note that once you disable java, ws7 admin server creates <vs>-obj.conf and you need to edit this file and not default obj.conf for your changes to be read by server.
    >
    I have also tried "restart"ing the request like this:
    NameTrans fn="restart" uri="/data"
    ordering is very important here... you need to do this some thing like
    <Object name=default>
    <If not $restarted>
    NameTrans fn=restart uri from=/¨ uri=/foo.
    </If>

  • Favicon is not shown in Internet Explorer ... (SJS Web Server 6.1)

    Hi,
    I wanna show a favicon in Internet Explorer but it's not easy.
    I just deploy a 'favicon.ico' file in Document Root of Web Server.
    It works well with other browsers , for example, Mozilla Firefox or Netscape Navigator.
    But only MS Internet Explorer can't show the favicon.
    How can I solve this problem?
    Plz help me.
    Thanks,

    In IE, favicon will not be shown in the title bar or the addressbar as in other browsers. As its name indicates it is "Favorites Icon". If we add the web page to the favorites (ie Bookmark) then this icon will be used.
    In IE,
    1. Open the web page,
    2. Select Favorites --> Add to Favorites
    3. Now, You could see the Favicon in the Favorites menu.
    May be in the later versions of IE, it may use the favicon to show up in title bar or address bar similar to other browsers...

  • Strange behavior from Weblogic web server

     

    This doesn't seem to be an EJB issue so I'm responding to the servlet
    newsgroup. Also, why don't you try posting a simple example of the type of
    html/javascript you are serving and/or open a support case with BEA Customer
    support. Additionally, this link might help:
    http://www.weblogic.com/docs51/classdocs/javadocs/weblogic/html/ScriptElement.html
    Thanks,
    Charlie
    The views expressed in this posting are solely those of the author, and
    BEA Systems, Inc. does not endorse any of
    these views.
    BEA Systems, Inc. is not responsible for the accuracy or completeness
    of the information provided
    and assumes no duty to correct, expand upon, delete or update any of
    the information contained in this posting.
    dwang wrote:
    Hi:
    I am using Weblogic web server to serve up my html/jsp pages. I also
    have a javascript function to open up another window if I click on the
    button. But when I click on the button, the index.html file from httpd
    root directory is always displayed on the browser and the javascript
    function is never being excuted completly(I have put an alert statement
    on it and it only excuted the first line of statement). Can someone tell
    me why?
    Many thanks,
    David

  • Strange behaviour on preloading web page in WebView

    I have the following problem: In my Swing application i'd like to show a web page. In order to do so i use a JFXPanel that contains a WebView. The web page should be loaded in the background and just if the loading process is totally completed i want to make the JFXPanel visible. I use the getLoadWorker().workDoneProperty() method of the corresponding WebEngine to determine if the page is totally loaded.
    The problem is, that at the moment the JFXPanel gets visibile I see at first a totally empty panel, and only after a short time the web page in the WebView is visible. I have made a simple Demo Application that reproduces this behaviour. If the page is loaded a button gets enabled and a click on that button adds the WebView to the panel below. Furthermore the following link points to an animated gif which demonstrates the behaviour: http://tinypic.com/view.php?pic=oh66bl&s=5#.Ujv2IhddWKl
    Here is the code of the demo application:
    import java.awt.BorderLayout;
    import java.awt.Dimension;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import javafx.application.Platform;
    import javafx.beans.value.ChangeListener;
    import javafx.beans.value.ObservableValue;
    import javafx.embed.swing.JFXPanel;
    import javafx.scene.Scene;
    import javafx.scene.web.WebEngine;
    import javafx.scene.web.WebView;
    import javax.swing.JFrame;
    import javax.swing.SwingUtilities;
    public class WebViewTest extends javax.swing.JPanel {
       private static JFXPanel browserFxPanel;
       private WebView webView;
       private WebEngine eng;
      * Creates new form WebViewTest
       public WebViewTest() {
      initComponents();
       Platform.setImplicitExit(false);
      browserFxPanel = new JFXPanel();
       Platform.runLater(new Runnable() {
       public void run() {
      webView = createBrowser();
       Scene scene = new Scene(webView);
      scene.setFill(null);
      browserFxPanel.setScene(
      scene);
      * This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The
      * content of this method is always regenerated by the Form Editor.
       @SuppressWarnings("unchecked")
       // <editor-fold defaultstate="collapsed" desc="Generated Code"> 
       private void initComponents() {
      java.awt.GridBagConstraints gridBagConstraints;
      pnlMain = new javax.swing.JPanel();
      showWebpageButton = new javax.swing.JButton();
      setLayout(new java.awt.GridBagLayout());
      pnlMain.setLayout(new java.awt.BorderLayout());
      gridBagConstraints = new java.awt.GridBagConstraints();
      gridBagConstraints.gridx = 0;
      gridBagConstraints.gridy = 1;
      gridBagConstraints.gridwidth = 3;
      gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
      gridBagConstraints.weightx = 1.0;
      gridBagConstraints.weighty = 1.0;
      add(pnlMain, gridBagConstraints);
      showWebpageButton.setText("show web page");
      showWebpageButton.setEnabled(false);
      showWebpageButton.addActionListener(new java.awt.event.ActionListener() {
       public void actionPerformed(java.awt.event.ActionEvent evt) {
      showWebpageButtonActionPerformed(evt);
      gridBagConstraints = new java.awt.GridBagConstraints();
      gridBagConstraints.gridx = 1;
      gridBagConstraints.gridy = 0;
      gridBagConstraints.insets = new java.awt.Insets(10, 10, 10, 10);
      add(showWebpageButton, gridBagConstraints);
       }// </editor-fold> 
       private void showWebpageButtonActionPerformed(java.awt.event.ActionEvent evt) {  
      pnlMain.removeAll();
      pnlMain.add(browserFxPanel, BorderLayout.CENTER);
       WebViewTest.this.invalidate();
       WebViewTest.this.revalidate();
       // Variables declaration - do not modify 
       private javax.swing.JPanel pnlMain;
       private javax.swing.JButton showWebpageButton;
       // End of variables declaration 
       private WebView createBrowser() {
       Double widthDouble = pnlMain.getSize().getWidth();
       Double heightDouble = pnlMain.getSize().getHeight();
       final WebView view = new WebView();
      view.setMinSize(widthDouble, heightDouble);
      view.setPrefSize(widthDouble, heightDouble);
      eng = view.getEngine();
      eng.load("http://todomvc.com/architecture-examples/angularjs/#/");
      eng.getLoadWorker().workDoneProperty().addListener(new ChangeListener<Number>() {
       public void changed(ObservableValue<? extends Number> ov, Number t, Number t1) {
       final double workDone = eng.getLoadWorker().getWorkDone();
       final double totalWork = eng.getLoadWorker().getTotalWork();
       if (workDone == totalWork) {
      showWebpageButton.setEnabled(true);
       return view;
       public static void main(String[] args) {
       SwingUtilities.invokeLater(new Runnable() {
       public void run() {
       final JFrame f = new JFrame("Navigator Dummy");
      f.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
      f.setSize(new Dimension(1024, 800));
       final WebViewTest navDummy = new WebViewTest();
      f.getContentPane().add(navDummy);
      f.setVisible(true);
    I don''t understand this behaviour in fact that the page should already been loaded. For mee it seems like the WebView starts renderering the site just at the moment when it gets visible. What can I do to achieve that the WebView already shows the loaded web page at the moment it gets Visible (to avoid this flickr effect)?
    I have already posted this issue at StackOverflow (see http://stackoverflow.com/questions/18873315/javafx-webview-loading-page-in-background ) but didn't get an answer there and found this forum today.
    Thanks in advance!

    Try the updated version in this post.
    It forces an offscreen snapshot before displaying the webview to ensure all of the rendering is done before the WebView is displayed.
    The code is kind of ugly and the "solution" is a bit of a hack, you would probably want to clean it up a bit before using it anywhere (for example it is unnecessary to create a new WebView and snapshot the web page on every load - I just did that to get a feel for a worst case scenario and to try to pinpoint where slowdowns are occurring).
    A small rectangle moves back and forth across the top of the screen so that animation smoothness can be monitored.
    On the first load there will be a slight stutter in the animation, however the rendered web page appears instantly when the clicks the "Show page" button.
    As you say, the stutter only occurs the first time the page is loaded, subsequently everything is smooth.  If you use a regular progress bar rather than an animation, then the initial stutter is likely fine, as people expect to see pauses in progress bars from time to time (most progress reported by progress bars isn't a smooth linear progression).  My guess is that, if you use a regular progress bar, the behaviour experienced with this sample is likely acceptable to almost all users.
    Regarding the differences between rendering between JavaFX 2.2 and JavaFX 8, there were many modifications to the internal JavaFX architecture for JavaFX 8 that improved the rendering performance, so that likely accounts for the delta.
    import javafx.animation.*;
    import javafx.application.Application;
    import javafx.concurrent.Worker;
    import javafx.geometry.*;
    import javafx.scene.Scene;
    import javafx.scene.control.*;
    import javafx.scene.layout.*;
    import javafx.scene.paint.Color;
    import javafx.scene.shape.Rectangle;
    import javafx.scene.web.WebView;
    import javafx.stage.Stage;
    import javafx.util.Duration;
    public class WebViewJavaFXTest extends Application {
        public static final String PAGE_URL = "http://todomvc.com/architecture-examples/angularjs/#/";
        private Rectangle distractor;
        @Override
        public void start(Stage stage) throws Exception {
            distractor = new Rectangle(20, 20, Color.CORAL);
            TranslateTransition r = new TranslateTransition(Duration.seconds(10), distractor);
            r.setFromX(0);
            r.setToX(800);
            r.setInterpolator(Interpolator.LINEAR);
            r.setCycleCount(RotateTransition.INDEFINITE);
            r.setAutoReverse(true);
            r.play();
            VBox layout = initView();
            stage.setScene(new Scene(layout));
            stage.show();
        private VBox initView() {
            final ProgressBar progress = new ProgressBar();
            final Button showWebView = new Button("Show Page");
            showWebView.setDisable(true);
            HBox controls = new HBox(
                    10,
                    progress,
                    showWebView
            controls.setAlignment(Pos.CENTER_LEFT);
            Button tryAgain = new Button("Try Again");
            tryAgain.setOnAction(actionEvent ->
                    tryAgain.getScene().setRoot(
                            initView()
            StackPane webViewHolder = new StackPane();
            webViewHolder.setPrefSize(1024, 700);
            final WebView webView = new WebView();
            progress.progressProperty().bind(
                    webView.getEngine().getLoadWorker().progressProperty()
            webView.setPrefSize(1024, 700);
            webView.getEngine().load(PAGE_URL);
            webView.getEngine().getLoadWorker().stateProperty().addListener(
                    (o, old, state) -> {
                        if (state == Worker.State.SUCCEEDED) {
                            webView.snapshot(
                                    snapshotResult -> {
                                        showWebView.setDisable(false);
                                        return null;
                                    null,
                                    null
                        } else {
                            showWebView.setDisable(true);
            showWebView.setOnAction(actionEvent -> {
                controls.getChildren().setAll(
                        tryAgain
                webViewHolder.getChildren().setAll(webView);
            VBox layout = new VBox(
                    10,
                    distractor,
                    controls,
                    webViewHolder
            layout.setPadding(new Insets(10));
            return layout;
        public static void main(String[] args) {
            launch();

  • Strange behaviour of OS X Server DNS with IPv6 reverse zones

    I am running a full IPv4 / IPv6 dual stack setup across several machiens including a server (OS X 10.9.1 / OS X Server 3.0.2). I also have IPv6 Internet access via TunnelBroker and have a /64 prefix assigned to me. All my systems have valid and correct IPv6 addresses (not temporary ones) from the range denoted by that prefix.
    I have setup IPv4 and IPv6 addresses for all my systems in OS X Server DNS and that works fine. However, when I add an IPv6 address for a system, the DNS server (or maybe the server GUI) insists on creating a reverse zone for the /127 version of the address. This means I pretty much have a separate reverse zone for every system, which seems crazy to me. it is especially annoying as I have another DNS server where all my zones are defined as slave zoes (for availability reasons) and thsi makes the process of addign a new IPv6 host somewhat tedious. I tried pre-creating a properly named reverse zone for the /64 prefix but the DNS server would not use that and still persists in creating these strange zones.
    Here is a (fictitous example)...
    My /64 prefix is 2001:fd0:f19:2ab::/64
    I have a system with an address of 2001:fd0:f19:2ab:7e6d:62ff:fe8a:a84c
    I add this to OS X Server DNS and it created the reverse DNS zone:
    4.8.a.a.8.e.f.f.f.2.6.d.6.e.7.b.a.2.0.9.1.f.0.0.d.f.0.1.0.0.2.ip6.arpa
    whereas I would expect it to instead add it to the zone
    b.a.2.0.9.1.f.0.0.d.f.0.1.0.0.2.ip6.arpa
    if that zone already exists.
    Has anyone else noticed this? Or do you have it working as one might expect?

    Chris..
    I, too, have the same problem.  I take issue with much of the OS X "Server" after it has been so completely dummed down that it is virtually useless for anyone that would actually like to utilize it as an actual, as the name implies, "SERVER."  I won't get into all of the details of everything that drives me crazy with Apple's decisions here but, suffice it to say, I am EXTREMELY DISAPPOINTED with Apple more than ever.  They should, at a minimum, offer a full-fledged server like they used to have, for an additional price, for people that need more than a nice looking interface and a worthless box.
    That being said, the DNS server, like the rest of the OS X Mavericks Server, is dummed down to the point of allowing very little customization.  Short of using the command line, which I have decided to do (I scrapped the OS X server all together, and just set up BIND, openLDAP, DHCP, Quagga, etc. from the CLI just like I do with all of my Linux servers), there is not much you can do to get the correct prefixes to show up in IPv6 reverse zones.  The reason is that when you enter the forward record, the interface does not give an option to enter the prefix.  So, it seems that for EACH AND EVERY v6 entry (AAAA record) you have (or at least every 10 entries), you will get a separate reverse zone.
    To be completely honest, I don't even know why they included IPv6 zones in this implementation because it is totally out of compliance with the RFCs and, obviously, will not provide proper and correct reverse lookups.  How could it? As you pointed out above, with a /64 prefix, you're getting a 31 digit long reverse zone (which, btw, is a /124)...***???  I've never heard of such a thing.  There should be 16 digits in a /64, 12 in a /48, 8 in /32 and so on.
    I don't think it is anything to do with your using a tunnel broker -- all of our systems are native IPv6 and all reverse queries to the Mac Server fail. 
    I can tell you how to use the CLI to manually enter the zones with the serveradmin tool, if you like, but my advice is to just move to a full fledged BIND implementation .... and, if you want some type of interface other than the console, use something like Webmin which has a GREAT DNS zone interface...and it also keeps up with the RFC compliance.
    Just message me back if you'd like the shell commands.  I hate to say this, it literally pains me, but I administer a ton of servers (physical and virtualized)... roughly 1000 +- to be exact...and WINDOWS Server has a DNS server that is so much further ahead and ADVANCED than Mac, it is disgusting.  In fact, we are running 12 Win Server 2012R2 Active Directory Domain Servers, each running synchronized DNS records and even with over 250,000 DNS records, it works like a champ.  Still, our primary and fail-safe DNS servers are all BIND v9.  Like I said, it is awful to say that about Mac, but dude, they need to wake up and either get back to the real-deal systems or just get out of the advanced product arena all together.  (one exception...my new MacPRO is AWESOME and the most advanced piece of computing equipment money can buy for the price...so kudos there)
    Sorry about the rant, but when i read your post, I was reminded how frustrated I am at all of this nonsense.
    Take care...and good luck.

  • Strange behaviour of the web UI

    Hi,
    I have encountered something weird when i used the web UI of Oracle 10g Express.
    I have a table with one of fields defined as Blob type and this table contains a record with data in the blob field.
    I used a Java application (created by myself) and standard Java's record fetching methodology to get the record from that table and everything works fine. The key point here is that i am able to retrieve the blob data from the DB.
    However, when i used the web UI to update a particular field in that table (e.g. changed a value), i could no longer retrieve the blob data using the Java application. It returned a null instead and moreover, the web UI still indicates that there was value in the blob field.
    I am wondering if anyone else has encountered this problem. Is it a bug?

    when i used the web UI to update a particular field in that table (e.g. changed a
    value), i could no longer retrieve the blob data using the Java application. It
    returned a null instead and moreover, the web UI still indicates that
    there was value in the blob field.Post exactly how you update that table.

  • Adding a JDBC driver in Sun Java System Web Server 7

    I'm trying to configure JDBC database connection pooling for a Microsoft SQL Server 2005 Express Edition though the Sun Java System Web Server 7 administration console. I don't want to use the MSSQL JDBC driver that comes bundled with the SJSWS 7. So I've downloaded the lastest MSSQL JDBC driver from the Microsoft website and put in the "lib" subdirectory of the SJSWS installation directory. So when I go to add a new JDBC resource through the administration console, the newly added MSSQL database driver doesn't appear in the "Driver Vendor" drop-down box.
    How do I add the downloaded JDBC driver to the server so that it appears in the "Driver Vendor" drop-down under "Create JDBC resource".

    Check this documentation from MS on using the JDBC driver with DataSource
    http://msdn2.microsoft.com/en-us/library/ms379052.aspx
    SJS Web Server 7.0 should work with any driver that has support for javax.sql.DataSource. The great majority of drivers do.
    So instead of using the driver name, use the DataSource class name:
    com.microsoft.sqlserver.jdbc.SQLServerDataSource
    The properties to add should be:
    user=username
    password=password
    servername=sql_server_hostname
    portnumber=sql_server_port
    databasename=databasename
    In general, all the setters required to get the datasource configured can be set as properties.

  • How to Configure Apache Web Server  with Tomcat web container in Linux

    Hi all,
    I am working on Tomcat web server 5.0.19 on Linux AS 3.0., ( my Control Server)
    I need map my tomcat to Apache Web Server (httpd) in another system
    (web server).
    I dont have jk2_ or jk_mod .so files to use in my tomcat/conf directory to make them available for httpd.conf files of Apache Web server.
    I have only jk2.properties file in my conf.,
    Please tell me how to go about it
    my mail id [email protected]
    Thank You
    Subramanyam.V
    Hyderabad
    India

    The simple answer is to download a web server that has a web container already integrated on it, so all that painful configuration work is avoided.
    You can use the mature SJS Web Server 6.1 SP5 at
    http://www.sun.com/webserver
    Or you can try a preview of the upcoming version at
    http://www.sun.com/download/products.xml?id=446518d5
    You will get better performance and security, with easy of use, at about the same price ;)

  • Sun Java Web Server and SLES 10

    I have just downloaded and installed Sun Java Web Server under SuSE Linux Enterprise Server 10, however are unable to get it to work. The installer runs fine however I am unable to start the admin server. The message i receive is
    Sun Java System Web Server 7.0U1 B06/12/2007 21:21
    catastrophe: CORE3260: Server crash detected (signal SIGSEGV)
    failure: server initialization failed
    The error log is not terribly helpful either.
    [27/Oct/2007:16:46:32] info (14424): CORE1116: Sun Java System Web Server 7.0U1 B06/12/2007 21:21
    [27/Oct/2007:16:46:33] catastrophe (14425): CORE3260: Server crash detected (signal SIGSEGV)
    Any help would be gratefully appreciated

    Thanks for the reply Chilideveloper, here is the output of the core dump. I hope it is a) the right thing and b) helpful
    GNU gdb 6.6
    Copyright (C) 2006 Free Software Foundation, Inc.
    GDB is free software, covered by the GNU General Public License, and you are
    welcome to change it and/or distribute copies of it under certain conditions.
    Type "show copying" to see the conditions.
    There is absolutely no warranty for GDB. Type "show warranty" for details.
    This GDB was configured as "i586-suse-linux"...
    (no debugging symbols found)
    Using host libthread_db library "/lib/libthread_db.so.1".
    warning: Can't read pathname for load map: Input/output error.
    Reading symbols from /sun/webserver7/lib/liblibdbm.so...(no debugging symbols found)...done.
    Loaded symbols for /sun/webserver7/lib/liblibdbm.so
    Reading symbols from /sun/webserver7/lib/libns-httpd40.so...(no debugging symbols found)...done.
    Loaded symbols for /sun/webserver7/lib/libns-httpd40.so
    Reading symbols from /sun/webserver7/lib/liblibsi18n.so...
    (no debugging symbols found)...done.
    Loaded symbols for /sun/webserver7/lib/liblibsi18n.so
    Reading symbols from /sun/webserver7/lib/libgetprop.so...(no debugging symbols found)...done.
    Loaded symbols for /sun/webserver7/lib/libgetprop.so
    Reading symbols from /sun/webserver7/lib/libnsprwrap.so...
    (no debugging symbols found)...done.
    Loaded symbols for /sun/webserver7/lib/libnsprwrap.so
    Reading symbols from /sun/webserver7/lib/libldap60.so...(no debugging symbols found)...done.
    Loaded symbols for /sun/webserver7/lib/libldap60.so
    Reading symbols from /sun/webserver7/lib/libprldap60.so...
    (no debugging symbols found)...done.
    Loaded symbols for /sun/webserver7/lib/libprldap60.so
    Reading symbols from /sun/webserver7/lib/libsasl.so...(no debugging symbols found)...done.
    Loaded symbols for /sun/webserver7/lib/libsasl.so
    Reading symbols from /sun/webserver7/lib/libxerces-c.so.26...
    (no debugging symbols found)...done.
    Loaded symbols for /sun/webserver7/lib/libxerces-c.so.26
    Reading symbols from /sun/webserver7/lib/libxalan-c.so.19...(no debugging symbols found)...done.
    Loaded symbols for /sun/webserver7/lib/libxalan-c.so.19
    Reading symbols from /sun/webserver7/lib/libxalanMsg.so.19...
    (no debugging symbols found)...done.
    Loaded symbols for /sun/webserver7/lib/libxalanMsg.so.19
    Reading symbols from /sun/webserver7/lib/libpcre.so.0...done.
    Loaded symbols for /sun/webserver7/lib/libpcre.so.0
    Reading symbols from /sun/webserver7/lib/libicui18n.so.3...done.
    Loaded symbols for /sun/webserver7/lib/libicui18n.so.3
    Reading symbols from /sun/webserver7/lib/libicuuc.so.3...done.
    Loaded symbols for /sun/webserver7/lib/libicuuc.so.3
    Reading symbols from /sun/webserver7/lib/libicudata.so.3...done.
    Loaded symbols for /sun/webserver7/lib/libicudata.so.3
    Reading symbols from /sun/webserver7/lib/libplc4.so...done.
    Loaded symbols for /sun/webserver7/lib/libplc4.so
    Reading symbols from /sun/webserver7/lib/libplds4.so...done.
    Loaded symbols for /sun/webserver7/lib/libplds4.so
    Reading symbols from /sun/webserver7/lib/libnspr4.so...done.
    Loaded symbols for /sun/webserver7/lib/libnspr4.so
    Reading symbols from /lib/libpthread.so.0...done.
    Loaded symbols for /lib/libpthread.so.0
    Reading symbols from /lib/libdl.so.2...done.
    Loaded symbols for /lib/libdl.so.2
    Reading symbols from /lib/libcrypt.so.1...done.
    Loaded symbols for /lib/libcrypt.so.1
    Reading symbols from /lib/libresolv.so.2...done.
    Loaded symbols for /lib/libresolv.so.2
    Reading symbols from /usr/lib/libstdc++.so.5...done.
    Loaded symbols for /usr/lib/libstdc++.so.5
    Reading symbols from /lib/libm.so.6...done.
    Loaded symbols for /lib/libm.so.6
    Reading symbols from /lib/libgcc_s.so.1...done.
    Loaded symbols for /lib/libgcc_s.so.1
    Reading symbols from /lib/libc.so.6...done.
    Loaded symbols for /lib/libc.so.6
    Reading symbols from /sun/webserver7/lib/libssl3.so...done.
    Loaded symbols for /sun/webserver7/lib/libssl3.so
    Reading symbols from /sun/webserver7/lib/libsmime3.so...done.
    Loaded symbols for /sun/webserver7/lib/libsmime3.so
    Reading symbols from /sun/webserver7/lib/libnss3.so...done.
    Loaded symbols for /sun/webserver7/lib/libnss3.so
    Reading symbols from /sun/webserver7/lib/libnsfc.so...done.
    Loaded symbols for /sun/webserver7/lib/libnsfc.so
    Reading symbols from /sun/webserver7/lib/libnstp.so...done.
    Loaded symbols for /sun/webserver7/lib/libnstp.so
    Reading symbols from /sun/webserver7/lib/libnstime.so...done.
    Loaded symbols for /sun/webserver7/lib/libnstime.so
    Reading symbols from /sun/webserver7/lib/libsupport.so...done.
    Loaded symbols for /sun/webserver7/lib/libsupport.so
    Reading symbols from /sun/webserver7/lib/libares3.so...done.
    Loaded symbols for /sun/webserver7/lib/libares3.so
    Reading symbols from /usr/lib/libz.so.1...done.
    Loaded symbols for /usr/lib/libz.so.1
    Reading symbols from /sun/webserver7/lib/libxsd2cpp.so...done.
    Loaded symbols for /sun/webserver7/lib/libxsd2cpp.so
    Reading symbols from /sun/webserver7/lib/libssldap60.so...done.
    Loaded symbols for /sun/webserver7/lib/libssldap60.so
    Reading symbols from /lib/ld-linux.so.2...done.
    Loaded symbols for /lib/ld-linux.so.2
    Reading symbols from /sun/webserver7/lib/libsoftokn3.so...done.
    Loaded symbols for /sun/webserver7/lib/libsoftokn3.so
    Reading symbols from /lib/libnss_compat.so.2...done.
    Loaded symbols for /lib/libnss_compat.so.2
    Reading symbols from /lib/libnsl.so.1...done.
    Loaded symbols for /lib/libnsl.so.1
    Reading symbols from /lib/libnss_ldap.so.2...done.
    Loaded symbols for /lib/libnss_ldap.so.2
    Reading symbols from /usr/lib/libldap-2.3.so.0...done.
    Loaded symbols for /usr/lib/libldap-2.3.so.0
    Reading symbols from /usr/lib/liblber-2.3.so.0...done.
    Loaded symbols for /usr/lib/liblber-2.3.so.0
    Reading symbols from /usr/lib/libgssapi_krb5.so.2...done.
    Loaded symbols for /usr/lib/libgssapi_krb5.so.2
    Reading symbols from /usr/lib/libsasl2.so.2...done.
    Loaded symbols for /usr/lib/libsasl2.so.2
    Reading symbols from /usr/lib/libssl.so.0.9.8...done.
    Loaded symbols for /usr/lib/libssl.so.0.9.8
    Reading symbols from /usr/lib/libcrypto.so.0.9.8...done.
    Loaded symbols for /usr/lib/libcrypto.so.0.9.8
    Reading symbols from /usr/lib/libkrb5.so.3...done.
    Loaded symbols for /usr/lib/libkrb5.so.3
    Reading symbols from /usr/lib/libk5crypto.so.3...done.
    Loaded symbols for /usr/lib/libk5crypto.so.3
    Reading symbols from /lib/libcom_err.so.2...done.
    Loaded symbols for /lib/libcom_err.so.2
    Reading symbols from /usr/lib/libkrb5support.so.0...done.
    Loaded symbols for /usr/lib/libkrb5support.so.0
    Reading symbols from /sun/webserver7/lib/libj2eeplugin.so...done.
    Loaded symbols for /sun/webserver7/lib/libj2eeplugin.so
    Reading symbols from /root/Downloads/java/jdk1.6.0_03/jre/lib/i386/server/libjvm.so...done.
    Loaded symbols for /root/Downloads/java/jdk1.6.0_03/jre/lib/i386/server/libjvm.so
    Reading symbols from /sun/webserver7/lib/libdavplugin.so...done.
    Loaded symbols for /sun/webserver7/lib/libdavplugin.so
    Reading symbols from /sun/webserver7/lib/libwebdav.so...done.
    Loaded symbols for /sun/webserver7/lib/libwebdav.so
    Reading symbols from /sun/webserver7/lib/libfreebl3.so...done.
    Loaded symbols for /sun/webserver7/lib/libfreebl3.so
    Reading symbols from /sun/webserver7/lib/libnssckbi.so...done.
    Loaded symbols for /sun/webserver7/lib/libnssckbi.so
    Core was generated by `webservd -d /sun/webserver7/admin-server/config -r /sun/webserver7 -t /tmp/admi'.
    Program terminated with signal 11, Segmentation fault.
    #0 0xb67bbdd5 in strtok () from /lib/libc.so.6

Maybe you are looking for

  • How to get this output format in ALV report

    Hi. Can any one pls let me know how to get the following output format in ALV report.Following are the outputfields companycode   location     position     approver 300    800       01    watson null   null        03     candy null   null        04  

  • Problem restoring my Iphone from backup

    When I want to restore my iPhone from backup, Itunes say that the backup file is corrupted or not compatible with the iPhone. Please help !

  • On Mac, I want to get back the dialog box asking "Hide Photoshop or Hide Extra"

    Hi, Merry Christmas I had a dialog box when I pressed Cmd H, and I decided it to Hide Extra. I want to see the dialog box again and it was only for the first time. I have reset my Keyboard shortcuts and pressed Reset All Warning dialogs in the prefer

  • Does SAP direct input programs have authorization checks built-in?

    Can anyone advise if the SAP direct input programs eg. RFBIBL00, RMDATIND,      RCCLBI03,  RM60IN00,   RVINVB10 etc. have authorization checking features? In transaction BMV0,  there is a value for User Name.  If the user executes the direct input jo

  • Are admin and office clients always updated for each service pack.

    Hi, I am investigating upgrading our BPC version from 7.0 SP3.   The question I have been asked by my business clients is "do the admin and office clients of BPC always get updated with each service pack?"  I assume they do because the install guide