blueperf / acmeair-monolithic-java Goto Github PK
View Code? Open in Web Editor NEWThis version of Acme air is redesigned removing hardcoded components to WXS and also optimized for Cloud Data Services
License: Apache License 2.0
This version of Acme air is redesigned removing hardcoded components to WXS and also optimized for Cloud Data Services
License: Apache License 2.0
Now that sqldb is no longer available, and the recommended SQL database is dashdb, I tried it on Bluemix and see the following errors.
2016-09-01T15:35:36.46-0400 [App/0] ERR Runtime Exceptions:
2016-09-01T15:35:36.46-0400 [App/0] ERR ---------------------------------------------------------
2016-09-01T15:35:36.76-0400 [App/0] ERR [err] at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.createDeployFailedPersistenceException(EntityManagerSetupImpl.java:891)
2016-09-01T15:35:36.77-0400 [App/0] ERR [err] at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:831)
2016-09-01T15:35:36.77-0400 [App/0] ERR [err] at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getAbstractSession(EntityManagerFactoryDelegate.java:207)
2016-09-01T15:35:36.81-0400 [App/0] ERR [err] at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:307)
2016-09-01T15:35:36.81-0400 [App/0] ERR [err] at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:337)
2016-09-01T15:35:36.81-0400 [App/0] ERR [err] at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:318)
2016-09-01T15:35:36.82-0400 [App/0] ERR [err] at com.ibm.ws.jpa.container.v21.internal.JPA21Runtime.createEntityManagerInstance(JPA21Runtime.java:104)
2016-09-01T15:35:36.82-0400 [App/0] ERR [err] at [internal classes]
2016-09-01T15:35:36.82-0400 [App/0] ERR [err] at com.acmeair.jpa.service.CustomerServiceImpl.getCustomerByUsername(CustomerServiceImpl.java:94)
2016-09-01T15:35:36.83-0400 [App/0] ERR [err] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2016-09-01T15:35:36.87-0400 [App/0] ERR [err] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2016-09-01T15:35:36.88-0400 [App/0] ERR [err] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
Before I did too much into it, wanted to see if this was a known issue with a solution.
Hi
I compiled the application and started the container. The problem is that the application cannot connect to the databases.
For example, the command
curl http://127.0.0.1/customer/loader/load?numCustomers=10000
produces the error
Error 404: java.io.FileNotFoundException: SRVE0190E: File not found: /customer/loader/load
and applying the JMeter load produces errors of the following kind
1684509744060,2,QueryFlight,Non HTTP response code: org.apache.http.conn.HttpHostConnectException,Non HTTP response message: Connect to 127.0.0.1:80 [/127.0.0.1] failed: Connection refused,Thread Group 1-1,text,false,,2544,0,1,1,http://127.0.0.1//rest/api/flights/queryflights,0,0,1
As I am running the application on a remote server, I cannot load the database via a browser.
Thank you and regards
Additional information:
To make the compilation work with Java 19 , I had to add the following element to pom.xml.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.3.2</version>
</plugin>
To be able to launch the container, I am using the following docker-compose.yml script.
version: '3'
services:
acmeair-db:
container_name: acmeair-db
image: mongo
networks:
- my-net
acmeair-monolithic-java:
container_name: acmeair-monolithic-java
networks:
- my-net
build: .
ports:
- "80:9080"
environment:
- MONGO_HOST=acmeair-db
volumes_from:
- acmeair-db
mem_limit: 1024m
networks:
my-net:
This repository does not provide docker-compose.yml file, so it is not clear how to get the app run in Docker in microservices mode on Liberty, nor is it clear where to get the docker images with the right apps.
Hi
I am doing research on micro service architecture. I am exploring this benchmark application to get call-graph. But it needs the complied java code in jar format. The provided code is not getting complied. Can anyone please provide me Build file for this application?
have been trying to run monolithic version of acmeair following the link provided in the https://github.com/blueperf/acmeair-monolithic-java.
Could successfully build app and db container and start the application.
Also could load the database. But as soon as the application is invoked by browser to do a login it gives following error
"Unable to load rest/api/login status:403".
For the application docker build have used the file Dockerfile_KS
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.