Yes it is possible. How do you think a file based JDBC database like
cloudscape
accesses its data when accessed by an EJB? Its ok because it is providing
a transacted interface to the data via JDBC. If you don't need your logging
to
be part of the bean transaction then log to a file using log4j. I
Hi.
I'm developing a simple project with BMP and JSP.
I encountered the following exception:
[Activity] TRANSACTION ROLLBACK EXCEPTION:ejbCreate: Unable to deregister
with TransactionManag
er: java.lang.IllegalArgumentException: xaRes not enlisted; nested exception
is:
javax.ejb.EJBExce
Title: exception while loading jboss-tomcat with mysql
jboss
got it's own implementation of the DataSourceImplementation
now.
jboss.jcml should have
org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl
instead of
org.jboss.minerva.xa.XADataSourceImpl
-Ursprüngliche Nachricht-Von:
[EMA
is it possible to use log4j from an EJB bean?
i was having an argument with someone about the EJB Specification not
permitting IO access and whether access was permitted through a helper class
instantiated from an EJB (such as log4j)?
my read on the spec is that this the use of IO is not permitt
I have to integrate JBoss with SAP I have found an SAP resourceAdapter
which seems to work and integrate with JBoss what would be great would
be an SAP JDO compliant data store which integrates with JBoss,
am I asking too much?
Paul.
> -Original Message-
> From: [EMAIL PROTECTED] [mai
Hi,
At the moment, I am working on such a tool.
Unfortunately, it is not quite ready yet, because
I started the project at the end of last week.
You can already create a skeleton with some
information about entity and session beans with
it. It supports English and German.
And of course, it gets
try XDoclet (formerly EJBDoclet)
http://www.sourceforge.net/projects/xdoclet
http://www.sourceforge.net/projects/ejbdoclet
its not a gui, but it does exactly what you want and more.
cheers
dim
On Tue, 31 Jul 2001, L. Yeung wrote:
> hi jboss group!
> i'm a newbie. i have a couple of beans and
Which version of JBoss are you using? In 2.2, you have to uncomment lines
in jboss.conf to enable log4j, and comment lines in the same place to
disable consolelogging and filelogging (don't do log4j and the other two at
the same time.) I just looked in the 2.5 beta that I downloaded, and
apparen
I'm attempting to run the EJB verifier, as follows:
java -classpath $JBOSS/bin/verifier.jar:$JBOSS/external/metadata.jar \
org.jboss.verifier.Main ejb-file.jar
but getting the following exception:
| java.lang.NullPointerException:-1:2
| java.lang.NullPointerException
| at or
hi jboss group!
i'm a newbie. i have a couple of beans and i need to
write a deployment descriptor. i oftentimes end up
having lots of typos. is there any gui tool to auto
generate this thing?
any help is greatly appreciated.
-l. yeung
__
Do You
Boris> I am still suffering from jboss-tomcat's freezing. Last time I was suggested
Boris> to regress from jdk1.3.1 to jdk1.3.0. I heard from people that it does not
Boris> help, though I did not try it myself. I am using windows2000, jdk1.3.1 and
Boris> JBoss-2.2.2_Tomcat-3.2.2.
I was ha
I am still suffering from jboss-tomcat's freezing. Last time I was suggested
to regress from jdk1.3.1 to jdk1.3.0. I heard from people that it does not
help, though I did not try it myself. I am using windows2000, jdk1.3.1 and
JBoss-2.2.2_Tomcat-3.2.2.
I wholeheartedly agree with this article. I am on a project where we
originally were using entity beans, but we switched to using JDO because
they are much easier to program with a LOT less overhead. Most of the time
developers end up writing dependent objects for entity beans anyway, so why
not
This is an interesting discussion on the benefits and drawbacks on JDO
and ejb2.0
I would be interested to know if JBoss will implement JDO.
http://www.theserverside.com/discussion/thread.jsp?thread_id=771
___
JBoss-user mailing list
[EMAIL PROTECTED
Can I delete all entity beans at once? Is there any method as
myBeanHome.removeAll();
?
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
Thx a lot!
what I am passing is the ArrayList , which is
serializable. right?
Is that needed I should set sessioncontxt to null in
ejbpassivate?
Thx!
fan
--- "King, Tom" <[EMAIL PROTECTED]> wrote:
>
> [Container factory]
> java.io.NotSerializableException:
>
> Are you trying to pass an
[Container factory]
java.io.NotSerializableException:
Are you trying to pass an object to the client that is not serializable such
as an Enumeration? Can you post the code?
-Original Message-
From: yan fan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 31, 2001 4:10 PM
To: [EMAIL P
Hi!
I am sorry , when I use session bean and jdbc , I
meet a exception like following:
[Container factory] java.rmi.ServerException: Could
not passivate; nested exception is:
[Container factory]
java.io.NotSerializableException:
org.opentools.minerva.jdbc.xa.wrapper.XAClientConnection
[Co
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello all,
I want to store a picture in a CMP bean. I am wondering what would be the
best data type to use?
Should I use a byte[] and remap that to a blob? If so can that be passes from
a java client to the bean?
Thanks
Regards,
Stephen,
Hello,
Has anyone used the select-for-update feature in JBoss? Can I change it
dynamically at run time - i.e. can start off in a non-locking mode and then
switch to select for update mode during program execution?
Also, anyone tried any NO WAIT extensions for this?
Thanks
Vinay Menon
__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/li
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
Title: exception while loading jboss-tomcat with mysql
Can anyone explain to me why I am getting the following exceptions on starting jboss-tomcat.
[MYSQL] java.lang.ClassNotFoundException: org.jboss.minerva.xa.XADataSourceImpl
[MYSQL] at javax.management.loading.MLet.findClass(M
Update: I'm able to induce a different set of exceptions by making the
com.avnet.jboss package available via JAR at ../lib/ext. Which doesn't make
a heckuva lot of sense to me, so I don't know if I'm further along now or
not... The following exceptions are thrown at startup, and then the server
Tim Yates wrote:
> Yeah, the reason we do it this way (and not via HTTP sessions or cookies),
> is that it was decided early on that it should be possible to style the site
> differently dependant on the device that was accessing it, and we couldn't
> guarantee that storing the HTTPSession, or us
how come it is not a contributed work to JBoss?
do me a favor and ping thomas hagedorn will you?
marcf
|-Original Message-
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of Bruyn, Bill
|Sent: Tuesday, July 31, 2001 1:57 PM
|To: '[EMAIL PROTECTED]'
|Subject: [JBoss-user] S
Hi, when I looukup Home interface I've got
following exception:
javax.naming.CommunicationException. Root
exception is java.io.InvalidClassException:
org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy; Local class not compatible:
stream classdesc serialVersionUID=6136307389075444997 local cl
Hi...
Could someone tell me how to enable Log4J for JBoss or atleast
point me
to documents for the same.
Thanks,
Sheena
http://mail.indiainfo.com
First you had 10MB of free mail space.
Now you can send mails in your own language !!!
_
Hello all,
I want to store a picture in a CMP bean. I am wondering what would be the
best data type to use?
Should I use a byte[] and remap that to a blob? If so can that be passes from
a java client to the bean?
Thanks
Regards,
Stephen,
___
JBo
Hi List,
For the last few days I've been trying to get a real simple CMP bean
deployed and working. All I want to do is get some information out of a
database but I can't seem to do it. I appologise before hand if this sort of
thing has alrady been answered but the search engine on geocrawler is
Take a look at these articles for hints...
http://www.theserverside.com/patterns/ObserverPattern.jsp
http://www.javaworld.com/javaworld/javatips/jw-javatip110.html
If you're being really pure-ist then your client shouldn't really be
accessing
the entity beans directly, they should really be us
I have finally tried to restart the whole process to
get the Interest Servlet to work. now I am getting the
following error when I try to calculate:
Error: 500
Location: /interest/InterestServlet
Internal Servlet Error:
java.lang.NoClassDefFoundError:
org/jboss/docs/interest/Interest
at
This sounds like it would work great - **IF** everyone promises to go
through the session bean interface and not look up the entities
directly. Is it a bad idea (performance-wise, other?) for the Entities
themselves to send the messages? Maybe send messages from within an
Entity's ejbCreate
Daniel,
try chaging the Application to
Container in the ejb-jar.xml. Also in the jboss.xml the
tag is not required.
Paul
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Daniel CAUNE
Sent: 31 July 2001 15:03
To: [EMAIL PROTECTED]; Gregor Rayman
Subject:
Hi,
we wrote a small application with some beans (cmp, stateful, stateless) and some JSP's.
The beans and the webapp are in the same security domain behind a form based login and
the DatabaseServerLoginModule.
After successful login (principal = name) and getting some JSP-stuff, the first acces
Hi,
I just bought my copy of MVCSoft's Persistence Manager. I intend to use it
to develop an open-source implementation of OMG's General Ledger
specification on which I'm currently working. This means that other
developer's that wish to work on this project will also have to buy the
MVCSoft Per
ralph wrote:
I want to publish to a JMS topic from an entity bean
and then subscribe to
that topic from a standalone client. I found some examples in the
documentation for web-apps, but at this point I don't use a web application.
I just deploy a number of beans in a jar-file and can access them
On 31 Jul 2001 15:58:46 +0200, Sternagel Annegret (PN-SYS/DAS) wrote:
> The findBy... method should return a reference to the remote interface of
> the entitybean (the ejbFindBy... the primarykey), on that remote interface
> you can call a method to get the Collection.
Cheers! You just saved my
> The problem is that you've declared your bean will access datasource
> called "java:comp/env/jdbc/myDataSource", but you have not bound
> "java:comp/env/jdbc/myDataSource" to "java:/myDataSource".
>
>
> To do this, you have to specify the binding in jboss.xml. Try this:
>
Yes, I forgot this poin
The findBy... method should return a reference to the remote interface of
the entitybean (the ejbFindBy... the primarykey), on that remote interface
you can call a method to get the Collection.
interface MyEBHome extends javax.ejb.EJBHome
{
public MyEB findByCompanyId(long companyId) thro
On 31 Jul 2001 13:43:25 +0400, Andrew wrote:
> Hi, I've little problem with latest beta.I've BMP bean and when I try to create
>it throws exception:
>
> [Contract] TRANSACTION ROLLBACK EXCEPTION:null; nested exception is:
> javax.ejb.EJBException
> [Contract] java.lang.ClassCastExcep
Title: RE: [JBoss-user] NoSuchMethodError when trying to access EJB from tomcat
We have encountered this kind of problem before, chances are you still have your old jar files somewhere causing conflicts, make sure you don't have old jar files anywhere in your jboss/lib or jboss/lib/ext directo
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
David Ward wrote:
Anyone have experience (preferably using JBoss) implementing
a way for
EJB clients to get notified when other clients make a change to an
Entity Bean (or the database directly)? It would be nice if a
GUI could
update itself if it "heard" that someome else changed the state of
a
- Original Message -
From: "Per Lewau" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 31, 2001 10:43 AM
Subject: Re: [JBoss-user] NoSuchMethodError when trying to access EJB from
tomcat
>
> On Tue, 31 Jul 2001, Ludovic Orban wrote:
>
> >
> >
> > I'm hitting this strange
unsubscript
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
A small problem with BMP. I need some methods to return large amounts
of data. I noticed that initializing a new entity bean for every single
data item (there are more than 50,000 rows), is very time consuming and
not really required in this scenario. So I switched to BMP and defined
the follow
Title: War file using struts problem
Hi,
I encountered the following problem:
I have two war files both using struts, I put both war files into my ear file (with another jar file having EJBs and another jar file without EJBs). One war file was working and the other one not (i.e. could not
Title: Query regarding JBossSX security framework
Hi JBosses
I am new to the world of Jboss.I just went through the documentation provided on the website and when I reached the examples page of the client login implementations ..i saw the coming soon msg. Can someone help me out I just want
Hi, I've little problem with
latest beta.I've BMP bean and when I try to create it throws
exception:
[Contract] TRANSACTION ROLLBACK EXCEPTION:null;
nested exception is:
javax.ejb.EJBException[Contract] java.lang.ClassCastException:
java.lang.NoClassDefFoundError[Contract]
Hi,
I have two stateless
beans, callerBean and Search bean. Search bean has method which lookup on jboss
server to "discover" home and remote interface of beans having JNDI name
starting with "interest/.".
callerBean and
search bean have JNDI name "interest/caller" and "interest/sear
On Tue, 31 Jul 2001, Ludovic Orban wrote:
>
>
> I'm hitting this strange problem:
>
> java.lang.NoSuchMethodError
> at
> com.cisco.nm.lorban.servlet.InventoryServlet.doPost(com/cisco/nm/lorban/ser
> vlet/InventoryServlet.java:95)
>From the javadoc:
public class NoSuchMethodError
On Mon, 30 Jul 2001, A.L. wrote:
> I have been trying to run the JBOSS interest example,
> and ahve followed the advise of a few peopl who had at
> one point experience dtbhe same problem.
> Unfortunately, I am still unable to run the servlet
> for the interest example. When going to the
> ...
I have build an ear file, and put it in to jboss/jboss/deploy
but tomcat do not deploy the jsp in war file.
According to console message, I know tomcat had add context of the war file
but can not find the jsp file in war.
Then I separate war file and jar file,put jar file in jboss/jboss/deploy
an
54 matches
Mail list logo