DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: Installing JVM, Intermedia and Text from command line on Linux

  1. #1
    Join Date
    Jun 2005
    Posts
    2

    Installing JVM, Intermedia and Text from command line on Linux

    Hi everyone,

    I'm attempting to installing Oracle JVM, Oracle Intermedia and Oracle Text on a remote 10g server where X Windows isn't currently available, however when I rum initjvm.sql, it dies when it gets to the point of opening an xwindows app. Here is the error (I removed the ip address below):

    Code:
    PL/SQL procedure successfully completed.
    
    drop role javauserpriv
    create role javauserpriv
    grant javauserpriv to sys
    drop role javaidpriv
    create role javaidpriv
    grant javaidpriv to sys
    drop role javasyspriv
    create role javasyspriv
    grant javasyspriv to sys
    grant javauserpriv to javasyspriv
    drop role javadebugpriv
    create role javadebugpriv
    drop role ejbclient
    create role ejbclient
    
    PL/SQL procedure successfully completed.
    
    Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using '###.###.###.###:0.0' as the value of the DISPLAY variable.
            at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
            at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:134)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:141)
            at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
            at java.awt.Font.initializeFont(Font.java:308)
            at java.awt.Font.(Font.java:344)
            at oracle.ewt.lwAWT.LWComponent.(Unknown Source)
            at oracle.sysman.assistants.util.wizard.WizardObject.(WizardObject.java:63)
            at oracle.sysman.assistants.dbca.ui.DBCAWizard.(DBCAWizard.java:424)
            at oracle.sysman.assistants.dbca.ui.UIHost.(UIHost.java:209)
            at oracle.sysman.assistants.dbca.ui.InteractiveHost.(InteractiveHost.java:54)
            at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:155)
            at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:93)
            at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:175)
    create or replace java system
    begin if initjvmaux.startstep('CREATE_JAVA_SYSTEM') then
    *
    ERROR at line 1:
    ORA-04031: unable to allocate 4032 bytes of shared memory ("java pool","unknown
    object","joxlod exec hp","SGAClass")
    ORA-06512: at "SYS.INITJVMAUX", line 15
    ORA-06512: at line 5
    
    
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - Production
    With the Partitioning, OLAP and Data Mining options
    I already have one database on this server running with these options, however, I created a second database using "create database ..." and can't get these options added (though it is working otherwise).

    I also have a local 10g install and it seems like dbca will add these options easily. I'm just wondering if I can do it without GUI or if I need to get X Windows and a VPN set up. Thanks.

  2. #2
    Join Date
    Jun 2005
    Posts
    2
    I got around this by having dbca on my local machine generate the scripts which I then uploaded and ran on the remote machine.

Posting Permissions

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


Click Here to Expand Forum to Full Width