ibm-developer / generator-ibm-java-liberty Goto Github PK
View Code? Open in Web Editor NEW🚫Deprecated.
🚫Deprecated.
File generator-liberty/lib/constant.js should be updated to specify a range as follows: [18.0.0.1,)
After a discussion with the Liberty team I have discovered that if quotes are included in the server.env file they get included in the final variable. To allow environment variables without double quotes to be generated the double quotes should be removed from https://github.com/ibm-developer/generator-ibm-java-liberty/blob/master/generator-liberty/generators/app/templates/liberty/src/main/liberty/config/server.env
To complete this item all existing environment variables that require double quotes will need to have them added to the config.js file where they are declared.
Using a local checkout of generator-liberty installed via npm link.
Running yo ibm-java --javametrics=true
, mvn install
, docker build -t liberty
.docker run -p9080:9080 liberty
I see the following error in the Docker logs and the server does not come up.
Running mvn liberty:run-server
works fine.
[ERROR ] CWWKE0701E: FrameworkEvent ERROR Bundle:com.ibm.ws.ejbcontainer(id=85) org.osgi.framework.ServiceException: Exception in org.apache.felix.scr.impl.manager.SingleComponentManager.getService()
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.factoryGetService(ServiceFactoryUse.java:222)
at [internal classes]
Caused by: java.lang.NoClassDefFoundError: com.ibm.tivoli.itcam.was.ejb.access.IEJSWrapperBase
at java.lang.ClassLoader.defineClassImpl(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:377)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.defineClass(ModuleClassLoader.java:276)
... 1 more
Caused by: java.lang.ClassNotFoundException: com.ibm.tivoli.itcam.was.ejb.access.IEJSWrapperBase cannot be found by com.ibm.ws.ejbcontainer_1.0.19.201712061606
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:484)
... 1 more
Event:org.osgi.framework.FrameworkEvent[source=com.ibm.ws.ejbcontainer_1.0.19.201712061606 [85]]
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.