Re: [jboss-user] [JBoss Web Services CXF] - jBoss 5 and CXF 2.2.7
by Alessio Soldano
Alessio Soldano [http://community.jboss.org/people/alessio.soldano%40jboss.com] replied to the discussion
"jBoss 5 and CXF 2.2.7"
To view the discussion, visit: http://community.jboss.org/message/540414#540414
--------------------------------------------------------------
> Bruno Melloni wrote:
>
> The hanging and 100% CPU issue came from some problem with the native components service.bat. For some reason, even though run.bat loads the memory settings from run.conf correctly, when service.bat calls run.bat... the memory settings aren't loaded from run.conf and the server runs out of memory, causing all of the issues.
>
> I couldn't figure out why or how to fix it "the right way", but I hacked run.bat to force the parameters into the call to startup jBoss... and the issue went away.
You might want to create a JBAS jira for this, if there's a problem with service.bat script for windows, that could be fixed.
> I will be testing the web service soon. If you don't see a further post from me you can assume that cxf 2.2.7 works fine on jBoss 5.
Thanks. Btw, I assume you're not using JBossWS-CXF, but actually directly deploying Apache CXF on JBossAS, right?
You might want to consider using the JBossWS integration (JBossWS-CXF) for future applications.
Currently you need to manually install JBossWS-CXF on top of JBossAS, as it comes with the JBossWS-Native stack installed by default instead (at least for now).
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/540414#540414]
Start a new discussion in JBoss Web Services CXF at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 9 months
[JCA Development] - Security integration for JCA 1.6
by Jesper Pedersen
Jesper Pedersen [http://community.jboss.org/people/jesper.pedersen] created the discussion
"Security integration for JCA 1.6"
To view the discussion, visit: http://community.jboss.org/message/540410#540410
--------------------------------------------------------------
Scott, if you have time to take a look at the security requirements for the JCA 1.6 implementation that would be great.
Here are a couple of pointers to get started
* Chapter 16 in the specification - it describes requirements plus use-cases
* Investigate security infrastructure in AS/trunk to align requirements
* Create a deisgn for a simple security domain for the standalone project
* Start with a test case where a Work instance uses a SecurityContext
* and build from there
There are a couple of other requirements, since this is one of the big integration points for the project
* Test cases covering the use-cases described
* A chapter in the JCA Developer Guide describing the setup and integration
Keep in mind that this is one of the places where we need an internal SPI such that we can integrate with the standalone setup and the setup used in JBoss Application Server.
You +can+ take a look at the security integration in the current JCA implementation inside AS, but I want a clean design with well-defined integration points - and a documented way of locating the needed information.
For the first implementation of the SPI for the standalone part I would suggest that you start with a simple setup using properties files - similar to the UsersRolesLoginModule idea in JBossSX. And then build from there... The principal mapping tool could just be a file too...
And start with the requirements for the WorkManager (watch out for nested Work submissions with different SecurityContexts) - and save the MessageEndpoints for later.
The code should be located in the core/ module - and feel free to use EmbeddedJCA and the ShrinkWrap support for the test cases.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/540410#540410]
Start a new discussion in JCA Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 9 months
[jBPM] - Unable to chain processEngine as spring bean factory
by Jaber C. Mourad
Jaber C. Mourad [http://community.jboss.org/people/newbeewan] created the discussion
"Unable to chain processEngine as spring bean factory"
To view the discussion, visit: http://community.jboss.org/message/540404#540404
--------------------------------------------------------------
Hi,
I'm looking for a solution to create every services from processEngine directly via spring factory feature but Spring complain about circular references !
My current configuration :
<bean id="springHelper">
<property name="jbpmCfg" value="jbpm.cfg.xml" />
</bean>
<bean id="processEngine" factory-bean="springHelper"
factory-method="createProcessEngine" scope="singleton" depends-on="springHelper" />
<bean id="repositoryService" factory-bean="processEngine"
factory-method="getRepositoryService" scope="singleton"
depends-on="springHelper,processEngine" />
I've got an Exception using that config :
org.springframework.beans.factory.BeanCreationException: Could not autowire field: org.jbpm.api.RepositoryService mypackage.myBean.repositoryService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'repositoryService' defined in class path resource [cfg/jbpmConfigurationTest.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.jbpm.api.RepositoryService org.jbpm.pvm.internal.processengine.ProcessEngineImpl.getRepositoryService()] threw exception; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'repositoryService': Requested bean is currently in creation: Is there an unresolvable circular reference?
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:507)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:84)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:283)
...
Is there any trick to force Spring to initiate the first factory then the processEngine, then the repositoryService and after all resolving autowired fields ?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/540404#540404]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 9 months