Re: [JBoss-dev] Reverse CMP?

2001-07-09 Thread Dave Smith
Brian Gilman wrote: Hello, Does anyone know of an open source project which is doing anything akin to what cocobase does? ie. Automatically generating EJB's from databases? I have recently started a project to do just this but did not want to waste my efforts.

Re: [JBoss-dev] NOWAIT option

2001-08-10 Thread Dave Smith
PosgreSQL does not support the NOWAIT option. It is not in the SQL92 spec. Bill Burke wrote: How do you know if appending NOWAIT to the select statement is correct syntax for all DBMS? What's wrong with my old suggestion? Have templates for specific DB queries like select-for-update. From

Re: [JBoss-dev] NOWAIT option

2001-08-10 Thread Dave Smith
Yes. Bill Burke wrote: Which is why I wanted the NOWAIT flag in type-mappings so that when the bean deployed an exception would be thrown if nowait was turned on. Agree? Bill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dave Smith Sent

Re: [JBoss-dev] JDBC SQL Extensions

2001-08-17 Thread Dave Smith
When it comes to the outer joins I would be vary careful if not try to avoid them altogether. The SQL spec is washy at best and I believe that each vendor does it a little differntly , PostgeSQL only added outer joins in version 7.1. The IS EMPTY cluase ... after reading the spec are they

Re: [JBoss-dev] JDBC SQL Extensions

2001-08-17 Thread Dave Smith
OBJECT(o) FROM Order o WHERE o.lineItems IS EMPTY Solution A: SELECT o.ordernumber FROM Order o WHERE NOT EXISTS ( SELECT l.pk FROM Order o, LineItem l WHERE o.ordernumber = l.ordernumber) I like this because it does not use an outer join (thanks Dave Smith

Re: [JBoss-dev] SQL function mapping

2001-08-20 Thread Dave Smith
Dain I added the function mapping code to the EJB-QL to SQL translation engine. I added mappings for MS SQLServer, Oracle, MySQL and PostgreSQL to the standard jboss cmp xmp file. Notes: - These mappings are completely based on info from the 'SQL in a Nutshell' book, so they may not

Re: [JBoss-dev] SQL function mapping

2001-08-21 Thread Dave Smith
Nope your right. When I first wrote the function I did not have the + ?3 at the end so it worked fine ... Marco Ladermann wrote: On Monday, 20. August 2001 19:20, Dain Sundstrom wrote: Thanks, checked it in. -dain snip It is simply two functions position(?2 in substring(?1 from

[JBoss-dev] Extra ;

2001-08-21 Thread Dave Smith
Dain in server/src/main/org/jboss/ejb/plugins/cmp/ejbql/Parser.java line 66 you have an extra ';' terminating the return statement. It is causing jikes to complain. Found 1 semantic error compiling /home/dave/jboss/server/src/main/org/jboss/ejb/plugins/cmp/ejbql/Parser.java: [javac]

Re: [JBoss-dev] Extra ;

2001-08-22 Thread Dave Smith
On Wed, 22 Aug 2001, Dain Sundstrom wrote: Fixed, will commit change as soon as sourcefouge cvs is back on line. Does jikes work compile jboss server now? -dain - Original Message - From: Dave Smith [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 21, 2001 6:44 AM Subject

Re: [JBoss-dev] JIKES

2001-08-22 Thread Dave Smith
- |From: Dave Smith [EMAIL PROTECTED] |To: [EMAIL PROTECTED] |Sent: Wednesday, August 22, 2001 3:19 PM |Subject: Re: [JBoss-dev] Extra ; | | | As of 4:14 EST | jikes -v | Version 1.12 8/1/2000 | | | compile-classes: | [mkdir] Created dir: /home/dave/jboss/cluster/output/classes

[JBoss-dev] Starting RH errors

2001-08-25 Thread Dave Smith
Based on the CVS as of Sat 25/19:00 EST .. Why would I be getting a runtime exception starting the ConfigurationService ?? Could not create MBean DefaultDomain:service=Webserver(org.jboss.web.WebService) javax.management.RuntimeErrorException: Error thrown in the MBean's constructor

[JBoss-dev] Small deploy question (RH)

2001-08-26 Thread Dave Smith
Using the default jboss.jcml file, start jboss with a jar file already in the deploy directory that uses the default data source. It will not deploy. The reason is that the jboss-jdbc.rar is not deployed and therefore there is no default data source. I fixed it by changing the AutoDeployer

Re: [JBoss-dev] RE: [JBoss-user] BindException on InstantDB sinceUpgrading to JBoss 2.4 + Tomcat 3.2.3 Package

2001-08-27 Thread Dave Smith
In the jboss.jcml .. we switched the order the directories are checked deploy/lib deploy in the org.jboss.ejb.AutoDeployer mbean marc fleury wrote: | Actually I find this to be broken as well right now (working on it). If | there is an application in the deploy it will try deploying and

[JBoss-dev] EJB 2.0 CMP

2001-08-29 Thread Dave Smith
I am playing with the current sources and testing a 1 to many relationship. I have the following two tables order with pk: int objectid and orderdetail pk: int order_oid,int line_num The link.. order_oid=objectid There is a 1 to many relationship between Order and orderdetail. When you go

[JBoss-dev] EJB 2.0 CMP

2001-08-30 Thread Dave Smith
Dain Sundstrom wrote: I am playing with the current sources and testing a 1 to many relationship. I have the following two tables order with pk: int objectid ok and orderdetail pk: int order_oid,int line_num Does order detail have a compund key using both order_oid and

[JBoss-dev] Compiliing the testsuite

2001-08-30 Thread Dave Smith
Just a heads up .. I am getting the following warnings .. /home/dave/jboss/testsuite/src/main/org/jboss/test/testbean/test/Main.java:292: warning: assert(java.lang.String,boolean) in junit.framework.Assert has been deprecated assert(statelessMetaData != null, statelessMetaData !=

[JBoss-dev] Rabbit hole

2001-08-30 Thread Dave Smith
So I pulled the rabbit out of the whole changed jboss.jcml to jboss-services.xml and the bunny ran OK. Only one small furball ... In the classpath declaration I think crimson.jar jaxp.jar need to be ../crimson.jar ../jaxp.jar because they are in lib not lib/ext ... Now back to play with

Re: [JBoss-dev] Compiliing the testsuite

2001-08-30 Thread Dave Smith
Chris Kimpton wrote: Hi, --- Dave Smith [EMAIL PROTECTED] wrote: Just a heads up .. I am getting the following warnings .. /home/dave/jboss/testsuite/src/main/org/jboss/test/testbean/test/Main.java:292: warning: assert(java.lang.String,boolean) in junit.framework.Assert has been

Re: [JBoss-dev] Compiliing the testsuite

2001-08-30 Thread Dave Smith
blackdown 1.3 linux redhat 6.2. This is with the CVS as of 8:00 EST. Chris Kimpton wrote: Hi, Well I was trying it from just the normal complete build , but If I just build the testsuite I get the same problem. Maybe you a different version of junit? Nope - just using the one that

Re: [JBoss-dev] Rabbit hole

2001-08-30 Thread Dave Smith
marc fleury wrote: |In the classpath declaration I think | |crimson.jar |jaxp.jar | |need to be |../crimson.jar |../jaxp.jar they are referenced through run.mf Ok I see that. When I built it thats where they went. So do these classes have to be present in order for jboss to

Re: [JBoss-dev] Rabbit hole

2001-08-30 Thread Dave Smith
marc fleury wrote: |Ok I see that. When I built it thats where they went. So do these |classes have to be present in order for jboss to load over the network? |If yes then should I change run.mf to ../lib/ext or do I remove them |from the jboss-service.xml classpath? The jaxp stuff is

Re: [JBoss-dev] EJB 2.0 CMP

2001-08-30 Thread Dave Smith
After reviewing these comments I think we are making this way more complicated than it has to be. As far as I am concerned we should only need the relationship stuff in jbosscmp-jdbc.xml for relationships that use a relation table (ex. self relation employee/manager, just to control the name

Re: [JBoss-dev] EJB 2.0 CMP

2001-08-31 Thread Dave Smith
Dain Sundstrom wrote: Dave, After reviewing these comments I think we are making this way more complicated than it has to be. As far as I am concerned we should only need the relationship stuff in jbosscmp-jdbc.xml for relationships that use a relation table (ex. self relation

[JBoss-dev] EJB playing with finders

2001-08-31 Thread Dave Smith
I am trying a simple home method with a query Home method public java.util.Collection findByInQueue() throws java.rmi.RemoteException,javax.ejb.FinderException; ejb-jar.xml snippit query ejb-qlselect object(t) from transferhead t where status=' '/ejb-ql query-method

Re: [JBoss-dev] EJB 2.0 CMP

2001-08-31 Thread Dave Smith
Sorry if this is posted twice! Dain Sundstrom wrote: Dave, After reviewing these comments I think we are making this way more complicated than it has to be. As far as I am concerned we should only need the relationship stuff in jbosscmp-jdbc.xml for relationships that use a relation

Re: [JBoss-dev] EJB playing with finders

2001-09-03 Thread Dave Smith
: Dave Smith [mailto:[EMAIL PROTECTED]] Sent: Friday, August 31, 2001 8:12 AM To: [EMAIL PROTECTED] Subject: [JBoss-dev] EJB playing with finders I am trying a simple home method with a query Home method public java.util.Collection findByInQueue() throws java.rmi.RemoteException

Re: [JBoss-dev] EJB 2.0 CMP

2001-09-03 Thread Dave Smith
Got it now ... but it is still not seeing eye to eye ... comments below .. Dain Sundstrom wrote: Dave, We still don't see eye-to-eye, and I think I made the problem worse with my example. I think the most common type of relationship will be something like 'a cd has an artist' or 'a cd

[JBoss-dev] EJB/QL - JBoss extentions

2001-09-21 Thread Dave Smith
Well after doing some paying work I'm back to looking at and testing the new EJB 2.0 query methods. I have taken my current application (not written in EJB) and tried to convert some of it into EJB. I have come across the following problems/holes in the EJB/QL spec. Below is a summary of

Re: [JBoss-dev] EJB/QL - JBoss extentions

2001-09-24 Thread Dave Smith
Close, but what if my initial list is 1 million records. That means that you still have to load and create 1 million pk's. I think you need to define the query and return the list. When the Collection asks for the next record or record # 10 then you not only need to load the record but also

Re: [JBoss-dev] EJB/QL - JBoss extentions

2001-09-24 Thread Dave Smith
Keep the result set open, retieve from the set as necessary, probably using a cursor. That way if someone is doing a search that has 1 million records and after I display the first 10 and the client chooses the 3rd one, we have only created 10 objects. Oleg Nitz wrote: Dave Smith wrote

Re: [JBoss-dev] EJB/QL - JBoss extentions

2001-09-24 Thread Dave Smith
As normal dain converts my ramblings into good ideas .. Comments below .. I suggest that we add an order element to the query section in jbosscmp-jdbc.xml file. Something like query descriptionFind all orders with the specified status/description query-method

Re: [JBoss-dev] EJB/QL - JBoss extentions

2001-09-24 Thread Dave Smith
Oleg Nitz wrote: Dave Smith wrote: Keep the result set open, retieve from the set as necessary, probably using a cursor. That way if someone is doing a search that has 1 million records and after I display the first 10 and the client chooses the 3rd one, we have only created 10 objects

Re: [JBoss-dev] EJB/QL - JBoss extentions

2001-09-24 Thread Dave Smith
Ok, so 20 or so e-mails later the summary .. 1) Right now if I want to use order I have to use declared-sql with an order by clause but dain wants to add an order tag to the xml config file. 2) For dynamic queries I just use declared-sql and do my normal SQL query. This could also be used if

Re: [JBoss-dev] EJB/QL - JBoss extentions

2001-09-24 Thread Dave Smith
See below .. Ignacio Coloma wrote: Dave Smith wrote: Keep the result set open, retieve from the set as necessary, probably using a cursor. That way if someone is doing a search that has 1 million records and after I display the first 10 and the client chooses the 3rd one, we have only

[JBoss-dev] Raw-sql

2001-10-19 Thread Dave Smith
I am trying to use the raw-sql feature of jbosscmp-jdbc.xml. Now as far as I can see it looks like it is not implemented. The JDBCRawSqlQueryMetaData does not store the query in the .xml file only the method. The JDBCFindEntitiesCommand only checks for

Re: [JBoss-dev] Raw-sql

2001-10-19 Thread Dave Smith
-Original Message- From: Dave Smith [mailto:[EMAIL PROTECTED]] Sent: Friday, October 19, 2001 3:57 PM To: [EMAIL PROTECTED] Subject: [JBoss-dev] Raw-sql I am trying to use the raw-sql feature of jbosscmp-jdbc.xml. Now as far as I can see it looks like it is not implemented

Re: [JBoss-dev] Update on ASPLoginModule - cancelled

2001-10-31 Thread Dave Smith
I'm assuming the properties based Principle would allow you to call sessionContext.getCallerPrincipal() and then retreive certain properties like companyId, branchId etc If you wanted to get this stuff out of the Database would you just not have to extend DatabaseServerLoginModule and

Re: [JBoss-dev] JVM crash on linux

2001-11-05 Thread Dave Smith
I foudn that starting the jvm with -hotspot instead of server helped me. Ferguson, Doug wrote: We had some problems on linux with a runaway java process. The process hangs at 99% and cannot be stopped. We found out that it has to do will file io. We can even recreate it with perl. We have

Re: [JBoss-dev] 1 to Many Relations

2001-11-16 Thread Dave Smith
Dain Sundstrom wrote: OK i'm playing with the latest RH CVS and testing out 1 to many relations (bi directional). So .. Table1 { primary_key int, } TableMany { primary_key int, table1_key int, } class Table1 { int getPrimary_key() Collection getTableMany(); } class TableMany

Re: [JBoss-dev] 1 to Many Relations

2001-11-16 Thread Dave Smith
When it tries to load the CDTrack relation it generates the following sql statement .. select uuid from CDTrack where composer_composed_songs=? should be .. select uuid from CDTrack where composer=? Dain Sundstrom wrote: I'm using xdoclet to generate the ejb-jar.xml file. When you are

Re: [JBoss-dev] 1 to Many Relations

2001-11-16 Thread Dave Smith
explaining the suggestion explain why you would not get a name collision. -dain -Original Message- From: Dave Smith [mailto:[EMAIL PROTECTED]] Sent: Friday, November 16, 2001 12:22 PM To: Dain Sundstrom Cc: [EMAIL PROTECTED] Subject: Re: [JBoss-dev] 1 to Many Relations When

Re: [JBoss-dev] 1 to Many Relations

2001-11-19 Thread Dave Smith
Comments inline .. Dain Sundstrom wrote: Finally, we are on the same page ..not even a blue moon ... About time :) Yup this is a suggestion. I agree 100% we need to avoid using jbosscmp-jdbc.xml. Ultimately at the database level for each table there has to be a unique column

Re: [JBoss-dev] 1 to Many Relations

2001-11-19 Thread Dave Smith
Ok, you are not getting it. I am it's just that the moon is gone ;) Although JBossCMP does not generate the column names you would like, the system still runs. Is that correct? (i.e., this is still a suggestion) If I use the jbosscmp-jdbc.xml file I can get it to work. Ok now that

Re: [JBoss-dev] 1 to Many Relations

2001-11-19 Thread Dave Smith
changing the naming convention wouldn't be necessary to get it to work by default. Sorry if this is not the problem, and I have missed the point. If so, please just ignore me. -Dan On 19 Nov 01, at 11:05, Dave Smith wrote: e.net https://lists.sourceforge.net/lists/listinfo/jboss

Re: [JBoss-dev] 1 to Many Relations

2001-11-19 Thread Dave Smith
If I use the jbosscmp-jdbc.xml file I can get it to work. Do you have to use the jbosscmp-jdbc.xml file? If you don't, what happens? Does the system generate two columns with the same name? The database table already exsists. Basically I have to use foreign-key-fields and set

Re: [JBoss-dev] 1 to Many Relations

2001-11-20 Thread Dave Smith
Uncle. It seems that JBOSS is designed assuming that it has full control of creating tables. Well in my case I already have a database allready set up so my view of things is how do I stuff this database into JBOSS. I don't think it is worth the discussion which approach is right or wrong

Re: [JBoss-dev] Current CVS build.

2001-11-21 Thread Dave Smith
Doh! have to copy run.jar to the bin dir not just the libs. Dain Sundstrom wrote: I updated about 20 minutes ago and it works fine for me. -dain -Original Message- From: Dave Smith [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 20, 2001 4:58 PM To: [EMAIL PROTECTED] Subject

[JBoss-dev] jbosscmp-jdbc.xml

2001-11-22 Thread Dave Smith
I see we have !ELEMENT foreign-key-mapping (ejb-relationship-role, ejb-relationship-role)? Should this not be !ELEMENT foreign-key-mapping (ejb-relationship-role, ejb-relationship-role?) I think for a uni-directional relationship there

Re: [JBoss-dev] Rabbit Hole with PostgreSQL

2001-11-19 Thread Dave Smith
Here is my postgresql-default-service.xml that is in the deploy directory Hunter Hillegas wrote: I am starting to test my app on RH/3.0alpha so I need to get it running against Postgres 7.1. It looks like the config for datasources has changed/moved quite a bit. What files do I need to

Re: [JBoss-dev] 2.0 jar Really Likes DefaultDS?

2001-11-19 Thread Dave Smith
In your postgresql-default-service.xml what do you have as the JnDIname and the name of the Mbean? Hunter Hillegas wrote: I am deploying a 2.0EJB jar into RH3. Here's my jbosscmp-jdbc.xml file: ?xml version=1.0 encoding=UTF-8? !DOCTYPE jbosscmp-jdbc jbosscmp-jdbc defaults

Re: [JBoss-dev] 2.0 jar Really Likes DefaultDS?

2001-11-20 Thread Dave Smith
Well if you want to get down and dirty in jboss/server/src/main/org/jboss/ejb/plugins/cmp/jdbc/metadata/JDBCEntityMetaData.java line 336 is where it sets the datasouce for each entity. On line 343 you could add System.out.println(Enity = +entityName+ +dataSourceNameString+

Re: [JBoss-dev] 2.0 jar Really Likes DefaultDS?

2001-11-20 Thread Dave Smith
:/DefaultDS null It's apparently trying to use DefaultDS even though I explicitly tell it not to in the jbosscmp-jdbc.xml file... If your config is working correctly, I'm stumped! From: Dain Sundstrom [EMAIL PROTECTED] Date: Tue, 20 Nov 2001 14:56:24 -0600 To: 'Dave Smith' [EMAIL PROTECTED

Re: [JBoss-dev] Is defaultscreate-table working?

2001-11-29 Thread Dave Smith
Ever since I have used RH it has never worked. Dain Sundstrom wrote: It should work, but I don't know. I'll check it out. -dain -Original Message- From: Ignacio Coloma [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 29, 2001 4:15 PM To: Jboss Development Subject:

Re: [JBoss-dev] Off Topic: Disable underline text in vim?

2002-12-05 Thread Dave Smith
/usr/local/share/vimvim version/syntax/java.vim tells what patterns get which functions. In the same directory synload.vim maps those functions to colour. On Thu, 2002-12-05 at 15:39, Dain Sundstrom wrote: The is completely off topic... Does anyone know how to completely disable underlined

Re: [JBoss-dev] [JBoss-user] JBoss-3.0.5 release available

2003-01-13 Thread Dave Smith
I am I blind? I see 3.2 beta and 3.0.4 but no 3.0.5? On Mon, 2003-01-13 at 06:40, Scott M Stark wrote: The 3.0.5 release of JBoss is available from SourceForge here: https://sourceforge.net/project/showfiles.php?group_id=22866 Detailed change notes are available here:

[JBoss-dev] Securing JNDI http invoker.

2003-02-03 Thread Dave Smith
I am using JBOSS 3.0.6 and am trying to secure the JNDI invoker via https. Looking at the code there seems to such way to do this. How do you get the current username and password from the current login context? It would be fairly trival to check the return value, if it is 401 then retry with

Re: [JBoss-dev] Securing JNDI http invoker.

2003-02-04 Thread Dave Smith
showing how to access a secured JNDI invoker over http. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: Dave Smith [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 03, 2003 8:33 AM

Re: [JBoss-dev] AOP versioned ACID objects 1st iteration

2003-03-26 Thread Dave Smith
Too bad that the whole world is more intretsed whether or not JBOSS will become J2EE certified. I was reading an article about Unintended Consequences that made me think of the current J2EE cerification vs. JBOSS 4.0 with AOP. In 1349 the black plague was spreading around Europe. In castles

Re: [JBoss-dev] AOP versioned ACID objects 1st iteration

2003-03-26 Thread Dave Smith
:rotfl .. a Frenchman wanting action This is hot shit. Plain and simple. Take the J2EE spec and piss all over it. When you wrote it your mind was small and feeble, we have seen the light. The question is how long before the world realizes it or does J2EE implode and we all are paying

Re: [JBoss-dev] ClassCircularityError - PROBLEM FOUND !

2002-06-05 Thread Dave Smith
I just took Simone's patch and applied it to the 3_0 branch. it did not work. Here is the stacktrace. ... Cause: java.lang.ClassCircularityError: java/lang/String 07:57:09,416 ERROR [STDERR] at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:307)

RE: [JBoss-dev] ClassCircularityError - PROBLEM FOUND !

2002-06-05 Thread Dave Smith
On Wed, 2002-06-05 at 08:36, Bordet, Simone wrote: Hi Dave, I just took Simone's patch and applied it to the 3_0 branch. Do you mean what I committed to HEAD 2-3 hrs ago ? yes version 1.12 it did not work. Here is the stacktrace. ... Cause: java.lang.ClassCircularityError:

RE: [JBoss-dev] ClassCircularityError - PROBLEM FOUND !

2002-06-05 Thread Dave Smith
Well after alot of tracking down it looks like it is comming from the JVM itself. Looking at the code snippet it checks to see if the class is in the table *before* calling the classloader. I can not generate a stack trace for the life of me anywhere ... Any other pointers .. On Wed, 2002-06-05

RE: [JBoss-dev] ClassCircularityError - PROBLEM FOUND !

2002-06-05 Thread Dave Smith
' (typically the loadClass method). Th On Wed, 2002-06-05 at 11:17, Dave Smith wrote: Well after alot of tracking down it looks like it is comming from the JVM itself. Looking at the code snippet it checks to see if the class is in the table *before* calling the classloader. I can not generate

RE: [JBoss-dev] ClassCircularityError - PROBLEM FOUND !

2002-06-05 Thread Dave Smith
OK. wrapped up the target method in CCE. These are thrid party libs and I believe smoewhere in the bowels they use forName() and newInstance(). What I don't understand is why I do not see it going through the UCL. or at least a classloader. Here is the bt 11:48:58,960 ERROR [STDERR]

RE: [JBoss-dev] ClassCircularityError - PROBLEM FOUND !

2002-06-05 Thread Dave Smith
I have decompilied it before to make some sense of it. I now there is a class.forName and a newInstance but I don't think they use there own classloader. All of the classes are in the deploy directory not in the jboss lib dir. The -sevice.xml file that starts this is has them in a classpath def

RE: [JBoss-dev] ClassCircularityError - PROBLEM FOUND !

2002-06-05 Thread Dave Smith
From my CCE catch block catch(ClassCircularityError err) { err.printStackTrace(); System.out.println(com.candata.gateway.EncryptionService +com.candata.gateway.EncryptionService.class.getClassLoader().getClass().getName());

RE: [JBoss-dev] ClassCircularityError - PROBLEM FOUND !

2002-06-05 Thread Dave Smith
org.jboss.mx.loading.UnifiedClassLoader On Wed, 2002-06-05 at 13:53, Dave Smith wrote: From my CCE catch block catch(ClassCircularityError err) { err.printStackTrace(); System.out.println(com.candata.gateway.EncryptionService

[JBoss-dev] JBoss through firwall - RMI -HTTP tunneling

2002-06-12 Thread Dave Smith
Now I have my swing client running with a jboss backend I would like to move this beast out on to the internet. Some of my clients have firewalls that only allow them http and https access through a proxy, so a direct connection is out. It would seem I could optimize this by writting a custom

Re: [JBoss-dev] JBoss through firwall - RMI -HTTP tunneling

2002-06-12 Thread Dave Smith
: On 12 Jun 2002, Dave Smith wrote: Now I have my swing client running with a jboss backend I would like to move this beast out on to the internet. Some of my clients have firewalls that only allow them http and https access through a proxy, so a direct connection is out. It would seem I

[JBoss-dev] JBOSS CMP - relations not using DefaultDS

2002-06-14 Thread Dave Smith
If I have two tables a nd b that are related with a forgien key but the tables are not in the default datasource it tries to bind the relation to the default datasource. In JDBCCMRFieldBridge.java it should set the default Datasource for the relation from the JDBCEntityBridge.java. If it is

Re: [JBoss-dev] JBOSS CMP - relations not using DefaultDS

2002-06-14 Thread Dave Smith
for b in thew RemoteDb instead of the LocalDb. New Dad , lack of sleep ... I hope this is clear ... On Fri, 2002-06-14 at 13:40, Dain Sundstrom wrote: Dave Smith wrote: If I have two tables a nd b that are related with a forgien key but the tables are not in the default datasource

Re: [JBoss-dev] JBOSS CMP - relations not using DefaultDS

2002-06-14 Thread Dave Smith
for b in thew RemoteDb instead of the LocalDb. New Dad , lack of sleep ... I hope this is clear ... On Fri, 2002-06-14 at 13:40, Dain Sundstrom wrote: Dave Smith wrote: If I have two tables a nd b that are related with a forgien key but the tables are not in the default datasource

Re: [JBoss-dev] Has the CCE problem been fixed?

2002-06-18 Thread Dave Smith
There is a patch for 1 of the cases of CCE. There is also a bug in Sun's JVM that we can not hack around. JRockit does not have this problem. On Tue, 2002-06-18 at 14:49, Dain Sundstrom wrote: It has. Marc is still playing catch-up with his email. -dain Jason Dillon wrote: I thought

RE: [JBoss-dev] http transport

2002-06-21 Thread Dave Smith
The HTTP RMI tunning is the shits. Firstly there is no option to go with https without getting really ugly. Secondly, the whole cgi-script or servlet which then calls the local rmi listener generates two network calls for lookup. Since jetty is running in the container the servlet lookup should

RE: [JBoss-dev] http transport

2002-06-27 Thread Dave Smith
Snip ... You mean no url provider, but jndi.properties (=environment)? OK. But I can't live with global jndi.properties. I need them on a per *-ref basis, because the components I connect are spreaded across several different application servers. It would seem that you would still want

[JBoss-dev] secure JNDI with http invoker

2002-10-29 Thread Dave Smith
I am trying to use the http invoker with the NamingContextFactory in jboss 3.2 beta I have the following properties Properties p = System.getProperties(); p.put(Context.INITIAL_CONTEXT_FACTORY,org.jboss.naming.HttpNamingContextFactory);

[JBoss-dev] Jetty bug rear's it's head again

2002-10-29 Thread Dave Smith
JBOss 3.2 beta (CVS) If you are doing form based authenication you get a redirection error. ie when jetty goes to load the form page it thinks it need's to authorize this page .. goes into an endless loop and then you get an htp error. Jules?

Re: [JBoss-dev] Jetty bug rear's it's head again

2002-10-29 Thread Dave Smith
Throw Form based authentication on the jmx-console in the default jboss setup. I'm sure you know the syntax ;-) Jules Gosnell wrote: Dave Smith wrote: JBOss 3.2 beta (CVS) If you are doing form based authenication you get a redirection error. ie when jetty goes to load the form page

Re: [JBoss-dev] Jetty bug rear's it's head again

2002-10-30 Thread Dave Smith
- Original Message - From: Dave Smith [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 29, 2002 6:07 PM Subject: Re: [JBoss-dev] Jetty bug rear's it's head again Throw Form based authentication on the jmx-console in the default jboss setup

[JBoss-dev] Dependencies jboss 3.2 beta

2002-11-11 Thread Dave Smith
I have a -service.xml file that has an mbean that depends on an ejb. My line looks like dependsjboss.j2ee:jndiName=cadex/Transferhead,service=EJB/depends Now the problem is that some off the method signatures in the MBean contain references to the EJB and thus when the Mbean is created I am

[JBoss-dev] http deployer - 3.2 CVS

2002-11-14 Thread Dave Smith
JBOSS 3.2 CVS (Last night) Linux 2.2 / JVM 1.3.1/Blackdown I am testing the http to deploy an ear. Deploy .. lynx -dump

[JBoss-dev] standardjbosscmp-jdbc.xml

2002-01-04 Thread Dave Smith
Could someone please add the numeric type to PostgreSQL in standardjbosscmp-jdbc.xml mapping java-typejava.math.BigDecimal/java-type jdbc-typeNUMERIC/jdbc-type sql-typeNUMERIC/sql-type /mapping ___ Jboss-development mailing

Re: [JBoss-dev] Am I a clown?

2002-01-09 Thread Dave Smith
Putting on his big shoes ... HashMap is not syncnronized, possible another thread is modifing the HashMap? or You are modifing the set inside the loop? marc fleury wrote: So I just spent 2 hours spotting the following interesting bug HashMap deployments ... Iterator it =

[JBoss-dev] more standardjboss-cmp.xml

2002-01-10 Thread Dave Smith
For postgresql the Boolean mapping is wrong. Should be mapping java-typejava.lang.Boolean/java-type jdbc-typeBIT/jdbc-type sql-typeBOOLEAN/sql-type /mapping ___ Jboss-development mailing list [EMAIL PROTECTED]

Re: [JBoss-dev] more standardjboss-cmp.xml

2002-01-14 Thread Dave Smith
: Dave Smith [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 10, 2002 8:33 AM To: [EMAIL PROTECTED] Subject: [JBoss-dev] more standardjboss-cmp.xml For postgresql the Boolean mapping is wrong. Should be mapping java-typejava.lang.Boolean/java-type jdbc-typeBIT/jdbc-type sql

[JBoss-dev] Bug in relations

2002-01-14 Thread Dave Smith
I was testing the current state of the relation code and I believe I have stumbled across a bug. If the primary key class of relationship is different then it bombs. So if you have table_a and table_b in a 1-1 uni-directional relationship with table_a primary key class of TableAPk and table_b

Re: [JBoss-dev] Problems with 'jboss-mq' and autodeployer

2002-01-14 Thread Dave Smith
The name space has changed. It is now jboss.system not JBOSS-SYSTEM. Brian Weaver wrote: Ok, I'm at a loss as to what's going on in the JBossMQ module of CVS. I've been making changes to the underlying OIL transport module of JBoss and I still need to propagate those changes to the UIL

[JBoss-dev] More relationship stuff

2002-01-17 Thread Dave Smith
I've pulled the latest jboss head and I am testing a 1-1 uni directional relationship. The database tables are already created. So I have create table test_cust ( test_cust_id int PRIMARY KEY, billing_address_id int ); create table test_address ( test_address_id int PRIMARY KEY, an_address

Re: [JBoss-dev] [Fwd: ScanMail Message: To Sender, sensitive content found and action t aken.]

2002-01-17 Thread Dave Smith
Me to. Guess I said pulled? Christian Riege wrote: he, upon my last CVS commit (and the following e-mail by SF) I got the attached reply. who the fuck (!) are these clowns? sorry for the spam ;) christian

[JBoss-dev] JAAS with MDB

2002-01-29 Thread Dave Smith
I am trying to get a MDB working with JAAS. Currently when message delivery is attempted it throws an error Authentication exception, principal=null. Now in the jms-service.xml I have added attribute name=PrincipalMappingProperties UserName=jboss Password=jboss1

Re: [JBoss-dev] JAAS with MDB

2002-01-31 Thread Dave Smith
-driven bean section. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: Dave Smith [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 29, 2002 2:08 PM Subject: [JBoss-dev] JAAS with MDB

Re: [JBoss-dev] JAAS with MDB

2002-01-31 Thread Dave Smith
Message - From: Dave Smith [EMAIL PROTECTED] To: Scott M Stark [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, January 31, 2002 7:47 AM Subject: Re: [JBoss-dev] JAAS with MDB It actually goes a little furthur than that. I first tried to take out the security interceptor

Re: [JBoss-dev] JAAS with MDB

2002-01-31 Thread Dave Smith
, LLC - Original Message - From: Dave Smith [EMAIL PROTECTED] To: Scott M Stark [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, January 31, 2002 8:56 AM Subject: Re: [JBoss-dev] JAAS with MDB So then in JMSContainerInvoker add the code to read

Re: [JBoss-dev] JAAS with MDB

2002-02-01 Thread Dave Smith
and credentials. - Original Message - From: Dave Smith [EMAIL PROTECTED] To: Scott M Stark [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, January 31, 2002 1:33 PM Subject: Re: [JBoss-dev] JAAS with MDB Ok. I have a hacked up version of JMSContainerInvoker working. Now currently

Re: [JBoss-dev] data source problems (hosed?)

2002-02-01 Thread Dave Smith
this really should be on user(next time) Check your jboss-service.xml to make sure the deployer names match, also in deploy/lib you need jboss-xa.rar, etc .. [EMAIL PROTECTED] wrote: When I deploy my mysql-service.xml file, it seems to wait for ever on these services that it depends on.

[JBoss-dev] Status of ear deployment

2002-02-05 Thread Dave Smith
I am using the current tip (9 am this morning). This ear deployed and worked before (the marc unified class loading) and now I am getting a class not found exception. Inside the war is WEB-INF/classes/tests/cadex/TestCompanyInfoBean.class and when I try to access it via a servlet I get (see

Re: [JBoss-dev] JBOSS @ JAVAONE TSHIRT CONTEST

2002-02-07 Thread Dave Smith
If you are truly ripping off Mikey D's then it should be Over hitCount/ Billion Served marc fleury wrote: I like it we would do One Billion Served marcf |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]]On Behalf Of Peter |Fagerlund |Sent: Thursday,

[JBoss-dev] Mbean dependancies

2002-02-12 Thread Dave Smith
Do we have any docs on this stuff? I'm tring to create a dependancy with a message driven Mbean that will wait until the topic it publishes is created and also wait until the EJB that it uses is deployed. From a quick look at the example with the TopicManager it looks like you have to create

Re: [JBoss-dev] Mbean dependancies

2002-02-12 Thread Dave Smith
OK. So a did a little digging and tried this .. dependsjboss.j2ee:service=EJB,jndiName=cadex/CompanyInfo/depends So it then delays startup but once the EJB is deployed it does not start the mbean. I'm I getting closer? Dave Smith wrote: Do we have any docs on this stuff? I'm tring to create

Re: [JBoss-dev] message selectors

2002-02-13 Thread Dave Smith
CVS as off 5pm EST Feb13 Jason Dillon wrote: What version of JBoss are you using? --jason On Wed, 2002-02-13 at 16:53, Dave Smith wrote: After having a bad day trying to get a message selector working for a topic listener I came across a few bugs. 1) If the message selector

  1   2   >