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

2003-06-24 Thread Jung , Dr. Christoph
Title: Nachricht Mark,   Axis has several ways of annotating such meta-data to be used by the WSDL Emitter (which uses reflection and builtin naming rules to build its default meta-data thats why the parameter names are so ugly).   First the deployment descriptor itself, but in this case it

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

2003-06-24 Thread jfc
Brian Wallis wrote: I'm running 3.0.7 JBoss with the default Jetty integration and am writing a struts based web app front end to an EJB application. I have been trying to find out how form based authentication works and have read a lot of articles and mail items from various lists and am confu

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

2003-06-24 Thread Bavo De Ridder
Regarding the documentation. On the online store site, they mention 3.0.7 as the documented version. Is that correct? I am running 3.2 and am not really interested in buying something meant for 3.0.7, no matter how low the price is. B. --- 2003-01-07 07:49:34 DEBUG [org.geek.Bootstrap] Init 20

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

2003-06-24 Thread Allan Kamau
I would like to limit the number of EJB object references returned by an entity's home interface's finder method(s) through the corresponding finder method(s) ejb-ql statement. This is my situation. I am developing a module that would process a user defined number of entity EJB that satisfy a speci

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

2003-06-24 Thread Allan Kamau
I would like to limit the number of EJB object references returned by an entity's home interface's finder method(s) through the corresponding finder method(s) ejb-ql statement. This is my situation. I am developing a module that would process a user defined number of entity EJB that satisfy a speci

[JBoss-user] JMS publisher/subscriber question

2003-06-24 Thread Michael Klem
Is it considered ok to create a queue session to be the publisher and subscriber to the same queue? I receive messages on one queue (A) and move them to another queue (B). When a message arrives on B, the message listener acts on the message. The queue object I use for B is the publisher and su

[JBoss-user] RE: JBoss web site

2003-06-24 Thread Michael Klem
Title: RE: JBoss web site I cannot log into the JBoss web site and I cannot retrieve my password because of the following error:   Module lostpassword has not been found --  Michael Klem <[EMAIL PROTECTED]>    626-296-3027

[JBoss-user] j_security_check & JBoss/Jetty

2003-06-24 Thread Brian Wallis
I'm running 3.0.7 JBoss with the default Jetty integration and am writing a struts based web app front end to an EJB application. I have been trying to find out how form based authentication works and have read a lot of articles and mail items from various lists and am confused about a couple

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

2003-06-24 Thread Neal Sanche
I am also very interested in testing this functionality. I am currently writing an application for PocketPC using the new .NET Compact Framework, and nothing I have tried so far causes basic authentication to kick in. Is there an XDoclet module that includes the new validateUnauthenticatedCall

Re: [JBoss-user] Run a class onStartup

2003-06-24 Thread Edgar Silva
Thanks Again Sebastien... I had seen this Book, it´s very good really I think to buy soon. For now you and Nicholas are big friends provided the help to solve my problem For other friends interesting in this book, following the url with more details: http://vig.pearsoned.com/store/product

[JBoss-user] CMR exception (bug?)

2003-06-24 Thread Louis Leung
Hi all, My application has a 1 to many CMR (i.e. one being a purchase order , and many being line items). I don't think i've specified the column mapping for this relationship wrong. JBoss should be firing "Select MASTERORDER ..." sql when retreiving info about this relation. But instead, it f

RE: [JBoss-user] Run a class onStartup

2003-06-24 Thread Astie, Sebastien
Edgar, If you want to learn more about JMX, I really suggest the JMX book from PEARSON EDUCATION. It helped me a lot understanding JBOSS. Sebastien -Original Message- From: Edgar Silva [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 3:34 PM To: [EMAIL PROTECTED] Subject: Re: [JB

Re: [JBoss-user] method security fails

2003-06-24 Thread Scott M Stark
Are you populating the Subject with your own Roles group instance? Validation of the special only works with org.jboss.security.NestableGroup for any release version. This restriction was removed a couple of days ago so you could test against any branch 3.0 and higher if this is the case. If you a

Re: [JBoss-user] Run a class onStartup

2003-06-24 Thread Edgar Silva
Danny... I am talking about JBoss integration with JMX, I just solve my trouble after some emails in the list, And nothing in the sites or other source of documentations available for me However, everybody thanks by link Great... Edgar - Original Message - From: <[EMAIL PROTECTE

Re: [JBoss-user] JMS Singleton

2003-06-24 Thread Scott M Stark
You need to specify a strictMaximumSize element to enforce the MaximumSize constraint: 1 1 true -- Scott Stark Chief Technology Officer JBoss Group, LLC Magesh Prabhu wrote: Hi Guys, My requi

Re: [JBoss-user] java.util.logging

2003-06-24 Thread Guy Rouillier
Snell Nguyen wrote: I have wrote a Java Server. I used java.util.logging package to log message. I integrated it into JBoss. How to configure to log message? Please help me. Thanks Snell Nguyen Did you read the Java Logging Overview here: http://java.sun.com/j2se/1.4.1/docs/guide/util/logging/ove

Re: [JBoss-user] ClassLoader issues when going from 3.2.0 -> 3.2.2(RC1)

2003-06-24 Thread Scott M Stark
Show the full deployment output to see if there are any manifest entry warnings. Also run the attached ListJar program passing in the path to the deployment to illustrate the archive structure. -- Scott Stark Chief Technology Officer JBoss Group, LLC x

Re: [JBoss-user] Shutdown JBoss programmatically

2003-06-24 Thread Guy Rouillier
Magesh Prabhu wrote: Guys, I do some initialization stuff on a startup Servlet. If some services fail during this initialization, I want to shutdown JBoss. Is there a programmatical way of doing it. Can any body suggest please. You don't mention what version of JBoss you are working with. There i

[JBoss-user] Order By Boolean

2003-06-24 Thread Jason Calabrese
Hi everyone, I have a bean that I need to create a finder for that orders by a boolean field. It seems like JBoss does not support this. Is that true? As a work around I just added an extra field of type int that maps to the same column, but that's kind of a hack. Is there a better way to ha

RE: [JBoss-user] method security fails

2003-06-24 Thread Sebastian Hauer
Hi Scott, Thanks for the answer I think that worked for me. Now I have a different problem. I wrote a little test where I have an authenticated user with roles assigned to it which will try to call a bean method that is unsecured (in this case create() is unchecked as well) and fails with this

[JBoss-user] ClassLoader issues when going from 3.2.0 -> 3.2.2(RC1)

2003-06-24 Thread Gavin Matthews
All, I need to upgrade me to 3.2.2 to get some of the primary key gen fixes in that version. I had hoped that the upgrade would be fairly transparent as it's only a minor release. However now my app fails to deploy. I believe this is due to some of the Class Loader changes that went into 3.2.1 but

[JBoss-user] CMP and DataSource with Security Domain

2003-06-24 Thread Mauricio De Diana
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 exception: java.lang.SecurityException: Invalid authentication attempt, principal=null at org.jboss.resource.connectionmanager.BaseConnectionManager

[JBoss-user] JMS Singleton

2003-06-24 Thread Magesh Prabhu
Hi Guys, My requirement is to get (onMessage) notification one by one. Next notification should wait until I finish my onMessage method. So I created my own type of MessageDrivenBean and named it "Singleton Message Driven Bean" and configured the following in standardjboss.xml

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

2003-06-24 Thread Brian Topping
> -Original Message- > From: Ionel Gardais [mailto:[EMAIL PROTECTED] > Subject: Re: [JBoss-user] creating virtual host on the fly > > > Brian Topping wrote: > > >Yes, read up on the contents of jboss-web.xml. > > > >-b > > > > > From jboss-web_3_2.dtd : I would read the pay-for doc

Re: [JBoss-user] JMX notifications

2003-06-24 Thread Simone Milani
Apologies, Please ignore my last message, I did not read the last reply from Scott. That solved my problem. Thank you! Simone - Original Message - From: "Simone Milani" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 24, 2003 6:12 PM Subject: Re: [JBoss-user] JMX noti

Re: [JBoss-user] JMX notifications

2003-06-24 Thread Simone Milani
Hi Adrian, The RMINotificationListener is on package org.jboss.jmx.adaptor.rmi and indeed is serializing the object to the server (anyway good to know that can be used :) ). I was actually I just wonder now what would should go in the placeholder of the following code so that the notificatio

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

2003-06-24 Thread _/^\_ _/^\_
Hello: That syntax is not working. Other than sybase-ds.xml and login-config.xml , I think there is more to edit/update in the setup files. I am missing the steps. any comments. thank you. kay vee From: David Jencks <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject

Re: [JBoss-user] JMX notifications

2003-06-24 Thread Scott M Stark
There is an example of using the RMINotificationListener in the 3.2.1 draft edition of the admin/devel guide. You need to export your RMINotificationListener since it should be a RMI server, not a serialzable instance. package org.jboss.chap2.xmbean; import java.rmi.RemoteException; import java

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

2003-06-24 Thread Scott M Stark
Two class loaders are attempting to load the org.ca.ejb.services.CService class in the same application context. How is this service packaged and deployed? -- Scott Stark Chief Technology Officer JBoss Group, LLC George Icriverzi wrote: Hi, Her

Re: [JBoss-user] srp configuration

2003-06-24 Thread Scott M Stark
You need to create your own implementation of the VerifierStore to integrate with your security database. SRP is not configured by default since it requires a VerifierStore. This is independent of any login module as it is simply the mechanism by which the SRP service obtains the password verifier

Re: [JBoss-user] CMP 2.0 Deployment Problem

2003-06-24 Thread Alexey Loubyansky
Hello Klaus, it is not enough to tell what's wrong. Make sure the field is declared for proper bean. Also you could get this exception in case of one side in one-to-many relationship. alex Tuesday, June 24, 2003, 5:30:58 PM, Klaus Richarz wrote: KR> Hello, KR> I have about 15 CMP entity beans.

Re: [JBoss-user] CMP 2.0 Deployment Problem

2003-06-24 Thread Dain Sundstrom
This particular error message comes from JDBCRelationshipRoleMetaData.java, which loads the data inside of the ejb-relationship-role. Check your jbosscmp-jdbc.xml file for a relationship with a field-name element containing "idLine". My guess is you have the key declaration backwards (try swa

RE: [JBoss-user] Run a class onStartup

2003-06-24 Thread Danny . Yates
I guessed at: http://java.sun.com/jmx How much more public would you like?! ;-) Rgds, Dan. -- Danny Yates -Original Message- From: Edgar Silva [mailto:[EMAIL PROTECTED] Sent: 24 June 2003 15:36 To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Run a class onStartup Thanks Sebasti

Re: [JBoss-user] Jetty and work files

2003-06-24 Thread Dave Smith
-Djava.io.tmpdir= add it in your jboss startup script On Tue, 2003-06-24 at 09:48, Lars Hoss wrote: > Hi all! > > Is it possible to tell Jetty not to store the work files below /tmp > (using Linux)? > Currently whenever I start Jetty it creates a directory like > "Jetty_0_0_0_..." below /tmp.

Re: [JBoss-user] Jetty and work files

2003-06-24 Thread Lars Hoss
So basically, set the java.io.tmpdir -D property when jboss starts up (edit your run.sh script or set it in your $JAVA_OPTS). Uhm, yes, sounds pretty easy. Sometimes the solution is so easy but ... well =) I will try that. Thanks a lot =) Yours, Lars ---

Re: [JBoss-user] Jetty and work files

2003-06-24 Thread Felipe Oliveira
http://jetty.mortbay.com/jetty/doc/cronCleanup.html Lars Hoss wrote: Hi all! Is it possible to tell Jetty not to store the work files below /tmp (using Linux)? Currently whenever I start Jetty it creates a directory like "Jetty_0_0_0_..." below /tmp. This isn't very feasible because our cronjo

Re: [JBoss-user] Run a class onStartup

2003-06-24 Thread Edgar Silva
Thanks Sebastien You're right The big problem is I don´t have documentation about this Specification I think that this subjects can be more public, more easy to find. Regards... Edgar - Original Message - From: "Astie, Sebastien" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>

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

2003-06-24 Thread George Icriverzi
Hi, Here's my problem, please reply if you have any ideas about its cause: I have an mbean, and an inner class defined inside the mbean. In the start() of the mbean, I try to instantiate the inner class. Using jboss-3.0.7 was ok, but jboss-3.2.1 throws IllegalAccessError when I try to deploy .

[JBoss-user] CMP 2.0 Deployment Problem

2003-06-24 Thread Klaus Richarz
Hello, I have about 15 CMP entity beans. Some of them are connected by relation tables (many to many). I have checked all DD, and they seem to be correct (mostly checked jbosscmp-jdbc.xml), but I get the following error: ERROR [org.jboss.ejb.EntityContainer] Starting failed org.jboss.deployment

Re: [JBoss-user] Jetty and work files

2003-06-24 Thread David Ward
Quote from: http://www.coredevelopers.net/technology/jetty/jetty-jboss-faq.jsp "I want to change where Jetty writes it's temporary files. (revised: 02/06/2003) Jetty, being a good java citizen, respects the 'java.io.tmpdir' property (defaults to /tmp on Unix). Try setting this as you start up J

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

2003-06-24 Thread Ionel Gardais
Brian Topping wrote: Yes, read up on the contents of jboss-web.xml. -b From jboss-web_3_2.dtd : I understand this as : "if a virtual-host is configured, this war will be deployed to the specified virtual-host (ie. www.jboss-store.org/). Else, the war will be deployed under the basic root

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

2003-06-24 Thread David Jencks
try java:/sybaseds david jencks On 2003.06.24 08:25 _/^ _/^ wrote: > Hello: > > I downloaded 3.2.1. To do the datasource I updated the > config/login-config.xml and put a modified copy of sysbase-ds.xml into > default/deploy folder. In the program I called lookup("java/sybaseds"). I > am > g

RE: [JBoss-user] srp configuration

2003-06-24 Thread Sonnek, Ryan
Thanks scott. I do have the purchased documentation and have been trying to go through it step by step. The example sourcecode has been helpful, but when implementing it on my own, do I need to create a custom implementation of the VerifierStore, or is one provided (specifically for the DatabaseLo

[JBoss-user] Jetty and work files

2003-06-24 Thread Lars Hoss
Hi all! Is it possible to tell Jetty not to store the work files below /tmp (using Linux)? Currently whenever I start Jetty it creates a directory like "Jetty_0_0_0_..." below /tmp. This isn't very feasible because our cronjob removes files below /tmp after some days of inactivity. Setting the

RE: [JBoss-user] JMX notifications

2003-06-24 Thread KChristmas
I am very interested in a response as well. Finding documentation about the RMINotificationListener has been difficult. Kevin Christmas AmeriPath IT - Dallas -- Thanks! One more question if I can. I wonder if is possible to have notifications sent to an external JVM. I tried usin

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

2003-06-24 Thread Brian Topping
> -Original Message- > From: Ionel Gardais [mailto:[EMAIL PROTECTED] > Subject: [JBoss-user] creating virtual host on the fly > > Is it possible to create virtual hosts "on the fly" at deploy time ? Yes, read up on the contents of jboss-web.xml. -b ---

Re: [JBoss-user] CMP ejb-ql and Joins

2003-06-24 Thread Alexey Loubyansky
Hello Allan, try to include the whole query into CDATA. alex Tuesday, June 24, 2003, 2:50:29 PM, Allan Kamau wrote: AK> I am trying to write join queries in ejb-ql. AK> This is my situation. I have three CMP entry beans, AK> two of these entity beans are have a many to many AK> relationship, so

Re: [JBoss-user] Shutdown JBoss programmatically

2003-06-24 Thread robert
> Guys, > > I do some initialization stuff on a startup Servlet. If some services > fail during this initialization, I want to shutdown JBoss. Is there a > programmatical way of doing it. Can any body suggest please. Try using System.exit. JBoss install Shutdown hooks in order to do a clean exit >

[JBoss-user] jboss 3.2 datasource lookup error

2003-06-24 Thread _/^\_ _/^\_
Hello: I downloaded 3.2.1. To do the datasource I updated the config/login-config.xml and put a modified copy of sysbase-ds.xml into default/deploy folder. In the program I called lookup("java/sybaseds"). I am getting the unable to retrieve error. I have only web.xml attached to the war file.

RE: [JBoss-user] JMX notifications

2003-06-24 Thread Adrian Brock
What is RMINotificationListener? It looks like you've just serialized your notification listener and therefore it is running on the server. JBoss includes a connector and some support mbeans that allow notifications to be returned to the client using RMI or JMS or polling. You register your liste

Re: [JBoss-user] Adding to Tomcat configuration under 3.2.1/4.1.24

2003-06-24 Thread Scott M Stark
The notion of external static resources that should be included as part of a web deployment should be added genericly to the jboss-web.xml descriptor for use by any web container that supports it. This would show up in the WebMetaData. -- Scott Stark Chief Technology Offi

[JBoss-user] CMP ejb-ql and Joins

2003-06-24 Thread Allan Kamau
I am trying to write join queries in ejb-ql. This is my situation. I have three CMP entry beans, two of these entity beans are have a many to many relationship, so I created an the third ejb. This new ejb is also a parent of some other ejb. I would like to retrive a Collection or Set of this third

[JBoss-user] WSDL Part names within messages.

2003-06-24 Thread Mark.Gargan
Title: Message Hi folks,    I'm exposing a few session beans as web services. In the generated WSDL the part names are given automatic names i.e. in0,in1 etc. I was wondering if there was anyway to be able to set these to the argument name presented in the session bean?   i.e. I ha

Re: [JBoss-user] JMX notifications

2003-06-24 Thread Simone Milani
Hi Adrian, Thank you. I got to the point where my notification are all handled on the server not on the client. Here is what I have done: public class JMXClient implements RMINotificationListener, Serializable { . public static void main(String[] args) { try { RMIAdaptor s

[JBoss-user] creating virtual host on the fly

2003-06-24 Thread Ionel Gardais
Hi, Is it possible to create virtual hosts "on the fly" at deploy time ? thanks, ionel --- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage The

RE: [JBoss-user] JMX notifications

2003-06-24 Thread Adrian Brock
What does "without luck" mean? Have you seen this (it applies to 2.4 but you be able to make it work). http://jboss.sourceforge.net/doc-24/ch11s39.html Regards, Adrian Adrian Brock Director of Support Back Office JBoss Group, LLC > -Ori

RE: [JBoss-user] MBean deployment ignores tag

2003-06-24 Thread Danny . Yates
Alex, Are the class files from the supporting JARs loaded dynamically? Are they loaded using Class.forName()? I've seen instances where this doesn't work under JBoss. I guess this is due to the vaguaries of the J2EE spec with regard to ClassLoaders. Try: Thread.currentThread().getContextClassL

[JBoss-user] Shutdown JBoss programmatically

2003-06-24 Thread Magesh Prabhu
Guys, I do some initialization stuff on a startup Servlet. If some services fail during this initialization, I want to shutdown JBoss. Is there a programmatical way of doing it. Can any body suggest please. Thanks in advance, Magesh ***

[JBoss-user] New Projects

2003-06-24 Thread nfs_ nfs
Please visit the website below to undertake programming projects. http://www.thesoftwareobjects.com _ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail --

Re: [JBoss-user] MBean deployment ignores tag

2003-06-24 Thread Alex Hornby
Hi David, Just to say thanks for the suggestions. Packaging the ejb jar and -service.xml into a .EAR worked well. The one extra thing I had to do was package some support jars into the EAR as well instead of installing them in deploy/../lib, otherwise I got class not found errors. Cheers, Alex.

[JBoss-user] Adding to Tomcat configuration under 3.2.1/4.1.24

2003-06-24 Thread Brian Topping
Hi all, I'm trying to add a subclass of org.apache.naming.resources.BaseDirContext to a deployment for a specific webapp to implement a VFS for the single webapp. I'm having some problems understanding where to hook this in while Tomcat is running under JBoss. Any ideas? More information about w

Re: [JBoss-user] JMX notifications

2003-06-24 Thread Simone Milani
Thanks! One more question if I can. I wonder if is possible to have notifications sent to an external JVM. I tried using the RMINotificationListener but witouth luck. Thanks Simone - Original Message - From: "Adrian Brock" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June

RE: [JBoss-user] JMX: can not invoke operation on MBean

2003-06-24 Thread j . m . vanbergen
> The , is a red-herring. It is poor formatting in the exception handling and has > been fixed in the latest versions of jboss. > > You haven't posted any information about your MBean, so I have no idea why it is failing. > > My first guess would be AllowedContentTypes is an > attribute, you shou

Re[2]: [JBoss-user] Jboss 3.2.1 Problems with table's relationship

2003-06-24 Thread Alexey Loubyansky
Hello Marco, Monday, June 23, 2003, 9:32:04 PM, Marco Tedone wrote: MT> BINGOO! Actually in the AddressBean.ejbCreate() method none of the MT> AddressBean fields was set. Thank you Alex, I want to pay you a dinner! Status: Open Resolution: Accepted alex MT> Marco MT> - Original Message ---

[JBoss-user] Re: Mod_JK Failover

2003-06-24 Thread Eric Jain
> My client currently alters the weighting in the > workers.properties files to '-1' Can this be done at runtime without restarting Apache? -- Eric Jain --- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Bec