[JBoss Web Development] - Virtual hosts?
by daver690
daver690 [https://community.jboss.org/people/daver690] created the discussion
"Virtual hosts?"
To view the discussion, visit: https://community.jboss.org/message/720704#720704
--------------------------------------------------------------
I have to ask because I can't get this straight in my head :)
In the file jboss-web.xml, the value you enter in the <virtual-host> tags is it suppose to be some sort of temporary hosts-file that's created? Because I'm having a hard time getting when you use it. I've Googled and some accounts say you need to make some changes in the jboss-web.xml-file +and+ the hosts-file, which really doesn't make any sense to me. When I develop if I want to simulate a registered domain I just make the changes in the hosts-file however when I go live I set up the DNS for real.
I also haven't gotten it to work, any value I put in the <virtual-host> tags just result in some weird parse.errors, but I figure if I can get this one thing straight I can get a better idea what to do there.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/720704#720704]
Start a new discussion in JBoss Web Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 10 months
[JBoss AS 7 Development] - as7 modules and cdi problem
by herb
herb [https://community.jboss.org/people/herb] created the discussion
"as7 modules and cdi problem"
To view the discussion, visit: https://community.jboss.org/message/720584#720584
--------------------------------------------------------------
I've a my.jar which contains cdi beans and cdi producer methods and a META-INF/beans.xml file.
Putting this jar to WEB-INF/lib in my war, the web app can use the cdi producer methods of my.jar.
Then I moved my.jar from WEB-INF/lib to a AS7 module and I added a dependency in the war's MANIFEST.MF:
Dependencies: com.mycompany
But now as7 reports
org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [BeanXY] with qualifiers [@Default] at injection point [[field] @Inject
It seams that weld does not scan my.jar which is loaded as as7 module. (instantiating BeanXY directly ("new BeanXY()") works - so the module is loaded correctly)
Is there a limitiation that prevents the use of cdi in conjunction with as7 module?
Or is there an option to set?
Or ...?
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/720584#720584]
Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 10 months
[jBPM Development] - general queries about jbpm
by Affan Dar
Affan Dar [https://community.jboss.org/people/affandar] created the discussion
"general queries about jbpm"
To view the discussion, visit: https://community.jboss.org/message/715733#715733
--------------------------------------------------------------
Hello all, we are evaluating the use of jBPM within our company for automating long running service provisioning workflows. I have a few questions regarding this:
- Has some performance/scale testing been done for jBPM 5 and if yes then I please get a pointer to the results?
- Any pointers on how to deploy jBPM in a high scale enviroment where we have manage 10s of thousands of workflows concurrently?
- From the documentation it seems like the following is possible but it would be great if someone can confirm this:
- Developers can write domain specific activities and 'publish' them to some repository (Guvnor?)
- Users can use the web front end to build workflows that compose these domain specific activities
- Are there any good samples around building these domain specific activities?
Thanks
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/715733#715733]
Start a new discussion in jBPM Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 10 months
[JBoss AS 7 Development] - Access EJBs in Jboss 7.1 final
by jnovotny
jnovotny [https://community.jboss.org/people/jnovotny] created the discussion
"Access EJBs in Jboss 7.1 final"
To view the discussion, visit: https://community.jboss.org/message/720391#720391
--------------------------------------------------------------
Hi,
My package structure for blast.ear is
blast.ear
lib/ (lots of third party libs)
blob.jar (my ejbs)
web.war (web app)
When the app starts EJBs report:
15:48:02,996 INFO [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-11) JNDI bindings for session bean named AlertManagerBean in deployment unit subdeployment "backoffice2.jar" of deployment "mamfive.ear" are as follows:
java:global/blast/blob/AlertManagerBean!com.session.web.AlertManagerRemote
java:app/blob/AlertManagerBean!com.session.web.AlertManagerRemote
java:module/AlertManagerBean!com.session.web.AlertManagerRemote
The webapp tries to get access doing
Context.lookup("java:global/blast/blob/AlertManagerBean!com.session.web.AlertManagerRemote")
which fails:
Failed to obtain remote interface to AlertManagerBean via jndi name java:global/blast/blob/AlertManagerBean!com.session.web.AlertManagerRemote
Does web.war need MANIFEST info for access or is there something I am missing?
Thanks, Jason
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/720391#720391]
Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 10 months