Re: oracle config

Shash Chatterjee <[email protected]> Wed, 12 Oct 2005 22:10:35 -0500
Newsgroups gmane.comp.java.keel.devel
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------020502030406000007030508
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Wha'dya know!!!!  I type the error in Google, and out pops three hits, 
all related to Keel!

This one has the answer: 
http://www.mail-archive.com/keelgroup-keelframework.com-rI8AND0JKYOgdSakss0wQjGcDxdMUgRv@public.gmane.org/msg02006.html


> Thanks Shash,
> I changed log level from "WARN" to "DEBUG" for svc-persist-default.  
> It was already at "DEBUG" in svc-persist-base.  But that didn't help 
> solve the mystery.  Actually when I attempt:
> http://localhost:8080/default/model.do?model=createdb&db="wrapps" 
> <http://localhost:8080/default/model.do?model=createdb&db=%22raj-db%22>
> the only log entry that changes is client.log.
> BTW, I am using the code you sent me as-is.  I've not changed the id 
> attribute other than the jdbc-url, user, and password for my db. And 
> that's why using "wrapps."
>
>
> It is still the same error:
> Could not return a reference to the Component 
> (Key='org.keel.services.persist.PersistentFactory/wrapps')
> org.keel.services.model.ModelException: Could not return a reference 
> to the Component 
> (Key='org.keel.services.persist.PersistentFactory/wrapps')
> ...
>     at org.keel.servers.direct
> .KeelDirectServer$MultiThreadedProcessor.run(KeelDirectServer.java:271)
> Caused by: java.lang.IllegalArgumentException: Unknown java.sql.Types 
> type -104
>     at 
> org.keel.services.persist.base.JDBCDatabaseType.typeToString(JDBCDatabaseType.java:1091)
>     at 
> org.keel.services.persist.base.OracleDatabaseType.setDataSource(OracleDatabaseType.java:93)
> ...
>
> Thanks.


--------------020502030406000007030508
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#6600cc">
Wha'dya know!!!!&nbsp; I type the error in Google, and out pops three hits,
all related to Keel!<br>
<br>
This one has the answer:
<a class="moz-txt-link-freetext" href="http://www.mail-archive.com/keelgroup-keelframework.com-rI8AND0JKYOgdSakss0wQjGcDxdMUgRv@public.gmane.org/msg02006.html">http://www.mail-archive.com/keelgroup-keelframework.com-rI8AND0JKYOgdSakss0wQjGcDxdMUgRv@public.gmane.org/msg02006.html</a><br>
<br>
<br>
<blockquote
 cite="mid19d2c3e30510121916m3be15290y889b83ea962782f3-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org"
 type="cite">Thanks Shash,<br>
I changed log level from "WARN" to "DEBUG" for
svc-persist-default.&nbsp; It was already at "DEBUG" in
svc-persist-base.&nbsp; But that didn't help solve the mystery.&nbsp;
Actually when I attempt:<br>
  <a
 href="http://localhost:8080/default/model.do?model=createdb&amp;db=%22raj-db%22"
 target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://localhost:8080/default/model.do?model=createdb&amp;db="wrapps"
  </a><br>
the only log entry that changes is client.log.<br>
BTW, I am using the code you sent me as-is.&nbsp; I've not changed the
id attribute other than the jdbc-url, user, and password for my db. And
that's why using "wrapps."<br>
  <br>
  <br>
It is still the same error:<br>
  <span style="font-weight: bold;">Could not return a reference to the
Component (Key='org.keel.services.persist.PersistentFactory/wrapps')</span><br
 style="font-weight: bold;">
  <span style="font-weight: bold;">
org.keel.services.model.ModelException: Could not return a reference to
the Component (Key='org.keel.services.persist.PersistentFactory/wrapps')</span><br>
...<br>
&nbsp;&nbsp;&nbsp; at org.keel.servers.direct
  <div>.KeelDirectServer$MultiThreadedProcessor.run(KeelDirectServer.java:271)<br>
  <span style="font-weight: bold;">Caused by:
java.lang.IllegalArgumentExcept</span><span style="font-weight: bold;">ion:
Unknown java.sql.Types type -104</span><br>
&nbsp;&nbsp;&nbsp; at
org.keel.services.persist.base.JDBCDatabaseType.typeToString(JDBCDatabaseType.java:1091)<br>
&nbsp;&nbsp;&nbsp; at
org.keel.services.persist.base.OracleDatabaseType.setDataSource(OracleDatabaseType.java:93)<br>
...<br>
  <br>
  </div>
Thanks.<br>
</blockquote>
<br>
</body>
</html>

--------------020502030406000007030508--
http://keelframework.org/documentation.shtml
Keelgroup mailing list
[email protected]
http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com