[JBoss Seam] - proper use of asynchronous
by javajoe220
Hello,
We have a fairly large app that behaves as follows:
*A user begins by doing a search
*A list of results are returned and the user selects one
*Once a result is selected several other areas are initialized via the Event/Observer pattern
*The user can now navigate to many other areas with all the necessary initializing having already occurred with either the data available already or the ability to get the data already established
Question:
I would really like to alter this initialization phase to use the Event.raiseAsynchronousEvent functionality. If I do this with no changes to the system but using "raiseAsynchronousEvent" rather than just "raiseEvent" the code works how ever the initialzed SSB are not in the conversation context. I read that the asynchronous functionality does not have access to the conversational context so I understand why that does not work, so what would be the best way to go about this? Should the init code place the initialzied objects in the application context then when the conversationally scoped SSB need them pull them out? Is there a better or recommend way?
Thank you!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4031652#4031652
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4031652
19Â years
[JBoss Portal] - Developer in JBoss Portal
by srinivasanj
Hai i am using JBoss Portlet for my application, i had to several doubts in the JBoss Portal
1. i am using two action in the same JSR 168 portlet . my first action i mapping
if(name!=null){dispatch..... b.jsp)
else(dispatch....a.jsp}.
my second action in the b.jsp it need to move c.jsp.///rly i had more action in the portlet where i need to map weather i need to create seperate portlet class or map in the same portlet class. if i map in the seperate portlet class what are the thing i need to do.
2. i am using AJAX in my JSR 168 Portlet my XMLHttpRequest where i need to set.
3. i had my HTTPsession where i need to call
answer this question anyone after i getting answer this question only i need to proceed my application.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4031651#4031651
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4031651
19Â years
[JBoss Messaging] - NumberFormatException on startup
by samofborg
Following the installation instructions in the JBoss Messaging 1.2 User's Guide, I keep getting this warning message on startup:
10:53:23,855 WARN [ServiceController] Problem creating service jboss.messaging:service=Connector,transport=bisocket
java.lang.NumberFormatException: For input string: "0:0:0:0:0:0:1:4457"
.
.
.
and then I get the following FAIL message further down in the log:
.
.
.
ObjectName: jboss.messaging:service=Connector,transport=bisocket
State: FAILED
Reason: java.lang.NumberFormatException: For input string: "0:0:0:0:0:0:1:4457"
I Depend On:
jboss.messaging:service=NetworkRegistry
Depends On Me:
jboss.messaging.connectionfactory:service=ConnectionFactory
jboss.messaging.connectionfactory:service=NonClusteredConnectionFactory
jboss.messaging:service=ServerPeer
.
.
.
and finally:
.
.
.
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.messaging:service=Connector,transport=bisocket
State: FAILED
Reason: java.lang.NumberFormatException: For input string: "0:0:0:0:0:0:1:4457"
I Depend On:
jboss.messaging:service=NetworkRegistry
Depends On Me:
jboss.messaging.connectionfactory:service=ConnectionFactory
jboss.messaging.connectionfactory:service=NonClusteredConnectionFactory
jboss.messaging:service=ServerPeer
I'm new to JBM and can't seem to figure out this problem. Any clues?
I've attempted to run this as root and I've turned off firewalls and security thinking that ports might be blocked.
I've switched JVMs and JBoss app servers, thinking this is an API issue.
It appears that I have set the JAVA_HOME and JBOSS_HOME env vars correctly. My PATH looks correct. I think I"m running the JVM the environment says I'm running.
Currently, I'm getting the above errors using the following:
JBoss 4.0.5.GA
Messaging 1.2.0.GA
jdk 1.5.0_06 (tried with 1.4.2_13 & 1.6.0, same errors)
Fedora 6 32-bit
Any pointers in the right direction will be much appreciated.
Thanks,
Sam
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4031639#4031639
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4031639
19Â years