RE: [JBoss-user] Where to put the Interceptor .class file?

2004-01-09 Thread Rod Macpherson
It is kinda fuzzy but  is for "client application" modules as a
non-web parallel to  modules. There is no harm in using it as a jar
loader if you are using a version of JBoss that supports it however it
will fail if you try to deploy it on another application server like
weblogic. There is no real downside to using Class-Path and a manifest
and that is definitely specification compliant so that is what I am
doing. 

AFA how Class-Path works, it's a hang-over from applet days. You load
one jar and it the loader checks the Class-Path and gets the dependent
jars automatically. That was extended to the EAR loader. When jars are
loaded from the EAR the Class-Path allows you to specify utility jars. A
utility jar can specify another utility jar, too. What tripped me up
many moons ago was that you do not create a META-INF/MANIFEST.MF and jar
that up but rather use the -m switch and point to any-old-file
containing the manifest file content. Then the jar command creates the
META-INF/MANIFEST.MF for you. If you have a META-INF/application.xml,
you have to specify that separately, as in:




... blah blah blah ...







-Original Message-
From: Jae Gangemi [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 09, 2004 1:48 PM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] Where to put the Interceptor .class file?



  interesting...

  i thought the purpose of the  tag was to specify any "non-ejb"
jar files that were accessible to the ear (and other applications if the
ear was not scoped). 

  is there anything really wrong w/ just using the  tag to expose
those jar files? you would have to change deployment descriptors if you
stopping using jboss in favor of something else (and why would one ever
want to do that) anyway.

  either way, i'll have to go investigate how the Class-Path in the
manifest file works. 

-jae 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rod
Macpherson
Sent: Friday, January 09, 2004 3:53 PM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] Where to put the Interceptor .class file?


That you can share jars using the  module is peculiar to JBoss. I
have been down this road before. A java module is an executable java
application that accesses EJBs just as the web application module does.
Why not define a  module for shared libraries with an EAR? Good
question, but as it now stands you have to use Class-Path in the
manifest. Seems inconsistent a bit clumsy but that's the way it is. 


-Original Message-
From: Jae Gangemi [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 09, 2004 12:04 PM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] Where to put the Interceptor .class file?



  i've also done the same thing - that's how we deploy our applications.
we define everything in the application.xml 
file so it can be located.

  is this not the "proper" way to do this? 

-jae 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Barlow,
Dustin
Sent: Friday, January 09, 2004 12:07 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [JBoss-user] Where to put the Interceptor .class file?


I successfully deployed a jar within an ear w/o having to set the
manifest classpath of other referring jars by putting the following in
the application.xml of the ear.



foo.jar



Dustin

> -Original Message-
> From: Bill Burke [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 09, 2004 12:00 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] Where to put the Interceptor .class file?
> 
> 
> You cannot put a jar within an EAR without adding a classpath to the 
> manifest file  You can place the interceptor in a separate JAR outside

> the EAR, or in the EJB-jar as well if you rather do that.
> 
> Bill
> 
> Jonathan.O'[EMAIL PROTECTED] wrote:
> 
> > Well, I've learned lots of interesting stuff following the
> "Where to put
> > an Interceptor class?" thread. However, I should have asked
> where does one
> > stick the class file,so it gets loaded in time for the
> interceptor stack
> > to work properly. Will any jar within an EAR do? Or does it
> have to be
> > placed in the /server/someConf/lib directory?
> > Ciao,
> > Jonathan O'Connor
> > XCOM Dublin
> > 
> > 
> > 
> > ---
> > This SF.net email is sponsored by: Perforce Software. Perforce is
> > the Fast Software Configuration Management
> System offering
> > advanced branching capabilities and atomic changes on 50+ platforms.

> > Free Eval! http://www.perforce.com/perforce/loadprog.html
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-user
> > 
> 
> --
> 
> Bill Burke
> Chief Architect
> JBoss Group LLC.
> 
> 
> 
> 
> 
> ---
> This SF.net em

RE: [JBoss-user] EAR with jboss-app.xml and wsr?

2004-01-09 Thread Chad Brandon
I do have it as a seperate module within my ear
fileand its defined as a java module within the
application.xml (contracts-poc.wsr).  But
I also need to include a jboss-app.xml in my ear, so I
can deploy other ear files within the same jboss
instance that may contain the same jar files but
different versions, etc.  Like I said below, it works
fine if I take out the jboss-app.xml file...but I need
the jboss-app.xml since it provides ear level scoping
of deployed classes.

Thanks,

Chad

--- Stephane Nicoll <[EMAIL PROTECTED]> wrote:
> No, I don't use jboss-app.xml but I deploy it as a
> separate module in my ear
> (just the same way as ejb-jar module and web
> applications).
> 
> Regards,
> 
> Stephane
> 
> 
> -Original Message-
> From: Chad Brandon [mailto:[EMAIL PROTECTED]
> Sent: Fri 1/9/2004 22:11
> To:   [EMAIL PROTECTED]
> Cc:   
> Subject:  RE: [JBoss-user] EAR with jboss-app.xml and
> wsr?
> Do you mean you don't put it in your ear file...but
> you just deploy it as a standalone wsr?
> 
> --- Stephane Nicoll <[EMAIL PROTECTED]> wrote:
> > Why not having your wsr as a separate module (and
> > thus define this module in
> > your application.xml)
> > 
> > That's what we are doing and it runs ok.
> > 
> > Regards,
> > 
> > Stephane
> > 
> > 
> > -Original Message-
> > From:   Chad Brandon [mailto:[EMAIL PROTECTED]
> > Sent:   Fri 1/9/2004 19:36
> > To: [EMAIL PROTECTED]
> > Cc: 
> > Subject:[JBoss-user] EAR with jboss-app.xml and
> > wsr?
> > JBoss-3.2.3 all config
> > 
> > What's the best way to get a web service archive
> to
> > work correctly with jboss-net, if you're using a
> > jboss-app.xml file in your ear?  I have an ear
> file
> > and I'm including a web service archive (*.wsr) in
> > the
> > ear.  If I leave the jboss-app.xml file out
> > everything
> > deploys correctly, and I'm able to view the
> deployed
> > service
> >
>
(http://localhost:8085/jboss-net/services/Hello?wsdl).
> >  But when I add my jboss-app.xml file, the
> > AxisServlet
> > fails with a NoClassDefFoundError.  Since axis has
> > no
> > logging in the method it was failing in,  I added
> a
> > System.out.println to the axis class and it looks
> > like
> > the class it can't find is
> > "org.jboss.net.axis.server.EJBProvider". 
> Obviously
> > with the jboss-app.xml my ear can't see the class
> in
> > the jboss-net.sar filewhats the best way to
> get
> > this to work with the jboss-app.xml file in my
> ear?
> > 
> > Thanks,
> > 
> > Chad 
> > 
> > 
> >
>
---
> > This SF.net email is sponsored by: Perforce
> > Software.
> > Perforce is the Fast Software Configuration
> > Management System offering
> > advanced branching capabilities and atomic changes
> > on 50+ platforms.
> > Free Eval!
> > http://www.perforce.com/perforce/loadprog.html
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> >
>
https://lists.sourceforge.net/lists/listinfo/jboss-user
> > 
> > 
> > 
> > 
> 
> > ATTACHMENT part 2 application/ms-tnef
> name=winmail.dat
> 
> 
> 
> 
>
---
> This SF.net email is sponsored by: Perforce
> Software.
> Perforce is the Fast Software Configuration
> Management System offering
> advanced branching capabilities and atomic changes
> on 50+ platforms.
> Free Eval!
> http://www.perforce.com/perforce/loadprog.html
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 
> 
> 

> ATTACHMENT part 2 application/ms-tnef
name=winmail.dat




---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] Where to put the Interceptor .class file?

2004-01-09 Thread Jae Gangemi

  interesting...

  i thought the purpose of the  tag was to specify any "non-ejb"
jar files that were accessible to
the ear (and other applications if the ear was not scoped). 

  is there anything really wrong w/ just using the  tag to expose
those jar files? you would have to
change deployment descriptors if you stopping using jboss in favor of
something else (and why would one
ever want to do that) anyway.

  either way, i'll have to go investigate how the Class-Path in the
manifest file works. 

-jae 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rod
Macpherson
Sent: Friday, January 09, 2004 3:53 PM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] Where to put the Interceptor .class file?


That you can share jars using the  module is peculiar to JBoss. I
have been down this road before. A java module is an executable java
application that accesses EJBs just as the web application module does.
Why not define a  module for shared libraries with an EAR? Good
question, but as it now stands you have to use Class-Path in the
manifest. Seems inconsistent a bit clumsy but that's the way it is. 


-Original Message-
From: Jae Gangemi [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 09, 2004 12:04 PM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] Where to put the Interceptor .class file?



  i've also done the same thing - that's how we deploy our applications.
we define everything in the application.xml 
file so it can be located.

  is this not the "proper" way to do this? 

-jae 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Barlow,
Dustin
Sent: Friday, January 09, 2004 12:07 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [JBoss-user] Where to put the Interceptor .class file?


I successfully deployed a jar within an ear w/o having to set the
manifest classpath of other referring jars by putting the following in
the application.xml of the ear.



foo.jar



Dustin

> -Original Message-
> From: Bill Burke [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 09, 2004 12:00 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] Where to put the Interceptor .class file?
> 
> 
> You cannot put a jar within an EAR without adding a classpath to the
> manifest file  You can place the interceptor in a separate JAR outside
> the EAR, or in the EJB-jar as well if you rather do that.
> 
> Bill
> 
> Jonathan.O'[EMAIL PROTECTED] wrote:
> 
> > Well, I've learned lots of interesting stuff following the
> "Where to put
> > an Interceptor class?" thread. However, I should have asked
> where does one
> > stick the class file,so it gets loaded in time for the
> interceptor stack
> > to work properly. Will any jar within an EAR do? Or does it
> have to be
> > placed in the /server/someConf/lib directory?
> > Ciao,
> > Jonathan O'Connor
> > XCOM Dublin
> > 
> > 
> > 
> > ---
> > This SF.net email is sponsored by: Perforce Software. Perforce is 
> > the Fast Software Configuration Management
> System offering
> > advanced branching capabilities and atomic changes on 50+ platforms.

> > Free Eval! http://www.perforce.com/perforce/loadprog.html
> > ___
> > 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: Perforce Software. Perforce is the 
> Fast Software Configuration Management System offering advanced 
> branching capabilities and atomic changes on 50+ platforms. Free Eval!

> http://www.perforce.com/perforce/loadprog.html
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED] 
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 


---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This SF.net email is sponsored by

RE: [JBoss-user] EAR with jboss-app.xml and wsr?

2004-01-09 Thread Stephane Nicoll
No, I don't use jboss-app.xml but I deploy it as a separate module in my ear
(just the same way as ejb-jar module and web applications).

Regards,

Stephane


-Original Message-
From:   Chad Brandon [mailto:[EMAIL PROTECTED]
Sent:   Fri 1/9/2004 22:11
To: [EMAIL PROTECTED]
Cc: 
Subject:RE: [JBoss-user] EAR with jboss-app.xml and wsr?
Do you mean you don't put it in your ear file...but
you just deploy it as a standalone wsr?

--- Stephane Nicoll <[EMAIL PROTECTED]> wrote:
> Why not having your wsr as a separate module (and
> thus define this module in
> your application.xml)
> 
> That's what we are doing and it runs ok.
> 
> Regards,
> 
> Stephane
> 
> 
> -Original Message-
> From: Chad Brandon [mailto:[EMAIL PROTECTED]
> Sent: Fri 1/9/2004 19:36
> To:   [EMAIL PROTECTED]
> Cc:   
> Subject:  [JBoss-user] EAR with jboss-app.xml and
> wsr?
> JBoss-3.2.3 all config
> 
> What's the best way to get a web service archive to
> work correctly with jboss-net, if you're using a
> jboss-app.xml file in your ear?  I have an ear file
> and I'm including a web service archive (*.wsr) in
> the
> ear.  If I leave the jboss-app.xml file out
> everything
> deploys correctly, and I'm able to view the deployed
> service
>
(http://localhost:8085/jboss-net/services/Hello?wsdl).
>  But when I add my jboss-app.xml file, the
> AxisServlet
> fails with a NoClassDefFoundError.  Since axis has
> no
> logging in the method it was failing in,  I added a
> System.out.println to the axis class and it looks
> like
> the class it can't find is
> "org.jboss.net.axis.server.EJBProvider".  Obviously
> with the jboss-app.xml my ear can't see the class in
> the jboss-net.sar filewhats the best way to get
> this to work with the jboss-app.xml file in my ear?
> 
> Thanks,
> 
> Chad 
> 
> 
>
---
> This SF.net email is sponsored by: Perforce
> Software.
> Perforce is the Fast Software Configuration
> Management System offering
> advanced branching capabilities and atomic changes
> on 50+ platforms.
> Free Eval!
> http://www.perforce.com/perforce/loadprog.html
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 
> 
> 

> ATTACHMENT part 2 application/ms-tnef
name=winmail.dat




---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



<>

RE: [JBoss-user] Change partition name for JBoss cluster configuration

2004-01-09 Thread Sacha Labourey



Yes, just change the mcast_addr to something else and it 
will not conflict.
 
A cluster is defined by
    mcast_addr x 
cluster_name

  
  
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of Simone 
  MilaniSent: Friday, January 09, 2004 11:11 AMTo: 
  [EMAIL PROTECTED]Subject: Re: [JBoss-user] Change 
  partition name for JBoss cluster configuration
  
  Hi Sacha,
   
      You mean change the line 
  
  
  
  In cluster-service.xml?
   
  Thanks
   
  Simone
  
- Original Message - 
From: 
Sacha Labourey 
To: [EMAIL PROTECTED] 

Sent: Thursday, January 08, 2004 11:06 
PM
Subject: RE: [JBoss-user] Change 
partition name for JBoss cluster configuration

the easiest way to change it is ... 
not to change it but simply change the multicast address so that there is no 
conflicts with other clusters.

  
  
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  Boulatian, MisakSent: Thursday, January 08, 2004 7:06 
  PMTo: [EMAIL PROTECTED]Subject: 
  [JBoss-user] Change partition name for JBoss cluster 
  configuration
  
  Hi,
   
  I am trying to 
  run JBoss 3.2.3 in a clustered environment for production. I need to 
  change the name 'DefaultPartition'. The way I was doing was to search and 
  replace every occurrence of 'DefaultPartition' within the following files 
  with the name I wanted:
   
  - 
  JBOSS_INSTALL_DIR/server/all/deploy/cluster-service.xml
  - 
  JBOSS_INSTALL_DIR/server/all/deploy/deploy.last/farm-service.xml
  - 
  JBOSS_INSTALL_DIR/server/all/deploy/jbossha-httpsession.sar/ClusteredHttpSessionEB.jar/META-INF/jboss.xml
   
  I wonder if 
  there is an easy way of doing this error-prone task.
   
  Thanks a 
  lot,
  Misak
  
  This message 
  and any attachments are intended only for the use of the addressee and may 
  contain information that is privileged and confidential. If the reader of 
  the message is not the intended recipient or an authorized representative 
  of the intended recipient, you are hereby notified that any dissemination 
  of this communication is strictly prohibited. If you have received this 
  communication in error, please notify us immediately by e-mail and delete 
  the message and any attachments from your system. 



RE: [JBoss-user] EAR with jboss-app.xml and wsr?

2004-01-09 Thread Chad Brandon
Do you mean you don't put it in your ear file...but
you just deploy it as a standalone wsr?

--- Stephane Nicoll <[EMAIL PROTECTED]> wrote:
> Why not having your wsr as a separate module (and
> thus define this module in
> your application.xml)
> 
> That's what we are doing and it runs ok.
> 
> Regards,
> 
> Stephane
> 
> 
> -Original Message-
> From: Chad Brandon [mailto:[EMAIL PROTECTED]
> Sent: Fri 1/9/2004 19:36
> To:   [EMAIL PROTECTED]
> Cc:   
> Subject:  [JBoss-user] EAR with jboss-app.xml and
> wsr?
> JBoss-3.2.3 all config
> 
> What's the best way to get a web service archive to
> work correctly with jboss-net, if you're using a
> jboss-app.xml file in your ear?  I have an ear file
> and I'm including a web service archive (*.wsr) in
> the
> ear.  If I leave the jboss-app.xml file out
> everything
> deploys correctly, and I'm able to view the deployed
> service
>
(http://localhost:8085/jboss-net/services/Hello?wsdl).
>  But when I add my jboss-app.xml file, the
> AxisServlet
> fails with a NoClassDefFoundError.  Since axis has
> no
> logging in the method it was failing in,  I added a
> System.out.println to the axis class and it looks
> like
> the class it can't find is
> "org.jboss.net.axis.server.EJBProvider".  Obviously
> with the jboss-app.xml my ear can't see the class in
> the jboss-net.sar filewhats the best way to get
> this to work with the jboss-app.xml file in my ear?
> 
> Thanks,
> 
> Chad 
> 
> 
>
---
> This SF.net email is sponsored by: Perforce
> Software.
> Perforce is the Fast Software Configuration
> Management System offering
> advanced branching capabilities and atomic changes
> on 50+ platforms.
> Free Eval!
> http://www.perforce.com/perforce/loadprog.html
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 
> 
> 

> ATTACHMENT part 2 application/ms-tnef
name=winmail.dat




---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] EAR with jboss-app.xml and wsr?

2004-01-09 Thread Stephane Nicoll
Why not having your wsr as a separate module (and thus define this module in
your application.xml)

That's what we are doing and it runs ok.

Regards,

Stephane


-Original Message-
From:   Chad Brandon [mailto:[EMAIL PROTECTED]
Sent:   Fri 1/9/2004 19:36
To: [EMAIL PROTECTED]
Cc: 
Subject:[JBoss-user] EAR with jboss-app.xml and wsr?
JBoss-3.2.3 all config

What's the best way to get a web service archive to
work correctly with jboss-net, if you're using a
jboss-app.xml file in your ear?  I have an ear file
and I'm including a web service archive (*.wsr) in the
ear.  If I leave the jboss-app.xml file out everything
deploys correctly, and I'm able to view the deployed
service
(http://localhost:8085/jboss-net/services/Hello?wsdl).
 But when I add my jboss-app.xml file, the AxisServlet
fails with a NoClassDefFoundError.  Since axis has no
logging in the method it was failing in,  I added a
System.out.println to the axis class and it looks like
the class it can't find is
"org.jboss.net.axis.server.EJBProvider".  Obviously
with the jboss-app.xml my ear can't see the class in
the jboss-net.sar filewhats the best way to get
this to work with the jboss-app.xml file in my ear?

Thanks,

Chad 


---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



<>

RE: [JBoss-user] Where to put the Interceptor .class file?

2004-01-09 Thread Rod Macpherson
That you can share jars using the  module is peculiar to JBoss. I
have been down this road before. A java module is an executable java
application that accesses EJBs just as the web application module does.
Why not define a  module for shared libraries with an EAR? Good
question, but as it now stands you have to use Class-Path in the
manifest. Seems inconsistent a bit clumsy but that's the way it is. 


-Original Message-
From: Jae Gangemi [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 09, 2004 12:04 PM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] Where to put the Interceptor .class file?



  i've also done the same thing - that's how we deploy our applications.
we define everything in the application.xml 
file so it can be located.

  is this not the "proper" way to do this? 

-jae 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Barlow,
Dustin
Sent: Friday, January 09, 2004 12:07 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [JBoss-user] Where to put the Interceptor .class file?


I successfully deployed a jar within an ear w/o having to set the
manifest classpath of other referring jars by putting the following in
the application.xml of the ear.



foo.jar



Dustin

> -Original Message-
> From: Bill Burke [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 09, 2004 12:00 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] Where to put the Interceptor .class file?
> 
> 
> You cannot put a jar within an EAR without adding a classpath to the 
> manifest file  You can place the interceptor in a separate JAR outside
> the EAR, or in the EJB-jar as well if you rather do that.
> 
> Bill
> 
> Jonathan.O'[EMAIL PROTECTED] wrote:
> 
> > Well, I've learned lots of interesting stuff following the
> "Where to put
> > an Interceptor class?" thread. However, I should have asked
> where does one
> > stick the class file,so it gets loaded in time for the
> interceptor stack
> > to work properly. Will any jar within an EAR do? Or does it
> have to be
> > placed in the /server/someConf/lib directory?
> > Ciao,
> > Jonathan O'Connor
> > XCOM Dublin
> > 
> > 
> > 
> > ---
> > This SF.net email is sponsored by: Perforce Software. Perforce is
> > the Fast Software Configuration Management
> System offering
> > advanced branching capabilities and atomic changes on 50+ platforms.

> > Free Eval! http://www.perforce.com/perforce/loadprog.html
> > ___
> > 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: Perforce Software. Perforce is the
> Fast Software Configuration Management System offering advanced 
> branching capabilities and atomic changes on 50+ platforms. Free Eval!

> http://www.perforce.com/perforce/loadprog.html
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 


---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] Where to put the Interceptor .class file?

2004-01-09 Thread Jae Gangemi

  i've also done the same thing - that's how we deploy our applications.
we define everything in the application.xml 
file so it can be located.

  is this not the "proper" way to do this? 

-jae 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Barlow,
Dustin
Sent: Friday, January 09, 2004 12:07 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [JBoss-user] Where to put the Interceptor .class file?


I successfully deployed a jar within an ear w/o having to set the
manifest classpath of other referring jars by putting the following in
the application.xml of the ear.



foo.jar



Dustin

> -Original Message-
> From: Bill Burke [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 09, 2004 12:00 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] Where to put the Interceptor .class file?
> 
> 
> You cannot put a jar within an EAR without adding a classpath to the
> manifest file  You can place the interceptor in a separate 
> JAR outside 
> the EAR, or in the EJB-jar as well if you rather do that.
> 
> Bill
> 
> Jonathan.O'[EMAIL PROTECTED] wrote:
> 
> > Well, I've learned lots of interesting stuff following the
> "Where to put
> > an Interceptor class?" thread. However, I should have asked
> where does one
> > stick the class file,so it gets loaded in time for the
> interceptor stack
> > to work properly. Will any jar within an EAR do? Or does it
> have to be
> > placed in the /server/someConf/lib directory?
> > Ciao,
> > Jonathan O'Connor
> > XCOM Dublin
> > 
> > 
> > 
> > ---
> > This SF.net email is sponsored by: Perforce Software. Perforce is 
> > the Fast Software Configuration Management
> System offering
> > advanced branching capabilities and atomic changes on 50+ platforms.

> > Free Eval! http://www.perforce.com/perforce/loadprog.html
> > ___
> > 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: Perforce Software. Perforce is the 
> Fast Software Configuration Management System offering advanced 
> branching capabilities and atomic changes on 50+ platforms. Free Eval!

> http://www.perforce.com/perforce/loadprog.html
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED] 
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 


---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] EAR with jboss-app.xml and wsr?

2004-01-09 Thread Chad Brandon
JBoss-3.2.3 all config

What's the best way to get a web service archive to
work correctly with jboss-net, if you're using a
jboss-app.xml file in your ear?  I have an ear file
and I'm including a web service archive (*.wsr) in the
ear.  If I leave the jboss-app.xml file out everything
deploys correctly, and I'm able to view the deployed
service
(http://localhost:8085/jboss-net/services/Hello?wsdl).
 But when I add my jboss-app.xml file, the AxisServlet
fails with a NoClassDefFoundError.  Since axis has no
logging in the method it was failing in,  I added a
System.out.println to the axis class and it looks like
the class it can't find is
"org.jboss.net.axis.server.EJBProvider".  Obviously
with the jboss-app.xml my ear can't see the class in
the jboss-net.sar filewhats the best way to get
this to work with the jboss-app.xml file in my ear?

Thanks,

Chad 


---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: AW: [JBoss-user] JBoss 3.2.4 and Oracle9i: SQLException: Invalid conversion requested

2004-01-09 Thread Alexey Loubyansky



As I understand, this is Oracle's new feature that is not 
backward compatible and resulted in a bug in JBossCMP default type mapping that 
is fixed now.

  
  
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of shubhu 
  muttaSent: Friday, January 09, 2004 5:47 AMTo: 
  [EMAIL PROTECTED]Subject: Re: AW: [JBoss-user] JBoss 
  3.2.4 and Oracle9i: SQLException: Invalid conversion 
  requested
  
  Hi Heiko,
   
  Is this a bug with Oracle or with JBoss ? Does Oracle Client 9.2.0.4 
  work well with other App. Servers without making changes in the Data type 
  mapping ?
   
  regards,
  Shubhu"Rupp, Heiko" <[EMAIL PROTECTED]> 
  wrote:
  

Hi,
 
there is a bug report open on this (#729719)

https://sourceforge.net/tracker/?func=detail&atid=376687&aid=729719&group_id=22866
Can you confirm/verify the solution from there?
  Heiko

  -Ursprüngliche Nachricht- Von: 
  [EMAIL PROTECTED] im Auftrag von shubhu 
  mutta Gesendet: Mo 05.01.2004 09:35 An: 
  [EMAIL PROTECTED] Cc: Betreff: 
  [JBoss-user] JBoss 3.2.4 and Oracle9i: SQLException: Invalid conversion 
  requested 
  Hi,
  I updated my Oracle Client from 9.2.0.1 to 9.2.0.4. Jboss is 3.2.0. 

  
  After that I tried to execute my application and got this in 
  server.log: 
  javax.ejb.EJBException: Internal error setting parameters for field 
  status; CausedByException is:
  Invalid conversion requested
  java.sql.SQLException: Invalid conversion requested
  at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java)
  at 
  oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java)
  at 
  oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java)
  at 
  org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.setObject(WrappedPreparedStatement.java:607)
  at 
  org.jboss.ejb.plugins.cmp.jdbc.JDBCUtil.setParameter(JDBCUtil.java:280)
  at 
  org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCAbstractCMPFieldBridge.setArgumentParameters(JDBCAbstractCMPFieldBridge.java:301)
  at 
  org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCAbstractCMPFieldBridge.setInstanceParameters(JDBCAbstractCMPFieldBridge.java:280)
  at 
  org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.insertEntity(JDBCCreateEntityCommand.java:285)
  at 
  org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.execute(JDBCCreateEntityCommand.java:182)
  at 
  org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.createEntity(JDBCStoreManager.java:569)
  at 
  org.jboss.ejb.plugins.CMPPersistenceManager.createEntity(CMPPersistenceManager.java:225)
  at 
  org.jboss.resource.connectionmanager.CachedConnectionInterceptor.createEntity(CachedConnectionInterceptor.java:270)
  at 
  org.jboss.ejb.EntityContainer.createHome(EntityContainer.java:725)
  at java.lang.reflect.Method.invoke(Native Method)
  at 
  org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:998)
  at 
  org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:88)
  at 
  org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:188)
  at 
  org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:215)
  at 
  org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:88)
  at 
  org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:91)
  at 
  org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:61)
  at 
  org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:28)
  at 
  org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:88)
  at 
  org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:243)
  at 
  org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:74)
  at 
  org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:92)
  at 
  org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:120)
  at 
  org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93)
  at 
  org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:477)
  at org.jboss.ejb.Container.invoke(Container.java:694)
  at java.lang.reflect.Method.invoke(Native Method)
  at 
  org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
  at 
  org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
  at 
  org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:101)
  at 
  org.

RE: [JBoss-user] Change partition name for JBoss cluster configuration

2004-01-09 Thread Boulatian, Misak
Hi all,

Thanks for feedbacks. I used ServiceBindingManager to change those values.
Misak

> -Original Message-
> From: Bob Cotton [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 09, 2004 8:41 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] Change partition name for JBoss cluster
> configuration
> 
> 
> 
> You can also use the ServiceBindingManger to manage these values
> without editing the xml files in the deploy directory.
> 
> - Bob
> 
> "Boulatian, Misak" <[EMAIL PROTECTED]> writes:
> 
> > Hi,
> >  
> > I am trying to run JBoss 3.2.3 in a clustered environment 
> for production.
> > I need to change the name 'DefaultPartition'. The way I was 
> doing was to
> > search and replace every occurrence of 'DefaultPartition' within the
> > following files with the name I wanted:
> >  
> > - JBOSS_INSTALL_DIR/server/all/deploy/cluster-service.xml
> > - JBOSS_INSTALL_DIR/server/all/deploy/deploy.last/farm-service.xml
> > -
> > 
> JBOSS_INSTALL_DIR/server/all/deploy/jbossha-httpsession.sar/Cl
> usteredHttpSessionEB.jar/META-INF/jboss.xml
> >  
> > I wonder if there is an easy way of doing this error-prone task.
> >  
> > Thanks a lot,
> > Misak
> >
> > This message and any attachments are intended only for the 
> use of the
> > addressee and may contain information that is privileged 
> and confidential.
> > If the reader of the message is not the intended recipient or an
> > authorized representative of the intended recipient, you are hereby
> > notified that any dissemination of this communication is strictly
> > prohibited. If you have received this communication in error, please
> > notify us immediately by e-mail and delete the message and 
> any attachments
> > from your system.
> 
> -- 
> SynXis Corporation  | [EMAIL PROTECTED]| no .sig today.
> 1610 Wynkoop, Suite 400 | Ph: (303)595-2511 | 
> Denver, CO  80202   | Fax:(303)534-4257 | 
> 
> 
> 
> ---
> This SF.net email is sponsored by: Perforce Software.
> Perforce is the Fast Software Configuration Management System offering
> advanced branching capabilities and atomic changes on 50+ platforms.
> Free Eval! http://www.perforce.com/perforce/loadprog.html
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
<>

RE: [JBoss-user] Where to put the Interceptor .class file?

2004-01-09 Thread Barlow, Dustin
I successfully deployed a jar within an ear w/o having to set the manifest
classpath of other referring jars by putting the following in the
application.xml of the ear.



foo.jar



Dustin

> -Original Message-
> From: Bill Burke [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 09, 2004 12:00 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] Where to put the Interceptor .class file?
> 
> 
> You cannot put a jar within an EAR without adding a classpath to the 
> manifest file  You can place the interceptor in a separate 
> JAR outside 
> the EAR, or in the EJB-jar as well if you rather do that.
> 
> Bill
> 
> Jonathan.O'[EMAIL PROTECTED] wrote:
> 
> > Well, I've learned lots of interesting stuff following the 
> "Where to put 
> > an Interceptor class?" thread. However, I should have asked 
> where does one 
> > stick the class file,so it gets loaded in time for the 
> interceptor stack 
> > to work properly. Will any jar within an EAR do? Or does it 
> have to be 
> > placed in the /server/someConf/lib directory?
> > Ciao,
> > Jonathan O'Connor
> > XCOM Dublin
> > 
> > 
> > 
> > ---
> > This SF.net email is sponsored by: Perforce Software.
> > Perforce is the Fast Software Configuration Management 
> System offering
> > advanced branching capabilities and atomic changes on 50+ platforms.
> > Free Eval! http://www.perforce.com/perforce/loadprog.html
> > ___
> > 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: Perforce Software.
> Perforce is the Fast Software Configuration Management System offering
> advanced branching capabilities and atomic changes on 50+ platforms.
> Free Eval! http://www.perforce.com/perforce/loadprog.html
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 


---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Where to put the Interceptor .class file?

2004-01-09 Thread Bill Burke
You cannot put a jar within an EAR without adding a classpath to the 
manifest file  You can place the interceptor in a separate JAR outside 
the EAR, or in the EJB-jar as well if you rather do that.

Bill

Jonathan.O'[EMAIL PROTECTED] wrote:

Well, I've learned lots of interesting stuff following the "Where to put 
an Interceptor class?" thread. However, I should have asked where does one 
stick the class file,so it gets loaded in time for the interceptor stack 
to work properly. Will any jar within an EAR do? Or does it have to be 
placed in the /server/someConf/lib directory?
Ciao,
Jonathan O'Connor
XCOM Dublin



---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
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: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] Where to put the Interceptor .class file?

2004-01-09 Thread Jae Gangemi

   you have the option of placing it in the lib directory, or in the
deploy directory in an ear/jar/etc. 
but it also depends on where the interceptor will be used, and how you
are doing your deployments. 
if the interceptor will only be called by one specific ejb in one
specific ear, then place the
interceptors into that ear. 

  if you are going to have multiple ears deployed and they will all use
the interceptor, then either
place it in the lib directory or the deploy director.

  currently, i'm running a setup where the standardjboss.xml file has
been modified w/ a new 
container config (we have multiple ejbs that will invoke this
interceptor, so it's easier to just
change the container config name in all the jboss.xml files instead of
specifying the interceptor
stack in all of them) - and then deploying the interceptors in an ear w/
the rest of the ejbs
that will invoke it. 

-jae 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Jonathan.O'[EMAIL PROTECTED]
Sent: Friday, January 09, 2004 11:44 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] Where to put the Interceptor .class file?


Well, I've learned lots of interesting stuff following the "Where to put

an Interceptor class?" thread. However, I should have asked where does
one 
stick the class file,so it gets loaded in time for the interceptor stack

to work properly. Will any jar within an EAR do? Or does it have to be 
placed in the /server/someConf/lib directory?
Ciao,
Jonathan O'Connor
XCOM Dublin



---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Where to put the Interceptor .class file?

2004-01-09 Thread Jonathan . O'Connor
Well, I've learned lots of interesting stuff following the "Where to put 
an Interceptor class?" thread. However, I should have asked where does one 
stick the class file,so it gets loaded in time for the interceptor stack 
to work properly. Will any jar within an EAR do? Or does it have to be 
placed in the /server/someConf/lib directory?
Ciao,
Jonathan O'Connor
XCOM Dublin



---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Change partition name for JBoss cluster configuration

2004-01-09 Thread Bob Cotton

You can also use the ServiceBindingManger to manage these values
without editing the xml files in the deploy directory.

- Bob

"Boulatian, Misak" <[EMAIL PROTECTED]> writes:

> Hi,
>  
> I am trying to run JBoss 3.2.3 in a clustered environment for production.
> I need to change the name 'DefaultPartition'. The way I was doing was to
> search and replace every occurrence of 'DefaultPartition' within the
> following files with the name I wanted:
>  
> - JBOSS_INSTALL_DIR/server/all/deploy/cluster-service.xml
> - JBOSS_INSTALL_DIR/server/all/deploy/deploy.last/farm-service.xml
> -
> JBOSS_INSTALL_DIR/server/all/deploy/jbossha-httpsession.sar/ClusteredHttpSessionEB.jar/META-INF/jboss.xml
>  
> I wonder if there is an easy way of doing this error-prone task.
>  
> Thanks a lot,
> Misak
>
> This message and any attachments are intended only for the use of the
> addressee and may contain information that is privileged and confidential.
> If the reader of the message is not the intended recipient or an
> authorized representative of the intended recipient, you are hereby
> notified that any dissemination of this communication is strictly
> prohibited. If you have received this communication in error, please
> notify us immediately by e-mail and delete the message and any attachments
> from your system.

-- 
SynXis Corporation  | [EMAIL PROTECTED]| no .sig today.
1610 Wynkoop, Suite 400 | Ph: (303)595-2511 | 
Denver, CO  80202   | Fax:(303)534-4257 | 



---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] problem with host name resolivng via http invoker

2004-01-09 Thread Scott M Stark
The docs are correct as this is for replacing an attribute value with a system property
on the server side which you would want to potentially externalize the choice of the
hostname in the fixed URL. Its a seperate capability that the client will interpret the
value as a system property, which is the first statement of the description.
 

Scott Stark
Chief Technology Officer
JBoss Group, LLC




From: [EMAIL PROTECTED] on behalf of Janardhan Burugupalli
Sent: Thu 1/8/2004 11:56 PM
To: [EMAIL PROTECTED]
Subject: AW: [JBoss-user] problem with host name resolivng via http invoker


hi,
 
It works fine but...it was totally a mislead in the Jboss All docus i read some 
thing like this 
 
InvokerURL: This is either the http URL to the InvokerServlet mapping, or the name of a

system property that will be resolved inside the client VM to obtain the http URL to 
the InvokerServlet.

This value can itself be a reference to a system property resolved in the server if the

value is of the form ${x} where x is the name of the system property. This allows the 
URL or client

side system property to be set in one place and reused in the HttpInvoker config as 
well as the

InvokerServlet config.

 

may u all shuld change it in the docs ...it clearly says ${x} but it shuld be given as 
x where x= system property key 

 

any way my problem is solved 

 

thanks 

jani

<>

Re: [JBoss-user] Where to put an Interceptor class?

2004-01-09 Thread Bill Burke
This extending of the "Standard Statefull SessionBean" config works 
plenty fine for me.  here's the dd and code, I added DummyInterceptor:



  
false


  
 Retry
 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor
org.jboss.ejb.plugins.LogInterceptor
org.jboss.test.retry.bean.DummyInterceptor

org.jboss.ejb.plugins.SecurityInterceptor

org.jboss.ejb.plugins.TxInterceptorCMT
   

org.jboss.test.retry.interfaces.RetryHandler
   

org.jboss.ejb.plugins.MetricsInterceptor
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor

org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor
org.jboss.ejb.plugins.TxInterceptorBMT
org.jboss.ejb.plugins.MetricsInterceptor

org.jboss.resource.connectionmanager.CachedConnectionInterceptor
 
  



  
RetrySession
RetrySession
Retry
  

  

//Title:jbg
//Version:
//Author:   Bill Burke
//Company:  JBG
//Description:  Your description
package org.jboss.test.retry.bean;

import java.rmi.*;
import javax.ejb.*;
import javax.naming.InitialContext;
import javax.naming.Context;
import org.jboss.ejb.plugins.AbstractInterceptor;
import org.jboss.invocation.Invocation;
public class DummyInterceptor extends AbstractInterceptor
{
   public Object invokeHome(final Invocation mi) throws Exception
   {
  // assert mi != null;
  System.out.println("INVOKE HOME INTERCEPTOR");
  return getNext().invokeHome(mi);
   }
   public Object invoke(final Invocation mi) throws Exception
   {
  System.out.println("INVOKE INTERCEPTOR");
  // assert mi != null;
  return getNext().invoke(mi);
   }
}


Giovanni Formenti wrote:

I readed this doc but I can't understand clearly how to do!
I made the following steps:
1) Write a class that extends AbstractInterceptor and implements the invoke
method:
public Object invoke(Invocation invocation) throws Exception {
Object lRet;
System.out.println("LOG!!");
lRet=getNext().invoke(invocation);
return lRet;
  }
2) Modify jboss.xml with a configuration:
   

Try

com.xxx.TryInterceptor


   
  and a stateful session bean with that configuration:
  
 Application
 ApplicationBean
 ApplicationLocal
 Try
  
It don't works! What i miss? I really appreciate any suggestion...
Thanx

-Messaggio originale-
Da: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] conto di Sacha
Labourey
Inviato: mercoledi 7 gennaio 2004 17.39
A: [EMAIL PROTECTED]
Oggetto: RE: [JBoss-user] Where to put an Interceptor class?


Sorry... but JBoss 3.2 can use interceptor? How?! I'm very
interesting about
this!
It is possible since JBoss 2.0.

Take a look at conf/standardjboss.xml and the documentation, it
shows how to
write your own JBoss.xml file which includes such a stack definition.
Cheers

sacha



---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user




---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
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: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Durable Subscription!!!

2004-01-09 Thread Vladyslav Kosulin
Dilshan,

First check that your client uses createTopicConnection(userName, password) 
instead of createTopicConnection() and uses createDurableSubscriber(...) instead 
of createSubscriber(...)

Also I would like to tell you that the subject line looks very much like a spam, 
so not everybody will open this message. It is your interest to make subject 
line more serious and informative

Sincerely,
Vlad Kosulin
Hi...
 
I  need to do create a durable subscription to topic. I have created a 
topic in the using a MDB in the "jbossmq-destinations-service.xml". I 
would like to know the changes i have to make in order to make the topic 
durable. i get the following error at the moment.
" javax.jms.JMSSecurityException: Connection not authorized to do 
durable subscription on topic: HeadOffice"
 
Dilshan


---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] jboss-3.2.3 clustering problem - unable to find other nodes , though multicasting seems working

2004-01-09 Thread Mridul Jain
hi,
what ip address you set? But it is supposed to work if
multicast works fine, isn't it? 

Thanks,
MJ
--- Felipe Oliveira <[EMAIL PROTECTED]> wrote:
> Hi Midrul,
> 
> I had a simular problem where the hosts couldn't see
> each other. I fixed 
> that setting the ip address on each host.
> 
> Felipe
> 
> >First I check if multicasting works fine, by
> running
> >the following from jgroup:
> >On host1:
> >--
> >java org.javagroups.tests.McastReceiverTest
> >-mcast_addr 228.1.2.3 -port 45566
> >--
> >Onhost2:
> >---
> >java org.javagroups.tests.McastSenderTest
> -mcast_addr
> >228.1.2.3 -port 45566
> >---
> >
> >I am able to communicate perfectly without any
> >problems.
> >
> >Then I start jboss-3.2.3 using ./run.sh -c all on
> both
> >the hosts. But I am able to see that both the
> >nodes/servers cannot find each other as can be seen
> in
> >server.log and it shows only one cluster member in
> >both.
> >
> >Probing further I tried receiving messages using :
> >
> >java org.javagroups.tests.McastReceiverTest
> >-mcast_addr 228.1.2.3 -port 45566
> >-
> >on host1 and running the jboss-server on the same
> >node.
> >At periodic intervals I started getting some junk
> >message from the jboss-server as soon as
> >cluster-service.xml was deployed. The messages were
> >from 127.0.0.1:45566. When I shutdown the
> jboss-server
> >the messages stopped too.
> >
> >Then I started the jboss-server on host1 and
> started
> >two receivers on host1 and host2 respectively. I
> >started getting the same junk messages from
> >jboss-server on host1 (localhost) but not on
> >host2(remote host).
> >
> >This seems to be a problem with multicasting??? I
> have
> >removed any firewall restriction using iptables -F
> in
> >both machines too.But as I said in the beginning,
> the
> >jgroup programs worked fine communicating with each
> >other in a multicast group.
> >
> >
> >Everything including failover/farming etc will run
> >well if this problem gets solved.
> >
> >Any help is appreciated.
> >
> >rgds,
> >MJ
> >
> >
> >__
> >Do you Yahoo!?
> >Yahoo! Hotjobs: Enter the "Signing Bonus"
> Sweepstakes
> >http://hotjobs.sweepstakes.yahoo.com/signingbonus
> >
> >
>
>---
> >This SF.net email is sponsored by: Perforce
> Software.
> >Perforce is the Fast Software Configuration
> Management System offering
> >advanced branching capabilities and atomic changes
> on 50+ platforms.
> >Free Eval!
> http://www.perforce.com/perforce/loadprog.html
> >___
> >JBoss-user mailing list
> >[EMAIL PROTECTED]
>
>https://lists.sourceforge.net/lists/listinfo/jboss-user
> >
> >  
> >
> 
> 
> 
>
---
> This SF.net email is sponsored by: Perforce
> Software.
> Perforce is the Fast Software Configuration
> Management System offering
> advanced branching capabilities and atomic changes
> on 50+ platforms.
> Free Eval!
> http://www.perforce.com/perforce/loadprog.html
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/jboss-user


__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus


---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] jboss-3.2.3 clustering problem - unable to find other nodes , though multicasting seems working

2004-01-09 Thread Felipe Oliveira
Hi Midrul,

I had a simular problem where the hosts couldn't see each other. I fixed 
that setting the ip address on each host.

Felipe

First I check if multicasting works fine, by running
the following from jgroup:
On host1:
--
java org.javagroups.tests.McastReceiverTest
-mcast_addr 228.1.2.3 -port 45566
--
Onhost2:
---
java org.javagroups.tests.McastSenderTest -mcast_addr
228.1.2.3 -port 45566
---
I am able to communicate perfectly without any
problems.
Then I start jboss-3.2.3 using ./run.sh -c all on both
the hosts. But I am able to see that both the
nodes/servers cannot find each other as can be seen in
server.log and it shows only one cluster member in
both.
Probing further I tried receiving messages using :

java org.javagroups.tests.McastReceiverTest
-mcast_addr 228.1.2.3 -port 45566
-
on host1 and running the jboss-server on the same
node.
At periodic intervals I started getting some junk
message from the jboss-server as soon as
cluster-service.xml was deployed. The messages were
from 127.0.0.1:45566. When I shutdown the jboss-server
the messages stopped too.
Then I started the jboss-server on host1 and started
two receivers on host1 and host2 respectively. I
started getting the same junk messages from
jboss-server on host1 (localhost) but not on
host2(remote host).
This seems to be a problem with multicasting??? I have
removed any firewall restriction using iptables -F in
both machines too.But as I said in the beginning, the
jgroup programs worked fine communicating with each
other in a multicast group.
Everything including failover/farming etc will run
well if this problem gets solved.
Any help is appreciated.

rgds,
MJ
__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
 



---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] jboss-3.2.3 clustering problem - unable to find other nodes , though multicasting seems working

2004-01-09 Thread Mridul Jain
hi,
I am running jboss-3.2.3 on GNU/Linux box and trying
to get jboss clustering up and running.
First I check if multicasting works fine, by running
the following from jgroup:
On host1:
--
java org.javagroups.tests.McastReceiverTest
-mcast_addr 228.1.2.3 -port 45566
--
Onhost2:
---
java org.javagroups.tests.McastSenderTest -mcast_addr
228.1.2.3 -port 45566
---

I am able to communicate perfectly without any
problems.

Then I start jboss-3.2.3 using ./run.sh -c all on both
the hosts. But I am able to see that both the
nodes/servers cannot find each other as can be seen in
server.log and it shows only one cluster member in
both.

Probing further I tried receiving messages using :

java org.javagroups.tests.McastReceiverTest
-mcast_addr 228.1.2.3 -port 45566
-
on host1 and running the jboss-server on the same
node.
At periodic intervals I started getting some junk
message from the jboss-server as soon as
cluster-service.xml was deployed. The messages were
from 127.0.0.1:45566. When I shutdown the jboss-server
the messages stopped too.

Then I started the jboss-server on host1 and started
two receivers on host1 and host2 respectively. I
started getting the same junk messages from
jboss-server on host1 (localhost) but not on
host2(remote host).

This seems to be a problem with multicasting??? I have
removed any firewall restriction using iptables -F in
both machines too.But as I said in the beginning, the
jgroup programs worked fine communicating with each
other in a multicast group.


Everything including failover/farming etc will run
well if this problem gets solved.

Any help is appreciated.

rgds,
MJ


__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus


---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] Where to put an Interceptor class?

2004-01-09 Thread Jae Gangemi

  well - why would you ever want to change the "standard" configuration?
by extending the configuration, you 
gain the ability to keep the defaults and override the ones you need to
change. 

  if you forsee yourself needing this interceptor called by different
beans, you're better off defining the
configuration in the standardjboss.xml file. 

  while it is "inconvienent", i do see good reasoning for keeping the
interceptor stack separate
from what's inherited when you extend the configuration. there may be
instances where you want to
keep your beans always using the same config params (such as min/max
values) that are defined
in the standard configuration but send them thru completely separate
interceptor stacks. 
  
-jae 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Giovanni
Formenti
Sent: Friday, January 09, 2004 9:21 AM
To: [EMAIL PROTECTED]
Subject: R: [JBoss-user] Where to put an Interceptor class?


Duplicating the whole  it works!! thanks! But
there isn't a way to simply adding an interceptor to the chain? This
because if there is some standardjboss.xml change it will be not
reflected for the session bean "intercepted"...

Gio

> -Messaggio originale-
> Da: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] conto di Jae 
> Gangemi
> Inviato: venerdi 9 gennaio 2004 15.04
> A: [EMAIL PROTECTED]
> Oggetto: RE: [JBoss-user] Where to put an Interceptor class?
>
>
>
>   have you tried duplicating the entire Standard Stateful SessionBean 
> configuration all over again in the standardjboss.xml file instead of 
> extending it in your jboss.xml file, adding the interceptor to
> the stack and changing the configuration name? i have successfully
> created interceptors and had them invoked
> using this method.
>
>i'm pretty sure that you can't extend the interceptor stack like 
> that, and you actually need to recreate all the entries.
>
>   try adding this to your standardjboss.xml file:
>
>   
>  Try
>  false
>
> stateful-rmi-invoker g-
> name>
>  
>
> org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor rc
> eptor>
>
> org.jboss.ejb.plugins.LogInterceptor
>
>   
>   com.xxx.TryInterceptor
>
> 
>  transaction="Container">org.jboss.ejb.plugins.TxInterceptorCMT ep
> tor>
>  metricsEnabled="true">org.jboss.ejb.plugins.MetricsInterceptor ep
> tor>
>  transaction="Container">org.jboss.ejb.plugins.StatefulSessionInstanceI
> nt
> erceptor
> 
> 
transaction="Bean">org.jboss.ejb.plugins.StatefulSessionInstanceIntercep
> tor
> 
transaction="Bean">org.jboss.ejb.plugins.TxInterceptorBMT
> 
metricsEnabled="true">org.jboss.ejb.plugins.MetricsInterceptor tor>
>
> org.jboss.resource.connectionmanager.CachedConnectionInte
> rc
> eptor
>
> org.jboss.ejb.plugins.SecurityInterceptor
>  
>
> org.jboss.ejb.plugins.StatefulSessionInstanceCache st
> ance-cache>
>
> org.jboss.ejb.plugins.StatefulSessionFilePersiste
> nc
> eManager
>  
>
> org.jboss.ejb.plugins.LRUStatefulContextCachePolicy he
> -policy>
> 
>50
>100
>1800
>1800
>300
>600
>400
>60
>1
>0.75
> 
>  
>  
> 100
>  
>   
>
>   and then just specify the container configuration name in your 
> jboss.xml file, and get rid of the inteceptor definitions. ie: just 
> have this line:
>
>   Try
>
>
>   i have a very simple working prototype of both a client and server 
> side interceptor working w/ a stateless session bean (the idea is the 
> same for a stateful) that i could send you if you're still unable to 
> get things working.
>
> -jae
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Giovanni 
> Formenti
> Sent: Friday, January 09, 2004 4:50 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] Where to put an Interceptor class?
>
>
> I readed this doc but I can't understand clearly how to do!
> I made the following steps:
> 1) Write a class that extends AbstractInterceptor and implements the 
> invoke
> method:
>   public Object invoke(Invocation invocation) throws Exception {
>   Object lRet;
>   System.out.println("LOG!!");
>   lRet=getNext().invoke(invocation);
>   return lRet;
>   }
> 2) Modify jboss.xml with a configuration:
>
>   
>   Try
>   
>
> com.xxx.TryInterceptor
>   
>   
>
>
>   and a stateful session bean with that configuration:
>   
>  Application
>  ApplicationBean
>  ApplicationLocal
>  Try
>   
>
> It don't works! What i miss? I really appreciate any suggestion... 
> Thanx
>
> > -Messaggio originale-
> > Da: [EMAIL

R: [JBoss-user] Where to put an Interceptor class?

2004-01-09 Thread Giovanni Formenti
Duplicating the whole  it works!! thanks!
But there isn't a way to simply adding an interceptor to the chain? This
because if there is some standardjboss.xml change it will be not reflected
for the session bean "intercepted"...

Gio

> -Messaggio originale-
> Da: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] conto di Jae Gangemi
> Inviato: venerdi 9 gennaio 2004 15.04
> A: [EMAIL PROTECTED]
> Oggetto: RE: [JBoss-user] Where to put an Interceptor class?
>
>
>
>   have you tried duplicating the entire Standard Stateful SessionBean
> configuration all over again
> in the standardjboss.xml file instead of extending it in your jboss.xml
> file, adding the interceptor to
> the stack and changing the configuration name? i have successfully
> created interceptors and had them invoked
> using this method.
>
>i'm pretty sure that you can't extend the interceptor stack like
> that, and you actually need to
> recreate all the entries.
>
>   try adding this to your standardjboss.xml file:
>
>   
>  Try
>  false
>
> stateful-rmi-invoker name>
>  
>
> org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor eptor>
>
> org.jboss.ejb.plugins.LogInterceptor
>
>   
>   com.xxx.TryInterceptor
>
> 
>  transaction="Container">org.jboss.ejb.plugins.TxInterceptorCMT tor>
>  metricsEnabled="true">org.jboss.ejb.plugins.MetricsInterceptor tor>
>  transaction="Container">org.jboss.ejb.plugins.StatefulSessionInstanceInt
> erceptor
> 
>  transaction="Bean">org.jboss.ejb.plugins.StatefulSessionInstanceIntercep
> tor
>  transaction="Bean">org.jboss.ejb.plugins.TxInterceptorBMT
>  metricsEnabled="true">org.jboss.ejb.plugins.MetricsInterceptor tor>
>
> org.jboss.resource.connectionmanager.CachedConnectionInterc
> eptor
>
> org.jboss.ejb.plugins.SecurityInterceptor
>  
>
> org.jboss.ejb.plugins.StatefulSessionInstanceCache ance-cache>
>
> org.jboss.ejb.plugins.StatefulSessionFilePersistenc
> eManager
>  
>
> org.jboss.ejb.plugins.LRUStatefulContextCachePolicy -policy>
> 
>50
>100
>1800
>1800
>300
>600
>400
>60
>1
>0.75
> 
>  
>  
> 100
>  
>   
>
>   and then just specify the container configuration name in your
> jboss.xml file, and get rid of the inteceptor
> definitions. ie: just have this line:
>
>   Try
>
>
>   i have a very simple working prototype of both a client and server
> side interceptor working w/ a stateless
> session bean (the idea is the same for a stateful) that i could send you
> if you're still unable to get things
> working.
>
> -jae
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Giovanni
> Formenti
> Sent: Friday, January 09, 2004 4:50 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] Where to put an Interceptor class?
>
>
> I readed this doc but I can't understand clearly how to do!
> I made the following steps:
> 1) Write a class that extends AbstractInterceptor and implements the
> invoke
> method:
>   public Object invoke(Invocation invocation) throws Exception {
>   Object lRet;
>   System.out.println("LOG!!");
>   lRet=getNext().invoke(invocation);
>   return lRet;
>   }
> 2) Modify jboss.xml with a configuration:
>
>   
>   Try
>   
>
> com.xxx.TryInterceptor
>   
>   
>
>
>   and a stateful session bean with that configuration:
>   
>  Application
>  ApplicationBean
>  ApplicationLocal
>  Try
>   
>
> It don't works! What i miss? I really appreciate any suggestion... Thanx
>
> > -Messaggio originale-
> > Da: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] conto di Sacha
> > Labourey
> > Inviato: mercoledi 7 gennaio 2004 17.39
> > A: [EMAIL PROTECTED]
> > Oggetto: RE: [JBoss-user] Where to put an Interceptor class?
> >
> >
> > > Sorry... but JBoss 3.2 can use interceptor? How?! I'm very
> > > interesting about this!
> >
> > It is possible since JBoss 2.0.
> >
> > Take a look at conf/standardjboss.xml and the documentation, it shows
> > how to write your own JBoss.xml file which includes such a stack
> > definition.
> >
> > Cheers
> >
> >
> > sacha
> >
> >
> >
> > ---
> > This SF.net email is sponsored by: Perforce Software. Perforce is the
> > Fast Software Configuration Management System offering advanced
> > branching capabilities and atomic changes on 50+ platforms. Free Eval!
>
> > http://www.perforce.com/perforce/loadprog.html
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.

RE: [JBoss-user] Where to put an Interceptor class?

2004-01-09 Thread Jae Gangemi

  have you tried duplicating the entire Standard Stateful SessionBean
configuration all over again
in the standardjboss.xml file instead of extending it in your jboss.xml
file, adding the interceptor to
the stack and changing the configuration name? i have successfully
created interceptors and had them invoked 
using this method.

   i'm pretty sure that you can't extend the interceptor stack like
that, and you actually need to 
recreate all the entries. 

  try adding this to your standardjboss.xml file:

  
 Try
 false
 
stateful-rmi-invoker
 
 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor
 
org.jboss.ejb.plugins.LogInterceptor


com.xxx.TryInterceptor


org.jboss.ejb.plugins.TxInterceptorCMT
org.jboss.ejb.plugins.MetricsInterceptor
org.jboss.ejb.plugins.StatefulSessionInstanceInt
erceptor

org.jboss.ejb.plugins.StatefulSessionInstanceIntercep
tor
org.jboss.ejb.plugins.TxInterceptorBMT
org.jboss.ejb.plugins.MetricsInterceptor
 
org.jboss.resource.connectionmanager.CachedConnectionInterc
eptor
 
org.jboss.ejb.plugins.SecurityInterceptor
 
 
org.jboss.ejb.plugins.StatefulSessionInstanceCache
 
org.jboss.ejb.plugins.StatefulSessionFilePersistenc
eManager
 
 
org.jboss.ejb.plugins.LRUStatefulContextCachePolicy

   50
   100
   1800
   1800
   300
   600
   400
   60
   1
   0.75

 
 
100
 
  

  and then just specify the container configuration name in your
jboss.xml file, and get rid of the inteceptor
definitions. ie: just have this line: 

  Try


  i have a very simple working prototype of both a client and server
side interceptor working w/ a stateless
session bean (the idea is the same for a stateful) that i could send you
if you're still unable to get things 
working.

-jae 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Giovanni
Formenti
Sent: Friday, January 09, 2004 4:50 AM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Where to put an Interceptor class?


I readed this doc but I can't understand clearly how to do!
I made the following steps:
1) Write a class that extends AbstractInterceptor and implements the
invoke
method:
public Object invoke(Invocation invocation) throws Exception {
Object lRet;
System.out.println("LOG!!");
lRet=getNext().invoke(invocation);
return lRet;
  }
2) Modify jboss.xml with a configuration:
   

Try

 
com.xxx.TryInterceptor


   

  and a stateful session bean with that configuration:
  
 Application
 ApplicationBean
 ApplicationLocal
 Try
  

It don't works! What i miss? I really appreciate any suggestion... Thanx

> -Messaggio originale-
> Da: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] conto di Sacha 
> Labourey
> Inviato: mercoledi 7 gennaio 2004 17.39
> A: [EMAIL PROTECTED]
> Oggetto: RE: [JBoss-user] Where to put an Interceptor class?
>
>
> > Sorry... but JBoss 3.2 can use interceptor? How?! I'm very 
> > interesting about this!
>
> It is possible since JBoss 2.0.
>
> Take a look at conf/standardjboss.xml and the documentation, it shows 
> how to write your own JBoss.xml file which includes such a stack 
> definition.
>
> Cheers
>
>
> sacha
>
>
>
> ---
> This SF.net email is sponsored by: Perforce Software. Perforce is the 
> Fast Software Configuration Management System offering advanced 
> branching capabilities and atomic changes on 50+ platforms. Free Eval!

> http://www.perforce.com/perforce/loadprog.html
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED] 
> https://lists.sourceforge.net/lists/listinfo/jboss-user



---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sour

RE: [JBoss-user] MDB JMS redelivery

2004-01-09 Thread stscit04
Thank you very much,
problem solved !!

Thanks again,

Stefan

> Well your MDB does not run in a transaction context. Here is an example of
> Xdoclet tags that enable JTA transactions in an MDB:
>
> /**
>  * ... other xdoclet stuff here
>  *
>  * @jboss.destination-jndi-name name="queue/parcelInstruction"
>  *
>  * @ejb.transaction type="Required"
>  *
>  * @author Stephane Nicoll
>  * @version$Revision: 1.12.2.1 $
>  */
>
> (MDB accepts only Required and NotSupported, see the spec)
>
> Once it is done, the setRollbackOnly will not do what you want anyway. If
> you
> call it, your message will be rolledback as well as everything which has
> been
> done inside that transaction (namely the creation of your entity bean).
> The
> only solution I see so far for you is to call another session bean with
> RequiresNew as JTA parameter. It will suspend current transaction (the one
> started by your mdb) and create a new one. You can commit the new one (and
> so
> the entity bean)  and still rollback the first one.
>
> Regards,
>
> Stephane
>
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 09, 2004 11:37 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [JBoss-user] MDB JMS redelivery
>
>
>> Aaaarggg
> Sorry ;-)
>>
>>>As I understand it, the only way to force re-delivery of the JMS message
>>>is to throw an EJBException to force JBoss to rollback
>>>the transaction.
>>
>> No. You cannot throw an EJBException from onMessage, see the spec. If
>> you
>> want to rollback the message, use
>> messageDriventContext.setRollbackOnly();
>
> I tried this, but then I get the following Exception:
>
> java.lang.IllegalStateException: setRollbackOnly must only be called in
> the context of a transaction (EJB 2.0 - 15.5.1)
> at org.jboss.ejb.MessageDrivenEnterpriseContext$MessageDrivenContextImpl
> .setRollbackOnly(MessageDrivenEnterpriseContext.java:214)
> at de.fag.grobi.logic.NotificationManagerBean.onMessage(NotificationMana
> gerBean.java:190)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(Mess
> ...
> 
> ..
>
> I am using XDoclet but it ignores any @ejb.transaction tag
> on the onMessage method of the MDB. Where can I set the transaction
> correctly (probably a xdoclet question)?
>
>>
>> For the mix between JMS and CMP, I have no idea
> When I get the ctx.setRollbackOnly to work, I hope to
> resolve this problem by setting the transaction type
> correctly.
>
> Regards,
>
> Stefan
>
>
> ---
> This SF.net email is sponsored by: Perforce Software.
> Perforce is the Fast Software Configuration Management System offering
> advanced branching capabilities and atomic changes on 50+ platforms.
> Free Eval! http://www.perforce.com/perforce/loadprog.html
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
> ---
> This SF.net email is sponsored by: Perforce Software.
> Perforce is the Fast Software Configuration Management System offering
> advanced branching capabilities and atomic changes on 50+ platforms.
> Free Eval! http://www.perforce.com/perforce/loadprog.html
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>



---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] JBoss 3.2.3 + Jetty fails startup in run -c all

2004-01-09 Thread Jonathan . O'Connor
Hi,
I just downloaded JBoss 3.2.3 Jetty 4.2.14 and ran the all config, 
straight out of the box. It seems that it doesn't like the web-console. 
However, I think the problem is really the jboss.net sar. My reaoning is 
as follows:
1. I copy the default configuration and make changes to it for our app.
2. I copy the jboss-net.sar from the all config to my config.
3. This config also fails with the same deployment exception.

11:12:03,786 INFO  [MainDeployer] Deployed package: 
file:/H:/server/all/deploy/jmx-console.war/
11:12:03,827 INFO  [MainDeployer] Starting deployment of package: 
file:/H:/server/all/deploy/management/web-console.war
11:12:03,947 ERROR [JettyService] Problem in init
org.jboss.deployment.DeploymentException: Was unable to move war to: 
H:\server\all\tmp\deploy\tmp6335web-console.war.tmp

at 
org.jboss.web.AbstractWebContainer.init(AbstractWebContainer.java:296)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:696)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:632)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy6.deploy(Unknown Source)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:20
1)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
at 
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
at $Proxy0.start(Unknown Source)
at 
org.jboss.system.ServiceController.start(ServiceController.java:394)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
at org.jboss.Main.boot(Main.java:150)
at org.jboss.Main$1.run(Main.java:395)
at java.lang.Thread.run(Thread.java:534)
11:12:04,467 WARN  [NestedThrowable] Duplicate throwable nesting of same 
base type: class org.jboss.deployment.Deploymen
tException is assignable from: class 
org.jboss.deployment.DeploymentException
11:12:04,487 ERROR [MainDeployer] Could not initialise deloyment: 
file:/H:/server/all/deploy/management/web-console.war
org.jboss.deployment.DeploymentException: Was unable to move

RE: [JBoss-user] MDB JMS redelivery

2004-01-09 Thread Stephane Nicoll
Well your MDB does not run in a transaction context. Here is an example of
Xdoclet tags that enable JTA transactions in an MDB:

/**
 * ... other xdoclet stuff here
 *
 * @jboss.destination-jndi-name name="queue/parcelInstruction"
 *
 * @ejb.transaction type="Required"
 *
 * @author Stephane Nicoll
 * @version$Revision: 1.12.2.1 $
 */

(MDB accepts only Required and NotSupported, see the spec)

Once it is done, the setRollbackOnly will not do what you want anyway. If you
call it, your message will be rolledback as well as everything which has been
done inside that transaction (namely the creation of your entity bean). The
only solution I see so far for you is to call another session bean with
RequiresNew as JTA parameter. It will suspend current transaction (the one
started by your mdb) and create a new one. You can commit the new one (and so
the entity bean)  and still rollback the first one.

Regards,

Stephane


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, January 09, 2004 11:37 AM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] MDB JMS redelivery


> Aaaarggg
Sorry ;-)
>
>>As I understand it, the only way to force re-delivery of the JMS message
>>is to throw an EJBException to force JBoss to rollback
>>the transaction.
>
> No. You cannot throw an EJBException from onMessage, see the spec. If you
> want to rollback the message, use messageDriventContext.setRollbackOnly();

I tried this, but then I get the following Exception:

java.lang.IllegalStateException: setRollbackOnly must only be called in
the context of a transaction (EJB 2.0 - 15.5.1)
at org.jboss.ejb.MessageDrivenEnterpriseContext$MessageDrivenContextImpl
.setRollbackOnly(MessageDrivenEnterpriseContext.java:214)
at de.fag.grobi.logic.NotificationManagerBean.onMessage(NotificationMana
gerBean.java:190)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(Mess
...

..

I am using XDoclet but it ignores any @ejb.transaction tag
on the onMessage method of the MDB. Where can I set the transaction
correctly (probably a xdoclet question)?

>
> For the mix between JMS and CMP, I have no idea
When I get the ctx.setRollbackOnly to work, I hope to
resolve this problem by setting the transaction type
correctly.

Regards,

Stefan


---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] MDB JMS redelivery

2004-01-09 Thread stscit04
> Aaaarggg
Sorry ;-)
>
>>As I understand it, the only way to force re-delivery of the JMS message
>>is to throw an EJBException to force JBoss to rollback
>>the transaction.
>
> No. You cannot throw an EJBException from onMessage, see the spec. If you
> want to rollback the message, use messageDriventContext.setRollbackOnly();

I tried this, but then I get the following Exception:

java.lang.IllegalStateException: setRollbackOnly must only be called in
the context of a transaction (EJB 2.0 - 15.5.1)
at org.jboss.ejb.MessageDrivenEnterpriseContext$MessageDrivenContextImpl
.setRollbackOnly(MessageDrivenEnterpriseContext.java:214)
at de.fag.grobi.logic.NotificationManagerBean.onMessage(NotificationMana
gerBean.java:190)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(Mess
...

..

I am using XDoclet but it ignores any @ejb.transaction tag
on the onMessage method of the MDB. Where can I set the transaction
correctly (probably a xdoclet question)?

>
> For the mix between JMS and CMP, I have no idea
When I get the ctx.setRollbackOnly to work, I hope to
resolve this problem by setting the transaction type
correctly.

Regards,

Stefan


---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Change partition name for JBoss cluster configuration

2004-01-09 Thread Simone Milani



Hi Sacha,
 
    You mean change the line 



In cluster-service.xml?
 
Thanks
 
Simone

  - Original Message - 
  From: 
  Sacha Labourey 
  To: [EMAIL PROTECTED] 
  
  Sent: Thursday, January 08, 2004 11:06 
  PM
  Subject: RE: [JBoss-user] Change 
  partition name for JBoss cluster configuration
  
  the easiest way to change it is ... 
  not to change it but simply change the multicast address so that there is no 
  conflicts with other clusters.
  


From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of 
Boulatian, MisakSent: Thursday, January 08, 2004 7:06 
PMTo: [EMAIL PROTECTED]Subject: 
[JBoss-user] Change partition name for JBoss cluster 
configuration

Hi,
 
I am trying to 
run JBoss 3.2.3 in a clustered environment for production. I need to 
change the name 'DefaultPartition'. The way I was doing was to search and 
replace every occurrence of 'DefaultPartition' within the following files 
with the name I wanted:
 
- 
JBOSS_INSTALL_DIR/server/all/deploy/cluster-service.xml
- 
JBOSS_INSTALL_DIR/server/all/deploy/deploy.last/farm-service.xml
- 
JBOSS_INSTALL_DIR/server/all/deploy/jbossha-httpsession.sar/ClusteredHttpSessionEB.jar/META-INF/jboss.xml
 
I wonder if 
there is an easy way of doing this error-prone task.
 
Thanks a 
lot,
Misak

This message 
and any attachments are intended only for the use of the addressee and may 
contain information that is privileged and confidential. If the reader of 
the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of 
this communication is strictly prohibited. If you have received this 
communication in error, please notify us immediately by e-mail and delete 
the message and any attachments from your system. 
  


[JBoss-user] Jdom 0.7.jar with META-INF/info.xml displays a uncomplete deployment when put in the deploy directory

2004-01-09 Thread Stephane Nicoll
Hello list,

I think the problem is related to JBoss deployers so I am gonna ask this
here.

BTW, we use JBoss 3.2.1 - Redhat Linux

We have an ear that contains some libraries we use only in our application
(ear). That way we have only file to deploy and we are sure everything is
there. We use jdom (version 0.7) wich contains a META-INF/info.xml file.

When we deploy our ear, everything is ok but this log entry at the end of the
deployment:

2004-01-09 10:55:39,482 ERROR
[org.jboss.deployment.scanner.URLDeploymentScanner] MBeanException: Exception
in MBean operation 'checkIncompleteDeployments()'
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
[EMAIL PROTECTED] {
url=file:/var/jboss-3.2.1-kpserver2/server/default/tmp/deploy/server/default/
deploy/kserver-mr-1.10.0-RC1.ear/38.kserver-mr-1.10.0-RC1.ear-contents/jdom-0
.7.jar }
  deployer: null
  status: Starting
  state: START_SUBDEPLOYMENTS
  watch:
file:/var/jboss-3.2.1-kpserver2/server/default/tmp/deploy/server/default/depl
oy/kserver-mr-1.10.0-RC1.ear/38.kserver-mr-1.10.0-RC1.ear-contents/jdom-0.7.j
ar
  lastDeployed: 1073642108245
  lastModified: 1073642106000
  mbeans:
]Incompletely deployed packages:
  
MBeans waiting for classes:
  
MBeans waiting for other MBeans:
  

This is not really annoying because everything works ok but if you could give
me a trick to avoid that message.

Regards,

Stephane



---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Where to put an Interceptor class?

2004-01-09 Thread Giovanni Formenti
I readed this doc but I can't understand clearly how to do!
I made the following steps:
1) Write a class that extends AbstractInterceptor and implements the invoke
method:
public Object invoke(Invocation invocation) throws Exception {
Object lRet;
System.out.println("LOG!!");
lRet=getNext().invoke(invocation);
return lRet;
  }
2) Modify jboss.xml with a configuration:
   

Try

com.xxx.TryInterceptor


   

  and a stateful session bean with that configuration:
  
 Application
 ApplicationBean
 ApplicationLocal
 Try
  

It don't works! What i miss? I really appreciate any suggestion...
Thanx

> -Messaggio originale-
> Da: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] conto di Sacha
> Labourey
> Inviato: mercoledi 7 gennaio 2004 17.39
> A: [EMAIL PROTECTED]
> Oggetto: RE: [JBoss-user] Where to put an Interceptor class?
>
>
> > Sorry... but JBoss 3.2 can use interceptor? How?! I'm very
> > interesting about
> > this!
>
> It is possible since JBoss 2.0.
>
> Take a look at conf/standardjboss.xml and the documentation, it
> shows how to
> write your own JBoss.xml file which includes such a stack definition.
>
> Cheers
>
>
> sacha
>
>
>
> ---
> This SF.net email is sponsored by: Perforce Software.
> Perforce is the Fast Software Configuration Management System offering
> advanced branching capabilities and atomic changes on 50+ platforms.
> Free Eval! http://www.perforce.com/perforce/loadprog.html
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user



---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] MDB JMS redelivery

2004-01-09 Thread Stephane Nicoll
Aaaarggg

>As I understand it, the only way to force re-delivery of the JMS message
>is to throw an EJBException to force JBoss to rollback
>the transaction.

No. You cannot throw an EJBException from onMessage, see the spec. If you
want to rollback the message, use messageDriventContext.setRollbackOnly();

For the mix between JMS and CMP, I have no idea

Regards,

Stephane


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, January 09, 2004 8:14 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] MDB JMS redelivery


Hi,

I have a MDB which takes messages from a Queue.
In the onMessage() method, I am working with
CMP beans. If something goes wrong, I want the JMS
message to be redelivered, but the changes on the CMP
beans should not be rolled back.

As I understand it, the only way to force re-delivery of the JMS message
is to throw an EJBException to force JBoss to rollback
the transaction. But this also rolles back the changes on the
CMP beans...

Is there an obvious solution I am not seeing ?

Thanks in advance,

Stefan


---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] Re: twiddle

2004-01-09 Thread Rupp, Heiko



Hi,
 
as a 
followup on myself ...
 
I a) 
found the mail of Tobias and b) commited a fix so that twiddle can be run 
standalone.
 
  
Heiko

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]On Behalf Of Rupp, 
  HeikoSent: Friday, January 02, 2004 11:37 PMTo: 
  [EMAIL PROTECTED]Subject: [JBoss-user] Re: 
  twiddle
  
  Hm.
  with jdk1.4.3 on Win2K I get on 3.2.3:
  D:\Tools\jboss-3.2\bin>twiddle serverinfo -l
  twiddle: org.jboss.util.NestedRuntimeException: - nested throwable: 
  (javax.naming.CommunicationException [Root exception is 
  java.lang.ClassNotFoundException: org.jboss.proxy.ClientContainer (no security 
  manager: RMI class loader disabled)])
  What am I doing wrong?
  Thanks,  Heiko


RE: [JBoss-user] Re: twiddle

2004-01-09 Thread Rupp, Heiko
Yeah, you are right.

Unfortunately, the mail was burried for quite some time in the
mailsystem without a chance to recall it etc.

I meanwhile found the mail of Tobias and committed a fix to it
a few days ago.

  Heiko

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Werner
> Ramaekers
> Sent: Tuesday, January 06, 2004 8:35 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] Re: twiddle
> 
> 
> Mailing list archives are such a nice concept ..
> if someone already asked the question you can see if he got an answer 
> that might be helpful to you too ;-)
> 
> http://www.mail-archive.com/[EMAIL PROTECTED]/m
sg34428.html

-- 
--
ir. Werner Ramaekers
Enterprise Java Solutions Architect - Shift@
JBoss Authorized Service Partner

Read my Blog at http://www.werner.be
"May the source be with you."
-- 



Rupp, Heiko wrote:

> Hm.
>
> with jdk1.4.3 on Win2K I get on 3.2.3:
>
> D:\Tools\jboss-3.2\bin>twiddle serverinfo -l
>
> twiddle: org.jboss.util.NestedRuntimeException: - nested throwable: 
> (javax.naming.CommunicationException [Root exception is 
> java.lang.ClassNotFoundException: org.jboss.proxy.ClientContainer (no 
> security manager: RMI class loader disabled)])
>
> What am I doing wrong?
>
> Thanks,  Heiko
>




---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


AW: [JBoss-user] problem with host name resolivng via http invoker

2004-01-09 Thread Janardhan Burugupalli
Title: AW: [JBoss-user] problem with host name resolivng via http invoker



hi,
 
It 
works fine but...it was totally a mislead in the Jboss All docus i read some 
thing like this 
 

InvokerURL: This is 
either the http URL to the InvokerServlet mapping, or the 
name of a
system property that will be resolved inside the client VM to 
obtain the http URL to the InvokerServlet.
This value can itself be a reference to a system property resolved 
in the server if the
value is of the form ${x} where x is the name of the system 
property. This allows the URL or client
side system property to be set in one place and reused in the 
HttpInvoker config as well as the
InvokerServlet config.
 
may u all shuld change it in the docs ...it 
clearly says ${x} but it shuld be given as x where x= system property key 

 
any way my problem is solved 

 
thanks 
jani

  -Ursprüngliche Nachricht-Von: Scott M Stark 
  [mailto:[EMAIL PROTECTED]Im Auftrag von Scott M 
  StarkGesendet: Donnerstag, 8. Januar 2004 23:48An: 
  [EMAIL PROTECTED]Betreff: RE: [JBoss-user] problem 
  with host name resolivng via http invoker
  
  The system property usage 
  would be:
  MyJMXUrl
   
  
  Scott StarkChief Technology 
  OfficerJBoss Group, LLC
  
  
  From: [EMAIL PROTECTED] 
  on behalf of Janardhan BurugupalliSent: Thu 1/8/2004 8:37 
  AMTo: [EMAIL PROTECTED]Subject: AW: 
  [JBoss-user] problem with host name resolivng via http 
  invoker
  
  HI Scott,As u said i used the system property MyJMXUrl 
  and added it to thehttp-invoker.sar/meta-inf/jboss-service.xml file as 
  shown below. Here iguess after the dollar sign and in the flower brackets 
  the system propertyshould lie.${MyJMXUrl}And i am setting 
  this system property in the client start up before callingthis servlet or 
  making this invocation and i get the following error. As ianalysed the 
  property its self is not read and replaced . But if i use thecomplete URL 
  as u said explicitly it worksname="InvokerURL">http://thehostiwant:8080/invoker/EJBInvokerServletute>but 
  i want the system property to be working as some of my clients are inthe 
  local network and some are out side and both has differetn host names.So 
  for different clients i can set at the start up this system property ifit 
  works.
<>

[JBoss-user] MDB JMS redelivery

2004-01-09 Thread stscit04
Hi,

I have a MDB which takes messages from a Queue.
In the onMessage() method, I am working with
CMP beans. If something goes wrong, I want the JMS
message to be redelivered, but the changes on the CMP
beans should not be rolled back.

As I understand it, the only way to force re-delivery of the JMS message
is to throw an EJBException to force JBoss to rollback
the transaction. But this also rolles back the changes on the
CMP beans...

Is there an obvious solution I am not seeing ?

Thanks in advance,

Stefan


---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user