[jboss-user] [JBoss Seam] - Re: HowTo: When going to a page to enter data, pull from db

2007-04-20 Thread saeediqbal1
Problem Now one problem was fixed that it picked up stuff from database. But if the row does not exist, and then when i put stuff in the form and say save/submit ... it saves blank values. nothing null This is what my xhtml page has at the bottom. Basically it was all generated by seam-gen (

[jboss-user] [JBoss Seam] - Re: What is the difference between EJB and POJO transactions

2007-04-20 Thread [EMAIL PROTECTED]
Also note that system transactions and conversations are not related in a Seam application. These are independent contexts with a quite different scope. System transactions are short, conversations are potentially long-running and spanning several requests. View the original post : http://www

[jboss-user] [JBoss Seam] - Re: What is the difference between EJB and POJO transactions

2007-04-20 Thread [EMAIL PROTECTED]
I haven't read the book, but the three basic transaction models are - EJB/CMT: You have EJB components (session beans, MDBs) and you call these EJB components from whatever other code. By default, a system transaction will begin when an EJB method is called and it will be committed when that met

[jboss-user] [JBoss Seam] - Re: Handling Expired Password Best Practice

2007-04-20 Thread [EMAIL PROTECTED]
No I'm not coming, but Gavin will be there and perhaps some of the other guys - I'm not sure exactly who plans to go. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039493#4039493 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=

[jboss-user] [JBoss jBPM] - How to integrate jboss-jbpm with myeclipse

2007-04-20 Thread trekker880
hi all, i am facing the problem to switch to the jbpm view in myeclipse. can anybody sort it out how to switch to the view specifice to the jbpm. thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039490#4039490 Reply to the post : http://www.j

[jboss-user] [JBoss Seam] - Re: Integrating Tomahawk with Seam

2007-04-20 Thread aront54
As noted in my post, I added the mappings to my web.xml and that just made my application crash. I tried both the "servlet-name" alternative and the "url-pattern" one. Does the tomahawk,jar have to be in the web-inf/lib director or is it sufficient that its in the server-->jbossas-tomcat--> lib

[jboss-user] [JBoss Seam] - Re: Handling Expired Password Best Practice

2007-04-20 Thread saeediqbal1
shane you coming to java one? who will come from jboss seam team? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039487#4039487 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039487 _

[jboss-user] [JBoss Seam] - Re: HowTo: When going to a page to enter data, pull from db

2007-04-20 Thread saeediqbal1
Awesome it worked first time i tried. OK i have a suggestion or just brainstorming for what was produced initially by seam-gen in my code. For example in the xhtml it had this | entrya | | | | i had

[jboss-user] [JBoss Seam] - Re: HowTo: When going to a page to enter data, pull from db

2007-04-20 Thread saeediqbal1
"CptnKirk" wrote : | | For the most part though, if I'm simply going to initialize a variable that I'll use later within a controller's action method, putting the @Factory on a method within the controller is the way I go. Where would you initialize the variable? In the same object right?

[jboss-user] [JBoss Seam] - Re: Handling Expired Password Best Practice

2007-04-20 Thread [EMAIL PROTECTED]
How about something like this? | | | | | | | | | Inside your authentication method you'd need to put your user object into session scope, and it would need to hav

[jboss-user] [JBoss jBPM] - Integrating jBPM - DuplicateMappingException

2007-04-20 Thread dilipdalton
We are looking at integrating a workflow engine into our product and I am currently investigating jBPM. I am having some problems trying to integrate the jBPM library into our existing JBoss application. Our existing application uses Hibernate. I get a DuplicateMappingException with jBPM becaus

[jboss-user] [JBoss Seam] - Re: Conversation Id in custom servlet

2007-04-20 Thread [EMAIL PROTECTED]
Are you using the ContextFilter? And is your conversation-id-parameter really "conversationId", or is it something else? (e.g. "cid") View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039481#4039481 Reply to the post : http://www.jboss.com/index.html?module=b

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Query with Order By Statement fails with EJBException:Nu

2007-04-20 Thread fhh
task.project could evaluate to null. Regards Felix View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039480#4039480 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039480 ___ jb

[jboss-user] [JBoss Seam] - What is the difference between EJB and POJO transactions?

2007-04-20 Thread grettke_spdr
Reading the excellent Yuan/Heute book, he talks about the fact that transactions are enabled by default for all EJB 3 session beans. The transaction begins when the conversation begins, and ends when the conversation ends. It goes on to talk about POJO transactions, this is where it gets a bit

[jboss-user] [JBoss Seam] - Is there an easy way to create a pulldown with all available

2007-04-20 Thread zzztimbo
I have a more specific question about how to create a pull down with all available time zones. There is localeSelector.supportedLocales that gives me available locales so that I can populate my selectItems, but is there something similar for TimeZone? View the original post : http://www.jbo

[jboss-user] [JBoss Seam] - Conversation Id in custom servlet

2007-04-20 Thread dustismo
Hello, I have a custom servlet that serves custom generated graphs (many of them per page). I notice that every time there is a request to the servlet a new conversation is created, even though I am passing the conversationId to the servlet. My page code looks like: | | Am I doing som

[jboss-user] [JBoss Seam] - Re: Conversation binding workaround

2007-04-20 Thread petemuir
Exactly. @Name("binding") | @Scope(EVENT) | public class Binding { | // Do your binding here | } @Name("numberGuess") | @Scope(ScopeType.CONVERSATION) | public class NumberGuess implements Serializable { | |@In Binding binding | |// Do work on the binding in your met

[jboss-user] [JBoss Seam] - @PersistenceUnit in error: EMPTY STRING unitName

2007-04-20 Thread anarinsky
I am trying to use TestNG in my application. When I included resources into the application classpath I received the following exception: java.lang.RuntimeException: Field private javax.persistence.EntityManager com.scea.sp8.ProjectAddBean.em @PersistenceUnit in error: EMPTY STRING unitName bu

[jboss-user] [JBoss Seam] - Using enhanced EL

2007-04-20 Thread twocoasttb
When selecting an entity from a list (like in the hotel booking example), does the source of the list have to be a DataModel? The following isn't working for me: | | | | | Last Name | | | | First Nam

[jboss-user] [JBoss Seam] - Re: How To Cancel Update in Home Object

2007-04-20 Thread gzoller
Many thanks for the tip. No, this isn't quite what I'm after, but it looks quite handy for something else, so much obliged. I finally got the old/new thing working by simply holding a transient property that is saved off in the setter of the field I want to access old/new values for. View the

[jboss-user] [JBossCache] - Re: Node locking question

2007-04-20 Thread genman
Look at this example: http://labs.jboss.com/file-access/default/members/jbosscache/freezone/docs/1.4.0/TreeCache/en/html/transactions.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039457#4039457 Reply to the post : http://www.jboss.com/index.html?mod

[jboss-user] [JBoss Seam] - Seems to be a bug

2007-04-20 Thread KoniKoni
Environment jboss as 4.2.0CR2, seam 1.2.1 cvs today. Value of selectOneMenu will not be set: 1. |@In(required=false) | @Out(required=false) | private Kfz kfz; | | @DataModel | private List bearbkfzList; | |@Begin(join=true) | public String sear

[jboss-user] [JBoss Seam] - Re: Integrating Tomahawk with Seam

2007-04-20 Thread atao
anonymous wrote : | I was thinking perhaps we need to add the configuration to JBoss not our app, since the MyFaces stuff is in JBoss but I couldnt find anything on the JBoss site except in some forums people say they do have this configured. | Tomahawk works fine with application configur

[jboss-user] [JBoss Seam] - Re: s:fragment in dataTable

2007-04-20 Thread [EMAIL PROTECTED]
Well I hope that this post helps someone who got as frustrated as myself. tis like second nature to do this: | | | |

[jboss-user] [Messaging, JMS & JBossMQ] - Re: confirming that referential integrity is not possible.

2007-04-20 Thread genman
Er, the SQL statements are in the .xml file, the order and use are in the class file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039449#4039449 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039449

[jboss-user] [JBoss Seam] - Re: s:fragment in dataTable

2007-04-20 Thread petemuir
Not really, this is just JSF ;) Better errors/warnings for this kind of thing are on the cards for JSF 2. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039446#4039446 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039

[jboss-user] [Messaging, JMS & JBossMQ] - Re: confirming that referential integrity is not possible.

2007-04-20 Thread genman
Adding ref. integrity might not hurt performance that much and might work okay actually. You can find the SQL statements in the source code to org.jboss.mq.pm.jdbc2.PersistenceManager . View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039448#4039448 Reply to

[jboss-user] [JBossCache] - Re: Node locking question

2007-04-20 Thread darose
"genman" wrote : There used to be a Node.putAll(Map map, boolean erase) method. | | The thread safe way (at the moment) is to use a transaction. But ... I thought that transactioning was automatic and completely hidden away from the user. Is that incorrect? If so, how would I go about wrap

[jboss-user] [Clustering/JBoss] - Re: Cluster is loosing his master

2007-04-20 Thread bernd.koecke
No I don't have FD_SOCK next to FD. I saw the doubled node when the whole cluster had a high load with lots of garbage collection runs. That was the reason why I thought that the use of FD_SOCK will lessen the likelihood of the problem, but it still can happen, especially when a node takes a GC

[jboss-user] [JBossCache] - Re: Arrays of Objects

2007-04-20 Thread genman
AFAIK, not yet. Fine-grained replication does work for collection classes (Set, List, Map). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039442#4039442 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039442 __

[jboss-user] [JBoss Seam] - Re: s:fragment in dataTable

2007-04-20 Thread [EMAIL PROTECTED]
Could this be added to the manual? I put fragemnts round a LOT of stuff... and this is hell of a gotcha as there is NO clue why stuff just aint appearing! JSF kindly dont put out any mesasges... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039441#4039441 Re

[jboss-user] [JBoss Seam] - Handling Expired Password Best Practice

2007-04-20 Thread djeverson
Hi, Our environment JBoss 4.0.5, Seam 1.2.1, Facelets As part of our login use case, we have a requirement that the user's password must be changed within a defined period. We attempted to implement this functionality by throwing an Exception in the Authenticator class: | if (user.isPassw

[jboss-user] [JBoss Seam] - Re: s:fragment in dataTable

2007-04-20 Thread petemuir
h:column must be a direct child of h:dataTable View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039438#4039438 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039438 ___ jboss-us

[jboss-user] [JBoss Seam] - s:fragment in dataTable

2007-04-20 Thread [EMAIL PROTECTED]
given : | | | | | | | | | | | | | | | | | | The last fragment, that comes before a causes the to not be rendered in a dataTable. IS THIS A BUG? Also.. it a

[jboss-user] [JBossCache] - Re: Node locking question

2007-04-20 Thread genman
There used to be a Node.putAll(Map map, boolean erase) method. The thread safe way (at the moment) is to use a transaction. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039436#4039436 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting

[jboss-user] [JBoss Portal] - Re: JBoss Portal 2.6 Alpha 2 Release

2007-04-20 Thread [EMAIL PROTECTED]
"anders3" wrote : | No worries I understand maven is not "hot" for some developers at the moment. | I would just like to see poms in the trunk, in order to getting the maven process started. | | Like it or not. Maven can increase the market for the portal. | PS: I never said ant

[jboss-user] [JBoss Messaging] - Re: Too many open files

2007-04-20 Thread genman
What does "netstat" and "lsof" display? You should be able to identify if there are leaking sockets. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039433#4039433 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039433 _

[jboss-user] [JBoss Seam] - Integrating Tomahawk with Seam

2007-04-20 Thread aront54
We want to use some of the Tomahawk extensions to MyFaces. We followed the instruction here to get the Tomahawk jar loaded with JBoss: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossWithIntegratedMyFaces The problem is, since we are using Seam we are using Facelets not jsp's. So we followed the

[jboss-user] [JBoss Seam] - Re: entity-query / restrictions

2007-04-20 Thread petemuir
I would do this using your example object public class ExampleFoo extends Foo { |private boolean showClosedObject; |// getters and setters | |public Date getDate() { | if (showClosedObject) { | return super.getDate(); | } else { | return n

[jboss-user] [JBoss Seam] - Conversation binding workaround

2007-04-20 Thread vineetmanohar
Hi, Currently I have a seam component "numberGuess" with Conversation.SCOPE. It has a binding that I want to use on the view page directly, but can't because of seam limitation. @Name("numberGuess") | @Scope(ScopeType.CONVERSATION) | public class NumberGuess implements Serializable { | p

[jboss-user] [Installation, Configuration & Deployment] - Re: JBOSS CLUSTERING ON VIRTUAL MACHINE (LINUX)

2007-04-20 Thread tnine
Ok, I have made some changes. I've changed both nodes to have static IPs. Node 1 has IP 192.168.109.10 and node 2 has IP 192.168.109.11 >From node 1 if I execute "ping -L 224.0.0.1" I receive a response from >192.168.109.11 (node2) and vice versa. At the network level my multicast is >worki

[jboss-user] [Security & JAAS/JBoss] - Re: Bug in security cache - 4.0.4.GA

2007-04-20 Thread sim-smith
"jhmjesus" wrote : It tries to propagate the caller security context including the ClientLoginModule in your login-config.xml. See at http://wiki.jboss.org/wiki/Wiki.jsp?page=SecurityFAQ Hi jmhjesus, Thanks for your reply. I understanding what is going on here - the setup works for us most of

[jboss-user] [EJB 3.0] - Re: recurring timer and app re-start issue

2007-04-20 Thread ajay662
I created the timer on a freshly installed jboss instance (so no prior timers) using the code below: timer = messageDrivenCtx.getTimerService().createTimer( | job.getFirstSchedTime(), job.getRecurringInterval(), job); Here recurring-interval is 1 hour (in milliseconds). After I go

[jboss-user] [JBoss Portal] - Re: JBoss Portal 2.6 Alpha 2 Release

2007-04-20 Thread anders3
"sh build.sh -p " yes ant -p is beautiful, it is. If we where using maven I would expect the exploded-deploy command to be something I can apply to the artifact jboss-portal.sar and maybe I did not need to ask ? No worries I understand maven is not "hot" for some developers at the moment. I w

[jboss-user] [Management, JMX/JBoss] - Re: jboss JMX notification type

2007-04-20 Thread leonz11
yeap, it works on 4.0.4 one more question, dimtris: when I override the method "handleNotification", this event is captured by this method; however, as you suggested I comment out this method, the event then is captured by "handleNotification2". Can you tell how those "handleNotification" meth

[jboss-user] [JBoss Seam] - Re: Documentation : Seam Issues example

2007-04-20 Thread jlemoine
I meant "jlemoine" wrote : to implement a "include" use-case (common to several use cases) that lets you go back to the calling page of the parent use case automatically. Do you have an idea when the Seam Issue example will be documented? Thanks, Jean View the original post : http://www.jboss

[jboss-user] [JBoss Seam] - Re: Seam / Hibernate adds extra foriegn keys?

2007-04-20 Thread dustismo
For anyone else having this problem, commenting out this section in /seam-gen/build.xml fixed the problem. | | -Dustin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039409#4039409 Reply to the post : http://www.jboss.com/index.html?module=bb&op=po

[jboss-user] [JBoss Seam] - Re: HowTo: When going to a page to enter data, pull from db

2007-04-20 Thread CptnKirk
...and on scope, go as narrow as possible while still being functional. :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039405#4039405 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039405

[jboss-user] [JBoss Seam] - entity-query / restrictions

2007-04-20 Thread denpet
I have been pulling my hair for a day trying to define a query properly in components.xml In addition to some columns I restrict using an example object, there is a date column I sometimes have to test if it is null, depending on how a checkbox is set. To clarify, I have a date column to defin

[jboss-user] [JBoss Seam] - Re: HowTo: When going to a page to enter data, pull from db

2007-04-20 Thread CptnKirk
I like to keep my entities clean. Just get/set/toString/equals/hashcode. So I'd put the @Factory on a method in your controller/action/manager Bean. If you need some heavyweight resources that you'd like to clean up, you can use the manager pattern and the @Unwrap annotation. In the case of

[jboss-user] [Clustering/JBoss] - Re: Clustering and Load Balancing in Jboss-4.0.2 using Apach

2007-04-20 Thread [EMAIL PROTECTED]
This isn't going to solve your problem, but first, in the cache config file, make sure SyncReplTimeout is at least of few seconds longer than LockAcquisitionTimeout. If you do that, and you get the same exception (look at the details of the error message; it's important) then you need to start

[jboss-user] [JBoss Seam] - Re: ICEfaces v1.6.0 DR#3

2007-04-20 Thread gus888
Use DR#3 and put the backport-util-concurrent.jar from icefaces package into lib directory. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039397#4039397 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039397 __

[jboss-user] [Clustering/JBoss] - Re: Cluster is loosing his master

2007-04-20 Thread [EMAIL PROTECTED]
Are you using a TCP-based config? The mechanism I described is encapsulated in HAPartitionImpl.verifyNodeIsUnique(), which from a look at it will break down if a the node returns with the same InetAddress + port. That's more likely to happen with a TCP-based config. View the original post : h

[jboss-user] [JBoss Seam] - Re: Help: get exception when using EL to reference a EJB mem

2007-04-20 Thread qzhengyy
Thank you very much for your help. The eda component not available is indeed the root cause of the problem. Qing View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039395#4039395 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=rep

[jboss-user] [JBoss Seam] - Re: HowTo: When going to a page to enter data, pull from db

2007-04-20 Thread saeediqbal1
Oh sweet. I will try that and let you know. I remember seeeing @Factory in one of the files. Question for you. What do you think is appropriate place for this based on what I'm doing. In the action bean or in the entity ? Any recommendation on scope? Thanks View the original post : http://w

[jboss-user] [Clustering/JBoss] - Re: Cluster is loosing his master

2007-04-20 Thread [EMAIL PROTECTED]
The use of JNDI port is not meant for prettiness. It's actually intended that in the use case you describe in your initial post, the name should *not* be unique. The idea here is to detect the case you describe, where a node is killed and restarted and rejoins the group before the group knows

[jboss-user] [JBossWS] - Re: String[] with SOAP... Please help me!

2007-04-20 Thread [EMAIL PROTECTED]
FAQ: How can I build and install the latest? http://jbws.dyndns.org/mediawiki/index.php/JBossWS_FAQs#How_can_I_build_and_install_the_latest.3F View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039389#4039389 Reply to the post : http://www.jboss.com/index.html?m

[jboss-user] [JBossWS] - Re: Cannot obtain java type mapping for: {http://org.mazurek

2007-04-20 Thread [EMAIL PROTECTED]
Try jaxws http://jbws.dyndns.org/mediawiki/index.php/JAX-WS_User_Guide#Web_Service_Clients View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039388#4039388 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039388 __

[jboss-user] [JBoss Seam] - Re: HowTo: When going to a page to enter data, pull from db

2007-04-20 Thread CptnKirk
Take a look at the documentation on Factory and manager components. They will help you do what you want. Also the blog and messages examples show how you can initialize a contextual variable with DB data when a page is viewed. The messages example makes use of a DataTable binder, but you can u

[jboss-user] [JBoss Seam] - Re: many-to-many (dynamically shown) on same JSF page

2007-04-20 Thread rhinosystemsinc
I'd like some help with how the JSF dataTable and single/multi selects are setup and how to setup the SLSB to handle the SAVE on this scenario. Here are the objects and tables roughed in . public class Person { String FNAME=""; List preferences=null; @ManyToMany @JoinTable (name="Per

[jboss-user] [JBossWS] - Re: Integrate Apache with Tomcat/JBoss using mod_jk connecto

2007-04-20 Thread [EMAIL PROTECTED]
Have a look at the JBossWeb project View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039386#4039386 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039386 ___ jboss-user mailing

[jboss-user] [JBoss Portal] - Trouble creating user on the fly programatically

2007-04-20 Thread david.hoffman
Using: jboss-portal-2.6-BETA1-bundled, configured to use MySQL as the datastore I have a custom auth module that authenticates a user against Active Directory Server and drops a user into roles that are derived from ADS attributes. Upon successful authentication, as long as a user exists in th

[jboss-user] [JBoss Seam] - Re: Update entity in authenticate method

2007-04-20 Thread twocoasttb
Beautiful. Thanks, Peter. Time for another read through the documentation... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039383#4039383 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039383

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Query with Order By Statement fails with EJBException:Nullpo

2007-04-20 Thread astamm007
I have a simple query and got into trouble if I add an order by statement (where condition is not used). Without the order statement everything works fine. What can happen, that an order by statement causes the EJBException:Nullpointerexception occurs? I use JBoss VM 4.0 Eclipse Plug-In and Hype

[jboss-user] [Installation, Configuration & Deployment] - Re: JBOSS CLUSTERING ON VIRTUAL MACHINE (LINUX)

2007-04-20 Thread tnine
I'm also having this problem. I'm running RHEL 4 in a VMware instance. I have 2 nodes that are running in a virtual network on my PC. I'm letting the nodes get their IP's via DHCP. I have the following common configuration JDK 1.5.0_11-b03 JBoss 4.0.5 Server Config: all IPs: 192.168.109.128

[jboss-user] [Installation, Configuration & Deployment] - suspious error when starting JBoss

2007-04-20 Thread astamm007
When starting JBoss-Server inside Eclipse (Debug-mode) the following exception occurs: Thread [main] (Suspended (exception NullPointerException)) Properties$LineReader.readLine() line: not available PropertyMap(Properties).load(InputStream) line: not available

[jboss-user] [Clustering/JBoss] - Re: Wrong targets come to LoadBalancePolicy

2007-04-20 Thread [EMAIL PROTECTED]
anonymous wrote : A client is simply invokes each bean many times consequently. Is there a fresh JNDI lookup of the beans each time, or is the same bean ref used for repeated invocations? Whatever the issue is, commenting out the line in ClusteringTargetsRepository isn't the right fix. But, re

[jboss-user] [JBoss Seam] - Re: Update entity in authenticate method

2007-04-20 Thread petemuir
@Transactional | public boolean authenticate() { |... |entityManager.joinTransaction(); |// Do your work | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039372#4039372 Reply to the post : http://www.jboss.com/index.html?module=bb&op=p

[jboss-user] [JBossCache] - Re: jbosscache 1.4.0.SP1 treecache.xml and DeployedTreeCache

2007-04-20 Thread [EMAIL PROTECTED]
No, the optimistic support was added after EJB3 RC9 Patch 1. :( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039371#4039371 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039371 ___

[jboss-user] [Installation, Configuration & Deployment] - Re: packaging a war file with struts 1.3.8 for jboss 4.0.4

2007-04-20 Thread tb44
i try a solution but i have still a prblem (not same). i build an ear file with contain : * one file war * 2 file jar * struts file struts-2.0.6/lib/commons-beanutils-1.6.jar struts-2.0.6/lib/commons-chain-1.1.jar struts-2.0.6/lib/commons-logging.jar struts-2.0.6/lib/commons-validator-1.3.0.jar

[jboss-user] [JBossWS] - Re: String[] with SOAP... Please help me!

2007-04-20 Thread chui
Oh, I found the testsuit on CVS repository... Thanks, I'll have a look in it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039370#4039370 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039370 _

[jboss-user] [JBoss Seam] - Re: componentClasses configuration property

2007-04-20 Thread petemuir
Thats out of date - what are you trying to achieve - the @Install and @Startup annotations take care of what that used to do. I've updated the manual in CVS. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039368#4039368 Reply to the post : http://www.jboss.

[jboss-user] [JBoss Seam] - Re: How To Cancel Update in Home Object

2007-04-20 Thread petemuir
Have you looked at this? Its not quite what you are trying to do, but it does access both the old and new variables... http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamAuditHome View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039367#4039367 Reply to the post : h

[jboss-user] [JBoss Seam] - Re: How To Cancel Update in Home Object

2007-04-20 Thread gzoller
Carsten, I think we're looking at the same problem from different angles. One desired behavior I'm looking for is the ability to cancel a data entry page w/o the changes popping up in the persistent state. I have one page in my app that does this just fine and one that (like yours) somehow pe

[jboss-user] [JBossCache] - Re: 2.0 and JMX

2007-04-20 Thread [EMAIL PROTECTED]
In JBC 2.0, the cache no longer self registers; you have to do it manually. Basically, we recognized that JMX integration is really not a core function of the cache, and 1) should be done by external code that understands the JMX environment, and 2) should be extracted into a separate class. Wh

[jboss-user] [JBossWS] - Re: String[] with SOAP... Please help me!

2007-04-20 Thread chui
"santhosh288" wrote : Hello Chui, | | Even I am facing the same issue with String[] as input parameter in my WS. Did you find any solution for this? Please let me know. | | Thanks, | Santhosh Hi, santhosh288 ! Unfortunately I didn't find a solution for this. =/ Watch this topic, if

[jboss-user] [JBossCache] - Re: jbosscache 1.4.0.SP1 treecache.xml and DeployedTreeCache

2007-04-20 Thread [EMAIL PROTECTED]
This was fixed as part of EJB3 RC9 Patch 1. You should be using TreeCacheProviderHook which, from this release, works for both Optimistic and Pessimistic locking JBoss Cache instances. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039360#4039360 Reply to th

[jboss-user] [JBoss Seam] - Update entity in authenticate method

2007-04-20 Thread twocoasttb
What is the correct way to update an entity in my authenticate method (called from Identity)? I want to update the user entity with a 'last connected' date. As far as I can tell, I have to handle the transaction manually, like this: @Name("authenticator") | public class Authenticator { |

[jboss-user] [JBoss Seam] - HowTo: When going to a page to enter data, pull from db & ed

2007-04-20 Thread saeediqbal1
Hey guys, I have been trying to learn this stuff in a fast pace lately and much of it makes good sense. I was able to create a project in seam-gen some entities from database crud, and some actions. Also modifying the xhtml pages and some configuration to learn Seam. Anyway now i have this sam

[jboss-user] [JBossCache] - Node locking question

2007-04-20 Thread darose
Hi. I'm kicking the tires on integrating JBossCache (2.0beta) into an app of mine. So far looks pretty good, but I've run into one small snag. I would like to find a way to atomically replace the contents of a node - i.e., perform: node.clearData() followed by node.putAll(map) all while th

[jboss-user] [JBossCache] - Re: jbosscache 1.4.0.SP1 treecache.xml and DeployedTreeCache

2007-04-20 Thread [EMAIL PROTECTED]
The TreeCacheProviderHook is the correct one to use with EJB3. Unfortunately due to a bug in the hook it only works with a pessimistically locked cache (hence the errors you see). This has been fixed in the next JBoss AS release, let me check if it is available as a part of the next EJB3 relea

[jboss-user] [JBoss Seam] - Re: JAAS and SEAM

2007-04-20 Thread matthewdemerath
First I want to thank everyone who posted here. This has been a great help in figuring this JAAS/Seam integration out. In the spirit of the open source community I have uploaded a new sample application that uses LDAP and UsersRolesLoginModule. I had some trouble getting the other example runn

[jboss-user] [JBossCache] - Re: Help need in delplying JBoss Cache as a distributed cach

2007-04-20 Thread [EMAIL PROTECTED]
Use the CODE button when pasting config files - what you posted is not visible. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039354#4039354 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039354 ___

[jboss-user] [JBoss Seam] - Re: Seam 1.2.1 and Tomcat 6.0.10

2007-04-20 Thread sstrenn
Thanks for the update View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039353#4039353 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039353 ___ jboss-user mailing list jboss-use

[jboss-user] [JBossCache] - Re: TimeoutException occuring on one node of jboss cache

2007-04-20 Thread [EMAIL PROTECTED]
What version of JBoss Cache are you using? Also see JBCACHE-982 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039352#4039352 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039352 __

[jboss-user] [JBossCache] - Re: Upgrade JBossAS 4.0.5.GA to JBossCache 1.4.1.SP3

2007-04-20 Thread [EMAIL PROTECTED]
Just upgrade the JBoss Cache jar file. While upgrading jgroups.jar and jboss-serialization.jar are not required, it is recommended. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039350#4039350 Reply to the post : http://www.jboss.com/index.html?module=bb&

[jboss-user] [JBossCache] - Re: JBossCache transaction isolation levels

2007-04-20 Thread [EMAIL PROTECTED]
You should note that isolation levels aren't 100% in line with DB isolation levels. We just use the terms as analogies. In reality, dealing with null nodes are different. For example, in your repeatable read case, try the same test with an older but value instead of a null. It is not an ex

[jboss-user] [Messaging, JMS & JBossMQ] - Re: confirming that referential integrity is not possible.

2007-04-20 Thread Vincent Tran
Second reason is that it adds overhead and decreases performance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039347#4039347 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039347 _

[jboss-user] [Messaging, JMS & JBossMQ] - confirming that referential integrity is not possible.

2007-04-20 Thread Vincent Tran
The DBA asked me to put referential integrity onto the JBossMQ tables. >From what I have learned it is not possible because: JBossMQ inserts/updates/etc to the database Asynchronously. It would involve knowing the implementation of JBossMQ, and the order it puts data into the tables/etc. I'm tr

[jboss-user] [JBoss jBPM] - "Assign" task - how to implement?

2007-04-20 Thread isobretatel
How do I implement "Assign" task? The performer of the "Assign" task is a manager, who selects a performer for the next task from the list of the perfrormers [in his department]. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039343#4039343 Reply to the po

[jboss-user] [JBossCache] - Re: config loading issue with 2.0.0.BETA2

2007-04-20 Thread [EMAIL PROTECTED]
There still is time to add another factory method - why don't you send me a patch to DefaultCacheFactory? It would make it into the next rel. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039341#4039341 Reply to the post : http://www.jboss.com/index.html?m

[jboss-user] [JBoss Seam] - Re: Scalability

2007-04-20 Thread [EMAIL PROTECTED]
Well, first you already have 150 concurrent sessions, so that's the same. The additional state holder that Seam providers, the conversation, is not used unless one of your 150 users executes a stateful conversation. Just browsing stuff isn't a stateful conversation, for example, but editing some

[jboss-user] [EJB 3.0] - Re: How can we use oracle hints in EJB (3.0)?

2007-04-20 Thread [EMAIL PROTECTED]
ah ok they have a very oracle specfic select hint. we could/should add that at some point too. btw. by using query.setComment you can put in hints that will work in the start of your sql. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039334#4039334 Reply

[jboss-user] [JBoss Seam] - componentClasses configuration property

2007-04-20 Thread atao
In the manuel of version 1.2.1.GA, I found this: anonymous wrote : | 23.9. Infrastructural components | | These components provide critical platform infrastructure. You can install a component by including its class name in the org.jboss.seam.core.init.componentClasses configuration prop

[jboss-user] [JBoss Seam] - trouble with h:commandLink and f:param...

2007-04-20 Thread holtak
hello My .xhtml looks like this: | | | | | | | | | | | navigation.xml contains: | | input_ra

[jboss-user] [JBoss Seam] - Re: ICEfaces v1.6.0 DR#3

2007-04-20 Thread monkeyden
What about this? I couldn't get it to work. DR#2 Session Expired http://www.icefaces.org/JForum/posts/list/4074.page View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039311#4039311 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=

[jboss-user] [EJB 3.0] - Re: How can we use oracle hints in EJB (3.0)?

2007-04-20 Thread hudowski
I've found my example on http://edocs.bea.com/kodo/docs41/full/html/dbsupport_oracle.html Rafal View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039315#4039315 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039315

[jboss-user] [JNDI/Naming/Network] - Re: can not access file from another machine

2007-04-20 Thread jigu888
Thanks Peter, I will look and let you know. Jignesh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039314#4039314 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039314 ___ j

[jboss-user] [EJB 3.0] - Re: How can we use oracle hints in EJB (3.0)?

2007-04-20 Thread fhh
The JPA hint feature is for adding hints for the entityManager not the database. As far as I know you can only use SQL hints if you use native queries. Regards Felix View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039307#4039307 Reply to the post : http://w

[jboss-user] [Installation, Configuration & Deployment] - Re: JBoss AS 4.2.0.CR2 does not start

2007-04-20 Thread [EMAIL PROTECTED]
Okay, I recreated your problem by changing my /etc/hosts to the same as yours, as follows: ::1 localhost localhost.localdomain 127.0.0.1 localhost After changing to this the same problem occurs, even with a wireless connection. I then just added localhost.localdomain to the IPv4 line as follows

  1   2   3   >