Re: [JBoss-user] Serious problem with wrong data returned.

2002-09-24 Thread Jon Haugsand
* Kevin Conner Actually, it did not help. But thank you very much anyway, because it was in the entitypk.j the error occured. The problem was that our primary key was in a superclass, but the entitypk.j was not able to generate correct equals method for the subclasses. (All primary

Re: Re[2]: [JBoss-user] EJB-QL For LIKE

2002-09-24 Thread Phuwarin . Supawarapong
Hi Alex, I use JBoss version 3.0.2 09:48:35,035 INFO [MainDeployer] Deployed package: file:/C:/jboss-3.0.2/server/ default/deploy/OraTest.ear -phu

Re: [JBoss-user] EJB-QL For LIKE

2002-09-24 Thread Michael Stanley
EJBQL doesn't support string_expressions (a.k.a input parameters) in LIKE statements. A string_literal is a hardcoded 'string'. This is a huge limitation to EJBQL, and as I understand it EJB 2.1 spec has this feature added. It is also my understanding that JBossQL supports this, along with

[JBoss-user] JBOSS-3.0.2 memory leaks

2002-09-24 Thread Vittorio Ballestra
First question : I've always believed the remove method should be invoked only on statefull-session bean, after using it as for statless sessions bean it the method is empty and for an entity the metod will remove the entity from the persistent store. Is this true ? Second : I'm tring to attach

Re[4]: [JBoss-user] EJB-QL For LIKE

2002-09-24 Thread Alex Loubyansky
PSsc Hi Alex, PSsc I use JBoss version 3.0.2 They present in Branch_3_0. Probably, you need to upgrade. alex PSsc 09:48:35,035 INFO [MainDeployer] Deployed package: PSsc file:/C:/jboss-3.0.2/server/ PSsc default/deploy/OraTest.ear PSsc -phu

RE: [JBoss-user] JBOSS-3.0.2 memory leaks

2002-09-24 Thread Geer, Benjamin
Vittorio Ballestra wrote: Second : I'm tring to attach OptimizeIt to jboss-3.0.2 as I was suggested, to track memory leaks. I followed the instruction on Optit site but the result is a jvm crash on startup (not resolver symbol). Please post a more detailed description of exactly what you are

Antwort: [JBoss-user] How to make DatabaseServerLoginModule stop caching

2002-09-24 Thread mehrdad . ashrafi
Hi , As you know, the real reason of caching is to provide more performance. So, but what you want, is a API to flush out the old cache. But you have it, JaasSecurityManager In JBoss has a flush function by the name of flushAuthenticationCache here is a very simple code to use it. ObjectName

RE: [JBoss-user] JBoss 3.02 farming: Missing attribute 'Deployer'

2002-09-24 Thread Sacha Labourey
From the forums: Add a line: attribute name=Deployerjboss.system:service=MainDeployer/attribute (Answered by Cosmotic) -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]De la part de Vladyslav Kosulin Envoye : lundi, 23 septembre 2002 20:54 A

[JBoss-user] JaasSecurityManager caching - hard-coded constant?

2002-09-24 Thread Randahl Fink Isaksen
Still, I wonder if the cache has some timing setting somewhere - I mean it probably flushes its entries at some point, rather than caching values which are (potentially) months old. - I do not suppose that JBoss contains some hard-coded constant setting for this... or... (?) Randahl

[JBoss-user] Jetty's javax.servlet.error request attributes

2002-09-24 Thread Alex Loubyansky
Should javax.servlet.error.status_code attribute contain a corresponding value in case of HTTP error? Is it mandatory by the spec? With Jetty that comes with current JBoss-3.2.0beta2 status_code is null for 404 (haven't tried others). But servlet_name has a value set in case of error. The

[JBoss-user] principalRoles=null

2002-09-24 Thread Bruno
Has anyone found the answer to the final question in this forum thread? http://www.jboss.org/forums/thread.jsp?forum=49thread=12359 --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf

Re: [JBoss-user] principalRoles=null

2002-09-24 Thread kiuma
Hi Bruno, at first eye: mysql select * from user_roles; +--+-++ | user | role | role_group | +--+-++ | user_admin | admin | Roles | | user_admin | admin | CallerPrincipal | | user_statementholder |

Re: [JBoss-user] JaasSecurityManager caching - hard-coded constant?

2002-09-24 Thread Scott M Stark
As documented in both admin+devel guide and quickstart guide, use the org.jboss.security.plugins.JaasSecurityManagerService DefaultCacheTimeout attribute: DefaultCacheTimeout, Set the default timed cache policy timeout in seconds. This is the period over which authentication credentials will be

RE: [JBoss-user] JaasSecurityManager caching - hard-coded constant?

2002-09-24 Thread mehrdad . ashrafi
Hi, Each security domain has a cache which is (by default) extension of org.jboss.util.TimedCachePolicy. By default, defaultLifetime for each entry in this cache is (30*60) sec. But it is configurable and you may change in your jboss-service.xml under security section, OR ofcourse ON THE FLY

Re: [JBoss-user] Jetty's javax.servlet.error request attributes

2002-09-24 Thread Alex Loubyansky
From servlet-2_3-fcs-spec.pdf: SRV.9.9.1 Request Attributes ...If the location of the error handler is a servlet or a JSP page, the request attributes in Table SRV.9-1 must be set. javax.servlet.error.status_code java.lang.Integer javax.servlet.error.exception_type java.lang.Class

RE: [JBoss-user] JaasSecurityManager caching - hard-coded constant?

2002-09-24 Thread Jason Westra
Use a Scheduler MBean or the JMX Timer services on your own if you want the cache autoflushed every so often. Just have it call the example code below. Jason -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Randahl Fink Isaksen Sent: Tuesday, September

[JBoss-user] http://www.jboss.org is down?

2002-09-24 Thread Vladyslav Kosulin
Subj. Vlad. --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED]

[JBoss-user] Interrupted while requesting permit!

2002-09-24 Thread Jon Haugsand
JBoss 3.0.1 where we within ejbCreate we use a finder to detect double creation of a bean instance. The following message was printed at the log: 2002-09-24 16:32:33,169 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.VpKriterie.findByVpKriterieIdAndTilstand] Find failed

RE: [JBoss-user] Interrupted while requesting permit!

2002-09-24 Thread Saroj Kumar
I don't see any need for using finder Inside ejbCreate as JBOSS does it automatically before insert. It does like: SELECT COUNT(*) FROM TABLE WHERE PK_COLUMN=? Try without finder. -Saroj -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Jon Haugsand

RE: [JBoss-user] Same J2EE application, multiple instance, different database

2002-09-24 Thread LaBanca, Rick
This seems like a j2ee spec deficiency, would be interested to know what orion actually does. Unless I missed it, all ejb's have to be defined in the global jndi namespace. To me this is odd, since some ejb's I create may be clearly for internal use only, and not polluting the global space just

Re: [JBoss-user] Interrupted while requesting permit!

2002-09-24 Thread Hunter Hillegas
Upgrade to 3.02 or 3.2 beta. That bug is fixed. From: Jon Haugsand [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: 24 Sep 2002 16:43:11 +0200 To: [EMAIL PROTECTED] Subject: [JBoss-user] Interrupted while requesting permit! JBoss 3.0.1 where we within ejbCreate we use a finder to

Re: [JBoss-user] http://www.jboss.org is down?

2002-09-24 Thread Scott M Stark
Its accessible by me. Some routes seem to be down, what is your traceroute path? Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: Vladyslav Kosulin [EMAIL PROTECTED] To: jboss-user [EMAIL PROTECTED] Sent:

[JBoss-user] Re: Jdbc Open connection/resultSets between calls.

2002-09-24 Thread John C. Landers
I know this most likely doesn't sound like the best idea. But I need to support paging of results sets. I was asked to allow a call to a session bean that ends up being a jdbc query only return 100 rows at a time. So my first thought was to return a session bean that implements an

Re: [JBoss-user] http://www.jboss.org is down?

2002-09-24 Thread Vladyslav Kosulin
Scott M Stark wrote: Its accessible by me. Some routes seem to be down, what is your traceroute path? It is up now ;-) Vlad. --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf

[JBoss-user] primary key features in Branch_3_2

2002-09-24 Thread Alex Loubyansky
Support for unknown primary keys, custom entity create commands and auto-increment are ported from HEAD to Branch_3_2. For more details on how to use it refer to http://www.jboss.org/forums/thread.jsp?forum=46thread=21623 One remark: MySQLCreateEntityCommand is renamed to

[JBoss-user] Standard Java logging rather than log4j - impossible?

2002-09-24 Thread Randahl Fink Isaksen
My EJBs use the standard java logging mechanism, but I have noticed that all my logging messages show up on the console as ERROR output. I guess this is because JBoss uses log4j. Without getting into a debate about which logging mechanism is the best, has anyone found out how to make

[JBoss-user] CMP and relationships -

2002-09-24 Thread Victor Batista
Hello! I am developing a J2EE application with JBoss 3.0.0. My application has 10-15 Entity beans. I am using CMP for all of them and I am also creating all the relationships between them. Can any one tell me if this is the best option, or can this be very hard-processing? I would

Re: AW: [JBoss-user] jboss.net and persistence

2002-09-24 Thread Jason Essington
On Wednesday, September 18, 2002, at 12:47 AM, Jung , Dr. Christoph wrote: Jason, Statefulness and web services are somewhat conflicting concepts. yes, I am using it sparingly. For the most part I am accessing stateless session beans, but there are a few instances where I need to access

Re: [JBoss-user] CMP and relationships -

2002-09-24 Thread Neal Sanche
On Tuesday 24 September 2002 02:29 pm, you wrote: Hello! I am developing a J2EE application with JBoss 3.0.0. My application has 10-15 Entity beans. I am using CMP for all of them and I am also creating all the relationships between them. Can any one tell me if this is the best option,

[JBoss-user] jboss.net changes and xdoclet

2002-09-24 Thread Jason Essington
I have hacked the jboss.net module (supplied in the cvs version of jboss) to work with the latest version of xdoclet. It has been working fine, but since the recent changes to jboss.net I am getting this warning upon deployment: 13:28:31,238 WARN [AxisService] Web Service Deployment

Re: [JBoss-user] primary key features in Branch_3_2

2002-09-24 Thread Emerson Cargnin - SICREDI Serviços
those features are just for mysql?? may I use Oracle instead? Alex Loubyansky wrote: Support for unknown primary keys, custom entity create commands and auto-increment are ported from HEAD to Branch_3_2. For more details on how to use it refer to

Re: [JBoss-user] primary key features in Branch_3_2

2002-09-24 Thread David Ward
And what about Hypersonic (for testing)? -- Emerson Cargnin - SICREDI Serviços wrote: those features are just for mysql?? may I use Oracle instead? Alex Loubyansky wrote: Support for unknown primary keys, custom entity create commands and auto-increment are ported from HEAD to

[JBoss-user] Newbie - EJB deployment

2002-09-24 Thread Lakshmi Anantharaman
Hi I am able to compile and deploy my Ejb . It looks like it is deployed as an application rather than an EJB. A jndi look does not work either , from a test client . On redeployment the console displays : 13:48:15,335 INFO [MainDeployer] Undeploying

RE: [JBoss-user] Standard Java logging rather than log4j - impossible?

2002-09-24 Thread Enrique Vetere
I think the problem is that jBoss "traps" the System.outand System.err streams, and you have your logger logging to the console. Enrique Vetere---Baufesthttp://www.baufest.comPhone: 11-4807-8080Av. Las Heras 3257(C1425ASJ) Buenos

Re: [JBoss-user] CMP and relationships -

2002-09-24 Thread Dain Sundstrom
Sure, but don't use 3.0.0. Use 3.0.2. -dain Victor Batista wrote: Hello! I am developing a J2EE application with JBoss 3.0.0. My application has 10-15 Entity beans. I am using CMP for all of them and I am also creating all the relationships between them. Can any one tell me if this

[JBoss-user] Oracle By Container JCA configuration

2002-09-24 Thread Sonnek, Ryan
Short and sweet question, I'm trying to configure the example oracle-service.xml to use 'By Container' authentication tohave the authenticated user connect using their username/password. since it's not currently working, here's my understanding of how it works: 1. added a

[JBoss-user] tomcat bug

2002-09-24 Thread Marcin Gryszkalis
Theres 'source disclosure' bug in all Tomcat 4.x versions. New versions (4.0.5 and 4.1.12) are available at jakarta site more at http://jakarta.apache.org/site/news.html#0924.1 My question: I have jboss 3.0.2 integrated with tomcat 4.0.3 - will it work well if I just extract 4.0.5 into

[JBoss-user] Jndi lookup Exception - ClassNotFoundException org.jnp.interfaces.MarshalledValuePair (no security manager: RMI class loader disabled)]

2002-09-24 Thread Lakshmi Anantharaman
I have deployed an EJB and this is the exception I get while lookup for the same . javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalException: error unmarshalling return; nested exception is: java.lang.ClassNotFoundException:

[Fwd: [JBoss-user] Jetty's javax.servlet.error request attributes]

2002-09-24 Thread Jules Gosnell
forwarding you to Jetty-Discuss... Jules ---BeginMessage--- Should javax.servlet.error.status_code attribute contain a corresponding value in case of HTTP error? Is it mandatory by the spec? With Jetty that comes with current JBoss-3.2.0beta2 status_code is null for 404 (haven't tried

Re: [JBoss-user] Oracle By Container JCA configuration

2002-09-24 Thread David Jencks
In addition you have to use a login module for the datasource. Use the CallerIdentityLoginModule. The matching stuff between the mcf name in the login module and the object name of the ConnectionManager mbean and the security domain attribute of the cm and the name in login conf has to be set

RE: [JBoss-user] Jndi lookup Exception - ClassNotFoundException org.jnp.interface s.MarshalledValuePair (no security manager: RMI class loader disabled)]

2002-09-24 Thread Lakshmi Anantharaman
Solution - Include jar included in deploy/lib into classpath where we are exceuting client ! -Original Message- From: Lakshmi Anantharaman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 5:32 PM To: Jboss-User (E-mail) Subject: [JBoss-user] Jndi lookup Exception -

Re: [JBoss-user] Re: Jdbc Open connection/resultSets between calls.

2002-09-24 Thread Guy Rouillier
How big do you expect your result set will be? Leaving a result set open is a bad idea - you have no idea if the user is ever coming back. To implement scrolling, I'd suggest using an auto-increment type primary key, and then use that to determine where you left off in the last group of results

[JBoss-user] javax.management.timer.Timer bug?

2002-09-24 Thread Sandor Arpa
Hi all, I'm running JBoss 3.0.2 in Debug on W2K, jvm1.3.1. I have an app that requires manual starting of the Timer. I followed jboss' example on how to run an app through the Timer. When I start it through JMX console it works fine for about 5-10 minutes, but dies after without any error

[JBoss-user] Restricting the instances of MessageDrivenBean

2002-09-24 Thread Dushyant Shrivastava
Title: Restricting the instances of MessageDrivenBean Hi, I am using JBoss 3.0.2 and wish to restrict the no of MDB instances to just 1. This is what my jboss.xml file looks like: message-driven ejb-namecom.yambay.nps.messagehandler.message.MessageConsumer/ejb-name

Re[2]: [JBoss-user] primary key features in Branch_3_2

2002-09-24 Thread Alex Loubyansky
There are several approaches to generate primary keys: - vendor-specific. such as auto-increment. here, vendor-specific api is used to fetch generated primary keys. For now, only MySQL create command is implemented. - using key generator. This approach is vendor independent. For now only