[jboss-user] [JBoss Portal] - HELP: SSO not work for my Cluster (without domain name)

2007-06-12 Thread gaopeng_victor
I've config a JBoss Portal (V2.6 RC2) Cluster on JBossApp 4.0.5, and it start up sucessfully. But the SSO don't work, the following is my test step: 1. Following the jboss documentation to establish a two nodes cluster (two machines with ip: 10.1.16.140/10.1.16.64, each for one node). 2. Login

[jboss-user] [JBoss Seam] - Re: Urgent - Error in deploying the NumberGuess Example

2007-06-12 Thread trekker880
hi petemuir, i did the same steps but i am getting the Same error. The initial lines of the error are as- 11:26:37,602 INFO [Lifecycle] starting up: org.jboss.seam.security.identity 11:26:38,868 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception java.lang.NullPointerException >Fr

[jboss-user] [Performance Tuning] - Re: Jboss performance - not using all available resources

2007-06-12 Thread 4l3xb
anonymous wrote : I've taken 2 thread dumps at different times. I don't know the best way to analyze these. | | Should I post them here? They are a bit large. | I wouldn't post them as you say they're probably large, it's probably no necessary to post the whole thing. I'd start by loo

[jboss-user] [JBoss Portal] - Re: Feeds aggregator portlet

2007-06-12 Thread manousopul
hello again. If there isn't such functionality in an existing portlet, i would like to enhance it at the newsreader portlet. Thank you View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053800#4053800 Reply to the post : http://www.jboss.com/index.html?module=bb

[jboss-user] [JBoss Seam] - Re: s:convertEntity with non-numeric @Id

2007-06-12 Thread awhitford
I logged this issue in JIRA: http://jira.jboss.com/jira/browse/JBSEAM-1444 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053799#4053799 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053799 __

[jboss-user] [JBoss Seam] - Re: Integration testing action events or value change events

2007-06-12 Thread tangdazhu
i have solved this problem by using NonFacesRequest, i pasted the codes here, hope it will be helpful for someone : @Test public void testChangeDataset() throws Exception { new NonFacesRequest() { @Override protecte

[jboss-user] [JBoss Portal] - Re: from hibernate to sybase

2007-06-12 Thread Sonal K.
I have 2 *-ds.xml files. 1> portal-sybase-ds.xml 2> hsqldb-ds.xml I have changed nothing in hsqldb-ds.xml. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053795#4053795 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=405

[jboss-user] [Beginners Corner] - Re: How to add init param of handler

2007-06-12 Thread warmpoty
nobody knows? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053796#4053796 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053796 ___ jboss-user mailing list jboss-user@lists.

[jboss-user] [JBoss Seam] - Re: in an MDB how to get an application scoped component ?

2007-06-12 Thread codelion
Just about the same minute you wrote that I looked at Seam reference section 3.2.5. Message-driven beans, which says what you're quoting. I was figuring the same solution, I'm going to try @Name and injection. I think we had the same problem with messages coming to MDBs before Seam is initiali

[jboss-user] [JBoss Seam] - Re: in an MDB how to get an application scoped component ?

2007-06-12 Thread jazir1979
If you annotate your MDB as a Seam component, using @Name, then you can use bijection, I am doing this in my app. I'm not sure if you will be able to access the Application context. The documentation just says "they do support bijection and some other Seam functionality". One issue I had was

[jboss-user] [JBossCache] - Cache region size

2007-06-12 Thread nenorbot
Hello, Is there any way I can determine the number of objects cached in a region in TreeCache? Thanks :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053788#4053788 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=405

[jboss-user] [JBoss jBPM] - Re: Validating user input

2007-06-12 Thread roccolocko
As you may now know, you can store many kinds of variables on the jbpm, since in the desing you're only giving names to them, and not setting types. Although you do can make some validation of this variables with bean shell, I would recomend that you make the validations before you put them on j

[jboss-user] [JBoss jBPM] - LazyInitializationException when setting variable

2007-06-12 Thread roccolocko
I get the following error when trying to set a variable for a taskInstance. | [LazyInitializationException] could not initialize proxy - the owning Session was closed | org.hibernate.LazyInitializationException: could not initialize proxy - the owning Session was closed | at org.

[jboss-user] [Messaging, JMS & JBossMQ] - Re: create durable topic

2007-06-12 Thread ssuyamboo
Hi Adrian, Sorry to send private mail. But I didn't any luck with my durable subscriptions setup , could you please provide steps to configure durable subscriptions? I am using a stand-alone subscriber , though I am successful in publishing messages to topic , my subscriber fails to read publis

[jboss-user] [JBoss Seam] - Hibernate's version in Seam CVS

2007-06-12 Thread azalea
Hi, I'm integration testing using seam(CVS) gen-generated project. Hibernate in Seam CVS: -Hibernate 3.2 cr2 -Hibernate EntityManager 3.2.0 cr1 -Hibernate Annotations 3.2.0 cr1 These are not same as the versions of Hibernate included in JBoss AS 4.2.0.GA which is target of Seam CVS(1.3.0). And

[jboss-user] [JCA/JBoss] - [TransactionImpl] XAException: tx=TransactionImpl:XidImpl[F

2007-06-12 Thread [EMAIL PROTECTED]
When connecting Oracle91 Database i get this type exception please help us. [TransactionImpl] XAException: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=liveappserver/54, BranchQual=, localId=54] errorCode=XAER_NOTA oracle.jdbc.xa.OracleXAException at oracle.jdbc.xa.OracleXAResource

[jboss-user] [Messaging, JMS & JBossMQ] - Re: durable subscriber setup - 2nd request

2007-06-12 Thread ssuyamboo
Hi Can anyone guide me to setup durable subscriber using standalone program? My standalone subscriber failed to read messages published to topic. Jboss console shows the messages published but the subscriber doesn't pick up the messages. My subscriber is message listener based. Jboss examples s

[jboss-user] [JBoss Seam] - Re: Integration testing action events or value change events

2007-06-12 Thread tangdazhu
I have the same question for how to test actionlistener in Seam test, can someone help me? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053779#4053779 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053779 ___

[jboss-user] [JBoss Seam] - in an MDB how to get an application scoped component ?

2007-06-12 Thread codelion
I think what I see is that in the MDB I don't have access to Seam contexts. But I'd like to get my server wide settings out of an application scoped Seam component. I think I've seen that if I'd declare that component an SFSB and try to get it as EJB3 than I won't get the same instance as if I

[jboss-user] [JBoss Getting Started Documentation] - Re: Bank example compile error.

2007-06-12 Thread alanc
Thanks for the suggestion, Peter, but unfortunately it doesn't seem to have solved my problem. As per the other forum thread, I removed the \$ combination from the .jsp files (accountList.jsp, atmAck.jsp and transferAck.jsp), recompiled and redeployed, but I still get the same error. Starts wi

[jboss-user] [Management, JMX/JBoss] - Re: Lookup Singleton MBean

2007-06-12 Thread niefeng
Hi all, I have searched the answer in the jboss clustering forum, thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053767#4053767 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053767 _

[jboss-user] [EJB 3.0] - Fail to inject Queue as Resource into EJB3 bean

2007-06-12 Thread jmarvan
I am unable to send a JMS message from within an EJB3 stateless session bean into a local queue. The bean method that is supposed to send to the Queue is invoked from a servlet. //Inject QueueConnectionFactory | @Resource(mappedName = "java:/JmsXA") | private QueueConnectionFactory queue

[jboss-user] [JBoss Seam] - Re: h:messages for Authenticator

2007-06-12 Thread jazir1979
But it's still a global message, not "for" your loginPanel. Either remove the "for" and display your global messages, or use facesMessage.addToControl() in the code. "tonylmai" wrote : You're right. | | However, after I've added a panel with id for the message, it's still not displayed.

[jboss-user] [JBoss Messaging] - Re: JBoss Messaging Locked Up

2007-06-12 Thread timfox
BTW in JBM 2.0 we will be introducing producer flow control http://jira.jboss.com/jira/browse/JBMESSAGING-429 in which producers can be throttled to prevent them overwhelming the server. This is an alternative way to avoid the server OOMing without using paging. View the original post : http:/

[jboss-user] [JBoss Seam] - Re: h:messages for Authenticator

2007-06-12 Thread tonylmai
You're right. However, after I've added a panel with id for the message, it's still not displayed. | | | Is there anything that I could have erred that caused this message to be dropped after the Authenticator.authenticate() method called?

[jboss-user] [JBoss Seam] - Re: Simplest usage

2007-06-12 Thread [EMAIL PROTECTED]
MultipartRequest now throws a FileUploadException instead of a RuntimeException, you can configure an exception handler for this in pages.xml. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053760#4053760 Reply to the post : http://www.jboss.com/index.html?m

[jboss-user] [JBoss Seam] - Re: Seam, Facelets, JSF and XML comments

2007-06-12 Thread sgollery
fernando_jmt: You're right, of course. I had this in the non-Seam version, but I was under the impression that it just prevented Facelets from writing comments to the HTTP response output stream. Now I know better. Thanks, Steven Gollery View the original post : http://www.jboss.com/index.h

[jboss-user] [Installation, Configuration & Deployment] - Re: 4.0.5 to 4.2.0 Upgrade

2007-06-12 Thread [EMAIL PROTECTED]
We are in the process of updating the docs. You are right, we have been really bad with keeping the docs in synch, we need a more open solution there. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053758#4053758 Reply to the post : http://www.jboss.com/inde

[jboss-user] [JBoss Seam] - Re: h:messages for Authenticator

2007-06-12 Thread [EMAIL PROTECTED]
Well, you add() a global message but only display messages that have been added for="dialog" component. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053757#4053757 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=40537

[jboss-user] [JBoss Seam] - Re: could not execute seam commands.

2007-06-12 Thread petemuir
cvs up -C -d will ensure you get exactly the source tree as on the server - otherwise CVS won't update stuff it thinks might have been changed locally. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053756#4053756 Reply to the post : http://www.jboss.com/ind

[jboss-user] [JBoss Seam] - h:messages for Authenticator

2007-06-12 Thread tonylmai
Hello all, I am trying to display a customized error message should the authenticate method failed to authenticate a user. I.e. @Name("authenticator") | public class Authenticator { | @In | private FacesMessages facesMessages; | ... | public boolean authenticate() { |

[jboss-user] [JBoss Seam] - Re: could not execute seam commands.

2007-06-12 Thread squ1rr3l
Ok, obviously something was missing, and CVS was not updating the entire tree... I completely deleted the directory and re-ran the check-out from scratch, and everything compiles fine. Should have done that before :-/ javac went from "Compiling 407 source files... " to "Compiling 417 source fi

[jboss-user] [Clustering/JBoss] - Re: Clustering / Multicast routing

2007-06-12 Thread [EMAIL PROTECTED]
What you have should be fine, except I would change -Dmcast.port=5001 to -Djboss.hapartition.mcast_port=5001. The different config files that cause creation of a JGroups channel all specify a system property that you can set; basically doing what you already did with 'mcast.port' but applying i

[jboss-user] [Clustering/JBoss] - Re: change default partition name

2007-06-12 Thread angelee
That worked great. Thanks for the quick reply! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053750#4053750 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053750 ___ jboss-us

[jboss-user] [JBoss Seam] - Re: Simplest usage

2007-06-12 Thread evl123
Hi Shane, How do I handle s:fileUpload issue regarding the file size exceeding a configured limit? When that happens, the page breaks with HTTP code 500 returned with the following message: java.lang.RuntimeException: Multipart request is larger than allowed size I could not find a way to catch

[jboss-user] [JBoss jBPM] - Re: jPDL subprojects

2007-06-12 Thread lucabotti
Hi Tom, first of all, I wish to thank you for the effort you are doing with the Jbpm project. Also, i could say yes, i would be interested in some out of the box component which could be used in my own applications, as a subproject of jPDL. But i also need to affirm that I think the developmen

[jboss-user] [JBoss Seam] - Re: Custom pdf tag not rendered when in email attachment

2007-06-12 Thread dustismo
Reported with a very simple test case. http://jira.jboss.org/jira/browse/JBSEAM-1440 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053747#4053747 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053747

[jboss-user] [JBoss Seam] - Re: seam generate entities

2007-06-12 Thread [EMAIL PROTECTED]
"seam help" View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053745#4053745 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053745 ___ jboss-user mailing list jboss-user@lists.jb

[jboss-user] [JBoss Portal] - Re: Injecting PortalObjectContainer into servlet

2007-06-12 Thread ghyoju
Hi, In JBOSS portal 2.4 it works. We are trying to use JBOSS portal 2.6 and the Context Class is not in portal-core-lib.jar. Where did it move to? How do I find out. Thanks you very much. Gyan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053744#4053744

[jboss-user] [JBoss jBPM] - Re: Combo Box in Form

2007-06-12 Thread kukeltje
I am helping... but you guys have to come up with trials and errors which I can comment on. I'm not going to build a full example (unless one of you guys pays my upcoming holiday) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053743#4053743 Reply to the pos

[jboss-user] [Clustering/JBoss] - Re: change default partition name

2007-06-12 Thread [EMAIL PROTECTED]
There's no need to edit the cluster-service.xml file. Start JBoss with: # /opt/jboss-4.2.0.GA/bin/run.sh -c all -b10.40.0.35 -g MYPartition View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053742#4053742 Reply to the post : http://www.jboss.com/index.html?mo

[jboss-user] [JBoss jBPM] - Re: Combo Box in Form

2007-06-12 Thread jorges38
Riket44, Were you able to create de combo box with the item list from de PRODUCT database (external table) ?I am looking for some samples too. I have created de (product.hbm.xml) hibernate file and the Product Class with (getters and setters) and modified the hibernate.cfg.xmlbut i am

[jboss-user] [JBossCache] - Re: STREAMING_STATE_TRANSFER fails with lots of data.

2007-06-12 Thread nanreh
Thanks Bela, I was able to reproduce the issue easily enough and I'll open a JIRA issue in a short while after cleaning up the test case. frank View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053740#4053740 Reply to the post : http://www.jboss.com/index.html?

[jboss-user] [EJB 3.0] - Get ear name

2007-06-12 Thread klejs
Hi, Is it possible from within a deployed (as an ear) ejb3 application to get the name of the ear file that the application is packaged in? Thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053739#4053739 Reply to the post : http://www.jbos

[jboss-user] [JBoss Seam] - Re: seam generate entities

2007-06-12 Thread dheerajsega
Thanks it worked ..I always wish anyone could give me the link which speicifies al lthe commands that can be used .. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053737#4053737 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting

[jboss-user] [Clustering/JBoss] - Re: change default partition name

2007-06-12 Thread angelee
I can not find any documentation on JBoss AS 4.2. What am I doing wrong? I changed all of the DefaultPartition to MYPartition in deploy/cluster-service.xml. e.g. FROM: {jboss.partition.name:DefaultPartition} TO: {jboss.partition.name:MYPartition} and in conf/standardjboss.xml e.g. F

[jboss-user] [Security & JAAS/JBoss] - Adding trusted certs

2007-06-12 Thread EstrellaRichardson
Can someone please answer this very simple and very newbie question for me? When a new trusted certificate is added to the truststore, does JBoss need to be restarted for it to see/acknowledge the new certificate? I am seeing evidence to this effect but I need to make sure that this is or isn

[jboss-user] [JBoss jBPM] - Re: Combo Box in Form

2007-06-12 Thread kukeltje
Do it the same as you normally would. The itemset comes from your database the selected item is just referenced the same way as with an input element. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053733#4053733 Reply to the post : http://www.jboss.com/inde

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Multiple persistence units (one JTA one RESOURCE_LOCAL)

2007-06-12 Thread mtedone1
Any news on this one? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053732#4053732 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053732 ___ jboss-user mailing list jboss-use

[jboss-user] [Installation, Configuration & Deployment] - Shared JAR Files EJB/Web Deployment

2007-06-12 Thread dkalcevich
I am in the process of refactoring two JMS Listeners to being Message Driven Beans. Upon doing so, I removed them from the Web Application and am wanting to deploy them as EJB's. So now there will be app.war and myEJB.jar within the .EAR file. The problem I am running into is that when I depl

[jboss-user] [JBoss jBPM] - Re: Validating user input

2007-06-12 Thread kukeltje
correct, it is not possible to put validation definitions in the processdefinition. A regexp (or anything in line with hibernate validators or whatever) is possible. Maybe reusing those kinds of validations is the most interesting. Putting it on the domainmodel is imo good practice. View the o

[jboss-user] [JBoss jBPM] - Re: How to tell if token is waiting?

2007-06-12 Thread lachelt
Thanks for clarifying. No, I do not want to manipulate the token from the other thread. I figured that was a no-no. From my other thread I just want to know what node it is on. We want to provide users with some insight into what state the workflow is in. In this case I think it is acceptab

[jboss-user] [JBoss jBPM] - Re: How to tell if token is waiting?

2007-06-12 Thread kukeltje
do you want to manipulate the token from 2 threads, or do you just want to make sure you know what node it is in? The former is bad practise the second should be a method on your own first thread and ask there what state the token is in. View the original post : http://www.jboss.com/index.htm

[jboss-user] [JBoss Seam] - Re: (Still) More flexible structure for components.xml

2007-06-12 Thread luizruiz
Thank you Gavin, I'm trying to do this with a little modification in Initialization.scanForHotDeployableComponents, adding this code, that load all .component.xml in META-INF from the redeploy classloader: try { | URL[] urls = Classpath.search(redeployStrategy.getClassLoader(), |

[jboss-user] [JBoss Seam] - Re: Collection and DataTable

2007-06-12 Thread petemuir
You can use page parameters View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053723#4053723 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053723 ___ jboss-user mailing list jbo

[jboss-user] [JBoss jBPM] - Re: How to tell if token is waiting?

2007-06-12 Thread lachelt
anonymous wrote : The database is updated when the token reaches a wait state. That's what I supposed, but wasn't sure. Thus, that tells me that if a separate thread gets the node for a token, then that means the token is in a wait state at that node. I guess it might actually be in the middl

[jboss-user] [JBoss Seam] - Collection and DataTable

2007-06-12 Thread miloslav.vlach
Hi all, I have problem with the page with collection of something entity. I would like to click on "Delete" button and call the method something.delete with parameter Long id. But I don't know how to do. One solutions is to use @DataModel, @DataModelSelection and dataTable . But how to do when

[jboss-user] [Installation, Configuration & Deployment] - Re: GC hell ?

2007-06-12 Thread PeterJ
Unfortunately I do not know of any way of asking the JVM to state what objects it is removing as part of a GC. Actually, during a GC the JVM considers only live objects - it never even looks at dead objects that it collects. But you can take a heap dump - see http://java.sun.com/javase/6/docs/t

[jboss-user] [EJB 3.0] - Re: Cluster Stateful EJB 3.0 problems

2007-06-12 Thread viniciuscarvalho
Thanks a LOT That was it :) I was not using -b to bind the correct IP address. Thanks a lot! Thanks for all the help! Cluster is now working smoothly :D Best Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053716#4053716 Reply to the post : http://w

[jboss-user] [JBoss jBPM] - Re: How to tell if token is waiting?

2007-06-12 Thread estaub
Jon, Threads don't share hibernate caches on the same process instance. If another thread looks at the token, it's going to have fetched it independently from the database. The database is updated when the token reaches a wait state. >> I'm still trying to understand what it means that the p

[jboss-user] [EJB 3.0] - Re: Urgent Help needed..Strange behavior with java client ac

2007-06-12 Thread rkrylov
"ALRubinger" wrote : Maybe check /etc/hosts, run ifconfig, make sure the address you're passing is valid? | The address is valid of course :) and there is the record in /etc/hosts corresponding to that address. I had no problems with the same config on jboss-4.0.5 they came with 4.2.0. View th

[jboss-user] [JBoss Seam] - Re: could not execute seam commands.

2007-06-12 Thread squ1rr3l
Hmmm... I'm using GNU CVS 1.12.13 (or should that be FSF CVS?). I assume I'm getting everything since I don't get any errors but of course I may not be. I do have /lib/jboss-el.jar and /lib/jboss-el-api.jar, and they are referenced in the ".classpath" file, so I don't know why I'm getting this

[jboss-user] [Installation, Configuration & Deployment] - Re: GC hell ?

2007-06-12 Thread vettori
Thanks. How can I look at what is consuming that 2GB ? It's not the data I cache in the session since that lives more than ten seconds... (a lot more). Thank you View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053712#4053712 Reply to the post : http://www.j

[jboss-user] [Messaging, JMS & JBossMQ] - Re: trouble with durable JMS subscribers

2007-06-12 Thread ssuyamboo
Hi, I am working on jboss publisher - durable subscribers . I made the necessary configuration . Able to publish messages succesfully to topic but the subscriber fails to read the messages. Could you please provide more information on this? If I use the same client id more than once , I am bein

[jboss-user] [JBoss.NET] - JBoss WS4EE : migration from JBoss 4.0.1 to JBoss 4.0.3

2007-06-12 Thread vbatista
Hi! I have been using JBoss WS4EE with JBoss 4.0.1. I have an EJB module, and I export some SessionBeans as Web Services. My application is packaged as an ear file. I have foo.ear which has bar.jar as one of its components (EJBs module). With jboss 4.0.1 , the URL to access my web services w

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

2007-06-12 Thread sudya
I am trying to setup a cluster with 2 servers. Both of them have Windows 2003 Enterprise and both have the out of the box ejb-clustered configuration. As the manual says, everything should work without any changes. In my case each server says that he is the first one in the cluster and they don't

[jboss-user] [EJB 3.0] - Re: Cluster Stateful EJB 3.0 problems

2007-06-12 Thread [EMAIL PROTECTED]
First, what values are you passing to -b on the two instances when you start JBoss? If nothing, in AS 4.2, the JGroups channels will use the default interface, so they will cluster, but all other services will bind to 127.0.0.1. Second, is your client running on the same machine as one of the t

[jboss-user] [EJB 3.0] - eclipse recommendation EJB3

2007-06-12 Thread lavrenych
what eclipse configuration would you recommend for EJB3 development with Jboss EJB3 ? 1) JBoss IDE 2) Exadel 3) Eclipse + plugins (which ones) 4) Other bundle View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053706#4053706 Reply to the post : http://www.jbos

[jboss-user] [JBoss Seam] - Identity / rememberMe creates cookie in current path

2007-06-12 Thread dilator
Whilst this is quite useful for other components which extend Selector, for login (where sometimes you have a custom login form in a different location of the site to the 'standard' login page) it would be nice if it always used the context path. Otherwise you may end up with more than one us

[jboss-user] [JBoss Seam] - Re: Urgent - Error in deploying the NumberGuess Example

2007-06-12 Thread petemuir
I just followed the Seam Getting Started Guide (linked above), using the JEMS 1.2.0.GA installer, and Seam 1.2.1.GA (both vanilla copies), substituting the numberguess example for the booking example and it worked perfectly. Please start again and follow the getting started guide *exactly* (and

[jboss-user] [JBoss Seam] - Re: could not execute seam commands.

2007-06-12 Thread dilator
What program are you using to check out? If you're using WinCvs, make sure you tick the 'create missing directories that exist in the repository' box. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053703#4053703 Reply to the post : http://www.jboss.com/ind

[jboss-user] [JBossWS] - Problem with charset UTF-8 in version 1.2.1GA

2007-06-12 Thread claudio_br
Hi, I am using wsconsume to generate webservice client class in windows machine. When I access the webservice and send a String with character 'ã' or 'ç' for example, I got a soap exception. In post http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030510#4030510 was relate same problem

[jboss-user] [EJB 3.0] - Re: How to map an array or a list of enums?

2007-06-12 Thread grettke_spdr
"waynebaylor" wrote : So, I was wrong about the array. Hibernate does support arrays, but they're rarely used since Hibernate can't optimize them like Collections. | | As far as using enums, here are some links: | http://www.hibernate.org/270.html | http://forum.hibernate.org/viewtopic.p

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

2007-06-12 Thread Phantom
Good day! I have the same problem in 1.2.1GA. And, as I see, there is no explanations how to fix in this topic. Does anybody know the solution? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053699#4053699 Reply to the post : http://www.jboss.com/index.html

[jboss-user] [JBoss Portal] - Authentication for my own portal page

2007-06-12 Thread abcxyz
Hi I have wasted a lot of time in providing authentication to my portal page,can any of you help me in configuring the default authentication to my own portal page. I have included in *-object.xml ... Admin view

[jboss-user] [JBoss Seam] - Re: s:convertEntity with non-numeric @Id

2007-06-12 Thread petemuir
No its not, look at the output of getAsString() - we only write an index to the output HTML page - is it easy for you to attach a test case to JIRA? Can you post your facelet, source of the list, value for the selection and any related entities just for me to have a complete picture. Thanks! V

[jboss-user] [JBoss Seam] - JSPs and Facelets in one seam application?

2007-06-12 Thread dajevtic
Hi! Is it possible to run a seam application with jsp and facelet support? I've tried using my own ViewHandler (a modified version used to work months ago) however this doesn't work anymore: Before (used to work in seam 1.1): | public class JspAndFaceletViewHandler extends FaceletPortletViewHa

[jboss-user] [EJB 3.0] - Re: How to map an array or a list of enums?

2007-06-12 Thread waynebaylor
So, I was wrong about the array. Hibernate does support arrays, but they're rarely used since Hibernate can't optimize them like Collections. As far as using enums, here are some links: http://www.hibernate.org/270.html http://forum.hibernate.org/viewtopic.php?t=933393 http://www.nabble.com/Java-

[jboss-user] [JBoss Seam] - Re: s:convertEntity with non-numeric @Id

2007-06-12 Thread awhitford
I'm using Seam 1.3.0.ALPHA. Here is the full stack trace: Caused by javax.servlet.ServletException with message: "For input string: "USD"" | javax.faces.webapp.FacesServlet.service(FacesServlet.java:256) | org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterCha

[jboss-user] [JBoss Seam] - Re: Trouble with SeamTest when stateful session bean is anno

2007-06-12 Thread tuxzilla
Never mind. On closer inspection, your solution of adding depends={"org.jboss.seam.core.ejb"} worked. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053691#4053691 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p

[jboss-user] [JBoss Seam] - Re: could not execute seam commands.

2007-06-12 Thread squ1rr3l
"petemuir" wrote : http://labs.jboss.com/jbossseam/gettingstarted | | RTM - Ant 1.6 Yes, I read the references you pointed out, but since it speaks to seam-1.2, not CVS (1.3 alpha?), and refers to ant 1.7 beta (not 1.7.0), I wasn't sure whether the issue with ant applied to the latest source

[jboss-user] [Installation, Configuration & Deployment] - Re: 4.0.5 to 4.2.0 upgrade and JBossTS

2007-06-12 Thread helgaw
When I was using local-tx I ran into the "only one local tx" issue and since that was more of a temporary problem as I wanted to move to a better transaction model anyway I didn't want to dig too deeply into that. However your classloading comment got me to look closer at the mysql driver and I

[jboss-user] [JBoss Seam] - Re: s:convertEntity with non-numeric @Id

2007-06-12 Thread petemuir
It works with *any* object - take a look at the ui example. Post the whole stack trace. You are using 1.2.1.GA? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053688#4053688 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply

[jboss-user] [JBoss jBPM] - How to tell if token is waiting?

2007-06-12 Thread lachelt
Is there a way to determine whether a token is waiting? Another way to ask this... when I call getNode() on a token, does that mean the token is waiting at that node? I'm still trying to understand what it means that the process executes in the thread that signals the process instance. Does th

[jboss-user] [EJB 3.0] - Re: Cluster Stateful EJB 3.0 problems

2007-06-12 Thread viniciuscarvalho
Well, I've turned on the tracing on the client, and here's what I get before the first invocation: | TRACE [main] HARMIClient.readObject(314) | Init, clusterInfo: [EMAIL PROTECTED]/HAJNDI,targets=[HARMIServerImpl_Stub[UnicastRef2 [liveRef: [endpoint:[127.0.0.1:1101](remote),objID:[-63ed3ba3:1

[jboss-user] [JBoss Seam] - s:convertEntity with non-numeric @Id

2007-06-12 Thread awhitford
According to the documentation: anonymous wrote : | The converter works with any entity which has an @Id annotation - either simple or composite. | But if I try to use it with an Entity that has a String as the @Id, I get a NumberFormatException: | java.lang.NumberFormatException.forInp

[jboss-user] [Performance Tuning] - Monitoring servlets connections to database

2007-06-12 Thread ramboid
How can configure JBoss to monitor the connections that servlets make to a database via JDBC? We want to monitor a servlet's connection and a servlet's performance to identify servlets that may be hogging resources. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopi

Re: [jboss-user] [JBoss Seam] - Re: could not execute seam commands.

2007-06-12 Thread Harry Holt
Yes, I read the references you pointed out, but since it speaks to seam-1.2, not CVS (1.3 alpha?), and refers to ant 1.7 beta (not 1.7.0), I wasn't sure whether the issue with ant applied to the latest source in CVS. I have tried using ant 1.6.5, and consistently get the same errors there, too.

[jboss-user] [JBossWS] - Re: 'uniqueness constraint violation' when running wsconsume

2007-06-12 Thread Maffewl
It seems like i was getting the : A schema cannot contain two global components with the same name error because in my wsdl i was declaring 2 that each included an referencing the same xml file, thus trying to include the same file twice. I moved the include calls to the wsdl and am not see

[jboss-user] [JBoss Seam] - Re: could not execute seam commands.

2007-06-12 Thread petemuir
http://labs.jboss.com/jbossseam/gettingstarted RTM - Ant 1.6 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053677#4053677 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053677 _

[jboss-user] [JBoss Seam] - Re: Session problems

2007-06-12 Thread petemuir
"thierry.rietsch" wrote : beside rename all fields to different names This is the sane solution. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053676#4053676 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053676 _

[jboss-user] [EJB 3.0] - Error creating MBeanProxy when using @Depends

2007-06-12 Thread mbarker
I used a Trailblazer tutorial as the basis for my example. http://trailblazer.demo.jboss.com/EJB3Trail/serviceobjects/jmx/index.html The managment interfaces are Calculator and InvestmentAdvisor. The MBeans are CalculatorMBean and InvestmentAdvisorMBean. I want to inject Calculator into my o

[jboss-user] [EJB 3.0] - Re: Cluster Stateful EJB 3.0 problems

2007-06-12 Thread viniciuscarvalho
Well here's the code for the client: | public void execute(){ | Contador contador = obterContador(); | int total = 0; | for(int i=0;ihttp://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053674#4053674 Reply to the post : http://www.jboss.com/index

[jboss-user] [JBoss Seam] - Re: IllegalArgumentException in EmbeddedEJB3

2007-06-12 Thread emsa
I'm using Seam 1.2.1.GA with the included jboss-ejb3-all.jar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053673#4053673 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053673 __

[jboss-user] [JBoss Seam] - Re: Beginner Question

2007-06-12 Thread drab
Hello Gavin, thanks for your response and I can understand your frustration about dealing with people that are a bit too enthusiastic at start. It's just that no 2 developers write the same HelloWorld application. And since Seam looked easy to me, I tried to do HelloWorld + 10%. Reading a lot o

[jboss-user] [JBoss Seam] - Re: Trouble with SeamTest when bean is annotated @Startup

2007-06-12 Thread tuxzilla
Unfortunately it didn't work either. I removed the ejb annotations and made it a POJO. Then I injected entityManager using @In, I got a similar problem, the root of which is due to the micro-container (and the JNDI) not available before the starting up of the bean: anonymous wrote : | [test

[jboss-user] [EJB 3.0] - Re: [JDBCExceptionReporter]'last_insert_id' is not a recogni

2007-06-12 Thread waynebaylor
It should work if both Person and Address have their ids annotated like @Id | @GeneratedValue | private int id; | Hibernate should take care of all the details. How are you using EntityManager to persist them? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopi

[jboss-user] [JBoss Portal] - Re: Jboss Portal Install Problems

2007-06-12 Thread PeterJ
Yes, Sun does hide older releases fairly well. On the Java SE downloads page, http://java.sun.com/javase/downloads/index.jsp look for the "Previous Releases" just under the Downloads tab. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053668#4053668 Reply t

[jboss-user] [JBoss jBPM] - Problem with invocation web service from JSP versus java cla

2007-06-12 Thread vetori
I am getting an error while invoking a web service from a java class whereas the same code if I put in a test jsp and run, it seems working fine.. And once the jsp is run, the class works perfectly. It seems like with the invocation of the JSP something is getting initialized/put in the classpath

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Entity beans ejbCreate returns null

2007-06-12 Thread paoletto
exactly. Is there any drawback if i make it return a legal pkey value? Im using a sort of auto increment on pk, and there's no way with finders then to find the last row inserted, so maybe the return value of the ejbCreate would suit perfectly.. View the original post : http://www.jboss.com/i

  1   2   3   4   >