Ivan Novick wrote:
http://www.jboss.org/documentation/HTML/ch06s05.html
The ABean implements EntityBean but is declared in session tag in the
ejb-jar.xml
Is this a typo or am I missing the concept?
It is a typo. Thanks!
Sebastien
Ivan
Ok, I finally got around to do it. The attached zip file contains all
files that I changed/added to make petstore work. Since I wanted to use
Hypersonic, I had to replace CatalogDAOImpl and OrderDAOImpl with slightly
modified version (CatalogDAOHypersonic and OrderDAOHypersonic).
The
Guy Rouillier wrote:
Hmm, I see a potential problem with this. What if I have logic like this:
Get a whole bunch of data from somewhere.
Get a database connection.
For each record
Do a whole bunch of database work
Commit
If database work failed
Log an
Whether or not the actual connection is closed will depend on the pool
manager you are using. The one that comes with JBoss, JBossPool, does not
close the connection, it just returns it to the pool. Establishing a real
connection is a very costly operation, so I would suspect that most pool
I tried "java:/comp/UserTransaction and
"java:UserTransaction" and "UserTransaction, all without success...Which JNDI
name should I use? Thanks
Anh
Hello
I have installed Jboss on Windows NT/2000 successfully.
I have also installed the j2ee reference implementation version 1.2.1 with
jdk 1.3.1 with Petstore 1.1.2 and cloudscape database. All works fine.
I now need to install the Petstore 1.1.2 Application on Jboss. I would ultimately
I'm trying to use MySQL so any example would help!
Maarten
- Original Message -
From: Ganasen Gounden [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, May 22, 2001 9:36 AM
Subject: [JBoss-user] RE: petstore 1.1.2, do tell! Please!
Hello
I
Has anyone installed and deployed the new petstore
1.1.2, when i ran the build.bat from petstore i got loads (60)of
errors.
I have jdk1.3 and jboss is running, it shouldn't be
more then just executing the build .bat in de petstore/src/petstore/src, shoud
it?
Maarten
I'm using 'JBoss-2.2.1_Tomcat-3.2.1' running on Solaris 2.6.
I would like to run the embedded tomcat service with the equivalent of
'-config myconfig.xml' as can be done when tomcat is launched from the
command line.
Is this possible ?
Richard.
___
Just to see if it has been removed by the container or not? Using Ejipt we called the
EJBHome method getEJBMetaData() within a try-catch block and in the catch did a new
lookup, but with JBoss that call is handled locally on the client, never touching the
container.
We have a helper class
hi,
I am new to Jboss and trying to deploy the demo Interest ejb application
using jboss2.2.1 server.
Server is running successfully, but when i try to deploy the interest.jar
using Auto deploy,
it throws javax.naming.CommunicationException.
thanx in advance!
dinesh.
I'm using 'JBoss-2.2.1_Tomcat-3.2.1' running on Solaris 2.6.
I'm getting the occasional set of lines in my logfile...
[EmbeddedTomcat] Warning: validation was turned on but an
org.xml.sax.ErrorHandler was not
[EmbeddedTomcat] set, which is probably not what is desired. Parser will
use a
hi all,
I would be thankfull if anyone advice me if it is possible to map byte[] to the BLOB field of DB?
I'm going to use Oracle 8i, MSSQL or PostgreSQL
any tips, samples or links to how to would be perfect.
Thanks in advance,
D
I apologize for not researching further before asking, but I'm hoping you
(someone) knows of the top of your head.
This is a bug in the JAAS login config file class.
Has this been reported to Sun?
Yes.
The workaround it to have a single thread force a
load of the login configuration
Why doesn't someone just point the _Archive_ link
on the sourceforge.net page to the real archive?
That's how everybody is getting to GeoCrawler.
-Original Message-
From: Burkhard Vogel [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 21, 2001 12:39 PM
To: [EMAIL PROTECTED]
Subject: Re:
Anyone knows if jaws or whatever allows to have diferent datasources in
the same context?
chao.
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
Hello!
If I need to keep a common state for the whole JBoss environment (common to
all JBoss servers in a future clustered solution), how is that accomplished?
My first idea was to use a BMP entity bean, but since I don't want to use a
database to store the state in (the state is not
Hi,
I´m using Tomcat 3.2.1 and JBoss2Final. How do I get the ContextManager in JBoss (Tomcat) to add Contexts? The only context added is Ctx(). Since I have my application in another webapp other than default, I have configured server.xml, in Tomcat, for this. I want my application-directory to
http://www.jboss.org/documentation/HTML/ch03s05.html
I have gotten Oracle 8i working fine with the example setup described on
the page above (about half-way down). I still, though, have a question
about the block below:
mbean code=org.jboss.jdbc.XADataSourceLoader
I'm running JBoss-2.2.1 with embedded Tomcat 3.2.1 in a Windows 2000
environment and I'm having problems with logging.
Logging of the JBoss activity works just fine until the first invocation
of a Tomcat web app is made. After the first few messages appear in the
(jboss) server.log file, that
re hi,
For BMP beans if I using Oracle 8i BLOBs works fine.
I'm interesting if anyone uses CMP for BLOBs storing. (not necessary Oracle)
site http://wamoz.com/JDBC_and_Oracle_LOB.asp tells about the BMP way of data reading
/ writing.
DD
On Tue, 22 May 2001 16:04:23 +0200, Burkhard Vogel
Title: RE: [JBoss-user] CMP and BLOBs
I used BLOB field to store text, CMP works fine with the following mapping in jaws.xml
cmp-field^M
field-namebody/field-name^M
column-namebody/column-name^M
sql-typeJAVA_OBJECT/sql-type^M
jdbc-typeBLOB/jdbc-type^M
/cmp-field^M
-Original
Hello,
I am running JBoss-2.2.1_Tomcat-3.2.1 as an NT service (using
jk_nt_service.exe),
and I can do it indeed, but it does not unpackage any .EAR file in the deploy
directory.
It may be because I had to remove parser.jar from the classpath to avoid a
sealing
violation. Is it the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I'm trying to, but there is currently a pretty serious bug in JBoss
that is really holding me back:
http://sourceforge.net/tracker/index.php?func=detailaid=424059group_
id=22866atid=376685
-Original Message-
From: Darius Davidavicius
Hello,
Again a problem with Jboss and Oracle. I am using drivers 8.1.7r3 thin and
have this configuration (DB server is also 8.1.7):
jboss.jcml:
===
mbean code=org.jboss.tm.TransactionManagerService
name=DefaultDomain:service=TransactionManager
attribute
[EMAIL PROTECTED] wrote:
Hi,
I've posted similar question previously, but probably it was not clear.
When does the commit happens in case of container managed transaction with
the container managed persistence?
Container managed persistence doesn't really effect this - that only
I'll try to get a fix ready for Scott's 2.2.2 release next week.
danch
Tim McCune wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I'm trying to, but there is currently a pretty serious bug in JBoss
that is really holding me back:
Hi all gurus,
I'm developping a simple apli using jBoss. i successfuly deployed an simple
BMP. But when i try to call a method on this Bean from the client, the
following message is thrown (in the client side)
Can anybody help me to understand what this message means and ... the
solution?
You need j2ee sdk to build it.
--- mroosendaal [EMAIL PROTECTED] wrote:
Has anyone installed and deployed the new petstore 1.1.2, when i ran the
build.bat from petstore i got loads (60) of errors.
I have jdk1.3 and jboss is running, it shouldn't be more then just executing
the build
Hey all,
I'm having problems sending transacted messages from
a MessageDrivenBean. In the attached example program, the client
(test.Main) send a mesage to queue/A. MdbA receives the message
and sends a second message queue/B which is received by MdbB.
If the QueueSession in MdbA is
I have a jsp which call a session bean, which does a query on a db by an
entity bean: the problem is when I try to view the rows on db.
The jsp invoke the following method myfindAll():
public NewsRemote[] myfindAll() throws RemoteException,FinderException
{
NewsHome home =
Yes the only reason you should need it and you can work around it is because
they use a j2ee RI class for deployment in the Ant rules. This can be easily
worked around by simply building a war and not worrying about that class.
That's the only reason you should need to reference j2ee.jar from RI
Look at the server's log file. There should be a couple of stack traces
there as well. The first of these should point to what's really happening.
-danch
Hermann RANGAMANA wrote:
Hi all gurus,
I'm developping a simple apli using jBoss. i successfuly deployed an simple
BMP. But when i try
When you do this - do you need to make any changes to the jboss
configuration or does jboss always load any jar files in lib\ext?
thanks
scott
-Original Message-
From: Phan Anh Tran [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 21, 2001 11:38 PM
To: [EMAIL PROTECTED]
Subject: Re:
However, I'm not completely sure I understand why the other didn't work.
Before the second deployment the previous is undeployed. Why does the
TraceCategory instance live beyond this undeployment. And is there
something specific I can do such that it is destroyed and will not affect a
When you said 'I suggest letting the container manage security for you'
you mean that manually check that for example, i'ts the session loaded or
else send the user to a login page?? i have been looked for auth. examples
and the filtering mode seens to be the best for me. Let's me write code
and
Hi Simone,
I notice this problem is still there with Tomcat 4b5, and I saw your
post on the tomcat-dev list. Have you had any more information on
what's causing this and any possible workarounds? Any insight would be
great as I seem to be switching web containers on an almost hourly
basis :-).
On Tue, May 22, 2001 at 11:21:41AM +0200, [EMAIL PROTECTED] wrote:
You are right. in my first email I wrote:
I have one question about minerva connections pooling. I'm developing
stateless ejb's that connect themselves to the database
through minerva pooling (I need make this, because my
Hi,
This is driving me crazy! I tried to set up JBoss 2.2.1 on windows 2000
server. I kept getting this following error:
JBOSS_CLASSPATH=;c:\Fairfin\jdk/lib/tools.jar;run.jar;../lib/crimson.jar
jboss.home = C:\Fairfin\jboss
Using configuration tomcat
[Info] Java version: 1.3.0_01,Sun
On Tue, May 22, 2001 at 01:09:47PM -0400, David Ward wrote:
Sacha,
I don't want to de-rail this thread off of your need, but I have a
question about your configuration...
You put the oracle.jdbc.xa.OracleXid XidClassName in the jboss.jcml,
thought the docs say to put it in
Use the J2EE declarative security for both web content and EJBs and you
are able to secure your content/objects without adding security to your code.
When the 2.2.2 release is made next week there will be an updated version
of the JAAS security tutorial that shows how to do this using a database.
I think that BMT complicates this quite a bit.
Check out section 11.3.3 of the EJB 1.1 spec. The example code gets the
Connections before the transaction is created and only closes them after the
transaction is committed.
This leaves two points (before and after the transaction) during which
hi Chris,
I did this and i still don't see the trace. could you please send us a sample
of standardjaws.xml. i am interested in seeing what jaws is doing, especially
what SQL statement (if possible) jaws is sending.
thanks
dovan
DeGreef, Chris J. (AIT) wrote:
Turn the Debug flag on in the
Does anyone know how to get the source code for
org.jboss.security.auth.SecurityAssociationHandler
I cannot find it. The only class I have found is
org.jboss.security.auth.callback.SecurityAssociationHandler
I am trying to figure out why there is a bug when trying to pass credentials from JSP
Emanuel,
No, I'm talking about using what the spec ensures a compatible container
provides you. Take the following web.xml deployment descriptor below.
It's the container's job to make sure I'm authenticated and authorized
before I get to access anthing in the protected directory; if I'm not
Thanks for answer, to everybody.
But, anyone have a little example of this thing working?
Or a big example, anything!
On Tue, 22 May 2001, Scott M Stark wrote:
Use the J2EE declarative security for both web content and EJBs and you
are able to secure your content/objects without adding
since all has been quiet on the dev list regarding this snapshot I shall
open it to all comers on jboss-user.
Jules
P.S.
with regards to my worry about the Enhydra error at startup:
Scott M Stark wrote:
I have one slight worry. The JBoss version I took out of CVS gave
the
following
Toby,
Can you please clarify? In 2.2.1, can I or can I not move the Xid class
configuration into my jboss.jcml? I'd like to have all my config
changes in one place. Do I need to have the
org.jboss.tm.usertx.server.ClientUserTransactionService mbean listed?
Does anyone know if this
So does that mean that from within JBoss we can make calls to OpenORB ,
visibroker or some other ORB?
I understand you are saying there is a bug in the JDK orb preventing the
calls?
Ivan
___
JBoss-user mailing list
[EMAIL PROTECTED]
On Wed, May 23, 2001 at 08:18:20AM +1200, Jonathan Ackerman wrote:
I think that BMT complicates this quite a bit.
Check out section 11.3.3 of the EJB 1.1 spec. The example code gets the
Connections before the transaction is created and only closes them after the
transaction is committed.
Just making sure: you are using JDK 1.3 right? Because I dont think older
versions work with JBoss.
Ivan
- Original Message -
From: Lewis Lin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 22, 2001 12:57 PM
Subject: [JBoss-user] Could not start Jboss 2.2.1 in windows 2000
Maybe it's for durable messages with jbossmq
Just wild guess though.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Mader, Cary
J
Sent: Tuesday, May 22, 2001 1:41 PM
To: Jboss-User (E-mail)
Subject: [JBoss-user] what does jboss use instantDB for
The logic for when to return the Connections back to the pool (if say the
close() methods where not called) would be tricky since they aren't always
attached to a transaction.
Jonathan
-Original Message-
From: Toby Allsopp [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 23 May 2001 9:19 a.m.
On Tue, May 22, 2001 at 05:06:54PM -0400, David Ward wrote:
Toby,
Can you please clarify? In 2.2.1, can I or can I not move the Xid class
configuration into my jboss.jcml? I'd like to have all my config
No. This change will not be incorporated into a 2.2 version. It is in
the current
Hi:
I'm a newbie trying to get my jsps to run on JBoss 2.2.1 and embedded
tomcat 3.2.1. It seems like the jspc cannot find the classes on the common
path (using the Class-Path directive) which my jsp is trying to import. I
searched in the mailing list archive and found that a lot of the people
Hi Paul,
The code I am using is as follows, I had thought of creating an additional
bean to do this but was wondering if there was an easier way.
[code cut, see Pauls mail]
[Section] java.lang.Error: id may not be null
[Section] at org.jboss.ejb.CacheKey.init(CacheKey.java:51)
ZOAP is dead.
Use Apache SOAP 2.1 with the Apache Xerces parser 1.3.0. It works.
Its vital (and IMHO quite difficult) to get JBoss configuration correct.
Let me know if you have problems and I'll send you sample config files.
Cheers - Adam
-Original Message-
From: [EMAIL PROTECTED]
Its just there for your use but it is not used by anything. Remove it if
you don't need it.
- Original Message -
From: Mader, Cary J [EMAIL PROTECTED]
To: Jboss-User (E-mail) [EMAIL PROTECTED]
Sent: Tuesday, May 22, 2001 1:41 PM
Subject: [JBoss-user] what does jboss use instantDB for
Its in the 2.2 branch of the jbosssx cvs module. Get it from the sourceforge cvs
browser by selecting:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/jbosssx/src/main/org/jboss/security/auth/Attic/?only_with_tag=JBoss_2_2_1
- Original Message -
From: Dennis Ramos [EMAIL
Hi Andrea,
I want to use a beans who maps a table on a relational db which haS a
primary key composed by two colomns of this table, or eventually a column
of
this table and a column which is a foreign key which point on another
table.
This is may little problem; I don't understand if with
I think I replied to that thread, but it didn't appear to make it to
the list. Here's my post again:
Thanks Luke,
That solved the problem. I didn't think to look through the development list
- thanks for pointing it out.
I only wish that your original reply would have gotten through... it
Hi Roman
When does the commit happens in case of container managed transaction
Required: ?
Depends on the caller/client already having a transaction or not.
If it has, the method executes in that TX context and there is
no commit at method return time. If the client has no TX the
container
Hello, I am trying to figure out what the *best* approach is for adding
robust security to a highly distributed JMX/EJB/JMS application. I have
just looked over the docs about JAAS as well as the JBossSX guide and I
still do not have a good feel for what is the correct approach for what I
am
Pooled db connections are for use by EJBs, not by remote clients of EJBs.
In brief, the code using the connection must be running in the same JVM as
the connection pool. See archives for extended discussion.
- Original Message -
From: Nicholas [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
I believe everyone said you can only access java:/ namespace from within a
J2ee component: servlet or EJB not from a client app
Ivan
- Original Message -
From: Nicholas [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 22, 2001 1:53 PM
Subject: [JBoss-user] Trouble Using
No changes necessary...just drop the .jar file in the lib/ext and jboss will
find your classes.
Anh
- Original Message -
From: Morrison, Scott [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 22, 2001 11:00 AM
Subject: RE: [JBoss-user] ClassPathExtension mechanism does not
With closed I meant free for re-use...
Anh
- Original Message -
From: Guy Rouillier [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 22, 2001 12:17 PM
Subject: Re: [JBoss-user] Database connection pool hangs...
Whether or not the actual connection is closed will depend on
Hi,
I'm very new to JBoss. Can you please tell me how can I create JMS
queues in here??
Regards,
Farhat
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
Hello,
I've found my problem. I've was using the Oracle XA data source... Replacing
it by org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl did the trick.
Also, as I am using v8.1.7, the XidClassName parameter is of no more use
(but doesn't create any problem, appart performance)
So, the story
How do I get a user transaction via JNDI from a
client? Using JDNIView, I can see a TransactionManager bound to java:, but
no UserTransactionso how do I go about this business?
Thanks...
Anh
70 matches
Mail list logo