[jboss-user] [JBoss jBPM] - Idea for execution without using recursion.

2007-12-31 Thread mingfang
Using v3.1.4... 1-In Node.java, comment out line 375 //transition.take(executionContext); 2-In Token.java, put this after line 184 Transition nextTransition = null; while ((nextTransition = executionContext.getTransition()) != null) { nextTransition.take(executionContext); }

[jboss-user] [Installation, Configuration DEPLOYMENT] - Quartz scheduler issue in hot deployment in JBoss

2007-12-31 Thread javatechleadatsynechron
Hi All, I am facing a weird problem in my J2EE app. I am using spring and springs quartz scheduler utility to schedule my jobs in web app. When ever i do nor mal deployment (cold deployment) every thing goes smooth. But if i redploy the ear while server is running (hot deployment) then

[jboss-user] [JBoss Seam] - Re: Seam 1.2.1 - Seam 2.0: converters MIA

2007-12-31 Thread s.de.kaper
That sounds unnecessary (not to mention a hassle) for a project that was already working fine in seam 1.2 . Besides, I tried the relevant XML files from the Seam 2.0 examples, and that didn't help either. Can this be due to the change from MyFaces to Sun's RI ? If so, where do I look for a

[jboss-user] [JBoss Seam] - Re: Design question with Rich GWT Ajax Client

2007-12-31 Thread sdegardin
I tried on the same application using the same config and the same EJB's. t works as expected when using JSF. However, when I do the same from my hand made Servlet using either ContextualHttpRequest or manualy start Seam context as in the SoapHandler It Does not work and I have the above

[jboss-user] [JBoss Seam] - Re: Don't use DTDs in your .xml files

2007-12-31 Thread [EMAIL PROTECTED]
Please a JIRA issue for a better error message from Seam if the dtd/xsd can't be found View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4116159#4116159 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4116159

[jboss-user] [JBoss Seam] - Re: injection in tests ?

2007-12-31 Thread [EMAIL PROTECTED]
It depends on which sort of test you are doing... So, which one? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4116160#4116160 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4116160

[jboss-user] [JBoss Portal] - reset render parameters on page selection (JBoss Portal 2.4

2007-12-31 Thread engela
Is it possible to reset the render parameter for all portlets on a page or the entire portal? And how could I achieve this? I am using the JBoss Portal 2.4 and there are two occasions where I would like to present the default view of a page to a user (i.e. the view he sees when visiting the

[jboss-user] [JBoss Seam] - Re: Seam BPM - is there a way to 'filter' taskInstanceList

2007-12-31 Thread javabeats
I was hoping I could avoid a custom implementation, but it seems the only (proper) way to go here, indeed. Thanks for your reply :D Rodrigo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4116162#4116162 Reply to the post :

[jboss-user] [JBoss Seam] - One Seam component calling another

2007-12-31 Thread breako
Hi, I know it is very easy for a JSP or XHTML to refer to a Seam component through an EL. However I am wondering how one Seam component refers to another? I do not wish to have one Seam component instantiating another, I wish one to look the other up, similar to EJB? Any ideas? Thanks in

[jboss-user] [JBoss Seam] - Re: One Seam component calling another

2007-12-31 Thread sdegardin
Hello, As far I know, there are 2 ways : 1: use @In annotation. (recommended) 2: use Component.getInstance() (from non-seam component) Have a look for options in booth technique. Correct if I'm wrong. Cheers, View the original post :

[jboss-user] [JBoss Tools (users)] - (empty) seam web project fail?

2007-12-31 Thread brunosm
Hello I am not able to create one seam project with the wizard... Further than 2 small warnings (cant find one variable called projectName)... I get one error on deployment (i didnt add any file nor code...just the one that the wizard create) in org.jboss.seam.servlet.SeamListener The error

[jboss-user] [JBoss Seam] - Re: Creating several objects in one transaction.

2007-12-31 Thread breako
evdelst wrote : Easiest is to add the persons to a list you store in the bean. | | eg. | | private Person person; | | | | private ListPerson list=new ArrayListPerson(); | | | | void add() { | |list.add(person); | | person = new Person(); | | ) |

[jboss-user] [JBoss jBPM] - Re: where is org.jbpm.delegation package in jbpm-jpdl-3.2.2

2007-12-31 Thread birkan
due to the outdated document I followed, I was asking such a question.. But I think sb could just warn me about it.. Anyways, thx.. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4116168#4116168 Reply to the post :

[jboss-user] JBoss AS: JMXException when starting JBoss with JBossTools

2007-12-31 Thread Nicole Schweighardt
Hello, I´m new to Jboss and Jboss Tools. I tried to start Jboss (4.2.2 GA) with Eclipse and Jboss Tools. In the console there appears the message that the server started successfully. 13:43:16,613 INFO [Server] Starting JBoss (MX MicroKernel)... 13:43:16,613 INFO [Server] Release

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: cant start jboss 5 beta 3 from eclipse

2007-12-31 Thread Wolfgang Knauf
Hi ! I assume you use Eclipse 3.3 and WebTools 2.0 ? In Preferences - Server, there is a setting Server timeout delay. Set it to unlimited. Hope it helps Wolfgang View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4116170#4116170 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Seam 1.2.1 - Seam 2.0: converters MIA

2007-12-31 Thread s.de.kaper
I solved the problem. The solution was using h:outputText instead of h:outputFormat. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4116171#4116171 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4116171

[jboss-user] [JBoss Seam] - Re: Don't use DTDs in your .xml files

2007-12-31 Thread EricJava
Done: http://jira.jboss.org/jira/browse/JBSEAM-2441 But this really is a long-standing bug / deficiency in dom4j. It should have various configuration options of what to do if a DTD can't be found: 1. Silently ignore the problem and continue parsing 2. Throw an exception that says, I don't

[jboss-user] [JBossWS] - problem with jbossws examples

2007-12-31 Thread b_
Hi all, I was able to get the jaxrpc-rpc style sample that is shipped with the jbossws 1.0.4.GA up and running. After running the build script in the samples root folder , i grabbed the .jar and .war generated in the samples/output/libs and dropped them into the jboss deploy folder. I also

[jboss-user] [JBoss Seam] - Flex + Seam example not working

2007-12-31 Thread javidjamae
I tried to get the Flex + Seam example from the wiki working, using the instructions they give: anonymous wrote : 1. extract files to the SEAM-HOME/examples/remoting/helloworld/view dir | 2. run ant | 3. deploy seam-helloworld.ear | 4. Open a browser and go to

[jboss-user] [EJB 3.0] - Re: Ejb 3 in Jboss 5 Beta 3

2007-12-31 Thread sampatn
I am having the same problem too. I downloaded the jboss beta3. wrote a sample HelloWorld Stateless session bean and I found the same problem. 14:29:56,178 INFO [EJBContainer] STARTED EJB: com.ns.learn.ejb3.beans.helloworld.HelloUserBean ejbName: HelloUserBean 14:29:57,304 INFO [EJBContainer]

[jboss-user] [JBoss Seam] - Error after migration to the seam 2.0

2007-12-31 Thread miloslav.vlach
Hi all, I have migrated my aplication from 1.2.1GA (myfaces) to the 2.0.1GA with the JSF 1.2. I have an entity named Request. But in the page is automaticaly outjected component named request type RequestFacade. But my aplication use the request as the name of the entity. Know somebody how to

[jboss-user] [JBoss Seam] - Re: Event notification of conversation-timeout

2007-12-31 Thread jacob.orshalick
A JIRA issue has been raised: http://jira.jboss.com/jira/browse/JBSEAM-2442 Included the conversationId along with the event so that you actually know what conversation it was that timed out ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4116178#4116178

[jboss-user] [JBoss Seam] - Re: injection in tests ?

2007-12-31 Thread berkay
Hi Pete, It must be unit testing. Here is what I have tried with best of my knowledge. Here is my @BeforeClass method : @BeforeClass | public void init(){ | try { | HibernateSessionFactory hsf=new HibernateSessionFactory(); |

[jboss-user] [EJB 3.0] - Re: Ejb 3 in Jboss 5 Beta 3

2007-12-31 Thread sampatn
However, no null pointer exception was thrown if jar did not exist in deploy directory and copied later on after server was started. Is this a problem with the deploy/initialise order? Nilesh ## successful start only if jar did not exist in deploy directory but later on deployed after

[jboss-user] [EJB 3.0] - Re: Ejb 3 in Jboss 5 Beta 3

2007-12-31 Thread sampatn
sorry However, no null pointer exception was NOT thrown ..and deployed later on i.e. after server was started. sampatn wrote : However, no null pointer exception was thrown if jar did not exist in deploy directory and copied later on after server was started. | | Is this a problem with

[jboss-user] [JBoss Seam] - Re: One Seam component calling another

2007-12-31 Thread breako
sdegardin wrote : | 1: use @In annotation. (recommended) | Thanks for your suggestion. I used the @In annotation but the problem is that the second Seam component does not get it's Seam managed EntityManager set up correctly. Basically, I have two Seam components both involved in the

[jboss-user] [JBoss Seam] - Re: Using Seam and Groovy together question

2007-12-31 Thread Fangzx
About hot deployment: When I use java to write service component, and modify the java source code, hot deployment take effect. But when I use groovy to write service component,the hot deployment effect disappear. Can anyone help me? View the original post :

[jboss-user] [JBoss Seam] - Re: selectItems and enums

2007-12-31 Thread UTDrew
I have been unable to find any example of using something like #{EnumClass.values()} in the documentation. When I try it seam tries to resolve EnumClass as a managed component and fails. Can anyone help me out here? | s:selectItems value=#{EnumClass.values()} / | s:convertEnum / |

[jboss-user] [JBoss Getting Started Documentation] - JBoss installing with test and production database connectio

2007-12-31 Thread bbleafs
I have a JBoss application that I build into a Jar file and place in the server/default/deploy directory of my JBoss installation. The applications deploys perfectly. What I want to do is have two versions of my application deployed on the same JBoss server. The code will be intentical

[jboss-user] [JBoss Seam] - Re: GWT and SeamResourceServlet

2007-12-31 Thread dbgroups
I have not solved this problem either and has not time to closely look at how SeamResourceServlet is integrated with GWT. Following are what i have tried and still Not able to solve a simple RPC call yet. 1) Starting from Seam-2.0.1CR1, i rearrange jpa booking example to make sure that it

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: cant start jboss 5 beta 3 from eclipse (needs WTP2 to co

2007-12-31 Thread wiggy
its the wtp2.0 base that provides the timeout option - kinda remebered hearing about and my europa build came with wtp1.5 like most peoples i think. I found you update after i tried to get a complete new build. I had to go to the eclipse wtp site and got the 3.4m3 build and overlaid all

[jboss-user] [Clustering/JBoss] - JBoss TreeCache

2007-12-31 Thread edietsmda
Hello, I currently have JBoss 4.0.3SP1 and have it running using clustering. When I start my 1st node, it seems it retains all the previous instances of that node in the TreeCache. I'm trying to clear this cache. View below - GMS: address is qasite40:32793

[jboss-user] [JBoss Seam] - Schedule Reports to Run Daily at Certain Time

2007-12-31 Thread djeverson
We have a requirement to produce daily reports that are always ran at the same time of the day. These reports are run in a batch mode. Within our Seam application, users can also schedule their own reports to run based on their preference. To meet the second requirement, we have configured

[jboss-user] [JBoss jBPM] - Finding all tokens in ProcessDefinition?

2007-12-31 Thread jruud
I would like to iterate through all the tokens in a ProcessDefinition (in order to print out the token.getId() for each node). However, very likely because I don't understand how the jbpm engine code is supposed to work, I'm only getting the root token back, even when the diagram contains

[jboss-user] [JBossWS] - Re: Problem starting user guide

2007-12-31 Thread b_
Hi i'm having the same problem ... i added the TrivialService.class to the classpath but to no avail. Can you please tell me how you solved the problem ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4116203#4116203 Reply to the post :

[jboss-user] [JBoss Seam] - using setParameterList with the EntityManager query

2007-12-31 Thread jrwsampson
I need to be able to select with an IN query and a collection... something like this: | createQuery(from Campaign campaign where campaign.advertiser in (:advertisers) order by advertiserId).setParameterList(advertisers, selectedAdvertisers) | The EM doesn't support the setParameterList

[jboss-user] [Remoting] - Worker thread initialization failure

2007-12-31 Thread vaidya1973
Hi, I have been using jboss 4.0.4.GA and have been happy with it . When i switched over to use jboss 4.2.1, I am getting the following marshalling exceptions .. 15:45:34,441 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8 080 15:45:34,492 INFO [AjpProtocol] Starting Coyote

[jboss-user] [JBoss Seam] - Re: Flex + Seam example not working

2007-12-31 Thread trouby
Hey, I'm not sure what went wrong for you but I tried the example and it works pretty well, it requires extra code(transferring objects between both sides is not that easy) and it's not safe typed with the approach that is used in the example, If you are planning to heavily use these both

[jboss-user] [JBoss Seam] - Re: Flex + Seam example not working

2007-12-31 Thread javidjamae
Thanks for the response. What versions of Seam and JBoss AS did you use? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4116207#4116207 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4116207

[jboss-user] [EJB/JBoss] - JNDI Lookup error after deploying EJB3 jar as a part of J2EE

2007-12-31 Thread irajeev
hi, I have deployed the EJB3 jar(having 1 stateless session EJB) in the J2EE 1.4 EAR in JBOSS 4.0.4. The log file and the JNDI dump(from the JMX admin screen) show that the EJB has been deployed. But when I try to lookup the EJB from an external standalone java program I get the following

[jboss-user] [JBoss Seam] - Re: One Seam component calling another

2007-12-31 Thread gsegura
Hi, it could be just the different variable name: private EntityManager em; and private EntityManager entityManager; regards View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4116210#4116210 Reply to the post :

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2007-12-31 Thread trouby
Hey, I still don't get it, what about links that -should- start a new conversation? is it possible to combine begin/end annotations together for the same method? like ending the current conversation and starting a new one? btw, I have a seam link which invoke an method that is annotated with

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Exception with Toplink

2007-12-31 Thread vaidya1973
Has anyone seen this exception. I am running jboss 4.0.4-GA and am using jpa with toplink essentials to read from the database .. Caused by: javax.persistence.PersistenceException: Exception [TOPLINK-28018] (Or acle TopLink Essentials - 2.0 (Build b41-beta2 (03/30/2007))): oracle.toplink.es

[jboss-user] [Beginners Corner] - Re: Problem starting service persistence.units (ClassCastEx

2007-12-31 Thread mjhammel
Thanks for the reply. I removed all jar files from the ear file. Only the EJB class files are in the EAR now (other than XML config files). I also ran the jmx-console suggestion, plugging in org.hibernate.type.StringType as the class to search for. Only one occurance was found, in the

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2007-12-31 Thread gus888
trouby wrote : I guess I'm doing something wrong, as in seam booking example the 'setHotel' is annotated with @Begin and can be invoked many times without this exception No, you didn't do anything wrong. As I posted above, the @Begin in booking example always was invoked in the same bean

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2007-12-31 Thread trouby
So if the same method that is annotated with @begin is invoked within the same bean -instance- a new conversation is created without exception? what's the difference between a new conversation starting from the same bean instance or from different bean instance? why the behavior is different?

[jboss-user] [JBoss Seam] - Re: Seam 2.0.0.0GA + Maven2 doesn`t work...

2007-12-31 Thread ruettimac
Hi, Check out http://www.michaelyuan.com/blog/2007/10/09/jboss-seam-project-setup-with-maven-?-part-2-ear-deployment/ Regards, Cyrill View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4116218#4116218 Reply to the post :

[jboss-user] [JBoss Seam] - Re: One Seam component calling another

2007-12-31 Thread sdegardin
gsegura wrote : Hi, | it could be just the different variable name: | | private EntityManager em; | and | private EntityManager entityManager; | | regards and if you don't want to use component name has field name, specify the component name in the value parameter of the In

[jboss-user] [Clustering/JBoss] - Re: The need to cluster a Stateless session bean

2007-12-31 Thread niefeng
Thanks for the reply, Since the Jboss AS has build in the logic to detect the invocation is within the same VM, so the EJB call we make default is set to not using remote invocation. Thus, we dun really need to mark the session bean as clusterable. View the original post :