• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2378
  • Last Modified:

ORA-01041: internal error. hostdef extension doesn't exist

Hi
Im writing a C Cartridge using Oracle Application Server 4.0.8 with Oracle database 8i on SUN Solaris 7.
While trying to execute any of my SQL Statements (using OCI) I got the error :
ORA-01041: internal error. hostdef extension doesn't exist.
The database and the Application Server
are placed on different nodes.
I tought it was a problem with the Listener of the database but the with sqlplus I succeeded to connect the database (from the different node).
What can be the problem and how can I solve it.
Thank you.
sharone
0
sharone_
Asked:
sharone_
  • 8
  • 4
1 Solution
 
sudhi022299Commented:
What is the statement that ie causing the error ?
0
 
sharone_Author Commented:
an INSERT statement , but the problem is not with a specific statement.
Sharone
0
 
sharone_Author Commented:
an INSERT statement , but the problem is not with a specific statement.
Sharone
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
sudhi022299Commented:
well the documentation says this:

ORA-01041: internal error. HOSTDEF extension does not exist
Cause: The pointer to the HOSTDEF extension in HOSTDEF is null.
Action: Report as a bug to customer support.

Test another simple oci script and see whether you get the same error.

Regards,
Sudhi.
0
 
sharone_Author Commented:
an INSERT statement , but the problem is not with a specific statement.
Sharone
0
 
sharone_Author Commented:
Sudhi , I checked the documentation myself...
I get the same error for all my trials.
I think it has something to do with the different hosts of the databse and the OAS
0
 
sudhi022299Commented:
well i have an OAS and Database on different nodes. None of the guys had any problems with C cartdriges.
Lets see if someone else had similar problems.

Regards,
Sudhi.
0
 
sharone_Author Commented:
Sudhi , I checked the documentation myself...
I get the same error for all my trials.
I think it has something to do with the different hosts of the databse and the OAS
0
 
sharone_Author Commented:
Sudhi , I checked the documentation myself...
I get the same error for all my trials.
I think it has something to do with the different hosts of the databse and the OAS
0
 
sharone_Author Commented:
Sudhi , I checked the documentation myself...
I get the same error for all my trials.
I think it has something to do with the different hosts of the databse and the OAS
0
 
sudhi022299Commented:
whats happening here ? why 3 comments of the same.

0
 
sharone_Author Commented:
Adjusted points to 200
0
 
uri22Commented:
Sharone ,
In your cartridge there is a definition of the server you are working with (In the OCI Inirialize):
OCIServerAttach(srvhp,errhp,
          (CONST text *SERVER_NAME,    
          (sb4)strlen(SERVER_NAME),
          (ub4)OCI_DEFAULT) );
Where the server name is the name of the server you are working with.
(Better be in a define)
Hope this helps.
uri22
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 8
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now