[Messaging, JMS & JBossMQ] - Re: Own dead letter queue
by jaikiran
You mention that your ejb-jar.xml contains:
<ejb-jar>
| <description>HearerMDB</description>
| <display-name>HearerMDB</display-name>
| <enterprise-beans>
| <message-driven>
| <ejb-name>HearerMDB</ejb-name>
| <ejb-class>com.hearer.Hearer</ejb-class>
| <message-destination-type>javax.jms.Queue</message-destination-type>
| <activation-config>
| <activation-config-property>
| <activation-config-property-name>MaxPoolSize</activation-config-property-name>
| <activation-config-property-value>6</activation-config-property-value>
| </activation-config-property>
| <activation-config-property>
| <activation-config-property-name>providerAdapterJNDI</activation-config-property-name>
| <activation-config-property-value>java:/SnsJMSProvider</activation-config-property-value>
| </activation-config-property>
| </activation-config>
| </message-driven>
| </enterprise-beans>
| </ejb-jar>
But the contents that you have specified are not part of the ejb-jar dtd (http://java.sun.com/dtd/ejb-jar_2_0.dtd). Any reference from where you used these contents
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982601#3982601
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982601
19Â years, 6Â months
[JBoss Eclipse IDE (users)] - Re: JBossIDE-2.0.0.Beta2 enhancements to support complex Jbo
by garu
Hi Max,
yes it's possible to do what you say, but this is exactly what i want to avoid and it wouldn't solve my needs.
First i'd need to replicate the default or all structure, services and libs, as many times as the number of diferent instances.
Second i don't want to alter installation files, otherwise each time i have to install a new release i'll have to go hunting for changes in the services xml files to replicate them in the new installation. Instead i want to keep my changes only in one place, in the bindings xml file.
This means that ide would still see the 1099 port default and it would continue to reset it.
Third, the publish process would still build the project ear/war in the runtime deploy directory.
Instead i want it to publish in the instance deploy directory which is seen by a different url deployer than the one that sees the runtime deploy directory.
You see, it's not that easy and as Rob said it may involve deep changes.
But IMO having JbossIDE able to keep up with the flexibility that JbossAS has in building enterprise configurations would be a great plus.
Regards, Gabriele
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982599#3982599
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982599
19Â years, 6Â months
[Security & JAAS/JBoss] - Re: Jboss SSO Web Application
by nipunbatra
Hi Sohil
Thanks for your response,
Now I have developed my own DBLoginModule class whcih implements javax.security.auth.spi.LoginModule
I have also added the policy entry of this login module in login-config.xml under /server/default/conf/login-config.xml
As per documents I have added context.xml inside WEB-INF folder.
Now at the login servlet I call login() method for the policy I have defined in login-config.xml
The user gets autheticated sucessfully but even after successful authnticatiion when I call request.getUserPrincipal() it returns null value
However when I call org.jboss.security.SecurityAssociation.getSubject() I get my pricipal in this subject.
I am not sure why I am getting request.getUserPrincipal() as null.
Also I noticed that there is no cookie set on my browser for my domain.
The web application is deployed on the same server where I deployed jboss-sso and federated-sso
Thanks again for ur help
Nipun
[/img]
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982597#3982597
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982597
19Â years, 6Â months