[jboss-user] [JBoss jBPM] - Re: Changes to Task object not reflected in DB
My fault :). The userid was null jbpm correctly updated DB with null. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038719#4038719 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038719 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: The neverending logout topic
Hiho, Did you try the Basic or Form Authentication? With the Form Auth ist should work... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038720#4038720 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038720 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: [OT] Trinidad 1.0.0-incubating
Yes, i replace all text that looks like [:param_1;...;param_n] into wiki:include name= factory=wiki.('param_1',...,'param_n')/ The text is then compiled by the facelet compiler and finally rendered. I'll try to understand your approach a bit better, it seems more elegant :), and then see if i can combine them somehow... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038721#4038721 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038721 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - fork related problem
hi, i am using jboss starters kit 3.1.4 here is my processdefinition.xml file | ?xml version=1.0 encoding=UTF-8? | | process-definition | xmlns=urn:jbpm.org:jpdl-3.1 name=firstProcess |swimlane name=Market Requestor | assignment expression=user(grover)/assignment |/swimlane |swimlane name=Process Leader | assignment expression=user(ernie)/assignment |/swimlane |swimlane name=Market Strategy Director | assignment expression=user(bert)/assignment |/swimlane |start-state name=Set up a draft proposal | task name=Draft proposal swimlane=Market Requestor | controller | variable name=Engine Type/variable | /controller | /task | transition name= to=Notify Process Leader/transition |/start-state | task-node name=Notify Process Leader | task swimlane=Market Strategy Director | controller | variable name=values access=read,write,required/variable | /controller | /task | transition name=to branchfork to=branchfork/transition |/task-node |fork name=branchfork | transition name=Notify field support to=Notify field support/transition | transition name=gather list of items to investigate to=Gather list of items to investigate/transition |/fork |task-node name=Gather list of items to investigate | task swimlane=Market Requestor | controller | variable name=Part Numbers/variable | /controller | /task | transition name= to=branchjoin/transition |/task-node |task-node name=Notify field support | task swimlane=Process Leader | controller | variable name=Person to notify/variable | /controller | /task | transition name= to=branchjoin/transition |/task-node |join name=branchjoin | transition name= to=Review proposal/transition |/join |decision name=Review proposal | transition name=approve proposal to=Approve proposal | /transition | transition name=reject proposal to=Reject proposal/transition |/decision |task-node name=Approve proposal | task name=Approve Proposal swimlane=Market Strategy Director | controller | variable name=Comment access=read,write,required/variable | /controller | /task | transition name= to=end1/transition |/task-node |task-node name=Reject proposal | task name=Reject Proposal swimlane=Market Strategy Director | controller | variable name=Comment access=read,write,required/variable | /controller | /task | transition name= to=end1/transition |/task-node |end-state name=end1/end-state | | /process-definition | now the problem is the moment market strategy director saves and closes the task assigned to him i get the message the task has been assigned to null,null i have also made this observation that the TASK getting list of items to investigate which appears after the fork gets assigned to the user who begins the process rather than getting assigned to the user defined in the swimlane(grover) However the Task Notify field support gets assigned correctly to ernie. is this a bug with JBPM-starters kit 3.1.4.. please help me as i am stuck. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038723#4038723 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038723 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - classcast exception
When i deploy a session bean in JBoss, while deploying i got classcast exception . When i am looking thro ctxlook up, it is always returing the object ref as JNDI name+Home. why this error is coming? i need help. servlet code code: | | try { | | InitialContext ctx = new InitialContext(); | System.out.println(aa); | | Object objref = ctx.lookup(ejb/test/MyTestSessionBean/remote); | //testSessionBean = (MyTestSessionHome)ctx.lookup(test.session.MyTestSessionBean.class.getName()); | //testSessionBean = (MyTestSessionHome)ctx.lookup(test/session/MyTestSessionBean); | System.out.println(b+objref); | | testSessionBean = (MyTestSessionHome)PortableRemoteObject.narrow(objref, MyTestSessionHome.class); | System.out.println(c); | |} catch (Exception NamingException) { | | NamingException.printStackTrace(); THis is the output in Jboss: 393 INFO [STDOUT] bejb/test/MyTestSessionBean/remoteHome 11:43:38,408 ERROR [STDERR] java.lang.ClassCastException 11:43:38,413 ERROR [STDERR] at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:293) If the code is like this in the lookup: Object objref = ctx.lookup(ejb/test/MyTestSessionBean); It returns objref like this:MyTestSessionBeanHome - This class does not exist. I need help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038724#4038724 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038724 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Why some node attributes are not persist?
Hello everyone. I am using jbpm3.1.2. Some attributes, like join node: isDiscriminator(pattern 9) and nOutOfM(pattern 9a). Why they are not persist? Do the lasted release fix it? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038725#4038725 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038725 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: MDB pool configuration EJB3
Before you get your hopes up out of old posts, note that pool configurations on a MDB is not the way to go. http://jira.jboss.com/jira/browse/EJBTHREE-890 Also note that expiration of messages is an issue. http://jira.jboss.com/jira/browse/EJBTHREE-938 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038728#4038728 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038728 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: recurring timer and app re-start issue
Timers are persisted on undeployment and restored upon deployment. http://jira.jboss.com/jira/browse/EJBTHREE-630 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038729#4038729 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038729 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Clustering and Load Balancing in Jboss-4.0.2 using Apach
Actually DMWebSession which extends UserSession is having inner classes. They are also Serialized. There are 4 to 5 inner classes and each inner class contains public static final String variables. Following is my DMWebSession classI am creating the object of this and calling from login.jsp and settirng true or false. --DMWebSession.java--- public class DmWebSession extends UserSession { private HttpSession session_; private static final String SESSION_MGR = SESSION_MANAGER; public static DmWebSession getDmWebSession(HttpSession session) { DmWebSession sessionMgr = null; sessionMgr = (DmWebSession) session.getAttribute(SESSION_MGR); if (sessionMgr == null) { sessionMgr = new DmWebSession(session); } return sessionMgr; } private DmWebSession(HttpSession session) { session.setAttribute(SESSION_MGR, this); session_ = session; } protected Object getAttribute(String key) { return session_.getAttribute(key); } protected void setAttribute(String key, Object value) { session_.setAttribute(key, value); } protected void removeAttribute(String key) { session_.removeAttribute(key); } public void invalidateSession() { session_.invalidate(); session_ = null; } public void removeSelectedItems() { //This class is also Serialized UtilitiesBean util = new UtilitiesBean(); util.cleanSession(session_); } } The classes which are imported is it necessary they should also be Serialized ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038730#4038730 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038730 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: @ApplicationException(rollback=true) in Inheritance
JSR 250, 2.1, General Guidelines for Inheritance of Annotations: anonymous wrote : Class-level annotations only affect the class they annotate and their members, that is, its methods and fields. They never affect a member declared by a superclass, even if it is not hidden or overridden by the class in question. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038732#4038732 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038732 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - Failover scenario is not working
Hi all, I am trying to setup failover for our standalone applications(MessageSender and MessageReceiver) using JBoss Messaging. I have created 3 nodes in my local machine to form a cluster like: Message-Node0, Message-Node1,Message-Node2 and started the three nodes. This is the ConnectionFactory properties I used for the Sender and Receiver applications: jmsConnectionFactory.jndiInitialContextFactory=org.jnp.interfaces.NamingContextFactory jmsConnectionFactory.jndiProviderUrl=jnp://localhost:1099 jmsConnectionFactory.jndiNameForJmsConnectionFactory=ConnectionFactory I tested the following scenario: 1. Started the Receiver application (It is a 24x7 application) 2. Started the Sender application which sends text messages to the testDistributedQueue. 3. While publishing some messages I stopped the Messaging-node0 server. 4. The Sender and Receiver applications tries to get Connections using Recovery Algorithms. I expected the messages will be published by getting connection(auto-discovery) using the other available nodes in the cluster(ie, node1 and node2) But this is not happening. This is because the application fails to discover the other nodes in the cluster.( We tried the same failover scenario for JbossMQ, that works fine.) The application throws the following exception: javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099 and discovery failed with error: javax.naming.CommunicationException: Failed to connect to server 10.212.65.25:1100 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server 10.212.65.25:1100 [Root exception is java.net.ConnectException: Connection timed out: connect]] [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused: connect]]] If I use the port 1100 instead of 1099 the applications hanging (ie, the application does not throws any exception and also not publishing and receiving messages) What could be the problem? Do I need to setup anything to enable HAJNDI for each instance? Pls help. Version Details: Jboss 4.0.5 Jboss Messaging 1.2.0 sp1 Thanks in Advance! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038733#4038733 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038733 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: ExtremeComponents
URL looks like: http://localhost:18080/portal/auth/portal/dashboard/admin/default/11?action=6mode=view The action param is added by the portlet:renderURL tag. So it's difficult to guess it. It's a POST form. Hidden input fields are used to store data. There is no action hidden fields. So, if I transform the method from POST to GET (with javascript), this parameter is lost. If not specified in the request, nothing append. I need to add it manually, there are 2 solutions: - I guess how action is computed - I use javascript or Java in the render phase to extract it and add a hidden input field :) Did you understand my explanations? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038735#4038735 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038735 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Failover scenario is not working
Hi all, I am trying to setup failover for our standalone applications(MessageSender and MessageReceiver) using JBoss Messaging. I have created 3 nodes in my local machine to form a cluster like: Message-Node0, Message-Node1,Message-Node2 and started the three nodes. This is the ConnectionFactory properties I used for the Sender and Receiver applications: jmsConnectionFactory.jndiInitialContextFactory=org.jnp.interfaces.NamingContextFactory jmsConnectionFactory.jndiProviderUrl=jnp://localhost:1099 jmsConnectionFactory.jndiNameForJmsConnectionFactory=ConnectionFactory I tested the following scenario: 1. Started the Receiver application (It is a 24x7 application) 2. Started the Sender application which sends text messages to the testDistributedQueue. 3. While publishing some messages I stopped the Messaging-node0 server. 4. The Sender and Receiver applications tries to get Connections using Recovery Algorithms. I expected the messages will be published by getting connection(auto-discovery) using the other available nodes in the cluster(ie, node1 and node2) But this is not happening. This is because the application fails to discover the other nodes in the cluster.( We tried the same failover scenario for JbossMQ, that works fine.) The application throws the following exception: javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099 and discovery failed with error: javax.naming.CommunicationException: Failed to connect to server 10.212.65.25:1100 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server 10.212.65.25:1100 [Root exception is java.net.ConnectException: Connection timed out: connect]] [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused: connect]]] If I use the port 1100 instead of 1099 the applications hanging (ie, the application does not throws any exception and also not publishing and receiving messages) Do I need to setup anything to enable HAJNDI for each instance? Pls help. Version Details: Jboss 4.0.5 Jboss Messaging 1.2.0 sp1 Thanks in Advance! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038736#4038736 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038736 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: The error of datasource
The content of jbpm-ds.xml is : ?xml version=1.0 encoding=UTF-8? local-tx-datasource jndi-nameJbpmDS/jndi-name connection-urljdbc:postgresql://192.168.0.233:5432/bccbpm/connection-url driver-classorg.postgresql.Driver/driver-class user-namepostgres/user-name voipack type-mappingPostgreSQL 8.1/type-mapping /local-tx-datasource View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038737#4038737 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038737 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: The error of datasource
If you have malformed xml in your ds configuration, I think easiest way to set it up right is to take the example datasource from JBOSS_HOME/docs/examples/jca/postgres-ds.xml, modify it to suit your environment and copy it in the /deploy directory with the name you like. Regards, Martin View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038739#4038739 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038739 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Can JBP be configured to handle a routine weekly disconn
As Julien said, look at the ds configuration at AS level: http://wiki.jboss.org/wiki/Wiki.jsp?page=WhatHappensToJBossIfIRestartTheDatabase Regards, Martin View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038740#4038740 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038740 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Failover scenario is not working
Do the clustering examples run? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038742#4038742 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038742 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: End conversation and redirect problem
Anybody got some ideas...? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038743#4038743 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038743 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Failover scenario is not working
sabdulkareem wrote : | 4. The Sender and Receiver applications tries to get Connections using Recovery Algorithms. | JBM uses transparent failover so there is no need to recover the connections yourself, i.e. you don't need to implement an Exception Listener. When failover occurs the connections should automatically be failed over onto a different server. Have a look at the clustering examples that come with the distro. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038745#4038745 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038745 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - ouject a non seam bean
Hello :-) I've got two bean seam Seam1, Seam2. I ouject Seam1 in the context and I can get it in Seam2. It works well. In Seam1, I've got a getter/setter method on a non seam object Object1. When I try to get Object1 in my Seam2, I've got a nullPointerException. When I display attributes of my object1 in my JSF it works but I need to do some stuff before displaying. Could you please help me ? thank you View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038746#4038746 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038746 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Failover scenario is not working
I tried the examples distributed-queue, queue-failover. Both are working fine. In queue-failover example the application kills the Messaging-node0 programatically. But I am using Ctrl+C to kill the Messaging-node0. Will it make any difference? Thanks Regards, Abdul Kareem View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038747#4038747 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038747 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Failover scenario is not working
sabdulkareem wrote : | | Will it make any difference? | | Yes, CTRL-C does not kill the server - it performs a clean shut down. Clean shut down and crash are different things. There is also a bug in jboss remoting that prevents reconnections in some situations - this has been fixed in remoting 2.2.0.SP1. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038748#4038748 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038748 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: End conversation and redirect problem
I don't think its possible to end and start a new conversation in a single request (yet). I am not 100% sure of the seam lifecycle, but i believe i have read in this forum that its not possible, but might be implemented in some future version. Why not start the conversation when you click the link to newBlogEntry? If the table of entries must be part of a conversation try to nest the conversations... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038749#4038749 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038749 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: testng unit tests not working with testng eclipse plugin
I found the reason for the failure by my self. It is needed to ad the test-build directory to the build-path of the eclipse project. Otherwise the embedded EJB-Container will not parse the EJB-classes for components. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038750#4038750 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038750 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: testng unit tests not working with testng eclipse plugin
It' always a good idea to look for the initializations of your own components. This gave me the major clue. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038751#4038751 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038751 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Any Portlets available for JBoss Portal for Groups / Blog /
Hi, Currently I am evaluating Jboss Portal. I want to setup a portal which requires Groups, Blogs, Calendar / events / alerts functionalities. I am not able to find any portlet for such feature. Can anybody help me on this. It is quite urgent for me. Or do I need to write my own portlets for such requirements. Any advise on this will be appreciated. Thanks in adavance chintan View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038752#4038752 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038752 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: Unable to use/run JBossAOP on JBossAS 4.0.5.GA
I've made the following changes: 1. Changed UseJBossWebLoader to true 2. Removed jboss-app.xml from the example's deployment and the loader-repository tag from jboss-aop.xml in the .aop archive. 3. Changed ear-deployer.xml Isolated attribute to false. 4. Re-started the server, and re-deployed the injboss example ear. Again, it does not work, no AOP-specific messages are displayed. I can't see what I might be missing, though. Any suggestions? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038753#4038753 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038753 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: End conversation and redirect problem
Thanks for pointing that out. Indeed, if I add indirection through an intermediate page with the same link as I would have redirected to, it works... bummer... Starting the conversation when clicking the link doesn't solve the problem though, since I need the conversation to be active for the delete buttons in the dataTable to work. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038756#4038756 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038756 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Pros/Cons of war vs. ear deployments (Jboss 4.2)
I just needed to find out what feature you were talking about ;) and yes, this is something we have as a target - better hotdeployement. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038758#4038758 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038758 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - JBoss AS 4.2.0.CR2 does not start
When I start JBoss AS 4.2.0.CR2 under a default Linux Fedora Core 6, I get the following error followed by a container shutdown. anonymous wrote : | Caused by: java.lang.RuntimeException: Exception creating identity: localhost.localdomain: localhost.localdomain | at org.jboss.remoting.ident.Identity.get(Identity.java:211) | at org.jboss.remoting.network.NetworkRegistry.preRegister(NetworkRegistry.java:268) | I don't think this should be happening. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038760#4038760 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038760 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: Rules editor doesnot sinalize error in Problems View
sinalize ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038762#4038762 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038762 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: About the s:selectDate / tag
http://jira.jboss.org/jira/browse/RF-105 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038763#4038763 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038763 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: End conversation and redirect problem
Or you could just try to redirect the page? (In pages.xml) It might do the trick... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038764#4038764 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038764 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: ouject a non seam bean
Post your code View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038765#4038765 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038765 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Concurrent task acquisition (how?)
do a flush before you close the JbpmContext View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038766#4038766 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038766 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: End conversation and redirect problem
You should be able to use end-conversation before-redirect=true / for this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038767#4038767 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038767 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: ouject a non seam bean
ok | @Name(seam1) | @Scope(ScopeType.CONVERSATION) | public class Seam1Action { | | private Model model; | | private String updateModel{ // method called on an actionCommand in JSF |// |setModel(model); | } | } | @Name(seam2) | @Scope(ScopeType.CONVERSATION) | public class Seam2Action { | @In | private Seam1Action seam1; | | public Seam2Action() { | sysout(seam1.getModel().toString()); | } | | ... | } | This code returns a null pointerException. When I comment the sysout and put h:outputText value=#{seam2.seam1.model.attribute} / | it works ??? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038768#4038768 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038768 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: Unable to use/run JBossAOP on JBossAS 4.0.5.GA
I would 1) copy a vanilla default configuration from a clean jboss dist 2) Use a clean injbossexample 3) Follow the instructions in section 10.3 of the reference manual to set up the -javaagent loader **Use the jboss-aop-jdk5.deployer from the 1.5.5.GA release, and follow the instructions in the ReadMe.txt **Add pluggable-instrumentor.jar to bin/ **Modify run.sh/.bat to use the -javaagent switch Once you get this clean version running, modify the isolation etc. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038771#4038771 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038771 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Problems with the Subject
Do you resolved the problems? If yes, can you help me? Thanks in advance adiceglie View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038774#4038774 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038774 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: problem with auto logout client
Do you resolved the problems? If yes, can you help me? Thanks in advance adiceglie View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038775#4038775 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038775 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Upgrade from Seam 1.1 to 1.2.1
Anybody? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038777#4038777 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038777 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: End conversation and redirect problem
that last suggestion works, but makes it necessary to move the navigation to pages.xml (not really a bad thing of course). Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038776#4038776 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038776 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Can i change default login (admin / admin) ?
How can i change password for default login (admin / admin) after login i saw links Dashboard,admin. Can i remove them? or change them ? Thanks in advance Mohan View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038780#4038780 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038780 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: ouject a non seam bean
Ok, sorry. I can't get my object Model in the constructor. My Model has not yet been created by seam... When I get in a getAttribute, it works very well. Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038781#4038781 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038781 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Upgrade from Seam 1.1 to 1.2.1
m.alex wrote : | component.xml in each JAR's META-INF contains: | components | | component class=org.jboss.seam.remoting.messaging.SubscriptionRegistry install=true | | property name=allowedTopicsclientNotificationTopic/property | | /component | | /components | | | So you have multiple jar files in your application with the same components.xml? That's the problem there, you're trying to create the SubscriptionRegistry twice. You only need one SubscriptionRegistry, so either remove it from all but one of your components.xml files, or remove all but one of the components.xml files. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038782#4038782 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038782 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: 3.2 console search: hibernate session closed
This error has been corrected in the meantime. I have just checked out the latest version of the console from cvs and verified that it works. Regards, Martin View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038783#4038783 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038783 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: End conversation and redirect problem
Hm, and the facesMessages do not survive this redirect if I set this option.. why? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038784#4038784 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038784 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: End conversation and redirect problem
Because the FacesMessages are bound to the conversation, which you just ended ;) plain JSF FacesMessage don't survive redirects View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038785#4038785 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038785 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: Unable to use/run JBossAOP on JBossAS 4.0.5.GA
Ok, I got it. The problem was that I forgot to replace the javassist.jar in JBoss/server/myConf/lib with the one in the JDK5 AOP deployer... everything seems to work fine now, *with* scoped class-loading. Thank you very much for the help! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038786#4038786 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038786 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - h:inputText onEnter support a4j for use in opensource facete
Hello, I created a faceted search navigation engine (open source): http://www.facetnav.org:8080/facetnav/demo.seam I used an imputext, with ajax support. Now every time when I hit enter I get the problem the whole form is submitted. Is there something I can do abouw that? 21 h:inputText value=#{browser.freeText} id=freeText 22 a4j:support event=onkeyup requestDelay=1500 ignoreDupResponces=true eventsQueue=myQueue action=#{browser.selectionChanged} reRender=mainGrid/ 23 /h:inputText The rest of the code for the page: http://facetnav.cvs.sourceforge.net/facetnav/facetnav/view/demo.xhtml?revision=1.1.1.1view=markup View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038789#4038789 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038789 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Make a rollback in a Superstate group
Hi everyone, I try to do something very strange ... In a particular process, I grouped some nodes in a superstate groupe. My need is : If the user do something wrong in one of the nodes, he can erase the superstate context by doing a Rollback at the superstate begining. maybe I d'ont understand the Superstate, but my need is : How to erase the Superstate inner-context and rollback with the pre-superstate context ? Thanks for somes ideas :) V. PS : My apologizes for my not-fluent english, I try to do my best :) French is my mother tongue ^^ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038790#4038790 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038790 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: JBossMessageEndpointFactory ClassNotFoundException when
Hi there, I'd rather avoid deploying the rar separately, because it needs quite a few things that are part of the ear. I don't want to have to deploy many different files. I give you more details about the content of the ear: - InputDriver.jar contains the message-listener interface, as well as other classes needed by the rar - InputDriver.rar is the resource adapter - RawProtocolService.jar contains the MDB that implements the message-listener interface, and its manifest points to InputDriver.jar in this way: Class-Path: InputDriver.jar jboss.xml for the MDB is this: ?xml version=1.0 encoding=UTF-8? !DOCTYPE jboss PUBLIC -//JBoss//DTD JBOSS 4.0//EN http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd; enterprise-beans ejb-nameMyApp/RawProtocolService/ejb-name jndi-nameMyApp/RawProtocolService/jndi-name local-jndi-nameMyApp/RawProtocolServiceLocal/local-jndi-name method-attributes /method-attributes message-driven ejb-nameMyApp/RawProtocolRoutingMDBean/ejb-name resource-adapter-nameMyApp.ear#InputDriver.rar/resource-adapter-name /message-driven /enterprise-beans assembly-descriptor/ resource-managers/ Thanks, Michele View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038791#4038791 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038791 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Can i change default login (admin / admin) ?
For changing default login, you need to update the script that creates the default user which is in the conf/hibernate/user/setup.txt . It is a BeanShell script. For removing the links, you can try to remove the PagerCustomizerInterceptor in META-INF/jboss-service.xml, but it would remove lot of decorations. I think we need to add more flexiblity there and provide at least some configuration that will drive the content produced in that zone, or delegate the producing of content to a real portlet. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038793#4038793 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038793 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Any Portlets available for JBoss Portal for Groups / Bl
JBoss Portal does not offer today all those tools as they would represent a significant effort in term of productization and resource behind it, it's an whole other world. What we do provide is a good Forum and we are about to provide also a Blogging portlet. Maybe other users of this forum can provide some valuable response. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038794#4038794 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038794 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBoss Portal 2.6 Beta 1 release
We are about to release CR1 (tagged in SVN) that contains WSRP. For technical reasons, WSRP could not be included in Beta1 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038795#4038795 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038795 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Simplest s:fileUpload usage
I've been hanging around for almost two weeks just to make s:fileUpload working. Simply want to add upload file capability to seam-registration. I'm using seam-space sample as reference and adapt it into stateless version. Not refering to wiki's samples cause it using tomahawk, I just want to have it plain and simple. Environment used : - JBoss AS 4.0.5.GA - JBoss Seam 1.2.0.Patch1 - JBoss IDE for Eclipse - default JBoss Seam (upload) jars - no tomahawk.jar, no icefaces, no commons-upload. - jboss-seam-ui.jar included components.xml : ?xml version=1.0 encoding=UTF-8? | components xmlns=http://jboss.com/products/seam/components; | xmlns:core=http://jboss.com/products/seam/core; | xmlns:web=http://jboss.com/products/seam/web; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation= | http://jboss.com/products/seam/core http://jboss.com/products/seam/core-1.2.xsd | http://jboss.com/products/seam/web http://jboss.com/products/seam/web-1.2.xsd | http://jboss.com/products/seam/components http://jboss.com/products/seam/components-1.2.xsd; | | core:init jndi-pattern=@jndiPattern@/ | core:ejb installed=@embeddedEjb@/ | | web:multipart-filter create-temp-files=true | max-request-size=100 | url-pattern=*.seam/ | | /components web.xml : ?xml version=1.0 encoding=UTF-8? | | web-app version=2.5 | xmlns=http://java.sun.com/xml/ns/javaee; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd; | | !-- Seam -- | | listener | listener-classorg.jboss.seam.servlet.SeamListener/listener-class | /listener | | filter | filter-nameSeam Filter/filter-name | filter-classorg.jboss.seam.web.SeamFilter/filter-class | /filter | | filter-mapping | filter-nameSeam Filter/filter-name | url-pattern/*/url-pattern | /filter-mapping | | !-- MyFaces -- | | listener | listener-classorg.apache.myfaces.webapp.StartupServletContextListener/listener-class | /listener | | context-param | param-namejavax.faces.STATE_SAVING_METHOD/param-name | param-valueclient/param-value | /context-param | | context-param | param-namejavax.faces.DEFAULT_SUFFIX/param-name | param-value.jspx/param-value | /context-param | | servlet | servlet-nameFaces Servlet/servlet-name | servlet-classjavax.faces.webapp.FacesServlet/servlet-class | load-on-startup1/load-on-startup | /servlet | | !-- Faces Servlet Mapping -- | servlet-mapping | servlet-nameFaces Servlet/servlet-name | url-pattern*.seam/url-pattern | /servlet-mapping | /web-app application.xml : ?xml version=1.0 encoding=UTF-8? | application xmlns=http://java.sun.com/xml/ns/javaee; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd; | version=5 | | display-nameMyapp/display-name | | module | web | web-uriseam-myapp.war/web-uri | context-root/myapp/context-root | /web | /module | module | ejbseam-myapp.jar/ejb | /module | module | javajboss-seam.jar/java | /module | module | javael-api.jar/java | /module | module | javael-ri.jar/java | /module | | /application jboss-app.xml : jboss-app | loader-repository | seam.jboss.org:loader=myapp | /loader-repository | /jboss-app the view . index.jspx : ?xml version=1.0? | jsp:root xmlns:jsp=http://java.sun.com/JSP/Page; | xmlns:h=http://java.sun.com/jsf/html; | xmlns:f=http://java.sun.com/jsf/core; | xmlns:s=http://jboss.com/products/seam/taglib; | xmlns=http://www.w3.org/1999/xhtml; | version=2.0 | jsp:output doctype-root-element=html | doctype-public=-//W3C//DTD XHTML 1.0 Transitional//EN | doctype-system=http://www.w3c.org/TR/xhtml1/DTD/xhtml1-transitional.dtd/ | jsp:directive.page contentType=text/html/ | html | body | f:view | h:form enctype=multipart/form-data |table width=100% border=0 cellspacing=0 cellpadding=0 | tr | tdUpload Tasks/td | /tr | tr | td width=100%br/File
[jboss-user] [Installation, Configuration Deployment] - Re: JBoss AS 4.2.0.CR2 does not start
What are the contents of your /etc/hosts file? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038800#4038800 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038800 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Simplest s:fileUpload usage
This is the nature of a SLSB anonymous wrote : The contents of instance variables are not guaranteed to be preserved across method calls. or anonymous wrote : This means that everything a stateless session bean method needs to know has to be passed via the method's parameters. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038801#4038801 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038801 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: JBossCache and readonly transactions
- REPLICATION mode replicates everything is put inside the cache. This is bad because replicates everything, also objects that have not been modified, generating unnecessary traffic. - INVALIDATION mode tags objects that are out of date. This is bad because objects have to be reloaded into cache accessing the database. I think it would be better an hybrid approach: simply replicate changes. Andrea View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038803#4038803 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038803 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Jboss 4.0.1 does not work with oracle
org.jboss.util.NestedSQLException: Could not create connection; - nested throwable: (org.jboss.resource.JBossResourceException: Fail ed to register driver for: oracle.jdbc.driver.OracleDriver; - nested throwable: (java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver)); - nested t hrowable: (org.jboss.resource.JBossResourceException: Could not create connectio n; - nested throwable: (org.jboss.resource.JBossResourceException: Failed to reg ister driver for: oracle.jdbc.driver.OracleDriver; - nested throwable: (java.lan g.ClassNotFoundException: oracle.jdbc.driver.OracleDriver))) how to solve this error View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038804#4038804 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038804 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: Jboss 4.0.1 does not work with oracle.jdbc.pool.OracleDa
1) Read this first: http://www.jboss.com/index.html?module=bbop=viewtopict=59031 2) Start a new thread and try again View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038805#4038805 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038805 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Service MBean dependencies
Hello, I've a standard JBoss Service MBean that depends on two EJB 3.0, an entity (accessed by a stateless facade bean) and a message driven (that create and bind a JMS queue). The Service MBean implementation | import org.jboss.system.ServiceMBean; | | public interface MyServiceMBean extends ServiceMBean { | } | | import org.jboss.system.ServiceMBeanSupport; | | public class MyService extends ServiceMBeanSupport implements MyServiceMBean { | ... | } | jboss-service.xml | ?xml version=1.0 encoding=UTF-8? | !DOCTYPE server PUBLIC -//JBoss//DTD MBean Service 4.0//EN http://www.jboss.org/j2ee/dtd/jboss-service_4_0.dtd; | server | mbean code=MyService name=test:service=MyService | dependsjboss.j2ee:service=EJB3,name=MyEntityFacadeBean/depends | dependsjboss.j2ee:service=EJB3,name=MyMessageDrivenBean/depends | /mbean | /server | When I start up JBoss AS I got these messages: ... 11:36:58,286 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=test.ear,jar=test-bl.jar,name=MyMessageDrivenBean,service=EJB3 with dependencies: 11:36:58,286 INFO [JmxKernelAbstraction] persistence.units:ear=test.ear,jar=test-bl.jar,unitName=testpu 11:36:58,457 INFO [EJBContainer] STARTED EJB: MyMessageDrivenBean ejbName: MyMessageDrivenBean 11:36:58,457 WARN [MessagingContainer] Could not find the queue destination-jndi-name=queue/test 11:36:58,457 WARN [MessagingContainer] destination not found: queue/test reason: javax.naming.NameNotFoundException: test not bound 11:36:58,473 WARN [MessagingContainer] creating a new temporary destination: queue/test 11:36:58,488 INFO [test] Bound to JNDI name: queue/test ... 11:36:58,769 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=test.ear,jar=test-bl.jar,name=MyEntityFacadeBean,service=EJB3 with dependencies 11:36:58,769 INFO [JmxKernelAbstraction] persistence.units:ear=test.ear,jar=test-bl.jar,unitName=testpu 11:36:58,832 INFO [EJBContainer] STARTED EJB: MyEntityFacadeBean ejbName: MyEntityFacadeBean ... --- MBeans waiting for other MBeans --- ObjectName: test:service=MyService State: CONFIGURED I Depend On: jboss.j2ee:service=EJB3,name=MyEntityFacadeBean jboss.j2ee:service=EJB3,name=MyMessageDrivenBean --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- ObjectName: jboss.j2ee:service=EJB3,name=MyEntityFacadeBean State: NOTYETINSTALLED Depends On Me: test:service=MyService Looking at the JMX console everything seems to be ok, the service is registered (but it doesn't work), the EJB 3.0 its working and bounded and the message driven bean JMS queue is bounded. What I missing? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038806#4038806 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038806 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Failover scenario is not working
Thanks a lot! I have replaced the jboss-remoting related jars to the version2.2.0 in my application. Now the Sender application able to get Connection on Node1, if the Node0 fails. But the Receiver application throws the exception like: anonymous wrote : 2007-04-19 15:20:44,861 [main] WARN - Application re-initialization attempted | Got Message: [File1 - Message1File1 - Message2File1 - Message3File1 - Message4] | 2007-04-19 15:21:12,059 [Timer-1] WARN - | [EMAIL PROTECTED]: detected | failure on control connection Thread[control: Socket[addr=ddp4344.cptdomain.com/192.168.51.48,port=3197, | localport=2112],5,]: requesting new control connection | 2007-04-19 15:22:03,914 [Thread-8] WARN - Client attempted failover, | but no failover attempt has been detected on the server side. | We will now try again on the original server in case there was a | temporary glitch on the client--server network | 2007-04-19 15:22:15,900 [Thread-8] ERROR - Unable to retrieve address/port of secondary server socket | org.jboss.remoting.CannotConnectException: Can not get connection to server. | Problem establishing socket connection for InvokerLocator | [bisocket://192.168.51.48:4457/?NumberOfCallRetries=2clientMaxPoolSize=50clientSocketClass= | org.jboss.jms.client.remoting.ClientSocketWrapperdataType=jmsmarshaller= | org.jboss.jms.server.remoting.JMSWireFormatnumberOfRetries=1serializationtype= | jmssocket.check_connection=falseunmarshaller=org.jboss.jms.server.remoting.JMSWireFormat] | What could be the reason? Please Suggest me. Thanks Regards, Abdul Kareem View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038810#4038810 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038810 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Upgrade from Seam 1.1 to 1.2.1
I'm going to test that, but I had no problem deploying multiple jars with that components.xml included. It's only whan I have both jars and wars when problems start to appear. The same setup was working fine with Seam 1.1 and the documentation doesn't seem to indicate anything was changed with regard to deploying... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038812#4038812 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038812 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Help need in delplying JBoss Cache as a distributed cache
Hi guys. I am having troubling in deploying JBoss as a distributed cache. Can someone please have a look at my property configuration Your help will be very much appreciated ?xml version=1.0 encoding=UTF-8? !-- = -- !-- -- !-- Sample TreeCache Service Configuration -- !-- -- !-- = -- !-- -- !-- Defines TreeCache configuration -- !-- -- jboss:service=Naming jboss:service=TransactionManager !-- Configure the TransactionManager -- !-- org.jboss.cache.DummyTransactionManagerLookup -- !-- Isolation level : SERIALIZABLE REPEATABLE_READ (default) READ_COMMITTED READ_UNCOMMITTED NONE -- NONE !-- Valid modes are LOCAL, REPL_ASYNC and REPL_SYNC -- REPL_ASYNC !-- Just used for async repl: use a replication queue -- false !-- Replication interval for replication queue (in ms) -- 0 !-- Max number of elements which trigger replication -- 0 !-- Name of cluster. Needs to be the same for all clusters, in order to find each other -- GlueCache-GD !-- JGroups protocol stack properties. Can also be a URL, e.g. file:/home/bela/default.xml -- !-- UDP: if you have a multihomed machine, set the bind_addr attribute to the appropriate NIC IP address, e.g bind_addr=192.168.0.2 -- !-- UDP: On Windows machines, because of the media sense feature being broken with multicast (even after disabling media sense) set the loopback attribute to true -- UDP mcast_addr=228.1.2.3 mcast_port=48866 ip_ttl=64 ip_mcast=true mcast_send_buf_size=15 mcast_recv_buf_size=8 ucast_send_buf_size=15 ucast_recv_buf_size=8 loopback=true/ PING timeout=2000 num_initial_members=3 up_thread=false down_thread=false/ MERGE2 min_interval=1 max_interval=2/ !--FD shun=true up_thread=true down_thread=true /-- FD_SOCK/ VERIFY_SUSPECT timeout=1500 up_thread=false down_thread=false/ pbcast.NAKACK gc_lag=50 retransmit_timeout=600,1200,2400,4800 max_xmit_size=8192 up_thread=false down_thread=false/ UNICAST timeout=600,1200,2400 window_size=100 min_threshold=10 down_thread=false/ pbcast.STABLE desired_avg_gossip=2 up_thread=false down_thread=false/ FRAG frag_size=8192 down_thread=false up_thread=false/ pbcast.GMS join_timeout=5000 join_retry_timeout=2000 shun=true print_local_addr=true/ pbcast.STATE_TRANSFER up_thread=true down_thread=true/ !-- Whether or not to fetch state on joining a cluster -- false !-- The max amount of time (in milliseconds) we wait until the initial state (ie. the contents of the cache) are retrieved from existing members in a clustered environment -- 12 !-- Number of milliseconds to wait until all responses for a synchronous call have been received. -- 1 !-- Max number of milliseconds to wait for a lock acquisition -- 25000 !-- Name of the eviction policy class. -- org.jboss.cache.eviction.LRUPolicy 600 1 0 !-- Uncomment to get
[jboss-user] [JBoss Seam] - Re: Upgrade from Seam 1.1 to 1.2.1
No, but there was a change which prevented you trying to deploy the same component twice ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038814#4038814 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038814 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Regarding jbpm-identity
I to have been wrestling with this for some time now. I commented out the identities references in the Hibernate config (as directed by the documentation) and my app has now developed a problem where the class loader cannot find an AssignmentHandler file that previously worked fine. swimlane name=Approver | assignment class=.DecisionMakerAssignmentHandler | /assignment |/swimlane | | 09:47:07,959 ERROR [Delegation] couldn't load delegation class '.DecisionMakerAssignmentHandler' | java.lang.ClassNotFoundException: class '.DecisionMakerAssignmentHandler' could not be found by the process classloader | Section 11.11 from the Reference Manual stating jBPM includes an optional identity component that can be easily replaced by a company's own identity data store is just not working out like planned. - If you remove it, other things break. MG View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038815#4038815 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038815 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Failover scenario is not working
Please can you explain again clearly exactly what your set up is and what you are doing (killing process control-c or whatever)? Also can you post your code example? Thx View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038817#4038817 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038817 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: classcast exception
You don't need the narrowing anymore. use this code instead: |InitialContext ctx = new InitialContext(); |MyTestSession testSession = (MyTestSession)ctx.lookup(ejb/test/MyTestSessionBean/remote); | That's all!!! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038816#4038816 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038816 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Security Auto-Login Question
What about situation where we just don't know the first Seam page the user is going to hit? This is the case in portal environments. Just keep hitting the #{identity.login} everytime? | page view-id=/* action=#{identity.login} | /page | Or can we use @Factory or smt? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038818#4038818 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038818 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Failover scenario is not working
Also - you said version 2.2.0 - you meant 2.2.0.SP1? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038819#4038819 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038819 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Base Question
I started looking at JBPM some time ago, it looks great and very promissing, but now I'm finding it quite difficult to start with... lots of versions with lots of small details and bugs and little direct info... For now I have a basic question: How can I pass a value from a variable (that a user will input in the form) to a Class in an Action Handler in the next task? Thanks, Miguel p.s.: I already have the value in the variable but don't know how to use it in the class nor update it after the work in that class (if this can be done in the eclipse designer its perfect!) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038820#4038820 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038820 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Problems Jboss 4.2.0 RC2
Your deployment seems to contain web service endpoint declarations that refer to different context-root's. These have to be declared outside the scope of the service impl. you posted. I.e. port-component declarations are one possibility. Could you post the deployment descriptor that belongs to this deployment? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038821#4038821 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038821 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - JBPM too slow due to too mnany process instance
I work on an application which uses JBPM I use the method : | JbpmContext.getTaskMgmtSession().findPooledTaskInstances(List); | to find a list of ProcessInstance. Before, i had 20 or 30 ProcessInstance and it worked fine But today I have 1200 ProcessInstance and it's very slow (several seconds) Is it normal? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038822#4038822 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038822 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Converter
There is a method: public Object getAsObject(FacesContext facesContext, UIComponent uIComponent, String value) { I like to get a List that declarated as datamodel from conversation context: So like under just jsf: Object object = FacesContext .getCurrentInstance() .getExternalContext() .getRequestMap() .get(myBean2); In annotation doesn't work: @In Set fillList; The problem is that jsf conversation context doesn't now. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038823#4038823 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038823 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Upgrade from Seam 1.1 to 1.2.1
Ok, here goes. I tried as advised (using this in a single components.xml): components | component class=org.jboss.seam.remoting.messaging.SubscriptionRegistry install=true | property name=allowedTopicsclientNotificationTopic, inventoryNotifications/property | /component | /components and I got an error at deploy time: 2007-04-19 13:33:51,439 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/emp-filter]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener | java.lang.RuntimeException: Could not create Component: org.jboss.seam.remoting.messaging.subscriptionRegistry | at org.jboss.seam.init.Initialization.addComponent(Initialization.java:865) | at org.jboss.seam.init.Initialization.installComponents(Initialization.java:796) | at org.jboss.seam.init.Initialization.init(Initialization.java:503) | at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:33) | at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763) | ... When using this in a single components.xml: | components | component name=org.jboss.seam.remoting.messaging.subscriptionRegistry | property name=allowedTopicsclientNotificationTopic, inventoryNotifications/property | /component | /components I can deploy without error, but when I try to actually use remoting, I get: 13:25:16,997 ERROR [Remoting] Error | java.lang.IllegalStateException: No SubscriptionRegistry exists | at org.jboss.seam.remoting.messaging.SubscriptionRegistry.instance(SubscriptionRegistry.java:65) | at org.jboss.seam.remoting.messaging.SubscriptionRequest.subscribe(SubscriptionRequest.java:22) | at org.jboss.seam.remoting.SubscriptionHandler.handle(SubscriptionHandler.java:78) | at org.jboss.seam.remoting.Remoting.getResource(Remoting.java:110) | at org.jboss.seam.servlet.ResourceServlet.doGet(ResourceServlet.java:68) | at org.jboss.seam.servlet.ResourceServlet.doPost(ResourceServlet.java:77) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | ... Apparently I can't figure out which is the right place to insert that declaration... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038824#4038824 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038824 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: End conversation and redirect problem
Right :) damn, this is some hairy stuff... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038825#4038825 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038825 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Service MBean dependencies (on EJB 3.0)
Hello, I've a standard JBoss Service MBean that depends on two EJB 3.0, an entity (accessed by a stateless facade bean) and a message driven (that create and bind a JMS queue). The Service MBean implementation | import org.jboss.system.ServiceMBean; | | public interface MyServiceMBean extends ServiceMBean { | } | | import org.jboss.system.ServiceMBeanSupport; | | public class MyService extends ServiceMBeanSupport implements MyServiceMBean { | ... | } | jboss-service.xml | ?xml version=1.0 encoding=UTF-8? | !DOCTYPE server PUBLIC -//JBoss//DTD MBean Service 4.0//EN http://www.jboss.org/j2ee/dtd/jboss-service_4_0.dtd; | server | mbean code=MyService name=test:service=MyService | dependsjboss.j2ee:service=EJB3,name=MyEntityFacadeBean/depends | dependsjboss.j2ee:service=EJB3,name=MyMessageDrivenBean/depends | /mbean | /server | When I start up JBoss AS I got these messages: ... 11:36:58,286 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=test.ear,jar=test-bl.jar,name=MyMessageDrivenBean,service=EJB3 with dependencies: 11:36:58,286 INFO [JmxKernelAbstraction] persistence.units:ear=test.ear,jar=test-bl.jar,unitName=testpu 11:36:58,457 INFO [EJBContainer] STARTED EJB: MyMessageDrivenBean ejbName: MyMessageDrivenBean 11:36:58,457 WARN [MessagingContainer] Could not find the queue destination-jndi-name=queue/test 11:36:58,457 WARN [MessagingContainer] destination not found: queue/test reason: javax.naming.NameNotFoundException: test not bound 11:36:58,473 WARN [MessagingContainer] creating a new temporary destination: queue/test 11:36:58,488 INFO [test] Bound to JNDI name: queue/test ... 11:36:58,769 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=test.ear,jar=test-bl.jar,name=MyEntityFacadeBean,service=EJB3 with dependencies 11:36:58,769 INFO [JmxKernelAbstraction] persistence.units:ear=test.ear,jar=test-bl.jar,unitName=testpu 11:36:58,832 INFO [EJBContainer] STARTED EJB: MyEntityFacadeBean ejbName: MyEntityFacadeBean ... --- MBeans waiting for other MBeans --- ObjectName: test:service=MyService State: CONFIGURED I Depend On: jboss.j2ee:service=EJB3,name=MyEntityFacadeBean jboss.j2ee:service=EJB3,name=MyMessageDrivenBean --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- ObjectName: jboss.j2ee:service=EJB3,name=MyEntityFacadeBean State: NOTYETINSTALLED Depends On Me: test:service=MyService Looking at the JMX console everything seems to be ok, the service is registered (but it doesn't work), the EJB 3.0 its working and bounded and the message driven bean JMS queue is bounded. What I missing? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038826#4038826 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038826 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Converter
Try Component.getInstance(myBean2); View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038827#4038827 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038827 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Error while using Email validation Annotation
Hi All. I'm using @Email validation for validating email field,while compiling I'm getting an error like E:\workspace\SeamRegistration\examples\booking\src\org\jboss\seam\example\booking\User.java:117: cannot find symbol [javac] symbol : class Email [javac] location: class org.jboss.seam.example.booking.User [javac] @Email [javac] ^ [javac] 1 error Can anyone tell me why this error comes?Is there any need to add any class like Email? Thanks in advance. Sandy. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038828#4038828 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038828 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: ouject a non seam bean
You can't access injected beans in the constructor. Instead, use a method annotated with @Create to do this kind of initialization stuff. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038829#4038829 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038829 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Can i change default login (admin / admin) ?
If you just meant to change the password after the first boot, you can do it bu logging-in as admin, then edit your profile View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038830#4038830 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038830 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: JBossMessageEndpointFactory ClassNotFoundException when
I ran a simple test with your configuration and I am not seeing the error. What version of JBoss are you using? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038833#4038833 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038833 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Transition Exception Handling with Tasks
I am using jbpm 3.1.2. suppose there are two tasks. Task-A with actor-A Task-B with actor-B. Transition t from task-A to Task-B. i add an actionHandler in this transition t. At beginning, actor A has a task and triggers the transition t. If there is no exception-handler defined and this actionhandler throws an exception, then actor-B receive no new task and actor-A lost this task. so i add an default exception-handler which does nothing indeed. And now if the actionhandler throws exceptions, actor B will receive a new TaskInstance. TaskA of Actor A will be closed. but what i really want is in case the actionhandler throws exception, the actor A should still hold the task, and Actor B by no means receives any new tasks. How can I achieve this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038835#4038835 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038835 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Upgrade from Seam 1.1 to 1.2.1
Forgot about this. The first error is caused by: | Caused by: java.lang.IllegalArgumentException: no such setter method: org.jboss.seam.remoting.messaging.SubscriptionRegistry.install | at org.jboss.seam.util.Reflections.getSetterMethod(Reflections.java:219) | at org.jboss.seam.Component.initInitializers(Component.java:401) | at org.jboss.seam.Component.init(Component.java:263) | at org.jboss.seam.Component.init(Component.java:203) | at org.jboss.seam.init.Initialization.addComponent(Initialization.java:851) | ... 141 more View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038837#4038837 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038837 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Error while using Email validation Annotation
Make sure you have the correct import statement for the Email class View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038840#4038840 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038840 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Mail
I checked out today seam 1.2.1 and genereded with seam-gen a application, if i use mail-api, if call render.. i get follow excpetion: 12:44:08,377 ERROR [Regist] Error : org.jboss.seam.core.dispatcher is not installed in components.xml | Code: @Name(asynchronousMailProcessor) | @AutoCreate | public class AsynchronousMailProcessor | { |@Asynchronous |public void scheduleSend(@Duration long delay,Usr usr) { | try { | Contexts.getEventContext().set(usr, usr); | Renderer.instance().render(/emailtemplates/registmsg.xhtml); | } catch (Exception e) { | e.printStackTrace(); | } |} | } try{ | em.persist(usr); | asynchronousMailProcessor.scheduleSend(3000, usr); | return /registok.xhtml; | | }catch(Exception e){ | log.error( Error : + e.getMessage()); | log.error(e.getStackTrace()); | facesMessages.add(Registrierung fehlgeschlagen, versuchen es später nochmal.); | return null; | } View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038843#4038843 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038843 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mail
By default the dispatcher isn't in installed - add the entry to components.xml (you need as you are using an async method) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038844#4038844 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038844 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Invoking equals() on EJB
What the spec says about that? Looks like bug. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038847#4038847 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038847 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Regarding jbpm-identity
MGarl10024 wrote : | | Section 11.11 from the Reference Manual stating jBPM includes an optional identity component that can be easily replaced by a company's own identity data store is just not working out like planned. | - If you remove it, other things break. | | MG The identitity datamodel which you implement must provide three primary components. | 1. USER - key, name, password | 2. ROLE - key, rolename (There must be a role for every swimlane you specify in your diagram, this is the problem in your case) | 3. USERROLE - this is the tricky bit. | | | Every USERROLE must have a combination of a valid user and a valid role, and provide the means for the JDBCUserRealm implementation you choose (tomcat, jetty, jboss, etc) to lookup these associations.The one for tomcat is documented on the wiki. Here's the config I use for jetty's org.mortbay.jetty.security.JDBCUserRealm: | | | usertable: JBPM_ID_USER | | usertablekey: ID_ | | usertableuserfield: NAME_ | | usertablepasswordfield: PASSWORD_ | | roletable: JBPM_ID_GROUP | | roletablekey: ID_ | | roletablerolefield: NAME_ | | userroletable: JBPM_ID_MEMBERSHIP | | userroletableuserkey: USER_ | | userroletablerolekey: GROUP_ | | Note how I am using the default tables which are provided with the jbpm identity mechanism, but the specification of the keys and fields is the critical bit for the jbpm-console to do the lookups through the provided Realm. | | Unfortunately, the tomcat wiki pages are not clear enough about the fact that one must provide a complete JDBCUserRealm, with every field mapped, for things to work. | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038848#4038848 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038848 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Converter
With follow code i don't need to iterate through a list i get a value directly: public Object getAsObject(FacesContext facesContext, UIComponent uIComponent, String value) { | | SetDataModel sd = (SetDataModel) Component.getInstance(fillList); | |Filliale fill= (Filliale) sd.getRowData(); Why use almost examples iterating through a list? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038849#4038849 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038849 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen: behaviour of an generated app
Any comments? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038851#4038851 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038851 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Failover scenario is not working
https://svn.jboss.org/repos/repository.jboss.org/remoting/2.2.0.SP1/lib View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038852#4038852 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038852 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Difference between 'java: Namespace' and 'Global JNDI Namesp
Can somebody explain difference between 'java: Namespace' and 'Global JNDI Namespace'? Why is impossible to get Datasource via JNDI lookup without use-java-contextfalse/use-java-context? thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038853#4038853 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038853 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Difference between 'java: Namespace' and 'Global JNDI Na
The java: namespace can be accessed only by the clients which are within the same JVM as the application server. The global JNDI namespace is accessible for all clients (remote and local clients) even if they are not in the same JVM as the application server. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038855#4038855 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038855 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Failover scenario is not working
For anonymous access use: http://anonsvn.jboss.org/repos/repository.jboss.org/remoting/2.2.0.SP1/lib/ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038857#4038857 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038857 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Problem with building jBPM 3.2 from source code
I want to build the jBPM3.2 from the source code, and I followed the instructions as described in the link below: http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmBuildingTheSources But when I import this project into the eclipse, it shows some errors: - EndpointMetaData cannot be resolved to a type jbpm.3_HEAD/bpel/library/src/main/java/org/jbpm/bpel/integration/server JBossWS1_2EndpointMetadataLookup.java line 41 - MessageContextJAXRPC cannot be resolved jbpm.3_HEAD/bpel/library/src/main/java/org/jbpm/bpel/integration/server JBossWS1_2EndpointMetadataLookup.java line 39 - ServiceMetaData cannot be resolved to a type jbpm.3_HEAD/bpel/library/src/main/java/org/jbpm/bpel/integration/server JBossWS1_2EndpointMetadataLookup.java line 44 - SOAPMessageContextJAXRPC cannot be resolved to a type jbpm.3_HEAD/bpel/library/src/main/java/org/jbpm/bpel/integration/server JBossWS1_2EndpointMetadataLookup.java line 38 - SOAPMessageContextJAXRPC cannot be resolved to a type jbpm.3_HEAD/bpel/library/src/main/java/org/jbpm/bpel/integration/server JBossWS1_2EndpointMetadataLookup.java line 38 - The import org.jboss.ws cannot be resolved jbpm.3_HEAD/bpel/library/src/main/java/org/jbpm/bpel/integration/server JBossWS1_2EndpointMetadataLookup.java line 22 Anybody knows what is wrong with it? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038859#4038859 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038859 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Multiple catchall error
I'm getting this exception : java.lang.IllegalStateException: multiple catchall elements when using the following pages.xml : | !DOCTYPE pages PUBLIC | -//JBoss/Seam Pages Configuration DTD 1.2//EN | http://jboss.com/products/seam/pages-1.2.dtd; | | pages no-conversation-view-id=/home.xhtml | | page view-id=/newBlogEntry.xhtml | navigation from-outcome=succesful | end-conversation before-redirect=true / | redirect view-id=/blog.xhtml | param name=userId value=#{user.id}/ | /redirect | /navigation | navigation from-outcome=fail | /navigation | /page | | /pages | The idea is to stay on the same page when fail is returned from an action called in /newBlogEntry.xhtml, and to stay on the same page otherwise. I tried to model this by returning null when I want to stay on /newBlogEntry.xhtml, however, this still triggered the redirection to blog.xhtml. Now, I'm returning an explicit fail string, but now I can't view any pages in my web-app anymore because of the exception above... what's going on here? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038858#4038858 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038858 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: Rules editor doesnot sinalize error in Problems View
Encuse me, sinalize comes from a Portuguese word. So, again... :) where should I configure my Eclipse to indicate DRL files erros/warnings on Problems View? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038861#4038861 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038861 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: console url changed to http://localhost:8080/jbpm-consol
Hi Alexandre, You are correct, after setting the proxy details it is working. Thanks Prabhakar N. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038862#4038862 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038862 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user