+ Reply to Thread
Results 1 to 3 of 3

Thread: Deployment issue

  1. #1
    Member
    Join Date
    Mar 2012
    Posts
    44
    Thanks
    8
    Thanked 1 Time in 1 Post

    Deployment issue

    Hi Teresa,

    I'm having some troubles deploying ES in a linux Server. I'm getting this error when trying to test it:

    ./Start_ElectroServer_5_3_3_SAFEMODE: line 74: /home/[username]/.install4j: No such file or directory
    ./Start_ElectroServer_5_3_3_SAFEMODE: line 75: /home/[username]/.install4j: No such file or directory
    Exception in thread "main" java.lang.NoClassDefFoundError: com/install4j/runtime/launcher/Launcher
    Caused by: java.lang.ClassNotFoundException: com.install4j.runtime.launcher.Launcher
    at java.net.URLClassLoader$1.run(URLClassLoader.java: 217)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.j ava:205)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:3 21)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:294)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:2 66)
    Could not find the main class: com.install4j.runtime.launcher.Launcher. Program will exit.

    -------------

    (I copied a working ES installation)

    Surprisingly, I don't have permissions to write on /home/[username]/ ... Should I ask something else to the server admin?

    (The thing is that the admin takes to long to process my requests... I know, is a very odd situation.)

  2. #2
    Administrator tcarr's Avatar
    Join Date
    Dec 2007
    Posts
    7,218
    Thanks
    80
    Thanked 1,087 Times in 1,076 Posts
    When ES5 runs, it needs write privileges for the entire server folder and subfolders. Normally I run ES5 on linux by using sudo, and if I copy a working installation instead of doing a fresh install I use a script with "java -jar" etc.

    Line 74 is the first line that tries to write anything. It's trying to write information about the JRE version.

    First make sure that you put the installation of ES5 in a location that you do have write privileges. Next, since you copied this from another installation, you probably need to check the permissions. chmod 755 to the entire tree should do the trick I would think, if you don't want to be lazy and just use 777. Also, if the ES5 you copied the installation from was running when you made the copy, the database will be locked so ES5 won't start.
    Teresa Carrigan
    Senior Engineer
    Electrotank, Inc.

  3. #3
    Administrator tcarr's Avatar
    Join Date
    Dec 2007
    Posts
    7,218
    Thanks
    80
    Thanked 1,087 Times in 1,076 Posts
    If the above doesn't work, try installing using these instructions.
    Teresa Carrigan
    Senior Engineer
    Electrotank, Inc.

+ Reply to Thread

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts