In attempting to troubleshoot why a Java external environment did not start, that is, if the application gets a "main thread not found" error when a Java call is made, the DBA should check the following
Bei dem Versuch einer Fehlerbehandlung für den Fall, dass eine externe Java-Umgebung nicht gestartet wurde (d.h. die Anwendung bei einem Java-Aufruf einen Fehler erhält, wonach der Haupt-Thread nicht gefunden wurde), sollte der DBA Folgendes überprüfen
While connected to the sample database, open the Java subfolder under External Environments and choose File? New? Java Class.
Während Sie mit der Beispieldatenbank verbunden sind, öffnen Sie den Unterordner Java unter Externe Umgebungen und wählen Datei? Neu? Java-Klasse.
The LOCATION clause of the ALTER EXTERNAL ENVIRONMENT JAVA statement indicates the location of the Java VM.
Die LOCATION-Klausel der ALTER EXTERNAL ENVIRONMENT JAVA-Anweisung gibt den Speicherort der Java VM an.
EXTERNAL NAME java-call LANGUAGE JAVA clause To call a Java method in an external environment, the function interface is defined with an EXTERNAL NAME clause followed by the LANGUAGE JAVA attribute.
Adaptive Server Enterprise only supports LANGUAGE JAVA as the external environment (SQL/2008 language feature J621) for an external function.
Adaptive Server Enterprise unterstützt nur LANGUAGE JAVA als externe Umgebung (SQL/2008-Sprachenfunktion J621) für eine externe Funktion.
In the left pane, expand the External Environments folder. Click Java.
Öffnen Sie den Ordner Externe Umgebungen. In diesem Ordner öffnen Sie den Ordner Java.
Specifies the location of an external environment such as Java, PHP, or Perl. Syntax
Gibt den Speicherort einer externen Umgebung wie Java, PHP oder Perl an. Syntax
You can also use the ALTER EXTERNAL ENVIRONMENT to specify the database user whose connection can be used for installing classes and performing other Java-related administrative tasks.
Sie können mit ALTER EXTERNAL ENVIRONMENT auch den Datenbankbenutzer angeben, dessen Verbindung zur Installation von Klassen und zur Ausführung anderer, Java-bezogener Verwaltungsaufgaben verwendet werden kann.
Once the external environment objects are installed in the database, they can be used within external stored procedure and function definitions (similar to the current mechanism for creating Java stored procedures and functions).
Wenn die externen Umgebungsobjekte in der Datenbank installiert sind, können sie in Definitionen für externe gespeicherte Prozeduren und Funktionen verwendet werden (ähnlich dem derzeitigen Mechanismus zur Erstellung von gespeicherten Java-Prozeduren und -Funktionen).
Use this statement to specify the location of an external environment such as JAVA, PHP, or Perl, or to specify a user with DBA authority to be used by the external environment for connecting to the database.
Mit dieser Anweisung geben Sie den Standort einer externen Umgebung wie Java, PHP oder Perl an oder definieren einen Benutzer mit DBA-Berechtigung, der von der externen Umgebung für die Verbindung mit der Datenbank benutzt werden soll.
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.