Still stuck on this issue.

On Wed, Feb 12, 2020 at 3:16 PM Jose Blanco <[email protected]> wrote:

> The dspace.log does not have much info.  I think the error happens when
> the code tries to do this:
>
> https://github.com/DSpace/DSpace/blob/dspace-6.3/dspace-api/src/main/java/org/dspace/core/Context.java#L160
>
> Not sure why it was not able to get the db connection in:
>
>
> https://github.com/DSpace/DSpace/blob/dspace-6.3/dspace-api/src/main/java/org/dspace/core/Context.java#L160
>
> I see I get the same error when I try this:
>
> *> /l1/dspace/repository/dev63/bin/dspace create-administrator*
>
> Exception: The schema validator returned: Could not determine type for:
> org.dspace.core.Context, at table: bitstreamformatregistry, for columns:
> [org.hibernate.mapping.Column(bfContext)]
>
> org.dspace.core.exception.DatabaseSchemaValidationException: The schema
> validator returned: Could not determine type for: org.dspace.core.Context,
> at table: bitstreamformatregistry, for columns:
> [org.hibernate.mapping.Column(bfContext)]
> at org.dspace.core.Context.init(Context.java:173)
> at org.dspace.core.Context.<init>(Context.java:129)
> at
> org.dspace.administer.CreateAdministrator.<init>(CreateAdministrator.java:101)
> at
> org.dspace.administer.CreateAdministrator.main(CreateAdministrator.java:70)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:607)
> at
> org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:229)
> at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:81)
>
> On Wed, Feb 12, 2020 at 2:58 PM José Geraldo <[email protected]> wrote:
>
>> Check o dspace.log  [dspace]/log/dspace.log
>>
>>
>>
>> Em qua., 12 de fev. de 2020 às 15:11, Jose Blanco <[email protected]>
>> escreveu:
>>
>>> I'm getting this error when trying to deploy webapp via tomcat:
>>>
>>> 2020-02-12 12:55:16,566 FATAL org.dspace.core.Context @ Cannot obtain
>>> the bean which provides a database connection. Check previous entries in
>>> the dspace.log to find why the db failed to initialize. The schema
>>> validator returned: Could not determine type for: org.dspace.core.Context,
>>> at table: bitstreamformatregistry, for columns:
>>> [org.hibernate.mapping.Column(bfContext)]
>>>
>>>
>>> Not sure what it means.
>>>
>>> --
>>> All messages to this mailing list should adhere to the DuraSpace Code of
>>> Conduct: https://duraspace.org/about/policies/code-of-conduct/
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "DSpace Technical Support" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-vQZL39XzwN8aGiAM03nQX57Rgk65V7_ioeA7Tw2MU0PA%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-vQZL39XzwN8aGiAM03nQX57Rgk65V7_ioeA7Tw2MU0PA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>
>>
>> --
>> At.te,
>>
>> José Geraldo
>>
>> --
>> All messages to this mailing list should adhere to the DuraSpace Code of
>> Conduct: https://duraspace.org/about/policies/code-of-conduct/
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/dspace-tech/CANP4ikQ3mj8hmqjA_92_Mhhq4vU9nFMeksJO14QoXwYQ22kTiw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/dspace-tech/CANP4ikQ3mj8hmqjA_92_Mhhq4vU9nFMeksJO14QoXwYQ22kTiw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-tx-Dk5FBEDhNinG-YmqUdSbdxqL0v5%2B4K7Kkv%3DdfFT1w%40mail.gmail.com.

Reply via email to