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
license problem
< Previous Thread     Next Thread >
Author
Thread    Post New Thread     Post A Reply
morten.madsen
Member

Registered: May 2002
Posts: 1

I'm evaluation cocobase for a project, and trying out the example with a genericsession bean on a OC4J container. But when I start the client I get an exception on the application server, saying "Can't find bundle for base name resources.license, locale da_DK"

Regards

Morten



C:\apps\oc4j_extended\j2ee\home>java -classpath .;C:\apps\Jindent\Jindent.JAR;C:\apps\j2sdkee1.3\lib\j2ee.jar;C:\apps\oc
4j\j2ee\home\lib\http_client.jar;C:\apps\oc4j\soap\lib\soap.jar;C:\apps\oc4j\soap\lib\wsdl.jar;C:\apps\oc4j\lib\xmlparse
rv2.jar;C:\apps\oc4j\jlib\javax-ssl-1_1.jar;C:\apps\oc4j\jlib\jssl-1_1.jar;C:\apps\oc4j\j2ee\home\ov4j.jar;C:\apps\oc4j\
j2ee\home\ejb.jar;C:\apps\jdev9irc\jdbc\lib817\classes12.zip;C:\apps\cocobase4\classes;C:\apps\cocobase4\demos -mx512M -
Dejb.assert=false -Denable.ejbql=true -jar oc4j.jar
Node started with id=252528751
Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized
CBSessionBean(7780879) - load invoked; obj = null map = null
CBSessionBean(7780879) - connecting to data source...
Copyright (c) 1996-2001 THOUGHT Inc. All Rights Reserved.
CocoBase Enterprise JDBC O/R Layer Initiated.

Checking CocoBase License...
java.util.MissingResourceException: Can't find bundle for base name resources.license, locale da_DK
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:712)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:683)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:546)
at thought.CocoBase.CocoPowder._$1069(CocoPowder.java:956)
at thought.CocoBase.CocoPowder.<clinit>(CocoPowder.java:55)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at thought.CocoBase.CocoDriver.getCocoDriver(CocoDriver.java:62)
at thought.CocoBase.CBFacadeLocal.openDataSource(CBFacadeLocal.java:470)
at thought.CocoBase.ejbs.cbsession.CBSessionBean.openDataSource(Unknown Source)
at thought.CocoBase.CBFacadeLocal.load(CBFacadeLocal.java:298)
at CBSession_StatefulSessionBeanWrapper0.load(CBSession_StatefulSessionBeanWrapper0.java:683)
at java.lang.reflect.Method.invoke(Native Method)
at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:80)
at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
We received an exception from the system while attempting to load the license!
The exception was java.util.MissingResourceException: Can't find bundle for base name resources.license, locale da_DK

05-16-2002 01:39 AM
Click Here to See the Profile for morten.madsen    Find more posts by morten.madsen        Edit/Delete Message    Reply w/Quote    IP: Logged
admin
Administrator

Registered: Apr 2001
Posts: 19

It sounds like you didn't include the CocoBase runtime into
the Oracle lib directory. These commands should solve the
problem for you:

cd \thought\cocobase4\demos
mkcocodirs.bat
copy CocoDeploy.jar \oc4j\j2ee\home\lib\

The idea is that the CocoDeploy.jar file contains the
current CocoBase runtime and license files, and if you deploy
them into the app server lib directory and restart the server
then this error should go away.

THOUGHT Support

05-16-2002 04:01 PM
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.