[jboss-user] [JBoss Seam] - Re: AUto generated id fileds

2007-04-01 Thread [EMAIL PROTECTED]
btw. anyone that can tell me how to detect autogenerated keys on the database they use via propritary sql or standard jdbc metadata is very welcome to tell me ;) Only requirement is that it is accessible through a jdbc connection. (note: I've found INFORMATION_SCHEMA on mysql5; but pre 5 it

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

2007-04-01 Thread ollix
than I don't understand the behaviour here. If I call the pdf's URl fist thing after server startup, i.e. e new session, I get the above error. If I first call a page, that uses a conversational component, I can afterwards call the pdf and get it. Maybe, if you find some time, you could

[jboss-user] [JBoss Seam] - Re: seam-gen for a multi-user (server) environment on multip

2007-04-01 Thread sushmu
A further improvement can be to store the project specific seam build.properties in the respective project itself. currently we are storing it in the user home directory which is fine, but keeping the seam project build.properties in the project makes more sense. Any thoughts? View the

[jboss-user] [JBoss Seam] - Re: seam-gen for a multi-user (server) environment on multip

2007-04-01 Thread [EMAIL PROTECTED]
afaik the only reason the settings are stored in seam-gen is so seam can be called easily without arguments. I could imagine storing the project location in ${user.home}/.seam-gen and keep all project info in the actual project instead of in seam-gen directory. And then have a seam switch

[jboss-user] [JBoss Seam] - Entity Property Not Up-To-Date

2007-04-01 Thread xtia004
It looks like a hibernate related topic, but I encountered it when developing using Seam and easy to describe with it. So I'd like to put it on here first. I have two SFSB, say A and B, both have an extended EntityManager em. A retrieves a list of entity Invoice. B retrieve a list of entity

[jboss-user] [JBoss Seam] - Re: Hot deployment of JSF file at development time?

2007-04-01 Thread spambob
If you are looking for a small eclipse plugin give http://andrei.gmxhome.de/filesync/index.html a try. It can keep every folder inside of your workspace in sync with some other folder somewhere else. Downside is that you have to manually restart the AS (touch application.xml) if you change

[jboss-user] [Clustering/JBoss] - 2 instances/machine; redhat init script

2007-04-01 Thread alpheratz-jb
I have looked at $JBOSS_HOME/bin/jboss_init_redhat.sh. This seems inadequate if one wants to have 2 JBoss instances/machine... It can easily be copied/hacked to run $JBOSS_HOME/bin/run.sh -c config for each separate instance. BUT I can't see how the code for stop/status can relate to WHICH

[jboss-user] [Clustering/JBoss] - ServiceBindingManager and 4.2.0CR1

2007-04-01 Thread alpheratz-jb
I tried setting up ServiceBindingManager according to the wiki: http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfiguringMultipleJBossInstancesOnOneMachine I find that when I start up the FIRST instance, I get an error telling me that port 4446 is already in use. The wiki says: anonymous wrote : AS

[jboss-user] [JBoss jBPM] - Is it integratable with my exixting dot net applications

2007-04-01 Thread syri
I already have applications that are implemented in dot net technologies, can this workflow integrate with these applications? in other words, can i use non-java applications with this workflow system? View the original post :

[jboss-user] [JBoss Seam] - Re: Seam EL parsing problem

2007-04-01 Thread Stateless Bean
I tryed do same combination of Seam extended EL in other project and don't know how this works? Maybe you Gavin have an idea what's wrong? I checked libs and seams well in my ear. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4033520#4033520 Reply to the post

[jboss-user] [JBoss Seam] - Re: [EMAIL PROTECTED]: Can not access Sessionbean from Servlet

2007-04-01 Thread joerg.pfruender
I habe tried SessionEditorBean, too. It did not help. Jörg View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4033523#4033523 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4033523

[jboss-user] [JBoss Seam] - Question on Converter

2007-04-01 Thread hasc
Hello, i defined a converter in faces-config.xml: converter | converter-idMyEntityConverter/converter-id | converter-classwebapp.converter.MyEntityConverter/converter-class | /converter and in the view i called it via: h:selectOneMenu converter=#{MyEntityConverter} |

[jboss-user] [JBoss Getting Started Documentation] - Incomplete Deployment listing problem with jboss

2007-04-01 Thread sudheer_pisces
I am trying to setup SpecjAppserver2004 on Jboss and get the following errors about incomplete deployments 18:42:35,382 ERROR [URLDeploymentScanner] Incomplete Deployment listing: --- Packages waiting for a deployer --- [EMAIL PROTECTED] {

[jboss-user] [JCA/JBoss] - Re: Bug/Missing feature in XA-DS.xml

2007-04-01 Thread [EMAIL PROTECTED]
The *-ds.xml mechanism for deployment is being deprecated for 5.0, so this will not work. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4033528#4033528 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4033528

[jboss-user] [JBoss Seam] - javassist.CannotCompileException: duplicate method: createIn

2007-04-01 Thread mgrouch
Found this JIRA http://opensource.atlassian.com/projects/hibernate/browse/HHH-1938 I will try switching hibernate.bytecode.provider=javassist to hibernate.bytecode.provider=cglib View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4033529#4033529 Reply to the

[jboss-user] [JBoss Seam] - Re: Question on Converter

2007-04-01 Thread fhh
Why is #{MyEntityConverter} an EL expression? This will (most likely) come out as null. So you are not setting a converter at all. Regards Felix View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4033531#4033531 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Question on Converter

2007-04-01 Thread hasc
right. this was from a try to bind the converter via a getter method like in the dvd example. i also tried it with: h:inputText id=EffectiveArea value=#{calculator.area} | f:converter converterId=AreaConverter/ | /h:inputText or... h:inputText id=EffectiveArea value=#{calculator.area}

[jboss-user] [JBoss Seam] - Problems moving from JBoss 4.0.4GA to 4.0.5GA and Seam 1.0.1

2007-04-01 Thread [EMAIL PROTECTED]
Prior to testing my application I built and deployed the seam booking example. My running/deployed application under JBoss 4.0.4 GA uses 1) a base abstract class 2) a common class that extends from base class 3) multiple different classes that extend from common class each containing

[jboss-user] [JBoss Seam] - Re: Question on Converter

2007-04-01 Thread hasc
sorry i was wrong. it seems to use the converter. i have a question regarding the converter. #{calculator.area} the expression references a property which is defined here: @Stateful | class CalculatorBean implements Calculator | | float area; | public void setArea(float area) | {

[jboss-user] [JBoss Seam] - Re: Question on Converter

2007-04-01 Thread hasc
public String getAsString(FacesContext facesContext, UIComponent component, Object obj) | { | Float val = (Float) obj; | | if(val == null || val == 0) | { | String str = ; | return str; | } | return obj.toString(); | } |

[jboss-user] [JBoss Seam] - [Announcement] Talk by Christian Bauer on Seam in Zurich (Sw

2007-04-01 Thread [EMAIL PROTECTED]
The URL is: http://www.jugs.ch/html/events/2007/jboss.html. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4033541#4033541 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4033541

[jboss-user] [JBoss jBPM] - Talk by 'guru' Tom Bayens on jBPM/jPDL in Zurich (Switzerlan

2007-04-01 Thread [EMAIL PROTECTED]
FYI: abstract is below. The link is http://www.jugs.ch/html/events/2007/jboss.html re you considering developing a homegrown workflow engine? Then you should definitely attend this session first. Java Process Definition Language (jPDL) is a language for expressing long-running processes.

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

2007-04-01 Thread [EMAIL PROTECTED]
You cannot access the .pdf URL directly. You must be redirected to it from the .seam URL. The redirect will temporarily extend the conversation if it needs to so you never have to worry if you are in a conversation or not. I would like to support direct access to the .pdf URL, but we don't

[jboss-user] [JBoss Seam] - Re: Entity Property Not Up-To-Date

2007-04-01 Thread [EMAIL PROTECTED]
What kind of persistence context are you using? Is it a seam-managed PC? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4033544#4033544 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4033544

[jboss-user] [EJB/JBoss] - RuntimeException: java.lang.NullPointerException in JBoss 4.

2007-04-01 Thread tonylmai
Does anyone know the cause of this exception? Thanks -- anonymous wrote : java.lang.RuntimeException: java.lang.NullPointerException | at org.jboss.ejb3.interceptor.LifecycleInterceptorHandler.postConstruct(LifecycleInterceptorHandler.java:113) | at

[jboss-user] [JBoss Seam] - A4JSF ActionListener not working

2007-04-01 Thread damatrix
Hello, I'm using seam 1.2.1.GA, and ajax4jsf. Following the booking example, I have an ajax actionListener attached to an input field as follows | s:decorate id=titleDecorate template=../templates/edit.xhtml | ui:define name=labelTitle /ui:define |

[jboss-user] [JBoss Seam] - Re: [EMAIL PROTECTED]: Can not access Sessionbean from Servlet

2007-04-01 Thread [EMAIL PROTECTED]
What is the complete name given in JNDIView? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4033548#4033548 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4033548 ___ jboss-user

[jboss-user] [JBoss Seam] - Re: Is this a known Seam bug? varchar(n) foreign key to char

2007-04-01 Thread [EMAIL PROTECTED]
Sorry about that. Do you know if anyone is working on the issue in general? It seems to be a problem for a very large number of Seam users. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4033549#4033549 Reply to the post :

[jboss-user] [JBoss Seam] - Re: seam-gen for a multi-user (server) environment on multip

2007-04-01 Thread [EMAIL PROTECTED]
I think sushmu's solution is actually pretty good. It provides multi-project support without breaking any existing behavior. BTW, Max, I think multi-project support is going to be pretty important for IDE integration: If the IDE opens multiple Seam-Gen projects, it would be nice if the

[jboss-user] [JBoss Seam] - Re: seam-gen for a multi-user (server) environment on multip

2007-04-01 Thread [EMAIL PROTECTED]
I personally think project settings should be stored in the project it self. The only thing that should be some where different is the default seam project. Michael, with respect to IDE behavior there is alot of things in seam-gen that doesn't fit very well with most IDE's out there - this is

[jboss-user] [JBoss Seam] - Re: Is this a known Seam bug? varchar(n) foreign key to char

2007-04-01 Thread [EMAIL PROTECTED]
I've done some work on it with respect to hbmlint; but that is not part of hibernate core. It could also be fixed in hibernate core but would require someone to implement a type compabiilty test function - or simply skip parts of the type/length/precision/scale check(s) View the original post

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

2007-04-01 Thread [EMAIL PROTECTED]
I'll show Seam at a Java User Group Switzerland meeting in Zurich, on April 25th 2007: http://www.jugs.ch/html/events/2007/jboss.html View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4033555#4033555 Reply to the post :

[jboss-user] [JBoss Seam] - @DataModel does not create a component

2007-04-01 Thread laksu
Hi, I have a SFSB: | /* | package datassist.gop.action; | | import datassist.gop.domain.Istek; | import datassist.gop.domain.Uzman; | import java.io.Serializable; | import java.util.List; | import javax.ejb.Remove; | import javax.ejb.Stateful; | import

[jboss-user] [JBoss Seam] - Re: @DataModel does not create a component

2007-04-01 Thread gmanwani
Seems like a minor typo.. your variable name is -isteklerList while on the page u use h:dataTable var=istek value=#{isteklerlist} notice that the 'L' should be uppercase View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4033557#4033557 Reply to the post :

[jboss-user] [JBoss Seam] - Extending EntityQuery and using ScopeType.SESSION question

2007-04-01 Thread fernando_jmt
Hi. I have extended EntityQuery and defining that component as SESSION scope. Then I defined a page action which will call the super.refresh() in order to clear the result data and execute the query every time the view is accessed (only one time because I'm using @Factory). But, the query is

[jboss-user] [JBoss Seam] - Re: Is this a known Seam bug? varchar(n) foreign key to char

2007-04-01 Thread mgrouch
I've opened JIRA for hibernate. This would be a big issue for use of seam with many real-world databases. Ex in sybase varchar(n) vs char(n) integer numeric decimal money, etc View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4033561#4033561 Reply to the post

[jboss-user] [JBoss Seam] - javassist in Seam 1.2.1 GA duplicate method error

2007-04-01 Thread mgrouch
I can't get rid of duplicate method javassist error in latest Seam. I run it on weblogic 9.1. I've tried switching to cglib but it keeps using javassist . (hibernate.bytecode.provider=cglib in -D java option default.persistence.properties, hibernate.properties) I've run out of ideas. Thanks

[jboss-user] [JBoss Seam] - EntityHome request parameter

2007-04-01 Thread seammm
Hi- I am having trouble receiving a different request parameter other than what is generated by seam-gen.. I have the following code in the XXXHome.. eventId comes in just fine but the parentId is null.. @RequestParameter Long eventId = null; @RequestParameter Long

[jboss-user] [JBoss Seam] - Re: javassist in Seam 1.2.1 GA duplicate method error

2007-04-01 Thread tomasz.chodakowski
mgrouch, I had been strugling with a similar problem after upgrading from 1.2.0.patch1 to 1.2.1.ga. The solution that worked for me was to remove javassist packages from 'thirdparty-all.jar' and add 'javassist.jar' 3.4.ga. Hope this helps, Tomasz View the original post :

[jboss-user] [JBossWS] - Cannot get port meta data

2007-04-01 Thread michea
On jboss4.0.5+ws1.2SP1 I try to consume a webservice were artifacts and Service comes from a local wsdl packed in the war (I use wsconsume). Well try to obtain the port I get | javax.xml.ws.WebServiceException: Cannot get port meta data for:

[jboss-user] [Clustering/JBoss] - Re: ServiceBindingManager and 4.2.0CR1

2007-04-01 Thread [EMAIL PROTECTED]
If you get a port conflict when you only have one JBoss instance running, the conflict is with some other software running on your system. Use netstat to find what it is. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4033570#4033570 Reply to the post :

[jboss-user] [JBoss Seam] - Re: javassist in Seam 1.2.1 GA duplicate method error

2007-04-01 Thread mgrouch
Yes this worked. Thx View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4033571#4033571 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4033571 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: Latest SEAM-GEN ERRORS org.hibernate.HibernateException:

2007-04-01 Thread mgrouch
This caused other problems. The workaround that worked is to disable ddl schema validation completely hibernate.ddl.auto=false View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4033573#4033573 Reply to the post :

[jboss-user] [JBoss Seam] - Re: EntityHome request parameter

2007-04-01 Thread seammm
I was wrong in saying eventId param is passed.. It was passed initially during the creation of the instance but not when it was being saved.. I missed this little detail at 4am.. I have found that the following is a solution, as documented in chapter 10.2 @Factory(event) public Event

[jboss-user] [JBoss Getting Started Documentation] - Re: Can not start Jboss Server

2007-04-01 Thread joyzc
Hi PeterJ: Thanks for your high attention. It is really strange, I just want to run the Jboss server again to get the detail informations before the Exception, but the server can start with no execption. I did not do anything for it. I list the detail informations that you asked as

[jboss-user] [EJB/JBoss] - Re: Invalidate cache for an Entity Bean?

2007-04-01 Thread mikolg
Hi I removed entity bean (ejb2) from the cache in the following way: rmiAdaptor = (RMIAdaptor) context.lookup(jmx/invoker/RMIAdaptor); rmiAdaptor.invoke(new ObjectName( jboss.j2ee:jndiName=ENITITY-BEAN-JNDI,plugin=cache,service=EJB), remove, new Object[] { id },

[jboss-user] [JBoss Seam] - error in org.hibernate.ejb.packaging.JarVisitor.getVisitor

2007-04-01 Thread mgrouch
Another error trying to deploy JPA SeamGen generated app in exploded mode to weblogic. What could be wrong here? Thanks anonymous wrote : | Apr 1, 2007 11:31:24 PM EDT BEA-101162 User defined listener org.jboss.seam.servlet.SeamListener failed: java.lang.Runt | imeException: exception

[jboss-user] [JBoss Seam] - Seam application displays no data from DB

2007-04-01 Thread mgrouch
My Seam JPA application displays no data from DB running in WebLogic. No exceptions in a log. All forms are rendered in browser but no data rows are coming from DB. Same application works fine in JBoss. I have datasource configured in weblogic (it is same that used by other apps with no

[jboss-user] [JBoss Portal] - cant understand the error

2007-04-01 Thread vikas01
hello i am using jboss portal 2.4.1 i just creteated a simple hello world portlet and packages it into war using ant. wen i deploy the war file.. i get the following message in my server log. i am undable to understand where am i going wrong.. could anyone plz give me a direction

[jboss-user] [JBoss Seam] - Re: seam-gen for a multi-user (server) environment on multip

2007-04-01 Thread sushmu
I agree with michael. Multi project support, in a multi user environment is critical for the mass adoption of seam-gen in organizations. I'm still in the ant world, but i guess we can do something like maven to keep all the common artifacts in a central location and project specific artifacts

[jboss-user] [JBoss Seam] - problem with Conversation scope

2007-04-01 Thread [EMAIL PROTECTED]
Hi, I am using Seam 1.0.0 GA. We have used Conversation scope for our listeners (stateless session beans). Recently I found that whenever any of the method in listener is called from my xhtml pages, all the factory methods in that session bean also get executed before the called method.

[jboss-user] [JBoss Seam] - Seam Tomcat configuration issue

2007-04-01 Thread rsmithaa
Hello all. I have been working with Seam for about a year now, but recently started a new project base on the jboss-seam-1.2.0.PATCH1 code stream. I'm receiving the error 'Could not instantiate Seam component: userAuth' and not entirely sure what to try next. My configuration includes: Seam