Most voted "demoiselle" questions
Demoiselle is a framework for building Java applications based primarily on the concept of dependency injection.
Learn more…72 questions
Sort by count of
-
9
votes2
answers531
viewsDemoiselle Junit - Nullpointerexception
When running a unit test with br.gov.frameworkdemoiselle.junit.DemoiselleRunner, the following error is happening at the end of the test run: java.lang.NullPointerException at…
-
7
votes4
answers957
viewsIntercept Exception
I am using Demoiselle in my application, but it has not been behaving very well in one aspect. In an association between two or more entities, deleting an exception is made. With the exception…
-
6
votes2
answers944
viewsMock Static method with Demoiselle and Powermock/Mockito
I’m trying to mock a Static method, but Powermock requires the use of a specific Runner (Powermockrunner) for the Static mock to work! And for Demoiselle to work, you need to start Weld with…
-
6
votes1
answer304
viewsHow to simulate a logged-in user in an application with Demoiselle 2.4.2?
I have an app Demoiselle 2.4.2 already in operation that needs to use the SecurityContext to obtain the User currently logged in and make some decisions. The time now is to write the unit tests…
-
5
votes2
answers1264
viewsAccentuation of request parameter in JSF page
I have a JSF page that receives as a parameter, in the URL, the error message to be displayed. Ex.: http://example.com/application_error.jsf?exception=Não+permitido On the page, the parameter is…
-
4
votes0
answers136
viewsStackoverflowerror - Infinite loop when deploying Ear with ejb and Demoiselle
By doing the deploy an EAR with an EJB that depends on the Demoiselle-core, an exception to Stackoverflowerror is launched. It happens that when trying to create a Resourcebundle…
-
4
votes1
answer566
viewsDemoiselle 2.4.0: Error running test with Junit
I have a project built from the archetype of Demoiselle for Maven. The generated application is the one that exemplifies the Demoiselle, containing a register of bookmarks. The programmer who…
-
4
votes1
answer575
viewsUse of @Transactional Demoiselle
I’m having trouble using the note @Transactional Demoiselle. When I was managing the transaction "in hand" with a EntityManager injected, everything was fine. But now using the @Transactional, the…
-
3
votes2
answers659
viewsHow to use Quartz Scheduler with Demoiselle?
I created a job using Quartz Scheduler within a Java web application that uses the Demoiselle framework with JSF and Tomcat 7. The job must call a Business Controller (BC) method, which calls a DAO…
-
3
votes0
answers182
viewsHow to filter the scenarios that will run @Beforescenario?
I have a number of scenarios in Démoiselle-behave, and I want to filter those who should perform a method marked with @BeforeScenario. In the Cucumber-jvm, I do so: Funcionalidade: Acesso @web…
-
3
votes1
answer80
viewsDemoiselle in Openjdk
I heard that Demoiselle does not work with Openjdk. Is it true? Even for Openjdk 7? There are plans or work in progress so that Demoiselle can be used with Openjdk, at least from version 7 onwards?…
-
3
votes3
answers375
viewsDemoiselle Error deploying to Jboss
When trying to deploy the example application, registration, of the Demoiselle tutorials in Jboss, I got the following error: 11:34:16,873 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7)…
-
3
votes2
answers162
viewsCapture through the Exceptionhandler
I’m trying to capture a javax.validation.ValidationException in my MB to later play an alert. I tried with the three examples below independent but nothing returned. Should I enter any more code ? I…
-
3
votes1
answer119
views@Requiredrole with Basecertloginmodule
My system authenticates the client (it’s a web service) through the BaseCertLoginModule, a class of Jboss based on the Jaas specification. In fact my project extends this class, and this extension…
-
2
votes1
answer1678
viewsDetached Entity passed to persist
Staff I have the following problem to persist a screen where I have a relationship of many to many, in the case groupTrabalho_employee, I have a screen that registers the working group and a…
-
2
votes1
answer1026
viewsRedirect to login page when accessing another page without user being logged in
I’m creating an application using the Demoiselle framework, but I’m finding some problems with the security part. I need to be automatically redirected to the login.jsf page when the user tries to…
demoiselleasked 9 years, 8 months ago Ricardo Lara 87 -
2
votes1
answer197
viewsError generating code from an entity extending Pojo<type>
In the project a Pojo class was created that receives the type of the serializable variable for indexing and treating the convert in a generic way: Pojo.java: {...} public abstract class Pojo<T…
-
2
votes1
answer106
viewsDemoiselle update to JEE7
The Demoiselle framework has greatly increased productivity here in the company. However, it is being a limiting factor in the use of some new technologies, especially related to JEE7. My projects…
-
2
votes1
answer56
viewsData audit
I have two doubts. I’m following the audit PDF (http://demoiselle.sourceforge.net/docs/components/audit/reference/1.0.4/pdf/demoiselle-audit-reference.pdf) however my Maven does not find version…
demoiselleasked 9 years, 5 months ago Eduardo Debom 73 -
2
votes2
answers161
viewsDownloading libraries via MAVEN with proxy
I installed the new version of Demoiselle, but when generating a project with the archetype demoiselle-jsf-jpa the project is generated with error and I cannot deploy. I believe it is due to the…
-
2
votes1
answer83
viewsEAD: Configuration error while running tests
I downloaded the videos from the site for studies, in the video of Modulo3_video3, about Configuration, I got an error running the test after using the Configuration feature. 1 - I added the file…
-
2
votes0
answers152
viewsGet the CPF field of e-CNPJ using Demoiselle’s Certificate-core
I am developing an application using the Dmoiselle-Certificate-core version 2.0.0. By manipulating an X509 object, I can extract all fields as shown in the methods documentation: CertificateManager…
-
2
votes0
answers152
viewsGet the CPF field of e-CNPJ using Demoiselle’s Certificate-core
I am developing an application using the Dmoiselle-Certificate-core version 2.0.0. By manipulating an X509 object, I can extract all fields as shown in the methods documentation: CertificateManager…
-
2
votes1
answer62
viewsmessageContext.add error
According to the manual describes to insert a message we use the following command messageContext.add(InfoMessages.BOOKMARK_INSERT_OK, bookmark.getDescription()); Only that the add method should…
demoiselleasked 9 years, 6 months ago Gustavo 25 -
2
votes2
answers1082
viewsReport does not obey formatting when exported to PDF
I created a report in iReport that contains formatting (fonts, bold and italics). In the iReport’s own preview it appears correctly, but when used within a Demoiselle-jsf-jpa project and exported to…
-
2
votes2
answers362
viewsError in bouncycastle readObject() - Demoiselle-Certificate
I have been using the Demoiselle-Certification(2.0.0) for some time and today I came across the following error when called the Certificatemanager class the certificateManager.load(class):…
-
2
votes2
answers362
viewsError in bouncycastle readObject() - Demoiselle-Certificate
I have been using the Demoiselle-Certification(2.0.0) for some time and today I came across the following error when called the Certificatemanager class the certificateManager.load(class):…
-
2
votes0
answers37
viewsDemoiselle-jsf-Parent - scope/session problem
I have a problem with an application developed with Demoiselle and I believe it is related to the scope of Managedbean. I did the test in the example application (Bookmark) and the same problem…
demoiselleasked 8 years, 6 months ago Ezequiel Juliano Müller 21 -
2
votes3
answers366
viewsRuntime ambiguity error when executing deploy in Wildfly
When trying to deploy the War file in Wildfly, there is a dependency injection ambiguity error in the Httpservletrequest class. Someone else is going through it or has been through it? Error…
-
1
votes1
answer57
viewsCatalog/Maven - Demoiselle
Good morning, to you all ! I ran the command Demoiselle-worspace, Workspace was generated, but without the jboss server only Tomcat. Even so I set up AS Jboss, but the act of choosing Catalog…
demoiselleasked 9 years, 7 months ago Welder 35 -
1
votes1
answer669
viewsHow to configure a project with Junit to be able to build correctly inject Entitymanager?
I have a legacy JSF/Demoiselle 2.4 application that lacked the good practice of building unit tests. In order to meet new requirements, I have implementations to do and I intend to build them using…
-
1
votes1
answer43
viewsWhen should clear() be used?
I made an application using the standard JSF-JPA archetype for list and edit screens, extending from AbstractListPageBean and AbstractEditPageBean respectively, using the Bookmark pages as…
demoiselleasked 9 years, 3 months ago Fernando Camillo 147 -
1
votes1
answer257
viewsHow to support transactions with Junit and Demoiselle 2.4.2
I have an application whose unit tests are fully operational except for write operations in the database. No data is recorded. When forcing a flush, I received the message indicating that no…
-
1
votes1
answer142
viewsProblem sending email by Demoiselle Mail
Good afternoon Personal, I am following the steps to send e-mail by e-mail by e-mail, but I was not successful. I performed all the settings proposed in the documentation, in the eclipse console it…
demoiselleasked 9 years, 7 months ago Ricardo Lara 87 -
1
votes1
answer641
viewsImport error br.gov.frameworkdemoiselle.security.User
Error importing the interface User: import br.gov.frameworkdemoiselle.security.User; Version of Demoiselle used: 2.5.0-RC1 According to Grepcode, in version 2.5.0-BETA2, this interface existed…
-
1
votes1
answer1270
viewsDemoiselle Signer and Serpro Digital Signer
I am trying to use the Demoiselle Signer to verify the signature of a document made with the Digital Signer of Serpro Documents (https://www5.serpro.gov.br/assinador-digital). The code is very…
-
1
votes1
answer1270
viewsDemoiselle Signer and Serpro Digital Signer
I am trying to use the Demoiselle Signer to verify the signature of a document made with the Digital Signer of Serpro Documents (https://www5.serpro.gov.br/assinador-digital). The code is very…
-
1
votes0
answers153
viewsError generating report with more than one relationship - Demoiselle Report
Hello folks I’m trying to generate a report with the report Demoiselle, and I’m not managing to generate a report when I have more than one relationship, when I report from a single table is working…
-
1
votes1
answer65
viewsRemove pagination from Demoiselle
I’m using Demoiselle and its pagination feature, but when I need to use all the listed objects, ie, use the full return, it does not let, it keeps the pagination. My pagination: @Override public…
-
1
votes0
answers59
viewsCluster support in Demoiselle Framework 2.4
I’m trying to go up in cluster mode an application that uses the Framework Demoiselle in version 2.4, but I noted that web-fragment.xml of demoiselle-servlet does not have the tag…
-
1
votes1
answer274
viewsDependency injection problem in the Moiselle-report
I would like to put a report on a project I’m working on, and I decided to use the component that Moiselle itself provides, the Demoiselle-report. But after implementing it and testing, it returns…
-
1
votes1
answer50
viewsInhibit information Requiredroleinterceptor in Moiselle log
When using the Demoiselle framework, with each user interaction, the system records the information br.gov.frameworkdemoiselle.security.RequiredRoleInterceptor in the server log. Logs get extremely…
-
1
votes1
answer129
viewsConflict between Jboss BOM and Demoiselle Parent pom (?)
Hello, My Demoiselle application declares the following to be a Demoiselle application: <properties> <demoiselle.framework.version>2.5.0-RC1</demoiselle.framework.version>…
demoiselleasked 9 years, 2 months ago Leonardo Leite 135 -
1
votes0
answers55
viewsDemoiselle Appletexecute error in manual
In the Demoiselle documentation of the link: http://demoiselle.sourceforge.net/docs/components/certificate/reference/2.0.0/html_single/#applet-configuracao To create the example applet, add the…
-
1
votes1
answer99
viewsTutorial Demoiselle 2.5 - M1C2 - ERRO rt.jar unknow
Unknown bug for me I’m starting on the REST api. :( 11:35:51,778 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/calc].[calc.Api]] (http-localhost/127.0.0.1:8080-1)…
-
1
votes1
answer86
viewsEntitylisteners @Transactional Demoiselle - Id null
I’m setting up audit on a project with JSF + Hibernate + Demoiselle. Item class: @Entity @Cacheable(true) @Table(name = "itens") @EntityListeners(value = PersistenceAuditor.class) @XmlRootElement…
-
1
votes1
answer174
viewsHow to configure Jboss AS 7.1 with Demoiselle 2.4.1 to operate with distributed transactions?
Hello My scenario: JSF/Demoiselle application that invokes an EJB method, both hosted on a Jboss AS 7.1.1 server. During Insert and update operations on a CRUD page, the Demoiselle application has…
-
1
votes1
answer105
viewsHow to configure the Demoiselle 2.4.2 Junit component to inject EJB dependencies
I have a Demoiselle 2.4.2/JSF/Hibernate application that presents several test cases in full operation. The Bcs operated by these test cases undergo several dependency injections without any…
-
1
votes1
answer325
viewsSignature validation error in Iti checker using demoseller to sign document
I am signing documents in CADES format and using the Demosello library in version 3.2.10 "org.demoiselle.Signer","org.demoiselle.Signer", and "org.demoiselle.Signer" the act of signing and checking…
-
1
votes1
answer325
viewsSignature validation error in Iti checker using demoseller to sign document
I am signing documents in CADES format and using the Demosello library in version 3.2.10 "org.demoiselle.Signer","org.demoiselle.Signer", and "org.demoiselle.Signer" the act of signing and checking…