http://www.jboss.com/index.html?module=bb&op=viewtopic&t=98757&start=-10&postdays=postDays&postorder=postOrder&highlight=highlight
how can the jems installer be used to install headless and the ejb3 profile?
don't see the command line options and the above URL says "headless" is broken.
View the
Anyone have link for writting config xml files for datasources?
1: the JBoss way for all applications
2: the J2EE5 way in the EAR file
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4019429#4019429
Reply to the post :
http://www.jboss.com/index.html?module=bb&
There is an EAR with several EJB3 JAR files (session and entity) and a WAR.
The WAR needs to call the session beans (and they need to have Persistent
context injection). Any code snippets that show how to do this?
What needs to be configured how/where? in web.xml? Do the EJB jars need to be
Must a @Webservice also be a session bean?
And why?
Thank you,
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018964#4018964
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018964
__
http://www.ja-sig.org/wiki/dashboard.action
Anyone have docs and real world experience to convey on using CAS in JBoss?
Looks easy enough to setup on a "per WAR basis" What is needed is HowTo set it
up at the server level so all deployed WAR/EAR files use it. Maybe a
system-wide JAAS plugin s
Anyone have a "hello world" source code example that illustrates:
1: An EJB3 session bean as a webservice registering with UDDI?
2: A webservices client (J2EE5) using UDDI to get to a web service?
Thanks!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008834#4
jboss 4.04
Installed XWiki as an inpacked WAR in the server/deploy directory.
The web.xml has the following entry:
DB Connection
java:jdbc/XWikiDS
javax.sql.DataSource
Container
What needs to be in what config file for the datasource to be found? I woul
Turns out what was thought to be the PK column was not. A PK on a sequence
table was created and the former "pk" was used to group results on a common
value.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986326#3986326
Reply to the post :
http://www.jbos
In this case, there can, and often will, be more than one row that should be
returned by getResultList (thus the use of this method not getSingleResult)
The lookup is not done by PK. It is done in a where clause like the below.
There should be 10 rows / elements in the result; and there are 10
So when is the name BookTestBean.class.getSimpleName() + "/remote" vs
"BookTestBean" vs "com..BookTestBean"?
I have seen docs that refer to all of these ways.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984642#3984642
Reply to the post :
http://www
The code has a call to "query.getResultList();" The returned List has 10
entries for the 10 rows in the database; however, Each of the 10 entries in the
List is the same instance reference. This is the first entered row in the DB.
There should be 10 difference references to 10 EJBs. What co
I have two JAR's that where this approach works fine.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984623#3984623
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984623
___
j
Watch out for memory leaks in threads. I handled resources in a BEA deployed
app with thread locals. This the threads come from a cache, the thread local
will hang onto the reference, to whatever you put into it, even after the
session bean call is done.
View the original post :
http://www.
Hmm what role does code like below play? I do not see anywhere that JBoss is
reporting something with these names (specifically the '/local' and '/remote')
Also, in the case of injecting a remote, how can the specific host, server
etc... be specified?
http://www.laliluna.de/ejb-3-tutorial-
how can I make Entity Manager get a dirty read from the db? not get a dirty
read from the db?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983928#3983928
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983928
___
I have to restart the 4.0.4 to do a redeploy at all. Hot redeploy fails... is
this related? Have you been able to hot redeploy in 4.0.4 ? 4.0.5? at all?
how about in netbeans (6.0 daily)?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983921#3983921
Reply
There is a web service (stateless session bean with annotations) that needs to
call another session bean with annotations.
1. do ejb3 session beans need to have local/remote interfaces like ejb1.4?
2. how can sessionbean1 lookup sessionbean2? The below code results in an
exception that sessionb
1. Looks like they can :)! The DBA (informix 9.4) indicated the connection was
set for READ COMMITTED and the transaction was not yet committed however the
trigger on insert would run prior to the commit. I just would not be able to
get the data out of a table that was populated by the trigger
We have a Stateless Session Bean that REQUIRES a new transaction for each of
its methods. The session bean passes off work to several delegate objects that
are also given a reference to the inject Entity Manager.
These delegates do an em.flush to update the database (informix 9.4 with
Datadire
For our project, there is the need to manually call the setID for inserted
rows. How can this be done? Especially staying within the EJB3 spec/API's
Is it as simple as new MyObject
myObject.setID(4);
em.persist(myObject)?
What should be used for GenerationType. in this case?
View the origin
In our case, someone had deployed both the EAR and the JAR from inside the EAR.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976396#3976396
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976396
___
Switched to datadirect drivers from Informix ones and things seem to work fine
now.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973265#3973265
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973265
__
Switched to datadirect drivers from Informix ones and things seem to work fine
now.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973266#3973266
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973266
__
Right. Use "FOR UPDATE" to get a row lock. The hibernate code appears to do
this so it can udpate the counter in an atomic transaction. That seems fine.
Not sure what you are trying trying to convey. Can you restate or email me in
private?
View the original post :
http://www.jboss.com/ind
yup. It is my DB. I can get to it fine with the same ID/pass via a test
program to just select from the table, without "for update" and isql also.
* note: using - strategy=GenerationType.TABLE and informix drivers from
http://www14.software.ibm.com/webapp/download/search.jsp?go=y&rs=ifxjdbc
He
using a table generator per the below link:
https://blueprints.dev.java.net/bpcatalog/ee5/persistence/primarykeys.html
The table has a value of type Integer and this matches the get/set in the pojo.
The error coming back is:
ERROR [MultipleHiLoPerTableGenerator] could not read or init a hi value
Anyone seen this and hopefully have a fix with informix. ver 9.4
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972651#3972651
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972651
_
Opps.. forgot to check the box for "notify on reply"
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972307#3972307
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972307
___
jb
A DBA has created a sequence (Long type) and set a cap on its max value so it
falls within the range of Integer. The PK column types are int; so, this all
works fine for values; however
EJB3 CMP tries to stuff the Long sequence into the setId(Integer id) and; of
course, fails. Is there an
"all of a sudden" EJB3 CMP entity beans are failing with:
"javax.ejb.EJBException: java.lang.IllegalArgumentException: Unknown entity:
__" when I call em.persist(MyCMPBean) from the session bean. Don't think it
matters but... the Session Bean is a Stateless EJB as a webservice. All beans
are do
Did you ever figure this out or get an answer? I have the same problem "all of
a sudden" EJB3 CMP entity beans are failing with the same error you had "
javax.ejb.EJBException: java.lang.IllegalArgumentException: Unknown entity: __"
when I call em.persist(MyCMPBean) from the session bean. Don
There is a webservice that returns a "MyObject" which has two public aggregates
: an int and a String. What needs to be done to implement this such that it
comes back OK to both a java application and also is represented in the WSDL so
that non Java Clients can interact. Part of this question
Informix 9.4 is reporting
ERROR [STDERR] java.sql.SQLException: Table (equifax_seq) not selected in query.
and Hibernate is outputing the following from "showsql=true"
select my_seq.nextval from systables where tabid=1;
This exact same query works fine from iSQL
ref:
http://publib.boulder.ibm.
Given a stateless session bean with an injected PersistenceContext
@PersistenceContext()
private EntityManager em;
How can a new JDBC Connection be retrieved?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967650#3967650
Reply to the post :
http://www
Could you please look at the below errors and suggest what is going on and how
to fix it?
javax.ejb.EJBException: javax.persistence.PersistenceException:
org.hibernate.exception.GenericJDBCException: could not get next sequence value
at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3T
Could you please look at the below errors and suggest what is going on and how
to fix it?
javax.ejb.EJBException: javax.persistence.PersistenceException:
org.hibernate.exception.GenericJDBCException: could not get next sequence value
at
org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOu
36 matches
Mail list logo