Thought inc.

The Dynamic O/R Mapping Company
     

CocoBase Technical Support Forums
For access to developer site with software download and doc's, please request CocoBase download and password
will be emailed to you. Response to posts will appear when answered by THOUGHT Support team.
NOTE:You must register separately with forum in order to post your questions, please click on register icon below.
Home   Frequently Asked Questions   Search   Edit your profile   Registration is free!  
Email This Page to Someone!
Show a Printable Version
CocoBase Enterprise O/R Forums > CocoBase Installation
Unable to connect to database using Cocobase Mapping Administrator (4.0)
< Previous Thread     Next Thread >
Author
Thread    Post New Thread     Post A Reply
Sumitklal
Member

Registered: Sep 2002
Posts: 1

I tried to loged into the database using Cocobase Mapping Administrator (4.0). I have put the classes12.zip in classpath and I am using the thin driver but as soon as I click Login the error message is flashed "Network Adapter error". I wrote small java program with same URL and Driver and was able to connect to the database. I am not getting whats the problem with Cocobase. I am using windows 2000.

09-05-2002 07:06 AM
Click Here to See the Profile for Sumitklal    Find more posts by Sumitklal        Edit/Delete Message    Reply w/Quote    IP: Logged
admin
Administrator

Registered: Apr 2001
Posts: 19

This is typically the result of not having a TNS Listener for
TCP/IP configured. See the Tutorials (The BEA BMP tutorial
for Weblogic 6 for instance), and many of them show you how
to install and configure Oracle for JDBC...

CocoAdmin assumes a properly configured DB & JDBC environment,
but for customer convenience we've included configuration
documentation for CocoBase.

THOUGHT Support

09-05-2002 09:46 AM
Click Here to See the Profile for admin    Find more posts by admin        Edit/Delete Message    Reply w/Quote    IP: Logged
rbagley
Member

Registered: Sep 2002
Posts: 1
your first answer was nonresponsive.

You'll need to reread his post to better answer his question.

The oracle database is already properly configured and responding to JDBC requests just fine (his little test JDBC program is running quite happily, as is the program at the end of this message).

But when I put the exact same information into the CocoAdmin "Open New DB Connection" dialog, I get "Login Failed". Interestingly, if I select a JDBC driver that isn't in the CLASSPATH, and click the "Login >" button, I get the same error message.

I'm wondering if it could be a license issue with a really poor error message selection. I don't know how old my evaluation license is, but it could be over 30 days...

package persist;

import java.sql.Connection;
import java.sql.DriverManager;

public class JDBCCheck {

public static void main(String[] args) throws Exception {
Class.forName("oracle.jdbc.driver.OracleDriver");
Connection con = DriverManager.getConnection
("jdbc:oracle:thin:@tom:1521:CNDS", "USER", "PASSWORD");
return;
} // void main(String[])

} // class JDBCCheck

09-06-2002 08:51 AM
Click Here to See the Profile for rbagley    Find more posts by rbagley        Edit/Delete Message    Reply w/Quote    IP: Logged
admin
Administrator

Registered: Apr 2001
Posts: 19
your first answer was nonresponsive.

The issue you described was typically the result of TNS
listener issues in the past, but engineering thinks this might
be installer/proxy firewall related.

The other strong possibility is that you have a Proxy Firewall on installation, and that a Proxy configuration
firewall file was written into the CocoBase distribution.
Unless you are using a database outside of your firewall,
you should edit and remove the Proxy settings from this
file:
demos/resources/ProxyConfig.properties

It can cause the symptoms you've described. This
instruction pops up in the GUI installer, but perhaps you
didn't notice it, or ignored it when you installed the
product.

THOUGHT Support

[Edited by admin on 09-09-2002 at 03:46 AM]

09-09-2002 10:39 AM
Click Here to See the Profile for admin    Find more posts by admin        Edit/Delete Message    Reply w/Quote    IP: Logged
All times are PST (US)    Post New Thread     Post A Reply
Forum Jump:
< Previous Thread     Next Thread >

Forum Rules:
Who Can Read The Forum? Any registered user or guest.
Who Can Post New Topics? Any registered user.
Who Can Post Replies? Any registered user.
Changes: Messages can be edited by their author. Messages can be deleted by their author.
Posts: HTML code is OFF. Smilies are OFF. vB code is OFF. [IMG] code is OFF.

Admin Options:
Open / Close Thread
Move Thread
Delete Thread
Edit Thread

< Contact Us - THOUGHT Inc. >

Copyright © Jelsoft Enterprises Limited 2000.
Copyright 2001 All Rights Reserved, THOUGHT Inc.