2nd try:: Re: [JBoss-user] Lookup failing in JBoss3.0.4(with attachment)

2003-06-11 Thread Muraly R
Hi Guys, I am actually breaking my head literally on this issue. Placing the scenario in a diffrent angle. The following is a lookup logs I have inmy scenario. DEBUG 12/Jun/2003 11:20:17 [Thread-36] (HomeReferencesManager.java:164): util.HomeReferencesManager - getHome() returnin

RE: [JBoss-user] [help please] specifing a role to a scheduled class

2003-06-11 Thread Surajit Bhattacharjee
Hi ionel! Yes, that is what I intended to suggest. Give it a shot and good luck! Surajit -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ionel Gardais Sent: Wednesday, June 11, 2003 5:08 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] [help please] speci

Re: [JBoss-user] Notifications for deploying/undeploying?

2003-06-11 Thread Brian Wallis
On Thu, 12 Jun 2003 00:52, Stefan Arentz wrote: > Hi, > > Is it possible to get notifications when modules are > deployed/undeployed? > > I would like to write a JBoss 3.3 add-on that does 'something' when for > example a web app is deployed/undeployed. > > Is this possible with a JMX component? Y

Re: [JBoss-user] Notifications for deploying/undeploying?

2003-06-11 Thread hiram
Yes it is possible. The wonders of JMX! You may what to look at the farm service, I think it does something simmilar. Regards, Hirma Stefan Arentz wrote: Hi, Is it possible to get notifications when modules are deployed/undeployed? I would like to write a JBoss 3.3 add-on that does 'something'

Re: [JBoss-user] MBeans and EJB's

2003-06-11 Thread Bob Cotton
> "Phil" == Phil Shrimpton <[EMAIL PROTECTED]> writes: Phil> Hi, I have a problem, and the solution seems to be an MBean, Phil> but I need to call/use both remote and local EJB's (SLS). Phil> Now I have a couple of JMX books, a number of JMX articles, Phil> but none of them co

Re: [JBoss-user] Retrieving a mail session object from Jboss [3.2.1]

2003-06-11 Thread Marco Tedone
Yes, I'm referring as a separate JVM. Thank you for your reply, I won't get a reference to the MBeanServer. Marco - Original Message - From: "Guy Rouillier" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 11, 2003 10:26 PM Subject: Re: [JBoss-user] Retrieving a mail sess

Re: [JBoss-user] Retrieving a mail session object from Jboss [3.2.1]

2003-06-11 Thread Guy Rouillier
When you say Tomcat running as a separate bundle, I'm taking that to mean in a different JVM. If so, I don't think you can just look it up. The Mail service is an MBean, not an EJB. You might be able to get a handle to the MBeanServer, and locate the MBean that way. Marco Tedone wrote: I tr

[JBoss-user] MBeans and EJB's

2003-06-11 Thread Phil Shrimpton
Hi, I have a problem, and the solution seems to be an MBean, but I need to call/use both remote and local EJB's (SLS). Now I have a couple of JMX books, a number of JMX articles, but none of them contain an example of using/calling EJB's within an MBean. It works, as I have tried it, but shou

Re: [JBoss-user] Jetty OutOfMemoryError

2003-06-11 Thread Stephen Davidson
A bug fix in the StringBuffer in 1.4.0 (carried into 1.4.1) triggered a memory leak bug. Basically, reusing a StringBuffer kept allocating fresh memory for the new contents, but did not release old memory. Certain Servlet containers, including (but most definately NOT limited to Jetty) relied v

Re: [JBoss-user] Retrieving a mail session object from Jboss [3.2.1]

2003-06-11 Thread Marco Tedone
I tried with your code, Guy. Anyway, I'm trying to getting a Jboss Mail Session from a class running under Tomcat (running as separate bundle), therefore I don't bind the element to any session or entity bean. What I would like is just to retrieve a Mail Session Object from JBoss and to use it, in

Re: [JBoss-user] @jboss-net:xml-schema

2003-06-11 Thread Jason Essington
This looks like a problem with your client. Does your request (you might have to use tcpmon, or wade through your server log to see the xml of the request) have an xml element that has xmlns:tns1="" in it somewhere? -jason On Tuesday, June 10, 2003, at 12:47 PM, Felipe Oliveira wrote: Firs

[JBoss-user] Configuring Minimal Server for JAAS

2003-06-11 Thread Nicholas
I am trying to add the minimal necessary modules to the "minimal" JBoss configuration (3.2.0). I added my login-cong.xml to conf and a datasource XML to deploy, but when I run my code, I get a: java.lang.SecurityException: Unable to locate a login configuration What am I missing here ? Thanks.

[JBoss-user] 4.0 web console error

2003-06-11 Thread Bryan Liles
While browsing the web-console and viewing one of my jars, I received this error: org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 2 in the jsp file: /EntityEjb.jsp Generated servlet error: [javac] Since fork is true, ignoring compiler setting.

RE: [JBoss-user] MBeanServer.queryNames() not working

2003-06-11 Thread Callies, Peter
Title: Message I just tried that and it didn't work.   When you say "the standard mbean naming convention", to what are you referring?  The JBoss deployment files all use lowercase for MBean ObjectName property names.  The examples in Juha and Mark's JMX book also use lowercase.  Are you sa

Re: [JBoss-user] Best practice for data-based authorization?

2003-06-11 Thread Jim Crossley
Hi Scott, Scott M Stark <[EMAIL PROTECTED]> writes: > Filters are logically equivalent to the ejb interceptors on which > the security proxy is based. I'm hip to using a filter, but does it make sense to obtain, continuing the example below, the customer ID from the authenticated Subject, as som

[JBoss-user] Looking for documentation-example.zip

2003-06-11 Thread Chakravarty, Sanjeev (LNG-DAY)
Hi, I'm going through the online documentation manual of JBoss (2.4+) but I couldn't get any link to download the documentation-example.zip Any pointers? Thanks, Sanjeev Chakravarty --- This SF.NET email is sponsored by: eBay Great deals on

[JBoss-user] Notifications for deploying/undeploying?

2003-06-11 Thread Stefan Arentz
Hi, Is it possible to get notifications when modules are deployed/undeployed? I would like to write a JBoss 3.3 add-on that does 'something' when for example a web app is deployed/undeployed. Is this possible with a JMX component? S. ---

Re: [JBoss-user] E/A-Exception during JMS action with OracleDB

2003-06-11 Thread Alberto Rodriguez Galdo
Are you using oci drivers for oracle? If not, then use them because the thin drivers have problems with large amounts of data.. - Original Message - From: "Marek Lange" <[EMAIL PROTECTED]> To: "JBoss User" <[EMAIL PROTECTED]> Sent: Wednesday, June 11, 2003 3:22 PM Subject: [JBoss-user] E/

[JBoss-user] jBoss 4.0 DR2 Release?

2003-06-11 Thread Edward Flick
According to the jBoss website DR2 is supposed to be released sometime today.  Is this plan still on track?  When is the released scheduled for?Edward FlickEnterprise Applications Designer / Database Administrator / Web AdministratorCDF, Inc. Do you Yahoo!? Free online calendar with sync to Outlook

[JBoss-user] Jboss 4.0 UDDI repository

2003-06-11 Thread Alberto Rodriguez Galdo
Hi, I've seen and uddi repository included in JBoss 4.0. As I am interested in registering my webservices with it, is there any documentation available? any examples?, I've seen juddi.jar and uddi4j.jar in java.net.sar, which one is used? and, what for?   Greets, Alberto Rodriguez Galdo [EMAI

Re[2]: [JBoss-user] Cascade delete

2003-06-11 Thread Alexey Loubyansky
Hello Nicholas, if you have NOT NULL foreign keys and want to use cascade-delete, you should use a custom container configuration with sync-on-commit-only set true: Sync On Commit Only CMP2.x Container true alex Wednesday, June 11, 2003, 3:58:10 PM, Nicholas Nicholas wrote

[JBoss-user] E/A-Exception during JMS action with OracleDB

2003-06-11 Thread Marek Lange
Hi, I can't figure out what causes the following error. This happens when a huge amount of data is written to a JMS queue. It occurs regularly in the logs. The exception always causes an ORA-600 error in the Oracle database: 2003-06-11 11:59:19,727 DEBUG [org.jboss.resource.adapter.jms.JmsSes

Re: [JBoss-user] Cascade delete

2003-06-11 Thread Nicholas
We just figured this one out, but we are using 3.2.0. The foregin key in the child table was defined as NOT NULL and JBoss was trying to set it to null so it was failing right there. Once we set it to NULLABLE, it appears that JBoss sets the foregin keys to null, then deletes them. I am sure there

Re: [JBoss-user] Lookup failing in JBoss3.0.4(with attachment)

2003-06-11 Thread Muraly R
Hi Guy, I would like to explain the scenario in more detail. When I perform a lookup to this particular Stateless session bean, it works on all the scenario's except for the error one. I am pasting a debug messages from my log for both the successfull lookup as well as for the error ones

Re: [JBoss-user] [help please] specifing a role to a scheduled class

2003-06-11 Thread Ionel Gardais
Surajit Bhattacharjee wrote: Hi ionel! I am new to JBoss and don't know if this is supported, but u can try this: U can specify a security principal (user id) and security credential (passwd) when u create the JNDI InitialContext for looking up the session bean in ur scheduler. The same user can

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

2003-06-11 Thread Simone Milani
Thanks for your reply. I added the parameter and the first time I make the request I get the Authentication error and after that I get an Authorization error. Still looks like M$ is not sending anything after getting the 500 error. Did you managed to get it working? Is it possible that to trigge

RE: [JBoss-user] [help please] specifing a role to a scheduled class

2003-06-11 Thread Surajit Bhattacharjee
Hi ionel! I am new to JBoss and don't know if this is supported, but u can try this: U can specify a security principal (user id) and security credential (passwd) when u create the JNDI InitialContext for looking up the session bean in ur scheduler. The same user can be mapped to the desired role

[JBoss-user] AOP schema clarification

2003-06-11 Thread Andrew
I would like to simplify conceptual definition of existent AOP schema, something like(not complete/final): http://www.w3.org/2001/XMLSchema"; elementFormDefault="qualified" attributeFormDefault="unqualified"> advisable model

Re: [JBoss-user] Using java.util.Calendar with CMP

2003-06-11 Thread Jonathan . O'Connor
Colin, The error message is pretty clear. It says it can't convert a Calendar object into a SQL type. So, you need to do this for it. What I would do is make a private CMP field (setter and getter) storing a long in the DB. This long should be the cal.getTime().getTime(). You should provide a pub

Re: [JBoss-user] [help please] specifing a role to a scheduled class

2003-06-11 Thread Ionel Gardais
I should be able to wrap it into a message bean. Is there a way to schedule JMS messages ? if so, I could schedule a kind of "perform" message that wakes up my MDB so it can process ? thanks, ionel --- This SF.net email is sponsored by: Etnu

Re[2]: [JBoss-user] Using java.util.Calendar with CMP

2003-06-11 Thread Alexey Loubyansky
We don't support mapping for GregorianCalendar. You should use Date and create GregorianCalendar yourself. alex Wednesday, June 11, 2003, 12:19:39 PM, Alexey Loubyansky wrote: AL> Hello Colin, AL> could you provide the mapping you are using? AL> alex AL> Wednesday, June 11, 2003, 11:34:18 AM,

Re: [JBoss-user] Using java.util.Calendar with CMP

2003-06-11 Thread Alexey Loubyansky
Hello Colin, could you provide the mapping you are using? alex Wednesday, June 11, 2003, 11:34:18 AM, Colin McFarlane wrote: CM> I seem to be unable to use a CMP bean that has persistent fields of type java.util.Calendar with a mySQL database. (I am using XDoclet to generate the bean). I can

[JBoss-user] use Tomcat 5.0

2003-06-11 Thread Thorsten Möller
Hi, is it possible to integrate Tomcat 5.0 into JBoss 3.2.1, because I want to start evaluating an test new Features in Servlet2.4/JSP2.0 Specifications. Thorsten --- This SF.net email is sponsored by: Etnus, makers of TotalView, The best th

[JBoss-user] Cascade delete

2003-06-11 Thread Warren Mira
Hi, We have configured oracle for cascade delete, works fine from doing delete via sqlplus, other clients, but if we do a remove() from an Entity bean, the cascade is not happening. Anyone else experiencing this?, using jboss-3.0.4 Thanks Warren

Re: [JBoss-user] [help please] specifing a role to a scheduled class

2003-06-11 Thread kiuma
Ionel Gardais wrote: Hi kiuma, thanks for the tip. I am already using this for my facade session bean and the local entities. My problem is that the scheduled class (the one which extends the Schedulable interface) is not an EJB ! It's a basic java object with a perform method and that's all.

[JBoss-user] Using java.util.Calendar with CMP

2003-06-11 Thread Colin McFarlane
I seem to be unable to use a CMP bean that has persistent fields of type java.util.Calendar with a mySQL database. (I am using XDoclet to generate the bean). I can create the bean class and deploy it okay and the table is created with the correct SQL columns. But when I try to create an inst

Re: [JBoss-user] [help please] specifing a role to a scheduled class

2003-06-11 Thread Ionel Gardais
Hi kiuma, thanks for the tip. I am already using this for my facade session bean and the local entities. My problem is that the scheduled class (the one which extends the Schedulable interface) is not an EJB ! It's a basic java object with a perform method and that's all. A solution should be

Re: [JBoss-user] [help please] specifing a role to a scheduled class

2003-06-11 Thread kiuma
Ionel Gardais wrote: Hi, I got the scheduler working, the class I wrote is launched the way I want. The problem is that it access EJB's that are secured by some roles. How to specify the scheduler to run the class using a specific role ? Thank you very much, ionel ---