[JBoss-user] Success with JBoss

2002-05-23 Thread Jonathan Gibbons
Hi, very quick note to day I've had JBoss with Oracle and MySQL running on a win2K server for the last 2 months now. And its ace. Using version 2.4.4 and have zero problems. Hurrah! Its a small site - about 300 registered users logging on a day. But I am still very pleased with JBoss. J

[JBoss-user] JBoss and MySQL examples available HERE

2002-03-26 Thread Jonathan Gibbons
Hi, I have two or three JBOSS/MYSQL or Oracle examples available for download. The projects are all ant in anger, and can simply be built and deployed. These are example projects for my LowRoad code generator, but you can ignore the code generation side, or play with it as a learning tool and

Re: [JBoss-user] JBoss DTD for EJB2.0

2002-02-28 Thread Jonathan Gibbons
I just got them working: jboss.xml USRUser USRUser java:/lowroad java:/lowroad ...etc And for session bean that makes use of the local EJB: USRUserSearch USRUserSearch java:/lowroad

RE: [JBoss-user] Q : database and entity bean development

2002-02-27 Thread Jonathan Gibbons
Hi, Use a BMP code generator and then you can do anything you want. CMP is actually just a code generator which hides the code. Now if CMP generated the code and then let coders play with it... that would be good. My LowRoad code generator is a BMP generator which does the thousands of line

[JBoss-user] How/Where to do dirty data validation

2002-02-26 Thread Jonathan Gibbons
Hi, I have written an EJB/Struts code generator (http://www.faraway.co.uk/tallsoft/lowroad/) and I'm upgrading it for local interfaces for JBoss deployment descriptors. I've got it all working and version 4.06 of the LowRoad is out tonight, or tomorrow. BUT, I have an issue with dirty data

[JBoss-user] Re: JBoss-user digest, Vol 1 #1893 - 10 msgs

2002-02-25 Thread Jonathan Gibbons
>This is how everyone I know does it. As for why not do it the way you >suggested, KISS. > >-dain You mean ditch EJB, and JBoss and use JSP's? :-) -- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail i

Re: [JBoss-user] ejb references, ejb-jar.xml and jboss.xml ..or just useerror?

2002-02-25 Thread Jonathan Gibbons
Could it be the JNDI name you use? You say you are calling this from the Login bean? As in an EJB or a Gui bean? The rules are: >From the web tier use: ic.lookup("ejb/InwardSLSBRef"); (except I had problems using ejb/ in a past interation, so dropped it) >From the same java JVM, eg look

[JBoss-user] Re: Auto-Incr

2001-07-09 Thread Jonathan Gibbons
Hi, don't use 0 use null and it works just fine. insert into atable (id_col, name) values (null, 'blah') where your first column is the auto increment field. Your code may be using int to hold the values in the entity bean, which creates a problem, how to know when its null rather than a valu

[JBoss-user] MySQL Pool Error: XA Connection... NullPointerException

2001-06-22 Thread Jonathan Gibbons
Hi, the problem is your jboss.jcml where you have two mbean jdbcProvider entries. Try having only one with a single attribute of comma seperated driver names org.gjt.mm.mysql.Driver,org.hsql.jdbcDriver,org.enhydra.instantdb.jdbc.idbDriver It tell you to only have a single attribute

Re: [JBoss-user] Cannot connect to java:/SQLServerPool

2001-06-21 Thread Jonathan Gibbons
Hi Alan, My code generator (LowRoad at http://www.faraway.co.uk/tallsoft/lowroad/) can generate either EJB or non ejb code. Providing you only manipulate value objects then the client code doesn't have to change at all, you just change a config item and the generated code is either fully EJB,

[JBoss-user] jboss.jcml, MySQL

2001-06-21 Thread Jonathan Gibbons
Hi, Yes! Take a look at the jboss on-line documentation for how to do it. Also download the LowRoad (http://www.faraway.co.uk/tallsoft/lowroad/) and read the jboss_mysql_guide.txt. Jonathan >Anyone successfully load and use mm.mysql.jdbc or other MySQL driver from >an entry in jboss.jcml.

[JBoss-user] Problem with client connection win98 client -> Linux server

2001-06-20 Thread Jonathan Gibbons
Hi Laurens, When I install JBoss I had a problem where the test.ear hung during load up and then threw the same exception. Our corp network is configured so 127.0.0.1 on Windows NT doesn't work! I've not investigated, but those central IT boys have perverted networking somehow. If I use loc

Re: [JBoss-user] JDBC / ResultSet Question

2001-06-20 Thread Jonathan Gibbons
Hi, Do count(1) - I read this is the fastest a while ago. i.e. select count(1) from X where col='val' etc. Jonathan >I believe it is a known problem (feature?) with Oracle that COUNT(*) >has to scan the whole table (even *deleted* rows), but if you just >choose a column name (probably should b

[JBoss-user] Code generator for JBoss, Mysql and Oracle

2001-06-20 Thread Jonathan Gibbons
Hi, I've written an XML sourced code generator and just finished porting it to work with JBoss and MySQL. I'd love some folks to take a look and give me feed back. URL is: http://www.faraway.co.uk/tallsoft/lowroad/ Key points are: - EJB's are BMP - JBoss, WebLogic, MySQL, Oracle and non EJB

[JBoss-user] No resource manager message, MySQL and JBoss

2001-06-14 Thread Jonathan Gibbons
Hi, I'm just getting into JBoss and MySQL, and I've got it all working, EJB BMP's connecting to a pool which uses MySQL. BUT, I get 'No resource manager found for java:/mydb message for each of the EJB's. JBoss initialisation output shows: ... [JDBC provider] Initializing [JDBC provider] Load