Yep on github or bitbucket or any public source repository - no binary. Mvn tomee:run is a nice to have. Le 19 déc. 2015 20:40, "Marco DE BOOIJ" <[email protected]> a écrit :
> In the mean time I switched to Tomee 1.7.3. I Checked the logfiles and > only found a message about the facelets library but this I get for a > working application too: > > dec 19, 2015 4:59:19 PM > org.apache.myfaces.view.facelets.compiler.TagLibraryConfig loadImplicit > SEVERE: Error Loading Library: > jar:file:/opt/apache-tomee-plus-1.7.3/webapps/natuur/WEB-INF/lib/jsf-facelets-1.1.14.jar!/META-INF/jstl-fn.taglib.xml > java.io.IOException: Error parsing > [jar:file:/opt/apache-tomee-plus-1.7.3/webapps/natuur/WEB-INF/lib/jsf-facelets-1.1.14.jar!/META-INF/jstl-fn.taglib.xml]: > > I added a debug message in the constructor method and this message is > written evertime that I use the bean. > > I suppose that I need to upload the application to some GIT server? It > uses some packages I wrote myself. Suppose they need to be uploaded too? > > Op 19-12-15 om 17:35 schreef Romain Manni-Bucau: > >> Hi >> >> Stateless and Singleton are Dependent by spec. No log message? Sure it is >> created during a request? Do you have a sample to reproduce it? >> Le 19 déc. 2015 17:03, "Marco DE BOOIJ" <[email protected]> a >> écrit : >> >> I am not a regular developer. I have written some applications before that >>> do their work. Recently I started with a new one with which I have a >>> problem. >>> >>> I have a class that I annotate with: >>> @Named("natuur") >>> @SessionScoped >>> The class itself implements Serializable. I did this in my previous >>> applications too and there it worked. In this application it does not. >>> Every time I call the class in my application the class is instantiated >>> again. I first checked the documentation of Tomee. There they use the >>> @Stateless. With this annotation it does not work too. I checked the >>> following with my previous application: >>> - pom.xml: exactly the same except for the project specific tags like >>> artifactId, name, description; >>> - beans.xml: exactly the same (=empty); >>> - web.xml: exactly the same except for the description and >>> display-name >>> tags; >>> - the war file: exactly the same except for the jar file of the >>> application. >>> >>> My Tomee version is 1.7.2 plus. I do not know where to look further. What >>> am I missing? Must be something obvious but I fail to see what. >>> >>> >
