Where should the file be packaged? At the moment it is in the ear inside
META-INF/jboss-app.xml
Please can you tell me where I should move it to.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065661#4065661
Reply to the post :
http://www.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration seems to
suggest it should me inside the META-INF directory.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065664#4065664
Reply to the post :
Fixed the problem. In jboss-service.xml
attribute name=URLs
|deploy/,mydeploy
| /attribute
Needed to be
attribute name=URLs
|deploy/,mydeploy/
| /attribute
Bummer! Not an easily found. The app server was deploying mydeploy dir as the
root because I forgot the slash!
View the
Is this related to http://jira.jboss.org/jira/browse/JBAS-4536 ?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065377#4065377
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4065377
I have an application (ear) that was running on 4.0.5 and contained a
jboss-app.xml in the ear's META-INF directory. This worked perfectly alongside
our other application.
jboss-app
| loader-repositorydot.com:loader=imhist-server-deploy/loader-repository
| /jboss-app
I have tried to
I had a working ear on JBoss 5.0.0Beta1. When I tried to switch to JBoss
5.0.0Beta2 I get this same error. I have no idea what could be causing this, is
it a bug in JBoss 5.0.0Beta2?
The ejb that fails to install is using a MS SQL datasource.
If you require any more information I am happy to
Thanks.
Is it possible to get the latest jBPM with conditional transitions working in
eclipse easily? I have installed jbpm-jpdl-designer-3.1.0.alpha3 and created a
new project referencing jBPM 3.1.4 as the core jBPM libraries.
It seems that these libraries don't contain the latest jPDL
See http://jira.jboss.com/jira/browse/JBPM-454
Is there any documentation for this feature?
And...is it supported in the jPDL designer for Eclipse?
Thanks.
Adrian
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4025464#4025464
Reply to the post :
Bill, I checked out the Embedded JBoss code and built it from the source today.
I have set up JUnit tests to deploy and test my EJBs. When I run the tests in
Eclipse they work, but when I build the project in Maven it fails.
I have done a lot of investigating and debugging in the embedded code,
FYI I came across a maven plugin bug...
http://jira.codehaus.org/browse/SUREFIRE-104
I have half remedied my problems with the following code and setting the java
protocol system property...
| org.jboss.net.protocol.URLStreamHandlerFactory factory = new
Problems all fixed. The final error was a stupid mistake on my behalf!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4020718#4020718
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4020718
Please could you give a wrough estimate of when we are likely to see a release
for the new Embeddable JBoss?
i.e. Next week, in a few weeks, 1 month, 3 months, 6 months, 1 year?
Thank you very much.
Adrian
View the original post :
Can hibernate 3.2.1GA be used with any current version of the embeddable EJB
container?
Thanks.
Adrian
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4012400#4012400
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012400
I'm using Jboss 5 Beta1.
I have an XA datasource to DB2 on an AS400. I need to set a property on the
datasource called translate binary, to the boolean value true.
Previously the local-tx-datasource specified this in the connection URL. i.e.
| local-tx-datasource
|
It has
public boolean isTranslateBinary()
not
public boolean getTranslateBinary()
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4011831#4011831
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4011831
Ok, thanks. In the meantime I'll see if wrapping the xa datasource class and
adding the getter method to call the isTranslateBinary works for us.
Cheers for the quick reply.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4011836#4011836
Reply to the post :
I fixed the issue until you have implemented the fix by subclassing the XA
datasource. See below for anyone else wanting to do this.
| import com.ibm.as400.access.AS400JDBCXADataSource;
|
| /**
| * This class is a work around for a JBoss JCA datasource missing feature.
For
| *
Is it possible, from within an EJB to lookup its JNDI name for its local
interface?
Thanks
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4011906#4011906
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4011906
K R Ashwin...
Which version of DB2 are you using and which version of the driver?
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4009473#4009473
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4009473
I have fixed the problem. It is hibernate updating the database on startup that
is the problem.
By changing
| property name=hibernate.hbm2ddl.auto value=update/
|
to
| property name=hibernate.hbm2ddl.auto value=none/
|
in persistence.xml fixed the issue.
no-tx-seperate-pools/
I tried
no-tx-seperate-pools/
with no luck.
Is there any way we can get the Type 4 verified with 9.1?
How could the connection be used in a local transaction when the data source is
setup as XA?
Don't know if this is helpful for debugging the cause?
From the IBM link in my previous post it says in the solution section...
anonymous wrote :
| If the XAER_OUTSIDE occurs with a method like DB2XAResource.start(), change
the application attributes or application to complete the connection.
|
The stack trace of the error in JBoss
| at
What does it mean by
anonymous wrote :
| change the application attributes or application to complete the connection.
|
Is that something I can do, or is it something JBoss needs to do?
Thanks
View the original post :
Thanks. I'll give that a go.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4007789#4007789
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4007789
___
jboss-user mailing list
I ran the following code and it successfully updated the database within an XA
transaction. I also tested rolling back the tx and this worked successfully.
Is there anything else you would like me to test?
| package test;
|
| import java.io.Serializable;
| import java.sql.Connection;
We are using DB2 Express C
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4006703#4006703
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4006703
___
jboss-user mailing list
As requested I wrote a test that consisted of the following code...
Injected session:
| @PersistenceContext(unitName=PicsEM)
| Session session;
|
Method content:
| try
| {
| Statement s = this.session.connection().createStatement();
| String del = DELETE FROM
Weston Price suggested that I move the discussion in the Transaction forum to
this one.
http://www.jboss.com/index.html?module=bbop=viewtopict=99740
Any help on solving the issue in the following thread would be very much
appreciated as it prevents me using XA transactions in my application -
BTW thank you for your help.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4006377#4006377
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4006377
___
jboss-user mailing list
The log is available here..
http://devissues.googlepages.com/xaer-outsidelogs
Up until the time 2007-01-25 14:54:32,836 in the log is server startup. The
rest is the log generated by the call from my application to the EJB.
View the original post :
TRACE logging for everything?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4006364#4006364
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4006364
___
jboss-user mailing list
BTW the metadata tags that should surround the type-mapping tags in the
datasource were hidden by this forum. If you look at the html souce of this
page they are there.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4006360#4006360
Reply to the post :
anonymous wrote :
| ?xml version=1.0 encoding=UTF-8?
|
| xa-datasource
| jndi-namePicsDS/jndi-name
|
xa-datasource-classcom.ibm.db2.jcc.DB2XADataSource/xa-datasource-class
| xa-datasource-property
name=DatabaseNamezcoreinv/xa-datasource-property
|
The code that is causing the error should only be using the datasource named
PicsDS (this is the db2 database on linux). It is other EJBs that use the other
datasources.
The sequence of events are...
1. client calls stateless session bean A method
getBusinessUnitSubSystemWithInventory()
2.
Ok. I've started work on this test but I am leaving work soon so will get back
to you tomorrow morning with the result.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4006449#4006449
Reply to the post :
This solved one problem but created another with DB2 and XA transactions.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4005881#4005881
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4005881
No problem. I managed to find that info in the forums in the end.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4005891#4005891
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4005891
Sorry about the double post in here and JBoss Transaction forum, but I'm not
sure if my issue is with the transaction service or EJB3.
I have just re-configured my EJB3 application datasources from
local-tx-datasources to xa-datasources.
Now when I run my application and the client app calls a
I can post any further information as required. Just let me know.
Cheers.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4004784#4004784
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004784
I have an issue with my EJB3 application since migrating to JBoss 5 Beta 1.
The initial error I receive is..
| 10:19:53,324 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: null
| 10:19:53,324 ERROR [JDBCExceptionReporter] Could not enlist in transaction
on entering meta-aware
I've found what appears to be the solution. JBoss TS in JBoss 5 does not
support multiple Local datasources. They need to be XA data sources.
See
http://www.jboss.com/index.html?module=bbop=viewtopict=95615postdays=0postorder=ascstart=0
Thanks
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4000396#4000396
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4000396
___
jboss-user mailing list
jboss-user@lists.jboss.org
Can anyone help answer this?
Thanks.
Adrian
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3985359#3985359
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3985359
___
jboss-user
We have an EJB 3 application running in Jboss that is designed to track
inventory. Our data model is persisted with hibernate and according to the EJB3
spec and we're using stateless session beans to execute business logic from the
client application.
I would like design a workflow to manage
I want to do exactly the same thing. Have you managed to find a solution?
You might want to follow my post in case someone replies to it.
http://jboss.org/index.html?module=bbop=viewtopict=93899
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3982896#3982896
Here are my questions. These are repeated at the end of the post which fully
explains my scenario. Any help would be helpful.
1. Can I bind a persistence unit to JNDI name in a way that it is scoped within
an ear?
2. Or, can I look up the persistence unit name (persistence-unit
name=MapicsEM)
Is there any way to bind the jndi name to a scope localised to the ear it is
within?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3973538#3973538
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3973538
Or, instead of doing the following...
| @PersistenceContext(unitName=myUnit)
| EntityManager em;
|
can I look up the EntityManager from within a session bean by its
persistence-unit name instead of via its jndi binding name?
Thanks.
Adrian
View the original post :
| InitialContext ic = new InitialContext();
| EntityManager em = (EntityManager)ic.lookup(java:/Objentity);
|
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3973552#3973552
Reply to the post :
I've raised the issue here...
http://jira.jboss.com/jira/browse/EJBTHREE-708
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3972358#3972358
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3972358
Yes the issues is http://jira.jboss.com/jira/browse/EJBTHREE-617[/url]
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3961495#3961495
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3961495
51 matches
Mail list logo