The issue is fixed, but not sure what is the real cause.
I was using Queues backed up by MySQL datasource defined in default-ds.xml and i configured JBossMQ in deploy-hasingleton/jms to use DefaultDS which was pointing to MySQL db.
To fix the problem i simply created another copy of default-ds.xml and named it mysql-ds.xml file and datasource as MySqlDs and configured JBossMQ to use this datasource instead of DefaultDS and it worked :P
Both MySqlDs and DefaultDS point to the same database not sure why it doesn't work with DefaultDS. Anyone has any idea?
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165933#4165933
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165933
Using Portal 2.6.4.
Is there a way I can access the instance of JBossPortlet being rendered in a DivDecorationRenderer? I want to branch the Help mode logic based on the theme and the portlet (and adjust the title based on the locale). It has a RendererContext from which I can obtain the theme, and it has a DecorationRendererContext which has the Portlet title (I'd rather not compare title strings).
Also a way to getLocale()? JIRA 555 (http://jira.jboss.org/jira/browse/JBPORTAL-555) said RenderContext.getLocale() was added for this purpose, but that was 2006 and RenderContext is no longer passed in.
Old codeprivate static void renderModeAndStateLinks(RenderContext ctx, WindowResult result, String selector)
v2.6.4 codeprivate static void renderTriggerableActions(RendererContext ctx,
| DecorationRendererContext drc, String selector) {
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165931#4165931
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165931
Hi all, I'm interested is there any way to get client ip address from inside of EJB. We're using jboss 3.2.5 (java 1.3).
I tried getEnvironment(), but it's deprecated.
Only one constraint exists and that is that client should not do anything nor send anything, server should find out IP (I guess, this is normal behavior). Is this possible, is it possible maybe in some newer version and do you have any ideas how this could be accomplished if this is not possible directly
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165929#4165929
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165929
I am using JBoss 4.2.1 GA and have installed the example from the JBoss at Work book.
I then took the message driven bean that was working code and installed that into a commercial j2ee Jboss server of the same version. I have a client that I wrote that sends to the queue that the mdb is supposed to be listening on, but the mdb's onMessage method is not invoked.
I've searched and searched but not finding the missing piece that will cause the mdb to be invoked. This mdb is ejb 2.1 . All suggestion appreciated.
Thanks. - Jesse
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165927#4165927
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165927