[jboss-user] [JBossCache] - Re: Hibernate/Cache conceptual mismatch

2006-10-11 Thread otaylor
When I've contrasted put() and update() I've been using the Hibernate cache terminology put() - cache fill (== putFromExternalRead()) - update - database change (== put()). I don't think a putFromExternalRead() would normally cause a dirty read, but one possible interpretation of Scott's

[jboss-user] [JBoss Portal] - Re: Window title

2006-10-11 Thread PeterJ
Do something like this: protected void doView(RenderRequest request, | RenderResponse response) throws PortletException, IOException{ | . . . | response.setTitle(The New Title); | . . . | } View the original post :

[jboss-user] [Beginners Corner] - current Instance of Maindeployer

2006-10-11 Thread editha
Hi! Is there a way to get the current instance of the MainDeployer? Thank you! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977565#3977565 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977565

[jboss-user] [JBossCache] - Re: Hibernate/Cache conceptual mismatch

2006-10-11 Thread [EMAIL PROTECTED]
otaylor wrote : | I don't know why the asynchronous replication of putFailFast() was added orginally, but my assumption is that it's about increasing concurrency and performance. Replicating cache fills synchronously doesn't increase correctness, so you might as well do it synchronously. |

[jboss-user] [JBossCache] - Re: Hibernate/Cache conceptual mismatch

2006-10-11 Thread [EMAIL PROTECTED]
Regarding SYNCH/ASYNCH, consider the following in conjunction with my psuedo code, I am being concerned with the notion of an intention lock throughout the cluster. Consider: 1) readFromCache() 2) recv replication of data 3) read from db (because #1 returned null) 4) put into cache To me #2

[jboss-user] [JBossCache] - Re: Hibernate/Cache conceptual mismatch

2006-10-11 Thread otaylor
unless the current data is write locked only works if you do have something like your Intention lock. (In my earlier post, I said I'd argue that get() needs to establish a hard read lock (even when the node isn't there, even if the isolation mode is READ_COMMITTED) that is upgraded to a write

[jboss-user] [JBossCache] - Re: Hibernate/Cache conceptual mismatch

2006-10-11 Thread otaylor
We aren't talking about asynchrously replicating real updates - those still replicate synchronously. But if #2 is the replication of another cache fill, then it simply doesn't matter when it happens. (Unless it overwrites a real update.) The asynchronous replicating of putFailFast has been in

[jboss-user] [Installation, Configuration Deployment] - jboss-3.2.6 Problem w/ConfiguringMultipleJBossInstancesOnOne

2006-10-11 Thread AndrewBoyd
Hi All, I believe I followed directions at http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfiguringMultipleJBossInstancesOnOneMachine But I'm still getting the following error when I start the second instance: --- | GMS: address is

[jboss-user] [Installation, Configuration Deployment] - Using JBossmq and Websphere MQ

2006-10-11 Thread wmorgan999
I have a vendor that has supplied software that uses jBoss to Send and receive Messages but we need to recieve those messages using IBM Websphere MQ and post them back via Websphere MQ. Is there a way to Configure jBoss (or MQ websphere) to establish a connection with eachother so that when

[jboss-user] [J2EE Design Patterns] - Re: Whats the best practice for managing Multilanguage suppo

2006-10-11 Thread Sicaine
Hm i hope my english is not to bad, if its a understanding problem please say it i can attempt to describe it better. Alternatively I'm lucky about a link or book tip View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977579#3977579 Reply to the post :

[jboss-user] [JBoss and NetBeans] - Re: Newbie Need Help :)

2006-10-11 Thread kylewburke
Networking isn't my strong suit but I do know that 1098 is an ephemeral port, which means that it is temporary, and only guaranteed to be available for the current connection. Sometimes chat apps like AIM, MSN or Yahoo and Firefox will temporarily/permanently bind to it. Kill these apps and

[jboss-user] [JBoss Portal] - isolating portal from others ear application

2006-10-11 Thread cpage
hello, i have a classloader issu when i deploy a jsf ear application and jboss portal. i saw in the wiki : http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration do i have to add this: anonymous wrote : jboss-app |loader-repository |dot.com:loader=unique-archive-name

[jboss-user] [JBoss Seam] - Re: Seam Next Release

2006-10-11 Thread [EMAIL PROTECTED]
There will be a beta release this month. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977582#3977582 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977582 ___ jboss-user mailing

[jboss-user] [JBoss Seam] - Re: SEAM and JBoss ESB

2006-10-11 Thread [EMAIL PROTECTED]
Currently Seam does not have any WS support. However, Seam/WS is coming very soon, and will be designed to work elegantly with JBoss ESB. The philosophy of Seam is not not re-build functionality when we can instead re-use. View the original post :

[jboss-user] [Installation, Configuration Deployment] - Re: jboss-3.2.6 Problem w/ConfiguringMultipleJBossInstancesO

2006-10-11 Thread AndrewBoyd
What about \jbossweb-tomcat50.sar\service.xml? here is an except: | Service name=jboss.web | className=org.jboss.web.tomcat.tc5.StandardService | | !-- A HTTP/1.1 Connector on port 8000 -- | Connector port=8000 address=${jboss.bind.address} |

[jboss-user] [JBossWS] - Problem migrating from old JBoss Webservice to new on

2006-10-11 Thread reinerka
Hi, we're having some trouble moving from the old style Webservice (as was present up to JBossAS 4.0.4RC1 to the new JBoss Webservice. We have an application that makes heavy use of the javax.xml.soap API. While the old AXIS based implementation did send correct messages the new one is giving

[jboss-user] [JBoss Portal] - Re: isolating portal from others ear application

2006-10-11 Thread cpage
ear-deployer : server |!-- EAR deployer, remove if you are not using ear deployments -- |mbean code=org.jboss.deployment.EARDeployer | name=jboss.j2ee:service=EARDeployer | !-- A flag indicating if ear deployments should have their own scoped | class loader to

[jboss-user] [JBoss Seam] - Re: no application context with latest seam version

2006-10-11 Thread [EMAIL PROTECTED]
AFAICT, more problems due to the stupid, fragile myfaces extensions disobeying the JSF lifecycle. Better to just not use that broken stuff. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977589#3977589 Reply to the post :

[jboss-user] [Installation, Configuration Deployment] - Re: Is the 4.0.4.GA org.jboss.varia.scheduler.Scheduler sing

2006-10-11 Thread fkhan
we are using JDK5, and aren't in the position to roll back to 1.4.2 maybe I have something configured wrong. We have a single SAR with a single jboss-service.xml (whose contents are below) in the META-INF directory of the SAR . At the top of the file we declare multiple non-scheduled

[jboss-user] [Installation, Configuration Deployment] - Re: Is the 4.0.4.GA org.jboss.varia.scheduler.Scheduler sing

2006-10-11 Thread fkhan
| ?xml version=1.0 encoding=UTF-8? | | server | | !-- devices -- |mbean code=com.ambientdevices.wine.devicetype.devices.Orb name=jboss:service=Orb | attribute name=DeviceNameorb/attribute | dependsjboss:service=Naming/depends |/mbean | |mbean

[jboss-user] [JBoss Seam] - Re: How can I create seam context etc in httpservlet

2006-10-11 Thread [EMAIL PROTECTED]
This is the right way. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977594#3977594 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977594 ___ jboss-user mailing list

[jboss-user] [Installation, Configuration Deployment] - Re: jboss-3.2.6 Problem w/ConfiguringMultipleJBossInstancesO

2006-10-11 Thread AndrewBoyd
I went ahead and changed my Connector port to 8100 on my second node and it works fine. Looks like the wiki needs an update. Thanks, Andrew View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977591#3977591 Reply to the post :

[jboss-user] [JBossCache] - Replication doesn't work even with the sample code provided

2006-10-11 Thread mitra123
Hi, I am having this problem and I am almost certain it is the environment which we currently are testing JBOSSCache but the issue is that we are not able to replicate the data from cache1 to cahce2. I have even reverted back into using the sample code that is included in the download

[jboss-user] [JBoss Seam] - Re: Problem with decrementing dates

2006-10-11 Thread [EMAIL PROTECTED]
http://jira.jboss.com/jira/browse/JBSEAM-405 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977592#3977592 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977592 ___ jboss-user

[jboss-user] [JBoss jBPM] - Re: Task Nodes - conditionally create tasks?

2006-10-11 Thread Olivier_Debels
anonymous wrote : Olivier_Debels wrote : And what if the task def is not defined in a task node? I don't think a ref to task defs is possible. | | | | Just wandering if the task/task node link as it exists now can' t be extended. | | Not sure if I follow you with this one. If a

[jboss-user] [JBoss Seam] - Re: Seam clustering

2006-10-11 Thread [EMAIL PROTECTED]
I mean to add some clarification to the docs on this. The use of CONVERSATION-scoped or SESSION-scoped Entity Bean Seam components is not considered truly cluster-safe. If you need to be cluster safe, hold the reference to the entity bean inside a stateful session bean (in any version of Seam)

[jboss-user] [Security JAAS/JBoss] - Re: EJB3 and remote client EJB access

2006-10-11 Thread dhartford
Also tested UsernamePasswordHandler with same server-side issue/remoting issue. Since my requirements need LDAP authentication, kinda stuck. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977597#3977597 Reply to the post :

[jboss-user] [JNDI/Naming/Network] - jndi look up for a web application

2006-10-11 Thread knotwithvenki
Hi, Iam developing one web application in springs using jboss4.0.2 as application server. In that i have to use jndi name of database configuration. Iam using EnterpriseDB(open source rdbms) database. So i built one xml file enterprise-ds.xml and placed in default/deploy folder.

[jboss-user] [JNDI/Naming/Network] - Re: ClassCastException after redeploy

2006-10-11 Thread ahachmann
Yes, that helped. Thank you. Does this mean, that I have to build different packages if I wish to deploy one of those Packages on a diferent Server? I hoped, that I could simply put this Package on a different Server and remap the JNDI Name to the remote object. But for this Situation there are

[jboss-user] [JNDI/Naming/Network] - Re: jndi look up for a web application

2006-10-11 Thread knotwithvenki
Sorry in the above file the as password tag is missing which should be there after user-name tag,so i am including that tag test Please help me ... Thanks, yvk View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977601#3977601 Reply to the post :

[jboss-user] [JNDI/Naming/Network] - Re: ClassCastException after redeploy

2006-10-11 Thread jaikiran
If you packaging your war inside the ear(which also includes the ejb jars), then the remote/home interfaces need not be in the war file, since the war is *part of the ear application* which contains the necessary interfaces. However if you want the war to be a separate archive(outside the ear),

[jboss-user] [Installation, Configuration Deployment] - Re: jboss-3.2.6 Problem w/ConfiguringMultipleJBossInstancesO

2006-10-11 Thread PeterJ
I think that some other software already had port 8000 open. You can use netstat to find that out. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977603#3977603 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977603

[jboss-user] [JBossCache] - Re: Replication doesn't work even with the sample code provi

2006-10-11 Thread [EMAIL PROTECTED]
Does JGroups work in the first place? See: http://www.jgroups.org/javagroupsnew/docs/newuser/node6.html and http://wiki.jboss.org/wiki/Wiki.jsp?page=JGroups View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977604#3977604 Reply to the post :

[jboss-user] [JNDI/Naming/Network] - Re: jndi look up for a web application

2006-10-11 Thread jaikiran
anonymous wrote : Iam calling this in my springs application with jndi name java:comp/env/EDBServer The datasource will be bound to java:/EDBServer. So you will have to use this jndi name View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977605#3977605 Reply

[jboss-user] [Installation, Configuration Deployment] - Question about running Patch Installer

2006-10-11 Thread arunasreeram
How can you tell which patch number (for example RC 9 ) does the latest Patch installer at http://labs.jboss.com/portal/jbosas/download include? I tried looking at the release notes as part of the installer's wizard and I couldn't tell. -A View the original post :

[jboss-user] [EJB 3.0] - List in EJB3 Entity:

2006-10-11 Thread adamcc
Hi all, Please forgive this newbie post - I have searched the forum and the tutorials/specification for an answer without success. I'm sure the solution must be something simple. I'm trying to make an entity that has a collection of objects as one of it's attributes: package

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - ERROR: invalid byte sequence for encoding UTF8: 0x00

2006-10-11 Thread dsailer
I am using EJB3/Hibernate in a query that gets the error in the subject line. The query is: + 19:39:06,199 INFO [JukeboxManagerEJB] looking for genre named 19:39:06,202 INFO [STDOUT] Hibernate: select genrepojo0_.genre_id as genre1_218_, genrepojo0_.name as name218_

[jboss-user] [JBossCache] - S3CacheLoader

2006-10-11 Thread nicpottier
If anybody is interested, I've written a cache loader for Amazon's S3. Just an experiment on my side and haven't spent much time playing with it, but it does pass CacheLoaderTestsBase. If anybody wants the source, send me a PM. It's nothing fabulous and is liberrally ripped from the S3

[jboss-user] [JBossCache] - MySQL replication and JBoss Cache Pattern

2006-10-11 Thread nicpottier
I'm trying to build a highly available and scalable simple store using JBoss Cache backed by mySQL and I can't help but get the feeling that I'm reinventing a wheel that has no doubt been built before. My requirements are: * high availability - a single box dying will not cause loss of data

[jboss-user] [Messaging, JMS JBossMQ] - Configuring JBossMQ with Tomcat

2006-10-11 Thread mr_aravinth
Hi, I want to configure JBossMQ with Tomcat as the project requirement needs it that way. Could any body assist me on how I should do this? I searched throught the internet for information, but I can't find even 1 link explaining about this. This is an urgent need for me. Any help will be

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-10-11 Thread shundavid
I'm getting the same errors as all you guys. I've downloaded the new seam-gen.zip file. I've unchecked the dependencies you said so. And still nothing! What's going on with you jboss people? neither this seam-gen nor the Reverse Engineer tool works. View the original post :

[jboss-user] [JBoss jBPM] - Re: sessions and forks

2006-10-11 Thread pedrosacosta
Hi Saviola, I've already saw this methods, but, let me rephrase the question. The problem is, i've the sibling tokens of the Fork, saved in the DB. The part of the workflow inside the fork may have different levels, and the sibling tokens can be pointing to different levels of the running

[jboss-user] [JBossCache] - Re: Hibernate/Cache conceptual mismatch

2006-10-11 Thread [EMAIL PROTECTED]
Yes, but as already well discussed and documented, putFailFast is and has always been a hack job ;) --- As I said, I have not yet had time to really think through all the various use cases for SYNCH vs ASYNCH of these putFromExternalRead() calls. In general, yes, all database writes result

[jboss-user] [Installation, Configuration Deployment] - Re: JBoss server can't be connected to from other machines b

2006-10-11 Thread JTeknoslacker
I am having the same problem.. THis didn't happen with 3.2.3 I have tried changing the hostname in the server configuration, but that doesn't work. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977628#3977628 Reply to the post :

[jboss-user] [JBossWS] - Re: JSR 181 JBoss 4.0.4

2006-10-11 Thread ax666
I'm having a similar issue. Whatever throws I declare in the @WebMethod, if it's a custom exception or just Throwable, it deploys fine, but I can't create a webservice client from the wsdl because it says The part 'Throwable' has an invalid value 'Throwable' defined for this element. I'm using

[jboss-user] [Messaging, JMS JBossMQ] - Re: Weird behavior with ping timeouts

2006-10-11 Thread lgirault
Hello, did you manage to fix your problem ? I am exactly in the same situation: No pong received If you get any chance fixing this issue please let me know. Thank you View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977634#3977634 Reply to the post :

[jboss-user] [Messaging, JMS JBossMQ] - Re: Weird behavior with ping timeouts

2006-10-11 Thread smithmb
Hi, Not yet, unfortunately. We've observed that it seems to clear up if we deploy on a Linux server. It seems to be specific with 4.0.4 (It didn't happen with 4.0.1). I inherited the issue on a Windows server, and we're now moving to redeploy on Linux. I did discover that the timeouts often

[jboss-user] [JBoss Messaging] - JBoss Messaging with Tomcat

2006-10-11 Thread mr_aravinth
Hi, I need to communicate between JBoss Tomcat using JMS. But the project needs the Tomcat to be the JMS message server (ie. Message sender) and JBoss as the message client (ie. Message receiver). This requires me to configure the ConnectionFactories and other stuffs in Tomcat server instead

[jboss-user] [Security JAAS/JBoss] - JAAS/LDAP Roles configuration pulls superset instead of filt

2006-10-11 Thread sarahm
I am having a strange error with what should be a simple configuration. I am able to authenticate off LDAP, but the role list received is not the one I expect. I have the following config (with my actual domain, etc): login-config.xml |application-policy name=testLDAP |

[jboss-user] [JBoss Seam] - Re: Eclipse Getting Started Guide

2006-10-11 Thread [EMAIL PROTECTED]
japplicoon wrote : I now started the n-th trial (I'm quite quick now ;-) with jboss-seam.jar in server/default/lib. sample did not work because parse errors with processflow config files, but I got the blank app deployed successfully. | The start page came up, ok. But I had to again add the

[jboss-user] [JBoss Messaging] - java.lang.ClassCastException: org.jboss.messaging.core.plugi

2006-10-11 Thread jgilbert
I'm trying to configure a Topic in a cluster. I have configured ports-01 and ports-02. If either server is started first then it successfully starts. And I can publish messages to my topic on the first server. However, the 2nd server fails with the following exception. Am I doing something

[jboss-user] [JBossCache] - Re: Replication doesn't work even with the sample code provi

2006-10-11 Thread mitra123
Hi, jgroups.jar is by default included in the \lib of jbosscache download and it is included in the class path of the project I am running. Is this enough? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977640#3977640 Reply to the post :

[jboss-user] [Security JAAS/JBoss] - Re: Help with Logout

2006-10-11 Thread jmcollin92
So the solution is to have a logout result page with a link to go back to the main page on user action and not to forward directly on the main page. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977641#3977641 Reply to the post :

[jboss-user] [Security JAAS/JBoss] - Re: Can't get access right from Java Client

2006-10-11 Thread jmcollin92
Is my question stupid or is there any solution ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977642#3977642 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977642 ___ jboss-user

[jboss-user] [Installation, Configuration Deployment] - Some friendly advice

2006-10-11 Thread redsea
In the past few weeks I have been evaluating application servers. Within a minutes time I can start tomcat, sun app server or jboss server. One of the qualities that I am looking for in a serve is a write once drop anywhere kind of quality. By this I mean, if I write a web app(let say) using

[jboss-user] [JBoss Messaging] - Re: java.lang.ClassCastException: org.jboss.messaging.core.p

2006-10-11 Thread timfox
I fixed something that looks similar to this in alpha 2, due out very shortly. I'm trying to remember the circumanstances under which this happens. Did you manage to run the clustered topic example ok? View the original post :

[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: URL problems using Apache, JBoss, mod_jk

2006-10-11 Thread rcjboss
This is something that you need to tell JBoss/Tomcat using the jboss-wex.xml. Follow my response for the post: http://www.jboss.com/index.html?module=bbop=viewtopict=91886 You have the same situation. View the original post :

[jboss-user] [JBoss Messaging] - Re: java.lang.ClassCastException: org.jboss.messaging.core.p

2006-10-11 Thread timfox
Are you using durable subscriptions? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977650#3977650 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977650 ___ jboss-user mailing

[jboss-user] [JBoss Portal] - Re: UserImpl needs to implement serializable??

2006-10-11 Thread neumann347
Resolved the problem and just for completeness am posting the cause. This was a user error. (Surprise!) There were 2 problems: 1) I was using the wrong method for my search. I was using query.setParameter with a list as on object. It works a lot better with using query.setParameterList. This

[jboss-user] [Installation, Configuration Deployment] - Re: JBoss 4.0.4GA and JAXB

2006-10-11 Thread frommta
Hi, Just checking if this is the same issue that I am facing with JBOSS 4.0.4 and JAXB2.0. Let me know. I am getting this exception while creating JAXBContext. xml.bind is J2EE lib require jaxb.properties, whereas one in JAXB2.0 do not need one. 2006-10-11 11:46:32,049 ERROR [STDERR] Caused

[jboss-user] [JBoss Messaging] - Re: java.lang.ClassCastException: org.jboss.messaging.core.p

2006-10-11 Thread jgilbert
At the moment I am not using Durable because I get an error that a clientID is required. When I add the clientID to the activationSpec I get an error that it is not a valid property. I'll try again. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977653#3977653

[jboss-user] [Installation, Configuration Deployment] - Unrecognized DTD problem in JBoss-4.0.4.GA

2006-10-11 Thread moon1805
Hi, I have an application where in I have my local copies of dtd files inside an ear. The problem is whenever I try to validate my xml it gives me an error saying unrecognized dtds. I was trying a work-around and trying to put some entries in the xmlresolver-service.xml, but could not

[jboss-user] [JBoss Messaging] - Re: java.lang.ClassCastException: org.jboss.messaging.core.p

2006-10-11 Thread jgilbert
OK. I made the subscriptions Durable. I had to use clientId instead of clientID. I still get the original exception on the 2nd server. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977659#3977659 Reply to the post :

[jboss-user] [JBossCache] - Re: Replication doesn't work even with the sample code provi

2006-10-11 Thread [EMAIL PROTECTED]
Has the MyObject class been instrumented (aka aspectized) for use in PojoCache? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977660#3977660 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977660

[jboss-user] [JBoss jBPM] - Re: Problems with conditions in transactions

2006-10-11 Thread michaelholtzman
The conditional expression must be written in the jBPM Expression Language, not as a BeanShell (java) snippet as you are doing. See the documentation on decision nodes. There have been a number of examples posted in this forum. View the original post :

[jboss-user] [JBossCache] - Re: JBoss Cache with Hibernate

2006-10-11 Thread [EMAIL PROTECTED]
Configure Hibernate to use JBC as the 2nd level cache -- see http://www.hibernate.org/hib_docs/v3/reference/en/html/performance.html#performance-cache The configuration file for JBoss Cache needs to be named treecache-service.xml and needs to be on the classpath visible to Hibernate. Hibernate

[jboss-user] [EJB 3.0] - Tables of database deleted when undeploying

2006-10-11 Thread ataud
I create a database in MySQL (4.0.20) I create PERSON table I develop the coreesponding Entity @Entity @Table(name = PERSON) public class PersonEntity implements Serializable { ... } I deploy the jar and test the creation : ... entityManager.persist(personEntity); ... It works. But when I

[jboss-user] [JBoss jBPM] - Re: Task Nodes - conditionally create tasks?

2006-10-11 Thread [EMAIL PROTECTED]
didn't read the whole thread. sorry if i duplicate an answer. ...but did you consider defining the tasks in the task-node and specify create-tasks=false on the task node ? that way, can still fetch the task definitions and create instances at runtime and you have the link to the task-node.

[jboss-user] [JBoss jBPM] - Re: Problem with a fork

2006-10-11 Thread [EMAIL PROTECTED]
did you try a 'fork' node ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977666#3977666 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977666 ___ jboss-user mailing list

[jboss-user] [JBoss jBPM] - Re: Handling databases through jBPM

2006-10-11 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmDbCompatibility http://prdownloads.sourceforge.net/jbpm/jbpm-db-3.1.2.zip?download View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977667#3977667 Reply to the post :

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Problem with Row Locking

2006-10-11 Thread alexdemoraes
Hello, I am facing a problem with row-locking. I have an application running in two machines (jboss4.0.3sp1), sending emails. Both read an Oracle DB and start to send mail. I set the row-locking property True, and checked the log to see if they are generating Select for Update code. They are

[jboss-user] [JBoss Messaging] - Re: java.lang.ClassCastException: org.jboss.messaging.core.p

2006-10-11 Thread jgilbert
I haven't solved it yet, but a pattern is emerging. I removed the definition of my topic and decided to try the testDistributedTopic defined in the jboss messaging sar. This one also fails with the same exception on the 2nd server. So it looks like it has something to do with the last topic or

[jboss-user] [EJB 3.0] - Re: Tables of database deleted when undeploying

2006-10-11 Thread jc7442
Check your persistence.xml, you probably have the create-drop option View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977670#3977670 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977670

[jboss-user] [JBoss Seam] - Perf testing long running transactions

2006-10-11 Thread asachde
Has anyone used Hyades or other open source tools to test long running transactions (Page flow)? I am having trouble getting the conversation ID resent to subsequent transactions. Maybe this belongs more in the tool's forum but figured I'd check to see if anyone has done performance testing on

[jboss-user] [JBoss Seam] - Seam and maven projects

2006-10-11 Thread dhartford
I'm trying to find some resources on maven-built Seam web applications. I came across some stuff in the jboss-seam-tools package, but only in CVS org/jboss/seam/tools/output/maven/MavenWebProject.java What is the status of this and how can I get started evaluating/playing around with this?

[jboss-user] [JBossCache] - Re: Urgent- Socket error when adding object to DB using JDBC

2006-10-11 Thread malek256
Agreed - however we are doing limited, time-bound feasibility studies of many competing combinatorials in order to see if we should make a recommendation for a specific direction. If this is the direction we take, a connection pool is mandatory - but likely would be the job of the container /

[jboss-user] [EJB 3.0] - Re: @Service POJO referencing a Session Bean

2006-10-11 Thread jc7442
Use @Stateless or @Stateful annotations There is basic samples in the tutorial View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977673#3977673 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977673

[jboss-user] [JBossCache] - Re: Replication doesn't work even with the sample code provi

2006-10-11 Thread malek256
I can check - but can you explain why that would allow for communication after a remove/put and when the cache is created but not when it is altered? Does the aspectizing insert hooks within the get/sets for triggers? I apologize for asking what's probably an obvious question - I am learning

[jboss-user] [EJB 3.0] - Bug in SecurityAssociation(?) - EJB3 MDB Calls a SLSB which

2006-10-11 Thread sappenin
I'm having trouble calling a secured SLSB (Stateless Session Bean) from an MDB (Message Driven Bean), and am wondering if I have discovered a bug, or if what I am encountering is the intended usage by design. I posted something over on the JAAS forum, and am cross-posting to the EJB3 forum

[jboss-user] [JBoss jBPM] - Re: Task Nodes - conditionally create tasks?

2006-10-11 Thread cpob
[EMAIL PROTECTED] wrote : didn't read the whole thread. sorry if i duplicate an answer. | | ...but did you consider defining the tasks in the task-node and specify create-tasks=false on the task node ? that way, can still fetch the task definitions and create instances at runtime and

[jboss-user] [JBoss Messaging] - Re: java.lang.ClassCastException: org.jboss.messaging.core.p

2006-10-11 Thread timfox
Can you try stopping both servers and deleting your topic from the database (jms_postoffice table), then restarting both servers and seeing if they start this time? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977680#3977680 Reply to the post :

[jboss-user] [JBoss Seam] - Re: no application context with latest seam version

2006-10-11 Thread codelion
The warning is not to use the Tomahawk extension of MyFaces? Right? It is ok to use MyFaces? Right? We actually are using MyFaces 1.1.4. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977682#3977682 Reply to the post :

[jboss-user] [Installation, Configuration Deployment] - could not make connection to the server

2006-10-11 Thread Mellman99
When I start jboss I get the following error: 16:24:56,436 ERROR [IpcConnection] Could not make connection to the server. Hostisd-portal/HostPort5400/PortTimeout2/Timeout | 16:24:56,445 ERROR [PoolManager] com.appiancorp.asl3.runtimefw.rta.ipc.TcpException: java.net.ConnectException:

[jboss-user] [JBoss Messaging] - Re: java.lang.ClassCastException: org.jboss.messaging.core.p

2006-10-11 Thread jgilbert
rock on! that was it! now my 2 servers are properly sharing the load of the messages published to the topic! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977685#3977685 Reply to the post :

[jboss-user] [Installation, Configuration Deployment] - Getting properties to evaluate

2006-10-11 Thread AndrewBoyd
Hi All, How do I get something like | mercury.incoming.directory=${jboss.server.home.dir}/farm/incoming | to evaluate the ${jboss.server.home.dir} ? I have a mercury.properties file that I keep in MyServer/conf that has the above property setting. However, when I start up jboss my

[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: EJBS in Web Applilcations

2006-10-11 Thread meselfe
EJB works great with web apps. What do you mean internal application? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977690#3977690 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977690

[jboss-user] [JBoss Seam] - one method ending conversation or not

2006-10-11 Thread codelion
Let's say I have an action method @End | public String submit() { | } and let's say there is logic in it by which normally I am done with the conversation, but in one case I want to stay in the conversation (e.g. go back to a page to fix up information) and traditional validation can't

[jboss-user] [JBoss Messaging] - Re: java.lang.ClassCastException: org.jboss.messaging.core.p

2006-10-11 Thread jgilbert
One more thing. I appears that I have to delete the entries from the table every time. For example, I had my 2 servers running and killed one in the middle of a test to see the messages fail over to the other server. they did, but i couldn't restart the server. i had to bring both down, delete

[jboss-user] [JBossWS] - Re: How to create Cutom SoapException

2006-10-11 Thread maeste
I'm not sure to understand your problem. If you are using jsr181 you can simply throws a CustomException extending Exception to get a custom soapFault. Of course you can fill message attribute of your CustomException as you like. If you are using jsr109 it's not too harder. Take a look to

[jboss-user] [JBossCache] - Re: Replication doesn't work even with the sample code provi

2006-10-11 Thread malek256
Thanks for the explanation - I do see the content within the jboss-aop.xml file, so this should be functional. 'myObject' is a contrived example for illustration - in fact, we are using code based upon the sample PojoCache which uses the Student, Person, Course, etc. Without the remove(), the

[jboss-user] [JBossWS] - Re: virtually hosting a webservice

2006-10-11 Thread maeste
I think your problem will be solved in jbossws-1.0.4 resolving JBWS-1178. For a complete description of what I mean take a look to jira or to my blog: http://www.javalinux.it/blogs/index.php?title=multiple_virtual_host_and_soap_address_pmore=1c=1tb=1pb=1 View the original post :

[jboss-user] [JBoss Messaging] - Re: java.lang.ClassCastException: org.jboss.messaging.core.p

2006-10-11 Thread timfox
Right. I think this is a bug I have fixed in in TRUNK and will be in alpha2, out sometime next week probably. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977699#3977699 Reply to the post :

[jboss-user] [JBossCache] - Re: Replication doesn't work even with the sample code provi

2006-10-11 Thread [EMAIL PROTECTED]
Having a jboss-aop.xml file isn't enough; you have to aspectize your classes. The readme.txt files in the examples discuss how to do this. I'll bug Ben Wang about the need to call removeObject() before a second putObject() if you haven't aspectized the class -- shouldn't be that way. View the

[jboss-user] [Beginners Corner] - MainDeployer: Could not make local copy for ...

2006-10-11 Thread editha
When I call the deploy(url) method of the MainDeployer, I always get the following error: Could not make copy for file:/c:/test.war What could be the reasons for this error? My url looks like this: file:/c:/test.war Could the url be the problem? View the original post :

[jboss-user] [JBoss Eclipse IDE (users)] - Re: create a simple EJB 3.0 application

2006-10-11 Thread weiming
Hi Rob I just simply followed install guide http://docs.jboss.com/jbosside/install/build/en/html/installation.html to install JBoss IDE 1.6 GA from Eclipse. And I know that if I need to run 1.6 version with Eclipse 3.2, I need a patch http://jira.jboss.com/jira/browse/JBIDE-295. Now I am

[jboss-user] [JBoss Seam] - Re: Perf testing long running transactions

2006-10-11 Thread asachde
Short of getting a generator working I opened 5 browser windows for a simple application that uses security (modified CVS code) and forwards to a page from where other pageflows are to be launched. The login process does not have a pageflow. Randomly I get the following exception on the console

[jboss-user] [JBoss Eclipse IDE (users)] - JBoss Eclipse IDE Tutorial

2006-10-11 Thread weiming
Hi there I am new to JBoss EJB IDE, and trying to create an EJB3 application following JBoss Eclipse IDE Tutorial. However, I am stuckat Chapter 5, as when I click XDoclet Configurations, system says The currently displayed page contains invalid values. My only guess is that error is caused

[jboss-user] [EJB 3.0] - Re: caching onetomany relation

2006-10-11 Thread laszlo.fogas
sorry for answering late: as far as I know there's no way to access treecache through the hibernate entitymanager. Maybe with a JNDI lookup you can get the underlaying MBean. But there's a solution: cast the entitymanager to hibernate session and something like this: anonymous wrote : |

[jboss-user] [JBoss Seam] - Re: Perf testing long running transactions

2006-10-11 Thread [EMAIL PROTECTED]
I believe that this is a bug that is now fixed in CVS. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977707#3977707 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977707 ___

[jboss-user] [JBossWS] - Re: virtually hosting a webservice

2006-10-11 Thread g.tomassoni
maeste wrote : I think your problem will be solved in jbossws-1.0.4 resolving JBWS-1178. Mmmh, I'm not shure that is going to solve my problem. What I'm looking for is a way to publish the JSR-181-complian EJB3 WS services (EJBs with WS annotations) packaged on an .ejb3 archive all on a

<    1   2   3   >