this problem?
Has SourceForge been notified?
--
Dave Smith
http://www.theappman.com
--
Dave Smith
http://www.theappman.com
---
SF email is sponsored by - The IT Product Guide
Read honest candid reviews on hundreds of IT Products from real
;
--
Dave Smith
Candata Systems Ltd
416-493-9020
---
SF email is sponsored by - The IT Product Guide
Read honest candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now
On Mon, 2005-03-28 at 13:45, Dave Smith wrote:
When trying to build, latest head CVS with jdk 1.5 the jmx module does
not compile. It has been like this since the jmx refactoring that
happened last week.
An example ..
jboss/jmx/src/main/org/jboss/mx/capability/DispatcherFactory.java:13
I think this one is for Bill ... ejb3 head build is broken ..
in tools/etc/buildmagic/libraries.ent
the path id=hibernate3.classpath needs to include
pathelement path=${hibernate.lib}/hibernate-annotations.jar/
On Mon, 2005-03-28 at 14:09, Dave Smith wrote:
Ok ..
cvs co j2se
cvs server
According to the latest draft spec the Query interface, method
getSingleResult should throw a EntityNotFoundException, in the CVS head
implementation it is ObjectNotFoundException. A simple rename seems to
fix the problem.
--
Dave Smith
CANdata Systems Ltd
416-493-9020
the method and it now compiles. Is this a
bug?
Dave Smith
CANdata Systems Ltd
416-493-9020
---
SF email is sponsored by - The IT Product Guide
Read honest candid reviews on hundreds of IT Products from real users.
Discover which products truly
Has anyone written the classes for apt to generate interfaces for
Statefull and Stateless Session beans?
--
Dave Smith [EMAIL PROTECTED]
---
SF email is sponsored by - The IT Product Guide
Read honest candid reviews on hundreds
{
invoker=ctx.getInvoker();
}
returnValue = invoker.invoke(invocation);
}
--
Dave Smith
CANdata Systems Ltd
416-493-9020
---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's
back port it.
Also I would like to add the the ability to have multiple jars
containing hbm.xml config files added to the hibernate config. I have
posted a patch on the hibernate website but I just thought I would
mention it here.
--
Dave Smith
CANdata Systems Ltd
416-493-9020
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
: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
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
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
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:
/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
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
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
- 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
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);
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
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
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
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
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
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
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
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
:
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
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)
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:
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
' (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
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]
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
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());
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
It's Monday
Sorry to be a pest but this is absolutely killing me. Anything I can do
to help?
On Fri, 2002-05-31 at 15:55, marc fleury wrote:
I think simone is almost there I will look at this this weekend I promise
marcf
|-Original Message-
|From: [EMAIL PROTECTED]
the jar or it's contents and getting any changes made are
nil.
On the upside the new loader has solved my class locking problems. 1
down 1 to go..
On Thu, 2002-05-30 at 15:05, Dave Smith wrote:
I'm Using Branch_3_0 latest .
Firstly my initial test of the locking code seems to work. I have
want to create
a testcase that produces this problem so we can create a unit
test.
Scott Stark
Chief Technology Officer
JBoss Group, LLC
- Original Message -
From: Dave Smith [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday
Are you sure? From your desription it would seem that the reason
loadClassInternal is syncronized is to stop this case from happening.
The way you are describing it it would not make any differnce, and the
resolve_instance_class_or_null is not thread safe.
On Fri, 2002-05-31 at 12:13, Bordet,
How about in the 3_0 branch?
On Thu, 2002-05-30 at 12:12, Bordet, Simone wrote:
Hi,
I have updated the ULR in HEAD to incorporate latest Adrian Brock's suggestions
(thanks Adrian), and made the relevant methods single threaded.
Adrian, if you can check if the changes I made correctly
I'm Using Branch_3_0 latest .
Firstly my initial test of the locking code seems to work. I have a
couple of other machines to test it on, I'll keep you posted ...
If I have two mbeans that are of the same class in an .xml file I get a
java.lang.ClassCircularityError. So ...
snip
mbean
I am still seeing a hang with the 3_0 branch. Start java with the
-Xdebug option. This will show where the lock is ...
On Wed, 2002-05-29 at 05:36, Adrian Brock wrote:
Hi Scott,
The hang is not predictable, but it is mostly on the RaTopicUnitTestCase.
Trying to dump the threads crashes the
I am using jboss 3.0 rc3. I am seeing a classloader lockup when I am
deploying an ear file. The two threads are below. I noticed that Simon
updated the classloader code , does this fix it? Is it only on the 3.1
branch?
CCRAPoll prio=5 tid=0x88adcf8 nid=0x20e waiting for monitor entry
Ok. Let me know when you are done. I will test it
On Fri, 2002-05-24 at 09:08, Bordet, Simone wrote:
Hi,
I am using jboss 3.0 rc3. I am seeing a classloader lockup when I am
deploying an ear file. The two threads are below. I noticed that Simon
updated the classloader code , does
The problem is not the configuration files its the interface. What you
really need is a gnome control panel type interface which would allow
you to configure and manage your jboss enviroment. This is bigest
problem with open source projects, no-one likes writting front ends,
it's boring and not
Well my simple test cases worked but I pulled out the heavy hitters and
managed to get a dead lock. Stack traces follow ...
Thread-23 prio=5 tid=0x81a4f60 nid=0x69cb waiting on monitor
[0xbe7fe000..0xbe7ffad8]
at java.lang.Object.wait(Native Method)
- waiting on 43a28660 (a
Yes
On Wed, 2002-04-24 at 09:52, marc fleury wrote:
Thread-23 prio=5 tid=0x81a4f60 nid=0x69cb waiting
on monitor
[0xbe7fe000..0xbe7ffad8]
CCRAPoll prio=5 tid=0x81b3940 nid=0x69b4 waiting
for monitor entry
[0xbb5ff000..0xbb5ffad8]
Thread-23 prio=5 tid=0x81a4f60 nid=0x69cb
,
CGJ
-Ursprüngliche Nachricht-
Von: Dave Smith [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 24. April 2002 13:45
An: [EMAIL PROTECTED]
Betreff: Re: [JBoss-dev] Workaround for JUNG's RFE and load deadlock
Well my simple test cases worked but I pulled out the heavy hitters
YES!!! Looks good. will continue to run with the -XDebug flag and let
you know if anything else comes up.
On Wed, 2002-04-24 at 10:35, marc fleury wrote:
Done,
Dave please test
Jung, thanks man
marcf
* * *
View thread online:
Marc fixed this problem. Make sure you have the latest CVS as of 12 EST
On Wed, 2002-04-24 at 20:21, Alarik Myrin wrote:
Alas, I am getting a little further, but still getting a deadlock. Below
please find the relavent stack traces. Here is my take on what they might
mean, in case it is
Start up jboss with the -Xdebug option to the JVM. It will then show the
locking.
On Mon, 2002-04-22 at 21:13, marc fleury wrote:
Unfortunately this VM doesn't show what object it locks on so I can't do the
same analysis I did with Dave Smith's dump, Dave, what VM were you using???
alarik
I brought this thing back to life and passed the URL of the orginal sun
bug that they rejected. Here is a quick stack trace of the deadlock.
Note that you should start jboss with the -Xdebug options so it shows
you what objects that it is trying to lock. See below for my orginal
post
CCRAPoll
After I have patched the loadClassInternal in the rt.jar I am still
seeing the jboss lock up on deployment. Here are the two threads that
are actually doing something . I can see why CCRAPoll is hung because
the main thread has locked that classloader. But the main thread is
waiting to lock a
I have a stateless session bean that sends a message on a Queue. Once it
has sent the message and returned (transaction closed) any new EJB's I
create, have the caller principals name set to null.
So in a ejbCreate() method after the message is sent ..
current
of security is configurable
and well defined.
Scott Stark
Chief Technology Officer
JBoss Group, LLC
- Original Message -
From: Dave Smith [EMAIL PROTECTED]
To: JBoss-dev [EMAIL PROTECTED]
Sent: Friday, April 19, 2002 8:56
I am using the CVS as of 8:30 EST April 15..
I have an ear file that looks like
45 Fri Apr 12 18:00:52 EDT 2002 META-INF/MANIFEST.MF
1030 Fri Mar 01 11:42:00 EST 2002 cadexTest.war
42033 Fri Apr 12 18:00:52 EDT 2002 cadex-test.jar
71832 Tue Feb 26 17:58:12 EST 2002 cactus.jar
117522 Thu
I am using the CVS as of this morning. When I try to create a new entity
I get the following backtrace. I am using the postgresql-service with
the SecurityDomainJndiName atrribute commented out. I am also seeing
weird messages to the STDOUT before
18:59:05,143 INFO [STDOUT] !getCompany_id
I am getting these errors over and over again on all of the EJB's I am
deploying
18:58:31,586 INFO [EJBDeployer]
Bean : cadex/AcrossResp
Method : public abstract EJBMetaData getEJBMetaData() throws
RemoteException
Section: 12.2.9
Warning: null
If the home is extended from EJBHome is this
I have a strange deadlock problem between two threads that are
completely unrelated. Could some-one point me in the right direction to
solve this problem. Here are the two threads in question ..
The first one ins accessing thrid party jars and the second one is
trying to look up an entity bean
I have fix this bug and have included a patch for it. Could one of the
JBOSS MQ guys look at it and please apply. Basically if the message
selector says that the message should not be delivered, it expires the
message. That way the message is still acknowledged and is cleaned up.
---
case, can I hard code the persistent message path in
the test?
Regards,
Hiram
From: Jason Dillon [EMAIL PROTECTED]
To: Dave Smith [EMAIL PROTECTED]
CC: Jboss-Development@Lists. Sourceforge. Net
[EMAIL PROTECTED]
Subject: Re: [JBoss-dev] Patch for bug 532983 - JBOSSMQ
Date: Tue, 09 Apr
How do I guarantee that my rar's that setup my default data source get
deployed before my EJB's?
Second un-related point. The current build seems broken I get
./build.sh
Ant version 1.4 compiled on September 3 2001
Searching for build.xml ...
Buildfile: /home/dave/jboss/build/build.xml
When deploying an ear I am getting
2002-03-01 09:39:05,228 ERROR
[org.jboss.management.j2ee.J2EEApplication] Could not create JSR-77
J2EEApplication: cadexTest.ear
javax.management.InstanceAlreadyExistsException:
Ding,Ding,Ding . Scott wins the prize. Duplicate jar in the deploy
directory and in the ear. So do we just need to make sure this
documented or should Jetty catch both exceptions?
Scott M Stark wrote:
A ClassNotFoundException is not being thrown because the class
being loaded is found in the
Ok what is the currennt status of the ear deployment in the latest head?
I am using a hacked version of cactus where I replaced Class.forName()
with Thread.currentThread.getContextClassLoader().loadClass(). My ear
looks like
0 Tue Feb 26 17:58:22 EST 2002 META-INF/
45 Tue Feb 26 17:58:22
If I have a topic with mulitple durable subscriptions and each of these
has a message selector. Should the message not be considered delivered
if the message is attempted to be delivered but the selector says that
the subscriber is not intersted in it? Currently it just seems to stay
in the
it my self), but if
you want, I'll look over your jj file when you finish.
-dain
Dave Smith wrote:
OK. it looks like it does not like the BOOLEAN token as a combo fo the
TRUE and FALSE tokens. Inlining them works. Patch inclosed.
Now the selector will parse but still does not deliver
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
in JavaCC?
--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 is invalid but the connection is not started
but no error is thrown. So if you
OK. it looks like it does not like the BOOLEAN token as a combo fo the
TRUE and FALSE tokens. Inlining them works. Patch inclosed.
Now the selector will parse but still does not deliver it properly.
Going to bed , have a look in the morning...
Dave Smith wrote:
Ok. First problem solved. We
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
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
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,
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
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
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.
-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
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
, 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
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
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
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
: 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
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
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
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]
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 =
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
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:
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
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
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
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+
:/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
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
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
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
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
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
1 - 100 of 140 matches
Mail list logo