Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cargotracker-dev] Sample data not loading

Hi Reza,

Thanks for your reply, right now I'm using Derby. I tried removing the two DB directories, clean/building, and creating a new server. It seems like all the loading operations are being logged and booking new cargo objects works fine through the booking interface. The lack of sample data isn't an application-breaking issue but I'm just curious as to why the loading operations seem to have no effect in filling in the samples. Let me know if there are any additional files I can provide for information.

Best,

Chanun Ong
University of California, Berkeley
Electrical Engineering & Computer Science, B.S. 
Class of 2022


On Tue, Apr 26, 2022 at 9:09 PM reza_rahman@xxxxxxxxx <reza_rahman@xxxxxxxxx> wrote:
What database are you using? Simply deleting the data file would basically reset the application.
 

From: cargotracker-dev <cargotracker-dev-bounces@xxxxxxxxxxx> on behalf of Chanun Ong <chanun@xxxxxxxxxxxx>
Sent: Tuesday, April 26, 2022 11:40 PM
To: cargotracker developer discussions <cargotracker-dev@xxxxxxxxxxx>
Subject: [cargotracker-dev] Sample data not loading
 
Hi Reza and Cargo Tracker developers,

Just encountered a situation where the sample data isn't loading properly after updating the Open Liberty version to 22.0.0.4 — the dashboard displays "no records found". I tried resetting the entityManager by using entityManagerflush() and entityManager.clear() inside SampleDataGenerator. I also logged whether the sample data was loaded in the messages.log output. Wondering if there's a hard reset available; any help would be appreciated! I could also load in a manual .csv file if that would solve the issue. Thanks.

Best,

Chanun Ong
University of California, Berkeley
Electrical Engineering & Computer Science, B.S. 
Class of 2022

Reza Rahman
Jakarta EE Ambassador, Author, Blogger, Speaker

Please note views expressed here are my own as an individual community member and do not reflect the views of my employer.
_______________________________________________
cargotracker-dev mailing list
cargotracker-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/cargotracker-dev

Attachment: Screen Shot 2022-04-27 at 11.22.32 AM.png
Description: PNG image


Back to the top