Bruno Santos [https://community.jboss.org/people/bmsantos] commented on the document
"JBoss AS7: Security : Custom Login Modules"
To view all comments on this document, visit: https://community.jboss.org/docs/DOC-17357#comment-8847
--------------------------------------------------
Anil,
How can I get injection using @Inject, @EJB and @PersistanceContext to work in a custom login module? Is this even possible?
If not, how can I get access to a bean from a custom login module?
--------------------------------------------------
Rüdiger zu Dohna [https://community.jboss.org/people/rzd] commented on the document
"Multiple instances of JBoss AS7 on the same machine"
To view all comments on this document, visit: https://community.jboss.org/docs/DOC-16705#comment-8842
--------------------------------------------------
you can also start one instance with
-Djboss.socket.binding.port-offset=100
--------------------------------------------------
Estelle Guallar [https://community.jboss.org/people/jbpm2011] created the discussion
"add a name to a factory.connection()"
To view the discussion, visit: https://community.jboss.org/message/648619#648619
--------------------------------------------------------------
h6. Hi forums,
h6. If some one please tell me how can i add a name to connection of a factory "factory.connection(ids, idt) ".
h6. after the ganeration of the xml file i have this :
h4. <!-- connections -->
h4. <sequenceFlow id="_1-_2" sourceRef="_1" targetRef="_2"/>
h4. <sequenceFlow id="_2-_3" sourceRef="_2" targetRef="_3"/>
h4. <sequenceFlow id="_3-_4" sourceRef="_3" targetRef="_4"/>
h6. i want to add the attribite name in the generate file to became like this :
h4. <sequenceFlow id="_1-_2" sourceRef="_1" targetRef="_2" name "blabla"/>
h6. how can i do it?
h6. Thank you
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/648619#648619]
Start a new discussion in jBPM Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
Ondrej Zizka [https://community.jboss.org/people/ozizka] created the discussion
"Code coverage of JBoss AS 7 testsuite, using JaCoCo - no data in jacoco.exec files"
To view the discussion, visit: https://community.jboss.org/message/648508#648508
--------------------------------------------------------------
I'm trying to get coverage of JBoss AS 7. Here's my branch:
https://github.com/OndraZizka/jboss-as/tree/TS-jacocohttps://github.com/OndraZizka/jboss-as/tree/TS-jacoco
When I run `mvn clean install -rf testsuite -DallTests -Dcoverage -fae` I get (almost) empty `jacoco.exec` files - just some metadata (size is few bytes).
The JVM arg line used is:
|
| -javaagent:${jbossas.ts.dir}/target/jacoco-jars/agent/jacocoagent.jar=destfile=${basedir}/target/jacoco.exec,includes=${jboss.home}/modules/**/*,excludes=${basedir}/target/classes/**/*,append=true,output=file |
This line is passed to Arquillian to use to start JBoss AS 7.
The testsuite runs, the argument is passed (it appears in AS7's boot.log), but the resulting `jacoco.exec` file is only few bytes in size. The report of course shows no coverage.
What am I doing wrong?
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/648508#648508]
Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
spyhunter99 [https://community.jboss.org/people/spyhunter99] created the discussion
"Re: Cannot create EJB-based web service with JBossWS runtime"
To view the discussion, visit: https://community.jboss.org/message/648485#648485
--------------------------------------------------------------
This won't directly answer your question, but I'll share how I develop things. I use netbeans so you'll have to modify as necessary.
create a new java library (jar file) projects
open a command prompt
use wsconsume from the jbossws bundle and point it at your wsdl files with the -k option (keep source code)
copy the files from the output folder to your projects src folder
flip back to the ide. Find the class that defines the interface representing your wsdl
Make a new class, implementing that interface
I'd suggest copying all of the annotations from the interface definition into your implementation.
Add a jar reference to the class jboss ejb api, jboss-ejb-api_3.1_spec.jar
Add @javax.ejb.Stateless to your impl class
write your code
build
copy jar file into the deploy folder
that's it
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/648485#648485]
Start a new discussion in JBoss Web Services Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]