Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Error 500 using mysql #6

Closed
sgdc3 opened this issue Jun 16, 2016 · 10 comments
Closed

Error 500 using mysql #6

sgdc3 opened this issue Jun 16, 2016 · 10 comments

Comments

@sgdc3
Copy link

sgdc3 commented Jun 16, 2016

<Map xmlns="">
<timestamp>1466086953711</timestamp>
<status>500</status>
<error>Internal Server Error</error>
<exception>
org.springframework.dao.InvalidDataAccessApiUsageException
</exception>
<message>
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.dao.InvalidDataAccessApiUsageException: org.hibernate.TransientPropertyValueException: Not-null property references a transient value - transient instance must be saved before current operation : com.torchmind.stockpile.server.entity.DisplayName.profile -> com.torchmind.stockpile.server.entity.Profile; nested exception is java.lang.IllegalStateException: org.hibernate.TransientPropertyValueException: Not-null property references a transient value - transient instance must be saved before current operation : com.torchmind.stockpile.server.entity.DisplayName.profile -> com.torchmind.stockpile.server.entity.Profile
</message>
<path>/v1/name/sgdc3</path>
</Map>
@sgdc3
Copy link
Author

sgdc3 commented Jun 16, 2016

Using mysql-connector-java-5.1.37 and Stockpile 1.0.0 release

@dotStart
Copy link
Owner

Pastebin the error log please.

@sgdc3
Copy link
Author

sgdc3 commented Jun 16, 2016

http://hastebin.com/fuxaqetefa.xml
No errors in console.

@sgdc3
Copy link
Author

sgdc3 commented Jun 16, 2016

Ah, you mean this log xD, sorry
http://hastebin.com/opodudevuc.vala

@dotStart
Copy link
Owner

Just one question: How did you manage to get Stockpile to run on a MySQL server? Technically it's not even supported (in fact I don't even include a driver for it).

@sgdc3
Copy link
Author

sgdc3 commented Jun 16, 2016

Just manually shaded the mysql connector, i didn't know it doesn't support mysql :/

@dotStart
Copy link
Owner

Officially it doesn't (due to licensing restrictions and wah wah wah). Practically it should work though. I'll give it a look later.

@sgdc3
Copy link
Author

sgdc3 commented Jun 16, 2016

Can't you download the connector on a lib folder only if the user accept a license agreement?

@sgdc3
Copy link
Author

sgdc3 commented Jun 16, 2016

It would bypass the license restriction as you are not providing the library inside your executable

@dotStart
Copy link
Owner

dotStart commented Jul 9, 2018

No longer applicable.

@dotStart dotStart closed this as completed Jul 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants