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

2009-04-28 Thread pouncilt
Hi, How do I get the source code for the latest Hibernate Tools? How do I build it once I get it? Thanks! Tonté View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227369#4227369 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=

[jboss-user] [Beginners Corner] - JBoos application server newbie problem

2009-04-28 Thread RobLaw
Hey Folks, Newbie here. I am trying to deloy a jsp app using JBoss version 5.0.0.CR2 I am running Windows vista with the firewall turned off i run run -c all from a dos prompt I can log onto the JBoos welcome page with no trouble & i see the welcome screen at the address http://localho

[jboss-user] [Installation, Configuration & DEPLOYMENT] - cant run the greeter sample from richfaces developers guide

2009-04-28 Thread Meghiddo
I am trying to follow the tutorial here: http://www.jboss.org/file-access/default/members/jbossrichfaces/freezone/docs/devguide/en/html/GettingStarted.html#DownloadingRichFaces I do everything to the letter, and I am getting no compile errors or warnings. However when i try to go to http://loca

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

2009-04-28 Thread Meghiddo
the greeter tutorial says to "create a project and call it greeter" then import all the necessary libraries. what librares is it referring to? I dont think I am supposed to import the richfaces library at this poit, because the tutorial then goes on to tell you how to add those three jar files.

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

2009-04-28 Thread Meghiddo
I made a post earlier but I don't think it is going to get any answers, there doesnt seem to be enough info to answer it and I dont know what else to add. So Im going to go from the beginning and make sure Im doing it all correctly. SO to add the library I go to the preferences window and go

[jboss-user] [JBossMQ] - Questionable behaviour of XAResource.recover

2009-04-28 Thread matterbury
The jboss.mq implementation of XAResource.recover behaves in a non-standard, and IMO invalid, way, in that it ignores the value of the flag argument. The XA specification explains why the flag argument is there but it isn't necessarily needed in Java since we can we can return ALL the recoverabl

[jboss-user] [JBoss Cache: Core Edition] - Re: ExpirationPolicy not working

2009-04-28 Thread genman
The set time to live doesn't really work. If you follow the docs, you have to set a key on the node with the time you want it to expire. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227353#4227353 Reply to the post : http://www.jboss.org/index.html?module=

[jboss-user] [JBossMQ] - Re: JMS Persistence Manager Exception

2009-04-28 Thread b.eckenfels
You need to deploy the JMS Provider as a HA-Singleton in a real jboss cluster or deploy 3 JMS PRoviders with different tables. You cannot have more than one persitence manager access the same table (not with JBossMQ). View the original post : http://www.jboss.org/index.html?module=bb&op=viewt

[jboss-user] [Security & JAAS/JBoss] - Passing username/password from LoginModule to jdbc driver

2009-04-28 Thread jplessinger
I hope this is the appropriate location, if not I apologies in advance. I have this some what unique requirement that when a user logs into my website the username/password needs to be used for the database connection as well. The app is based on EJB3.0 and JPA. Currently I have a LoginModule w

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: JBOSS reverse engineering not working

2009-04-28 Thread asookazian
JBDS includes Hibernate tools. You are using hbm2java with HibernateToolTask to reverse engineer your db schema to entity classes and config/xml files. There should be a log that display the actions/errors. Try running the hbm2java directly from cmd line so you can see the errors. Other option

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: join table class in hibernate

2009-04-28 Thread asookazian
Hibernate supports polymorphic queries. So you can write an interface and have the two entity classes implement that interface. When you query the interface with no restrictions/criteria in where clause, for example, you'll get all records from both tables. read more in Ch. 5 of JPA/Hibernate

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Hibernate...help..!!!!

2009-04-28 Thread asookazian
"steve.ebers...@jboss.com" wrote : The are problems with the HIbernate site and it is temporarily down. | | The downloads are still accessible from SourceForge where they have always been : http://sourceforge.net/project/showfiles.php?group_id=40712&package_id=127784 There is no specific r

[jboss-user] [Beginners Corner] - Re: Missing SecurityProxy.class in jboss5.0 application

2009-04-28 Thread JRookie_2402
Hi Wolfgang, yes you are right, but here's my problem: if I take the Jboss5.0 version of jbosssx-client.jar, the program can't find the class and if I take the older version from 2007 I get [javac] F:\Entwicklung\JBoss_5.0\jw-0215-ejbsecurity\example\src\main\com\mkeym\customsec\ejb\TradingAcc

[jboss-user] [JBoss jBPM] - Re: async execution

2009-04-28 Thread pramanjboss
Thanks armita. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227332#4227332 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227332 ___ jboss-user mailing list jboss-user@lists

[jboss-user] [JBoss Messaging] - JBoss 5.0.1, how to create new topic

2009-04-28 Thread maxogm
Hello... I need to create new topic in Jboss 5.0.1 from java applications. Did someone know how to do this. In Jboss 4.0.1sp1 I do this using next method in Java: | private void createTopic(String topicName) throws NamingException, InstanceNotFoundException, MBeanException, ReflectionExcept

[jboss-user] [EJB 3.0] - In too deep: JBOSS + JAAS + AJAX

2009-04-28 Thread bacooper81
I'm pretty new to EJB and JBOSS, but I really want to take advantage of all the functionality they provide, including authentication. So I'm building a web app with JAAS, JBOSS and AJAX, and I got it to authenticate a user. The problem is, after it does it forwards the browser to the URL the ori

[jboss-user] [Beginners Corner] - Re: trouble with greeter example...

2009-04-28 Thread Meghiddo
sorry for multiple replies, I am not seeing a way to edit a post.. I still cant figure this out at all. Im guessing the problem lies in how I added the richfaces library? I dont know. When I made the project (with eclipse) I got to the third page askin what implementation to use. I chose moj

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

2009-04-28 Thread QBQ
Hi, I'm running SUSE Linux Enterprise Server 10 SP2 - 2.6.16.60-0.34 with an instance of JBoss AS 5.0.0.GA. When I was running as root I could run jboss with the -b command, but now that I run su jboss it runs fine until I add the binding param. Error Trace: | 2009-04-28 13:47:41,472 DE

[jboss-user] [Beginners Corner] - Re: trouble with greeter example...

2009-04-28 Thread Meghiddo
BTW, when I restart the tomcat server I get the followin, hopefully it will provide needed insight because I realize there isnt much info to go on here, I just dont knwo what else to post to help figure this out: Apr 28, 2009 2:09:21 PM org.apache.tomcat.util.digester.SetPropertiesRule begin WAR

[jboss-user] [Beginners Corner] - trouble with greeter example...

2009-04-28 Thread Meghiddo
Hi all, Im very new to most of this, I won a design challenge at my school so now Im working on a real project for a company, so I have been having to teach myself all kinds of new things. I have been joking that I have taught myself more in the last two months thans I have learned in the last

[jboss-user] [Beginners Corner] - Re: Incorporating dll's in SARs

2009-04-28 Thread bjacobs
Please ignore this message. Can't figure out how to delete it. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227309#4227309 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227309 __

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

2009-04-28 Thread pouncilt
Hello, I have an error while trying to run the hibernate tools plugin 3.2.4GA-R200903141626-H5 for eclipse when I run the tag in my hibernatetools ant script. I believe the plugin I have does not have the method defined for the Cfg2HbmTool class. However when I check out the source code for

[jboss-user] [Beginners Corner] - Incorporating dll's in SARs

2009-04-28 Thread bjacobs
I need my source code to recognize a dll while running my SAR in JBoss. The structure of my SAR is as follows: -MySar.sar ---META-INF --jboss-service.xml ---service --MyMBeanClass.class ---commons-io-1.2.jar ---commons-logging-1.1.jar So where can I put my dll and how can I get m

[jboss-user] [Beginners Corner] - Incorporating dll's in SARs

2009-04-28 Thread bjacobs
I need my source code to recognize a dll while running my SAR in JBoss. The structure of my SAR is as follows: -MySar.sar -META-INF -jboss-service.xml -service -MyMBeanClass.class -commons-io-1.2.jar -commons-logging-1.1.jar So where can I put my dll and how can I

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - How to remove caching of JSP pages?

2009-04-28 Thread shadowcreeper
How do I keep JBoss/Tomcat from caching JSP pages? When I deploy in JBoss, everything works fine. But when I recompile and redeploy, any changes to Java classes are immediately seen, while changes to JSP pages are ignored. This is not a browser caching problem nor is it an IDE caching problem.

[jboss-user] [JBoss/Spring Integration] - Re: Spring Component Auto Detection

2009-04-28 Thread dward_alfresco
At Alfresco we also struggled getting our Spring-based framework working on JBoss 5. We have lots of bean definition files using classpath-based pattern matching. E.g.: We think we now have a solution and your feedback is welcome. I eventually created a subclass of XmlWebApplicationContext t

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

2009-04-28 Thread ibivibiv
The JTADBPersistenceServiceFactory seems to be my culprit. Switching to the DBPersistenceServiceFactory solved the issue for me. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227294#4227294 Reply to the post : http://www.jboss.org/index.html?module=bb&op=p

[jboss-user] [Management, JMX/JBoss] - Monitor CPU and memory per thread

2009-04-28 Thread mohitanchlia
Jboss 4.2: Is there a way to monitor CPU and memory per thread being run inside Jboss through JMX or Web console? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227291#4227291 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=rep

[jboss-user] [Security & JAAS/JBoss] - Issue matching desired web app with security domain (JBoss 4

2009-04-28 Thread andrewe
We have an existing project with security domains for our EJB3s. We are trying to use a similar (or the same) security domain/policy for some of our web applications. I have it working, but it's sort of ugly and I'm trying to figure out what I'm missing. The main issue is that the security doma

[jboss-user] [Security & JAAS/JBoss] - Re: JBoss and OpenSSO

2009-04-28 Thread bkuoch
I had the same problem. The problem seems to be fixed after I set com.iplanet.am.cookie.encode from true to false in server/default/conf/AMConfig.properties com.iplanet.am.cookie.encode=false View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227289#4227289 Re

[jboss-user] [JBoss Tools (users)] - Minor code change causes complete WAR redeploy, how to fix i

2009-04-28 Thread sbarkdull
I am developing a jsp/servlet app using Eclipse 3.4.2 with the Web Tools Platform (JBoss Tools) and jboss 4.2.3. I have configured the JBoss server, in Eclipse, to "Never publish Automatically". After I have JBoss started from Eclipse's "Server View", if I change a file (a .jsp, .html, .js or

[jboss-user] [JBossMQ] - Re: JMS Persistence Manager Exception

2009-04-28 Thread usubhash
Hi, Thank you for your reply. What I understand to do is to edit the mysql-jdbc2-service file to reflect the correct JMS Messages and transactions table. In my case, I have two instances of JBoss running in the same environment and pointing to the same DB. What is the solu

[jboss-user] [JBoss jBPM] - Re: Extending JobSession functionality

2009-04-28 Thread jjrs
Just had the inspiration after posting the previous message. The easy/clean way is extending the JobSession, adding the method with the new functionality and add a constructor to the new class using as a parameter the Session (Hibernate session). The session can be retrieved from the jbpmCon

[jboss-user] [EJB/JBoss] - Handling Application Exceptions within MDBs and EJBs

2009-04-28 Thread idhira
I am running JBoss 4.2.3 with JBoss Messaging 1.4.2.GA-SP1 This is related to Container Managed Transactions and handling Application Exceptions within EJBs and MDBs. The following are the exceptions I use: MyRetryException - Extends Exception MyEJBRetryRuntimeException - Extends Runtime Excepti

[jboss-user] [Beginners Corner] - Jboss AS and scripting

2009-04-28 Thread taints69
Looking for a guide, or any info on what language is supported for scripting of admin functions in jboss. I'd like to find out if certain functions like configuring a j2ee app's heap, datasources, listenerport, mq queues, etc can be scripted. View the original post : http://www.jboss.org/index

[jboss-user] [JBoss jBPM] - Extending JobSession functionality

2009-04-28 Thread jjrs
Hi, I am working with version 3.3.1, but I guess the question is valid for 3.2.x. I want to extend the functionality of the JobSession class for being able to retrieve information about locked/suspended jobs. I would like to extend this class and have my own version, however, for being able to

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss logging configuration

2009-04-28 Thread PeterJ
Since you mentioned log4j.xml, I am going ot assume that you are using a really old version of JBoss AS, such as 4.0.x or 3.2.x. In the 4.0.5 log4j.xml file there is a commented-out category that shows how to set trace level logging: | | | View the original post : http://w

[jboss-user] [JBoss Tools (users)] - Re: Load Seam example into Eclipse JBoss Tools?

2009-04-28 Thread oneworld95
Thanks, snjeza. After having pulled my hair out for more than a month, I'm giving up on Seam... for now. Haven't been able to make any headway with it. I've found tutorials, try to implement them in Eclipse as a new Seam Project, get to a certain point, and have 10,000 Java exceptions thrown in

[jboss-user] [Performance Tuning] - Re: Maximum XMX value on 32bit Windows Machine

2009-04-28 Thread PeterJ
On a 32-bit system each process is limited to 4GB of address space. 2GB of that is used by the OS (handles and other data used by the OS to service your app), Some of the low memory is occupied by stuff that dates back to MS-DOS. Much of the memory area just below the 2GB mark is occupied by sys

[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBoss logging configuration

2009-04-28 Thread agohar
Hi, I've deployed an application to jboss, which uses some third party libraries and these libraries use java.util.logging for logs. I want to enable TRACE level logging for those specific APIs. I tried to set the log level to TRACE in log4j.xml file in conf directory of JBoss but it doesn't se

[jboss-user] [JBoss Tools (users)] - Re: Load Seam example into Eclipse JBoss Tools?

2009-04-28 Thread snjeza
oneworld95, If you would like to have some of Seam examples added to the Project Examples wizard, we can try to add them. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227258#4227258 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting

[jboss-user] [JBoss Portal] - Re: deploying a java portlet in eclipse

2009-04-28 Thread PeterJ
anonymous wrote : when i deploy it on the jboss 5.0 server There's the problem - JBoss Portal does not run on JBoss AS 5.0. You will have to deploy the portlet to JBoss AS 4.2.3 with JBoss Portal installed. anonymous wrote : I also want to embed this portlet into my jboss portal2.7.0 See if my

[jboss-user] [Management, JMX/JBoss] - Re: Naming parameters in a management bean using annotations

2009-04-28 Thread tajh
Did you ever find anything? I'm curious to know too. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227252#4227252 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227252 ___ j

[jboss-user] [JBoss jBPM] - Re: async execution

2009-04-28 Thread armita
jbarrez response is good. Just call startJobExecutor on your configuration and you should be good to go. BTW documentation documentation documentaion ... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227249#4227249 Reply to the post : http://www.jboss.o

[jboss-user] [JCA/JBoss] - Re: ManagedConnectionFactory lifecycle

2009-04-28 Thread bortx
I think for the moment I'm going to adopt my solution, as I see jca 1.6 is going to be late for my needs. By the way, I suppose you are going to provide jca 1.6 support for jboss 5, as I am using jboss 4.2.3 it would be a great idea to add it also to this version ;) Thanks for your answer Vie

[jboss-user] [JBossMQ] - Re: JMS Persistence Manager Exception

2009-04-28 Thread adr...@jboss.org
Its only multiple persistence managers in that there are multiple jboss servers sharing the same database (and trying to write over each other's data). The example I gave was different users, but it could equally be a test and production environment. So you could have the test environment use J

[jboss-user] [JBossMQ] - Re: JBossMQ supported database

2009-04-28 Thread adr...@jboss.org
The 4.2.x release of jboss includes an example of mssql 2005 config in docs/examples/jca JBossMQ should work with any jdbc compliant driver, though you might need to tweak the create tables (we usually reccommend creating them by hand anyway so you can allocate space and maybe alter the indexes

[jboss-user] [JBossMQ] - Re: How to clean up uncommit JMS transactions on jboss 4.2.3

2009-04-28 Thread adr...@jboss.org
Uncommitted transactions should be automatically rolled back when you reboot. The error message is not jms related though so I don't know how you reached the conclusion. It shows the listing of a directory by apache axis having an OOME. It isn't even a proper OOME, it means your GC is getting st

[jboss-user] [JBoss jBPM] - jbpm engine

2009-04-28 Thread tommy111
hi can anybody how jbpm config on oracle coherence . i want configure jbpm hibernte on oracle coherence cache means firstly jbpm hibernate write in cache and store in database. thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227237#4227237 Reply to

[jboss-user] [JBoss jBPM] - Re: async execution

2009-04-28 Thread pramanjboss
Armita any luck with this. I am facing the same problem, where a async node sits hanging not completing the process. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227236#4227236 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=

[jboss-user] [EJB 3.0] - Re: EJB3: org.hibernate.type.SerializationException: could n

2009-04-28 Thread Wolfgang Knauf
Hi, Exactly, I would use a generated ID column for all of my entities. This makes it much easier to maintain the entities, because they all work the same way (call it a "design pattern" ;-) ). And if you use a web client, you have to use the IDs e.g. for lists or as hidden fields for forms, so

[jboss-user] [JBoss Portal] - Portlet, Servlets, cross context

2009-04-28 Thread thinwath
Hi all, just facing a problem to access a jsp from an external servlet but in fact of security reasons I need some sort of validation or something. I was thinking to share the session objects between some of my portlets and my servlet. Is there any possibility to configure a cross-context for t

[jboss-user] [JCA/JBoss] - Re: ManagedConnectionFactory lifecycle

2009-04-28 Thread adr...@jboss.org
MCF lifecycle is a feature that is projected to be added in jca 1.6 (jsr322) http://jcp.org/en/jsr/detail?id=322 (along with other annotation handling and the new javabean validation mechanism - jsr303). Instead of an interface it is supposed to use the @PostConstruct and @PreDestroy annotations

[jboss-user] [JBoss jBPM] - No row with the given identifier exists

2009-04-28 Thread bautto
The following error occurred when I'm passing through the tasks of the process or trying to retrieve a register: | org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [org.jbpm.bytes.ByteArray#1276] 09:55:16,591 [http-8080-3] | org.hibernate.ObjectNotFoundExc

[jboss-user] [JCA/JBoss] - Re: datasource from log4j appender

2009-04-28 Thread adr...@jboss.org
You can't use the local-tx-datasource because it will inherit the transaction from the ejb context. In the stacktrace you show, the jta tranaction has already been aborted so it can't log (write things into the database). Even If it wasn't already aborted, a subsequent rollback of the transacti

[jboss-user] [JBoss Portal] - Redirect After Login

2009-04-28 Thread brain101
i have a portal page, which is secured via a security constraint in the -object.xml when accessing the secured page: /portal/portal/myportal/mypage/myWindow?action=2¶m1=51 the request ist redirected to the login page (which is the expected behavior), but then, after successful login, the login re

[jboss-user] [JBoss Tools (users)] - Re: package archiover and dependency

2009-04-28 Thread rob.stry...@jboss.com
I'd say it's more "undefined" ;) The approved method for nesting jars is making one archive configuration where the jar is nested inside the ear straight from the beginning. For example, your view would look like: project1 |- ear.ear |- filesets |- my.jar |- jar

[jboss-user] [JBossWS] - WSConsume does not support JAX-WS 2.1 with JBossWS 3.0.5 Nat

2009-04-28 Thread joshua.dev
I upgraded JBoss-WS stack that was in the JBoss AS 4.2.2.GA to JBossWS 3.0.5 Native because the supplied version had issues with deploying WebServices over SSL connectors. 3.0.5 deploys them fine, but I just noticed that WSConsume stopped working using parameters I used with the AS 4.2.2.GA sta

[jboss-user] [JBoss Portal] - Handling PortalSessionEvent.SESSION_DESTROYED event

2009-04-28 Thread aspdeepak
Jboss App Server V 4.2.2 Jboss Portal - V 2.7.0 DB - Mysql 5.0 I have written a separate listener class Cem4mPortalEventListener implementing PortalEventListener . I have made the necessary mbean injections and i am also successful in loggig all portal events. But now I need to make my portlets

[jboss-user] Mandragora framework provides 100 Business methods in a well done J2ee infrastructure

2009-04-28 Thread Alessandro Colantoni
Mandragora (http://mandragora.sourceforge.net/) is an opensource framework that provides a pre-built infrastructure for every kind of java application. Mandragora is a generic business layer highly configurable and easily extensible, suitable for distributed applications as well, that come with mo

[jboss-user] [Installation, Configuration & DEPLOYMENT] - problem in installing jboss ESB 4.5GA on jboss Application S

2009-04-28 Thread prince_amit
while installing ESB on Jboss I found so many files are missing. this is on my system E:\jbossesb-4.5.GA\tools\console list of files which are missing in ESB[E:\jbossesb-4.5.GA\tools\console] while configuring ESB on Jboss Application server. milyn-smooks-core-0.9.jar milyn-comm

[jboss-user] [JBoss jBPM] - Re: jBPM - Group approval and single rejection

2009-04-28 Thread nilimesh
Hi bestage, I am definitely not expecting it to be out of the box. Can you be more specific on how to solve this with ease using API ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227204#4227204 Reply to the post : http://www.jboss.org/index.html?module=bb&

[jboss-user] [JBoss Tools (users)] - Re: Load Seam example into Eclipse JBoss Tools?

2009-04-28 Thread oneworld95
Thanks, Max. I've had great difficulty manually creating these apps in Eclipse, so I've left Seam alone for now and am focusing on learning JSF/RichFaces. Seam is powerful, but as is the case with power, it's also a complex beast to tackle. View the original post : http://www.jboss.org/index.

[jboss-user] [JBoss jBPM] - Re: Use of jBPM variables in action handler fields

2009-04-28 Thread swatis
No, that I know. I can use getContext().getVariable() to get the variables used in process instance. But here my question is how can I use varaibles in text content of element #{taskName} I mean in subject element or any other element what is way to access variables? View the original post : h

[jboss-user] [JBossWS] - Re: EJB injection doesn †™t work in Web

2009-04-28 Thread japase
Sure. I have a test case. Which JBWS shall I attach the file to? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227191#4227191 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227191 __

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: a transaction can across more than one persistence unit?

2009-04-28 Thread javatwo
two merges are ok. but when creating one entity A, merge entity B, A references B (foreign key), Lock wait timeout error ! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227188#4227188 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: a transaction can across more than one persistence unit?

2009-04-28 Thread javatwo
I got exception when trying updates tables via two persistence units in one transaction: ERROR [JDBCExceptionReporter] Lock wait timeout exceeded; try restarting transaction. Is it allowed? Thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227186#4227

[jboss-user] [JBoss jBPM] - Re: Use of jBPM variables in action handler fields

2009-04-28 Thread kukeltje
in the actionclass run the 'subject' variable though the jBPM el parser. See unittests in the sourcecode how that can be done View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227183#4227183 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posti

[jboss-user] [Beginners Corner] - Local Invocation / Call by Reference

2009-04-28 Thread eigenbrodtm
Hello, I've posted this some weeks ago in "Performance Tuning" bud din't recieve any answer. So I'll try again here. I using JBoss 5.0.1 GA. Based on http://www.jboss.org/community/docs/DOC-9288 (Section Performance note - Call By Value) i would expect that parameters and return values of calls

[jboss-user] [JBoss Tools (users)] - Re: How do you create the db tables for the Seam examples?

2009-04-28 Thread max.ander...@jboss.com
I suggest you ask in the Seam forums. But afaik the tutorial all assume it has hibernate.hbm2ddl.auto set to create-drop meaning that the tables gets created automatically. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227178#4227178 Reply to the post : ht

[jboss-user] [JBoss Tools (users)] - Re: Load Seam example into Eclipse JBoss Tools?

2009-04-28 Thread max.ander...@jboss.com
These examples does not follow a structure that is easily loaded into Eclipse (nor many other IDE's I know) you have to do it manually. I.e. using Create new java project and then point to the root of the example you want to use. View the original post : http://www.jboss.org/index.html?module=

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - a transaction can across more than one persistence unit?

2009-04-28 Thread javatwo
start a userTransaction, update in one persistence unit/data source A update in another persisence unit/data source B commit the userTransation; My question is : do the two updates belong to the same transaction? Thanks. dave View the original post : http://www.jboss.org/index.html?module=b

[jboss-user] [Security & JAAS/JBoss] - Re: DatabaseLoginServerModule implementing problems

2009-04-28 Thread Wolfgang Knauf
Hi Nicole, what page is accessed when the 403 comes? It is probably part of the "secured_pages" directory? As this error 403 is coming, it seems that the user is authenticated, but the role mapping does not work as expected (though the log tells something different: "Assign user to role java")

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - 3 persistence units - Prepare called on a local tx ?

2009-04-28 Thread javatwo
jboss version: JBOSS 4.0.5GA. After our application set up three persistence units, we got the following warning at run time: WARN [TxConnectionManager] Prepare called on a local tx. Use of local transactions on a jta transaction with more than one branch may result in inconsistent data in so

[jboss-user] [JBoss Portal] - securing admin portal with ssl (force authsec)

2009-04-28 Thread JohnnyTheHun
We have two portals: - a public portal for everyone, reachable via HTTP - the JBoss admin portal, only for administrators We want the admin portal to be reachable only securely via ssl. We have configured the ssl connector, and it is working properly if we type the /authsec/ into the url manual

[jboss-user] [Beginners Corner] - Using TPTP for stress test.

2009-04-28 Thread Andrechan
Hello everyone I have a server application to stress test with tptp 5.0 I have profiled Jboss 4.2 to isolate only the package of my server application In the test client I create a certain number of threads and each thread makes a certain number of calls to a function in the server. I have several

[jboss-user] [EJB 3.0] - Re: EJB3: org.hibernate.type.SerializationException: could n

2009-04-28 Thread D6L
First, thanks for the fast answer. I also tried two to make the FechType to lazy but that didn't change anything. But for the first point with the ID. Can you explain me more in detail what do you mean. For example, where to set the ID? Do you want to set an new phyiscal ID in the Tables and

[jboss-user] [EJB 3.0] - Re: EJB3: org.hibernate.type.SerializationException: could n

2009-04-28 Thread Wolfgang Knauf
Hi, I hope I understand your design correct: your "Road" has a PK, which is actually another entity "Location". The "Location" has relationships to other "Road" entities. I think this is quite a problematic design, because by loading the Road, it has to fetch the Location, and by fetching the

[jboss-user] [JBossWS] - Re: EJB injection doesn ’t work in Web Service s in

2009-04-28 Thread richard.opa...@jboss.com
"japase" wrote : | This example is based on an example from Sun (I can supply a complete example application that shows the problem). | Could you provide the test case? It would speed up the fixing process ;) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p

[jboss-user] [JBoss Messaging] - Re: Best way to pause delivery of messages on a queue

2009-04-28 Thread gaohoward
I think the AS forum is also a good place to go as it concerns MDB. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227152#4227152 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227152 ___

[jboss-user] [Performance Tuning] - Maximum XMX value on 32bit Windows Machine

2009-04-28 Thread ntnlljboss
Goodmorning, I'have some problems while setting the XMX JM value bigger than 1300m. When i set 1400 or 1500m the error returned by the run.sh is: --- Error occurred during initialization of VM Could not reserve enough space for object heap Could not create the Java virtual machine. --- The o.s. i

[jboss-user] [JBossWS] - Re: EJB injection doesn ’t work in Web Service s in

2009-04-28 Thread richard.opa...@jboss.com
Cross reference: JBWS-2634 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227144#4227144 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227144 ___ jboss-user mailing list jbos

[jboss-user] [JBoss Portal] - Re: IPC sample project ala JSR 286

2009-04-28 Thread thomas.he...@jboss.com
Antoine, is there still value added by this approach vs the JSR-286 approach ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227143#4227143 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227143 ___

[jboss-user] [JBoss Messaging] - Re: Best way to pause delivery of messages on a queue

2009-04-28 Thread rnicholson10
I'm using MDB's so I won't have direct access to the connection. I simply want the MDB to stop firing onMessage until I tell the queue to start delivering again (without stopping clients from sending messages to the queue). I have the following code for JMSContainerInvokerMBean (it's in the pack

[jboss-user] [JBoss Portal] - Re: IPC sample project ala JSR 286

2009-04-28 Thread Antoine_h
hi, you have interesting things about IPC there : http://mus.purplecloud.net/portlets/thesis/ipc.php the Michelle Osmond site provides nice explaination (both IPC by events and by messages), and provides an implementation for IPC by message. which is the one I use, to have multiple portlets share

[jboss-user] [EJB 3.0] - The Stacktrace

2009-04-28 Thread D6L
INFO: EJB5018: An exception was thrown during an ejb invocation on [RoadDAO] | INFO: javax.ejb.EJBException | at com.sun.ejb.containers.BaseContainer.processSystemException(BaseContainer.java:3894) | at com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:3794) |

[jboss-user] [JBoss Portal] - Re: Any one for Apache Jetspeed2 and JBoss 5?

2009-04-28 Thread Antoine_h
hi, I don't know... at all. you may post at this yahoo group, that is where you may find some more answers for other portals. http://tech.groups.yahoo.com/group/portlets/ hope it helps View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227136#42

[jboss-user] [Performance Tuning] - Re: Physical vs Virtual Memory

2009-04-28 Thread ntnlljboss
Yes, you are right, Sysinternal ProceXp displays the real working set that reaches 900MB Thank you ! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227135#4227135 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227135 _

[jboss-user] [JBossWS] - Re: EJB injection doesn ’t work in Web Service s in

2009-04-28 Thread richard.opa...@jboss.com
"japase" wrote : EJB injection should work not only in servlets, but also in web services, but it doesn't in JBoss 5.1.x. Which J2EE JCP specification defines this requirement? I can't find it :( View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227132#4227132 R

[jboss-user] [EJB 3.0] - EJB3: org.hibernate.type.SerializationException: could not d

2009-04-28 Thread D6L
Hi everybody, I would get an Output of an Table Road (Oracle Database) via EntityManager and Web Services. I got the following error : org.hibernate.type.SerializationException: could not deserialize Eclipe3.4.1/Glassfish V2.1/SoapUI 2.5 (for testing) Enviroment: Class : Location

[jboss-user] [JBoss Portal] - Re: Any one for Apache Jetspeed2 and JBoss 5?

2009-04-28 Thread ebross
Perhaps, you didn't read my initial entry as well as it was intended to be read: I have already done a bit of reading -- including the "JBossHowTo" -- during my initial research. And I thought on a "JBoss Portal" forum (Indeed the most likely place), I might find someone who might have also used

[jboss-user] [JBoss Messaging] - Re: Best way to pause delivery of messages on a queue

2009-04-28 Thread gaohoward
Not sure about JMSContainerInvokerMBean as I can't find it in JBM code base. Did you try use Connection.stop()? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227128#4227128 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&

[jboss-user] [JBoss jBPM] - Use of jBPM variables in action handler fields

2009-04-28 Thread swatis
Hi, See the code below:- | | | Error E5 encountered in jBPM Process in step #{taskName} | Hi Administrator, | The system has encountered error E5 in step #{taskName}. | Regards | -jBPM Team | swati.satp...@patni.com | | | In above c

[jboss-user] [JBossWS] - Re: EJB injection doesn ’t work in Web Service s in

2009-04-28 Thread richard.opa...@jboss.com
The fix will be available since JBossAS 5.1.0.GA release, see JBWS-2074 for more info. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227124#4227124 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227124 ___

[jboss-user] [JBoss jBPM] - Re: Accessing ActionHandlers at runtime

2009-04-28 Thread jamesrender
how would I add these mockhandlers at runtime? I've managed to navigate to the actionhandler classname via the processdefinition->node->event->action->delegation, so I could change the name of the class that is triggered to a mock one. However, I've been using jmock to avoid having to write moc

[jboss-user] [JBoss Messaging] - Re: Problems after Migration from WebSphere to JBoss (Broken

2009-04-28 Thread dahm
We deliberately changed the pingFrequency since a value of 214748364 = 60 hours effectively disables the ping. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227118#4227118 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p

[jboss-user] [JBoss Messaging] - Re: Best way to pause delivery of messages on a queue

2009-04-28 Thread rnicholson10
1.4.3.GA, comes with the 5.1.0 Beta of AS 5. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227116#4227116 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227116 ___ jboss-user

[jboss-user] [JBoss Portal] - Re: Any one for Apache Jetspeed2 and JBoss 5?

2009-04-28 Thread thomas.he...@jboss.com
"JBoss Portal" is a portal framework, a competitor of Jetspeed. If you have an issue to install an accessory on your car, who will you call ? Here you are calling another accessory maker who won't be able to help Now would you call the accessory maker or the car maker ? The accessory maker will

[jboss-user] [JBoss Messaging] - Re: Porting WLS8.1 to JBoss5 - JNDI lookup for XA factory re

2009-04-28 Thread gaohoward
Hi , jms-ds.xml is for JCA use. If you use JCA, then use the JCA API. You can't cast it to JBM connection factory. To get a JBM connection factory, you need to configure the connection-factories-service.xml. It's under deploy/messaging, take a look and you will know it. View the original po

[jboss-user] [JBoss jBPM] - Re: 4 Eye Principal - Implementation

2009-04-28 Thread bestage
"swatis" wrote : This is how I implemented. | If Task A is completed by UserA then using action handler setting instance variable :"group" with value of "userA" | Then When for Task B, used class which implements AssignmentHandler Interface this class will query to see who are the members of

  1   2   >