Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] Having trouble creating data container

When I create a new data container called 'CHCSDataContainer' and try to deploy it to my MDM server, I get this error:
"Unable to physically create the data cluster CHCSDataContainer: Could not create storage 'CHCSDataContainer' with data model 'CHCSDataContainer'."
The odd things is, I never told it to use CHCSDataContainer as the data model, as I already have a data model defined that uses another name. Is this a permission issue?
0683p000009MAL6.jpg

Labels (2)
11 Replies
Anonymous
Not applicable
Author

Hi mlefbvre,
To help you, we need to have more details with the server log.
You can display it by right-clicking on your server in the Server Explorer tab if you're using a 5.3.x version, or open the file that is located here : <JBOSS>/server/default/log/server.log
Regards,
Cyril.
Anonymous
Not applicable
Author

2013-08-28 07:51:16,569 INFO Container 'CHCSDataContainer' does not exist in revision 'null', creating it.
2013-08-28 07:51:16,569 INFO Reading from datasource file at 'C:\mdm\TOS_MDM-Server-r104014-V5.3.1\jboss-4.2.2.GA\bin\datasources.xml'.
2013-08-28 07:51:16,589 INFO Reading from datasource file at 'C:\mdm\TOS_MDM-Server-r104014-V5.3.1\jboss-4.2.2.GA\bin\datasources.xml'.
2013-08-28 07:51:16,601 INFO Reading from datasource file at 'C:\mdm\TOS_MDM-Server-r104014-V5.3.1\jboss-4.2.2.GA\bin\datasources.xml'.
2013-08-28 07:51:16,613 INFO Reading from datasource file at 'C:\mdm\TOS_MDM-Server-r104014-V5.3.1\jboss-4.2.2.GA\bin\datasources.xml'.
2013-08-28 07:51:16,627 ERROR TransactionRolledbackLocalException in method: public abstract boolean com.amalto.core.server.XmlServer.existCluster(java.lang.String,java.lang.String) throws com.amalto.core.util.XtentisException, causedBy: java.lang.RuntimeException: Could not create storage 'CHCSDataContain

To see the whole post, download it here
OriginalPost.pdf
Anonymous
Not applicable
Author

Is it a requirement that the Data Container and the Data Model have the same name? If not, where do you specify which data model should be used in the container?
If I make my Data Container and my Data Model the same name, it works. I am pretty sure that was not the intention as I have seen examples where they are different. Is this an Open Studio vs Enterprise Studio difference?
Anonymous
Not applicable
Author

Hello
I think that post will help you: https://jira.talendforge.org/browse/TMDM-5107
Regards
Anonymous
Not applicable
Author

Is it a requirement that the Data Container and the Data Model have the same name?

Yes, it is.
Regards,
Cyril.
Anonymous
Not applicable
Author

Is it a requirement that the Data Container and the Data Model have the same name?

Yes, it is.
Regards,
Cyril.

So, then in the Talend MDM book, by Diethard Steiner, that is recommended in the sticky, "Talend Open Studio For MDM: A Practical Starter Guide ", it is an error when they call the Data Container: "SecondHandLenses", and the Data Model: "Lenses"?
Can you have multiple Data Models within a Data Container?
o If not, then why are they defined separately? Why not have the Data Container define what the model is, instead of a separate convention?
o If so, how do you associate a Data Model to a Data Container of a different name?
Anonymous
Not applicable
Author

Please note that my book was based on version 5.0 (as mentioned at the beginning of the book). At that time, it was possible to name the data container differently from the data model. I will try to update my book over the next to months to reflect the changes in 5.2 and 5.3.
Anonymous
Not applicable
Author

I am having a similar issue... If anybody can advise it would be much appreciated. See below error log:
I have tried to recreate the DM and DC from scratch and still the same issue. When deploying to MDM Server.


2014-02-05 10:16:24,194 ERROR SOAP request exception
java.rmi.RemoteException: Unable to physically create the data cluster TestAruba: javax.ejb.TransactionRolledbackLocalException: Could not create storage 'TestAruba' with data model 'TestAruba'.;
: Could not create storage 'TestAruba' with data model 'TestAruba'.
: Could not create storage 'TestAruba' with data model 'TestAruba'.
: Can not use view 'Browse_items_PartyModel' with data model 'TestAruba': Field 'ID' is not a FK field.
: Field 'ID' is not a FK field.; nested exception is: com.amalto.core.util.XtentisException: Unable to physically create the data cluster TestAruba: javax.ejb.TransactionRolledbackLocalException: Could not create storage '

To see the whole post, download it here
OriginalPost.pdf
Anonymous
Not applicable
Author

I think the following error:
: Can not use view 'Browse_items_PartyModel' with data model 'TestAruba': Field 'ID' is not a FK field.

Is the cause of your issue. Take a look at the view you defined for entity PartyModel. If you have a Join clause to another entity, please make sure you picked a FK as left part of the join.