Git Product home page Git Product logo

generator-ibm-java-liberty's People

Contributors

dibbles avatar dingwilson avatar ibmcloudtools avatar jjvilleg avatar katheris avatar marknsweep avatar patricktiu avatar paulben avatar quanvo87 avatar sjanuary avatar tobespc avatar yangcao77 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

generator-ibm-java-liberty's Issues

server.env should not have quotes in template

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.

Errors running generated application in Docker when using --javametrics

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]] 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.