ORA-03113 Graphics

SEBA
Дата: 11.11.2008 13:19:11
Всем привет!
Столкнулся со следующей непонятной проблемой!

Во время выполнения хранимой Java процедуры вываливается ORA-03113 на следующем месте во второй строчке:

BufferedImage im = new BufferedImage(width,height,TYPE_BYTE_BINARY);
Graphics2D = im.CreateGraphics();

в Jdeveloper'e все прекрасно работает...

Посоветуйте люди добрые как с такой бедой бороться !
Denis Popov
Дата: 11.11.2008 13:30:17

SEBA wrote:

> Во время выполнения хранимой Java процедуры вываливается ORA-03113 на
> следующем месте во второй строчке:
>
> BufferedImage im = new BufferedImage(width,height,TYPE_BYTE_BINARY);
> Graphics2D = im.CreateGraphics();
>
> в Jdeveloper'e все прекрасно работает...

Может быть это:

http://download.oracle.com/docs/cd/B19306_01/java.102/b14187/chone.htm#sthref76

The GUI

A server cannot provide GUIs, but it can provide the logic that drives them. The Oracle JVM supports
only the headless mode of the Java Abstract Window Toolkit (AWT). All Java AWT classes are available
within the server environment and your programs can use the Java AWT functionality, as long as they
do not attempt to materialize a GUI on the server.


http://download.oracle.com/docs/cd/B19306_01/java.102/b14187/chtwo.htm#BABFAEJI

User Interfaces on the Server

Oracle Database furnishes all core Java class libraries on the server, including those associated
with presentation of the user interfaces. However, it is inappropriate for code running on the
server to attempt to materialize or display a user interface on the server. Users running
applications in the Oracle JVM environment should not be expected nor allowed to interact with or
depend on the display and input hardware of the server where Oracle Database is running.

To address compatibility issues on platforms that do not support display, keyboard, or mouse, Java
1.4 outlines Headless Abstract Window Toolkit (AWT) support.

Posted via ActualForum NNTP Server 1.4

SEBA
Дата: 20.11.2008 12:14:27
Denis Popov

SEBA wrote:

> Во время выполнения хранимой Java процедуры вываливается ORA-03113 на
> следующем месте во второй строчке:
>
> BufferedImage im = new BufferedImage(width,height,TYPE_BYTE_BINARY);
> Graphics2D = im.CreateGraphics();
>
> в Jdeveloper'e все прекрасно работает...

Может быть это:

http://download.oracle.com/docs/cd/B19306_01/java.102/b14187/chone.htm#sthref76

The GUI

A server cannot provide GUIs, but it can provide the logic that drives them. The Oracle JVM supports
only the headless mode of the Java Abstract Window Toolkit (AWT). All Java AWT classes are available
within the server environment and your programs can use the Java AWT functionality, as long as they
do not attempt to materialize a GUI on the server.


http://download.oracle.com/docs/cd/B19306_01/java.102/b14187/chtwo.htm#BABFAEJI

User Interfaces on the Server

Oracle Database furnishes all core Java class libraries on the server, including those associated
with presentation of the user interfaces. However, it is inappropriate for code running on the
server to attempt to materialize or display a user interface on the server. Users running
applications in the Oracle JVM environment should not be expected nor allowed to interact with or
depend on the display and input hardware of the server where Oracle Database is running.

To address compatibility issues on platforms that do not support display, keyboard, or mouse, Java
1.4 outlines Headless Abstract Window Toolkit (AWT) support.


Спасибо за ссылочку, но Graphics в конечном итоге не понадобился :-)