[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Dev and Prod deployment

2009-03-30 Thread DoubleDenim
"jaikiran" wrote : | | 1) Do you want both the dev and the prod application on the same server? If not, then you can host it on a separate dev system (which is the most common way for such things). | 2) Do you want them to be running simultaneously? | | I guess I want them on the s

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Dev and Prod deployment

2009-03-28 Thread DoubleDenim
I'm at the final stages of releasing an application built on JBoss AS. And I'm just researching the best way to switch from development to production. What I am thinking I will do is to have two seperately built WAR files, one for production, and one for deployment. And each of them have seperat

[jboss-user] [Performance Tuning] - Scaling issue

2008-11-15 Thread DoubleDenim
Hi, I have an application which consists of a servlet which talks to a stateless session bean. The problem i am having is that when i try to process more than one of these servlets in my browser, the application slows down by half or more, in fact the more web clients i have the slower it gets.

[jboss-user] [Beginners Corner] - Re: JBoss Cache

2008-11-06 Thread DoubleDenim
Hey there, I'm using the caching mechanism in jboss with persistent entities. If you have not already done so, it might be worth migrating your application to use ejb3's persistence. There are tools out there that will assist you with converting an existing db schema to ejb3/hibernate pojos. Fr

[jboss-user] [EJB/JBoss] - Brief Explanation of a few things.

2008-11-06 Thread DoubleDenim
Hi There, I have been spending quite a while developing an application using Jboss 4.x and I'm almost ready to go into production with it. It is a stateless session bean whos methods are invoked by a DWR application (servlet). When i've been testing it on my local I've noticed if i try to mak

[jboss-user] [EJB/JBoss] - Re: EJB3 and Entity Caching

2008-10-31 Thread DoubleDenim
I'm finding exactly the same problem. Does anyone know a solution to this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4185920#4185920 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4185920

[jboss-user] [EJB 3.0] - Re: constraint violation issue.

2007-11-12 Thread DoubleDenim
yep, that was my first guess. Which is when i included this: anonymous wrote : em.createQuery("update Session s SET s.sessionRate = :sessionRate WHERE s = :session").setParameter("sessionRate",null).setParameter("session",session).executeUpdate(); | | update session set session_rate_id=? wh

[jboss-user] [EJB 3.0] - Re: constraint violation issue.

2007-11-10 Thread DoubleDenim
OK, I've been trying to figure this one out for about a week now, and it seems I have tried everything to try and make sense what is going on. One thing that stands out that I don't quite understand is the following. To explain what is happening i'll describe the heirarchy of the methods in que

[jboss-user] [EJB 3.0] - Re: constraint violation issue.

2007-11-08 Thread DoubleDenim
Just going through that SQL output again. and theres a heap of question marks in the output. Any idea what that means? 19:52:25,390 INFO [STDOUT] Hibernate: update session set session_rate_id=? where session_id=? 19:52:25,390 WARN [FromElementType] Using non-qualified column reference [sessio

[jboss-user] [EJB 3.0] - Re: constraint violation issue.

2007-11-07 Thread DoubleDenim
Yeah, Session and SessionRate are both persistence objects. I used that flag to display SQL queries, but nothing seems to be in any odd order. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102498#4102498 Reply to the post : http://www.jboss.com/index.html?

[jboss-user] [EJB 3.0] - constraint violation issue.

2007-11-05 Thread DoubleDenim
I've been trying to solve this issue for a day now. And i think it pretty much comes down to a lack of understanding of the life cycle. I've got a session bean that calls a method on my persistence manager, passing it a persistence object called "session". this method goes through my session pe

[jboss-user] [JBossWS] - user error handling.

2007-02-02 Thread DoubleDenim
does anyone have any techniques for handling user errors with webservices? for example you have a web service that queries a database for records but no records are found (not a terribly good example, but lets pretend that no records could mean a number of different things).. do you use a webs