[JBoss-dev] resource-ref vs resource-env-ref

2002-06-08 Thread Alex Loubyansky

Hi guys.

I need your advice.

I map weblogic's dd's to jboss' equivalents for foe-deployer. Gloomy stuff :) But 
nevertheless...

In WL6.X there is a resource-description tag that is an equivalent of ours 
resource-ref and there is resource-env-description that is an equivalent of ours 
resource-env-ref.

Their dtd's look like this:



And for current WL's version (7.0 beta) BEA said that resource-description is no 
longer supported. It seems like ok for their dtd.

But what about mapping to jboss? I haven't actually tried to declare datasource 
resources in resource-env-ref but I don't see any drawback either. Is there any 
actually? May I just close my eyes on it?

TIA,

alex


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



Re: [JBoss-dev] cmp2 relations, mbeans, and the testsuite

2002-06-08 Thread Dain Sundstrom

David,

Maybe you can give me a hand with this; the deployment code is very 
confusing to me.  I currently have the following phases in deployment:

1) create: create the entities and resolves relationships (each side 
checks to see of the other side exists yet, so the second one to deploy 
resolves the relationship).  Part of the is step is to determine the 
exact db mapping, which means checking the DB metadata for naming rules.

2) start:  create the tables in the DB and compile the queries. We have 
to wait to the start phase for this because the queries may refer to the 
tables of other entities, which are not guaranteed to exists until start.

This works great for most cases, but violates the basic MBean startup 
rules, because I access the DataSource in create.  I think the simplest 
way to fix this (simplest to understand) is to use a 3 phase startup as 
follows:

MBean.create() calls create:  create the entities does not resolve the 
relationships or setup exact table mapping

MBean.start() calls new method init:  resolves relationships (all other 
entities exist) and sets exact table mapping using datasource

MBean.start() calls start:  finally we create the tables and compile the 
queries

Still with me?

Ok here is where I need your help David.  Can you add another sub phase 
inside of the EJB module (application) create to init the entities?  If 
you can do that I'll refractor the code into 3 separate phases.

-dain


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] Automated JBoss(HEAD) Testsuite Results: 9-June-2002

2002-06-08 Thread chris


Number of tests run:   733



Successful tests:  229
Errors:491
Failures:  13



[time of test: 9 June 2002 3:8 GMT]
[java.version: 1.3.0]
[java.vendor: IBM Corporation]
[java.vm.version: 1.3.0]
[java.vm.name: Classic VM]
[java.vm.info: J2RE 1.3.0 IBM build cx130-20020124 (JIT enabled: jitc)]
[os.name: Linux]
[os.arch: x86]
[os.version: 2.4.9-31]

Useful resources:

- http://lubega.com/testarchive/ibm_jdk13_20020124 for the junit report of this test.
- http://lubega.com/testarchive/ibm_jdk13_20020124/logs/ for the logs for this test.

- http://lubega.com for general test information.

NOTE: If there are any errors shown above - this mail is only highlighting 
them - it is NOT indicating that they are being looked at by anyone.
Remember - if a test becomes broken after your changes - fix it or fix the test!





Oh dear - still got some errors!



Thanks for all your effort - we really do love you!



___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] [ jboss-Patches-566263 ] JBoss-3.1.0alpha: Fixes deploying problems for "jboss-net.sar"

2002-06-08 Thread noreply

Patches item #566263, was opened at 2002-06-08 21:47
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376687&aid=566263&group_id=22866

Category: None
Group: v3.1
Status: Open
Resolution: None
Priority: 5
Submitted By: ycswyw (ycswyw)
Assigned to: Nobody/Anonymous (nobody)
Summary: JBoss-3.1.0alpha: Fixes deploying problems for "jboss-net.sar"

Initial Comment:
When "jboss-net.sar" is deployed, it looks for 
"javax.servlet.jar" in "$JBOSS_HOME/lib" (but it's 
located in
"$JBOSS_HOME/server/$JBOSS_CONFIG/lib"). 
   
The patch modifies "classpath" attribute (="lib") in file 
"jboss.net/src/resources/plugin/META-INF/jboss-service.xml",   
and corrects a reopened "XML comment" ("