Re: [JBoss-user] flushAuthenticationCache in JBoss 3.0.7

2003-06-25 Thread Scott M Stark
Previously I said there was no way short of performing an authentication to place an entry in the auth cache. This is true of the default cache, but you can install your own org.jboss.util.CachePolicy instance for use by the security manager and this would allow you to directly manipulate the c

Re: [JBoss-user] CMR Problem

2003-06-25 Thread Alexey Loubyansky
Hello Jason, try to remove cascade-delete for one-to-one. By the spec, it is allowed only for many side. alex Thursday, June 26, 2003, 8:33:08 AM, Jason Calabrese wrote: JC> I'm having a weird CMR problem with 3.2.0. JC> I have a bean that a has 2 CMR fields that both target the same bean with

Re: [JBoss-user] Problems with EJB-QL in a finder method - 3.2.1

2003-06-25 Thread Alexey Loubyansky
If there is no exception, the query was executed successfully. alex Thursday, June 26, 2003, 2:24:11 AM, Marco Tedone wrote: MT> Hi, I'm trying to use a finder method which I defined with EJB-QL: MT> The signature is as follows: MT> public java.util.Collection findByEmailPassword(java.lang.Str

Re: [JBoss-user] Question about CMP entity

2003-06-25 Thread Alexey Loubyansky
Hello Marco, if the problem really is a primary key generation you could consider entity-commands in JBoss-3.2. The options are: - database key generation (sequences, etc); - custom sql; - you can supply your own key generator class that will be asked for the next key; - JDBC3.0 PreparedStatemen

[JBoss-user] Re: @jboss-net: xdoclet module

2003-06-25 Thread Eric Jain
> Can/Should this module be added to the main JBoss download > page on source forge? +1 -- Eric Jain --- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Server

[JBoss-user] flushAuthenticationCache in JBoss 3.0.7

2003-06-25 Thread Alexander Titov
Thursday, June 26, 2003 06:54:55 Hello Scott. I am beginner at JBoss security, so sorry for my silly question. As it is written in documentation, the client login module (during login method call) simply binds the username and password to JBoss EJB invocation layer for later authentication on the

RE: [JBoss-user] execute some command at end of deployment/startup

2003-06-25 Thread Jon Barnett
It seems you are waiting for the home interface to be bound to the JNDI. This might be a naive question as I haven't tried creating a dependency on an EJB, but can't you define the depend to be jboss.j2ee:jndiName=...,service=...? I'm assuming that if the home interface is bound that the EJB must b

[JBoss-user] CMR Problem

2003-06-25 Thread Jason Calabrese
I'm having a weird CMR problem with 3.2.0. I have a bean that a has 2 CMR fields that both target the same bean with different pk's. One of the CMR fields is a 1:1 relation and the other is the single side of a 1:M relation. The CMR fields can be read fine, but cause problems for ejbCreate. T

[JBoss-user] Dynamic MDB generation

2003-06-25 Thread Michael Klem
I am creating queues dynamically in my app. Is it possible to dynamically create an MDB for those queues? -- Michael Klem <[EMAIL PROTECTED]>626-296-3027 --- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: B

[JBoss-user] Message Driven Bean questions

2003-06-25 Thread Michael Klem
1. Is it possible to disable/enable an MDB from receiving messages from a queue via JMX? 2. Is it possible to dynamically change the pool size of a MDB via JMX? -- Michael Klem <[EMAIL PROTECTED]>626-296-3027 --- This SF.Net email is spons

Re: [JBoss-user] execute some command at end of deployment/startup

2003-06-25 Thread Ittay Dror
why use the web side of things? what i want to initialize is my beans. ins't there a j2ee way of doing that? thanx, ittay On Wed, 2003-06-25 at 15:51, David Ward wrote: > Ittay, > > Implement a javax.servlet.ServletContextListener, add it to your web.xml of your > war (if you have one, otherwise

[JBoss-user] Web Services and Basic Authentication

2003-06-25 Thread Neal Sanche
Hi All, I'm writing, or at least attempting to write, a .NET client that talks to a secured JBoss web service. I've followed the other threads in this list that state that I should set an acceptUnauthenticatedCalls flag to false, and that isn't working. It seems that Microsoft has followed the

Re: [JBoss-user] jboss-3.2.1_tomcat-4.1.24 & jsp compilation errorson AIX

2003-06-25 Thread Scott M Stark
The classpath passed to the jsp compiler is every jar visible from the war classloader through its parent, and there is no way to override it. The jasper classpath element is not used. You could precompile the jsps as one workaround. You could also move the tmp directory location by setting the

RE: [JBoss-user] JBoss-Net performance issues

2003-06-25 Thread Nicholas
I believe that one of the reasons .Net continues to do so well in WebServices performance is that their XML parser is reportedly anywhere from 4 to 20 times faster than any Java based parsers. I had heard that eBay has XML generated on the back end Java systems translated on NT boxes using a JNI wr

RE: [JBoss-user] JBoss-Net performance issues

2003-06-25 Thread Jon Barnett
That is an interesting set of results, although not surprising. As Bill said, the greatest problem with Web services is that you take the hit for working with XML. There are many articles that discuss this, of which I include this one: http://techupdate.zdnet.com/techupdate/stories/main/0,14179,283

Re: [JBoss-user] Question about CMP entity

2003-06-25 Thread Marco Tedone
Thank you Marco, I'm sure it will help.   --Your omonimus - Original Message - From: Marco Garbelini To: [EMAIL PROTECTED] Sent: Thursday, June 26, 2003 12:30 AM Subject: Re: [JBoss-user] Question about CMP entity - Original Message - From

[JBoss-user] jboss-3.2.1_tomcat-4.1.24 & jsp compilation errors on AIX

2003-06-25 Thread Sulik, Lori
Hiya folks, I've been searching for an answer to this problem, but have been unable to find a solution -- I'm hoping someone here can point me at the right direction.. My apologies if this has already been addressed, or if it's considered a n00b question... We're using jboss 3.2.1 with th

Re: [JBoss-user] Question about CMP entity

2003-06-25 Thread Marco Garbelini
- Original Message - From: "Marco Tedone" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 25, 2003 8:19 PM Subject: Re: [JBoss-user] Question about CMP entity > Could you please forward some example? You can use this same bean to create ids for any entity, or crea

[JBoss-user] Problems with EJB-QL in a finder method - 3.2.1

2003-06-25 Thread Marco Tedone
Hi, I'm trying to use a finder method which I defined with EJB-QL: The signature is as follows: public java.util.Collection findByEmailPassword(java.lang.String email, java.lang.String password) throws javax.ejb.FinderException; in the ejb-jar.xml file I have the following: findByEmailPa

Re: [JBoss-user] Question about CMP entity

2003-06-25 Thread Marco Tedone
Could you please forward some example? Thanks, Marco - Original Message - From: "Marco Garbelini" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 25, 2003 11:57 PM Subject: Re: [JBoss-user] Question about CMP entity The concurrency issue is not that simple. I never un

Re: [JBoss-user] CMR exception (bug?)

2003-06-25 Thread Louis Leung
I'm trying to run PurchaseOrder with 2 Local Enitities PurchaseOrder & LineItems, with a 1:N relationship between them. LineItem Entity has a CMP field (masterOrder_orderId) which is part of primary key and is also maps the masterOrder relationship with PurchaseOrder. Alexey Loubyansky wrote:

Re: [JBoss-user] Question about CMP entity

2003-06-25 Thread Marco Garbelini
The concurrency issue is not that simple. I never understood how the EJB container deals with that completely. :-/ Anyway, I supose you are talking about PrimaryKey generation: I use the Sequence Blocks strategy from Floyd Marinescu´s book EJB Design Patterns. It consists of a CMP(in my case) ent

RE: [JBoss-user] JBoss-Net performance issues

2003-06-25 Thread Bill Burke
I recent study put JBoss.net ahead of other J2EE vendors in performance. http://www.formsite.com/doculabs/atbench/index.html You're always going to get crappy performance. You're doing XML parsing don't forget instead of putting the bytes right on the stream. > -Original Message- > From:

Re: [JBoss-user] CMP and DataSource with Security Domain

2003-06-25 Thread David Jencks
Does it work if you use the jboss ConfiguredIdentityLoginModule instead of yours? david jencks On 2003.06.24 15:00 Mauricio De Diana wrote: > Hi all, > > I have a datasource under a security domain. It is > referenced from a CMP entity bean. When the bean is > deployed, I get the following excep

Re: [JBoss-user] jboss 3.2 datasource lookup error

2003-06-25 Thread David Jencks
On 2003.06.24 13:04 _/^ _/^ wrote: > Hello: > > That syntax is not working. Are you at least getting a different error? > > Other than sybase-ds.xml and login-config.xml , I think there is more to > edit/update in the setup files. not unless there are some errors somewhere. david jencks I

[JBoss-user] Question about CMP entity

2003-06-25 Thread Marco Tedone
Sorry guru for the [silly] question: I am having a discussion with people in my project regarding the container work with CMP entity beans. More specifically, we want to implement a Numerator table to assign numbers to several entities of our model. Suppose a client wants to assign a value to a pe

[JBoss-user] JBoss.org, strange links...

2003-06-25 Thread wondersonic
Hello, I think the links: - JBoss IDE - XDoclet in the webpage: http://jboss.org/index.html?module=html&op=userdisplay&id=developers/project s/jboss point to the wrong webpages: - http://jboss.org/index.html?module=html&op=userdisplay&id=developers/project s/jboss/jetty - http://jboss.org/index.htm

Re: [JBoss-user] How can I restrict access from .jspp page extensions?

2003-06-25 Thread Scott M Stark
Use a web.xml security-constraint like the following: Whatever I'm securing *.jspp GET POST ... Role1 ... -- Scott Stark Chief Technology Officer JBoss Group, LLC Greg Roll wrote:

[JBoss-user] JBoss-Net performance issues

2003-06-25 Thread Barlow, Dustin
I've been playing with the simple Hello jboss-net code included in the samples directory. I did some performance testing and the results are quite stunning. The test was simple. I used the included sample Axis test client to call the hello(String name) method but instead of passing it a short st

Re: [JBoss-user] flushAuthenticationCache in JBoss 3.0.7

2003-06-25 Thread Scott M Stark
There is no way to update the auth cache short of populating it with a valid authentication. The password change operation should be invalidating the session and then reestablishing it as part of the password change form to refresh the auth cache/session and update the ldap store. -- x

Re: [JBoss-user] HttpSession access from LoginModule JBoss 3.0.7

2003-06-25 Thread Scott M Stark
No, as the login modules are not context sensitive. You could pass this information using a thread local and a filter to valve. If you could specify an extension or replacement for the default JAAS callback handler to allow your login module to propagate info via text callbacks how you would us

[JBoss-user] How can I restrict access from .jspp page extensions?

2003-06-25 Thread Greg Roll
I hope I have the right mailing list... please let me know if I don't  but I'm looking for a way to configure the Jboss3.2/Tomcat bundle so as not to allow a user direct access any pages I mark with a .jspp extension.   I'm new to JBoss so I'm not sure if this can be done   In p

RE: [JBoss-user] JBoss 3.2 and MQSeries trouble

2003-06-25 Thread Adrian Brock
Hi, This guy got MDBs working with MQSeries after he found a bug in our server session pool. http://www.jboss.org/thread.jsp?forum=48&thread=32405 Perhaps you can tell whether this is XA? JCA1.5 does make the interface cleaner. Regards, Adrian Adrian Brock Director of

[JBoss-user] HttpSession access from LoginModule JBoss 3.0.7

2003-06-25 Thread Spencer
Is there anyway to access the HttpSession (in order to store something) from the LoginModule used in JBoss's authentication scheme? I have a servlet driving the login-try and login-page elements of the form-login of my web app. I'd like to be able to send messages to the user when a login failure

Re[2]: [JBoss-user] CMR exception (bug?)

2003-06-25 Thread Alexey Loubyansky
Hello Louis, you mean foreign key field mapped to primary key? yes, it is supported. Make sure the database schema and mapping in jbosscmp-jdbc.xml are congruent. alex Wednesday, June 25, 2003, 8:48:42 PM, Louis Leung wrote: LL> Thanks Alex for your help. The tables are not created by JBossCMP

[JBoss-user] Setting up the source in Eclipse..

2003-06-25 Thread Mark.Gargan
Title: Message Hi folks,    A while back I checked out the head and got it integrated with Eclipse so that I could remotely debug the version of jboss that was built from my checkout. Since then I've decided upon using jboss-3.2.1 with Tomcat-4.1.24. So I downloaded a the binary

[JBoss-user] HttpSession access from LoginModule JBoss 3.0.7

2003-06-25 Thread Spencer
Is there anyway to access the HttpSession (in order to store something) from the LoginModule used in JBoss's authentication scheme? I have a servlet driving the login-try and login-page elements of the form-login of my web app. I'd like to be able to send messages to the user when a login failure

Re: [JBoss-user] CMR exception (bug?)

2003-06-25 Thread Louis Leung
Thanks Alex for your help. The tables are not created by JBossCMP. The strange thing is this exception only occurs when the primary key is composed of a foreign key. Would you know if this is supported in JBoss ? Alexey Loubyansky wrote: > Hello Louis, > > the exception is thrown from crea

[JBoss-user] flushAuthenticationCache in JBoss 3.0.7

2003-06-25 Thread Spencer
Currently, my web app uses LDAP to authenticate. When a user changes their password in LDAP, it does not get updated in the Auth Cache (which is expected behavior), so the old password is valid until the user logs in with the new password. I found the manual entry about flushing the authenticatio

Re: [JBoss-user] @jboss-net: xdoclet module

2003-06-25 Thread David Ward
I think it would be a *great* idea to have this downloadable at jboss' sourceforge page. The jar could be available either: 1) As part of the jboss download (maybe in ${jboss.home}/lib or ${jboss.home}/docs/xdoclet/ or...) 2) As a separate download, but still contextual to each jboss release (ju

RE: [JBoss-user] JBoss 3.2 and MQSeries trouble

2003-06-25 Thread thomas . cherel
Even on Linux, the default MQ connection mode is "binding" which is using some JNI code. You will need some MQ shared libraries in your path/ld__library_path to make it work. Check the readme of the patch for more details. Thomas -Original Message- From: Stefano Maestri [mailto:[EMAIL PRO

RE: [JBoss-user] JBoss 3.2 and MQSeries trouble

2003-06-25 Thread thomas . cherel
Title: RE: [JBoss-user] JBoss 3.2 and MQSeries trouble I did not debug myself, but I got an answer from Hiram (Core Developers Network). Here is the quote from his answer. I did not get the time to investigate further or try some of Hiram suggestions. The JMS ASF spec is a little weak in desc

Re[2]: [JBoss-user] Unable to passivate due to ctx lock

2003-06-25 Thread Alexey Loubyansky
Magesh, I think, it is a bug in JBoss. alex Wednesday, June 25, 2003, 3:08:45 PM, Magesh Prabhu wrote: MP> Alex, I'm using BMP's. MP> The id's displayed in the warn message is valid. The record definitely exist in database. MP> Cheers, MP> Magesh MP> On 6/25/03 12:01 PM, Alexey Loubyansky <

[JBoss-user] @jboss-net: xdoclet module

2003-06-25 Thread Barlow, Dustin
Is there any plan to distribute the xdoclet-module-jboss-net.jar XDoclet ejbdoclet subtask module outside of the main jboss source tree? The module wasn't built on the main jboss build and it took me some time to find this module and to figure out that I could manually build it in the jboss-net

RE: [JBoss-user] WSDL Part names within messages.

2003-06-25 Thread Mark.Gargan
Title: Message Sure thing I'll keep you posted with anything I come up with if I manage to get anything together.   Thanks, Mark.   -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jung , Dr. ChristophSent: 25 June 2003 14:24To: '[EMAI

RE: [JBoss-user] JBoss 3.2 and MQSeries trouble

2003-06-25 Thread Adrian Brock
I was expecting to see a Caused By: stacktrace, but I release now this a JMSException which doesn't show it. I guess you need to figure out how to bind MQSeries's jndi into jboss's jndi. Have you tried the external context mbean? There's an example of using the fscontext on this thread in the for

[JBoss-user] What do these warnings mean.

2003-06-25 Thread Magesh Prabhu
1) I'm getting the Following warning in the console. I've checked all my beans unsetEntityContext method to set the value to null. public void unsetEntityContext() { this.entityContext = null; } still I'm getting the following warning.. WARN [AbstractInstanceCache] Unable to passivate due to

Re: [JBoss-user] JBoss 3.2 and MQSeries trouble

2003-06-25 Thread Stefano Maestri
On Wednesday 25 June 2003 16:25, Adrian Brock wrote: > I missed this post. > > What is the issue with the MDB not getting > any messages from an XAConnection? > Did you have time to debug it? Is this question for me? If yes, my answer is : yes I have time tomorrow tomorrow (GMT time). But the prob

RE: [JBoss-user] creating virtual host on the fly

2003-06-25 Thread Brian Topping
> -Original Message- > From: Ionel Gardais [mailto:[EMAIL PROTECTED] > Subject: Re: [JBoss-user] creating virtual host on the fly > > Does creating a virtual host is as simple as adding a second Host > element in the > jbossweb-tomcat.sar/META-INF/jboss-service.xml's server > element ?

[JBoss-user] JBoss QL - Order By Boolean

2003-06-25 Thread Jason Calabrese
Hi everyone, I sent this yesterday, but I think it may have been missed. I have a bean that I need to create a finder for that orders by a boolean field, the db column is a MySQL TINYINT. It seems like JBoss does not support this. Is that true? Thanks, Jason -

[JBoss-user] RE: problem with file lookup from session bean

2003-06-25 Thread Arun
Hi Dan, Thanks for the mail. I added the PROVIDER_URL. We are using jboss-3.2.1_tomcat-4.1.24. When we cast to the connectionFactory for lookup, We getting casting error as below, = 9:28:40,257 INFO [Server] JBoss (MX MicroKernel) [3.2.1 (build: CVSTag=JBoss_3_2_1 da

Re: [JBoss-user] Cocoon and Jbos3.0.6 configuration

2003-06-25 Thread Ryan Hoegg
Hi, I got Cocoon 2.1 pre-M1 working on JBoss 3.0.7 with nothing like this kind of complication. You have to get accustomed to the new Cocoon build process (since we don't have a binary distribution anymore) but once its built I simply put my cocoon app into the cocoon WAR and drop it in $JBOS

RE: [JBoss-user] Weird problems with Timer service in jboss 3.2.1

2003-06-25 Thread Adrian Brock
AllNotificationIDs is an attribute. Use MBeanServer.getAttribute(); You need to move the timer service before the URLDeploymentScanner to avoid the warning. Adrian Brock Director of Support Back Office JBoss Group, LLC > -Original Messag

Re: [JBoss-user] JBoss 3.2 and MQSeries trouble

2003-06-25 Thread Stefano Maestri
On Wednesday 25 June 2003 15:47, Adrian Brock wrote: > You don't show the full stacktrace, so > I can't see the linked exception that is the cause. Here is the full stack trace. At the end of messagle > > Have you confirmed the MQSeries objects > are bound into jboss's jndi? Are they bound where >

Re: [JBoss-user] JBoss 3.2 and MQSeries trouble

2003-06-25 Thread Stefano Maestri
On Wednesday 25 June 2003 15:28, [EMAIL PROTECTED] wrote: > I am wondering if the error you get is not because the connection mode used > to connect to MQ is "binding" and JBoss will need to be on the same machine > as the MQ queue manager as well as a lot of MQ dlls that must be in the > path. eh

RE: [JBoss-user] JBoss 3.2 and MQSeries trouble

2003-06-25 Thread Adrian Brock
I missed this post. What is the issue with the MDB not getting any messages from an XAConnection? Did you have time to debug it? Adrian Brock Director of Support Back Office JBoss Group, LLC > -Original Message- > From: [EMAIL PROTEC

[JBoss-user] Weird problems with Timer service in jboss 3.2.1

2003-06-25 Thread Marco.Mistroni
hi all, i am following a jboss example for using the Timer service, but i got strange behaviour. the examples assumes that u declare first hte following mbean in the jboss.jcl (i guess for jboss 3.2.1 is server\conf\jboss-service.xml) but for this declaration (in server\conf\jboss-service

AW: [JBoss-user] EJBQL >= for dates

2003-06-25 Thread Scheidl, Dietmar
Hi, just rewrite it like: SELECT OBJECT(o) FROM MDSKeyVector o WHERE o.className = ?1 AND o.currency = ?2 AND o.instance = ?3 AND o.process = ?4 AND o.location = ?5 AND o.businessArea = ?6 AND o.name = ?7 AND ( o.asOfDate > ?8 OR o.asOfDate = ?8 ) AND ( o.asOfDate < ?9 OR o.asOfDate = ?9

RE: [JBoss-user] JBoss 3.2 and MQSeries trouble

2003-06-25 Thread Adrian Brock
You don't show the full stacktrace, so I can't see the linked exception that is the cause. Have you confirmed the MQSeries objects are bound into jboss's jndi? Are they bound where you would expect? Does MQSeries actually have queue/DLQ? When you get this working can you post the full solution. I

[JBoss-user] Cocoon and Jbos3.0.6 configuration

2003-06-25 Thread Mitchell, Lincoln L.
I am trying to get cocoon (any version) working with Jbos-3.0.6 and have tried following the instruction mentioned on the apache site but to no avail as only Jboss 2 is mentioned. I also browsed the cocoon mailing list and it seems others have had this problem but I don't understand the solutio

RE: [JBoss-user] JBoss 3.2 and MQSeries trouble

2003-06-25 Thread thomas . cherel
I am wondering if the error you get is not because the connection mode used to connect to MQ is "binding" and JBoss will need to be on the same machine as the MQ queue manager as well as a lot of MQ dlls that must be in the path. Take a look at the following patch (753022) submitted to JBoss: htt

AW: [JBoss-user] WSDL Part names within messages.

2003-06-25 Thread Jung , Dr. Christoph
Title: Nachricht I would be quite interested in the results of your experiments given that we will rewrite EJBProvider for a more tight integration with the jboss invocation stack.     CGJ   -Ursprüngliche Nachricht-Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Mi

Re: [JBoss-user] execute some command at end of deployment/startup

2003-06-25 Thread Magesh Prabhu
Why dont you try a Startup Servlet which can have which will fire the init() method of the servlet after your ear deployment is complete. Cheers, Magesh On 6/25/03 1:00 PM, Ittay Dror <[EMAIL PROTECTED]> wrote: >Hello, > >I want to be able to run some code that calls EJBs at the end of >my ear

RE: [JBoss-user] EJBQL >= for dates

2003-06-25 Thread Danny . Yates
Another option would be to reverse the sense of your comparison: (x >= y) ==> (y < x) Then you can use the standard < operator. Dan. -- Danny Yates -Original Message- From: Simone Milani [mailto:[EMAIL PROTECTED] Sent: 25 June 2003 13:42 To: [EMAIL PROTECTED] Subject: Re: [JB

AW: [JBoss-user] EJBQL >= for dates

2003-06-25 Thread Ingo Bruell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Simone, no, i think not. best regards Ingo Bruell - - --- <[EMAIL PROTECTED]> Oldenburg PGP-Fingerprint: CB01 AE12 B359 87C4 BF1C 953C 8FE7 C648 169E E5FC GermanyPGP-Public-Key available at pgpkeys.mit.edu -BEGIN PGP SIGNATURE- V

RE: [JBoss-user] Tricky problem with Transaction type Required and RequiresNew

2003-06-25 Thread Adrian Brock
The example you show shouldn't block, but RequiresNew can block if you already hold a lock on the same thread. A simple example would be: Start Tx1 bean1.doSomething(); Required (locked to Tx1) bean1.doSomethingElse(); RequiresNew tries to lock in the new Tx but the lock is already held by Tx1 w

[JBoss-user] JBoss 3.2 and MQSeries trouble

2003-06-25 Thread Stefano Maestri
I'm trying to configure JBoss to use websphere MQ 5.3 (alias MQSeries 5.3). I read the thread on Jboss group abou and I configured JBoss addin this row in jboss file: jms-ds.xml: MQSeriesProvider org.jboss.jms.jndi.JBossMQProvider QueueConnectionFactory java:/XAConnectionFactory s

Re: [JBoss-user] execute some command at end of deployment/startup

2003-06-25 Thread David Ward
Ittay, Implement a javax.servlet.ServletContextListener, add it to your web.xml of your war (if you have one, otherwise make one), and then you can put stuff in the contextInitialized(ServletContextEvent) and contextDestroyed(ServletContextEvent) methods. It's a good appserver agnostic startup/sh

Re: [JBoss-user] EJBQL >= for dates

2003-06-25 Thread Simone Milani
Thanks, I guess another option would be to use JBoss-QL. Am I correct? Thanks Simone - Original Message - From: "Ingo Bruell" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 25, 2003 11:08 AM Subject: AW: [JBoss-user] EJBQL >= for dates > -BEGIN PGP SIGNED M

RE: [JBoss-user] j_security_check & JBoss/Jetty

2003-06-25 Thread Alastair Rodgers
Hello Brian, You don't need to write any special Action or Form classes to use JAAS with Struts. The steps you need are: 1) Configure a login policy ('application-policy') in /conf/login-config.xml, and set up your users & roles appropriately (I suggest using UsersRolesLoginModule initially,

RE: [JBoss-user] WSDL Part names within messages.

2003-06-25 Thread Mark.Gargan
Title: Message Hi Dr. Jung,     I was hoping you'd get back to me. Thanks again. I think I'll have a look at the BCEL and XJavadoc option.   Thanks very much for your help, Mark. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jun

Re: [JBoss-user] problem accessing an inner class from an MBean

2003-06-25 Thread George Icriverzi
The CService class is actually named CRLFactory (and the inner class is named CertScanner, though this is irrelevant) Scott M Stark wrote: Run the attached ListJar on the ear in question. import java.io.FileInputStream; import java.util.Enumeration; import java.util.Iterator; import jav

Re: [JBoss-user] Unable to passivate due to ctx lock

2003-06-25 Thread Magesh Prabhu
Alex, I'm using BMP's. The id's displayed in the warn message is valid. The record definitely exist in database. Cheers, Magesh On 6/25/03 12:01 PM, Alexey Loubyansky <[EMAIL PROTECTED]> wrote: >Hello Magesh, > >Wednesday, June 25, 2003, 1:33:27 PM, Magesh Prabhu wrote: > >MP> I'm getting this

[JBoss-user] execute some command at end of deployment/startup

2003-06-25 Thread Ittay Dror
Hello, I want to be able to run some code that calls EJBs at the end of my ear deployment. I've tried to do this by creating an MBean, and putting the code in its start() method. My problem is that the MBean starts before the EJBs are deployed. I've tried putting a on the object names JBoss gives

[JBoss-user] Tricky problem with Transaction type Required and RequiresNew

2003-06-25 Thread Jonathan . O'Connor
Hi, I have a stateless session bean marked as transaction required that was locking. Here's what it did: /** * @ejb.transaction type="Required" */ public void runAuditedTask() { try { auditor.doStart(); // Transaction RequiresNew slsb1.doSomething(); // Tra

RE: [JBoss-user] Run a class onStartup

2003-06-25 Thread Marco.Mistroni
HI, at http://www.theserverside.com there are free chapters available of the book 'JMX in Action'.. u can check 'em out.. i have read almost all, and they are very useful... regards marco > -Original Message- > From: ext Astie, Sebastien [mailto:[EMAIL PROTECTED] > Sent: 2

Re: [JBoss-user] Unable to passivate due to ctx lock

2003-06-25 Thread Alexey Loubyansky
Hello Magesh, Wednesday, June 25, 2003, 1:33:27 PM, Magesh Prabhu wrote: MP> I'm getting this following warning. I went in to all my entity beans to check if I'm doing any naughtly stuff with entity context. Everything looks fine. Could anybody suggest me what could be MP> the possible reason f

Re: [JBoss-user] JMS Singleton - DLQ

2003-06-25 Thread Magesh Prabhu
yoh.. JBoss is just wonderful.. Its awesome..Thanks Adrian. On 6/25/03 10:42 AM, Adrian Brock <[EMAIL PROTECTED]> wrote: >This works for me with the following jboss.xml (Branch_3_2 CVS rather >than 3.2.1) > > >"http://www.jboss.org/j2ee/dtd/jboss.dtd";> > > > > > > message-bea

RE: [JBoss-user] how to get TopicConnectionFactory in jboss 3.2.1 ?

2003-06-25 Thread Marco.Mistroni
thanx adrian! it worked just fine. regards marco > -Original Message- > From: ext Adrian Brock [mailto:[EMAIL PROTECTED] > Sent: 25 June, 2003 13:14 > To: [EMAIL PROTECTED] > Subject: RE: [JBoss-user] how to get TopicConnectionFactory in jboss > 3.2.1 ? > > > Set RecursiveSearch

[JBoss-user] Unable to passivate due to ctx lock

2003-06-25 Thread Magesh Prabhu
I'm getting this following warning. I went in to all my entity beans to check if I'm doing any naughtly stuff with entity context. Everything looks fine. Could anybody suggest me what could be the possible reason for this warning.. Thanks in advance, Magesh WARN [AbstractInstanceCache] Unable

RE: [JBoss-user] how to get TopicConnectionFactory in jboss 3.2.1 ?

2003-06-25 Thread Adrian Brock
Set RecursiveSearch to True in server/default/conf/jboss-service.xml Adrian Brock Director of Support Back Office JBoss Group, LLC > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > [EMAIL PROT

AW: [JBoss-user] EJBQL >= for dates

2003-06-25 Thread Ingo Bruell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, you can not use '>=' or '<=' with attributes of type date only '=', '<', '>' and '<>' are allowed like the message said. If you need such behavior, you could combine them with an 'or' or 'and' operator. > I am trying to use >= and <= in my EJ

Re: [JBoss-user] StandardWrapperValve[default]: Servlet.service()for servlet default threw exception

2003-06-25 Thread Janardhan Burugupalli
HI All, I am getting the above exception which doent block anything but there should be some reason for this i am using jBoss3.2.1-tomcat4.1.24.. the error occurs when i click on a jnlp file which is deployed in the WorkClient.war file ..and starts downloading the jar files .

RE: [JBoss-user] JMS Singleton - DLQ

2003-06-25 Thread Adrian Brock
This works for me with the following jboss.xml (Branch_3_2 CVS rather than 3.2.1) http://www.jboss.org/j2ee/dtd/jboss.dtd";> message-bean default org.jboss.ejb.plugins.jms.JMSContainerInvoker DefaultJMSProvider StdJMSPool 1 1

[JBoss-user] how to get TopicConnectionFactory in jboss 3.2.1 ?

2003-06-25 Thread Marco.Mistroni
hi all, i am receiving an exception while running following code for retrieving a topic connection factory TopicConnectionFactory tcf = (TopicConnectionFactory)ctx.lookup("ConnectionFactory"); any reason why? i got above code from one JMS example in jboss on the n

Re: [JBoss-user] problem accessing an inner class from an MBean

2003-06-25 Thread Scott M Stark
Run the attached ListJar on the ear in question. -- Scott Stark Chief Technology Officer JBoss Group, LLC George Icriverzi wrote: The CService is packaged in a sar archive along with the jboss-service.xml descriptor. The sar is put in a jar, and

[JBoss-user] EJBQL >= for dates

2003-06-25 Thread Simone Milani
Hi, I am trying to use >= and <= in my EJB-QL and I get the following error: org.jboss.deployment.DeploymentException: Error compiling EJB-QL statement 'SELECT OBJECT(o) FROM MDSKeyVector o WHERE o.className = ?1 AND o.currency = ?2 AND o.instance = ?3 AND o.process = ?4 AND o.location = ?5 A

Re: [JBoss-user] M$ Soap 3.0 toolkit and JBoss.net interop

2003-06-25 Thread Simone Milani
Hi, I add a look at the sources for 3.2.1 and looks like there is no tag for that. Simone - Original Message - From: "Neal Sanche" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 25, 2003 12:53 AM Subject: Re: [JBoss-user] M$ Soap 3.0 toolkit and JBoss.net interop

Re: [JBoss-user] M$ Soap 3.0 toolkit and JBoss.net interop

2003-06-25 Thread Simone Milani
I add a look at the sources for 3.2.1 and looks like there is no Xdoclet tag for that. Simone - Original Message - From: "Neal Sanche" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 25, 2003 12:53 AM Subject: Re: [JBoss-user] M$ Soap 3.0 toolkit and JBoss.net interop

Re: [JBoss-user] Limiting the number of beans returned in the home interfaces multi-entity find methods

2003-06-25 Thread Alexey Loubyansky
Hello Allan, in JBoss-3.2 you can use SELECT OBJECT(o) FROM MyBean o OFFSET ?1 LIMIT ?2 alex Wednesday, June 25, 2003, 8:46:04 AM, Allan Kamau wrote: AK> I would like to limit the number of EJB object AK> references returned by an entity's home interface's AK> finder method(s) through the corre

Re: [JBoss-user] CMR exception (bug?)

2003-06-25 Thread Alexey Loubyansky
Hello Louis, the exception is thrown from create method. It is the result of checking whether the instance already exists. It selects primary key columns. Not foreign key. Does JBossCMP create tables in the db? Check the primary key configuration. alex Wednesday, June 25, 2003, 2:26:32 AM, Louis

[JBoss-user] Get your software done

2003-06-25 Thread nfs_ nfs
Having trouble completing a project or want to get a complete project done at a short notice. We have lot of professional coders who are available to work for you. All you have to do is post the description of the project; price your willing to pay and the deadline date. You'll be amazed at the

Re: [JBoss-user] JMS Singleton - DLQ

2003-06-25 Thread Magesh Prabhu
Thanks a lot Scott. It just works the way it is configured.. I have another requirement: When I rollback the transaction in MessageDrivenBean using messageDrivenContext.setRollbackOnly(); JBoss tries to resend it 10 more times and after it has exhausted 10 times, it sends it to the DeadLetterQu

RE: [JBoss-user] problem with Timer service in Jboss 3.2.1_tomcat4.1.24

2003-06-25 Thread Adrian Brock
Put it before the URLDeploymentScanner MBean and this message will go away. Adrian Brock Director of Support Back Office JBoss Group, LLC > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > [EMA

Re: [JBoss-user] creating virtual host on the fly

2003-06-25 Thread Scott M Stark
The May subscription update included a 3.2.1 draft of the book. The initial standalone version of the 3.2.1 book will be put out this week and will include the updated cmp2 docs. -- Scott Stark Chief Technology Officer JBoss Group, LLC Bavo De Ri

Re: [JBoss-user] problem accessing an inner class from an MBean

2003-06-25 Thread George Icriverzi
The CService is packaged in a sar archive along with the jboss-service.xml descriptor. The sar is put in a jar, and in the jar I have also other classes and descriptors. The jar, application.xml and jboss-app.xml are packaged in an ear. Anyway the jboss-app.xml is empty, and application.xml ment

[JBoss-user] problem with Timer service in Jboss 3.2.1_tomcat4.1.24

2003-06-25 Thread Marco.Mistroni
hi all, i am trying to use the Timer service in Jboss, but i am encountering problems. i have added following line in the server\default\conf\jboss-service.xml when i start jboss, i got following exception at the end of starting process 10:45:44,733 ERROR [URLDeploymentScanner] MBeanE

RE: [JBoss-user] problem with file lookup from session bean

2003-06-25 Thread Danny . Yates
Hi, Since you're using the Sun FS JNDI implementation, you should provide a PROVIDER_URL which points to the root of the disk-based JNDI tree. Also, there's unlikely to be a java:comp/env environment in this tree - you should just reference things using their file path relative to the PROVIDER_URL

RE: [JBoss-user] Run a class onStartup

2003-06-25 Thread Danny . Yates
Sorry! You said that you didn't have "documentation about this specification", so I figured that was what you were after... -- Danny Yates -Original Message- From: Edgar Silva [mailto:[EMAIL PROTECTED] Sent: 24 June 2003 23:34 To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Run a cla

[JBoss-user] problem with file lookup from session bean

2003-06-25 Thread Arun
Hi, We are using jboss-3.2.1_tomcat-4.1.24 for deploying stateless session bean(AcctManageEJB.java, home,interface and impl).From the session bean we are trying to lookup for a class file(myEIS.class,not a datasource) using jndi lookup and later call a function within the class from the session b

  1   2   >