[JBoss-user] org.jboss.mq.SpyJMSException: Cannot process a transaction

2004-04-14 Thread Phil Shrimpton
Hi, Any body got any clues on 'org.jboss.mq.SpyJMSException: Cannot process a transaction' errors? I am using Jboss 3.2.3 with 'out the box' JMS configurtion. Stack trace... 004-04-14 01:06:19,650 ERROR [STDERR] java.lang.ClassCastException 2004-04-14 01:06:19,650 ERROR [STDERR]   at org.hsqld

[JBoss-user] Handling Database failures

2004-02-12 Thread Phil Shrimpton
Hi, I have recently deployed a system in production (Jboss 3.2.3), and the Database (server) that is being used is less than reliable, and often goes offline without warning. When the DB goes offline, a couple of things happen to my system. Firstly, I get MB of stack traces in the log which co

Re: [JBoss-user] Does any JBuilder plug-in generate correct CMP/CMR code for JBoss ? Please help

2003-11-27 Thread Phil Shrimpton
On Friday 28 November 2003 00:25, Sasidharan, Manoj wrote: Hi, > Has anyone used JBuilder to generate CMP/CMR relationships using JBoss > plug-in? Yes. > Could you please let me know which plug-in was used. I use the Voyager open tool (on sourceforge) > We have an urgent requirement to port o

Re: [JBoss-user] Caching issue?

2003-11-19 Thread Phil Shrimpton
On Tuesday 18 November 2003 15:57, Alexey Loubyansky wrote: Hi, > >>Then the problem might occur when clients access *different* orders > >>which share items. The call order.getItems() can be performed at the > >>same time for both clients (w/o locking) as orders are different. But > >>when a sha

Re: [JBoss-user] Caching issue?

2003-11-18 Thread Phil Shrimpton
On Tuesday 18 November 2003 14:58, Alexey Loubyansky wrote: Hi, > >>Are the clients accessing different orders which have common items? And > >>then one of the common items is removed? > > > > Yes, they could also be accessing the same 'order' and (with the same > > the same items) > > Then the

Re: [JBoss-user] Caching issue?

2003-11-18 Thread Phil Shrimpton
On Tuesday 18 November 2003 14:30, Alexey Loubyansky wrote: Hi, > >>Under option A, it does the getItems() against the db. > >>But the actual iteration/load is done against the cache. > > > > Just to make sure I understand, with Commit A the finder is querying the > > DB, which contains a 'record

Re: [JBoss-user] Caching issue?

2003-11-17 Thread Phil Shrimpton
On Friday 14 November 2003 09:15, Adrian Brock wrote: Hi, > > JBoss 3.2.2, Commit Option A... > > > > I have a SLSB method something like... > > > > public void doSomething(){ > > Collection c = OrdersEJB.getItems(); > > > > > > } > > > > If these method is called at the same time b

[JBoss-user] Caching issue?

2003-11-13 Thread Phil Shrimpton
Hi, I have an issue that I want to understand before I try and fix it... JBoss 3.2.2, Commit Option A... I have a SLSB method something like... public void doSomething(){ Collection c = OrdersEJB.getItems(); } If these method is called at the same time by two different clients, t

Re: [JBoss-user] 3.2.3RC1 available

2003-11-12 Thread Phil Shrimpton
On Wednesday 12 November 2003 04:15, Scott M Stark wrote: Hi, > Dec 1 is the target date. Super, thanks Phil -- 9:13am up 64 days, 11:23, 1 user, load average: 0.43, 0.28, 0.19 ICQ: 760757 | AIM: pjshrimpton | Y!: pjshrimpton | [EMAIL PROTECTED]

Re: [JBoss-user] 3.2.3RC1 available

2003-11-11 Thread Phil Shrimpton
On Tuesday 11 November 2003 17:29, Scott M Stark wrote: Hi, > The 3.2.3RC1 release is available from sourceforge here: Thnaks. This fixes both my issues with 3.2.2. Anyone want to make a finger in the air guess as to the final 3.2.3 release? Phil -- 11:57pm up 64 days, 2:07, 1 user, loa

Re: [JBoss-user] Commit Option Confusion

2003-11-07 Thread Phil Shrimpton
On Thursday 06 November 2003 22:51, Bill Burke wrote: Hi, > > As this app 'owns' its own database and the DB is not that quick, I > > though that changing from the default commit option B to A should give me > > some improvements, but seems to make no difference. > > Are you doing a lot of finder

[JBoss-user] Commit Option Confusion

2003-11-06 Thread Phil Shrimpton
Hi, I am tuning an app before deployment on 3.2.2. As this app 'owns' its own database and the DB is not that quick, I though that changing from the default commit option B to A should give me some improvements, but seems to make no difference. My tests complete in the same time with both opti

Re: [JBoss-user] 3.2.2 : Incorrect SQL generation

2003-10-28 Thread Phil Shrimpton
On Tuesday 28 October 2003 18:40, Alexey Loubyansky wrote: Alex > > Beacuse the detail tables are listed in the FROM clause of the SQL, > > the Joins should always be done or all records from the detail tables > > will be returned regardless of if they have a 'match' in the master table > > or no

Re: [JBoss-user] 3.2.2 : Incorrect SQL generation

2003-10-28 Thread Phil Shrimpton
On Tuesday 28 October 2003 15:16, Alexey Loubyansky wrote: Alex > >> >> > o.contact.surnameUpper = ?2 OR o.vehicle.registrationNumber = ?3 > >> > >>in English. > >> > >>My interpretation is "select all o that have contact with surname ?2 OR > >>have vehicle with registration number ?3" > >>Note,

Re: [JBoss-user] 3.2.2 : Incorrect SQL generation

2003-10-28 Thread Phil Shrimpton
On Tuesday 28 October 2003 10:13, Alexey Loubyansky wrote: Hi, > >>I think, the join should be done per the term, i.e. this way: > >> > >>(contact.SURNAME_UPPER = ? AND o.CONTACT_ID=contact.ID) > >>OR (vehicle.REGNUMBER = ? AND o.VEHICLE_ID=vehicle.ID) > > > > The problem with this, is the join

Re: [JBoss-user] 3.2.2 : Incorrect SQL generation

2003-10-27 Thread Phil Shrimpton
On Friday 24 October 2003 10:50, Alexey Loubyansky wrote: Hi, > as for me, 3.0.8 is wrong and 3.2.2 is correct. Interesting, especially as another app server (Borland's) generates the same SQL as 3.0.8 > Since you use OR between the terms > > > o.contact.surnameUpper = ?2 OR o.vehicle.registr

[JBoss-user] 3.2.2 : Incorrect SQL generation

2003-10-24 Thread Phil Shrimpton
Hi, Consider this EJB-QL.. SELECT OBJECT(o) FROM BaseTask AS o WHERE o.callID = ?1 OR o.contact.surnameUpper = ?2 OR o.vehicle.registrationNumber = ?3 OR o.orderNumber = ?4 OR o.address.postCode = ?5 In Jboss 3.0.8, the following SQL is generated... SELECT t0_o.CALL_ID FROM TASKS_BASE t0_o, TAS

Re: [JBoss-user] 3.2.2 : Null primary key on create

2003-10-22 Thread Phil Shrimpton
On Tuesday 21 October 2003 11:11, Alexey Loubyansky wrote: Hi, > The latest 3.2.2? Yes, the released version. > How could I reproduce it? With my code Seriously, I am not sure how to get a small test case together, because the same code works on 30 or so entity beans, its just the one tha

Re: [JBoss-user] 3.2.2 : Null primary key on create

2003-10-21 Thread Phil Shrimpton
On Tuesday 21 October 2003 14:15, Jason Essington wrote: Hi, > Just out of curiosity, how many fields are in your entity bean? 87 > Alexey indicated (on October 10) that the CMP engine currently had a > limit of 64 columns, but that he was working on a fix. If that has not been fixed, that cou

[JBoss-user] 3.2.2 : Null primary key on create

2003-10-20 Thread Phil Shrimpton
Hi, I have an application that works fine on 3.0.8 and 3.2.1, but on 3.2.2 I get the following error with one of my entity beans, any ideas? 2003-10-20 14:34:36,972 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackLocalException in method: public abstract com.mycompany.ejb.task

Re: [JBoss-user] 3.0.x -> 3.2.x : Couldn't create entity command

2003-10-17 Thread Phil Shrimpton
On Friday 17 October 2003 11:56, Alexey Loubyansky wrote: Hi, > How do you specify what entity-command to use? Do you use > standardjbosscmp-jdbc.xml file from 3.0.x with 3.2.2? Thanks, that was the clue I needed. I had accidently deleted the create-entity command when I removed the (unwanted)

Re: [JBoss-user] 3.0.x -> 3.2.x : Couldn't create entity command

2003-10-17 Thread Phil Shrimpton
On Friday 17 October 2003 10:31, Alexey Loubyansky wrote: Hi, > What are the DDs for the failing beans? Any bits in particular, as they total about 200Kb, so don't want to post them to the list Phil -- 10:45am up 38 days, 12:55, 1 user, load average: 0.60, 0.19, 0.12 ICQ: 760757 | AIM: pj

Re: [JBoss-user] 3.0.x -> 3.2.x : Couldn't create entity command

2003-10-16 Thread Phil Shrimpton
On Thursday 16 October 2003 22:00, Bill Burke wrote: Hi, > What version of 3.2.x. Both 3.2.1 and 3.2.2RC4 Phil -- 10:15pm up 38 days, 25 min, 1 user, load average: 0.12, 0.09, 0.09 ICQ: 760757 | AIM: pjshrimpton | Y!: pjshrimpton | [EMAIL PROTECTED] --

[JBoss-user] 3.0.x -> 3.2.x : Couldn't create entity command

2003-10-16 Thread Phil Shrimpton
Hi, I have an existing system that works fin on JBoss 3.0.x, and am in the process of moving it to the 3.2.x version. The system consists of about 40 EJB's (mainly entity), and all but three of them deploy fine, with the error being 'Couldn't create entity command'. Anyone have any ideas? lo

[JBoss-user] Handling Deadlocks

2003-09-12 Thread Phil Shrimpton
Hi, I have a method in a stateless session bean that basically gets a list of entity beans, and does something with the first one in the list. If two clients call this method at the same time, the one that calls the method 'last', gets an Application deadlock as they have both got the same ent

[JBoss-user] Synchronize method in SLSB

2003-09-05 Thread Phil Shrimpton
Hi, I need to Synchronize access to a couple of methods in a stateless session bean so that method can only be called by a single 'client' at once. I have read a 101 ways of doing it from setting the 'pool' size for that bean to 1 so all clients use the same instance, to using a stateful sessi

Re: [JBoss-user] Re: Jetty vs Tomcat

2003-08-14 Thread Phil Shrimpton
On Thursday 07 August 2003 18:08, Rod Macpherson wrote: Hi, > That's two (count 'em) votes for precompiled JSPs being integrated! You can add another 1 to that. An MBean would be good. > Definitely a big bonus in terms of speeding up the development cycle > because we have hundreds of pages. I

Re: [JBoss-user] Recent CVS removals

2003-08-09 Thread Phil Shrimpton
On Wednesday 06 August 2003 23:53, Brian Wallis wrote: Hi, > > http://sourceforge.net/projects/elba > > I had a look (at one randomly selected file) and it is a direct copy with > the line "JBoss, the OpenSource EJB server" removed from the top. I had a look at a (random) file, and the author wa

Re: [JBoss-user] Scheduler MBean

2003-07-19 Thread Phil Shrimpton
On Friday 18 July 2003 21:56, Phil Shrimpton wrote: Hi, > What I am trying at the moment is milliseconds past 1st July 1am, which > should exclude the date format altogether This worked. Phil -- 11:33am up 94 days, 25 min, 1 user, load average: 1.20, 1.11, 1.08 ICQ:

Re: [JBoss-user] Scheduler MBean

2003-07-18 Thread Phil Shrimpton
On Friday 18 July 2003 17:36, Scott M Stark wrote: Hi, > This will work, but you do get drift, there is no correction for daylight > savings, leap year, support for holidays, etc. Not worried about slippage, unless it is hours I just need something to run, after midnight, and before people g

Re: [JBoss-user] Scheduler MBean

2003-07-18 Thread Phil Shrimpton
On Friday 18 July 2003 14:23, Brian Wallis wrote: Hi, > > Does not seem to. 'NOW' + 8640 works every 24 hours from when I > > start it, but I can't seem to get it to work if I enter a date/time value > > And you don't get any errors in the log? No, but I do if I enter an incorrect date for

Re: [JBoss-user] Re: Scheduler MBean

2003-07-18 Thread Phil Shrimpton
On Friday 18 July 2003 14:29, Eric Jain wrote: Hi, > I ran into the same problem recently. While scheduling within 24 h > cycles seems to be possible, more complex constraints such as 'every > Friday evening' don't seem to be possible. I only need the every 24hr at the moment. > There is an op

Re: [JBoss-user] Scheduler MBean

2003-07-18 Thread Phil Shrimpton
On Friday 18 July 2003 12:52, [EMAIL PROTECTED] wrote: Hi, > I don't know the answer to your question! But if there is no answer, > you could use an algorithm such as the following.. [snip] Thanks, thats my backup plan, but I am sure there must be a 'proper' way to do it. Phil -- 1:22pm

Re: [JBoss-user] Scheduler MBean

2003-07-18 Thread Phil Shrimpton
On Friday 18 July 2003 13:09, Brian Wallis wrote: Hi, > > I have implemented a schedualed MBean, and all works fine, I can get it > > 'triggering' every minute, every 10 etc., but I need it to 'trigger' at > > 1am every day, and can't find the correct combination of attributes. > > Doesn't someth

[JBoss-user] Scheduler MBean

2003-07-18 Thread Phil Shrimpton
Hi, I have implemented a schedualed MBean, and all works fine, I can get it 'triggering' every minute, every 10 etc., but I need it to 'trigger' at 1am every day, and can't find the correct combination of attributes. Has anyone got any ideas on the best values for.. InitialStartDate SchedulePe

Re: [JBoss-user] MBean : Persiting attributes

2003-06-14 Thread Phil Shrimpton
On Friday 13 June 2003 15:35, Scott M Stark wrote: Scott, > > Is there anyway to automatically update attribute values in the > > xxx-service.xml file for an MBean when changes are made via jmx-console > > and other tools, so there are preserved after a restart, > > You have to use an xmbean, the

[JBoss-user] MBean : Persiting attributes

2003-06-12 Thread Phil Shrimpton
Hi, Is there anyway to automatically update attribute values in the xxx-service.xml file for an MBean when changes are made via jmx-console and other tools, so there are preserved after a restart, or is this something I have to do myself? Cheers Phil -- 6:44pm up 57 days, 7:37, 1 user,

Re: [JBoss-user] MBeans and EJB's

2003-06-12 Thread Phil Shrimpton
On Wednesday 11 June 2003 23:57, Bob Cotton wrote: Hi, > Phil> Hi, I have a problem, and the solution seems to be an MBean, > Phil> but I need to call/use both remote and local EJB's (SLS). > > Phil> It works, as I have tried it, but should I be doing it? > > Sure, why not? Did not t

[JBoss-user] MBeans and EJB's

2003-06-11 Thread Phil Shrimpton
Hi, I have a problem, and the solution seems to be an MBean, but I need to call/use both remote and local EJB's (SLS). Now I have a couple of JMX books, a number of JMX articles, but none of them contain an example of using/calling EJB's within an MBean. It works, as I have tried it, but shou

Re: [JBoss-user] Jboss handbooks

2003-01-21 Thread Phil Shrimpton
On Tuesday 21 January 2003 14:03, Bill Burke wrote: Hi, > The Official JBoss documentation goes definately in large detail into the > JBoss internals, sure... > If you want a beginners guide, we offer a Getting Started > guide for free available for download at SourceForge. > > Your comments

Re: [JBoss-user] Jbuilder integration question...

2003-01-14 Thread Phil Shrimpton
On Tuesday 14 January 2003 06:03, you wrote: Hi, > Well, I installed the JBoss OpenTool, and it seems that the contents of > my ejb jar are now gone (not the source code, thankfully - just the IDE > representation and the descriptors.) The Open tool generates all the those files for you, you nev

Re: [JBoss-user] jbuilder 7 and jboss3.0.4

2002-12-02 Thread Phil Shrimpton
On Monday 02 December 2002 18:02, you wrote: Hi, > We are using JBuilder 7 and jboss 3.0.2 together. Someone else mentioned > the protegra plugin, which we tried at one time, but we settled on the > JBoss Opentool, which is an open source equivalent. Here is a link to it: > http://sourceforge.n

Re: [JBoss-user] Firebird XML fails to deploy

2002-11-22 Thread Phil Shrimpton
On Friday 22 November 2002 21:10, you wrote: Hi, > I am trying to get JBoss 3.0.4 to talk to Firebird 1.0. > > 14:39:34,381 INFO [MainDeployer] Starting deployment of package: > file:/home/steve/projects/mawkercoffee/jboss-3.0.4/server/default/deploy/fi >rebird-service.xml 14:39:34,404 WARN [S

Re: [JBoss-user] CD Subscription Update

2002-06-05 Thread Phil Shrimpton
On Friday 31 May 2002 03:23, Guy Rouillier wrote: Hi, > $500 is still a bit pricey at this point in JBoss's existence. I'm on > Microsoft's MSDN. I've had the Professional level subscription for $500/yr Remember that MSDN and all of MS's development tools are are loss leader, and MS make no

Re: [JBoss-user] CD SUBSCRIPTION

2002-05-22 Thread Phil Shrimpton
On Wednesday 22 May 2002 20:21, you wrote: Hi, > By public demand we will now distribute a subscription CD. Any plans of offering this without the 'support' option and training discount, for a cheaper price, so those of us with smaller pockets can still contribute to the cause? Phil -- Li

Re: [JBoss-user] Class path issue?

2002-05-22 Thread Phil Shrimpton
On Wednesday 22 May 2002 18:59, you wrote: Hi, > > I have a web app that works fine under standalone Tomcat, and I have > > tried moving it to Jboss 2.4.6/Tomcat 4.03, but putting it in an *.ear > > file, it can't find the javax.sql.datasource class. > > > > Looked around the JBoss Libraries, an

[JBoss-user] Class path issue?

2002-05-22 Thread Phil Shrimpton
Hi, I have a web app that works fine under standalone Tomcat, and I have tried moving it to Jboss 2.4.6/Tomcat 4.03, but putting it in an *.ear file, it can't find the javax.sql.datasource class. Looked around the JBoss Libraries, and found the class in jboss-jdbc_ext.jar, but even though I m

Re: [JBoss-user] Differences between 2.x and 3.x?

2002-04-22 Thread Phil Shrimpton
On Thursday 18 April 2002 21:23, Dmitri Colebatch wrote: Hi, > Granted JBuilder has come > a long way, It has, but so has its price Phil -- Linux 2.4.4-4GB 5:47pm up 3 days, 4:45, 1 user, load average: 0.42, 0.31, 0.21 ___ JBoss-user

Re: [JBoss-user] Differences between 2.x and 3.x?

2002-04-22 Thread Phil Shrimpton
On Thursday 18 April 2002 21:49, JD Brennan wrote: Hi, > If you are going to be using Entity beans (persistence) > then you'll be much better off with JBoss 3.0 because > it supports CMP 2.0 - which will make it a lot easier > to implement persistence with Entity beans. We switched > from JBoss

Re: [JBoss-user] Differences between 2.x and 3.x?

2002-04-16 Thread Phil Shrimpton
On Tuesday 16 April 2002 23:35, Dmitri Colebatch wrote: Hi, > Are you entering the world of JBoss from another EJB server, or fresh? Fresh. > If > you're entering fresh, and learning EJB, then I dont imagine the > differences between 2.4 and 3.0 would bother you too much at first I am more c

[JBoss-user] Differences between 2.x and 3.x?

2002-04-16 Thread Phil Shrimpton
Hi, Just entering the merry world of JBoss, mainly for learning and enjoyment. I have Jboss 2.4 installed and running and I have ordered the Jboss 'Book'. With Jboss 3 going into RC stage, I was wondering if I should start with that? If I do is the 'book' relevent? What is the differences

Re: [JBoss-user] JBoss and Tomcat : together or separate?

2001-12-07 Thread Phil Shrimpton
On Friday 07 December 2001 07:17, Guy Rouillier wrote: Hi, > > What is confusing me, is does JBoss need to know about Tomcat or visa > > versa? > > Our EJBs provide > "services" that are used on the JSP pages, so Tomcat needs to know where > JBoss is running (so it can do lookups on the EJBs) bu

Re: [JBoss-user] JBoss and Tomcat : together or separate?

2001-12-04 Thread Phil Shrimpton
On Tuesday 04 December 2001 17:24, Guy Rouillier wrote: Hi, > We use completely independent installations of all three: Apache, Tomcat > and JBoss. Provides location independence, and problem isolation. So > personally I would suggest keeping JBoss separate, especially since you are > just try

[JBoss-user] JBoss and Tomcat : together or separate?

2001-12-04 Thread Phil Shrimpton
Hi, I have a working Tomcat/Apache setup, and I now want to try JBoss. Should I replace my current Tomcat installtion with the integrated JBoss/Tomcat distro, or should I attempt to just 'bolt-on' JBoss to my existing setup? If the latter, are there any how-tos? Phil -- Linux 2.4.4-4GB 3: