This discussion is archived
4 Replies Latest reply: Mar 6, 2008 7:14 AM by 807581 RSS

How to install Sun Java Appserver 7 update 9 in Fedora Core 3

807581 Newbie
Currently Being Moderated
I face a problem when installing the SJAS 7 Standard Edition update 9 in Fedora Core 3.
I alr install the jdk1.5 in the opt folder. Before installing the SJAS 7, i have successfully install the SJAS 9 platform edition. Since that it's can't ccreate multiple instance so i decide change it to SJAS 7 SE version.

But It's keep on prompting this error...

error msg
========
java.lang.UnsatisfiedLinkError: /opt/app/sun-appserver7/package/jre/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1560)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1477)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.loadLibraries(Toolkit.java:1437)
at java.awt.Toolkit.<clinit>(Toolkit.java:1458)
at java.awt.Dimension.<clinit>(Dimension.java:68)
at com.sun.wizards.core.GenericWizardState.startGUI(GenericWizardState.java:398)
at com.sun.wizards.core.GenericWizardState.run(GenericWizardState.java:270)
at java.lang.Thread.run(Thread.java:534)
InvocationTargetException in ArchiveReader constructornull
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at appserv.instantiateArchiveReader(ArchiveClassLoader.java:205)
at appserv.<init>(ArchiveClassLoader.java:143)
at appserv.main(ArchiveClassLoader.java:1212)
Caused by: java.lang.UnsatisfiedLinkError: /opt/app/sun-appserver7/package/jre/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1560)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1477)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)
at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)
at java.awt.Component.<clinit>(Component.java:506)
at com.sun.install.tasks.InstallCommandLineTask.processLocales(InstallCommandLineTask.java:592)
at com.sun.install.tasks.InstallCommandLineTask.processCommandLineArguments(InstallCommandLineTask.java:540)
at com.sun.install.tasks.InstallCommandLineTask.initialize(InstallCommandLineTask.java:55)
at com.sun.wizards.core.Sequence.initialize(Sequence.java:173)
at com.sun.wizards.core.GenericWizardState.setWizardState(GenericWizardState.java:1811)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.wizards.core.ArchiveReader.callObjectMethod(ArchiveReader.java:1393)
at com.sun.wizards.core.ArchiveReader.<init>(ArchiveReader.java:272)
... 7 more
Target Exception Trace:
java.lang.UnsatisfiedLinkError: /opt/app/sun-appserver7/package/jre/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1560)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1477)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)
at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)
at java.awt.Component.<clinit>(Component.java:506)
at com.sun.install.tasks.InstallCommandLineTask.processLocales(InstallCommandLineTask.java:592)
at com.sun.install.tasks.InstallCommandLineTask.processCommandLineArguments(InstallCommandLineTask.java:540)
at com.sun.install.tasks.InstallCommandLineTask.initialize(InstallCommandLineTask.java:55)
at com.sun.wizards.core.Sequence.initialize(Sequence.java:173)
at com.sun.wizards.core.GenericWizardState.setWizardState(GenericWizardState.java:1811)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.wizards.core.ArchiveReader.callObjectMethod(ArchiveReader.java:1393)
at com.sun.wizards.core.ArchiveReader.<init>(ArchiveReader.java:272)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at appserv.instantiateArchiveReader(ArchiveClassLoader.java:205)
at appserv.<init>(ArchiveClassLoader.java:143)
at appserv.main(ArchiveClassLoader.java:1212)

I m newbie in linux.... help pls.....

thank.....
  • 1. Re: How to install Sun Java Appserver 7 update 9 in Fedora Core 3
    807581 Newbie
    Currently Being Moderated
    First of all, if you wish to use appserver 7.x I would recommend 7.1ur4 instead of 7.0ur9.
    Speaking of the error you see, it is related to GUI install. You can get around this issue by choosing a console type or a silent type installation, see:
    http://docs.sun.com/source/816-7145-10/igdevops.html
  • 2. Re: How to install Sun Java Appserver 7 update 9 in Fedora Core 3
    807581 Newbie
    Currently Being Moderated
    thank for ur reply.

    can i know where to get the sun java system appserver 7.1ur4 ?? Is that required the licence fees???


    thank...
  • 3. Re: How to install Sun Java Appserver 7 update 9 in Fedora Core 3
    807581 Newbie
    Currently Being Moderated
    hi frd,

    well i tried to install Sun Application Server 8.2 at linux .i already installed required JDK into it but after some strps of installation of Sun AppServer ,wizard put a question to supply password as :::

    Supply the administrator user's password and override any of the other initial
    configuration settings as necessary.
    Administrator User [admin] {"<" goes back, "!" exits}:

    i am confused that what should be enterd here , i tried some inputs but each time error occured as :::

    Exception in thread "Thread-4" java.lang.UnsatisfiedLinkError: /tmp/sjsasb0sfJS/package/libPassword.so: /tmp/sjsasb0sfJS/package/libPassword.so: failed to map segment from shared object: Operation not permitted
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
    at java.lang.Runtime.loadLibrary0(Runtime.java:822)
    at java.lang.System.loadLibrary(System.java:993)
    at com.sun.enterprise.installer.utilities.PasswordUtil.<clinit>(PasswordUtil.java:29)
    at com.sun.enterprise.installer.dialogs.NewConfigInfoPanel.consoleInteraction(NewConfigInfoPanel.java:1153)
    at com.sun.wizards.core.IteratorLayout.cliConsoleInteraction(IteratorLayout.java:786)
    at com.sun.wizards.core.AutonextController.displayPanel(AutonextController.java:562)
    at com.sun.wizards.core.AutonextController.setCurrentPanel(AutonextController.java:486)
    at com.sun.wizards.core.IteratorLayout.setCurrentLeaf(IteratorLayout.java:618)
    at com.sun.wizards.core.IteratorLayout.next(IteratorLayout.java:982)
    at com.sun.wizards.core.WizardTreeManager.actualNextButtonPressed(WizardTreeManager.java:1344)
    at com.sun.wizards.core.WizardTreeManager.nextButtonPressed(WizardTreeManager.java:1371)
    at com.sun.wizards.core.IteratorLayout.run(IteratorLayout.java:861)
    at java.lang.Thread.run(Thread.java:595)
    Deleting temporary files...


    so do u have idea abt that sort of error ,,well if uhave then inform me as soon as possible ,,i really need solution in urgent...

    well thanks in advance ...and wait for response.....
  • 4. Re: How to install Sun Java Appserver 7 update 9 in Fedora Core 3
    807581 Newbie
    Currently Being Moderated
    hi frd,

    well i tried to install Sun Application Server 8.2 at linux .i already installed required JDK into it but after some strps of installation of Sun AppServer ,wizard put a question to supply password as :::

    Supply the administrator user's password and override any of the other initial
    configuration settings as necessary.
    Administrator User [admin] {"<" goes back, "!" exits}:

    i am confused that what should be enterd here , i tried some inputs but each time error occured as :::

    Exception in thread "Thread-4" java.lang.UnsatisfiedLinkError: /tmp/sjsasb0sfJS/package/libPassword.so: /tmp/sjsasb0sfJS/package/libPassword.so: failed to map segment from shared object: Operation not permitted
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
    at java.lang.Runtime.loadLibrary0(Runtime.java:822)
    at java.lang.System.loadLibrary(System.java:993)
    at com.sun.enterprise.installer.utilities.PasswordUtil.<clinit>(PasswordUtil.java:29)
    at com.sun.enterprise.installer.dialogs.NewConfigInfoPanel.consoleInteraction(NewConfigInfoPanel.java:1153)
    at com.sun.wizards.core.IteratorLayout.cliConsoleInteraction(IteratorLayout.java:786)
    at com.sun.wizards.core.AutonextController.displayPanel(AutonextController.java:562)
    at com.sun.wizards.core.AutonextController.setCurrentPanel(AutonextController.java:486)
    at com.sun.wizards.core.IteratorLayout.setCurrentLeaf(IteratorLayout.java:618)
    at com.sun.wizards.core.IteratorLayout.next(IteratorLayout.java:982)
    at com.sun.wizards.core.WizardTreeManager.actualNextButtonPressed(WizardTreeManager.java:1344)
    at com.sun.wizards.core.WizardTreeManager.nextButtonPressed(WizardTreeManager.java:1371)
    at com.sun.wizards.core.IteratorLayout.run(IteratorLayout.java:861)
    at java.lang.Thread.run(Thread.java:595)
    Deleting temporary files...


    so do u have idea abt that sort of error ,,well if uhave then inform me as soon as possible ,,i really need solution in urgent...

    well thanks in advance ...and wait for response.....