2 Replies Latest reply: Aug 5, 2010 1:45 AM by 843804 RSS

    j2ee sdk installing on linux x64

    843804
      sorry for crossposting, but I guess I am not going to break peoples' ball by doing so. I am new here, so pls, let me do this once.


      Hello guys, this is my first post here :) so don't bash me too much.

      Trying to get the Java EE installed on gentoo linux x86-64 here. Downloaded java_ee_sdk-6u1-jdk-linux-x64.sh from oracle.com.

      I have tried different jres:

      32 bit, 64 bit.
      now I have this jre :
      ak@pussy ~/0.java $ java -version
      java version "1.6.0_20"
      Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
      Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)
      so, doing:
      ak@pussy ~/0.java $ ./java_ee_sdk-6u1-jdk-linux-x64.sh 
      gives:
      [#|2010-08-04T20:32:13.704+06:00|INFO|Install Engine|org.openinstaller.provider.task.TaskDriver|arg0=prod\=glassfish|OP_UNCONFIGURE:Unconfiguring product|#]
      [#|2010-08-04T20:32:13.781+06:00|INFO|Install Engine|org.openinstaller.provider.conf.ConfiguratorFactory|arg0=class org.openinstaller.provider.conf.InstallationConfigurator|LOG_INFO:Info|#]
      [#|2010-08-04T20:32:14.210+06:00|INFO|Install Engine|org.openinstaller.provider.conf.InstallationConfigurator||Unconfiguring GlassFish:\[Unconfiguring GlassFish\]*\[{0} {1}\]|#]
      [#|2010-08-04T20:32:14.232+06:00|INFO|Install Engine|org.openinstaller.provider.task.TaskDriver|arg0=prod\=jdk|OP_UNCONFIGURE:Unconfiguring product|#]
      [#|2010-08-04T20:32:14.264+06:00|INFO|Install Engine|org.openinstaller.provider.conf.InstallationConfigurator||Unconfiguring JDK:\[Unconfiguring JDK\]*\[{0} {1}\]|#]
      [#|2010-08-04T20:32:14.289+06:00|INFO|Install Engine|org.openinstaller.provider.task.TaskDriver|arg0=prod\=updatetool|OP_UNCONFIGURE:Unconfiguring product|#]
      [#|2010-08-04T20:32:14.318+06:00|INFO|Install Engine|org.openinstaller.provider.conf.InstallationConfigurator||Unconfiguring Updatetool:\[Unconfiguring Updatetool\]*\[{0} {1}\]|#]
      [#|2010-08-04T20:32:14.319+06:00|INFO|Install Engine|org.openinstaller.provider.conf.InstallationConfigurator||Installation directory: /home/ak/0.java/glassfishv3:\[Installation directory: /home/ak/0.java/glassfishv3\]*\[{0} {1}\]|#]
      [#|2010-08-04T20:32:14.322+06:00|INFO|Install Engine|org.openinstaller.provider.conf.InstallationConfigurator||Shutting down notifier process:\[Shutting down notifier process\]*\[{0} {1}\]|#]
      [#|2010-08-04T20:32:14.353+06:00|INFO|Install Engine|org.openinstaller.provider.conf.InstallationConfigurator||Exception while unregistering notifier: Exception=EXECUTECMD_ERR
      [
       at org.openinstaller.util.ExecuteCommand.execute(ExecuteCommand.java:467)
       at org.openinstaller.provider.conf.InstallationConfigurator.unconfigureUpdatetool(null:?)
       at org.openinstaller.provider.conf.InstallationConfigurator.unConfigure(null:?)
       at org.openinstaller.provider.conf.ConfigProvider.receiveRequest(ConfigProvider.java:573)
       at org.openinstaller.bus.ControlBus.publishRequest(ControlBus.java:341)
       at org.openinstaller.provider.task.UnconfigTask.perform(UnconfigTask.java:88)
       at org.openinstaller.provider.task.TaskDriver.executeTask(TaskDriver.java:378)
       at org.openinstaller.provider.task.TaskProvider.receiveRequest(TaskProvider.java:117)
       at org.openinstaller.bus.ControlBus$3.run(ControlBus.java:404)
       at java.lang.Thread.run(Thread.java:619)
      ]
      Caused By=java.io.IOException: Cannot run program "/home/ak/0.java/glassfishv3/updatetool/bin/updatetool": java.io.IOException: error=2, No such file or directory
      [
       at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
       at java.lang.Runtime.exec(Runtime.java:593)
       at java.lang.Runtime.exec(Runtime.java:509)
       at org.openinstaller.util.ExecuteCommand.execute(ExecuteCommand.java:423)
       at org.openinstaller.provider.conf.InstallationConfigurator.unconfigureUpdatetool(null:?)
       at org.openinstaller.provider.conf.InstallationConfigurator.unConfigure(null:?)
       at org.openinstaller.provider.conf.ConfigProvider.receiveRequest(ConfigProvider.java:573)
       at org.openinstaller.bus.ControlBus.publishRequest(ControlBus.java:341)
       at org.openinstaller.provider.task.UnconfigTask.perform(UnconfigTask.java:88)
       at org.openinstaller.provider.task.TaskDriver.executeTask(TaskDriver.java:378)
       at org.openinstaller.provider.task.TaskProvider.receiveRequest(TaskProvider.java:117)
       at org.openinstaller.bus.ControlBus$3.run(ControlBus.java:404)
       at java.lang.Thread.run(Thread.java:619)
      ]
       Context-Items=[[method=org.openinstaller.util.ExecuteCommand.execute(), operation=EXECUTECMD_ERR, command=[/home/ak/0.java/glassfishv3/updatetool/bin/updatetool, --notifier, --shutdown]]]:\[Exception while unregistering notifier: Exception=EXECUTECMD_ERR
      \[
       at org.openinstaller.util.ExecuteCommand.execute(ExecuteCommand.java:467)
       at org.openinstaller.provider.conf.InstallationConfigurator.unconfigureUpdatetool(null:?)
       at org.openinstaller.provider.conf.InstallationConfigurator.unConfigure(null:?)
       at org.openinstaller.provider.conf.ConfigProvider.receiveRequest(ConfigProvider.java:573)
       at org.openinstaller.bus.ControlBus.publishRequest(ControlBus.java:341)
       at org.openinstaller.provider.task.UnconfigTask.perform(UnconfigTask.java:88)
       at org.openinstaller.provider.task.TaskDriver.executeTask(TaskDriver.java:378)
       at org.openinstaller.provider.task.TaskProvider.receiveRequest(TaskProvider.java:117)
       at org.openinstaller.bus.ControlBus$3.run(ControlBus.java:404)
       at java.lang.Thread.run(Thread.java:619)
      \]
      Caused By=java.io.IOException: Cannot run program "/home/ak/0.java/glassfishv3/updatetool/bin/updatetool": java.io.IOException: error=2, No such file or directory
      .
      .
      .
      and so on.

      Any ideas ?
        • 1. Re: j2ee sdk installing on linux x64
          843804
          one interesting thing, it says in the console:
          WARNING: Warning: Could not detect OS Architecture, falling back to os.arch [Architecture=GenuineIntel ]
          SwixML 1.5 (#144)
          while installation is prompting for directory, all the deflated files are there in the temp directory. And the update tool called "updatetool" is supposed to be in HOME_DIR/glassfishv3/updatetool/bin, but there is no such file there, there is no bin directory. Only lib directory.

          Any ideas ?
          • 2. Re: j2ee sdk installing on linux x64
            843804
            I guess this should give more details about issues I am having :

            Using the user defined JAVA_HOME : /home/ak/0.java/jre1.6.0_21_64
            Entering setup...
            WARNING: Warning: Could not detect OS Architecture, falling back to os.arch [Architecture=GenuineIntel ]
            FINE: completed initializing provider svc://general/orchestrator
            FINEST: Ignoring blank answer file or syntax error in ,file:///tmp/install.080510113914/install.properties
            FINEST: BGImagePanel() called by org.openinstaller.util.ui.StandaloneSplash?<init>
            FINEST: BGImagePanel.setBgImage(Image BufferedImage@1c5d9084: type = 5 ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@42bad8a8 transparency = 1 has alpha = false isAlphaPre = false ByteInterleavedRaster: width = 728 height = 435 #numDataElements 3 dataOff[0] = 2) called by org.openinstaller.util.ui.StandaloneSplash?<init>
            FINE: DISCOVERING_SERVICE_PROVIDERS
            FINE: Not instantiating null - not a ServiceProvider
            Exception=null
            [
             at java.net.URLClassLoader$1.run(null:?)
             at java.security.AccessController.doPrivileged(null:?)
             at java.net.URLClassLoader.findClass(null:?)
             at org.openinstaller.core.EngineBootstrap.findClass(EngineBootstrap.java:249)
             at java.lang.ClassLoader.loadClass(null:?)
             at org.openinstaller.core.EngineBootstrap.loadClass(EngineBootstrap.java:357)
             at java.lang.ClassLoader.loadClass(null:?)
             at org.openinstaller.core.EngineBootstrap.loadClass(EngineBootstrap.java:318)
             at java.lang.Class.forName0(null:?)
             at java.lang.Class.forName(null:?)
             at org.openinstaller.core.Orchestrator.findServiceProviders(Orchestrator.java:763)
             at org.openinstaller.core.Orchestrator.main(Orchestrator.java:447)
             at sun.reflect.NativeMethodAccessorImpl.invoke0(null:?)
             at sun.reflect.NativeMethodAccessorImpl.invoke(null:?)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(null:?)
             at java.lang.reflect.Method.invoke(null:?)
             at org.openinstaller.core.EngineBootstrap.main(EngineBootstrap.java:208)
            ]
            
            FINE: FOUND_SERVICE_PROVIDER
            FINE: FOUND_SERVICE_PROVIDER
            FINE: FOUND_SERVICE_PROVIDER
            FINE: FOUND_SERVICE_PROVIDER
            FINE: FOUND_SERVICE_PROVIDER
            FINE: FOUND_SERVICE_PROVIDER
            FINE: FOUND_SERVICE_PROVIDER
            FINE: FOUND_SERVICE_PROVIDER
            FINE: FOUND_SERVICE_PROVIDER
            FINE: FOUND_SERVICE_PROVIDER
            FINE: DISCOVERED_SERVICE_PROVIDERS
            FINE: completed initializing provider svc://general/system
            FINE: completed initializing provider svc://general/name
            FINE: completed initializing provider svc://general/product
            FINEST: Initializing configuration provider
            FINEST: BusRequest For: [svc://general/EngineConfig] Request: [BusRequest: name: ConfigRequest data: EngineConfigCommand{ cmd=GET_CONFIG, data=MEDIA_LOCATION}] By: [org.openinstaller.util.install.Common.getMediaLocationURL(*)
            FINEST: BusRequest For: [svc://general/EngineConfig] Request: [BusRequest: name: ConfigRequest data: EngineConfigCommand{ cmd=GET_CONFIG, data=MEDIA_LOCATION}] By: [org.openinstaller.util.install.Common.getMediaLocationURL(*)
            FINEST: BusRequest For: [svc://general/EngineConfig] Request: [BusRequest: name: ConfigRequest data: EngineConfigCommand{ cmd=GET_CONFIG, data=MEDIA_LOCATION}] By: [org.openinstaller.util.install.Common.getMediaLocationURL(*)
            FINE: completed initializing provider svc://general/task
            FINEST: BusRequest For: [svc://general/EngineConfig] Request: [BusRequest: name: Mode-Request data: EngineConfigCommand{ cmd=GET_CONFIG, data=DRY_RUN_FILE}] By: [org.openinstaller.provider.sims.SIMSProvider.init(*)
            FINEST: BusRequest For: [svc://general/EngineConfig] Request: [BusRequest: name: EngineConfigRequest data: EngineConfigCommand{ cmd=GET_CONFIG, data=PLATFORM_PLUGIN_PATH}] By: [org.openinstaller.provider.platform.SystemInterface.init(*)
            FINE: completed initializing provider svc://general/operation
            FINEST: BusRequest For: [svc://general/EngineConfig] Request: [BusRequest: name: ModeRequest data: EngineConfigCommand{ cmd=GET_CONFIG, data=PKG_FORMAT}] By: [org.openinstaller.sims.BackendFactory.discoverBackend(*)
            FINE: LOADING_CLASS
            FINE: Can't load SIMS backend org.openinstaller.sims.backends.zip.unix.linux.SIMSBackend
            Exception=org.openinstaller.sims.backends.zip.unix.linux.SIMSBackend
            [
             at java.net.URLClassLoader$1.run(null:?)
             at java.security.AccessController.doPrivileged(null:?)
             at java.net.URLClassLoader.findClass(null:?)
             at org.openinstaller.core.EngineBootstrap.findClass(EngineBootstrap.java:249)
             at java.lang.ClassLoader.loadClass(null:?)
             at org.openinstaller.core.EngineBootstrap.loadClass(EngineBootstrap.java:357)
             at java.lang.ClassLoader.loadClass(null:?)
             at org.openinstaller.core.EngineBootstrap.loadClass(EngineBootstrap.java:318)
             at java.lang.Class.forName0(null:?)
             at java.lang.Class.forName(null:?)
             at org.openinstaller.sims.BackendFactory.getBackendByClass(BackendFactory.java:146)
             at org.openinstaller.sims.BackendFactory.discoverBackend(BackendFactory.java:112)
             at org.openinstaller.sims.BackendFactory.getBackend(BackendFactory.java:80)
             at org.openinstaller.sims.SIMSContext.<init>(SIMSContext.java:131)
             at org.openinstaller.provider.sims.SIMSProvider.init(SIMSProvider.java:95)
             at org.openinstaller.bus.ControlBus$1.run(ControlBus.java:192)
             at java.lang.Thread.run(null:?)
            ]