[Messaging, JMS & JBossMQ] - Partly annotated MDB
by S0d0
I have problem with partly annotated MDB.
In class level I have
|
| @ActivationConfigProperty(propertyName="messagingType", propertyValue="javax.jms.MessageListener"),
| @ActivationConfigProperty(propertyName="destinationType", propertyValue="javax.jms.Queue"),
| @ActivationConfigProperty(propertyName="destination", propertyValue="SonicJMS/Queues/fromCustomer"),
| @ActivationConfigProperty(propertyName="acknowledgeMode", propertyValue="AUTO_ACKNOWLEGDE"),
|
|
and in XML
|
| <activation-config-property>
| <activation-config-property-name>brokerURL</activation-config-property-name>
| <activation-config-property-value>@BROKER_URL@</activation-config-property-value>
| </activation-config-property>
|
| <activation-config-property>
| <activation-config-property-name>Username</activation-config-property-name>
| <activation-config-property-value>Administrator</activation-config-property-value>
| </activation-config-property>
|
| <activation-config-property>
| <activation-config-property-name>Password</activation-config-property-name>
| <activation-config-property-value>Administrator</activation-config-property-value>
| </activation-config-property>
|
|
I get "Inauthentic Client" from Sonic JCA. If I put Username and Password to Annotations, it works. BrokerURL works from both.
I'm using JBoss 4.0.4.GA and EJB3 RC9.
-Juha-
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973798#3973798
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973798
19 years, 7 months
[JBoss Portal] - Setup question.
by rogovskiy
Hello,
I've got a problem setting up pretty simple configuration. I have a portal we b application, which requires login and then shows up a portal site instance.
I've made a login page which is using the same tecnique as standard login page in jboss portal admin and attached it to any request /*. The problem I have is configuration of PortalServlet so my webapp can serve portal pages of specified portal instance like (myportal).
I played with web.xml a lot and the best I can get is error 401 (authentication required) after I am successfully logged in (JAAS accepts my credentials)
Any ideas are appreciated.
Thank you.
-- Sergei Rogovskiy (rogovsky(a)gmail.com)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973793#3973793
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973793
19 years, 7 months