[jboss-user] [Installation, Configuration Deployment] - howto headless install of ejb3 profile?

2007-02-28 Thread fbadt
http://www.jboss.com/index.html?module=bbop=viewtopict=98757start=-10postdays=postDayspostorder=postOrderhighlight=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 original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4024002#4024002

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024002
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Datasource config files?... how to? docs?

2007-02-20 Thread fbadt
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=bbop=viewtopicp=4019429#4019429

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019429
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Must a @Webservice also be a session bean?

2007-02-19 Thread fbadt
Must a @Webservice also be a session bean?

And why?

Thank you,

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4018964#4018964

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4018964
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JNDI/Naming/Network] - calling session bean from WAR + session bean interfaces loca

2007-02-19 Thread fbadt
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 
in the WAR or just the lib of the EAR?

The session beans may need to use Entity Beans that have two different 
persistent context's (from two diff RDBMS's)  How can this be done?  How is 
multiple injection done?

Do the session beans need to have @Remote/@Local interfaces?  When are they 
needed?  Or are they no longer needed in J2EE5?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4019022#4019022

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019022
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security JAAS/JBoss] - java-sig CAS project integration for SSO

2007-02-09 Thread fbadt
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 similar to what JOSSO uses?

ref:
http://www.ja-sig.org/
http://www.josso.org/


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4013698#4013698

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4013698
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - need example: webservices client/server using UDDI ??

2007-01-31 Thread fbadt
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=bbop=viewtopicp=4008834#4008834

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4008834
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JNDI/Naming/Network] - unpacked WAR access to datasource - not found

2007-01-23 Thread fbadt
jboss 4.04

Installed XWiki as an inpacked WAR in the server/deploy directory.

The web.xml has the following entry:
resource-ref
DB Connection
res-ref-namejava:jdbc/XWikiDS/res-ref-name
res-typejavax.sql.DataSource/res-type
res-authContainer/res-auth
/resource-ref

What needs to be in what config file for the datasource to be found?  I would 
prefer to use a WAR related config for this; however have tried the 
jboss-ds.xml and also failed to have the JNDI name found.

org.jboss.deployment.DeploymentException: Error during deploy; - nested 
throwable: (javax.naming.NamingException: resource-ref: java:jdbc/XWikiDS has 
no valid JNDI binding. Check the jboss-web/resource-ref.)

resource-ref is not in the filesystem


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4005472#4005472

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4005472
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: query.getResultList(); = contains the same instance X t

2006-11-15 Thread fbadt
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=bbop=viewtopicp=3986326#3986326

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3986326
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: EntityManagers and DAOs

2006-11-09 Thread fbadt
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.jboss.com/index.html?module=bbop=viewtopicp=3984621#3984621

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3984621
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: POJO's in separate jars

2006-11-09 Thread fbadt
I have two JAR's that where this approach works fine.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3984623#3984623

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3984623
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - query.getResultList(); = contains the same instance X times

2006-11-09 Thread fbadt
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 could cause this?  I 
don't see any open or closed bugs on this issue.  JBoss 4.0.4 and 4.0.5 give 
the same behavior.  Note: the rows are populated by a stored procedure in the 
same transaction as an insert is made to a request table.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3984629#3984629

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3984629
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Writting ejb3 session bean + howto session bean lookup?

2006-11-09 Thread fbadt
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=bbop=viewtopicp=3984642#3984642

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3984642
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: query.getResultList(); = contains the same instance X t

2006-11-09 Thread fbadt
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.  The 
problem is that all 10 are the same reference instead of 10 references 
corresponding to 10 rows returned:


  | select v from TABLE1 v where v.SOMEGETTER = ?1
  | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3984692#3984692

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3984692
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Writting ejb3 session bean + howto session bean lookup?

2006-11-08 Thread fbadt

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-jboss.html


  | public static final String RemoteJNDIName =  
BookTestBean.class.getSimpleName() + /remote;
  | public static final String LocalJNDIName =  
BookTestBean.class.getSimpleName() + /local;
  | 





View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3984150#3984150

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3984150
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Writting ejb3 session bean + howto session bean lookup?

2006-11-07 Thread fbadt
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 sessionbean2 is not registered.  The logs and JMX console say 
that sessionbean2 was published with name=sessionbean2   This is jboss 4.0.4


  | try {
  | context = new InitialContext();
  | retVal = (sessionbean2LocalInterface)
  | context.lookup(sessionbean2);
  | } catch (NamingException e) {
  | e.printStackTrace();
  | throw new RuntimeException(e);
  | }
  | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3983920#3983920

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3983920
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: JBoss 4.0.5 EJB3 Deploy need server restart ?

2006-11-07 Thread fbadt
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=bbop=viewtopicp=3983921#3983921

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3983921
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - how to ? entitymanager refresh gets a dirty read

2006-11-07 Thread fbadt
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=bbop=viewtopicp=3983928#3983928

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3983928
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: CMP EntityManager flush and Dirty READ/WRITE

2006-11-06 Thread fbadt
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 (because its 
populated by the DB on the server side and part of the same uncommitted 
transaction.

2. How would one session bean lookup and call another session bean?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3983449#3983449

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3983449
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - CMP EntityManager flush and Dirty READ/WRITE

2006-11-03 Thread fbadt
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 
Datadirect type 4 drivers).  This seems to result in rows showing up in the 
database that aren't committed and therefore would need to be read with a 
DirtyRead.

** 1 : how can the EM be setup to do dirty reads?
** 2 : the session bean methods are logical business methods and thus one 
transaction; however, it would be desireable to actually do sub transactions 
within them.  How can this be done?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3983064#3983064

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3983064
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - howto? maually set PK / setID for new rows

2006-10-16 Thread fbadt
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 original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3978640#3978640

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3978640
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Entity beans not autodeployed : javax.ejb.EJBException:

2006-10-05 Thread fbadt
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=bbop=viewtopicp=3976396#3976396

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3976396
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: using GenerationType.TABLE - ERROR [MultipleHiLoPerTable

2006-09-21 Thread fbadt
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=bbop=viewtopicp=3973266#3973266

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3973266
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: using GenerationType.TABLE - ERROR [MultipleHiLoPerTable

2006-09-21 Thread fbadt
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=bbop=viewtopicp=3973265#3973265

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3973265
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: using GenerationType.TABLE - ERROR [MultipleHiLoPerTable

2006-09-20 Thread fbadt
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/index.html?module=bbop=viewtopicp=3972903#3972903

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3972903
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: entity tutorial with @Id @GeneratedValue(strategy=Genera

2006-09-19 Thread fbadt
Anyone seen this and hopefully have a fix with informix.  ver 9.4

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3972651#3972651

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3972651
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - using GenerationType.TABLE - ERROR [MultipleHiLoPerTableGene

2006-09-19 Thread fbadt
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
and the javadocs state that the type is a Long
http://www.hibernate.org/hib_docs/v3/api/org/hibernate/id/MultipleHiLoPerTableGenerator.html

This is being run against an informix 9.4 database with the Informix drivers
http://www14.software.ibm.com/webapp/download/search.jsp?go=yrs=ifxjdbc



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3972663#3972663

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3972663
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: using GenerationType.TABLE - ERROR [MultipleHiLoPerTable

2006-09-19 Thread fbadt
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=yrs=ifxjdbc

Here is the kicker... This is being run in JBoss 4.04 so I grabbed the 
hibernate 3.2rc2 source and traced into the code.  It dies here as below from 
the below sql:

select value from test_tab2 where key_name = 'PK_TABLE' for update

** the same sql, without for update, queries fine.

MultipleHiLoPerTableGenerator(line 145)
== result = rs.getInt(1);
 ERROR [MultipleHiLoPerTableGenerator] could not read or init a hi value
java.sql.SQLException: null java.lang.NullPointerException
at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:448)
at com.informix.jdbc.IfxValue.a(IfxValue.java:424)
at com.informix.jdbc.IfxValue.a(IfxValue.java:350)
at com.informix.jdbc.IfxRowColumn.a(IfxRowColumn.java:279)
at com.informix.jdbc.IfxSqli.a(IfxSqli.java:4340)
at com.informix.jdbc.IfxResultSet.a(IfxResultSet.java:654)
at com.informix.jdbc.IfxResultSet.b(IfxResultSet.java:626)
at com.informix.jdbc.IfxResultSet.getInt(IfxResultSet.java:1075)
at 
org.jboss.resource.adapter.jdbc.WrappedResultSet.getInt(WrappedResultSet.java:677)
at 
org.hibernate.id.MultipleHiLoPerTableGenerator.doWorkInCurrentTransaction(MultipleHiLoPerTableGenerator.java:145)


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3972782#3972782

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3972782
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - sequences and Long / long vs int / Integer

2006-09-18 Thread fbadt
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 any way to get EJBs to work with this schema?

Please don't suggest getting the dba's to change things.  There is a business 
need to work with what they have.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3972306#3972306

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3972306
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security JAAS/JBoss] - Re: Embeddable Ejb problem : javax.ejb.EJBException: java.l

2006-09-16 Thread fbadt
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't think it 
matters but... the Session Bean is a Stateless EJB as a webservice.  All beans 
are done with annotations.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3972123#3972123

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3972123
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Entity beans not autodeployed : javax.ejb.EJBException: java

2006-09-16 Thread fbadt
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 done with annotations.

persistence.xml is in the jarfile contained in the ear file and referenced by 
application.xml as a module.   The classes are not explicitly listed however 
the PU does define exclude-unlisted-classesfalse/exclude-unlisted-classes

This worked fine until recently and I don't think anything changed (of course 
something obviously did and I cannot find it)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3972124#3972124

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3972124
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - return types that are complex objects with aggregates - jav

2006-08-31 Thread fbadt
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 centers around the 
fact that the return cannot be Just a java serialization of the return type 
class that the client/server share.  

I implemented this in JBoss 4.04 with netbeans and pulled the WSDL off the 
deployed EJB to generate source code in a Java Application.  The server spit 
out the error:
17:02:41,103 ERROR [SOAPFaultExceptionHelper] SOAP request exception
javax.xml.rpc.JAXRPCException: Cannot obtain deserializer factory for: ___

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3968782#3968782

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3968782
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - howto get jdbc connection from PerstenceContext / EntityMana

2006-08-26 Thread fbadt
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=bbop=viewtopicp=3967650#3967650

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3967650
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - ERROR [STDERR] java.sql.SQLException: Table (my_seq) not sel

2006-08-26 Thread fbadt
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.com/infocenter/idshelp/v10/index.jsp?topic=/com.ibm.em.doc/errors_ids100.html
http://java-source.net/open-source/sql-clients/isql-viewer


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3967653#3967653

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3967653
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Failure to get next in sequence - EBJ3 CMP entity bean

2006-08-25 Thread fbadt
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(Ejb3TxPolicy.java:69)


The EJB is annotated as:
 class
@Entity
@Table(name=equifax_request)
@TransactionManagement(TransactionManagementType.CONTAINER)

 pk id annotation
@Id
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator=WW)
@SequenceGenerator(name=WW, sequenceName=my_seq)
@Column(name=eqrq_no, nullable=false, insertable=true )

This is an informix 9.4 DB with the IBM informix drivers and Hibernate 
Persistence in JBoss 4.04  I have verified that the sequence exists.  I have 
also successfully used iSQL (java sourceforge sql tool) to run the logged 
hibernate query of:
select my_seq.nextval from systables where tabid=1

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3967600#3967600

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3967600
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Failure to get next in sequence - EBJ3 CMP entity bean

2006-08-25 Thread fbadt
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(Ejb3TxPolicy.java:69)


The EJB is annotated as:
 class
@Entity
@Table(name=equifax_request)
@TransactionManagement(TransactionManagementType.CONTAINER)

 pk id annotation
@Id
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator=WW)
@SequenceGenerator(name=WW, sequenceName=my_seq)
@Column(name=eqrq_no, nullable=false, insertable=true )

This is an informix 9.4 DB with the IBM informix drivers and Hibernate 
Persistence in JBoss 4.04 I have verified that the sequence exists. I have also 
successfully used iSQL (java sourceforge sql tool) to run the logged hibernate 
query of:
select my_seq.nextval from systables where tabid=1

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3967602#3967602

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3967602
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user