[JBoss-user] [EJB 3.0] - EJB3 Session Bean (Bean Managed Transaction) issue

2006-03-18 Thread wargun02
Hi, I have a problem with getting bean managed transaction or more appropriately user managed transaction to work on my Session Bean (EJB3 specs.) I have a session bean with the EntityManager "em" already defined and I have a method xxx() which is suppose to rollback all which persistence when

[JBoss-user] [Performance Tuning] - Re: Jboss 4.0.0 configuration for load testing - thread pool

2006-03-18 Thread rahulap
Thanks ryan for quick reply. How much hsql can hold? Any numbers would be of great help. e.g. 100 traps/sec? (till it reaches its file size limit of 8 GB). Could standalone hsql server in different jvm/system gives better performance? Also please comment on pool configuration and memory. Than

[JBoss-user] [Management, JMX/JBoss] - Re: deploy mbean from code on runtime?

2006-03-18 Thread gmeroz
i used the following code to do this: | MBeanServer mbeanServer = MBeanServerLocator.locateJBoss(); | mbeanServer.registerMBean(new MyMBeanImpl(), MyMBeanImpl.OBJECT_NAME); | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931188#3931188 Reply to the po

[JBoss-user] [JBoss Seam] - Re: Seam-messages demo fails. Does not appear to be invokin

2006-03-18 Thread heislord5
Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931187#3931187 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931187 --- This SF.Net email is sponsored by xPM

[JBoss-user] [JBoss Seam] - Re: Seam-messages demo fails. Does not appear to be invokin

2006-03-18 Thread [EMAIL PROTECTED]
Annotations *are* scoped! And so are Seam names. If you have @Name("foo.bar.baz"), you refer to the component as #{foo$bar$baz.property} in the EL. But I don't want to use scoped names for really commonly used builtin components. View the original post : http://www.jboss.com/index.html?modu

[JBoss-user] [JBoss Seam] - Re: Seam-messages demo fails. Does not appear to be invokin

2006-03-18 Thread heislord5
"heislord5" wrote : Thanks Mr. King! | | I've seen a discussion somewhere about the possibility of having annotations organized somehow to scope them within something similar to "packages", like classes. | | At some point do you think there will be a way to have a: | | @com.mycompa

[JBoss-user] [JBoss Seam] - Re: Seam-messages demo fails. Does not appear to be invokin

2006-03-18 Thread heislord5
Thanks Mr. King! I've seen a discussion somewhere about the possibility of having annotations organized somehow to scope them within something similar to "packages", like classes. At some point do you think there will be a way to have a: @com.mycompany.myannotation or something similar? View

[JBoss-user] [EJB 3.0] - persistence.xml

2006-03-18 Thread Udo.Krass
Hi, i use the latest CVS Jboss-Release (5.0 alpha). When I deploy my app then i get following exception: Caused by: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'persistence-unit'. | at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseExcepti

[JBoss-user] [JBoss Seam] - problems with jboss-seam-booking example

2006-03-18 Thread vlad_oz
Hi, I'm new to jboss seam framework. Trying to get the booking example running. Downloaded JBoss IDE and followed the instructions in the "movie". Can build and deploy jboss-seam and the examples ok. The login page and the registration page of the booking example work fine. But when I try to reg

[JBoss-user] [JBoss Seam] - Re: Seam-messages demo fails. Does not appear to be invokin

2006-03-18 Thread [EMAIL PROTECTED]
Fixed, the problem is that I introduced a new built-in component named "messages" in CVS, and that conflicted with the name of a context variable used in the example. Can someone think of a better name for the built-in component? It is a Map of i18nized strings. "resourceMap" sounds silly

[JBoss-user] [JBoss Seam] - Re: Dynamic selectOneMenu

2006-03-18 Thread [EMAIL PROTECTED]
The list of categories *is* retrieved from the db (it is not the Any value i am talking about). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931176#3931176 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931176

[JBoss-user] [JBoss Seam] - Re: Dynamic selectOneMenu

2006-03-18 Thread ariska
I can see how the "Any" value is added, but my point here is to get the value initialized from the database value. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931173#3931173 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=re

[JBoss-user] [JBoss Seam] - Re: Dynamic selectOneMenu

2006-03-18 Thread ariska
Thanks for your prompt answer. I managed to implemented as in the dvd example, though I have one concern left. How can I *initialize* the selectOneMenu component with a value? Let's say that, in the case of the dvd-store demo, I want the Category to be initialized to "Comedy" . kind regard

[JBoss-user] [JBoss Seam] - Re: Seam-messages demo fails. Does not appear to be invokin

2006-03-18 Thread [EMAIL PROTECTED]
looks like this is broken in cvs View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931169#3931169 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931169 --- This SF.Net

[JBoss-user] [JBoss Seam] - Re: JAAS and SEAM

2006-03-18 Thread mirko27
I appologyze for my bad formed question. It was quite late at the moment of writing. What I like to know is how to outject User Entity Bean to Session Scope so, that outjected user entity bean corresponds to logged one. Thank you. View the original post : http://www.jboss.com/index.html?module=

[JBoss-user] [JBoss Eclipse IDE (users)] - JBoss-IDE and web Service

2006-03-18 Thread Pierroot
Hello, I am trying to use web service and I am getting very confused... I read a whole bunch of tutorial and I don't really know what's up with axis and JBoss... Is axis in JBoss or is it not ?? Anyway, I created a web service running on a Tomcat 5.0 server and Axis (it's a simple HelloWorld W

[JBoss-user] [JBossWS] - Re: java.lang.NoClassDefFoundError: org/apache/axis/client/S

2006-03-18 Thread Pierroot
I have the exact same problem... It would be nice if someone knows a way to get those clients to work... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931164#3931164 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931

[JBoss-user] [Advanced Documentation] - Trouble invoking a web Service from JBoss with JBoss-IDE

2006-03-18 Thread Pierroot
Hello, I am trying to use web service and I am getting very confused... I read a whole bunch of tutorial and I don't really know what's up with axis and JBoss... Is axis in JBoss or is it not ?? Anyway, I created a web service running on a Tomcat 5.0 server and Axis (it's a simple HelloWorld W

[JBoss-user] [JBoss Seam] - Re: .seam welcome-file

2006-03-18 Thread simon.nicholls
If I remember correctly, welcome-file doesn't pass the request through the jsf servlet as hoped. You could give http://tuckey.org/urlrewrite a try - a rule like this would probably work: | ^(.*)/$ | $1/index.seam | View the original post : http://www.jboss.com/index.htm

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: need some basic help for deployment

2006-03-18 Thread SchlauFuchs
I solved that problem with moving the persistence.xml into the META-INF of my ejb3 file. Next problem: I have defined a queue and a topic in a -service.xml. But it looks like the service.xml is ignored - the topic isn't generated. The queue is generated, but because I have a MDB which uses it i

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: java.lang.InterruptedException when sending messages

2006-03-18 Thread [EMAIL PROTECTED]
Nope. I use JBOSS-4.0.2 and run in Jrockit JDK 1.5_03 on a Linux Box. The same code runs fine in some of the boxes and in some m/c I always seem to get this error. I rebooted those m/c and still it happens. What is the recommended kernel parameters to be set. View the original post : http://w

[JBoss-user] [JBoss Seam] - Re: JSF 1.2 / Seam

2006-03-18 Thread rogerk
OK, I got the numberguess example working in glassfish. Has anyone been able to run the booking example in glassfish? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931152#3931152 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=

[JBoss-user] [JBoss Seam] - Ajax and FileUpload example

2006-03-18 Thread kryptontri
Hi, if anyone has a working configuration/page that uses fileupload and ajax can they post it here please. I have been trying to replicate this example with seam, http://today.java.net/pub/a/today/2006/02/09/file-uploads-with-ajax-and-jsf.html TIA for any help .. View the original post : http:

[JBoss-user] [JBoss Seam] - Testing with @Test(groups=...) annotation

2006-03-18 Thread superfis
Hello, I tried to test Seam action class using testng annotation @Test(groups="all"). Snip of my code: public class ShowVersionTest extends SeamTest { @Test(groups = "all") public void testVersion( ) throws Exception { new Script( ) { @Override prote

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - need some basic help for deployment

2006-03-18 Thread SchlauFuchs
Hello, I wrote a stateless and a md bean and try to deploy them to jboss server. My running JBoss is a 4.0.3 with latest EJB3. I work with Eclipse IDE. I used packaging for creating a .ejb file and a .par file. After deployment of these two files I get an error. Here's the log file: 15:20:13,

[JBoss-user] [JBoss jBPM] - Re: Article over jBPM

2006-03-18 Thread camunda
OK, last try: http://www.camunda.com/know-how/publikationen.php Sorry, next time I will work with the preview ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931148#3931148 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=repl

[JBoss-user] [JBoss jBPM] - Re: Article over jBPM

2006-03-18 Thread camunda
Sorry, wrong link, please use: http://www.camunda.com/know-how/publikationen.php[/url] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931147#3931147 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931147 -

[JBoss-user] [JBoss jBPM] - Re: Article over jBPM

2006-03-18 Thread camunda
OK, I have finished the translation. Not the best english, but my colleague will correct it a little bit next week (when I am in hollidays). So I think there will be a better version online on tuesday or wednesday... I have put a link to the translation of the article on this site: http://www2.

[JBoss-user] [Performance Tuning] - Re: Jboss 4.0.0 configuration for load testing - thread pool

2006-03-18 Thread [EMAIL PROTECTED]
No, HSQLDB cannot handle that load. Its rediculous to use HSQLDB for "performance testing." View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931143#3931143 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931143 ---

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Taking backup of JBoss inbuilt database (HSQL)

2006-03-18 Thread rahulap
Hi, JBoss inbuild HSQL database stores data in *.data file in /data folder. 1. How do I take back of my database without stopping JBoss? Is any script or java api available to do so? 2. Can HSQL automatically backup data as xxx.data.1, xxx.data.2, etc (or any other extension by date) after it

[JBoss-user] [Performance Tuning] - Jboss 4.0.0 configuration for load testing - thread pool, hs

2006-03-18 Thread rahulap
Hi, I am performaing load testing on Jboss 4.0.0 and expecting 500 messages/second. I have simple HTTPServlet implemented which receives HTTP POST messages (approx 100 characters string) and put in hsql database table. (I have to use hsql :( ) 1. What should be thread pool configuration in Jbos

[JBoss-user] [JBoss Seam] - Re: Seam-messages demo fails. Does not appear to be invokin

2006-03-18 Thread heislord5
Does not appear to be invoking the factory. Out of 10 examples, the other nine examples run. This one won't bring up the first page. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931140#3931140 Reply to the post : http://www.jboss.com/index.html?module=bb

[JBoss-user] [JBoss Seam] - Seam-messages demo fails. Does not appear to be invoking fa

2006-03-18 Thread heislord5
Hi, When I compile and deploy the seam-messages demo, I get the following error messages: anonymous wrote : type Exception report | | message | | description The server encountered an internal error () that prevented it from fulfilling this request. | | exception | | javax

[JBoss-user] [JBossCache] - Re: JBossCache AOP and Java 1.5

2006-03-18 Thread [EMAIL PROTECTED]
I am not aware of any other implication since my dev enviornment has been all jdk1.5. Since we have 1.3beta release now, I'd suggest you test it out yourself since we have couple bug fixes for Pojocache (the new name for TreeCacheAop now :-) -Ben View the original post : http://www.jboss.com/

[JBoss-user] [EJB 3.0] - Persistence: Timezone property ?

2006-03-18 Thread elkner
Is there a property to set the default timezone to be used in the persistence.xml? My problem is, that I do not want to have to command a user, under which timezone he has to run its application server (since other apps my rely on a certain one). However, the only reliable way to store dateti

[JBoss-user] [JBoss Seam] - Re: JAAS and SEAM

2006-03-18 Thread mirko27
My question. If i have created user Entity does JAAS automatically load user entity to session scope? JAASExample seems to do nothing for this behaviour. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931131#3931131 Reply to the post : http://www.jboss.com/

[JBoss-user] [Installation, Configuration & Deployment] - Re: Can JBoss AS run as non-root user in AIX?

2006-03-18 Thread anders.hedstrom
this sounds to me as a permission issue - does the user you are using to run JBoss with have write permissions in all needed directories? An easy way to fix this (if this is your problem) is to change the owner of the $JBOSS_HOME and all it sub directories if your user is named jboss, then you

[JBoss-user] [Installation, Configuration & Deployment] - Re: Proxy Server and EJBs - confused.

2006-03-18 Thread anders.hedstrom
anonymous wrote : But surely there must be somewhere to tell the JBOSS client where to find the proxy server | set the java system properties for this Properties p = new Properties(); | p.setProperty("http.proxyHost","your.proxy.server.com"); | p.setProperty("http.proxyPort","8080"); |

[JBoss-user] [JBoss Seam] - Re: Internationalized hibernate validator messages

2006-03-18 Thread mirko27
So now we should create validation messages through Seam? Or what? And where to put them? any dependencies on names? Seam is still very poorly documented:( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931125#3931125 Reply to the post : http://www.jboss.com/

[JBoss-user] [JBoss Portal] - Re: User and Management portlets non-operational with 2.2

2006-03-18 Thread rutfield
I'm still stumped on this one. (User and Management portlet not working, but CMS and test are after a completely clean install) Tried the 2.2.1RC3 with the same issues. Recreated the database from scratch. In addition to the server.log, can someone suggest other files I should look at for erro

[JBoss-user] [Beginners Corner] - Re: How to Install Jboss

2006-03-18 Thread sekharelope
Thanks alot Ivaylo. :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931117#3931117 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931117 --- This SF.Net email is s

[JBoss-user] [Beginners Corner] - session --> bean class help plese...

2006-03-18 Thread my_aro
hello im a newbie in ejb's... can anybody help me with this problem?? how can i pass a data from a session bean to a java bean class? do i need to use the useBean method just like in jsp? please help... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931116#39

[JBoss-user] [JCA/JBoss] - Oracle10g + XA + Serializable

2006-03-18 Thread slobo
I try to configure an XA datasource with Oracle10g but if I put TRANSACTION_SERIALIZABLE into the then I get the following error on JBoss startup: 2006-03-15 13:17:49,938 WARN [org.jboss.tm.TransactionImpl] XAException: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=egistir/2, BranchQual=, l

[JBoss-user] [JBoss Portal] - Re: Error while accessing Jportal server page

2006-03-18 Thread p.surawar
Forgot to mention: MySQL database server version: 4.0.21-debug Java version 1.5.0_06 JBoss AS 4.0.3SP1 JBoss Portal 2.2 on WINDOWS 2003 Server Please help! Pravin..// View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931112#3931112 Reply to the post :

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Calling Servlet from JSP

2006-03-18 Thread andywallace
action="/SaveRequirementDetail" View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=393#393 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=393 --- This SF.Net e

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Calling Servlet from JSP

2006-03-18 Thread andywallace
Hmmm, Part of that didnt seem to come out right. The line I am using from JSP to try and access the code is: Cheers Andy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931110#3931110 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posti

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Calling Servlet from JSP

2006-03-18 Thread andywallace
Hi all, I would greatly appreciate a response. I am reasonably new to JBoss, and I am having difficulty calling a servlet from my JSP files. I have searched google for a couple of hours, and not found anything specific to this problem and JBoss, so here goes: ***Servlet*** package com.ente

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Error when deleting CMRs

2006-03-18 Thread AntGod
When I try to delete an object (I am using CMRs), I get this error: 18:29:44,637 ERROR [LogInterceptor] TransactionRolledbackLocalException in method: null, causedBy: javax.ejb.NoSuchObjectLocalException: Entity not found: primaryKey=823 Im using JBOSS AS, any idea how to solve this? Thanks, An

[JBoss-user] [JBoss Portal] - Error while accessing Jportal server page

2006-03-18 Thread p.surawar
I have installed Jportal Server 2.2.0 on Jboss AS 4.0.3 . But while accesing page http://localhost:8080/portal I am getting following error( details given below). Can any body help me to slove this problem ?. *** HTTP Status 500 - type Exception re

[JBoss-user] [JBoss Portal] - Re: how to change the securit-constrain for the Test page

2006-03-18 Thread yxyang
Also i tried the web management, it seems that i can only add permissions but cannot remove permissions. Example, the security constrains with the default jbossportal installation is that the Test page can be viewed by all(unchecked view). But i need to limit this view to only admin. I cannot ma

[JBoss-user] [JBoss Portal] - how to change the securit-constrain for the Test page

2006-03-18 Thread yxyang
Hi I am trying 2.2.1(2.2 branch). I need to hide the Test page only viewable for the admin. I tried the following two ways (1) I change the default-object.xml file of the sample Test portlets. and redeploy the portal. It seems that redeployment doesnt work (2) I clean the jbossportal database a

[JBoss-user] [EJB 3.0] - Why @PrimaryKeyJoinColumns can't annotated method?

2006-03-18 Thread adver11
Why @PrimaryKeyJoinColumns can't annotated method? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931102#3931102 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931102 --

[JBoss-user] [JBoss jBPM] - JDBC Driver class not found: com.mysql.jdbc.driver

2006-03-18 Thread zxf_NARI
Hi everyone: When I used the websale example supported by jbpm-3.0.1 , I changed the database to MySQL, so I created "mysql" directory in "jbpm-3.0.1\lib" ,copied two files :create.db.hibernate.properties, identity.db.xml from 'hsqldb' to 'mysql' , and edited the "create.db.hibernate