[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - EJB QL Bulk update: Reset manyToMany-Relation

2009-05-01 Thread jochen.reinhardt
Hi all, I have two enties having a many to many relation with each other. Let's call them A and B. The relation is defined via a join table A_B, defined in B. Now I want to remove all B's from the database with a bulk update with a named Query DELETE FROM B But the database tells me that this

[jboss-user] [JBoss jBPM] - Design Patterns

2009-05-01 Thread rwallis
Hi I new to the forum but have been using jBPM for a bit now (and loving it). I have a couple design pattern questions to ask. 1) Should jBPM be used as a fancy server side batch processor/scheduler where the token recurses from one processing node to a decision node and then, based on the

[jboss-user] [JBoss Tools (users)] - Re: Components in EJB project come and go from Seam Componen

2009-05-01 Thread rossj2
Okay, I should have looked at the log... (see below) JBoss Tools: 3.0.0.GA-R200903141626-H5 Seam: 2.1.1.GA Eclipse 3.4.2 JDK 6 update 13 The following exception appeared in the eclipse log after performing a clean of all projects. | !ENTRY org.eclipse.core.resources 4 566 2009-04-30

[jboss-user] [JBoss Tools (users)] - Re: Components in EJB project come and go from Seam Componen

2009-05-01 Thread akazakov
Do you have any annotation types in your sources? Seems to be the issue which we have fixed in 3.0.1 See http://www.jboss.org/index.html?module=bbop=viewtopict=153483 and https://jira.jboss.org/jira/browse/JBIDE-4144 We are going to release 3.0.1 soon but you could try 3.0.1 nightly build or use

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Problems starting jboss on linux when using -b

2009-05-01 Thread QBQ
Removing our EAR fixes the issue. Now I need to figure out what is in our archive that causes jboss to cry. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4227557#4227557 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: Design Patterns

2009-05-01 Thread kukeltje
First of all, thanks for taking the time to post in the correct forum. In return I should take the time to at least try to answer your question. 1) If there is a real persisted wait-state in this loop, you should not get a stackoverflow. 2) If I understand you correctly, you want to have e.g.

[jboss-user] [JBoss Messaging] - Re: Bridge - Once and only once, connections failing after i

2009-05-01 Thread rnicholson10
Oh, and I'm using 1.4.3.GA of messaging. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4227563#4227563 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4227563 ___ jboss-user mailing

[jboss-user] [Javassist user questions] - Javassist, j2ee 1.3, eclipse

2009-05-01 Thread danydyn
Hi, I am developing a EJB project for weblogic 8.1 server, in eclipse, using hibernate for persistence. My project has a j2ee 1.3 facet, since this is the version weblogic 8.1 requires. Hibernate requires to put the javassist 3.4 jar in the project's classpath, but when I do it I get an error

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - javassist + eclipse + j2ee 1.3 problem

2009-05-01 Thread danydyn
Hi, I am developing a EJB project for weblogic 8.1 server, in eclipse, using hibernate for persistence. My project has a j2ee 1.3 facet, since this is the version weblogic 8.1 requires. Hibernate requires to put the javassist 3.4 jar in the project's classpath, but when I do it I get an error

[jboss-user] [Beginners Corner] - Need Help with Deploying Application Three Time

2009-05-01 Thread chiefbobkat1
I have an application that I want to deploy three times using a different path and a different user to log into the database. Under \jboss\server\default\deploy\ Expanding the WAR file into a folder, I have created three separate folders called V3DEMO V3TEST V3TRAINING In each folder I have

[jboss-user] [JBoss Tools (users)] - Re: Installation issue with keystore

2009-05-01 Thread jgromero
My mistake. This should be posted in an eclipse forum. I already solved it. The problem was that i wasn't using Sun's jdk. So I installed it, and selected with update-alternatives. Then eclipse used the correct jdk, and have no troubles installing JBoss Tools. View the original post :

[jboss-user] [JBoss Tools (users)] - Re: How to get the source code?

2009-05-01 Thread pouncilt
Thank for the quick reply. I was using the following URL to check out HTools 3.2.4 GA http://anonsvn.jboss.org/repos/hibernate/tags/TOOLS_3_2_4_GA. I guess this is not the correct URL. Is the HTools located here at https://anonsvn.jboss.org/repos/jbosstools/trunk/hibernatetools/ same HTools

[jboss-user] [JBoss Tools (users)] - Re: Problem with Ejb3PropertyGetAnnotation.ftl

2009-05-01 Thread pouncilt
Yeah I know this is very strange. I even tried a clean installation of ecplispe ganymede and HTools 3.2.4.GA-N200904281128-H124 which I down loaded from the JBoss Tools update site for eclpse? Yeah I know the hibernate.org has been down for about a week or two now and its been point back to

[jboss-user] [JBoss jBPM] - Re: Mutiple timers in a task node problem

2009-05-01 Thread trouby
Hello, I had exactly the same problem with multiple timers in the same task node, Is there a solution for that problem? is it a known bug? Thanks, Asaf. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4227605#4227605 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: nothing persisting?

2009-05-01 Thread ibivibiv
So, now that I know that the JTA persistance is not committing, can anyone give me a hint as to the why? I'll paste my config and a quick example of a MDB that starts a process that never commits to the database. | jbpm-configuration | | jbpm-context | service name=persistence

[jboss-user] [JBoss jBPM] - Re: Design Patterns

2009-05-01 Thread rwallis
1) there is a real persisted wait state (and its set from one minute to 19 days depending on the action taken by the user) but we have been getting stack overflow errors (after running 24/7 for about 2 weeks) and then timers stop working (we have to restart the application server) and this is

[jboss-user] [JBoss Portal] - Re: getPreferences with JSF portlet

2009-05-01 Thread edre.py
Hi... Im get Preferences like PortletRequest req = (PortletRequest) FacesContext.getCurrentInstance().getExternalContext().getRequest(); and im get te exception in cast org.jboss.seam.web.IdentityRequestWrapper HelpMe please... View the original post :

[jboss-user] [Microcontainer] - Re: Using VFS to create a symbolic link from WEB-INF/lib

2009-05-01 Thread mwringe
Is there anyupdate on the TLD issue? is is being tracked in jira anywhere? There are a few ways of getting around it right now, but they are a pain. - getting the actual location of where the webapp is deployed and copying the file across. Finding the actual file location is a big pain

[jboss-user] [JBoss Portal] - GetPreferences in jboss Portal cast exception

2009-05-01 Thread edre.py
Hi... Im get Preferences like PortletRequest req = (PortletRequest) FacesContext.getCurrentInstance().getExternalContext().getRequest(); and im get te exception in cast org.jboss.seam.web.IdentityRequestWrapper HelpMe please... View the original post :

[jboss-user] [News Announcements] - JBossAS 5.1.0.CR1 released

2009-05-01 Thread rrajesh
JBossAS 5.1.0.CR1 has been released and is available for download. http://www.jboss.org/jbossas/downloads/ This is the first candidate release of the JBoss 5.1 series. Along with many bug fixes and enhancements, this release includes a first cut of our new, significantly improved open-source

[jboss-user] [JBoss Portal] - Re: GetPreferences in jboss Portal cast exception

2009-05-01 Thread edre.py
17:28:17,105 ERROR [LifecyclePhase] Error execute phase APPLY_REQUEST_VALUES 2 javax.faces.el.EvaluationException: /uploadAction.xhtml @21,51 fileUploadListener=#{uploadAction.listener}: javax.ejb.EJBTransactionRolledbackException: org.jboss.seam.web.IdentityRequestWrapper cannot be cast to

[jboss-user] [JBoss Portal] - Re: GetPreferences in jboss Portal cast exception

2009-05-01 Thread edre.py
the code is: PortletRequest req = (PortletRequest) FacesContext.getCurrentInstance().getExternalContext().getRequest(); View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4227621#4227621 Reply to the post :

[jboss-user] [JBoss Portal] - Re: GetPreferences in jboss Portal cast exception

2009-05-01 Thread edre.py
Caused by: java.lang.ClassCastException: org.jboss.seam.web.IdentityRequestWrapper cannot be cast to javax.portlet.PortletRequest at com.consulmatica.utmap.uploadfile.session.UploadActionBean.listener(UploadActionBean.java:38) View the original post :

[jboss-user] [JBoss Portal] - Re: GetPreferences in jboss Portal cast exception

2009-05-01 Thread edre.py
I have no idea what the problem is! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4227623#4227623 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4227623 ___ jboss-user mailing

[jboss-user] [EJB/JBoss] - Re: Problems with MDBs in JBoss 5.0

2009-05-01 Thread idhira
It seems you are using a transacted session. Session session = connection.createSession(true, Session.AUTO_ACKNOWLEDGE); Try calling session.commit() before closing the session. Or you can send in false into createSession and you don't have to call session.commit() View the original post :

[jboss-user] [Security JAAS/JBoss] - Re: logincontext.login is temporary

2009-05-01 Thread bacooper81
I've been searching for an answer to this for 3 days now, and all I've found are unanswered threads, mostly from several years ago. Does anyone know a solution to this? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4227629#4227629 Reply to the post :

[jboss-user] [Microcontainer] - Re: Using VFS to create a symbolic link from WEB-INF/lib

2009-05-01 Thread stan.silv...@jboss.com
I pinged Remy on this a few days ago. He said it's in progress but it will take some time. Stan View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4227630#4227630 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4227630

[jboss-user] [JBoss jBPM] - Re: Mutiple timers in a task node problem

2009-05-01 Thread kukeltje
Guys (I think), As stated many times before, it is better in these kinds of situations to not describe your problem, but to make a unit test with EVERYTHING embedded (processdefinition as a string, actionhandlers as innerclasses etc) that way we can better see what you do and try to

[jboss-user] [JBoss jBPM] - Re: Design Patterns

2009-05-01 Thread kukeltje
1) Yes the logfile will get large 2) on second thought, you never reach the correct join node (every node between a fork/join should be fully nested) so as I also stated, use e.g. a subprocess for this. I thank you for your description, but it is a description of a possible implementation,

[jboss-user] [JBoss jBPM] - Re: Design Patterns

2009-05-01 Thread rwallis
1) The log file could be a problem... thanks 2) the token does reach the join and continues on through (we though the same thing but upon testing and looking at what the database did, it worked) 3) there are two functional requirements: a) I'll skip the batch processing functional requirements

[jboss-user] [Beginners Corner] - Re: How do I add the richfaces library to eclipse? (experien

2009-05-01 Thread Meghiddo
I am obviously missing something here. I thought I could just download the richfaces binary zip file, and create a new library that had the richfaces components, and leave everything else as is. So I need to use JBoss as my target runtime? I have been using Apache Tomcat v6.0. I didn't even

[jboss-user] [Javassist user questions] - javassist.bytecode.BadBytecode: cannot find [B

2009-05-01 Thread Mike03
Hello, I have a problem starting up our application with the latest jboss-5.1.0.CR with enableLoadTimeWeaving=true where javassist throws the exception from the subject header during instrumentation of our classes. We don't experience this problem with jboss-5.0.1.GA. Inspecting the manifest

[jboss-user] [Beginners Corner] - Re: How do I add the richfaces library to eclipse? (experien

2009-05-01 Thread Meghiddo
maybe it has something to do with the default file structure for projects in eclipse? I have noticed that sometimes I will download source files for a project, and sometims I cannot open it when I try to import it into eclipse. WHen I look around in the folder I notice all the files that are

[jboss-user] [JBoss Portal] - Re: getPreferences with JSF portlet

2009-05-01 Thread wesleyhales
You need to listen for the correct request: | Object responseObject = FacesContext.getCurrentInstance().getExternalContext().getRequest(); |if (responseObject instanceof RenderRequest) { | | View the original post :

[jboss-user] [Beginners Corner] - Re: How do I add the richfaces library to eclipse? (experien

2009-05-01 Thread Meghiddo
I am using eclipse 3.4.2 btw I just found out, does that mean I need to change anything? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4227652#4227652 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4227652

[jboss-user] [JBoss Tools (users)] - Re: Components in EJB project come and go from Seam Componen

2009-05-01 Thread rossj2
That's it! I have 3 @RoleCheck annotations defined for seam security. However, I have not yet begun using them. I commented them out and the problem (and exception) has gone away. Looking at the JIRA issue it appears to be the same problem. I haven't tried the nightly build since I don't

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Special case hibernate mapping problem

2009-05-01 Thread mdmax
This probably isn't too relevant to this particular forum but the hibernate forums have been down for quite some time now I'm currently trying to map a class that uses the jscience libraries to store dimensions(using the Amount class). My class already has getter and setter methods that

[jboss-user] [EJB/JBoss] - Help with Transaction Timeouts on Container Manager Transact

2009-05-01 Thread jmihalich1
Hi, I'm looking for guidance on how we are supposed to be handling this case, because the behavior we are seeing is not what we want. Components in use: Jboss 4.2.2-GA, Windows Server 2003 , Jboss-Messaging 1.4.2. Here is the issue: We have a stateless session bean that is

[jboss-user] [Installation, Configuration DEPLOYMENT] - Purpose of IF statement in run.conf

2009-05-01 Thread jelevy01
The following statement is in run.conf # | # Specify options to pass to the Java VM. | # | if [ x$JAVA_OPTS = x ]; then |JAVA_OPTS=-Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 | fi | Can someone tell me what is the purpose of