[JBoss-user] [Fwd: Re: JBoss HSQLDB Remote Command Injection Vulnerability: Fixed in JBoss 3.2.2]

2003-10-23 Thread Ricardo Argüello
FYI

 Original Message 
Subject: Re: JBoss HSQLDB Remote Command Injection Vulnerability: Fixed 
in JBoss 3.2.2
Date: Thu, 23 Oct 2003 16:10:52 -0600 (MDT)
From: Aaron Adams <[EMAIL PROTECTED]>
To: rarguell uio.satnet.net
References: <[EMAIL PROTECTED]>

Ricardo,

I've made the associated changes to the bid to reflect the information
you've given me. If there are any problems please feel free to contact me
directly.
Also, if you could inform me when JBoss 3.0.9 has been released to the
public, I will again update the BID.
Thank you for the information.

Regards,
Aaron Adams
SecurityFocus owners,

The vulnerability:

JBoss HSQLDB Remote Command Injection Vulnerability
http://www.securityfocus.com/bid/8773
Has been addressed in the recent JBoss 3.2.2 release.

Here is the related CVS commit:
http://sourceforge.net/mailarchive/message.php?msg_id=6153888
The JBoss 3.0.9 release is not yet available, but the CVS 3.0.x version
should have the fix also. The fixed 3.0.9 release should be available soon.
Greetings,

Ricardo Argüello




---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] ClassCastException when using java.util.Set instead of java.util.Collection?

2003-10-23 Thread Alexey Loubyansky
Finders have to return Collection by the specification.

alex

Ivens Porto wrote:

Hi,

I'm using JBoss 3.2.2.

I have an entity bean (CMP) with a home method that returns all
instances of the bean, the method is called findAll. 

When using a return type of java.util.Collection in the findAll method,
my tests run fine.
But when I changed the type to java.util.Set my tests broked. When I
call findAll on the home interface of my bean I get a
java.lang.ClassCastException when using java.util.Set.
To make it clear, my home interface is:

public interface MyBeanHome
   extends javax.ejb.EJBHome
{
   public java.util.Collection findAll()
  throws javax.ejb.FinderException,java.rmi.RemoteException;
   /* other home method here */
}
The test I'm doing is very simple:

public void testFindAll()
{
   try {
   Collection col = beanHome.findAll();
   assertEquals(collectionExpectedSize, col.size());
   }
   catch (Exception e) {
   e.printStackTrace();
   Assert.fail(e.toString());
   }
}
If I use a Collection, as exemplified above, the test works. But if I
change to Set, both in the home interface and, of course in the test
too, a ClassCastException happens.
The stack trace indicates that it happens inside the home object proxy:


[junit] java.lang.ClassCastException
[junit] at $Proxy0.findAll(Unknown Source)
[junit] at
br.com.ose.smartmovie.tests.entities.MultiplexBeanTest.testFindAll(MultiplexBeanTest.java:95)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[junit] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[junit] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[junit] at java.lang.reflect.Method.invoke(Method.java:324)
[junit] at junit.framework.TestCase.runTest(TestCase.java:154)
[junit] at junit.framework.TestCase.runBare(TestCase.java:127)
[junit] at
junit.framework.TestResult$1.protect(TestResult.java:106)
[junit] at
junit.framework.TestResult.runProtected(TestResult.java:124)
[junit] at junit.framework.TestResult.run(TestResult.java:109)
[junit] at junit.framework.TestCase.run(TestCase.java:118)
[junit] at junit.framework.TestSuite.runTest(TestSuite.java:208)
[junit] at junit.framework.TestSuite.run(TestSuite.java:203)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java:848)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:556)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:532)
[junit] at org.apache.tools.ant.Task.perform(Task.java:341)
[junit] at org.apache.tools.ant.Target.execute(Target.java:309)
[junit] at
org.apache.tools.ant.Target.performTasks(Target.java:336)
[junit] at
org.apache.tools.ant.Project.executeTarget(Project.java:1339)
[junit] at
org.apache.tools.ant.Project.executeTargets(Project.java:1255)
[junit] at org.apache.tools.ant.Main.runBuild(Main.java:609)
[junit] at org.apache.tools.ant.Main.start(Main.java:196)
[junit] at org.apache.tools.ant.Main.main(Main.java:235)

Can anyone help to clarify this?

Thanks,




---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] 3.2.2 : Null primary key on create

2003-10-23 Thread Bill Burke
I'll be doing a 3.2.3RC1 release as soon as I can.

Rod Macpherson wrote:

Regarding this 64 column limit that was introduced and fixed, where do
we get the fix given that 3.2.2 has been released? Does that mean the
official release has been re-jarred with the fix or does it mean we have
to checkout a CVS branch or how exactly does that work? We have a couple
monster tables greater than 64 (warehouse-ish tables) so we need the
fix.
TIA,

Rod

---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

--

Bill Burke
Chief Architect
JBoss Group LLC.



---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] FK Columns cant have NOT NULL constraints

2003-10-23 Thread Alexey Loubyansky
3.2.2RC3

http://sourceforge.net/tracker/?func=detail&aid=784322&group_id=22866&atid=381174

alex

Denzil Fillis wrote:

Hi All

Is the following statement regarding Foreign keys in JBoss valid? If it is
in which version of JBoss will it be fixed?
"JBoss 3.0.x's CMP engine has this problem that FK columns can't have NOT
NULL constraints,
because it issues an insert/commit between ejbCreate() and ejbPostCreate().
This is according to the official pay CMP docs and own personal experience."
Kind regards
Denzil Fillis


---
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user




---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Problems with JMX Invoke Ant Task 3.2.2 (Try 2)

2003-10-23 Thread Mike Youngstrom








(Sorry for the possible duplicate post I originally sent
this 24 hours ago and never saw in on the List)

 

Hello,

 

I just upgraded to 3.2.2 from 3.2.2RC3 and now my ant target
that deploys my app using the JMX/Invoke task in jbossjmx-ant.jar fails. 
The exact same target worked perfectly in 3.2.2RC3.  Any ideas?

 

See the exception I’m getting below.  My target
is a very vanilla deploy based off of the example in
varia\src\main\org\jboss\ant\package.html

 

The host “youngm” is the name of my machine and
it does resolve correctly.

 

Mike

 

  [jmx]
javax.naming.NameNotFoundException: jmx:youngm:rmi not bound

  [jmx]
at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)

  [jmx]
at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)

  [jmx]
at org.jnp.server.NamingServer.getObject(NamingServer.java:509)

  [jmx]
at org.jnp.server.NamingServer.lookup(NamingServer.java:282)

  [jmx]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

  [jmx]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

  [jmx]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

  [jmx]
at java.lang.reflect.Method.invoke(Method.java:324)

  [jmx]
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)

  [jmx]
at sun.rmi.transport.Transport$1.run(Transport.java:148)

  [jmx]
at java.security.AccessController.doPrivileged(Native Method)

  [jmx]
at sun.rmi.transport.Transport.serviceCall(Transport.java:144)

  [jmx]
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)

  [jmx]
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)

  [jmx]
at java.lang.Thread.run(Thread.java:534)

  [jmx]
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)

  [jmx]
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)

  [jmx]
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)

  [jmx]
at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)

  [jmx]
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:528)

  [jmx]
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507)

  [jmx]
at javax.naming.InitialContext.lookup(InitialContext.java:347)

  [jmx]
at org.jboss.ant.JMX.execute(JMX.java:209)

  [jmx]
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)

  [jmx]
at org.apache.tools.ant.Task.perform(Task.java:341)

  [jmx]
at org.apache.tools.ant.Target.execute(Target.java:309)

  [jmx]
at org.apache.tools.ant.Target.performTasks(Target.java:336)

  [jmx]
at org.apache.tools.ant.Project.executeTarget(Project.java:1339)

  [jmx]
at org.apache.tools.ant.Project.executeTargets(Project.java:1255)

  [jmx]
at org.apache.tools.ant.Main.runBuild(Main.java:609)

  [jmx]
at org.apache.tools.ant.Main.start(Main.java:196)

  [jmx]
at org.apache.tools.ant.Main.main(Main.java:235)








Re: [JBoss-user] 3.2.2 : Null primary key on create

2003-10-23 Thread Scott M Stark
You have to get the 3.2 branch. There will be a 3.2.3RC1 next weekend.

--

Scott Stark
Chief Technology Officer
JBoss Group, LLC

Rod Macpherson wrote:

Regarding this 64 column limit that was introduced and fixed, where do
we get the fix given that 3.2.2 has been released? Does that mean the
official release has been re-jarred with the fix or does it mean we have
to checkout a CVS branch or how exactly does that work? We have a couple
monster tables greater than 64 (warehouse-ish tables) so we need the
fix.
TIA,

Rod


---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] FK Columns cant have NOT NULL constraints

2003-10-23 Thread Rod Macpherson
I am using this and it works great. Without this the INSERT happens after ejbCreate 
but you cannot set your CMRs until ejbPostCreate: hence the null constraint violations 
on foreign keys. With this switch the INSERT happens after ejbPostCreate giving you a 
chance to update the CMRs and by extension foreign keys will be fully populated. 





foobar
true




Note: The container name is not important, this configuration is applied to all of the 
CMP 2.0 beans listed in this jboss.xml file. 



-Original Message-
From: Meyer-Willner, Bernhard [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 23, 2003 1:35 AM
To: '[EMAIL PROTECTED]'
Subject: AW: [JBoss-user] FK Columns cant have NOT NULL constraints


>From 3.2.2. (some RC release) there is something like 
>. You can use this tag to define your own container 
>config that extends the standard CMP 2.x Entity Bean config. After that JBoss should 
>issue the insert after ejbPostCreate and NOT NOLL FK columns shouldn't be a problem 
>any longer. I haven't tried it myself, but I assume it should work.

Cheers, 
Bernie

-Ursprüngliche Nachricht-
Von: Denzil Fillis [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 23. Oktober 2003 08:42
An: '[EMAIL PROTECTED]'
Betreff: [JBoss-user] FK Columns cant have NOT NULL constraints


Hi All

Is the following statement regarding Foreign keys in JBoss valid? If it is in which 
version of JBoss will it be fixed?

"JBoss 3.0.x's CMP engine has this problem that FK columns can't have NOT NULL 
constraints, because it issues an insert/commit between ejbCreate() and 
ejbPostCreate(). This is according to the official pay CMP docs and own personal 
experience."

Kind regards
Denzil Fillis



---
This SF.net email is sponsored by OSDN developer relations Here's your chance to show 
off your extensive product knowledge We want to know what you know. Tell us and you 
have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
___
JBoss-user mailing list
[EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

This e-mail and any attachment is for authorised use by the intended recipient(s) 
only. It may contain proprietary material, confidential information and/or be subject 
to legal privilege. It should not be copied, disclosed to, retained or used by, any 
other party. If you are not an intended recipient then please promptly delete this 
e-mail and any attachment and all copies and inform the sender. Thank you.

LogicaCMG global sponsors, Gartner Symposium, Cannes, 4th -7th November 2003

http://symposium.gartner.com/story.php.id.3323.s.5.html

Please note that LogicaCMG does not have control over content from,or availability of, 
this website


---
This SF.net email is sponsored by OSDN developer relations Here's your chance to show 
off your extensive product knowledge We want to know what you know. Tell us and you 
have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
___
JBoss-user mailing list
[EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] new behavior in 3.2.2 - TransactionRolledbackLocalException

2003-10-23 Thread Jason Essington
On Thursday, October 23, 2003, at 05:08  AM, Alexey Loubyansky wrote:

Are there CMP fields mapped to the foreign key column? If not that is 
expected behaviour.
There are not CMP fields mapped to the foreign key column only CMR. are 
you saying that I could add CMP fields in addition to the CMR fields 
for these columns and then use the CMP field to check for the 
"inappropriate" values?

Jason Essington wrote:
I have some tables in a database that are used by some of my CMP/CMR 
entity beans. The foreign key columns in some of these tables don't 
have foreign key integrity checks enforced in the database, and 
rather than having null in the column when there is no foreign key 
they contain a 0 (zero). This database can be accessed (and changed) 
outside the scope of the J2EE application.
In 3.2.1 when the cmp engine ran across this situation it would just 
return a null object for the relationship, but in 3.2.2 the engine 
returns a non null object and the first time this object is accessed 
a NoSuchObjectLocalException is thrown and then rethrown as a 
TransactionRolledbackLocalException.
I suppose the new behavior is probably more "correct", but I would 
like to be able to handle this situation without rolling back my 
transaction. The problem is there doesn't seem to be a way to catch 
and handle the NoSuchObjectLocalException prior to it being rethrown 
as a TransactionRolledbackLocalException.
Any ideas on how to work around this new behavior?


---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] 3.2.2 : Null primary key on create

2003-10-23 Thread Rod Macpherson
Regarding this 64 column limit that was introduced and fixed, where do
we get the fix given that 3.2.2 has been released? Does that mean the
official release has been re-jarred with the fix or does it mean we have
to checkout a CVS branch or how exactly does that work? We have a couple
monster tables greater than 64 (warehouse-ish tables) so we need the
fix.

TIA,

Rod


---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] Balance JBoss Load

2003-10-23 Thread Rod Macpherson
I think his issue is that the number of jars and wars and ears that he
has on one system is swamping the boat. That is to say even if there was
one person using the system the problem would still exist.

-Original Message-
From: Joao Pedro Clemente [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 22, 2003 6:59 AM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Balance JBoss Load



One first tought that crossed my mind was to setup an apache in front,
directing the requests for the right machine by a URL match. Check
google for "apache load balancing", "apache ajp", ...

Both tomcat and Jetty can be plugued-in by ajp to a apache server in
front.

-- 
Joao Pedro Clemente
jpcl @ rnl.ist.utl.pt
(when not working out)
(when not sleeping)
(when not surfing)
(when not ... ;)

On Wed, 22 Oct 2003, sun zheng wrote:

> Hi all,
>
> I get to think about the topic. As we get more and more
> JARs in JBOSS_HOME/server/default/deploy, in order to
> balance the load, we plan to divide those JARs into
> multiple JBosses which are located in different Linux Servers.
>
> My question is, how to do it after installing
> independent JBosses?
>
> with best wishes
>
> Zheng Sun
>
> _
> Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
> http://join.msn.com/?page=features/featuredemail
>
>
>
> ---
> This SF.net email is sponsored by OSDN developer relations Here's your

> chance to show off your extensive product knowledge We want to know 
> what you know. Tell us and you have a chance to win $100 
> http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED] 
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>



---
This SF.net email is sponsored by: The SF.net Donation Program. Do you
like what SourceForge.net is doing for the Open Source Community?  Make
a contribution, and help us add new features and functionality. Click
here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] FK Columns cant have NOT NULL constraints

2003-10-23 Thread Scott M Stark
Its been fixed in the 3.2.2 release.


http://www.jboss.org/j2ee/dtd/jboss_3_2.dtd";>

   
  
ChildUPK
ChildUPKLocal
ejbPostCreate Container
...
  
   
   
  
 ejbPostCreate Container
 true
  
   



Scott Stark
Chief Technology Officer
JBoss Group, LLC

Denzil Fillis wrote:
Hi All

Is the following statement regarding Foreign keys in JBoss valid? If it is
in which version of JBoss will it be fixed?
"JBoss 3.0.x's CMP engine has this problem that FK columns can't have NOT
NULL constraints,
because it issues an insert/commit between ejbCreate() and ejbPostCreate().
This is according to the official pay CMP docs and own personal experience."
Kind regards
Denzil Fillis


---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] jboss 3.2.2 / tomcat and virtual host

2003-10-23 Thread Scott M Stark
Edit the jbossweb-tomcat41.sar/META-INF/jboss-service.xml descriptor.

--

Scott Stark
Chief Technology Officer
JBoss Group, LLC

[EMAIL PROTECTED] wrote:

Hallo,
I tried to configure virtual host as I read in Admin devel documentation.
But I cannot found file tomcat4-service.xml - to where I must put it?
Without it, I create onl war with WEB-INF/jboss-web.xml contained:

 /
 virthost

and jboss always shows this war as deafult.

To where I must put the tomcat4-service.xml or is there any other way?

Thanks, Jiri



---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] new behavior in 3.2.2 - TransactionRolledbackLocalException

2003-10-23 Thread Alexey Loubyansky
Are there CMP fields mapped to the foreign key column? If not that is 
expected behaviour.

alex

Jason Essington wrote:
I have some tables in a database that are used by some of my CMP/CMR 
entity beans. The foreign key columns in some of these tables don't have 
foreign key integrity checks enforced in the database, and rather than 
having null in the column when there is no foreign key they contain a 0 
(zero). This database can be accessed (and changed) outside the scope of 
the J2EE application.

In 3.2.1 when the cmp engine ran across this situation it would just 
return a null object for the relationship, but in 3.2.2 the engine 
returns a non null object and the first time this object is accessed a 
NoSuchObjectLocalException is thrown and then rethrown as a 
TransactionRolledbackLocalException.

I suppose the new behavior is probably more "correct", but I would like 
to be able to handle this situation without rolling back my transaction. 
The problem is there doesn't seem to be a way to catch and handle the 
NoSuchObjectLocalException prior to it being rethrown as a 
TransactionRolledbackLocalException.

Any ideas on how to work around this new behavior?

-jason



---
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user




---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] jboss 3.2.2 / tomcat and virtual host

2003-10-23 Thread konf
Hallo,
I tried to configure virtual host as I read in Admin devel documentation.

But I cannot found file tomcat4-service.xml - to where I must put it?
Without it, I create onl war with WEB-INF/jboss-web.xml contained:

 /
 virthost


and jboss always shows this war as deafult.

To where I must put the tomcat4-service.xml or is there any other way?

Thanks, Jiri


---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Problems with JMX Invoke Ant Task 3.2.2

2003-10-23 Thread Mike Youngstrom








Hello,

 

I just upgraded to 3.2.2 from 3.2.2RC3 and now my ant target
that deploys my app using the JMX/Invoke task in jbossjmx-ant.jar fails.  The
exact same target worked perfectly in 3.2.2RC3.  Any ideas?

 

See the exception I’m getting below.  My target is a
very vanilla deploy based off of the example in varia\src\main\org\jboss\ant\package.html

 

The host “youngm” is the name of my machine and
it does resolve correctly.

 

Mike

 

  [jmx] javax.naming.NameNotFoundException:
jmx:youngm:rmi not bound

  [jmx] at
org.jnp.server.NamingServer.getBinding(NamingServer.java:495)

  [jmx] at
org.jnp.server.NamingServer.getBinding(NamingServer.java:503)

  [jmx] at org.jnp.server.NamingServer.getObject(NamingServer.java:509)

  [jmx] at
org.jnp.server.NamingServer.lookup(NamingServer.java:282)

  [jmx] at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

  [jmx] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

  [jmx] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

  [jmx] at
java.lang.reflect.Method.invoke(Method.java:324)

  [jmx] at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)

  [jmx] at
sun.rmi.transport.Transport$1.run(Transport.java:148)

  [jmx] at
java.security.AccessController.doPrivileged(Native Method)

  [jmx] at
sun.rmi.transport.Transport.serviceCall(Transport.java:144)

  [jmx] at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)

  [jmx] at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)

  [jmx] at java.lang.Thread.run(Thread.java:534)

  [jmx] at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)

  [jmx] at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)

  [jmx] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)

  [jmx] at
org.jnp.server.NamingServer_Stub.lookup(Unknown Source)

  [jmx] at
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:528)

  [jmx] at
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507)

  [jmx] at
javax.naming.InitialContext.lookup(InitialContext.java:347)

  [jmx] at org.jboss.ant.JMX.execute(JMX.java:209)

  [jmx] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)

  [jmx] at org.apache.tools.ant.Task.perform(Task.java:341)

  [jmx] at
org.apache.tools.ant.Target.execute(Target.java:309)

  [jmx] at
org.apache.tools.ant.Target.performTasks(Target.java:336)

  [jmx] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)

  [jmx] at
org.apache.tools.ant.Project.executeTargets(Project.java:1255)

  [jmx] at
org.apache.tools.ant.Main.runBuild(Main.java:609)

  [jmx] at
org.apache.tools.ant.Main.start(Main.java:196)

  [jmx] at
org.apache.tools.ant.Main.main(Main.java:235)








RE: [JBoss-user] FK Columns cant have NOT NULL constraints

2003-10-23 Thread Rod Macpherson
Works great. Without this the INSERT happens after ejbCreate but you
cannot set your CMRs until ejbPostCreate: hence the null constraint
violations on foreign keys. With this switch the INSERT happens after
ejbPostCreate giving you a chance to update the CMRs and by extension
foreign keys will be fully populated. Override "Standard CMP 2.x
EntityBean" from jbossstandard.xml by adding the following to your
jboss.xml file:



... Stuff ...



foobar
 
true




Note: The container name is not important, this configuration is applied
to all of the CMP 2.0 beans listed in this jboss.xml file. 


---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Balance JBoss Load

2003-10-23 Thread Joao Pedro Clemente

One first tought that crossed my mind was to setup an apache in front,
directing the requests for the right machine by a URL match.
Check google for "apache load balancing", "apache ajp", ...

Both tomcat and Jetty can be plugued-in by ajp to a apache server in
front.

-- 
Joao Pedro Clemente
jpcl @ rnl.ist.utl.pt
(when not working out)
(when not sleeping)
(when not surfing)
(when not ... ;)

On Wed, 22 Oct 2003, sun zheng wrote:

> Hi all,
>
> I get to think about the topic. As we get more and more
> JARs in JBOSS_HOME/server/default/deploy, in order to
> balance the load, we plan to divide those JARs into
> multiple JBosses which are located in different Linux
> Servers.
>
> My question is, how to do it after installing
> independent JBosses?
>
> with best wishes
>
> Zheng Sun
>
> _
> Add photos to your e-mail with MSN 8. Get 2 months FREE*.
> http://join.msn.com/?page=features/featuredemail
>
>
>
> ---
> This SF.net email is sponsored by OSDN developer relations
> Here's your chance to show off your extensive product knowledge
> We want to know what you know. Tell us and you have a chance to win $100
> http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>



---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] PostgreSQL and NOT NULL integer fields

2003-10-23 Thread Ivens Porto
Hi,

I'm using JBoss 3.2.2 and PostgreSQL 7.3.4.

JBoss is doing something that I can't figure out why. 

In my CMP beans, JBoss always use the constraint NOT NULL for fields of
type integer, even thought I don't set the  property in
jbosscmp-jdbc.xml for the fields.

If the persistent field in the CMP bean is of type int or Integer, JBoss
creates the database table with the constraint NOT NULL for integer type
fields.

Does anyone knows why JBoss does this?
-- 
  _/_/_/   _/_/_/_/_/_/
Ivens Porto _/ _/_/_/
OSE - Open Systems Engineering _/ _/_/_/
http://www.ose.com.br _/ _/  _/_/_/  _/_/_/_/
Phone: (55) 34 - 3214-5995   _/ _/_/_/
Fax:   (55) 34 - 3214-5994  _/ _/_/_/
 _/_/_/_/_/_/   _/_/_/


---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] jboss.org extreeeemly slow

2003-10-23 Thread Holger Baxmann
On Thu, 23 Oct 2003 12:40:01 -0700, Scott M Stark <[EMAIL PROTECTED]> 
wrote:

Check your routes, its fast for me from Seattle.
oohhh, Seattle - snow already or take the rain all the place ???

;-)

Fairly fast from Bonn here too ... wondering, because i use the T-comics 


bax

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] jboss.org extreeeemly slow

2003-10-23 Thread Rod Macpherson
Snappy as a clam from San Diego...

-Original Message-
From: Scott M Stark [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 23, 2003 12:40 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] jboss.org extrmly slow


Check your routes, its fast for me from Seattle.
-- 

Scott Stark
Chief Technology Officer
JBoss Group, LLC


Eric J Kaplan wrote:

> What's happened recently that jboss.org takes forever to come up, if 
> it
> comes up at all?
> 
>  
> 
> Eric J. Kaplan
> 
> Armanta, Inc.
> 
> 350 Mt. Kemble Ave.
> 
> Morristown, NJ 07960
> 
>  
> 



---
This SF.net email is sponsored by: The SF.net Donation Program. Do you
like what SourceForge.net is doing for the Open Source Community?  Make
a contribution, and help us add new features and functionality. Click
here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Make EJBs dependent on MBean service

2003-10-23 Thread Scott M Stark
See the jboss_3_2.dtd




...
...



--

Scott Stark
Chief Technology Officer
JBoss Group, LLC

Sebastian Hauer wrote:

Hi,

We are having this problem that when we bring up an app server in a
clustered environment our beans accepts invocations as soon as they are
deployed.  Yet we would prefer it if they would not be "visible" to a
bean client until one of our Mean service and possibly its dependent
services are deployed.  It this possible?
Regards,
Sebastian


---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] jboss.org extreeeemly slow

2003-10-23 Thread Scott M Stark
Check your routes, its fast for me from Seattle.
--

Scott Stark
Chief Technology Officer
JBoss Group, LLC

Eric J Kaplan wrote:

What’s happened recently that jboss.org takes forever to come up, if it 
comes up at all?

 

Eric J. Kaplan

Armanta, Inc.

350 Mt. Kemble Ave.

Morristown, NJ 07960

 



---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] jboss.org extreeeemly slow

2003-10-23 Thread Eric J Kaplan








What’s happened recently that jboss.org takes forever
to come up, if it comes up at all?

 

Eric J. Kaplan

Armanta, Inc.

350 Mt. Kemble
  Ave.

Morristown, NJ 07960

 








RE: [JBoss-user] Faster java groups cluster configuration

2003-10-23 Thread Sebastian Hauer
Hi Bela,

> 
> It is going to take some time; not on top of my todo list...

That's all right, it is not all that important for my managers anymore
:)

Regards,
Sebastian

___
This message is for the named recipient's use only.  It may contain sensitive and 
private proprietary information.  No confidentiality is waived or lost by any 
incorrect transmission.  If you are not the intended recipient, please immediately 
delete it and all copies of it from your system, destroy any hard copies of it and 
notify the sender.  You must not, directly or indirectly, use, disclose, distribute, 
print, or copy any part of this message if you are not the intended recipient.  
Sakonnet Technology, LLC and its subsidiaries reserve the right to monitor all e-mail 
communications through their networks. Any views expressed in this message are those 
of the individual sender, except where the message states otherwise and the sender is 
authorized to state them to be the views of any such entity.  Unless otherwise stated, 
any pricing information given in this message is indicative only, is subject to change 
and does not constitute an offer to deal at any price quoted. Any reference to the 
terms of executed transactions should be treated as preliminary only and subject to 
our formal written confirmation. 



---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Make EJBs dependent on MBean service

2003-10-23 Thread Sebastian Hauer

Hi,

We are having this problem that when we bring up an app server in a
clustered environment our beans accepts invocations as soon as they are
deployed.  Yet we would prefer it if they would not be "visible" to a
bean client until one of our Mean service and possibly its dependent
services are deployed.  It this possible?

Regards,
Sebastian

___
This message is for the named recipient's use only.  It may contain sensitive and 
private proprietary information.  No confidentiality is waived or lost by any 
incorrect transmission.  If you are not the intended recipient, please immediately 
delete it and all copies of it from your system, destroy any hard copies of it and 
notify the sender.  You must not, directly or indirectly, use, disclose, distribute, 
print, or copy any part of this message if you are not the intended recipient.  
Sakonnet Technology, LLC and its subsidiaries reserve the right to monitor all e-mail 
communications through their networks. Any views expressed in this message are those 
of the individual sender, except where the message states otherwise and the sender is 
authorized to state them to be the views of any such entity.  Unless otherwise stated, 
any pricing information given in this message is indicative only, is subject to change 
and does not constitute an offer to deal at any price quoted. Any reference to the 
terms of executed transactions should be treated as preliminary only and subject to 
our formal written confirmation. 



---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] jBoss 3.2.2 OILServerILService Connection failure (1).

2003-10-23 Thread Torsten Terp

Hi, just started with jboss 3.2.2 final relase (Jetty version), and i get the 
following error after jboss has been running for a
while. Anyone seen this, or got some idea to whats happening?

2003-10-23 19:16:23,290 WARN  [org.jboss.mq.il.oil.OILServerILService] Connection 
failure (1).
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2133)
at 
java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2313)
at 
java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2380)
at 
java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2452)
at 
java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2601)
at java.io.ObjectInputStream.readByte(ObjectInputStream.java:845)
at 
org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.java:210)
at java.lang.Thread.run(Thread.java:534)
2003-10-23 19:16:23,320 WARN  [org.jboss.mq.Connection] Connection failure:
org.jboss.mq.SpyJMSException: Connection Failed; - nested throwable: 
(java.io.EOFException)
at org.jboss.mq.Connection.asynchFailure(Connection.java:718)
at org.jboss.mq.Connection$PingTask.run(Connection.java:1311)
at 
EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(ClockDaemon.java:364)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.io.EOFException
at 
java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2603)
at java.io.ObjectInputStream.readByte(ObjectInputStream.java:845)
at org.jboss.mq.il.oil.OILServerIL.waitAnswer(OILServerIL.java:601)
at org.jboss.mq.il.oil.OILServerIL.ping(OILServerIL.java:424)
at org.jboss.mq.Connection.pingServer(Connection.java:1141)
at org.jboss.mq.Connection$PingTask.run(Connection.java:1307)
... 2 more
2003-10-23 19:17:30,711 WARN  [org.jboss.mq.Connection] Connection failure:
org.jboss.mq.SpyJMSException: Connection Failed; - nested throwable: 
(java.io.IOException: ping timeout.)
at org.jboss.mq.Connection.asynchFailure(Connection.java:718)
at org.jboss.mq.Connection$PingTask.run(Connection.java:1311)
at 
EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(ClockDaemon.java:364)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.io.IOException: ping timeout.
at org.jboss.mq.Connection$PingTask.run(Connection.java:1303)
... 2 more



---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] LDAP Reader: does not work in EJB environment?

2003-10-23 Thread Radu Ux D.
Hi,

I have a strange experience (at least for me) using jldap from Novell. 
Here are two files attached, a simple class which try to read from a 
LDAP url, and the corresponding TestCase. The test class contains 2 
methods-test for reading from LDAP, one directly with the jldap 
functions, other through own reader. Let's suppose i have the CRL entry 
in LDAP (the entry searched: i see it with a ldap browser). Also i have 
running JBoss 3.2.1.

If i run the test using JUnit framework, usually () the test 
succeeds. "Usually" means: 9 times from 10! i really don't know why 
sometime the assert fails, like not finding the entry in ldap:
ldap-test:
   [junit] .F.
   [junit] Time: 2.326
   [junit] There was 1 failure:
   [junit] 1) 
testPublishCRL1(org.eupki.ca.test.LdapTest)junit.framework.AssertionFailedError
   [junit] at 
org.eupki.ca.test.LdapTest.testPublishCRL1(LdapTest.java:54)
   [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
   [junit] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   [junit] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   [junit] FAILURES!!!
   [junit] Tests run: 2,  Failures: 1,  Errors: 0

If i run the test using EJBTestCase, ussualy () the test fails. 
Again, "usually" means let's say 8 times from 10, and i don't know why 
sometime the test succeeds.
ldap-test:
   [junit] .F.
   [junit] Time: 1.671
   [junit] There was 1 failure:
   [junit] 1) 
testPublishCRL1(org.eupki.ca.test.LdapTest)junit.framework.AssertionFailedError
   [junit] at 
org.eupki.ca.test.LdapTest.testPublishCRL1(LdapTest.java:54)
   [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
   [junit] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   [junit] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   [junit] at 
net.sourceforge.junitejb.EJBTestCase.runBare(EJBTestCase.java:133)
   [junit] at 
net.sourceforge.junitejb.EJBTestRunnerBean.runTestCase(EJBTestRunnerBean.java:102)
   [junit] at 
net.sourceforge.junitejb.EJBTestRunnerBean.run(EJBTestRunnerBean.java:44)
   [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
   [junit] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   [junit] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   [junit] at 
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:629)
   [junit] at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
   [junit] at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
   [junit] at 
org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:144)
   [junit] at 
org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:62)
   [junit] at 
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)
   [junit] at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:117)
   [junit] at 
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
   [junit] at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
   [junit] at 
org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:322)
   [junit] at org.jboss.ejb.Container.invoke(Container.java:674)
   [junit] at sun.reflect.GeneratedMethodAccessor108.invoke(Unknown 
Source)
   [junit] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   [junit] at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
   [junit] at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
   [junit] at 
org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:359)
   [junit] at sun.reflect.GeneratedMethodAccessor107.invoke(Unknown 
Source)
   [junit] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   [junit] at 
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
   [junit] at sun.rmi.transport.Transport$1.run(Transport.java:148)
   [junit] at java.security.AccessController.doPrivileged(Native 
Method)
   [junit] at 
sun.rmi.transport.Transport.serviceCall(Transport.java:144)
   [junit] at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
   [junit] at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
   [junit] at java.lang.Thread.run(Thread.java:536)
   [junit] FAILURES!!!
   [junit] Tests run: 2,  Failures: 1,  Errors: 0

S

[JBoss-user] [OT] Frameworks

2003-10-23 Thread Eric Jain
Having spent a fair amount of time with Eclipse recently, I couldn't
help feeling that many of the concepts used for their plug-in
architecture would greatly improve complex server side applications. I'd
just like to pick out two issues; let me know if have any solutions or
workarounds...

1) Dependency management

Eclipse requires you to assign a unique identifiers to each deployable
unit, and allows dependencies to be specified based on these
identifiers. JBoss allows this on the level of individual MBeans, but I
am not sure there is any way to do the same for complete applications
(ear, war...). JBoss does assign identifiers to deployed applications
(looks something like
J2EEServer=Local,j2eeType=J2EEApplication,name=test.ear, I believe), but
I am not aware of any possibility to use this for specifying
dependencies (as a partial workaround you can rely on the alphabetic
ordering of your deployment units a la Linux rc.

2) Extensibility of web applications

It seems to be rather hard, if not impossible, to add pages, servlets,
tags etc. to an already deployed web application from another
application that is deployed independantly. This would be necessary if
you wanted to provide certain extension points (e.g. in the navigation
bar, overview page, dropdown menus etc.) in your core application. Does
anyone know of a framework that allows you to do such a thing, or must I
write my own (TM)?

--
Eric Jain



---
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Specifying deployment order in EAR - JBoss 3.2.2

2003-10-23 Thread Jonathan . O'Connor
Scott,
As Sherlock Holmes said (?), when all the probable causes have been 
eliminated, then we must look at the improbable causes!
The problem is the listener in the WAR is failing because the session 
beans do not exist.
And as the ejb jar was deployed first, then its deployment must have 
failed. I'll look into that and get back to you if I find anything.
Thanks,
Jonathan O'Connor
XCOM Dublin




Scott M Stark <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
20.10.2003 17:06
Please respond to jboss-user
 
To: [EMAIL PROTECTED]
cc: 
Subject:Re: [JBoss-user] Specifying deployment order in 
EAR - JBoss 3.2.2


ejb jars are deployed before wars so show the startup ordering. A test.ear
with ejbs and a war shows the ejbs started before the war:

09:14:48,246 INFO  [MainDeployer] Starting deployment of package: 
file:/tmp/jboss-3.2.2/server/default/deploy/test.ear/
09:14:48,247 INFO  [EARDeployer] Init J2EE application: 
file:/tmp/jboss-3.2.2/server/default/deploy/test.ear/
09:14:49,956 INFO  [EjbModule] Deploying BMPBean
09:14:50,216 INFO  [EjbModule] Deploying BMPCallbackBean
09:14:50,232 INFO  [EjbModule] Deploying CMPBean
09:14:50,272 INFO  [EjbModule] Deploying CMPBean2
...
09:14:53,536 INFO  [EJBDeployer] Deployed: 
file:/tmp/jboss-3.2.2/server/default/deploy/test.ear/cts.jar
09:14:53,794 INFO  [EmbeddedTomcatService] deploy, ctxPath=/traxbahn, 
warUrl=file:/tmp/jboss-3.2.2/server/default/deploy/test.ear/traxbahn.war/
09:14:54,312 INFO  [Engine] ContextConfig[/traxbahn]: Added certificates 
-> 
request attribute Valve
...
09:14:54,347 INFO  [Engine] StandardWrapper[/traxbahn:invoker]: Loading 
container servlet invoker
09:14:54,758 INFO  [EARDeployer] Started J2EE application: 
file:/tmp/jboss-3.2.2/server/default/deploy/test.ear/
09:14:54,758 INFO  [MainDeployer] Deployed package: 
file:/tmp/jboss-3.2.2/server/default/deploy/test.ear/

-- 

Scott Stark
Chief Technology Officer
JBoss Group, LLC


Jonathan.O'[EMAIL PROTECTED] wrote:

> Hi, I'm trying to migrate our code from JBoss 3.0.6 to 3.2.2 and I've 
got 
> a problem due to deployment order.
> My ear file has a backend.jar containing entity beans and session beans, 
a 
> frontend.war. In 3.0.6, the backend.jar was always deployed first before 

> the WAR. This meant that a listener in the WAR ran happily accessing 
> session beans in the backend.
> 
> But in 3.2.2 (and in RC4 too) I get an exception trying to run the 
> listener code in contextInitialized(). It seems that the session beans 
in 
> the backend.jar have not been loaded yet. Is there a way of setting a 
> dependency on the order of loading in 3.2.2? jboss-service.xml has a 
> depends clause, but that won't work for  or  stuff.
> 
> Any help would be greatly appreciated
> Ciao,
> Jonathan O'Connor
> XCOM Dublin



---
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user




---
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


AW: [JBoss-user] FK Columns cant have NOT NULL constraints

2003-10-23 Thread Meyer-Willner, Bernhard
From 3.2.2. (some RC release) there is something like
. You can use this tag to define your own
container config that extends the standard CMP 2.x Entity Bean config. After
that JBoss should issue the insert after ejbPostCreate and NOT NOLL FK
columns shouldn't be a problem any longer. I haven't tried it myself, but I
assume it should work.

Cheers, 
Bernie

-Ursprüngliche Nachricht-
Von: Denzil Fillis [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 23. Oktober 2003 08:42
An: '[EMAIL PROTECTED]'
Betreff: [JBoss-user] FK Columns cant have NOT NULL constraints


Hi All

Is the following statement regarding Foreign keys in JBoss valid? If it is
in which version of JBoss will it be fixed?

"JBoss 3.0.x's CMP engine has this problem that FK columns can't have NOT
NULL constraints,
because it issues an insert/commit between ejbCreate() and ejbPostCreate().
This is according to the official pay CMP docs and own personal experience."

Kind regards
Denzil Fillis



---
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

This e-mail and any attachment is for authorised use by the intended recipient(s) 
only. It may contain proprietary material, confidential information and/or be subject 
to legal privilege. It should not be copied, disclosed to, retained or used by, any 
other party. If you are not an intended recipient then please promptly delete this 
e-mail and any attachment and all copies and inform the sender. Thank you.

LogicaCMG global sponsors, Gartner Symposium, Cannes, 4th -7th November 2003

http://symposium.gartner.com/story.php.id.3323.s.5.html

Please note that LogicaCMG does not have control over content from,or availability of, 
this website


---
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] FK Columns cant have NOT NULL constraints

2003-10-23 Thread Denzil Fillis
Hi All

Is the following statement regarding Foreign keys in JBoss valid? If it is
in which version of JBoss will it be fixed?

"JBoss 3.0.x's CMP engine has this problem that FK columns can't have NOT
NULL constraints,
because it issues an insert/commit between ejbCreate() and ejbPostCreate().
This is according to the official pay CMP docs and own personal experience."

Kind regards
Denzil Fillis



---
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user