[JBoss-user] [JBoss Seam] - Re: Redirecting for exceptions

2006-02-05 Thread lcoetzee
Hi, this thread contains a first cut attempt at writing an Interceptor to catch a specific exception (the rollback and those things are not working correctly, but you will get a good idea anyway;-) http://www.jboss.com/index.html?module=bb&op=viewtopic&t=76085 Louis View the original post :

[JBoss-user] [JBoss jBPM] - Re: Transient variables between process and subprocess

2006-02-05 Thread icyjamie
Testclass: testTransientVariablesOnly will fail if you do the transient bit inside the conditional. Will also prove that you have to do the reverse bit as well. | /* | * JBoss, Home of Professional Open Source | * Copyright 2005, JBoss Inc., and individual contributors as indicated |

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - upgrade MySQL 5.0.18, boolean type data too long

2006-02-05 Thread javatwo
MySQL 4.1 uses TINYINT for Boolean type, but MySQL 5.0 use Bit(1). After upgrading to MySQL 5.0 and all mapping tables have been re-created. I got Data too long for column "read" that is a boolean type. when inserting a row. How to solve this problem? Where is the Hibernate configuration

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - JBOSS-->MySQL using UTF-8

2006-02-05 Thread javatwo
Web in UTF-8 (http request/response) MySQL in UTF-8. How to config JBoss/Hibernate to talk with MySQL using UTF-8? Please help! Dave View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921784#3921784 Reply to the post : http://www.jboss.com/index.html?module=bb&o

[JBoss-user] [EJB 3.0] - Re: NoClassDefFoundError: org/jboss/aop/advice/Scope

2006-02-05 Thread wosammada
Sorry, no error-message occurred after I used jboss-4.0.3SP1.zip instead of run-installer View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921783#3921783 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3921783

[JBoss-user] [JBoss jBPM] - Re: Transient variables between process and subprocess

2006-02-05 Thread icyjamie
Without testing it: Does this has to be inside the conditional? This means that you have to have at least one read/read-write mapping. If the contract would state that all current transient variables are transferred, this could be sufficient (I don't think you would have read/read-write issues w

[JBoss-user] [JBoss Seam] - Re: EntityManager in a decision expression

2006-02-05 Thread [EMAIL PROTECTED]
Just call a method of a Seam component. The Seam component can access the EM. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921781#3921781 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3921781 ---

[JBoss-user] [JBoss Seam] - EntityManager in a decision expression

2006-02-05 Thread amarinis
Is there a way to use an EntityManager within a decision expression? for instance. I have a decision task that needs to perform a check against data in my database. I do not want to searcht he JBPM database. Any ideas? View the original post : http://www.jboss.com/index.html?module=bb&op=vie

[JBoss-user] [Management, JMX/JBoss] - Failed to get JMS queue

2006-02-05 Thread mawione
Hi, I'm trying to get hold of JBoss JMS queue from my MBean. It works fine when I "hot-deploy" my MBean when JBoss is allready started, but fails when I start JBoss with my MBean deployed. I get following exception: Failed to get JMS Queue. Exception = javax.naming.NameNotFoundException: Conne

[JBoss-user] [EJB 3.0] - Re: NoClassDefFoundError: org/jboss/aop/advice/Scope

2006-02-05 Thread wosammada
I cannot Copy ejb3.deployer from the lib/ directory of the distribution to jboss-4.0.x/server/all/deploy because the directory jboss-4.0.3SP1/server/all does not exist. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921777#3921777 Reply to the post : http:

[JBoss-user] [JBossCache] - Socket Exception

2006-02-05 Thread manishatpatni
Hi, Can anybody help me out to know the reason for occuring following exeception in JBoss. DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin ReadTask.run DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin WriteTask.run DEBUG [org.jboss.mq.il.uil2.SocketManager] Created ObjectInputStream DEBUG [org.j

[JBoss-user] [Beginners Corner] - Re: How to run the EJB3.0 tutrial example on MySQL?

2006-02-05 Thread JBStonehenge
Hi Chris, what do you mean by late? I do not expect replies within minutes or days. You were perfectly well on time! Thanks for your help. I changes the dialect attribute in persistance.xml and all worked fine. By the way... why are hibernate classes controlling how to acces a persistance data

[JBoss-user] [JBoss Seam] - Re: Ending a conversation and begining another at the same t

2006-02-05 Thread [EMAIL PROTECTED]
No there are not, but it is simple: | |#{item.name} | And, then: @Stateless | @Name("itemFactory") | public class ItemFactory { | |@Out Item item; |@RequestParameter itemId; | |@Factory("item") |public void getItem() { | item = getItem(i

[JBoss-user] [JBoss Seam] - Re: Ending a conversation and begining another at the same t

2006-02-05 Thread RobJellinghaus
Jeez, and here I am converting the noejb/booking sample INTO a blog sample! :-\ Are there any current samples that show how to use RESTful request parameters? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921772#3921772 Reply to the post : http://www.jboss

[JBoss-user] [EJB 3.0] - Re: Query against @CollectionOfElements

2006-02-05 Thread chrismalan
I'm guessing, as nobody else replied. Try select m from MyClass m join m.numbers mn where mn=4711 Give it a go and let me know. Regards, Chris View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921771#3921771 Reply to the post : http://www.jboss.com/index.htm

[JBoss-user] [JBoss Eclipse IDE (users)] - DTMManagerDefault.getDTM(int) line: 628 source not found.

2006-02-05 Thread jay_franklin
Using the 1.5 final ide with 4.0.2; gave up trying to make 4.0.3sp1 work. still can't launch jboss from within the ide. on one of the forums I saw someone write that the 4.0 configuration doesn't work and the "workaround" was to use the 3.2 configuration. so i tried that. I am getting an error:

[JBoss-user] [JBoss Portal] - Re: portal management response time > 3 secs !

2006-02-05 Thread PMO
I have a lot of those : 2006-02-06 01:03:41,919 WARN [org.hibernate.cache.ReadWriteCache] (org.hibernate.cache.ReadWriteCache.handleLockExpiry(ReadWriteCache.java:214)) An item was expired by the cache while it was locked (increase your cache timeout): org.jboss.portal.core.impl.model.portal.O

[JBoss-user] [JBoss Portal] - Re: portal management response time > 3 secs !

2006-02-05 Thread [EMAIL PROTECTED]
I have a P200 MMX it's fast View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921768#3921768 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3921768 --- This SF.net email

[JBoss-user] [Beginners Corner] - Re: JBoss startup errors

2006-02-05 Thread Hakucho
Looks like Tomcat is having trouble starting up there's also an error about badly-formed XML files. I don't use Tomcat (I use Jetty), but if Tomcat uses any XML config files and you've edited them, check you haven't accidentally broken their "well-formedness". A handy troubleshooting techn

[JBoss-user] [Messaging, JMS & JBossMQ] - Failed to get JMS Queue

2006-02-05 Thread mawione
Hi, I'm trying to get hold of JBoss JMS queue from my MBean. It works fine when I "hot-deploy" my MBean when JBoss is allready started, but fails when I start JBoss with my MBean deployed. I get following exception: Failed to get JMS Queue. Exception = javax.naming.NameNotFoundException: Conne

[JBoss-user] [JBoss Portal] - Re: portal management response time > 3 secs !

2006-02-05 Thread PMO
Thanks for the answer. I am still wondering why... I have an intel P IV Dual Core 3 GHz and 4 GB RAM - am running Windows 2003, and the jvm is 1.4.2. The server and the client run on the same machine (localhost port 8080) If I find out what it is, I will let you know... View the original post

[JBoss-user] [JBoss Eclipse IDE (users)] - Re: JBoss Eclipse IDE, Eclipse 3.1 and upcoming WTP versions

2006-02-05 Thread mlybarger
"ploskikl" wrote : | Does JBoss plan to provide server definitions elements for current (and future) JBoss releases that can be downloaded using the Eclipse update manager? | i'm also interested in weather JBoss will support a JBoss app server definition for eclipse wtp. i have eclipse wtp

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: how to deal with

2006-02-05 Thread lafr
The message "A CMR collection may only be used within the transction in which it was created!" was often discussed here. Creating the collection and iterating through it have to be don in the same transaction. >From a servlet you'll probably have to use a user transaction. UserTransaction transa

[JBoss-user] [Messaging, JMS & JBossMQ] - How to connect an MDB to a remote clustered topic?

2006-02-05 Thread tgeise
Although, there is an example how to connect an MDB to a remote queue, probably the same doesn't work when one wants to connect the same MDB to a CLUSTERED remote topic. Should it be possible? I just want to provide the topic in a clustered environment, but a lot of MDB's on non-clustered JBos

[JBoss-user] [JBoss Portal] - Re: portal management response time > 3 secs !

2006-02-05 Thread [EMAIL PROTECTED]
I am not seeing slow reponse times between pages, but I just recently got a new laptop for dev. P 2.14 2GB I am also using hypersonic right now, until I get around to installing PGres, etc... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921760#3921760 Re

[JBoss-user] [Installation, Configuration & Deployment] - 3.2.3 to 4.0.3SP1 Upgrade GC Issue Resolution

2006-02-05 Thread atait
I posted questions regarding a performance issue we encountered when this upgrade was performed: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=74692 The problem turned out to be the garbage collector and our heap space settings. This upgrade resulted in an increased use of permanent

[JBoss-user] [JBoss Portal] - Re: portal management response time > 3 secs !

2006-02-05 Thread PMO
I tried with 2.2.1 bundled, changed to postgresql, creating a new database. Once the portal is started, the gui launched and connected under admin. clicking back and forth on "management" tab and on "default" tab takes between 3 to 6 seconds. It is extremely slow. Compared to that my portlet ar

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Pub/Sub persistence

2006-02-05 Thread mcobery
No problem. I understand your frustration. I should have put more code up there. Thanks for the help (really). It was a bit cryptic but so were my questions. I thought my last post would lighten things up. Glad to see you have a sense of humor. View the original post : http://www.jboss.c

[JBoss-user] [Beginners Corner] - HANamingService Startup Error

2006-02-05 Thread CompBoy
Hi, I am trying to get JBoss up for the first time. I am using the "run -c all" command to start the server. At this time I am getting the following error during startup. I have no idea what it means. Can you tell me what needs to be done? | WARN [org.jboss.ha.jndi.HANamingService] Fai

[JBoss-user] [JBoss Seam] - Re: Ending a conversation and begining another at the same t

2006-02-05 Thread [EMAIL PROTECTED]
Take a look at the issue tracker example, which is not *exactly* what you are describing (the search results are held in session scope), but is similar. To propagate the selected hotel, I would rather use a request parameter, since that will make the page bookmarkable (RESTful). I need to finis

[JBoss-user] [JBossWS] - Re: ServiceLifeCycle

2006-02-05 Thread johnr1111
I forgot to mention that the same war file acted correctly on other App Servers. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921749#3921749 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3921749

[JBoss-user] [JBoss Seam] - Re: Ending a conversation and begining another at the same t

2006-02-05 Thread RobJellinghaus
I'm in exactly the same situation -- I want a search list that's conversationless-ly populated the first time the user hits the main list page, and that then lets you start edit/etc. conversations via action links. It's as if the noejb example always gave you a list of hotels the minute you pul

[JBoss-user] [JBossWS] - ServiceLifeCycle

2006-02-05 Thread johnr1111
I created a web service implementing the ServiceLifeCycle interface. In doing some tests it appeared that the init and destroy were called on every single web service call. Is this really the case? It appears that the Servlets do not do this and only call the init when the object is first cre

[JBoss-user] [JBoss Seam] - Re: Redirecting for exceptions

2006-02-05 Thread [EMAIL PROTECTED]
Yes, you catch the exception in the interceptor, or, you could catch it in a servlet filter. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921745#3921745 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3921745 ---

[JBoss-user] [JBoss Seam] - Re: Redirecting for exceptions

2006-02-05 Thread RobJellinghaus
As Gavin already said: "[EMAIL PROTECTED]" wrote : For now, just write a Seam interceptor. :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921744#3921744 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3921744 --

[JBoss-user] [JBossWS] - EJB unreachable from POJO endpoint

2006-02-05 Thread new4jboss
I have the following setup: 1. EJB1 <- POJOWS <- standalone ws client(outside the container) 2. EJB1 <- EJB2 <- <- standalone RMI-IIOP client (outside the container) 3. EJB1 <- standalone RMI-IIOP client (outside the container) Only the last 2 scenarios are working. The first is returning "EJB1

[JBoss-user] [EJB 3.0] - Re: Query against @CollectionOfElements

2006-02-05 Thread liudan2005
does anyone know? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921739#3921739 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3921739 --- This SF.net email is sponso

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - where to put context.xml in JBoss?

2006-02-05 Thread weipingy
Hi; I have an web application with the instructions to install on a standalone tomcat 5.0.28. With the standalone installation, we need to place a file called context.xml (context is the name of the context root) under conf/catalina/localhost. Please advise where I should put that file under a

[JBoss-user] [Installation, Configuration & Deployment] - Re: ERROR: relation

2006-02-05 Thread Tarch82
So have you found the solution??? Sorry for the insistence but I need it. Bye! =) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921731#3921731 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3921731 --

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Pub/Sub persistence

2006-02-05 Thread [EMAIL PROTECTED]
"mcobery" wrote : Again thanks for your help. I know tech support can be difficult sometimes but I think you may need therapy or maybe some time off to deal with your anger. | Everybody thinks I am angry! If I was angry I would delete your user. ;-) People mistake my directness in trying to

[JBoss-user] [JBoss Seam] - Re: Redirecting for exceptions

2006-02-05 Thread armita
I did. But still my problem is there. @RolesAllowed throws exceptions that I am not even able to catch them! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921728#3921728 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3

[JBoss-user] [Installation, Configuration & Deployment] - Hot code replace failed - Hierarchy change not implemented

2006-02-05 Thread szczepiq
How to make JBoss more resistant to class exchange during debugging? Scenario: I run JBoss from Eclipse using my own launch configuration. In many classess (beans implementation) I have to restart JBoss even after a really simple change to the class (e.g. adding System.out.println() ). Can I tr

[JBoss-user] [JBoss Portal] - Debug the Portal Source use Eclipse

2006-02-05 Thread summercobel
I have read the http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingEclipse Now , I have no errors in the Eclipse IDE and I can successed build the Source .I also install the JBoss AS Eclipse IDE . Then i want to debug the source and want to track the source one by one line .But i don't know how to

[JBoss-user] [EJB 3.0] - Why does a aread only operation require a transaction?

2006-02-05 Thread thhal
I have a stateless session bean with a method annotated with the transaction attribute type SUPPORTS. The method performs a read-only query. I can't get that to work. I always get the following stack trace: javax.persistence.TransactionRequiredException: EntityManager must be access within a tr

[JBoss-user] [JBoss Seam] - Re: Issue with ValueChangeListener and calling SLSB in Seam

2006-02-05 Thread lisa_jbpm
I'm also facing the same problem. The valueChangeListener is not working. Please let me know if you come across any solution. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921725#3921725 Reply to the post : http://www.jboss.com/index.html?module=bb

[JBoss-user] [Beginners Corner] - Re: How to run the EJB3.0 tutrial example on MySQL?

2006-02-05 Thread chrismalan
Hi Johannes, This is a bit late, you may never see this or may have solved the problem. The problem is: "Using dialect: org.hibernate.dialect.HSQLDialect" Set up your persistence.xml to use org.hibernate.dialect.MySQLDialect That should do it. Chris View the original post : http://www.jboss.

[JBoss-user] [EJB 3.0] - Many to many plus additional value

2006-02-05 Thread chrismalan
This question has been asked at least twice. The answer is: "use an intermediate entity to represent your assoc table" I looked but could not find much on this in the Hibernate documentation. It is most likely where I did not look. I have an idea of what to do, but do not know if it right. T

[JBoss-user] [Beginners Corner] - Accessing session context in the Interceptor

2006-02-05 Thread armita
I am writing an interceptor and I need to access the sessionContext, could any body tell me how can I do it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921723#3921723 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3

[JBoss-user] [JBoss Portal] - Re: Defining which portlet handles requests by default

2006-02-05 Thread [EMAIL PROTECTED]
you want to look at the parameterization of the CMSObjectCommandMapper that has an attribute that specifies what is the default portal object window ref used to show the content. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921721#3921721 Reply to the post

[JBoss-user] [EJB 3.0] - Association does not infer the correct column name

2006-02-05 Thread peterrusselluk
I am using Embedded EJB to unit test my Entity Beans. I have 2 tables dept and emp, dept having a one-to-many association wuth emp. if I define the association: @javax.persistence.OneToMany(cascade = javax.persistence.CascadeType.ALL, fetch = javax.persistence.FetchType.EAGER) |@javax.p

[JBoss-user] [JBoss Seam] - Re: Force re-outjection ?

2006-02-05 Thread lcoetzee
Hi Gavin, ignore my posting/question. Seam is working correctly and outjecting the right stuff at the right time. My code was broken a bit. Anyway, what I am doing (and wanted to do, but failed to explain properly earlier): use the @Factory("xxx") annotation in a stateful bean. Have xxx event

[JBoss-user] [EJB 3.0] - Re: Entity Beans extending a POJO - will I ever get this to

2006-02-05 Thread ejb3workshop
I don't know if it is a bug, but I was also unable to inherit annotations. In my case I tried to inherit the @Version and @Id annotations. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921718#3921718 Reply to the post : http://www.jboss.com/index.html?mod

[JBoss-user] [EJB 3.0] - Re: Entity Beans extending a POJO - will I ever get this to

2006-02-05 Thread peterrusselluk
Here is the Base Class | public class BaseDeptDTOImpl implements Serializable { | | private static final Log log = LogFactory.getLog(BaseDeptDTO.class); | | |/** Primary key. */ |private int deptId; | |/** | * auto_increment | * | * Get

[JBoss-user] [JBossWS] - Re: Illegal null argument:ns when deploying

2006-02-05 Thread [EMAIL PROTECTED]
This is a xerces bug, see comments in for work around: http://jira.jboss.com/jira/browse/JBWS-686 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921716#3921716 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3921716 --