[jboss-user] [JBoss Seam] - Needing help for the lazy initialize

2007-02-17 Thread Seto
In hibernate, we can use below code to limit the collection's size. | s.createFilter( lazyCollection, "").setFirstResult(0).setMaxResults(10).list(); | How can I do such thing in JBoss Seam, or in the other words, EJB3. Maybe I posted in the wrong forum, but I'm using Seam, so I post it h

[jboss-user] [JBoss Seam] - Re: Needing help for the lazy initialize

2007-02-17 Thread Seto
I just have a three level relationship. Category 1...* Position 1...* Article My home page is listing the categories with the position below and articles below. I want to limit the size initilize size of the articles. I'm using the sublist to get the recent 10 articles. But it can't limit the ini

[jboss-user] [JBossWS] - Re: Can not javax.xml.bind.JAXBContext in which jar file.

2007-02-17 Thread rlamie
Thomas, After checking out a fresh copy of the 1.2.0 branch, I tried to run the release target. Several points : 1/ Ant.properties # Optional JBoss Home #jboss50.home=/home/tdiesler/svn/jbossas/trunk/build/output/jboss-5.0.0.Beta2 #jboss42.home=/home/tdiesler/svn/jbossas/branches/Branch_4_2/build

[jboss-user] [JBossWS] - Re: Can not javax.xml.bind.JAXBContext in which jar file.

2007-02-17 Thread rlamie
Sorry for the noise, I've found the implementation of WSContractConsumerFactory in the subprojects dir. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018106#4018106 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=40181

[jboss-user] [JBoss Seam] - Re: SeamRemotingServlet gone since JBSEAM-790, doc doesn't t

2007-02-17 Thread codelion
Right on same page in chapter on remoting you yet have to replace more than one

[jboss-user] [JBoss Seam] - Re: SeamRemotingServlet gone since JBSEAM-790, doc doesn't t

2007-02-17 Thread codelion
... without the linefeeds, either forum formatting or me slipping with the mouse ... Point is it needs that extra /resource/ in the paths to the scripts. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018111#4018111 Reply to the post : http://www.jboss.com/

[jboss-user] [JBoss Seam] - Re: Security Remember Me Functionality

2007-02-17 Thread [EMAIL PROTECTED]
>From a security perspective, this is not a good idea. I can steal your >username and password from the cookie with a bit of Javascript. The only >requirement for that is that somewhere in the web application, user input is >printed on the webpage unfiltered (e.g. on a registration screen, there

[jboss-user] [JBoss Seam] - Re: Security Remember Me Functionality

2007-02-17 Thread [EMAIL PROTECTED]
Furthermore: Today, clients can fill out login-forms automatically. It is a much safer approach: a) the user decides when he wants to store sensitive information on the client (e.g. not on a browser in some internet cafe) b) the user has a clear warning and a message (Do you want to store that

[jboss-user] [JBoss Seam] - Re: SeamRemotingServlet gone since JBSEAM-790, doc doesn't t

2007-02-17 Thread [EMAIL PROTECTED]
You're right, of course. I've updated all the paths in the docs, it should be correct now. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018125#4018125 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018125 __

[jboss-user] EAR classloading

2007-02-17 Thread Angel Todorov
Hi All, Our company is evaluating JBoss as an application server choice for our current applications to be deployed on. I have two questions regarding the structure of the EAR in JBOSS with respect to class loading. According to the J2EE 1.4 specification, one can put utility jars in the EAR, wh

[jboss-user] [Installation, Configuration & Deployment] - Re: java.util.Properties$LineReader.readLine(Properties.java

2007-02-17 Thread bipinthakur
"genman" wrote : Probably the argument to "load()" was a null stream. I would check the args for your call to this and your classpath. Thanks a lot for your kind reply. A have tried with many addtions in the classpath variable. Kindly let me know if any special entry is missing my classpath decl

[jboss-user] [JBoss Getting Started Documentation] - Re: Can't build Duke's bank

2007-02-17 Thread breuerj
As far as I understand it, you must copy the jboss source code into the directories of the j2ee tutorial from sun, i.e. j2eetutorial14/. You can build from the directory j2eetutorial14/examples/bank/build than. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=40

[jboss-user] [JBoss Getting Started Documentation] - Re: Where is the additional JBoss code for the Java EE Tutor

2007-02-17 Thread breuerj
It's in the zip: http://docs.jboss.org/jbossas/getting_started/v4/startguide40.zip View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018138#4018138 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018138

[jboss-user] [JBoss Seam] - Seam-managed persistence contexts ok to use outside conversa

2007-02-17 Thread codelion
I think I read all of reference documentation chapter 8 including section 8.3. Seam-managed persistence contexts. Would like to know official position (other than whether an experiment would show it works). Can a Seam-managed persistence context be used outside a conversation? What do I mean?

[jboss-user] [JBoss Seam] - Re: Conversation versus Session Context

2007-02-17 Thread jrosskopf
Hello, sorry bothering you again. I donĀ“t fully understand this pattern. What I did so far is creating a ComponentBindings-POJO | @Name("componentBindings") | @Scope(ScopeType.EVENT) | public class ComponentBindings { | @Logger | Log log; | | HtmlPanelGrid select

[jboss-user] [JBoss Seam] - Re: Conversation versus Session Context

2007-02-17 Thread quilleashm
You still have the same problem. You want to access the componentBindings component directly NOT through your selectItemFacade. The selectItemFacade isn't accessible (conversation scope not active yet, see above) when the bindings are done. You should refer to the componentBindings directly i

[jboss-user] [Installation, Configuration & Deployment] - EAR classloading

2007-02-17 Thread attodorov
Hi All, Our company is evaluating JBoss as an application server choice for our current applications to be deployed on. I have two questions regarding the structure of the EAR in JBOSS with respect to class loading. According to the J2EE 1.4 specification, one can put utility jars in the EAR, whi

[jboss-user] [JBoss Seam] - Re: Security Remember Me Functionality

2007-02-17 Thread [EMAIL PROTECTED]
Christian, I'll have to agree and disagree with you. First, I agree, never trust the client, there is all manner of bad things that can be done by the client or done to the client to have it expose confidential information. Next, I'll disagree that the proposed scheme would allow an attacker e

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

2007-02-17 Thread swestbom
Keep this up and we will beat the posting count for Seam! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018168#4018168 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018168 _

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

2007-02-17 Thread swestbom
As long as it wasn't me View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018167#4018167 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018167 ___ jboss-user mailing list jboss

[jboss-user] [JBoss Portal] - Re: like your product

2007-02-17 Thread [EMAIL PROTECTED]
Thanks ! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018169#4018169 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018169 ___ jboss-user mailing list jboss-user@lists.jbos

[jboss-user] [JBoss Portal] - Re: Management portlet improvements

2007-02-17 Thread [EMAIL PROTECTED]
No I'll add 5 weeks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018170#4018170 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018170 ___ jboss-user mailing list jboss-user

[jboss-user] [JBoss Seam] - Re: Security Remember Me Functionality

2007-02-17 Thread [EMAIL PROTECTED]
There is not much difference between getting a valid hash that I can use to log-in to your application, or a cleartext password. I have access to your data. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018199#4018199 Reply to the post : http://www.jboss.c

[jboss-user] [JBoss Seam] - Re: Security Remember Me Functionality

2007-02-17 Thread [EMAIL PROTECTED]
And for site personalization, that is what I described as the "Amazon" approach. This is what we currently allow, you just need the username for that and then force re-authentication if the user wants to do more and modify some sensitive data. View the original post : http://www.jboss.com/ind

[jboss-user] [JBoss Seam] - Re: Needing help for the lazy initialize

2007-02-17 Thread Seto
Can someone help me? I learn from the blog use the sublist, I'm in trouble with rows up to 1000. It cost seconds to finish the loading. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018201#4018201 Reply to the post : http://www.jboss.com/index.html?module=b

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: JSF at jboss-4.0.5.GA

2007-02-17 Thread [EMAIL PROTECTED]
See the instructions at the end of this wiki: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossWithIntegratedMyFaces To switch to the RI, you may also need to delete temp directories such as server/default/tmp and server/default/work. And of course, you need to get rid of the MyFaces context liste

[jboss-user] [JBoss Seam] - Re: Needing help for the lazy initialize

2007-02-17 Thread Seto
for example | | | #{category.name} | | | #{position.name} | | | #{article} | | | | | | | Refering to the blog example, I used the #{position.recentArticles} instead. | public List getRecentArticles(){ | retu

[jboss-user] [EJB 3.0] - Re: Predestroy!

2007-02-17 Thread hceylan
Any response from EJB3 team? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018209#4018209 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018209 ___ jboss-user mailing list jb

[jboss-user] [JBoss jBPM] - Re: jpdl-3.2.Beta2: how to access variable from task form in

2007-02-17 Thread kukeltje
You do not seem to have any variables declared in the tasks and yes you need a controller there. afaik, the variables are transient if not declared on the task. In the other nodes they will not be available... again...afaik. View the original post : http://www.jboss.com/index.html?module=bb&op

[jboss-user] [JBoss jBPM] - Re: BPEL Installation - NewBie

2007-02-17 Thread kukeltje
please learn the basics of soap before starting with webservices. SOAP uses HTTP POST, not GET, so it is normal to get the 'not supported' message View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018211#4018211 Reply to the post : http://www.jboss.com/index.ht

[jboss-user] [JBoss Seam] - Re: Security Remember Me Functionality

2007-02-17 Thread hstang
I'm not sure how you could recover the password in plaintext, as it is hash-ed along with other attributes. As Jack has mentioned, the most clever attack on the most secure hash algorithm we have available today (SHA-1) would take ~ 2^63 steps to find a collision, which is barely feasible. Now

[jboss-user] [JBoss jBPM] - Re: jpdl-3.2.Beta2: how to access variable from task form in

2007-02-17 Thread avbentem
Hi there again! "kukeltje" wrote : You do not seem to have any variables declared in the tasks Errr, yes, I know. But any variable declared in the task forms is automagically available in other task forms that use the same variable names. Like: | | Even more: defining them in the task as

[jboss-user] [JBoss Seam] - Re: Needing help for the lazy initialize

2007-02-17 Thread lawrieg
Take a look at section 8.4 'Using the JPA "delegate"' and 8.5 'Using Hibernate filters' in the Seam reference documentation - it seems like this might be what you are looking for. Hope this helps, Lawrie View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018222

[jboss-user] [JBoss Seam] - Re: Security Remember Me Functionality

2007-02-17 Thread [EMAIL PROTECTED]
Attacker does not need to recover the password to login to the application. All they need is the hash, which is right there in the cookies. Sure, you can try to timeout the hash after some period of time, but this is silly because (a) a short timeout means that the whole functionality is useless

[jboss-user] [JBoss Seam] - Re: Needing help for the lazy initialize

2007-02-17 Thread [EMAIL PROTECTED]
There's no support for this in EJB3. Just use an ordinary query. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018228#4018228 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018228 __

[jboss-user] [JBoss Seam] - Re: Seam-managed persistence contexts ok to use outside conv

2007-02-17 Thread [EMAIL PROTECTED]
Yes, for "outside a conversation", what you really mean is "inside a temporary conversation". Just because the current conversation is not long-running, does not mean there is no conversation context. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018229#401

[jboss-user] [JBoss Seam] - Re: valueChangeListener doesnt work in Seam?

2007-02-17 Thread [EMAIL PROTECTED]
I added a valueChangeListener to a dropdown in the booking example and it worked perfectly. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018232#4018232 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018232 __

[jboss-user] [JBoss Seam] - Re: Needing help for the lazy initialize

2007-02-17 Thread Seto
lawrieg, thanks. Youre advice helps. I just use the session to implement the part initialize of the collection. Thank you. Also thanks to gavin. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018234#4018234 Reply to the post : http://www.jboss.com/index.html

[jboss-user] [JBoss Seam] - Re: Web services and Seam

2007-02-17 Thread [EMAIL PROTECTED]
At least in the initial release, Seam-WS will probably not feature any specific functionality for service orchestration, since this functionality is being provided by jBPM itself (for WS orchestration) and by JBoss ESB (for ESB event orchestration). (Initially I had thought we would do this our

[jboss-user] [JBoss Seam] - Re: pass parameters from page to page

2007-02-17 Thread [EMAIL PROTECTED]
You can access a request parameter named 'para1' as #{param.para1}. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018239#4018239 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018239 _

[jboss-user] [JBoss Seam] - Disable event-based validation

2007-02-17 Thread straubp
Hi, I'd like to use Hibernate validation only at application level (i.e. in code and with s:validateAll). Is there a way to disable the ValidateEventListener, i.e. event-based validation? If so, how can I do this? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=v

[jboss-user] [Beginners Corner] - Re: Error while running JBoss server

2007-02-17 Thread jwenting
Seems you're trying to debug the servlet by running it as an application. That's not the way to do it. You need to connect to the web application (the servlet module) running inside JBoss and set some breakpoints. Then do an HTTP request to the servlet (using a web browser usually) and see the b

[jboss-user] [JBossWS] - [Jboosws1.2]Encoding problem

2007-02-17 Thread rlamie
JBossws1.2 JBoss 4.0.5GA Windows XP Maybe a little bit offtopic but i submit my case : - WS Client based upon a wsdl stored locally (called File1) - When I run the client, I got the following error : | Caused by: org.apache.xerces.xni.XNIException: Parser should stop: JBossWS_www.mycomp.com

[jboss-user] [JBoss Seam] - A couple Captcha questions

2007-02-17 Thread djeverson
We are looking at using Captchas on a couple public pages in our application. We added the JCaptcha functionality from CVS. We have a couple questions that hopefully someone could help out with: 1) Out of the box we have a very hard time reading many of the generated images. Any advice on ho

[jboss-user] [JBoss Seam] - Re: Seam Gen template error?

2007-02-17 Thread saeediqbal1
Hey Guys while you are at the bug. Can you please report this if its not done already. when running seam generate-entities , i get the following error which refers to the file list.xhtml.ftl line 30 which is | <#if property.value.typeName == "string"> [hibernate] INFO: Hibernate Tools 3.2.0.

[jboss-user] [EJB/JBoss] - Re: Probleme java/Jboss ?

2007-02-17 Thread jwenting
Don't put that there. An array isn't a valid serializable object (and putting fields in an interface is an established Bad Thing (tm) according to Josh Bloch, though sometimes handy for cases like this). Best change that array to 2 separate String fields (I assume they're allowed values for som

[jboss-user] [JBoss Seam] - Re: Null Value in s:link w/IceFaces

2007-02-17 Thread gzoller
Ok, I'm making progress solving the problem. It turns out that you definitely do need to annotate the list in the backing bean used to populate the with @DataModel. If you don't, even though IceFaces rendering components will see your line-item variable correctly populated, the Seam tag won'

[jboss-user] [JBoss Seam] - Re: Seam Gen template error?

2007-02-17 Thread cparham
"saeediqbal1" wrote : Hey Guys while you are at the bug. Can you please report this if its not done already. when running seam generate-entities , i get the following error which refers to the file list.xhtml.ftl line 30 which is | | | <#if property.value.typeName == "string"> | |

[jboss-user] [JBoss Seam] - Problems with navigations with null outcomes

2007-02-17 Thread fernando_jmt
Hi. I am just changing all navigation rules from faces-config.xml to pages.xml. Then when my action returns a null outcome it does not redisplay the current page. I have this method in my component: | @Stateful | @Name("userManager") | public class UserManagerAction { | ... | public

[jboss-user] [JBoss Seam] - Re: A couple Captcha questions

2007-02-17 Thread [EMAIL PROTECTED]
1) I've created a JIRA issue for this - http://jira.jboss.org/jira/browse/JBSEAM-865 2) This is really a question for the JCaptcha people, you might want to ask on their mailing list. 3) A simple google search reveals there are a few of them, but I haven't tried any of them. View the original p

[jboss-user] [JBoss jBPM] - store and get data-files

2007-02-17 Thread hade79
Hello, I integrated jsp's into jbpm's task.jsp to get more functionality. In my process I am able to upload a file (txt file) and store it into the server's file system. As hsqldb is not able to store binary objects, I just store the file's path into it. But when I try to get the file back as a

[jboss-user] [JBoss Seam] - Re: OneToMany does not load

2007-02-17 Thread petemuir
Put a break point on the District.getStores() method and see what the stores variable contains. If it has only one store then the problem is hibernate related (so ask there as you'll get more help), otherwise come back here. Make sure you are working with an uptodate version of the entity. Vi

[jboss-user] [JBoss jBPM] - Re: Partial steps to get file upload running, final step doe

2007-02-17 Thread hade79
Hi, I have the same problem. I stored a file into the file system of the server. But how do I get the file from the server. I tried to get it by using a link with file.getAbsolutePath() but that doesn't work. Dennis View the original post : http://www.jboss.com/index.html?module=bb&op=viewtop

[jboss-user] [JBoss Seam] - Re: @DataModel doesn't load the first time

2007-02-17 Thread petemuir
Sounds like for some reason the datamodel isn't getting outjected straight away. Perhaps try outputting a logical outcome and specifying a redirect navigation rule *might* help. Otherwise you could try explicitly clearing the searchResults varialbe in basicSearch() - or try using an EntityQuer

[jboss-user] [JBoss Seam] - New conversation variable stack component (proposal)

2007-02-17 Thread quilleashm
Hi all, Was going to put this in JIRA (will shortly) but I thought I'd float the idea here first to kick it around a bit. At the moment it is quite tricky and/or cumbersome to pass arbitrary values up and down a nested conversation stack (@Begin(nested = true)) in a generic manner. In the sim

[jboss-user] [JBoss Seam] - Re: Disable event-based validation

2007-02-17 Thread petemuir
Ask this on the hibernate JSR-220 forum. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018316#4018316 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018316 ___ jboss-user mai

[jboss-user] [JBoss Seam] - Re: New conversation variable stack component (proposal)

2007-02-17 Thread quilleashm
Forgot to add I have a VERY rough implementation of this which I will try out next week. I can post if it would add some clarity. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018317#4018317 Reply to the post : http://www.jboss.com/index.html?module=bb&op

[jboss-user] [JBoss Seam] - Re: Seam Gen template error?

2007-02-17 Thread petemuir
Put it in JIRA :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018318#4018318 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018318 ___ jboss-user mailing list jboss-user@li

[jboss-user] [JBoss Seam] - Re: Problems with navigations with null outcomes

2007-02-17 Thread petemuir
Try | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018319#4018319 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=40183

[jboss-user] [JBoss Seam] - Problem with Hibernate

2007-02-17 Thread syzork
hi people! i do reverse engineering (mysql5) with 'seam generate-entities' and works with success, when I 'seam restart' builds OK too, but when the application runs I got this error related with Hibernate: | ... | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- | ObjectName: persi

[jboss-user] [JBoss Seam] - Re: Seam Gen template error?

2007-02-17 Thread damianharvey
I had the same issue but reverting to the templates from CVS and re-applying my changes fixed it. I assumed that there was a difference in the versions there somehow. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018327#4018327 Reply to the post : http://w

[jboss-user] [JBoss jBPM] - Re: BPEL Installation - NewBie

2007-02-17 Thread [EMAIL PROTECTED]
Try http://localhost:8080/hello/greeter?wsdl to get the WSDL document of the service directly to your browser and confirm the server is running. A response of "GET not supported" instead of "404 not found" already indicates that the web service is up and running. As Ronald says, SOAP requires th

[jboss-user] [JBoss jBPM] - Re: JbpmBpelDS not bound

2007-02-17 Thread [EMAIL PROTECTED]
Unless jbpm-bpel-ds.xml is removed from jbpm-bpel.sar, the data source gets deployed along the jbpm bpel service. However, the web application jbpm-bpel.war also gets deployed before the service and, sometimes, even before the data source. The web app starts the jBPM job executor thread (see th

[jboss-user] [JBoss Eclipse IDE (users)] - Re: file permision prob

2007-02-17 Thread rajesh78
Can you try few things? 1) Please make sure that your JAVA_HOME environment variable is set before you run ./run.sh. 2) Please Clean data, log, tmp and work directory from server/default. Restart jboss and see if you still have problem. You do not have to restart jboss for your new deploymen

[jboss-user] [JBoss Seam] - Re: Null Value in s:link w/IceFaces

2007-02-17 Thread gzoller
Further research... the original question in the post has been answered but nesting dataTables remains. Trying non-IceFaces DataTables yields the same result so I'm going to open a new post without the clutter of IceFaces. View the original post : http://www.jboss.com/index.html?module=bb&op=

[jboss-user] [JBoss Seam] - Re: Problem with Hibernate

2007-02-17 Thread petemuir
You need to post the exception (and full stack trace) that occurs earlier in startup View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018339#4018339 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018339 _

[jboss-user] [JBoss Seam] - Re: Seam Gen template error?

2007-02-17 Thread saeediqbal1
i just used eclipses built in cvs rep. to download jboss-seam folder from the "head" section in the repository. is that the one with new template files? or was it the version section? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018340#4018340 Reply to the

[jboss-user] [JBoss Seam] - Re: Problem with Hibernate

2007-02-17 Thread syzork
sure http://localhost:8080/helloworld/home.seam An Error Occurred: Cannot get value for expression '#{usuariosList.firstResult}' Stack trace: javax.faces.el.EvaluationException: Cannot get value for expression '#{usuariosList.firstResult}' at org.apache.myfaces.el.ValueBindingImpl.getV

[jboss-user] [JBoss Seam] - Problems Nesting

2007-02-17 Thread gzoller
I'm trying to nest with elements without success. Actually I can render a 2-level nested data table but if I click on the innermost links I get null passed to the action method. Clicking on the top-level links works fine and the expected objects are passed tomy action method. Frustrating!

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

2007-02-17 Thread saeediqbal1
How do i get rid of this error operator == is undefined for the argument type(s) int on these lines (!getMembersId().getId() == null) I tried doing .intValue() but no go. Annoying problem in the method "isIdDefined" View the original post : http://www.jboss.com/index.html?module=bb&op=viewt

[jboss-user] [Beginners Corner] - Application Server basics

2007-02-17 Thread rsj
Hello All, I am new to the server technologies. I would like to know a little bit on Application server in general (like architecture, design, limitations, cost anaylsis etc). Can anyone suggest some good books/links on Application server?If I am posting this in the wrong forum please let me kno

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

2007-02-17 Thread saeediqbal1
Correction. the above error is this operator == is undefined for the argument type(s) int,null why does it consider null when we explicitly state the return value to be not null like here @Column(name = "id", nullable = false) | @NotNull | public int getId() { |

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: JSF implementation issues in 5.0.0.Beta1

2007-02-17 Thread [EMAIL PROTECTED]
Why would you want to bundle your own version of the RI with your application? You can do that if you like, but it has some disadvantages: 1) You have to bundle RI jars with every JSF application. 2) You lose resource injection for managed beans. 3) You lose logging integration. So any log mess

[jboss-user] [Beginners Corner] - Re: Server not Starting

2007-02-17 Thread PeterJ
According to these lines: 14:45:10,038 INFO [ServerInfo] Java version: 1.4.2,Free Software Foundation, In c. 14:45:10,038 INFO [ServerInfo] Java VM: GNU libgcj 3.4.5 20051201 (Red Hat 3.4. 5-2),Free Software Foundation, Inc. you are running the JVM that comes with Red Hat. Make sure youy set J

[jboss-user] [JBoss jBPM] - JbpmContext.setActorId

2007-02-17 Thread symmetrysolutions
I am trying to set the actorId on the JbpmContext and it looks like the only way to do this is with the DefaultAuthenticationService or the setActorId will return ClassCastException. Also, the default authentication service is null so this is not working either. What am I missing? How do I tell

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

2007-02-17 Thread chuckadams
Your id field is an int and not an Integer. @NotNull is nonsensical for primitive types. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018364#4018364 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018364 ___

[jboss-user] [Installation, Configuration & Deployment] - Re: jboss not running on ubuntu

2007-02-17 Thread PeterJ
Did you install JBoss while running as root? And you are now trying to run it as your account? You could either change the ownership of the files, or change the access mode. By the way, what I did was first changed /opt to be fully accessible by everyone, then I installed JBoss using my own acc

[jboss-user] [JNDI/Naming/Network] - Re: Proxy ClassCastException after successful EJB lookup

2007-02-17 Thread PeterJ
skymic, you should have started a new post, not appended to an existing one. I suspect that you are using EJB3 (you didn't say which version of ejb you are using), in which case you might want to try the lookup as: Object ref = ic.lookup("SDOCI/remote/SDOCIBusinessService/remote"); If this does

[jboss-user] [JBoss jBPM] - Re: JbpmContext.setActorId

2007-02-17 Thread symmetrysolutions
Nevermind, I looked at my test code again and discovered I was creating the configuration using ParseXml call and not getInstance and the XML for the configuration did not have any services. Once I used getInstance it used the jbpm.cfg.xml that was in the path and created the DefaultAuthenticat

[jboss-user] [JBoss Portal] - Re: Two portlets in the same content/window?

2007-02-17 Thread PeterJ
Do you really need this to be two portlets? Why not just a single portlet with two views, and a mechanism to determine which view to show? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018372#4018372 Reply to the post : http://www.jboss.com/index.html?modul

[jboss-user] [JBoss Seam] - Seam-gen Issues

2007-02-17 Thread phicorp
Hello All, I have experienced the following seam-gen issues using PostgreSQL 8.0.3 When I run seam-gen, I receive an error message which states that the expression property.value.typeName is undefined in the following line <#if property.value.typeName == "string"> within the freemarker templ

[jboss-user] [JBoss Seam] - Re: Seam-gen Issues

2007-02-17 Thread [EMAIL PROTECTED]
Every table should have a primary key. Otherwise it is not a relation. Neither seam-gen nor Hibernate nor JPA will ever support tables with no primary keys. I have no idea where this table comes from. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018376#4018

[jboss-user] [JBoss Seam] - Re: Problem with Hibernate

2007-02-17 Thread [EMAIL PROTECTED]
I always get this whenever I have not started the database. Anyway, it occurs because Hibernate cannot connect to MySQL. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018377#4018377 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mo

[jboss-user] [JBoss Seam] - Re: Seam Gen template error?

2007-02-17 Thread [EMAIL PROTECTED]
This was already fixed in CVS. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018378#4018378 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018378 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: Seam Gen template error?

2007-02-17 Thread saeediqbal1
i concur, this seems to be fixed now in the cvs build i downloaded. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018379#4018379 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018379 ___

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

2007-02-17 Thread saeediqbal1
thats what seam-gen gave me. anyway i';ll get back to playing with seam View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018380#4018380 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018380 _

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

2007-02-17 Thread [EMAIL PROTECTED]
Are you trying to say that seam-gen generated code that did not compile? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018382#4018382 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018382 __

[jboss-user] [JBoss Seam] - Re: Problems with navigations with null outcomes

2007-02-17 Thread fernando_jmt
Yes, adding from-outcome works. I also did that before posting here. So, this means we need to add a rule even for null outcomes? I had seen in the seam reference (1.1.6GA), page 87, this: "Null outcomes are a special case in JSF. The null outcome is interpreted to mean "redisplay the page". The

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

2007-02-17 Thread saeediqbal1
compile was successful. but eclipse is showing the red dot i now think i should ignore that Buildfile: C:\devhome\workspace\pproject\build.xml init: compile: BUILD SUCCESSFUL Total time: 656 milliseconds View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018384#

[jboss-user] [JBoss Seam] - Re: Problems Nesting

2007-02-17 Thread [EMAIL PROTECTED]
Is #{outer.buckets} a DataModel? If not, make it one. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018381#4018381 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018381 ___

[jboss-user] [JBoss Seam] - Re: Problems with navigations with null outcomes

2007-02-17 Thread [EMAIL PROTECTED]
The docs are correct, are you sure you are really observing this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018387#4018387 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018387 _

[jboss-user] [JBoss Seam] - Re: Problem with Hibernate

2007-02-17 Thread syzork
the MySQL server seems to be OK, 'generate-entities' and phpmyadmin connects to the server normaly. what am I missing? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018388#4018388 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode

[jboss-user] [JBoss jBPM] - Re: jpdl-3.2.Beta2: how to access variable from task form in

2007-02-17 Thread kukeltje
I'm referring to the task nodes. not specificially the task forms Currently you have to define things in multiple forms since the core/default task controller does not take things into account. Defining types of variables on the process level is something that is currently under discussion. See

[jboss-user] [JBoss Seam] - Re: Problems with navigations with null outcomes

2007-02-17 Thread [EMAIL PROTECTED]
I just retested this. A never matches a null outcome. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018391#4018391 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018391 ___

[jboss-user] [JBoss Seam] - Re: DataModelSelection and components.xml

2007-02-17 Thread lightbulb432
How can I get the row index when I'm using entityquery.resultList? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018395#4018395 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018395

[jboss-user] [JBoss Seam] - Re: s:selectItems - whto work

2007-02-17 Thread supernovasoftware.com
I removed all of my @PersistenceContext in favor of @In(create=true) | public EntityManager entityManager; I also replaced all | @EJB with @In(create=true) MyDAO myDAO; This did make it work a little better. Then I stepped into AbstractEntityConverter and EntityConverter.

[jboss-user] [JBoss Eclipse IDE (users)] - Cant find JBoss 3.2.x in the debug configurations

2007-02-17 Thread lamsam
Hi all, I installed 2.0.0.Beta2 (JBossIDE-2.0.0.Beta2-Bundle-win32.zip). I follow the tutorial and everything is fine until I reach Chapter 10 - JBoss Configuration and Launch. The problem is that I cannot find the JBoss 3.2.x in the left tree panel. What's wrong? Please help! Thanks! Lam V

[jboss-user] [Installation, Configuration & Deployment] - Re: EAR classloading

2007-02-17 Thread jaikiran
Have a look at: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossClassLoadingUseCases http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018404#4018404 Reply to the post : http://www.jboss.com/i

[jboss-user] [JBoss Seam] - Re: Seam-gen Issues

2007-02-17 Thread phicorp
Hello Gavin, Its a database view, not a Table, and many applications have database views which do not have primary keys. Many thanks, Bruce. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018409#4018409 Reply to the post : http://www.jboss.com/index.html?

[jboss-user] [JBoss Seam] - Help, who uses EntityHome with SFSB? I don't know how to def

2007-02-17 Thread Seto
I used the EntityHome with the settings in components.xml, and it works well. When I turn to SFSB, I'm confused. I don't know how to define the interface. I define it in a few forms. And none works. Could someone give me an example? Thanks. View the original post : http://www.jboss.com/index.htm

  1   2   >