Running JADE in Oracle JVM

View: New views
2 Messages — Rating Filter:   Alert me  

Running JADE in Oracle JVM

by Hutchinson, Matt :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Running JADE in Oracle JVM

Hi everyone,

Im working on a project which requires me to run JADE inside the Oracle JVM, but Im getting some issues when trying to run it. I have loaded the jade jar files using loadjava, and then to run jade Im using the ojvmjava utility. Just to see if it runs, Im calling the jade.Boot class.

Although you all may not be experts on the Oracle JVM, Im more hoping that by looking at the following error message you may be able to offer some advice regarding what the agent is doing at startup and from there I can determine what the DB problem is.


$ java jade.Boot
java.sql.SQLException: ORA-29515: exit called from Java code with status 0
ORA-06512: at "SYS.DBMS_JAVA", line 813
ORA-06512: at line 1

at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:110)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:171)
at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:686)
at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:617)
at oracle.jdbc.driver.T2CCallableStatement.executeForDescribe(T2CCallableStatement.java:560)
at oracle.jdbc.driver.T2CCallableStatement.executeForRows(T2CCallableStatement.java:743)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1222)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3381)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3482)
at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:3839)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1085)
at oracle.aurora.server.tools.shell.JDBCShellConnection.passChunks(JDBCShellConnection.java:180)
at oracle.aurora.server.tools.shell.JDBCShellConnection.invoke_command(JDBCShellConnection.java:148)
at oracle.aurora.server.tools.shell.ShellClient.invoke_command(ShellClient.java:304)
at oracle.aurora.server.tools.shell.ShellClient.invoke_command(ShellClient.java:313)
at oracle.aurora.server.tools.shell.ShellClient.invoke(ShellClient.java:202)
at oracle.aurora.server.tools.shell.ShellClient.invoke(ShellClient.java:183)
at oracle.aurora.server.tools.shell.ShellClient.invoke(ShellClient.java:171)
at oracle.aurora.server.tools.shell.ShellClient.main(ShellClient.java:123)
java.sql.SQLException: ORA-29515: exit called from Java code with status 0
ORA-06512: at "SYS.DBMS_JAVA", line 813
ORA-06512: at line 1

$


This is an important project and I appreciate your time and effort in providing any advice.

Cheers,

Matt

Matt Hutchinson
Geospatial Systems Architect

WOOLPERT, INC.
4454 Idea Center Boulevard

Dayton, OH 45430-1500



_______________________________________________
jade-develop mailing list
jade-develop@...
https://avalon.cselt.it/mailman/listinfo/jade-develop
UNSUBSCRIBE INSTRUCTIONS AT
http://jade.tilab.com/community-mailinglist.htm

RE: Running JADE in Oracle JVM

by Caire Giovanni-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Running JADE in Oracle JVM

Hi,

 

I never used the OracleJVM and also the error you have does not tell me much. If I understood well it appears that suddenly someone invokes System.exit(0).

There is a single point in JADE where System.exit() is called and immediately before there is a log that looks like

“JADE is closing down now”.

Do you see this log?

 

Bye,

 

Giovanni

 

 


From: jade-develop-bounces@... [mailto:jade-develop-bounces@...] On Behalf Of Hutchinson, Matt
Sent: mercoledì 9 luglio 2008 15.19
To: jade-develop@...
Subject: [jade-develop] Running JADE in Oracle JVM

 

Hi everyone,

I’m working on a project which requires me to run JADE inside the Oracle JVM, but I’m getting some issues when trying to run it. I have loaded the jade jar files using loadjava, and then to run jade I’m using the ojvmjava utility. Just to see if it runs, I’m calling the “jade.Boot” class.

Although you all may not be experts on the Oracle JVM, I’m more hoping that by looking at the following error message you may be able to offer some advice regarding what the agent is doing at startup – and from there I can determine what the DB problem is.

 

$ java jade.Boot
java.sql.SQLException: ORA-29515: exit called from Java code with status 0
ORA-06512: at "SYS.DBMS_JAVA", line 813
ORA-06512: at line 1

at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:110)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:171)
at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:686)
at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:617)
at oracle.jdbc.driver.T2CCallableStatement.executeForDescribe(T2CCallableStatement.java:560)
at oracle.jdbc.driver.T2CCallableStatement.executeForRows(T2CCallableStatement.java:743)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1222)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3381)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3482)
at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:3839)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1085)
at oracle.aurora.server.tools.shell.JDBCShellConnection.passChunks(JDBCShellConnection.java:180)
at oracle.aurora.server.tools.shell.JDBCShellConnection.invoke_command(JDBCShellConnection.java:148)
at oracle.aurora.server.tools.shell.ShellClient.invoke_command(ShellClient.java:304)
at oracle.aurora.server.tools.shell.ShellClient.invoke_command(ShellClient.java:313)
at oracle.aurora.server.tools.shell.ShellClient.invoke(ShellClient.java:202)
at oracle.aurora.server.tools.shell.ShellClient.invoke(ShellClient.java:183)
at oracle.aurora.server.tools.shell.ShellClient.invoke(ShellClient.java:171)
at oracle.aurora.server.tools.shell.ShellClient.main(ShellClient.java:123)
java.sql.SQLException: ORA-29515: exit called from Java code with status 0
ORA-06512: at "SYS.DBMS_JAVA", line 813
ORA-06512: at line 1

$

 

This is an important project and I appreciate your time and effort in providing any advice.

Cheers,

Matt

Matt Hutchinson
Geospatial Systems Architect

WOOLPERT, INC.
4454 Idea Center Boulevard

Dayton, OH 45430-1500

 


_______________________________________________
jade-develop mailing list
jade-develop@...
https://avalon.cselt.it/mailman/listinfo/jade-develop
UNSUBSCRIBE INSTRUCTIONS AT
http://jade.tilab.com/community-mailinglist.htm
LightInTheBox - Buy quality products at wholesale price