Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How to enable IPV4 in JNLP file

843802Jul 1 2004 — edited Jul 9 2004
I need to use this flag -Djava.net.preferIPv4Stack=true when running with JWS. Does anyone know how to specified this flag through JNLP file?

Thanks,
Paul

Comments

Balazs Papp
After a shutdown immediate, any attempt to connect to the database results in a ORA-12514 error.
absolutely normal, since you shut down the database, and its not running
I can not restart the db from the command line.
how did you try? whats the error?
I can restart it by restarting the db listener.
restarting the DB by restarting the listener? makes no sense
maddox
Tried to restart db with startup command. That is when I get the error. Also get the error if I try to reconnect to the db.
My mistake. I meant to say when I restart the service for the db which is set to also start the db.
Balazs Papp
Answer
im assuming that after you shut down the database, you want to log in to the database through the listener
by default the database uses dynamic registration and is available through the listener only in MOUNT or OPEN state
to be able to "log in" to a not running, or a NOMOUNT database (as SYSDBA), you have to register the database instance manually in your listener.ora
LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = myhost.com)(PORT = 1521))
    )
  )

SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
      (SID_NAME = ORCL)
    )
  )
Marked as Answer by maddox · Sep 27 2020
maddox
I had just narrowed it to the db not being setup in the listener.ora file but your explanation and example cleared up why I could not log in. Everything running now. I am putting the note on dynamic registration in my OneNote folder. Thanks for the education.
1 - 4
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 6 2004
Added on Jul 1 2004
1 comment
746 views