[jboss-user] [JBoss jBPM] - Will context be opened if an exception have occured in try b

2007-04-08 Thread mallikarjunreddy
Hi, I am maintaining a "Transation" in that transaction I have opened the Context and Closed the context in that transaction if every thing is working fine with out any exception in that transaction then context will be opened and closed successfully. If any exception have occured after openin

[jboss-user] [JBoss Seam] - Re: About Identity login

2007-04-08 Thread waynebagguley
Also note that if you are using roles then there is a bug that doesn't clear them down when Identity.login is performed. This is fixed in CVS but not (as I am aware) in any release version. I think someone should make this more widely known as there is a workaround for it and it could compromise

[jboss-user] [JBoss Seam] - Re: Drop Down Lists using Facelets?

2007-04-08 Thread waynebagguley
If you are using Seam v1.2.1.GA or above you can use this instead: | | | | | This negates the need for a custom converter implementation as long as: The 'item' is an Entity bean Seam manages the persistence context The equals method of the entity bean returns true

[jboss-user] [Clustering/JBoss] - DB/Cluster Practice Question

2007-04-08 Thread rjstanford
We're planning to use JBoss to do clustering for a HA webapp in the near future. The question that I'm toying with is one of tying the JBoss cluster to a database cluster. Our original plan was just to use Oracle RAC, but there's certainly an investment there and it goes up fast if you need mo

[jboss-user] [JBoss Eclipse IDE (users)] - Re: Preferences->Deployer: An error has occured

2007-04-08 Thread [EMAIL PROTECTED]
use JBoss IDE 2.x with Eclipse 3.2.2 or use Eclipse 3.1.x with JBoss IDE 1.6 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035634#4035634 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035634 ___

[jboss-user] [JBoss/Spring Integration] - Re: Struts spring hibenate in jboss without jboss-deployer

2007-04-08 Thread [EMAIL PROTECTED]
hi, I packed all the three (struts - spring-hibernate) into .WAR file. is it ok? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035631#4035631 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035631 _

[jboss-user] [EJB 3.0] - Is Ejb3 embedable mature for production use?

2007-04-08 Thread fabio.ita04
Hi, I need to choose a configuration to deploy an application in production use. It uses EJB Persistence (JPA), so I think Tomcat + Embedable EJB3 would be a good choice. But I'm not sure if the current release is ready for production use. Now, I'm running without an EJB container, by directly

[jboss-user] [JBoss jBPM] - Re: Changes don't commit on the database

2007-04-08 Thread iantimothy
Hello. I'm guessing that somewhere in your code, you should be having these lines: JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance(); JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext(); // Your code below these lines... I think what you could try doing is put th

[jboss-user] [Installation, Configuration & Deployment] - install jboss mail server

2007-04-08 Thread leonz11
After installing jboss mail server M5 sucessfully on 4.0.5 AS, I got the following errors when I started the AS: 2007-04-08 16:38:36,453 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: [EMAIL PROTECTED] url=file:/C:/jboss4.0.5/server/default/deploy/mail.ear/, deploy

[jboss-user] [Beginners Corner] - Basic question with Spring with JBoss

2007-04-08 Thread vviswanadh
Hi Friends ,I am very new to Jboss, we are going to develop an application using Spring framework with JBoss app.server. So please can you guys direct me how to configure Spring in JBoss ,please share any examples etc. Thanks! Vish View the original post : http://www.jboss.com/index.html?modu

[jboss-user] [JBoss Eclipse IDE (users)] - Preferences->Deployer: An error has occured

2007-04-08 Thread [EMAIL PROTECTED]
Hi all, Eclipse->Window->Preferences->JBoss IDE->Deployer When I click on Deployer, I get "An error has occured. See error log for more details". Where's the error log? Why am I getting this error? Eclipse Version: 3.2.2 Build id: M20070212-1330 Ubuntu Edgy JBoss IDE 1.6.0 GA. View the origina

[jboss-user] [JBoss Seam] - Re: Multiple Domain Quesiton

2007-04-08 Thread rjstanford
"fhh" wrote : You said: | P.S.: When I said the "the hostname I use to reach your machine is entirely under my control" I was not talking about http referers. I was refering to the idea of the original poster to make security depend on the hostname you use to access the site. I generally agree

[jboss-user] [JBoss Seam] - Re: How to return to a previous page without conversations

2007-04-08 Thread waynebagguley
"[EMAIL PROTECTED]" wrote : Use jBPM pageflows in Seam if you want a statemachine controlling the navigation flow and preventing users from making illegal transitions. The concept of entry/exit points also needs to be added to this model though. | Does that stop me from fudging the URL manua

[jboss-user] [JBoss Seam] - Re: Drop Down Lists using Facelets?

2007-04-08 Thread jcranwellward
Thanks alot thats exactly what I need. Cheers, James View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035621#4035621 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035621 ___

[jboss-user] [JCA/JBoss] - Re: ra.xml for remote SonicMQ-Broker?

2007-04-08 Thread [EMAIL PROTECTED]
Ok, so you will need to talk to Sonic about getting the RAR file for deployment. This is the only way you will be able to deploy the adapter and have it function correctly. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035617#4035617 Reply to the post : h

[jboss-user] [JBoss Seam] - Re: EntityManager and Conversation contex

2007-04-08 Thread Kruno
Thanks, works great, I guess I wasn't paying attention when I was readinig the book :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035615#4035615 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035615 _

[jboss-user] [JCA/JBoss] - Re: ra.xml for remote SonicMQ-Broker?

2007-04-08 Thread fhh
Well, that is my problem. I haven't got a *.rar. I have only the *.jar without any configuration files. Regards Felix View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035616#4035616 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mod

[jboss-user] [EJB 3.0] - Re: How to find a container managed entity manager through J

2007-04-08 Thread fhh
>From the Seam docs (ch. 8.3.1): anonymous wrote : | Of course, you need to make sure that you have bound the EntityManagerFactory into JNDI. In JBoss, you can do this by adding the following property setting to persistence.xml. | | | | | | Regards Felix View the original

[jboss-user] [JBoss Seam] - Re: Drop Down Lists using Facelets?

2007-04-08 Thread Jark
Hi, i have done something similair in a schoolproject of mine. In this project we had a user who was a member of a certain organisation. On the useredit page you had to be able to change the organisation of the user by using an dropdown list. The big problem was to let it see a name rather tha

[jboss-user] [JCA/JBoss] - Re: ra.xml for remote SonicMQ-Broker?

2007-04-08 Thread [EMAIL PROTECTED]
anonymous wrote : | I have 1.) and creating 3.) from the examples shouldn't be too difficult. However, the second point is a major problem. As far as I know the ra.xml is vendor specific but Sonic doesn't have an example on their web site. | Correct, it is vendor specific and provides the

[jboss-user] [JBoss Seam] - Re: EntityManager and Conversation contex

2007-04-08 Thread petemuir
Use an Seam Managed Persistence Context http://docs.jboss.com/seam/1.2.1.GA/reference/en/html/persistence.html#d0e5419 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035610#4035610 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mod

[jboss-user] [JBoss jBPM] - Re: strange problem with many-to-one mapping in jbpm 3.2

2007-04-08 Thread camunda
Okay, I have investigated further. I use the DeployProcessCommand (committed to CVS HEAD one minute ago). If I call that from a test case in the jbpm project (which goes directly to the database), everything is working fine. Even if I switch to mySQL for the test-cases, no problem. No I execu

[jboss-user] [JBoss Portal] - Re: i cant build jboss portal

2007-04-08 Thread kimboj
Hi, I find the solution, we must use jdk 1.5 to build jboss portal. It is don't work with jdk 1.6. kim View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035602#4035602 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=40356

[jboss-user] [JBoss Seam] - Re: Drop Down Lists using Facelets?

2007-04-08 Thread quilleashm
Assuming Parent and Child entities where Child has a reference to parent. | | | | Tweak names as necessary. You'll need some converter in conjunction with this to convert an entity to a string and back. Look at the seam entity converter for this, I've not used it myself. HTH.

[jboss-user] [JBoss Seam] - Drop Down Lists using Facelets?

2007-04-08 Thread jcranwellward
I have a list of Java Entity Beans and I want to be able to display an attribute of the beans in a drop down style list box so once the user selects that entity, the reference for that object is stored in parent object. I'm not sure how to implement this, has any body done this before? Thanks f

[jboss-user] [JBoss Seam] - EntityManager and Conversation contex

2007-04-08 Thread Kruno
I read both books Seam Contextual components and JBoss® Seam: Simplicity and Power Beyond Java? EE from Safari but I can't seem to find the answer. I was under impression that persistence context is the same as hiberante session and that if @PersistenceContext(type = EXTENDED) that it would last

[jboss-user] [Installation, Configuration & Deployment] - JBoss-5.0.0.Beta2 installation problem

2007-04-08 Thread punx120
Hi, I'm new to JBoss AS, and I download the last beta to test it. After building without problems, I tried to launch it. But I experience problems. Since I'm not used to JBoss Configuration, it's hard for me to detect problems. I installed JBoss 4 with the installer and it works fine. Here

[jboss-user] [Security & JAAS/JBoss] - Need help in JAAS authentication / authorization in web appl

2007-04-08 Thread limnin
Hi, all. After perusing lots of posts, wikis and docs I'm still stuck with the next problem. I have my EJB3 application deployed to JBoss, security domain and the roles for beans methods all are correctly defined. I have my web application which consists of some AJAX (GWT) code which interacts

[jboss-user] [EJB 3.0] - Re: How to find a container managed entity manager through J

2007-04-08 Thread pxpwxj
may i get the clue. i got some posts which have the same problem. i will try follow those. tks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035590#4035590 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035590 _

[jboss-user] [JBoss Seam] - Re: Minimal JBoss configuration for seam

2007-04-08 Thread [EMAIL PROTECTED]
I'm using a plain JBoss AS 4.0.5 with the EJB 3 profile selected in the installer. My computer is a fast Macbook. Of course you can probably trim down the JBoss install some more, AFAIK there are some wiki pages about it somewhere. View the original post : http://www.jboss.com/index.html?modul

[jboss-user] [EJB 3.0] - Re: How to find a container managed entity manager through J

2007-04-08 Thread pxpwxj
oh,my god.Seam is such a big and complex system. How can i know its mechanism to bind a EntityManagerFactory to jndi. any clue? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035587#4035587 Reply to the post : http://www.jboss.com/index.html?module=bb&op=po

[jboss-user] [EJB 3.0] - Re: How to find a container managed entity manager through J

2007-04-08 Thread pxpwxj
tks,for all your help. really! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035589#4035589 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035589 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: How to return to a previous page without conversations

2007-04-08 Thread [EMAIL PROTECTED]
No idea when this will be available and in what form. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035586#4035586 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035586 ___

[jboss-user] [JBoss Seam] - Re: Minimal JBoss configuration for seam

2007-04-08 Thread spambob
"[EMAIL PROTECTED]" wrote : ...15 seconds from cache cold start. Redeploy takes about 5 seconds. So if you follow the getting started guidelines, you should see some other numbers already... Whats the spec of this machine from hell you use? I use an Core 2 Duo (Merom) with 2,13 GHz & 1GB Ram and

[jboss-user] [EJB 3.0] - Re: How to find a container managed entity manager through J

2007-04-08 Thread fhh
anonymous wrote : | i will remember your remind of to pay attention to thread safe.It is like the hibernate session from this aspect? | I don't know Hibernate very well but I guess it is. anonymous wrote : | But does a entitymanager hold too many resource,and i make one for each threa

[jboss-user] [EJB 3.0] - Re: need some help for session bean web service

2007-04-08 Thread shupingChen
when i use the axis to rewrite my ws client, i have another problem: AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: org.xml.sax.SAXParseException: Premature end of file. faultActor: faultNode: faultDetail: {http://x

[jboss-user] [JBoss Seam] - Re: How to return to a previous page without conversations

2007-04-08 Thread spambob
"[EMAIL PROTECTED]" wrote : ...we are currently working on a better concept that involves "entry points". Not sure yet how that will exactly look like in code and pages.xml... Do you know if this will make it into 1.3 (which hopefully will be availabe a short time after AS 4.2GA)? Or if not can

[jboss-user] [EJB 3.0] - need some help for session bean web service

2007-04-08 Thread shupingChen
when i develope session bean ws, i encountered the following problem: Exception in thread "main" java.lang.IllegalArgumentException: Cannot obtain wsdl service: {http://stateless.session.examples}ejb3test at org.jboss.ws.metadata.builder.jaxws.JAXWSClientMetaDataBuilder.buildMetaDataInt

[jboss-user] [EJB 3.0] - Re: How to find a container managed entity manager through J

2007-04-08 Thread pxpwxj
tks! i will remember your remind of to pay attention to thread safe.It is like the hibernate session from this aspect? But does a entitymanager hold too many resource,and i make one for each thread,the performance will be reduced? View the original post : http://www.jboss.com/index.html?modu

[jboss-user] [JBoss Seam] - Re: How to return to a previous page without conversations

2007-04-08 Thread [EMAIL PROTECTED]
Use jBPM pageflows in Seam if you want a statemachine controlling the navigation flow and preventing users from making illegal transitions. The concept of entry/exit points also needs to be added to this model though. View the original post : http://www.jboss.com/index.html?module=bb&op=viewto

[jboss-user] [JBoss Seam] - Re: How to return to a previous page without conversations

2007-04-08 Thread waynebagguley
Along with the new entry-point concept, will you be adding something to prevent a user from jumping to a page out of sequence? Currently I can easily skip to a page as long as I put the conversation id in the URL, I then get a useless page but I fear that this might lead to security holes. It

[jboss-user] [JBoss Seam] - Re: Argh! Where is the cid coming from?

2007-04-08 Thread waynebagguley
I think what you want to use is a nested conversation. This can be done either by annotating the method with @Begin(nested=true), by adding to the , or by using in pages.xml. Conversations are stack based. I'd suggest you spend some time reading the docs about them as they are central to Sea

[jboss-user] [Installation, Configuration & Deployment] - jboss-5.0.0.Beta2.zip auto deploy of .ejb3?

2007-04-08 Thread aron-smith
I unzipped it and prayed that the remoting fix for Java 1.6 was included. But I dropped in my .ejb3 file and no automated deployment. It used to be the default in 4.0.4. I am using ejb3 and how can get back my auto deploy? thanks View the original post : http://www.jboss.com/index.html?mod

[jboss-user] [JBoss Seam] - Re: About Identity login

2007-04-08 Thread [EMAIL PROTECTED]
Just override the login message, set it to null if you don't want to display it. The seamspace example demonstrates how to do this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035572#4035572 Reply to the post : http://www.jboss.com/index.html?module=bb&o