* 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
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
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
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
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
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
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
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
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
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
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
Hi Bruno,
at first eye:
mysql select * from user_roles;
+--+-++
| user | role | role_group |
+--+-++
| user_admin | admin | Roles |
| user_admin | admin | CallerPrincipal |
| user_statementholder |
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
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
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
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
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 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
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
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
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
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:
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
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
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
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
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
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
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,
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
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
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
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
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
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
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
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
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:
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
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
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 -
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
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
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
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
45 matches
Mail list logo