RE: [JBoss-user] Setting up Stores on JBoss

2003-11-25 Thread Brian McSweeney
. -- Scott Stark Chief Technology Officer JBoss Group, LLC Brian McSweeney wrote: > Hi all, > > I run a web application packaged as an ear on JBoss-3.2.2. > > I want to create stores on my website. This is standard webapp stuff. > Let

[JBoss-user] Setting up Stores on JBoss

2003-11-24 Thread Brian McSweeney
Hi all,   I run a web application packaged as an ear on JBoss-3.2.2.   I want to create stores on my website. This is standard webapp stuff. Let me give an example.   Imagine I run Ebay. A new person signs up, as a seller from a company named BrianCorp. Ebay allows them to run a st

RE: [JBoss-user] http sessions hang on 3.2.2

2003-11-21 Thread Brian McSweeney
happens, we need a full thread stack dump (ctrl+break on windows), otherwise we cannot say.   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian McSweeney Sent: vendredi, 21. novembre 2003 12:09 To: [EMAIL PROTECTED] Subject: [JBoss-user] http sessions hang on 3.2.2 Hi

[JBoss-user] http sessions hang on 3.2.2

2003-11-21 Thread Brian McSweeney
Hi guys,   This is a bit of a vague question I know, but perhaps someone can help.   I’m using JBoss 3.2.2 and struts. After about a day running, struts actions which create a http session seem to hang. I have no idea why this would be. If I restart jboss the behaviour goes away. Is the

RE: [JBoss-user] Mail Service Requires Authentication help

2003-11-20 Thread Brian McSweeney
Thanks Heiko, Have done this now. Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rupp, Heiko Sent: 20 November 2003 13:40 To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Mail Service Requires Authentication help Hi Brian, > No they're not. I think

RE: [JBoss-user] Mail Service Requires Authentication help

2003-11-20 Thread Brian McSweeney
:[EMAIL PROTECTED] On Behalf Of Brian McSweeney Sent: 20 November 2003 13:16 To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Mail Service Requires Authentication help Hi Heiko, No they're not. I think it's because the server requires pop authentication before I can send smtp. I've f

RE: [JBoss-user] Mail Service Requires Authentication help

2003-11-20 Thread Brian McSweeney
Hi Heiko, No they're not. I think it's because the server requires pop authentication before I can send smtp. I've found some stuff on old jboss docs saying: Using the JavaMail service with mail servers that require POP authentication before SMTP You can do this by using: impor

[JBoss-user] Mail Service Requires Authentication help

2003-11-20 Thread Brian McSweeney
Hi all,   I have a bit of a tricky problem that hopefully someone can help me with.   My server is behind a firewall, with a local ip address and running Jboss.   I’m using the JBoss mail service from my server. My mail server is outside the firewall however, and requires authentica

[JBoss-user] Default String Size

2003-11-17 Thread Brian McSweeney
Hi all,   My ejbs are cmp ones and the string parameters I use are as follows       /** * @ejb.persistence *  column-name="stringDescription" * @ejb.interface-method */   I don’t specify the string length.   However I see in my database that when the data

[JBoss-user] server vs client Sun VM

2003-11-12 Thread Brian McSweeney
Sorry if this is a bit off topic,   But does anyone have experience with running jboss using the sun jvm in client vs server mode.   I presume I should be running in server mode, but I’m wondering if anyone knows if there is a performance difference. I’m using jdk1.4.2     Thanks,

RE: [JBoss-user] optimize question

2003-11-12 Thread Brian McSweeney
I must say, I understood it to be the total opposite. I thought commit option A requires the least number of db lookups because it's all in the jboss cache. Please correct me if I am wrong. >This means that the commit-option a is the one requiring most DB >lookups. We switched from A to B and n

RE: [JBoss-user] Clueless on transactions

2003-11-11 Thread Brian McSweeney
trict pessimistic locking. -- Scott Stark Chief Technology Officer JBoss Group, LLC xxxx Brian McSweeney wrote: > Hi Scott, > > Thanks for your patience and help. > > Yep, I understand that there's no such thing as web page locking, &g

RE: [JBoss-user] Clueless on transactions

2003-11-11 Thread Brian McSweeney
ead-only fields, but you have to draw out the workflows to see where the web pages are going to be conflicting. If there is no shared data there is no lock contention. We cover this is the advanced training. Brian McSweeney wrote: > Hi Scott, > Thanks for the help. So does this mean you woul

RE: [JBoss-user] Clueless on transactions

2003-11-11 Thread Brian McSweeney
e where the web pages are going to be conflicting. If there is no shared data there is no lock contention. We cover this is the advanced training. Brian McSweeney wrote: > Hi Scott, > Thanks for the help. So does this mean you would advocate the use of > transaction="required&

RE: [JBoss-user] Clueless on transactions

2003-11-10 Thread Brian McSweeney
tions are going to work as expected. -- Scott Stark Chief Technology Officer JBoss Group, LLC xxxx Brian McSweeney wrote: > Hi all, > > > > I’m a bit clueless on transactions but here is my problem. > > I’ve got SessionFacades talki

[JBoss-user] Clueless on transactions

2003-11-10 Thread Brian McSweeney
Hi all,   I’m a bit clueless on transactions but here is my problem. I’ve got SessionFacades talking to CMP ejbs.   I remember somewhere someone saying that for cmp entity ejbs all the transactions should be marked as required. Is this true?   So in my cmp beans I use the followi

RE: [JBoss-user] Securing JBoss

2003-10-31 Thread Brian McSweeney
lto:[EMAIL PROTECTED] On Behalf Of > Adrian Brock > Sent: vendredi, 31. octobre 2003 16:27 > To: [EMAIL PROTECTED] > Subject: RE: [JBoss-user] Securing JBoss > > On Fri, 2003-10-31 at 15:09, Brian McSweeney wrote: > > Thanks for all your help Adrian, > > > > C

RE: [JBoss-user] Securing JBoss

2003-10-31 Thread Brian McSweeney
Subject: RE: [JBoss-user] Securing JBoss On Fri, 2003-10-31 at 13:48, Brian McSweeney wrote: > Hi Adrian, > > I saw that file before, but it isn't used in the default deploy of jboss > right? > > I've spent a good few hours reading the JBoss admin docs, and the forums &

RE: [JBoss-user] Securing JBoss

2003-10-31 Thread Brian McSweeney
at the "default" section I hope you can read xsl :-) Regards, Adrian On Fri, 2003-10-31 at 12:11, Brian McSweeney wrote: > Hi all, > > Following on Sebastian Hauer's email advice I used the following program > to find out what ports JBoss uses. > > http://www.tucow

RE: [JBoss-user] Moving from development to production

2003-10-31 Thread Brian McSweeney
lock down - *SECURE* > those you do. > > There are a number of flags scatter around that will > turn off development features. > e.g. jasper development mode in the default web.xml > or the flag in transaction-service.xml > > Make sure you have trimmed your logging as wel

[JBoss-user] Securing JBoss

2003-10-31 Thread Brian McSweeney
Hi all, Following on Sebastian Hauer's email advice I used the following program to find out what ports JBoss uses. http://www.tucows.com/preview/213738.html I think the following information might help others too when they are deploying jboss. My application is probably quite like what others a

RE: [JBoss-user] Moving from development to production

2003-10-30 Thread Brian McSweeney
s you to spot when you have problems. Regards, Adrian On Thu, 2003-10-30 at 14:35, Brian McSweeney wrote: > Hi all, > > Having researched this a little more I've come up with the following > plan. Perhaps someone could tell me if it seems ok :-) > > 1) Change the jboss m

RE: [JBoss-user] Moving from development to production

2003-10-30 Thread Brian McSweeney
look ok? Any other options people might recommend? Thanks, Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian McSweeney Sent: 29 October 2003 15:56 To: [EMAIL PROTECTED] Subject: [JBoss-user] Moving from development to production Hi all

[JBoss-user] Moving from development to production

2003-10-29 Thread Brian McSweeney
Hi all,   I’ve searched the archives but couldn’t find what I was looking for.   I’m moving towards my production server and I’d love a simple list of what to change in the configuration files for a production server.   My app is   Struts à stateless session beans à ejb cmp entity

[JBoss-user] Log4j SMTP appender

2003-10-29 Thread Brian McSweeney
Hi all,   I sent this email before but got no response. I couldn’t find it on the archives so I’ll try posting it again.     I’m trying to get the log4j SMTP appender working so that when my code gets an error, I get sent an email.   I’m also trying to do this asynchronously. I’m fol

RE: [JBoss-user] JBoss 3.2.2 and prepared statement cache

2003-10-28 Thread Brian McSweeney
Cool, thanks a million! Brian   -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rafal Kedziorski Sent: 28 October 2003 11:18 To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] JBoss 3.2.2 and prepared statement cache   At 12:32 28.10.2003, Brian

[JBoss-user] JBoss 3.2.2 and prepared statement cache

2003-10-28 Thread Brian McSweeney
Hi all,   I’ve heard that there are significant performance increases with 3.2.2 to do with prepared statement caching. Is there anything that you have to do in terms of configuration files for this, or is it just an automatic performance increase.   Thanks, Brian

RE: [JBoss-user] Re: 3.2.2 Release Available

2003-10-20 Thread Brian McSweeney
Also, Could someone explain how the releases of JBoss-Tomcat work? For example, at the moment it seems we are on jboss-3.2.2RC1_tomcat-4.1.24 so I presume JBoss-3.2.2 is the jetty bundle. If this is the case, when do you expect jboss-3.2.2_tomcat-4.1.24 to be released? Thanks, Brian -

[JBoss-user] Log4j SMTP appender

2003-10-17 Thread Brian McSweeney
Hi all,   Quick question. I’m trying to get the log4j SMTP appender working so that when my code gets an error, I get sent an email.   I’m also trying to do this asynchronously. I’m following the jboss log4j docs to do this. So in conf/log4j.xml I’ve uncommented the ASYNC and SMTP app

RE: [JBoss-user] Installing as a windows service

2003-10-16 Thread Brian McSweeney
al Message- From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 15, 2003 5:02 AM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Installing as a windows service Hi guys, Thanks very much for all the advice. I am happy to say that I successfully installed it using the wrapper u

RE: [JBoss-user] Installing as a windows service

2003-10-15 Thread Brian McSweeney
15 October 2003 09:01 To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Installing as a windows service Use Java Service Wrapper: http://wrapper.sf.net -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Brian McSweeney Sent: Wednesday, October 15, 2003 11:31 AM

[JBoss-user] Installing as a windows service

2003-10-15 Thread Brian McSweeney
Hi all,   I know that this has come up before. And I know that it’s on the forums to use Alexander soft to install windows as a service. However I’m getting problems running jboss as a service if it’s other than the default service.   Could anyone tell me if there is any other way to in

RE: [JBoss-user] JBoss project and Eclipse

2003-09-16 Thread Brian McSweeney
better luck. -Original Message- From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: Monday, September 15, 2003 2:32 AM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] JBoss project and Eclipse Hi all, I've just recently switched to Eclipse from Netbeans and am trying to hook it all

RE: [JBoss-user] When do rollbacks occur

2003-09-15 Thread Brian McSweeney
Cool. Thanks very much :-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adrian Brock Sent: 15 September 2003 14:52 To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] When do rollbacks occur On Mon, 2003-09-15 at 16:46, Brian McSweeney wrote: > Hi Adr

RE: [JBoss-user] When do rollbacks occur

2003-09-15 Thread Brian McSweeney
thing } catch (CreateException e) { ctx.setRollbackOnly(); // wouldn't normally rollback throw new SomethingFailedException(); } } Regards, Adrian On Mon, 2003-09-15 at 16:18, Brian McSweeney wrote: > Hi all, > > > > Recently I posted a thread looking fo

[JBoss-user] When do rollbacks occur

2003-09-15 Thread Brian McSweeney
Hi all,   Recently I posted a thread looking for advice on how to handle exceptions such as Finder exceptions, create exceptions etc in ejb session facades and how to pass these back to web clients such as struts actions.   I was given good advice to wrap these up in ApplicationExceptio

RE: [JBoss-user] JBoss project and Eclipse

2003-09-15 Thread Brian McSweeney
Hi all, I've just recently switched to Eclipse from Netbeans and am trying to hook it all up to Jboss using the JBoss-IDE. Most of it works fine, but I can't seem to get xdoclet code complete working. Does anyone have this working and would be able to outline the steps taken to make it work? Tha

RE: [JBoss-user] exception handling advice

2003-09-11 Thread Brian McSweeney
blem). I hope this helps? Good luck, Harm de Laat Informatiefabriek "Brian McSweeney" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 09/11/2003 11:21 AM Please respond to [EMAIL PROTECTED] To <[EMAIL PROTECTED]> cc Subject RE: [JBoss-user] exception handling advice

RE: [JBoss-user] exception handling advice

2003-09-11 Thread Brian McSweeney
Stop hijacking my thread :-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vijaya Sent: 11 September 2003 08:47 To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] exception handling advice Hai, I followed your step-by-step instructions given to configure

RE: [JBoss-user] exception handling advice

2003-09-11 Thread Brian McSweeney
ons inside more application usable exceptions. -M@ On Wednesday, September 10, 2003, at 09:34 AM, Brian McSweeney wrote: > Hi all, > >   > > I’d like to know what the best practice on handling exceptions is. > > I’m using: > >   > >   > > Jsps>

[JBoss-user] exception handling advice

2003-09-10 Thread Brian McSweeney
Hi all,   I’d like to know what the best practice on handling exceptions is. I’m using:     Jsps >struts actions  > session facades > entity beans   Imagine for a second that the session façade allows CRUD operations on my entity beans. For example say I have a entity

RE: [JBoss-user] Can't find connection left open

2003-08-27 Thread Brian McSweeney
o close all of them. Please, let us know if it solves the problem. alex Brian McSweeney wrote: > Hi everyone, > > > > I have a problem where JBoss is telling me that it’s > > > > “closing a connection you left open. Please do your own housekeeping.” > &

[JBoss-user] Can't find connection left open

2003-08-26 Thread Brian McSweeney
Hi everyone,   I have a problem where JBoss is telling me that it’s   “closing a connection you left open. Please do your own housekeeping.”   However, I can’t see where I’m leaving the connection open.   I’m using JBoss 3.2.1 and my database is mysql. I’m doing a page-by-page ite

RE: [JBoss-user] Adding a virtual host to embedded tomcat

2003-08-20 Thread Brian McSweeney
doc-root (shared by apache for static html pages) as well as have some common webapp contexts shared by each host. We have such a configuration that works in standalone, which we are running. Gary. On Mon, 2003-08-18 at 12:33, Brian McSweeney wrote: > Hi all, > > > > I want to

[JBoss-user] Adding a virtual host to embedded tomcat

2003-08-18 Thread Brian McSweeney
Hi all,   I want to add a virtual host to the embedded tomcat service that comes with Jboss. It seems that the way I do this is in the   deploy\jbossweb-tomcat.sar\META-INF\jboss-service.xml file   I tried adding     docBase="c:/imageStore" debug="0" privileged="true" />   to t

RE: [JBoss-user] file upload problem

2003-08-18 Thread Brian McSweeney
etRealPath() which means you have to deploy your war as unpacked. jar -xf myapp.war into a folder in deploy called myapp.war Regards, Adrian On Mon, 2003-08-18 at 10:17, Brian McSweeney wrote: > Hi all, > > > > I'm trying to do a file upload action based on the example >

RE: [JBoss-user] file upload problem

2003-08-18 Thread Brian McSweeney
headers, so you should be able to ask the servlet. Or make up random file names if conflicting names are possible. The Struts 1.1 stuff works fine within JBoss 3.2.1. -Neal On August 18, 2003 08:10 am, Brian McSweeney wrote: > After more digging around, I'm beginning to suspect that this is a

RE: [JBoss-user] file upload problem

2003-08-18 Thread Brian McSweeney
Thanks Heiko, Before I start digging into iTracker's source code, perhaps someone has done this before? Cheers, Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rupp, Heiko Sent: 18 August 2003 13:38 To: [EMAIL PROTECTED] Subject: RE: [JBoss-user]

RE: [JBoss-user] file upload problem

2003-08-18 Thread Brian McSweeney
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian McSweeney Sent: 18 August 2003 10:18 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [JBoss-user] file upload problem   Hi all,   I’m trying to do a file upload action based on the example struts-upload.war.   I want to save the uploaded

[JBoss-user] file upload problem

2003-08-18 Thread Brian McSweeney
Hi all,   I’m trying to do a file upload action based on the example struts-upload.war.   I want to save the uploaded file to a folder on disk. However when I try to run the action I get an error saying I don’t have access to the folder. I’ve tried changing the folder access and als

[JBoss-user] Accessing a ResourceBundle from a MDB

2003-08-14 Thread Brian McSweeney
Hi all,   I’m deploying my app on JBoss 3.2.1_tomcat-4.1.24 I’m deploying an ear which contains a war which uses Struts as the web controller. The back end uses ejbs in an ejb-jar file.   I’m using a resource bundle properties file successfully in my struts actions to internation

RE: [JBoss-user] Accessing a ResourceBundle from a MDB

2003-08-14 Thread Brian McSweeney
outside of the associated war. Move the common resources to the mdb jar or a common jar referenced by the ear -- Scott Stark Chief Technology Officer JBoss Group, LLC Brian McSweeney wrote: > Hi all, > > > > I'm deplo

RE: [JBoss-user] Accessing a ResourceBundle from a MDB

2003-08-14 Thread Brian McSweeney
MDB On (2003/08/13 11:09), Brian McSweeney wrote: > I'm using a resource bundle properties file successfully in > my struts actions to internationalize the app. [...] > However I also need to load the resource bundle from the > back end. When I try to load the resource bundle

RE: [JBoss-user] JBoss recompiles Jsps every time I hit the page

2003-08-01 Thread Brian McSweeney
ou will have problems. If not, it's something else. -James On Fri, 2003-08-01 at 09:03, Brian McSweeney wrote: > Hey James, > Thanks very much for that. I understand what you mean, but seeing as > I'm creating the ear on the same machine as I'm running JBoss I don'

RE: [JBoss-user] JBoss recompiles Jsps every time I hit the page

2003-08-01 Thread Brian McSweeney
he timestamp on your compiled jsp is before the timestamp on your actual jsp, then you will have problems. If not, it's something else. -James On Fri, 2003-08-01 at 09:03, Brian McSweeney wrote: > Hey James, > Thanks very much for that. I understand what you mean, but seeing as >

RE: [JBoss-user] JBoss recompiles Jsps every time I hit the page

2003-08-01 Thread Brian McSweeney
y compile the jsp if the original jsp file date is newer than the compiled class. We had a problem where the date on the computer creating the war was in the future, so jsp's would recompile every hit. Check that first. -James On Fri, 2003-08-01 at 06:23, Brian McSweeney wrote: > H

[JBoss-user] JBoss recompiles Jsps every time I hit the page

2003-08-01 Thread Brian McSweeney
Hi all,   I’m using JBoss3.2.1_tomcat4.1.24   I’m working on windows2000 and with jvm 1.4.1_01   My ear contains a war with jsps. My jsps are not precompiled. My understanding is that JBoss compiles the jsps on the first hit, and after that, should not need to compile them again. Ho

RE: [JBoss-user] Simple Quick Question - how to change JSPs on th e fly

2003-07-28 Thread Brian McSweeney
Thanks for all your help on this guys. Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Wallis Sent: 27 July 2003 12:59 To: [EMAIL PROTECTED]; Nimish Chourey , Tidel Park - Chennai Subject: Re: [JBoss-user] Simple Quick Question - how to change

RE: [JBoss-user] Parallel thread performance: A JBoss client example

2003-07-25 Thread Brian McSweeney
how their 2.0 version clusters. WebLogic, well, that's a pipe dream that I'll have test on that, too much darn money, unless they have a free trial version but even then I recall they charge more for their clusterable version than they do for single jvm version. --- Brian McSweeney <[EMA

[JBoss-user] Simple Quick Question - how to change JSPs on the fly

2003-07-25 Thread Brian McSweeney
Hi all,   Quick question. I’m deploying my app in an ear file. The jsps are contained in a war in the ear. If I want to change a jsp, currently I redeploy the ear. I am wondering if the actual jsps are available, unpacked in some directory where I could just change the jsp code on

RE: [JBoss-user] Parallel thread performance: A JBoss client example

2003-07-25 Thread Brian McSweeney
Hi Kevin, This sounds like it would be a brilliant thing to do. As a suggestion, if you want it to run a standard app on multiple app servers as the test, it might be possible to use a current sourceforge project. The xpetstore project deploys on JBoss, Orion and Weblogic by using xdoclet tag

Re: [JBoss-user] Closing database connections

2003-06-13 Thread Brian McSweeney
; > Al. > > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of > > Brian McSweeney > > Sent: 12 June 2003 12:59 > > To: [EMAIL PROTECTED] > > Subject: Re: [JBoss-user] Closing database conn

Re: [JBoss-user] Closing database connections

2003-06-12 Thread Brian McSweeney
Hi Martin, thanks for the help/education :-) It all makes perfect sense. Brian - Original Message - From: "Martin Vilcans" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 12, 2003 12:52 PM Subject: RE: [JBoss-user] Closing database connections > > Glad to see that I was

Re: [JBoss-user] Closing database connections

2003-06-12 Thread Brian McSweeney
Hi Martin, thanks for the help. I wrote my reply to Enrique's mail just before I read yours. Glad to see that I was on the right track. Just one little question. Why do you have two finally blocks in the DAO - can't you close both the statement and the result set in the same finally block? cheers,

Re: [JBoss-user] Closing database connections

2003-06-12 Thread Brian McSweeney
Thanks Enrique, that's what I suspected. Could you tell me if it is better practice to pass the connection in to the method - for example:     //- session facade methods-       /** * @ejb.interface-method * @ejb.transaction *  t

[JBoss-user] Closing database connections

2003-06-12 Thread Brian McSweeney
Hi all,   I'm writing a DAO and using the xpetstore application for some guidance. However, I think I may have found a bug.   The xpetstore uses a session facade to search for particular products. It contains two methods used for this - one to get the database connection, and the other to

Re: [JBoss-user] Add an index to a table on deployment

2003-06-10 Thread Brian McSweeney
excellent! How I love open source. Thanks Heiko! Brian - Original Message - From: "Rupp,Heiko" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 10, 2003 3:00 PM Subject: RE: [JBoss-user] Add an index to a table on deployment > Brian, > > > A) what versions of JBoss suppo

Re: [JBoss-user] Add an index to a table on deployment

2003-06-10 Thread Brian McSweeney
this? thanks very much for your help, Brian - Original Message - From: "Alexey Loubyansky" <[EMAIL PROTECTED]> To: "Brian McSweeney" <[EMAIL PROTECTED]> Sent: Tuesday, June 10, 2003 1:56 PM Subject: Re: [JBoss-user] Add an index to a table on deployment > H

[JBoss-user] Add an index to a table on deployment

2003-06-10 Thread Brian McSweeney
Hi all,   We currently use the jboss create table tag to build our database schema on deployment using cmp entity beans.   I was wondering if there is a way to add an index to a specific column in a table. We're using mysql and having looked into it, we don't think you can add an index on

Re: [JBoss-user] Should I cache ejbRefs?

2003-06-06 Thread Brian McSweeney
Hope that helps. Dave "Brian McSweeney" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 06/05/2003 08:47 AM Please respond to jboss-user                 To:        <[EMAIL PROTECTED]>         cc:    

[JBoss-user] Should I cache ejbRefs?

2003-06-05 Thread Brian McSweeney
Hi all,   my app is fronended with struts, using local beans. The local beans use stateless session facades as a frontend.   In a book discussing struts there is a chapter on using entity beans which describes how it is a good idea to cache the ejb refs in application scope. The idea is,

[JBoss-user] Storing Data Types

2003-05-29 Thread Brian McSweeney
hi all,   quick question. I'm using cmp beans. When I want to store data types, is it better to store primary data types or the associated java objects? Eg:       /** * @ejb.persistence *  column-name="price" */        public abstract double getPrice();    public abstract

Re: [JBoss-user] SSL Hell

2003-05-15 Thread Brian McSweeney
Title: Message Cool. Thanks, Brian - Original Message - From: Alastair Rodgers To: [EMAIL PROTECTED] Sent: Thursday, May 15, 2003 1:42 PM Subject: RE: [JBoss-user] SSL Hell If you're using Jetty, go to the Jetty site instead (http://www.mortbay.org/jetty/doc/

Re: [JBoss-user] Re: web-console question

2003-05-14 Thread Brian McSweeney
alhost:8080/jmx-console/. -Original Message-From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 14, 2003 9:42 AMTo: [EMAIL PROTECTED]Subject: Re: [JBoss-user] Re: web-console question Web console looks cool - unfortunately the applet on

Re: [JBoss-user] Re: web-console question

2003-05-14 Thread Brian McSweeney
Title: Message Thanks for the reply, I think I do - at least I have "Use Java 2 v1.4.1_01 for applet" ticked in tools, internet options, advanced. thanks anyway though.   - Original Message - From: Sacha Labourey To: [EMAIL PROTECTED] Sent: Wednesday, May 14, 2003 3:

Re: [JBoss-user] Fundamental error

2003-04-09 Thread Brian McSweeney
O [STDOUT] The counter created is: 5526, created by: Thread 6 Perhaps dirty reads is the standard commit option. I'm not sure. Does anyone have any idea about this? - Original Message ----- From: "Brian McSweeney" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesda

[JBoss-user] MySql, Transactions and deployment

2003-04-05 Thread Brian McSweeney
Hi all,   I'm using mysql version 3.23.52   I've read that for transactions to be supported you have to use the mysql process mysqld-max and have to have it set up to support transactions by enabling tables of type InnoDB or BDB as opposed to the default of type ISAM.   My question is, I w

Re: [JBoss-user] JAAS Authentication with DatabaseServerLoginModule

2003-04-05 Thread Brian McSweeney
I totally agree with you on this. I really think that an example application that uses all this would do the world of good for JBoss. I'm trying to do something similar. I've got an app using struts running on JBoss, I asked similar questions on the struts-user list only yesterday and was given th

Re: [JBoss-user] MDBs and Transactions

2003-04-04 Thread Brian McSweeney
ery much, Brian - Original Message - From: "Ian Duggan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, April 03, 2003 8:23 PM Subject: Re: [JBoss-user] MDBs and Transactions > > On Thursday 03 April 2003 3:32 am, Brian McSweene

Re: [JBoss-user] MDBs and Transactions

2003-04-03 Thread Brian McSweeney
s under the same TX initiated by the facade is the deletion of > entity A and the sending of the message. The work the MDB is doing upon > message receiving is completely separate. This is why thay call this > asynchronous processing. > > Regards, > Horia > > Brian

[JBoss-user] MDBs and Transactions

2003-04-02 Thread Brian McSweeney
hi all,   getting a strange error with MDBs and Transactions.   I have a method in a facade that sends to a MDB. That method is tagged as transaction required.   The MDB then accesses some EJBs.   However, I have another method in the facade which can delete some of the EJBs that the MDB acc

Re: [JBoss-user] Primary Key Generation Strategies

2003-04-01 Thread Brian McSweeney
Hi Jos, Hi Marek, thanks for the replies. I'm glad that you guys think this is a good strategy. It works fine normally but it's under load that it seems to pack up. I'm using mysql and an implementation of Floyd's sequence entity bean and sequence session bean pattern. (The code is below). We act

[JBoss-user] Primary Key Generation Strategies

2003-04-01 Thread Brian McSweeney
Hi all,   There has been much discussion on database and container independent primary key generation strategies. I've been using the first strategy in Floyd Marinescu's book   ftp://www6.software.ibm.com/software/developer/library/j-ejbdesign.pdf   but have been getting transaction roll-back

Re: [JBoss-user] OT: Data Internationalisation Best Practice

2003-03-24 Thread Brian McSweeney
; } > return mDescriptionText.getValue(pLocale); > } > private I18NText mDescriptionText = null; > > > productPage.jsp > === > > <%= productValue.getDescription( pRequest.getLocale() ) %> > > > Let me know how you decide to do it as

Re: [JBoss-user] OT: Data Internationalisation Best Practice

2003-03-24 Thread Brian McSweeney
Got the first proposed solution from Neal Sanche. Seems it could work very well. The idea is outlined in the emails we had below. all comments, suggestions welcome. cheers, Brian - Original Message - From: "Neal Sanche" <[EMAIL PROTECTED]> To: "Brian McSween

[JBoss-user] OT: Data Internationalisation Best Practice

2003-03-24 Thread Brian McSweeney
Hi all,   This is way off JBoss as a topic, but because of the expertise in developing J2EE apps and because the xpetstore applicaiton shows off using JBoss as a J2EE server I thought I'd ask this design question here anyway. Hope that's okay.   we are looking at internationalising the x

Re: [JBoss-user] Optimise stateless session bean access from servlets

2003-03-07 Thread Brian McSweeney
first. StasK   -Original Message-From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2003 4:37 PMTo: [EMAIL PROTECTED]Subject: Re: [JBoss-user] Optimise stateless session bean access from servlets     Thanks StasK,  

Re: [JBoss-user] Optimise stateless session bean access from servlets

2003-03-07 Thread Brian McSweeney
first. StasK   -Original Message-From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2003 4:37 PMTo: [EMAIL PROTECTED]Subject: Re: [JBoss-user] Optimise stateless session bean access from servlets     Thanks StasK,  

Re: [JBoss-user] Optimise stateless session bean access from servlets

2003-03-07 Thread Brian McSweeney
ramming Jakarta Struts” by Chuck Cavaness ).   Hope this helps.   StasK   -----Original Message-From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2003 2:03 PMTo: [EMAIL PROTECTED]Subject: [JBoss-user] Optimise state

Re: [JBoss-user] Optimise stateless session bean access from servlets

2003-03-07 Thread Brian McSweeney
thanks Rafal this helps alot. - Original Message - From: "Rafal Kedziorski" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 07, 2003 1:12 PM Subject: Re: [JBoss-user] Optimise stateless session bean access from servlets > hi, > > You can take a look on this pattern: > > h

[JBoss-user] Optimise stateless session bean access from servlets

2003-03-07 Thread Brian McSweeney
Hi all,   My business logic is controlled by stateless session beans. My front-end is probably going to be JSPs which use the session beans. I could create a reference to the session bean each time it's used, but from my understanding of how it works, when the client calls MyStatelessSess

[JBoss-user] Very confused about transactions!!

2003-03-03 Thread Brian McSweeney
Hi guys,   I reckon I'm going to come across as a dope here, but anyway :-)   I read recently that for entity beans that use ejb2 cmp only Required, RequiresNew or Mandatory transaction attributes are allowed. Does this mean that every single method on every single Entity Bean using CMP must

Re: [JBoss-user] CMP column indexing

2003-02-28 Thread Brian McSweeney
thanks Kevin, when you say a patch - is the spec meant to allow this? I couldn't find it. Or is it a jboss specific extension? Also, if anyone else knows about whether or not the later versions have this as a working feature I'd much appreciate it. thanks, Brian - Original Message -

[JBoss-user] CMP column indexing

2003-02-28 Thread Brian McSweeney
Hi,   i was wondering if it's possible to specify indexing of a column in a CMP Entity Bean?   thanks, Brian  

Re: [JBoss-user] Service starts after my app is deployed

2003-02-25 Thread Brian McSweeney
; ... > > > I dont know if its possible to just spaeciy the ear file > instead, that would be easier?!?! > > BR > Terp > > > -----Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Brian McSweeney > Sent: 25. februar 2003 12:

[JBoss-user] Service starts after my app is deployed

2003-02-25 Thread Brian McSweeney
Hi all, it has probably been answered many times before, but I couldn't find it. I want a service to start once my ear is deployed. In the paydocs examples I know you can run a service based on whether a different jboss service is up and running by using:     jboss:service=Naming in the -se

Re: [JBoss-user] MBean interfaces not found in Scheduler examples source?

2003-02-24 Thread Brian McSweeney
to generate the interface for this MBean (which is ScheduableMBeanExampleMBean) and the "extends" attribute tells XDoclet to generate this interface extending "org.jboss.system.ServiceMBean".    Chad - Original Message - - Original Mes

Re: [JBoss-user] Basic JMX question

2003-02-24 Thread Brian McSweeney
had not been triggered on some > other node. > And perform some sort of wait while one node > is notifying in case it fails during the > notification. > Slow nodes and new nodes would have to > keep in step with the latest sequence. > > Regards, > Adrian > > >From:

[JBoss-user] MBean interfaces not found in Scheduler examples source?

2003-02-24 Thread Brian McSweeney
Hi all,   I've downloaded the JBoss source - jboss3.2.0RC2-src.tgz -  to check out how to use the Scheduler examples.   Two things - firstly, when I try to build from the source using the .bat file I get loads of errors.   But anyway, when I looked at the examples for running Schedulable

Re: [JBoss-user] Basic JMX question

2003-02-24 Thread Brian McSweeney
TED]> Sent: Wednesday, February 19, 2003 6:16 PM Subject: Re: [JBoss-user] Basic JMX question > Hi Brian, > > Answers in line. > > >From: "Brian McSweeney" <[EMAIL PROTECTED]> > >Reply-To: [EMAIL PROTECTED] > >To: <[EMAIL PROTECTED]> > >Sub

  1   2   >