[jboss-user] [JBoss jBPM] - Re: Problem with jBPM 3.2.2 + JBoss AS 4.2.2

2007-11-10 Thread neville.sequeira
@kukeltje Thanks for the pointer. I got jbpm.3 source code and built jbpm console using ant war-4.2.x. Deployed that on JBoss AS 4.2.2. But, now, every page in the application shows me the following message: Now on starting JBoss AS, I keep getting the following message on the command prompt

[jboss-user] [EJB 3.0] - Re: constraint violation issue.

2007-11-10 Thread DoubleDenim
OK, I've been trying to figure this one out for about a week now, and it seems I have tried everything to try and make sense what is going on. One thing that stands out that I don't quite understand is the following. To explain what is happening i'll describe the heirarchy of the methods in que

[jboss-user] [JBoss Seam] - Error using Eclipse Hibernate Tools for JPA after greating p

2007-11-10 Thread shivdeepk
Hi All, I created a project using seam-gen. Opened the project in Eclipse. Opened Hibernate perspective. Opened "Hibernate Configurations". I now see the configuration for the created project. When I try to open the configuration I get a "HibernateConsoleRuntimeException: Could not load JPA con

[jboss-user] [JBoss Seam] - @Restrict & @WebMethod - Seam WebServices

2007-11-10 Thread hawkettc
I'm having some difficulty applying the @Restrict annotation to a method that also has the @WebMethod annotation. | @WebMethod | @Restrict("#{s:hasRole('admin')}") | public boolean checkMeWS() { |log.info("Checking via restricted webServices, in appropriate role: " + Identity.insta

[jboss-user] [EJB 3.0] - Re: EJB3 not working

2007-11-10 Thread daedalus_hammer
I fixed it, and in case anybody stumbles across this problem here's what I found: 1.Jboss doesn't fully support version 2.5 so, in web.xml you should add both and to point to the same thing(though I think should be added just so the parser won't yell something's wrong) 2. in jboss-web.xml yo

[jboss-user] [JNDI/Naming/Network] - Re: JBoss behind a NAT

2007-11-10 Thread flios
I forgot to tell that I use JBoss AS 4.0.5... and everything I find over the web seems to tell that It was a known problem for this version. Maybe the problem doesn't exist with the version 4.2.x ? I'll try (if I ever make my .ear start with JBoss 4.2.2... ) View the original post : http://ww

[jboss-user] [JBoss Seam] - Re: 'HibernateException: Errors in named queries' running te

2007-11-10 Thread sradford
The problem was that there are 2 sets of hibernate jars that are build via seam-gen. A set in lib and a single other one in lib/test. Eclipse was using the ones in lib and Ant had the one in lib/test higher in the classpath. On removing the one in lib/test, all works great. Anyone know the reas

[jboss-user] [JBoss Seam] - 'HibernateException: Errors in named queries' running tests

2007-11-10 Thread sradford
Hi, Anyone got any idea what could be causing this problem... I have a small Seam project using Seam 2.0.0.GA with a simple test with an entity with a simple named query. Now all works fine when I run my test within Eclipse - the micro-container is instantiated and the test runs successfully.

[jboss-user] [EJB 3.0] - Re: EJB3 not working

2007-11-10 Thread daedalus_hammer
Ok, I added a jboss-web.xml : ejb/UserBean Session com.website.Statefull.UserBeanLocal But now, the exception changes to "org.jboss.deployment.DeploymentException: expected one local-home tag" . Any other idea? Thanks! View the or

[jboss-user] [JBoss jBPM] - Re: Problem with jBPM 3.2.2 + JBoss AS 4.2.2

2007-11-10 Thread kukeltje
did you try this: (it's in the wiki) anonymous wrote : Additional Notes for jBPM 3.2.1 | | If you want to deploy the jBPM 3.2.1 web app to a JBoss AS 4.2.x version, the easiest way at the moment would be to checkout the latest version from CVS, because the build.xml inside the jbpm.3/conso

[jboss-user] [JNDI/Naming/Network] - Utilizing Non-Default Datsource With JBOSS 4

2007-11-10 Thread estein
I am using JBOSS 4.0.5 on Microsoft Windows XP with a default datasource of MS SQL. I wish to be able to interact with another datasource that is Oracle 10g. However, the only documentation/posts I have found deal with setting up the default datasource to be Oracle. I want to keep my MS SQL d

[jboss-user] [JBoss jBPM] - Problem with jBPM 3.2.2 + JBoss AS 4.2.2

2007-11-10 Thread neville.sequeira
I really need have the jBPM console web app (the jbpm-console.war that comes with the jBPM suite download) working under JBoss AS 4.2.2 I get the following exception on starting JBoss AS: 16:19:52,437 ERROR [[/jbpm-console]] Exception sending context initialized event to listener instance of cla

[jboss-user] [EJB 3.0] - Re: Could not deploy EJB3.0 entities

2007-11-10 Thread saasira
Hello to all, Now,having got EJB3.0 working with Hibernate, I'm set to deploy EJB 3.0 application using toplink as Persistence Provider.. But I'm getting the following error : | | Persistence Unit Model; state Deployed; factoryCount 1 | 03:02:15,952 ERROR [STDERR] javax.persisten

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

2007-11-10 Thread kukeltje
Thanks for reporting back. Can you just add which version of JBoss AS it is? It might be in other posts in this topic, but it never hurts to have it close together. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103440#4103440 Reply to the post : http://www

[jboss-user] [JBoss Seam] - Re: Seam 2.0.0.GA is out

2007-11-10 Thread Yacho
"asookazian" wrote : The migration2seam.txt seems to be aimed at user going from Seam1.2.1 to Seam2.0.0.GA. | | What about if you need to upgrade from 2.0.0.CR2 or CR3 to 2.0.0.GA? | | If we used seam-gen to create the project, should we seam-gen again using 2.0.0.GA and modify/add file

[jboss-user] [JBoss Seam] - Re: seam-gen is not a solution worth trying for existing EJB

2007-11-10 Thread svadu
I will certainly try (for both questions) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103437#4103437 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4103437 ___ jboss-user ma

[jboss-user] [JBoss Seam] - Re: seam-gen is not a solution worth trying for existing EJB

2007-11-10 Thread juntao
Siarhei, Sorry, I have not had a chance to install Resin and try out your fix. ;) If we do commit to this to the code, we will need to maintain it for every Seam release. Can you help us with this? Also, since Seam 2.0.0 has just been released, can I ask you to update the issue with the latest

[jboss-user] [JBoss Seam] - Re: seam-gen is not a solution worth trying for existing EJB

2007-11-10 Thread svadu
Well since you mentioned other servers, this is for the starters: http://jira.jboss.com/jira/browse/JBSEAM-1022 I've submitted it in March and it's getting postponed with every release. I don't like to hijack topics so if there is further discussion about that we can move it to another topic. V

[jboss-user] [EJB 3.0] - Re: trouble getting correct SFSB-instance in WAR-deployment

2007-11-10 Thread ALRubinger
"axismundi" wrote : But the result of the endeavor is just as before. Not surprisingly I can pick up the proxy (local IF) from the session in my ImageServlet successfully. | | But once I try to access a method, at the first time Seam is complaining like this: | | Caused by: org.jboss.s

[jboss-user] [JBoss Seam] - Re: seam-gen is not a solution worth trying for existing EJB

2007-11-10 Thread juntao
Siarhei, I am still working with Seam and JBoss Tools everyday. :) But yes, Seam can certainly use more help -- especially in areas related to non-JBoss application servers. Please let us know if you want to contribute! :) cheers Michael View the original post : http://www.jboss.com/index.htm

[jboss-user] [EJB 3.0] - Re: Could not deploy EJB3.0 entities

2007-11-10 Thread saasira
Hello, I changed the antlr.jar in the server's default instance's lib directory, and put antlr-2.7.6 jar , and restarted the server, and that's it.. It now worked fine.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103432#4103432 Reply to the post

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Can't Start JbossAS

2007-11-10 Thread Yacho
OKAY there was NO QUESTION, sorry - i encourage moderators to delete this threaad :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103431#4103431 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4103431 _

[jboss-user] [EJB 3.0] - Could not deploy EJB3.0 entities

2007-11-10 Thread saasira
Hi! I'm new to JBoss And I'm trying to test the EJB3.0 support in JBoss 4.2.1.GA server Here is my persistence.xml http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.x

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Can't Start JbossAS

2007-11-10 Thread Yacho
I gave mall my java projects a brake and got back to then 2 weeks later - the problem is i cant start Jboss AS now ! i have 1.5.13 JDK & JRE java and javac commands work fine. I download Jboss unzip it into a dirr and try to run rum.bat... and nothing happens - not a single message - no console

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Eclipse 3.3 (Europa) Server Instance Problem

2007-11-10 Thread gigsvoo
thanks for the update wolfgang but its none of our policies to accept single components update rather than Europa major version, currently things work well at the workaround i mentioned. hopefully the future Europa have some lights. thanks View the original post : http://www.jboss.com/index.h

[jboss-user] [EJB 3.0] - Re: EJB3 not working

2007-11-10 Thread waynebaylor
you will also need a jboss-web.xml to map "ejb/UserBean" to the global JNDI name for com.website.Statefull.UserBeanLocal. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103427#4103427 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&m

[jboss-user] [EJB 3.0] - Re: Relationship Only Saving 1 Child Object

2007-11-10 Thread waynebaylor
since you're using the mappedBy attribute your code should look something like: Order order = ...; | OrderLine ol1 = ...; | OrderLine ol2 = ...; | | ol1.setParentOrder(order); | ol2.setParentOrder(order); | | Collection orderLines = order.getOrderLines(); | orderLines.add(ol1);

Re: [jboss-user] [JBoss Seam] - Re: seam-gen is not a solution worth trying for existing EJB

2007-11-10 Thread Morten Matras
OK, I'll try using eclipse (europe) and make sure that I use Jboss Tools and not JBoss IDE. I actually considered using Redhat Developer Studio, but I'm using Mac here, so that's not an option... To MAX: og jeg skal nok huske at stemme :-)... Nogen forslag :-) (Sidder du i USA siden du ikke kan s

[jboss-user] [JBoss Seam] - Re: seam-gen is not a solution worth trying for existing EJB

2007-11-10 Thread [EMAIL PROTECTED]
@Svadu: Michael Yuan is still a committer and we got a good set of committers, but we can always use an helping hand - especially around the tooling (both seamgen and hibernatetools ;) I have spent most of my time focusing on JBoss Tools/RHDS so I haven't been able to pick up the generate entit

[jboss-user] [JBoss Seam] - Re: seam-gen is not a solution worth trying for existing EJB

2007-11-10 Thread svadu
@ Morten: MyEclipse likes to ship own/different version of WTP, I also had problems there some time ago when I was using MyEclipse. Then I just started using Exadel plugin when it became decent enough. So don't be surprised if you have that kind of issues. Try it on Eclipse Europa first and see

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

2007-11-10 Thread karstendausb
Ok. I had to solve this now, as I ran into other classloading problems on the way. The cause of this problem is a simple jar version conflict. The JBoss which is included in the jBPM Suite (3.2.1) comes with a javassist.jar which is too old to work with JSF RI 1.2. That is probably why a ja

[jboss-user] [JBoss Seam] - Re: DataModel bug in Seam 2

2007-11-10 Thread tnfink
We had a similar behavior after migrating to 2.0.0CR2. We changed the scope of the DataModel to PAGE and the problems vanished. Maybe this could help you too. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103421#4103421 Reply to the post : http://www.jbos

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Accesing JBoss5 MainDeployer from

2007-11-10 Thread Wolfgang Knauf
Hi Jaikiran, unfortunately this does not help, because there they talk only about the MainDeployer MBean, which seems to cause problems. But the initial question of how to access the MainDeployer POJO is not answered :-(. Even if my app is deployed and I use the jmx-console to display all deplo

[jboss-user] [JBoss Seam] - Re: seam-gen is not a solution worth trying for existing EJB

2007-11-10 Thread [EMAIL PROTECTED]
JBoss IDE does not have these things integrated - you should be looking at JBoss Tools. And I just checked - there are zero references to org.eclipse.jdt.sourceorg.eclipse.jdt.source in JBoss Tools (don't know about older JBoss IDE) p.s. I can't guarantee anything on top of MyEclipse; only Ecl

[jboss-user] [Beginners Corner] - Re: Can't start JBOSS AS 4.2.2 GA (with windows xp JDL 1.5.0

2007-11-10 Thread anthony43
Hi Jaikiran !!! YOur answer solved my problem, I just set JAVA_HOME as you've tols me and now it starts !! Thank you very much !!! Anthony View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103418#4103418 Reply to the post : http://www.jboss.com/index.html?modu

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Eclipse 3.3 (Europa) Server Instance Problem

2007-11-10 Thread Wolfgang Knauf
It is fixed, you need a pre-version of WTP 2.0.2: http://download.eclipse.org/webtools/downloads/ (with the 2007-10-18 version I verified that it works) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103417#4103417 Reply to the post : http://www.jboss.com/in

[jboss-user] [EJB 3.0] - Re: trouble getting correct SFSB-instance in WAR-deployment

2007-11-10 Thread axismundi
"ALRubinger" wrote : | Try again with doing one lookup, placing that stub in the HttpSession, and paste your code if you're still having problems? | | S, | ALR I followed your advise and implemented a filter to retrieve the SFSB-proxy once the HTTP-session is created: public void doFi

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Eclipse 3.3 (Europa) Server Instance Problem

2007-11-10 Thread gigsvoo
I guess so, does this has been fixed? which version did? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103415#4103415 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4103415 __

[jboss-user] [JBoss Seam] - Re: seam-gen is not a solution worth trying for existing EJB

2007-11-10 Thread mortena
Installing JBoss IDE causing problems: I get the following error: org.jboss.ide.eclipse.ejb3.feature (1.0.2.GA) requires plug-in "org.eclipse.jdt.source". How do I proceed from that? My starting point is MyEclipse. Thanks Morten View the original post : http://www.jboss.com/index.html?mod

[jboss-user] [JBoss Seam] - Re: seam-gen is not a solution worth trying for existing EJB

2007-11-10 Thread mortena
Hi Max Sorry about the tone. I wasn't meant to be rude. I've just been fighting with these thing for a while now without much luck. My frustrations is actually more a result of a lack of help and documentation regarding these matters. (Like why do I have to use something found in a jira conta

[jboss-user] [JBoss Seam] - Re: DataModel bug in Seam 2

2007-11-10 Thread andreigh.ts
Is there a workaround or a patch available for this? DataModels are practically unusable due to this... Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103410#4103410 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&

[jboss-user] [JBoss Seam] - Re: seam-gen is not a solution worth trying for existing EJB

2007-11-10 Thread [EMAIL PROTECTED]
calm down please ;) 1) If you want specific features in the generated code then please contribute it - its just a matter of adding/fixing the templates. 2) seam-gen as it is in the ant scripts is just done via reverse engineering but hibenate tools supports using existing entities just fine and

[jboss-user] [JBoss Seam] - Re: null injected values

2007-11-10 Thread andreigh.ts
I am outjecting them alright, on the conversation scope. Normally they have not null values when injecting them. The problem only occurs when I call bean method(by clicking a button), BEFORE the page that contains that button finishes to render in the browser. I guess it is a sort of multithrea

[jboss-user] [JBoss Seam] - seam-gen is not a solution worth trying for existing EJB3 pr

2007-11-10 Thread mortena
Hi Seam folks I've tried getting a proper start using seam by using seam-gen. The basis of the project is a running EJB3 application with a JSP based web-interface. Based on a number of searches on the web I concluded that seam-gen should be able to generate the CRUD based WEB-UI in seconds bas

[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools Documentation

2007-11-10 Thread [EMAIL PROTECTED]
"bdlink" wrote : I guess what I would find useful (after trying generate-entries on an earlier test project) would be something that either maps entities to tables, or generates tables from entities, but since in either case, the mapping probably needs some ability for human guidance. Yes - we

[jboss-user] [JBoss Seam] - Re: null injected values

2007-11-10 Thread chrismalan
These conversation scoped variables you are injecting should have non null objects backing them. They should be outjected from one of your action beans (session beans). Create a @Factory method in the relevant bean where you outject them to make sure they don't have null values. When you then

[jboss-user] [JBoss Seam] - SFSB session scope with Factory method conversation scope: h

2007-11-10 Thread asookazian
sorry, this is a long one... I have a use case which may require two SFSB's for a facelet. The facelet has a h:dataTable and a rich:modalPanel (which has a4j:form embedded in it). The main SFSB for the dataTable's form was conversation scoped. I am using the @Factory and @DataModel tag team