Results 1 to 2 of 2
  1. #1

    Question Unable to initialize the internal web server

    Hi everyone,

    I am currently working on updating the Lightstreamer server from version 7.2.0 with JDK 8 to version 7.3.3 with JDK 11. After making all the necessary changes as per the instructions provided in HOW_TO_UPGRADE.TXT, I am still encountering an error:

    <ERROR> Unable to initialize the internal web server:
    java.io.IOException: Operation not permitted
    at java.base/java.io.UnixFileSystem.canonicalize0(Native Method)
    at java.base/java.io.UnixFileSystem.canonicalize(Unknown Source)
    at java.base/java.io.File.getCanonicalPath(Unknown Source)
    at com.lightstreamer.c.b.s.<init>(s.java)
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl .newInstance0(Native Method)
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl .newInstance(Unknown Source)
    at java.base/jdk.internal.reflect.DelegatingConstructorAccessor Impl.newInstance(Unknown Source)
    at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
    at com.lightstreamer.l.n.b(n.java)
    at com.lightstreamer.l.n.a(n.java)
    at com.lightstreamer.l.n.a(n.java)
    at com.lightstreamer.l.n.c(n.java)
    at com.lightstreamer.c.b.t.<init>(t.java)
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl .newInstance0(Native Method)
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl .newInstance(Unknown Source)
    at java.base/jdk.internal.reflect.DelegatingConstructorAccessor Impl.newInstance(Unknown Source)
    at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
    at com.lightstreamer.l.n.b(n.java)
    at com.lightstreamer.l.n.a(n.java)
    at com.lightstreamer.l.n.a(n.java)
    at com.lightstreamer.l.n.c(n.java)
    at com.lightstreamer.c.c4.<init>(c4.java)
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl .newInstance0(Native Method)
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl .newInstance(Unknown Source)
    at java.base/jdk.internal.reflect.DelegatingConstructorAccessor Impl.newInstance(Unknown Source)
    at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
    at com.lightstreamer.l.n.b(n.java)
    at com.lightstreamer.l.n.a(n.java)
    at com.lightstreamer.l.n.a(n.java)
    at com.lightstreamer.l.n.c(n.java)
    at com.lightstreamer.c.c3.<init>(c3.java)
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl .newInstance0(Native Method)
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl .newInstance(Unknown Source)
    at java.base/jdk.internal.reflect.DelegatingConstructorAccessor Impl.newInstance(Unknown Source)
    at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
    at com.lightstreamer.l.n.b(n.java)
    at com.lightstreamer.l.n.a(n.java)
    at com.lightstreamer.l.n.a(n.java)
    at com.lightstreamer.l.af.j(af.java)
    at com.lightstreamer.l.af.<init>(af.java)
    at com.lightstreamer.b.a.a(a.java)
    at com.lightstreamer.LS.main(LS.java)
    <ERROR> Error in server initialization: Operation not permitted.
    <FATAL> Server initialization error.

    Does anyone have any clues on how to resolve this error? Or how to get more information?
    Last edited by ridneto; March 27th, 2023 at 09:22 PM.

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,090
    Lightstreamer Server invokes the JDK's getCanonicalPath with the path that represents the root of its Internal Web Server (only used to run the preinstalled demos).
    The submitted path is determined by the <pages_dir> configuration element in lightstreamer_conf.xml.
    If you use this configuration, please check the path specified.

    If you don't use this configuration, the Server adds "../pages" to the path of the directory that contains the lightstreamer_conf.xml.
    This should point to the "Lightstreamer/pages" directory in the installation package.
    I can't figure out why the operation should fail, but since the operation involves the local file system and depends on the underlying OS, several failure conditions are possible.

    Please try installing a Server 7.3.3 from scratch instead of migrating an existing 7.2.0 installation and check if you still see the issue.

 

 

Similar Threads

  1. Replies: 15
    Last Post: April 29th, 2022, 11:04 PM
  2. Replies: 9
    Last Post: May 6th, 2015, 03:02 PM
  3. Replies: 9
    Last Post: September 20th, 2013, 08:35 AM
  4. unable to setup HTTP server
    By jdepp in forum General
    Replies: 0
    Last Post: January 2nd, 2013, 04:43 PM
  5. LS Internal server error.
    By lisicnu in forum Adapter SDKs
    Replies: 2
    Last Post: December 22nd, 2011, 03:28 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 10:18 AM.