[jboss-user] [JBoss Seam] - Re: How to not propagate conversations??

2008-01-19 Thread brachie
@MSchmidke: Hallo Landsmann ;-) my Seam app has nearly the same structure as yours (RichFaces DropdownMenu and conversational pages). As fas as I understood, creating new conversations and letting existing conversations timeout (this is the case when using propagation=none for menu-link) is ok

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: jboss-4.2.2.GA on Win2K3 does not respond to HTTP reques

2008-01-19 Thread transclusion
Using http://localhost:8080/jmx-console, I'm still getting a timeout after a few minutes. Since the issue persists, I'm now considering reverting to an older version to see was happens. Thanks again PeterJ. View the original post :

[jboss-user] [JBoss Seam] - Re: How to not propagate conversations??

2008-01-19 Thread sztank
Hello, I had the similiar situation and will be very interested in finding the right solution. Actually I stop using conversations due to the fact that it will be hard to me to understand well how they should be used in the situations like this. Although I like the concept! View the original

[jboss-user] [EJB 3.0] - OneToOne relation gives problem

2008-01-19 Thread thiagu.m
This is my TBL_PRODUCTS table structure is | PRODUCT_ID pk | PRODUCT_NAME | CATEGORY_NAME | SUBCATEGORY_NAME | BRAND_NAME | This is my TBL_CELLPHONE table structure is | PRODUCT_ID pk | BLUETOOTH | CAMERA | This is my TBL_CELLPHONE table structure is |

[jboss-user] [JBossWS] - Re: url mapping schemalocation

2008-01-19 Thread [EMAIL PROTECTED]
AJanz wrote : something i must do wrong. | | i edited the wsdl file, but then could no longer build the project because | | xsd:import namespace=mynamespace | schemaLocation=http:/myalias:8080/project/Service?wsdlresource=myschema.xsd/ | While editing the local copy of the

[jboss-user] [JBossWS] - Re: url mapping schemalocation

2008-01-19 Thread [EMAIL PROTECTED]
AJanz wrote : | http://ip-adress:8080/WebService/project?wsdl | | gives an error | What error? anonymous wrote : | how can i publish a web service under a differen url? | What exactly do you mean? Take a look at this:

[jboss-user] [JBoss Tools (users)] - Re: import.sql howto

2008-01-19 Thread [EMAIL PROTECTED]
yes, just like in seam-gen...just because its in the IDE doesn't change the behavior ,) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4121493#4121493 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4121493

[jboss-user] [Installation, Configuration DEPLOYMENT] - Unable to start JBoss 4.2.2 GA

2008-01-19 Thread madhu201814
Hi, I have downloaded jboss-4.2.2.GA but it is not running.can any one suggest me how to configure JBOSS on windows 2003 Server Enterprise Edition Environmental Variables JBOSS_HOME:C:\jboss-4.2.2.GA JAVA_HOME:C:\Java\jdk1.5.0_12

[jboss-user] [JBoss Seam] - Re: Component Architecture instead of traditional Layers

2008-01-19 Thread brachie
@Cyrill: Interesting questions! I would also be very interested in an answer, since we are currently using Seam in our project and having a proper architecture is essential. I agree, that the seam examples are a bit too simple as template for real-world application architecture. In my opinion

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Unable to start JBoss 4.2.2 GA

2008-01-19 Thread madhu201814
Hi, I solved this issue.We should keep C:\WINDOWS\System32 in environmental PATH variable View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4121500#4121500 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4121500

[jboss-user] [Installation, Configuration DEPLOYMENT] - Everything is deleted on shutdown

2008-01-19 Thread apetrov2
Hi, probably I am not doing something right. I have an application EAR file it is a shopping platform with a catalog. This shopping platform has different payment methods. The user uploads a class file with a payment method and the platform starts using it. But the problem is that on

[jboss-user] [EJB/JBoss] - Re: Serializable no remote classloading

2008-01-19 Thread newtetris
Great thanks a lot ... it works but 1 (small) issue left. If I do scoped classloading with a jboss-app.xml like: jboss-app |loader-repository |org.test:archive=TestEJB.ear |/loader-repository | /jboss-app it won't work (of course?) ... any possibility to get it working?

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: jboss-4.2.2.GA on Win2K3 does not respond to HTTP reques

2008-01-19 Thread jaikiran
Sometime back i had run into a similar issue and for me it had turned out to be my setting in IE/Firefox. I had proxy enabled in my browser but had missed out adding localhost in the No Proxy for (Do not use proxy for) list in the IE/Firefox settings. Adding localhost to that list had fixed the

[jboss-user] [JBossWS] - Re: url mapping schemalocation

2008-01-19 Thread AJanz
many thanks!!! editing jboss-beans.xml and commenting webservicehost solved my problem. now the ip or url from the get request is then used as url prefix for the schemalocation. greetings sascha View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4121507#4121507

[jboss-user] [JBoss jBPM] - help major problem

2008-01-19 Thread twiceknightly
Hi, I have a major problem that I am finding hard to debug. I am using version 3.2.2 of jbpm on weblogic 9.2. I have an stateless session bean that is using container managed persistence. The problem I am seeing is that when I make the transition to an end state in the graph it is falling

[jboss-user] [JBoss AOP] - dynamic AOP - how to add advice???

2008-01-19 Thread bornmw
I have an aspect, defined as aspect name=ViewAspect class=ViewAspect/ How do I programmatically make an advice out of its 'render' method and add it to the chain of interceptors, same as I do with next xml: bind pointcut=execution(public * TickerPortlet-render(..)) | advice name=render

[jboss-user] [JBoss Portal] - Get Client IP address

2008-01-19 Thread thepriz
I would like to get the client IP address in a portlet. I have searched around and it seems this is not possible in the portlet architecture. I would like to do this to the portal specs but if this is not possible because it is lacking in the specs what is the workaround for jboss? Thanks,

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Hibernate sql output in Server Log and Console

2008-01-19 Thread jdijkmeijer
Ahh that explains it, still wondering why @work I can use debug, we use there commons-logging and spring together with hibernate3. Of course the Threshold in the appender needed to be adjusted as well. Looking at the code, I'm wondering if it would be valuable if you can specify whether you

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Everything is deleted on shutdown

2008-01-19 Thread jaikiran
Deploy your application in a exploded format as mentioned at http://wiki.jboss.org/wiki/Wiki.jsp?page=ExplodedDeployment. That way you can upload your files in the exploded archive View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4121516#4121516 Reply to the

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Hibernate sql output in Server Log and Console

2008-01-19 Thread jaikiran
jdijkmeijer wrote : still wondering why @work I can use debug, we use there commons-logging and spring together with hibernate3. | | As mentioned in the bug report, the behaviour depends on the version of log4j being used. Not sure how it behaves with commons-logging. jdijkmeijer wrote

[jboss-user] [Beginners Corner] - Re: I want to understand Jboss log files...

2008-01-19 Thread jaikiran
Everything looks fine in these logs. Hibernate is initializing as part of your application. Where/when do you see the errors? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4121519#4121519 Reply to the post :

[jboss-user] [Security JAAS/JBoss] - Re: JBOSS Error

2008-01-19 Thread jaikiran
Looks like you are not allowed to connect to 10.173.172.176:1099. Does telnet 10.173.172.176 1099 work? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4121520#4121520 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4121520

[jboss-user] [Security JAAS/JBoss] - Re: EJB3: How to access @Stateless EJBs from custom LoginMod

2008-01-19 Thread jaikiran
anonymous wrote : I tried a lookup via JNDI = no success (NameNotFoundException) Looks like you are using an incorrect JNDI name to do the lookup. Follow the steps below to figure out the exact jndi-name to which your bean is bound and then use that name to do the lookup: - Go to http://

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBoss deletes all the temp on shutdown

2008-01-19 Thread jaikiran
Let's continue this discussion in your other post at http://www.jboss.com/index.html?module=bbop=viewtopict=128054 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4121522#4121522 Reply to the post :

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Services with EJB dependency do not start up

2008-01-19 Thread jaikiran
Maybe the name of the service corresponding to your EJB has changed from 4.0.5 to 4.2.2. Go the jmx-console (http://localhost:8080/jmx-console) and see what's the name of the service which corresponds to your EJB and then use this in the depends tag of your MBean View the original post :

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: DataSourceBinding not yet installed

2008-01-19 Thread jaikiran
anonymous wrote : Didn't knew about a state-xml-file before?! Do I need this? In the jms dir is no state-xml-file, none for hypersonic and - clear - non for mssql. I also not found a mssql-jdbc-state-service.xml in the googled sites or in the example dir of jboss... JBoss-4.2.2 does have

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBoss deletes all the temp on shutdown

2008-01-19 Thread alesj
Where do you upload the user's file? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4121525#4121525 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4121525 ___ jboss-user mailing

[jboss-user] [JBoss Seam] - Re: Problem with validation and entityHome

2008-01-19 Thread fjgarmu
Thanks for ur reply matt.drees. I try writing a new method mysave in ReportsHome: | public String mysave(){ | if (this.getInstance().getRadiologos().getId()==0 this.getInstance().getReportstatus().getId()=4){ | this.addFacesMessage(ERROR);

[jboss-user] [JBoss Seam] - Re: JSF/Seam Binding and Nested Classes

2008-01-19 Thread aggtecnologia
In the first code snippet please ignore the annotation @Stateful. It is just a typo (it s not in my code). My code is just: | @Entity | @Name(mother) | public class Mother { | |private Daughter daughter; | |... setters and getters | } | I found a workaround

[jboss-user] [EJB 3.0] - Stateless session bean pooling in JBoss

2008-01-19 Thread yhrn
Hi, I'm using JBoss AS 4.2.2 GA and was trying to understand why every invocation on my slsb resulted in a new instance and why none of these instances were destroyed (i.e. why the @PreDestroy method was not invoked) until I stopped the entire application server. I finally understood that the

[jboss-user] [JBoss Seam] - Re: JSF/Seam Binding and Nested Classes

2008-01-19 Thread matt.drees
Do you ever create a Daughter object? I think you may need to post more code, and details on what fails. It looks like what you are trying to do should work, but it's not completely clear from what you've posted so far. View the original post :

[jboss-user] [JBoss Seam] - Re: Problem with validation and entityHome

2008-01-19 Thread matt.drees
By default, changes made to managed objects are flushed upon transaction completion, even if an update() is never manually called. You probably want to use manual flush mode. It's in the docs. There are also other posts about it. View the original post :

[jboss-user] [JBoss Seam] - Re: Problem with validation and entityHome

2008-01-19 Thread fjgarmu
thanks for your quick reply. I try it putting in the ReportsEdit.page.xml begin-conversation join=true flush-mode=MANUAL/ But the behavior is the same. Is it ok? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4121533#4121533 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Problem with validation and entityHome

2008-01-19 Thread matt.drees
Oh, maybe I misunderstood the situation. Did you appropriately change the page.xml file? (ReportsHome.page.xml, iirc) Post what you have. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4121534#4121534 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Begin method invoked from a long-running conversation -

2008-01-19 Thread MSchmidke
A lot of investigation later: Seems this time I have a really big problem with this. I have a new component which is very similar to the ones I already had (did not find any convincing difference until now), but it does not work. The new component has a @Create @Begin method to begin the

[jboss-user] [JBoss Seam] - Re: framework:entity-query question...

2008-01-19 Thread minamti
I am doing the ampersand sign () followed by le and followed by a ; If I give that string, the post says it is =. Why does parsing components.xml give an error ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4121538#4121538 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Begin method invoked from a long-running conversation -

2008-01-19 Thread MSchmidke
Finally I've found the cause. The page which does not work has page parameters in pages.xml. If I remove them, that page can be called (but I need them). But now that I found the reason, I still don't know why this is an error and what I can do. Can you help? Marcus. View the original post

[jboss-user] [JBoss Seam] - Re: framework:entity-query question...

2008-01-19 Thread [EMAIL PROTECTED]
1) POST YOUR EXCEPTIONS and stack traces. 2) Use code tags in your posts. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4121540#4121540 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4121540

[jboss-user] [JBoss Seam] - Re: JSF/Seam Binding and Nested Classes

2008-01-19 Thread aggtecnologia
You are ABSOLUTELY RIGHT. I am never creating daughter, I have just a reference. My code should be: | @Entity | @Name(mother) | public class Mother { | |private Daughter daughter = new Daughter(); | |... setters and getters | } | When poor old Seam tried to set the

[jboss-user] [JBoss Seam] - Re: Component Architecture instead of traditional Layers

2008-01-19 Thread [EMAIL PROTECTED]
ruettimac wrote : a) Injecting stateful session beans into other stateful session beans? No problem here, just use @In anonymous wrote : b) Are there any problems regarding the different seam scopes like CONVERSATION and long running CONVERSTAION scopes beans? Like what? anonymous wrote : c)

[jboss-user] [JBoss Seam] - Re: How to not propagate conversations??

2008-01-19 Thread [EMAIL PROTECTED]
If you want to cancel a conversation, use a propagation of end. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4121543#4121543 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4121543

[jboss-user] [JBoss Seam] - Re: Component Architecture instead of traditional Layers

2008-01-19 Thread [EMAIL PROTECTED]
brachie wrote : In my opinion injecting one SFSB into another should be avoided, but maybe I am wrong.. Why? The following questions are in my mind: anonymous wrote : Should there be one SFSB for every persistent class of your domain model which acts as a manager and manages the actions

[jboss-user] [JBoss Seam] - Re: @In reference a bit strange

2008-01-19 Thread [EMAIL PROTECTED]
Please file a JIRA issue for this. We should probably issue a WARN as it's not really an ERROR, but a programmer mistake. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4121545#4121545 Reply to the post :

[jboss-user] [JBoss Seam] - Re: JSF or Seam Question?

2008-01-19 Thread [EMAIL PROTECTED]
Sorry, I'm not really understanding what you are saying, can you explain again? If there is a problem with s:defaultAction (it behaves differently to pressing the commandButton with the mouse) then we should fix it. View the original post :

[jboss-user] [JBoss Seam] - Re: Problems with list page, persistence, and detached entit

2008-01-19 Thread [EMAIL PROTECTED]
Phew, long post. To keep entites from being detached use an SMPC with a long running conversation. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4121548#4121548 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4121548

[jboss-user] [JBoss Seam] - Re: beginner question

2008-01-19 Thread [EMAIL PROTECTED]
That pom shouldn't be there, I deleted it from trunk. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4121549#4121549 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4121549 ___

[jboss-user] [JBoss Seam] - Re: ELResolver invocation order

2008-01-19 Thread [EMAIL PROTECTED]
anonymous wrote : I wasn't looking for info about how an elresolver works, You can't write a custom resolver without understanding the API. anonymous wrote : Currently i just don't set the property to be resolved, and simply return null. | In your experience is it better to throw the

[jboss-user] [JBoss Seam] - Re: how to make session and Conversation disabled in seam?

2008-01-19 Thread [EMAIL PROTECTED]
You can't do it. In fact, you can't disable the session in servlet afaik. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4121546#4121546 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4121546

[jboss-user] [JBoss Seam] - Re: FailedConfiguration while running test

2008-01-19 Thread [EMAIL PROTECTED]
So you are using Seam 1.2? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4121551#4121551 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4121551 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: Problem with validation and entityHome

2008-01-19 Thread fjgarmu
Ok. I have: -JSF page: ReportsEdit.xhtml with a button | s:button id=mysave |value=mysave | action=#{reportsHome.mysave} | view=/Reports.xhtml | rendered=#{reportsHome.managed}/ | | -page xml:

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

2008-01-19 Thread [EMAIL PROTECTED]
I'm no expert, but the examples do this: @In | private FullTextEntityManager entityManager; | | ... | | entityManager.createFullTextQuery(...); View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4121557#4121557 Reply to the post :

[jboss-user] [JBoss Seam] - Re: How to not propagate conversations??

2008-01-19 Thread [EMAIL PROTECTED]
Can you show us code where it does not work? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4121556#4121556 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4121556 ___ jboss-user

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

2008-01-19 Thread juntao
The examples are tested on Tomcat 6.0. For Tomcat 5.5, I believe that you need to have the Sun EL JAR (el-api.jar)on the classpath. cheers Michael View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4121554#4121554 Reply to the post :

[jboss-user] [JBoss Seam] - Re: How to not propagate conversations??

2008-01-19 Thread MSchmidke
[EMAIL PROTECTED] wrote : If you want to cancel a conversation, use a propagation of end. Yes ... I tried ... but the point is that end does not seem to work for many of us, and I really do not understand why. @End annotation always works as expected, but end propagation does nothing

[jboss-user] [JBoss Seam] - Bypassing validations when using EntityQuery with example ob

2008-01-19 Thread stu2
I'm using the EntityQuery framework class, and it's working fine. As per the seam docs I'm using the Example object to hold query parameters. It works very well. BUT, Seam is running the validations on the example object, validation fails, and the search can't proceed. While the entity

[jboss-user] [JBoss Seam] - Re: ELResolver invocation order

2008-01-19 Thread [EMAIL PROTECTED]
Fair enough. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4121567#4121567 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4121567 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: How to reliably count active sessions and connected user

2008-01-19 Thread [EMAIL PROTECTED]
This isn't a bug. the loggedOut event is only raised when a user explicitly calls Identity.logout(), which doesn't happen when the session simply expires. I'm not sure which alternative to suggest, perhaps we need a new feature to support some kind of global session tracking. View the

[jboss-user] [JBoss Seam] - Re: Email with Icefaces

2008-01-19 Thread mrobinson28
anonymous wrote : I suggest posting on the icefaces forum, and post a link back here. It looks like someone already beat me to it: http://www.icefaces.org/JForum/posts/list/6923.page Thanks for the help. View the original post :

[jboss-user] [JBoss Seam] - Re: @In reference a bit strange

2008-01-19 Thread matt.drees
http://jira.jboss.org/jira/browse/JBSEAM-2510 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4121577#4121577 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4121577 ___ jboss-user

[jboss-user] [JBoss Seam] - Re: Problem with validation and entityHome

2008-01-19 Thread matt.drees
fjgarmu wrote : | | | s:button id=mysave | |value=mysave | | action=#{reportsHome.mysave} | | view=/Reports.xhtml | | rendered=#{reportsHome.managed}/ | | | | | I think

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

2008-01-19 Thread neilac333
True enough. When combined with Seam, HS allows you to inject the FullTextEntityManager directly. However, what I am doing is still correct--at least theoretically. It is basically what is found in the DVDStore example but with one catch. In that case, the JPA EntityManager is injected by

[jboss-user] [JBoss Seam] - Re: FailedConfiguration while running test

2008-01-19 Thread hubaghdadi
I use Seam 2.0 GA, JDK6, JBoss4.2, Ubuntu 7.10 I dropped my Ant build file and used the one that is generated by seam-gen tool, but this time I got this exception: |[testng] ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Instantiated:

[jboss-user] [JBoss Tools (users)] - Error when opening richfaces file in Eclipse with Fedora 8

2008-01-19 Thread kjack
When I try to open the seam generated home.xhtml file with Eclipse (plus jboss tools) on Fedora 8 I get the following error: Caused by: java.lang.UnsatisfiedLinkError: no swt-xulrunner-gtk-3346 or swt-xulrunner-gtk in swt.library.path, java.library.path or the jar file at

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

2008-01-19 Thread neilac333
I forgot to mention also that if you look at the top of the stack trace, all the fun starts with the class org.hibernate.search.jpa.impl.FullTextEntityManagerImpl. If that is the class of object that is supposed to be injected with | @In | private FullTextEntityManager entityManager |

[jboss-user] [Installation, Configuration DEPLOYMENT] - how to set Java memory to start JBoss for best performance

2008-01-19 Thread javatwo
My machine: physical memory: 8G swap: 12G The machine is running mysql and jboss 4.0.5GA. the JBoss run.conf includes: JAVA_OPTS=-Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 How to set Java memory for the best performance? Thanks! Dave