[JBoss-user] [JCA/JBoss] - Re: Recreating Tables in Hypersonic

2004-12-09 Thread neptune5
Hi Related to this I still can't get the tables to create/recreate. This whole system of mine used to work a treat under 3.2.3 and postgres. Now doesn't worka at all under 3.2.6 and hypersonic ! adrian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858062#3

[JBoss-user] [JCA/JBoss] - Re: help with setting up postgres datasource

2004-12-09 Thread neptune5
hi where is the postgre jar file ? it can go in the lib directory in jboss with all the other jars , it will then find it. adrian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858061#3858061 Reply to the post : http://www.jboss.org/index.html?module=bb&op=p

[JBoss-user] [JCA/JBoss] - Recreating Tables in Hypersonic

2004-12-03 Thread neptune5
Hi all In the jdbc-comp.xml file the tags : and are both set to true . This is supposed to delete your table and then recreate it ? I'm sure that this worked in 3.2.3 but now in 3.2.6 I can't get it too. Is there some different way of doing it ? Regards Adrian View the original post : htt

[JBoss-user] [Testimonials] - Re: Simple Order system is now ready !

2004-08-09 Thread neptune5
This system is now in use in a fast food outlet here in the Uk. I might make this system open source on sourceforge so that it can be further developed. ( is this a good idea ???) It also uses apache fop to produce reportsd which was fairly easy to get done. So again I ask ! if anyone would l

[JBoss-user] [EJB/JBoss] - Re: Stateful session bean Problem

2004-05-30 Thread neptune5
cheers Scott i'll give it another try. I did put some similar code into the doGet() with the httpsession . Problem was when I add the item it goes through the doPost() and this part lost the bean and couldn't retrieve the order no to get the order details. Does putting this code into a doReque

[JBoss-user] [EJB/JBoss] - Stateful session bean Problem

2004-05-28 Thread neptune5
Hello Trying to create a servlet that communicates with a orderbean - thats stateful. This is supposed to maintain conversational state right between client right ? do I need a degree in rocket science to get this to work then situation below: client 1 --> sessionbean 1

[JBoss-user] [Testimonials] - Simple Order system is now ready !

2004-03-14 Thread neptune5
Cheers Jboss for makiong it fairly easy to get this project up and running. Here is a link to my website where details about this system can be found. Email me there if you want a copy of it. cheers Adrian http://uk.geocities.com/adrianmann1963/main.html http://www.jboss.org/index.html?module=

[JBoss-user] [Datasource Configuration] - Re: How to get the name of the datasource from within an EJB

2004-03-13 Thread neptune5
Hi Larry Cheers for that , that was were I was getting confused . I thought you had to have a postgresql_ds.xml ( for example and say a different one for a different database) . It all makes sense now I can have a myshop-ds.xml with a java:/myshop(jindi name) but actually connect to either a te

[JBoss-user] [Datasource Configuration] - Re: How to get the name of the datasource from within an EJB

2004-03-11 Thread neptune5
This is the code - I want to replace the lookup datasource.. so that the name doesn't have to be hardcoded into the program. Context context=new InitialContext(); DataSource ds=(DataSource)context.lookup("java:/PostgresDS"); Connection conn=ds.getConnection(); Statement stmt=con

[JBoss-user] [Datasource Configuration] - How to get the name of the datasource from within an EJB ?

2004-03-08 Thread neptune5
Hi all Is there a jboss class somewhere where you can find out the name of the datasource from within the ejb ?. Its to replace a sql statement " select max(id) from orderhead" because max can't be used from an ejbSelect method. And if I wanted to change the database I don't want to have to ch

[JBoss-user] [Datasource Configuration] - Re: Postgresql connection error

2004-03-01 Thread neptune5
hi thanks for that now got the connection working to the postgre db. Now all I need to do is get it to create the tables properly. Seems to be more picky about how the cmp-jdbc file is written ! , as they are created ok in hypesonic but only 2 under postgres are done. Regards Adrian View the o

[JBoss-user] [Installation & Configuration] - Re: Windows v Linux .EAR file deployment ?

2004-02-05 Thread neptune5
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820281#3820281 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820281 Actually I've discovered since that the ear file isn't depoloying under the default server - under jbo

[JBoss-user] [JBoss Getting Started Documentation] - Re: Security information - totally confusing

2004-02-05 Thread neptune5
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820280#3820280 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820280 hi Thanks for the replies I tried to follow the examples of doing it in the login.config file but t