Sorry, one more question, the default strategy for the PostgresDialect is
Sequence yet the table as I see it so far does not contain a
table_column_sequence attribute. I noticed that sometimes Hibernate uses a
hibernate_sequence variable in postgres to manage a table (but no others)so
I'm
Appologizes for the double post!!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051913#4051913
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4051913
___
jboss-user mailing li
Has anyone ran into this before? What has happened is that after the 45th
entry, the 4th one got deleted and then reused on the ensuing merge() call.
Now Hibernate is picking the 5th entry which is already taken and as such I get
an EntityExists exception.
Also, the AUTO strategy for Postgres
Has anyone ran into this before? What has happened is that after the 45th
entry, the 4th one got deleted and then reused on the ensuing merge() call.
Now Hibernate is picking the 5th entry which is already taken and as such I get
an EntityExists exception.
Also, the AUTO strategy for Postgres
"asack" wrote : "kpiis" wrote : "asack" wrote : The other thing I find odd is
that Hibernate attempts to make it a integer during auto creation of the table
instead of a SERIAL type. Why is that?
| | Can you provide the analogue of serial type in Java?
|
"kpiis" wrote : "asack" wrote : The other thing I find odd is that Hibernate
attempts to make it a integer during auto creation of the table instead of a
SERIAL type. Why is that?
| Can you provide the analogue of serial type in Java?
"The type names serial and ser
The other thing I find odd is that Hibernate attempts to make it a integer
during auto creation of the table instead of a SERIAL type. Why is that?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051452#4051452
Reply to the post :
http://www.jboss.com/index.
Thanks guys. Let me ask you this, can lack of VACUUMing cause primary key
generation to screw up? Also why isn't AUTO appropriate (which should be
database agnostic)?
SEQUENCE stuff isn't really right for MySQL...or I thought?
View the original post :
http://www.jboss.com/index.html?module=b
Guys, we are using postgres 8.1.3 for our application and running into a lot of
problems - mainly dealing with primary key management. I have tracked down one
issue in that our current configuration does not use the autovacuum stuff in
postgres to cleanup the database over a lot of transactions
"mrchit_2000" wrote : Hi,
| How do I inject the resource? Any library I need to download?
| I tried to do this but it did not work.
|
| @Resource
| | private javax.mail.Session session;
|
|
| It complains javax.mail.Session is not found.
|
|
| Thanks a lot,
| LNgo
Yo
"bdecoste" wrote : Interceptors are only triggered if the call goes through the
ejb container. If you make a call from within a bean to another of the bean's
methods, it's a simple java invocation - the call does not go through the
container and is not intercepted. [/quote
|
| Which is a bu
I have the following:
@Stateless
public class SomeSLSB {
@Interceptors(SomeInterceptorA.class)
public someMethod()
someOtherMethod()
@Interceptors(SomeInterceptorB.class)
public someOtherMethod()
}
Can someone please tell me with 404GA why when I call s
"doktora" wrote : Has anyone had this problem?
|
| I just ported an app to 4.0.5.GA and none of the @EJB annotations inject
their beans.
| I've searched in jira/forum/google and have found only one other place
where someone reported this problem on the sun developers forums.
|
| regar
Should I file this because I'm at a complete lost on why JBoss EJB3 container
has trouble injecting local interfaces within the same EAR file?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029964#4029964
Reply to the post :
http://www.jboss.com/index.html?m
"pkles" wrote : Hi everybody,
|
| I've been struggling for the last 2 days trying to find out how to invoke a
remote method of an EJB without having the remote interface on the client.
|
| For example, is it possible to do something like this?:
|
| Object obj = ctx.lookup("myEjb");
"oskar.carlstedt" wrote : Hi All!!
|
| Thanks for all replies. I think it is very important to "solve" this
classloader inheritance issue, especially in isolated mode. AFAIK in Apache
Tomcat it is possible to "override" jars in the libs folder when deploying a
war file. Why can't I do this
I have 4.0.4.GA isolation/call by value on.
Let me start simple, I have an EAR with a simple servlet WAR and a JAR
containing one SLSB and its local implementation. The SLSB is bound to some
place in JNDI space:
@Stateless
@LocalBinding ( jndiBinding="blah")
public class HelpMe implements IHel
"oskar.carlstedt" wrote : Deploying the same file again, but without the jars
log4j and commons-logging. Wolla!!, It seems to work.
|
| Isn't this a classloader bug/error? What I mean is. The files I put in my
ear are those I want to use, especially in isolated mode. It shall not matter
if
More than likely you are returning the object and not the INTERFACE (in this
the remote one) to access the bean. You never deal with AddressFAcadeRemote
you would deal with the remote interface it implements.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=402
Where is your interface class for your EJB3 located?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986719#3986719
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986719
___
jb
If I have two stateless session beans, A and B, in one jar deployed within an
EAR (only module of the EAR). I have the local interfaces of A and B part of
the JAR and in the same package as the stateless session beans.
When I try to inject B into A via @EJB3, it seems that the classloader can't
If I have an EAR with multiple EJB3 modules in it, and call by value is set,
does that mean every call is marshalled or does that only apply to communcation
between two different isolated EARs?
My understanding is its the latter. That modules within the same isolated EAR
are local calls.
Than
Anyone integrate with a Siebel CRM system using JBoss and some JCA connector?
I have a potential project that I'm investigating and trying to see if I can
use JBoss to integrate properly (EJB3 application talking to Siebel). Any
advice would come much appreciated?
View the original post :
ht
"asack" wrote : It seems that queries using EJB3 are case insensitive, i.e if I
do:
|
| em.find(class, PK) or em.find(class, pk) they are equivalent (database is
MySQL).
|
| Is there anyway to add case sensitivity?
|
| Thanks!
Crap this maybe MySQLdamn it...never
It seems that queries using EJB3 are case insensitive, i.e if I do:
em.find(class, PK) or em.find(class, pk) they are equivalent (database is
MySQL).
Is there anyway to add case sensitivity?
Thanks!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976344#3976
Wow, this is exactly what Im looking for as well! Cool...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970595#3970595
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970595
I want to have a configuration file outside my application that gets read
during runtime. I have an EJB3 jar that gets deployed under my
server/default/deploy. I have a class in that jar that needs to read this
file. Using the JMX console, this class is part of UCL3 repo.
I *thought* if I st
Anyone...pretty please on sugar on top...this is probably a bug and I would
file a JIRA but I want ot make sure its not my configuration.
Again, its seems classloading scope during lifecycle call backs do not
incorporate over the EAR the Java module is in.
View the original post :
http://www.j
404GA, CallByValue/Scoped EArs was selected during install, XP SP2
I have a SLSB and I'm trying to grab a resource using the getResourceAsStream
call (at least indirectly within a JAR packaged in my EAR via a Class-Path
MANIFEST entry).
I noticed that unless I set the ContextClassLoader to the
"georgesberscheid" wrote :
| How do I force the Deployment service to deploy a EJB JAR file before a
resource adapter RAR file?
|
| I have a EAR file that contains a .jar file with EJB3s and a @Service
MBean. The EAR file also contains a RAR file with a resource adapter that looks
up tha
"asack" wrote : Is there a way to access and/or write resources such as
mail-service.xml from my application deployed under JBoss without explicit
filesystem path references?
|
| i.e. is there management interfaces for JBoss itself? (like if I want to
find out waht port Tomcat
Is there a way to access and/or write resources such as mail-service.xml from
my application deployed under JBoss without explicit filesystem path references?
i.e. is there management interfaces for JBoss itself? (like if I want to find
out waht port Tomcat is running on)
View the original pos
Have you read the log4j WIKI pages? :D
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966541#3966541
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966541
___
jboss-user mail
"worenk" wrote :
| 1) We are using several 3rd party libs that the JBoss container itself is
using another version of (in server/default/lib). We'd prefer if JBoss
libraries would not be visible to our applications, so we can use our own
versions. Is this possible?
|
I'm pretty you can't
Wow, my bad...should have tried instead of asking...yeah that kinda worked. I
didn't deploy Entity beans but I did deploy a SLSB via a jar in deploy. I will
assume that it will have global scope across JARs. Neato
View the original post :
http://www.jboss.com/index.html?module=bb&op=view
But that won't get tehd eployer to register it with the EJB container...right?
Alright, I'll try it but I doubt this will work.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966471#3966471
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=po
There is no way to do this other than packaging the entity beans with each EAR?
I mean why have identical classes laying around in each EAR...
I suppose I'm asking is there a generic way to deploy EJBs that have global
scope? I suspect the answer is no but I can see this as a very useful featu
I have set of common objects that represent records in my database. I want
multiple EAR applications to be able to reference them.
Do I need to package these entity beans with each EAR?
Right now I have one library in the deploy directory (JAR) that is accessible
across EARs but I'm assuming i
"wolfc" wrote : @PreDestroy works per instance (EJB3 4.5.1 last paragraph)
Now when you undeploy an application (which in effect should tear down the
various instances in the session, no?)...though with that said I do realize
that after reading the above paragraph, I suppose application undeploy
"[EMAIL PROTECTED]" wrote : it is our implementation not the spec.
Great...you do realize Bill that's about the worse possible position to take.
Why have the spec then? I thought one of JBoss's main tenets is to be spec
compliant. Its bad enough different implementations of a Java EE platform
"[EMAIL PROTECTED]" wrote : You misspelled that so often I began thinking "what
the hell is this PreDestory annotation? I never heard of it, I need to look
that up"... even the subject misspells it :)
Yeah, whoops, damn, weirdI mean PREDESTROY, sorry! :D Just frustrated
with this behavior
I mean at the bare minimum, if you UNDEPLOY your stateless session bean,
@PreDestory needs to be called. My question is @PreDestory meant to be a per
instance of a bean or when the entire pool is destroyed you call the
@PreDestoryI'm not sure what the spec group was thinking here with respe
I can probably work around it too but I just want to understand the @Predestroy
lifecycle callback a little bit better!
Thanks!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962487#3962487
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=po
Hi wolf and Bill (nice talk at JavaOne btw):
As per section 4.5.1 in the ejb-3_0-fr-spec-ejbcore entitled, "Stateless
Session Bean State Diagram", see Figure 6. And I quote from the spec:
"When the container no longer needs the instance (usually when the container
wants to reducethe number of
Uggh, shall I file a JIRA incident on this?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962355#3962355
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962355
___
jboss-user
Easy question, as per spec the @Predestory lifecycle call should be called when
the Session bean is undeployed.
Follow questoin, why when I undeploy an EJB @Stateless, the NamingContexts
still remain in JNDI?
Thanks!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewto
46 matches
Mail list logo