[JBoss Seam] - Re: Seam in Real World: Made with Seam
by Techieexchange
Hi,
Thanks for your interest.
You should know that SEAM is a enterprise application framework, that means about 60-70% applications are mission critical and therefore only few sites are available online without any restrictions. On the other side lot of corporate giants have applications developed with Seam which are only allowed for restricted users inside their network.
Moreover Seam is just growing, i think about 50% applications are incubation/development stage, so we have wait for couple of months. Currently Seam become very popular but applications using Seam would take a little while. Also big companies are slowly switching over from JDK/JRE 1.3/1.4 to 1.5 which is a big move (takes atleast a year) for them, that means path-free to use Seam in their environment.
Seam team should share their comments on this issue (Real world Seam applications).
Regards,
http://seamexpress.wordpress.com/
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114139#4114139
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114139
18 years, 4 months
[Clustering/JBoss] - Re: ConnectionFactory && HA-JNDI
by trunikov
BTW, JNDI view for my application is as follow:
| java:comp namespace of the zzz.ear/zzz.war application:
|
| +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef)
| +- ORB (class: org.jacorb.orb.ORB)
| +- env (class: org.jnp.interfaces.NamingContext)
| | +- queue (class: org.jnp.interfaces.NamingContext)
| | | +- aaaQueue[link -> jnp://localhost:1100/queue/aaaQueue] (class: javax.naming.LinkRef)
| | +- security (class: org.jnp.interfaces.NamingContext)
| | | +- realmMapping[link -> java:/jaas/other] (class: javax.naming.LinkRef)
| | | +- subject[link -> java:/jaas/other/subject] (class: javax.naming.LinkRef)
| | | +- securityMgr[link -> java:/jaas/other] (class: javax.naming.LinkRef)
| | | +- security-domain[link -> java:/jaas/other] (class: javax.naming.LinkRef)
| | +- jms (class: org.jnp.interfaces.NamingContext)
| | | +- ConnectionFactory[link -> java:/JmsXA] (class: javax.naming.LinkRef
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114135#4114135
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114135
18 years, 4 months
[Clustering/JBoss] - ConnectionFactory && HA-JNDI
by trunikov
Hi ALL!
Environment:
AS: jboss-4.2.2.GA
Command line: run.bat -c all -b 0.0.0.0 -g XXX
Problem:
My application has servlet which has init code to obtain queue and JMS connection factory. The code can obtain a reference to queue but it fails to get reference on a connection factory:
11:20:00,925 ERROR [[/phs]] Servlet /xxx threw load() exception
| javax.naming.NameNotFoundException: jms/ConnectionFactory
| at org.jboss.ha.jndi.TreeHead.lookup(TreeHead.java:242)
| at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:155)
| ...
|
The init code is:
Properties p = new Properties();
| p.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
| p.put(Context.URL_PKG_PREFIXES, "jboss.naming:org.jnp.interfaces");
| p.put(Context.PROVIDER_URL, "localhost:1100"); // HA-JNDI port.
| InitialContext ctx = new InitialContext(p);
| queue = (Queue) ctx.lookup("queue/xxxQueue");
| QueueConnectionFactory qcf = (QueueConnectionFactory) ctx.lookup("jms/ConnectionFactory" /*"jnp://localhost:1100/ConnectionFactory"*/);
|
The error occures on the last line in the code above. I can avoid the error by using commented out JNDI name. But I think that JNDI name "jms/ConnectionFactory" should be valid too because I have mappings in web.xml and jboss-web.xml descriptors. In any case it is not clear why the first lookup passed and the second one fails. Please point me what I missed. Thanks in advance for any reply.
web.xml:
<resource-ref>
| <description>Default QueueFactory</description>
| <res-ref-name>jms/ConnectionFactory</res-ref-name>
| <res-type>javax.jms.QueueConnectionFactory</res-type>
| <res-auth>Container</res-auth>
| </resource-ref>
|
| <resource-ref>
| <description>Queue</description>
| <res-ref-name>queue/xxxQueue</res-ref-name>
| <res-type>javax.jms.Queue</res-type>
| <res-auth>Container</res-auth>
| </resource-ref>
|
jboss-web.xml:
| <resource-ref>
| <res-ref-name>jms/ConnectionFactory</res-ref-name>
| <jndi-name>jnp://localhost:1100/ConnectionFactory</jndi-name>
| <res-type>javax.jms.QueueConnectionFactory</res-type>
| </resource-ref>
|
| <resource-ref>
| <res-ref-name>queue/phsMessagesGatewayQueue</res-ref-name>
| <jndi-name>jnp://localhost:1100/queue/xxxQueue</jndi-name>
| <res-type>javax.jms.Queue</res-type>
| </resource-ref>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114127#4114127
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114127
18 years, 4 months
[JBoss Seam] - Re: jbpm, AssignmentHandler and bijection
by Strategy
Hi, all!
I have got the same problem.
I have a jbpm-swimlane connected with an assignmentHandler. This assignmentHandler should identify the user by a variable inserted by injection (@IN). But this variable is always null.
Hereôs the sourceCode of the Handler:
| @Name("studentAssignment")
| public class StudentAssignment implements AssignmentHandler {
|
|
| @In
| Person currentUser;
|
|
| public void assign(Assignable arg0, ExecutionContext arg1) throws Exception {
|
| if (currentUser == null) {
| arg0.setPooledActors(new String[]{"Student"});
| } else {
| arg0.setActorId(currentUser.getId().toString());
| }
| }
| }
|
Looks like it doesnôt work this way.
What alternatives do i have to insert any variable in the class ?
Thanks,
Matthias
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114126#4114126
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114126
18 years, 4 months