Re: [JBoss-user] configuring Log4J

2001-07-31 Thread Scott M Stark
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

[JBoss-user] Unable to deregister with Transaction Manager

2001-07-31 Thread Federico Vesco
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

AW: [JBoss-user] exception while loading jboss-tomcat with mysql

2001-07-31 Thread Heiko Dittrich
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

Re: [JBoss-user] configuring Log4J

2001-07-31 Thread Toby Hede
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

RE: [JBoss-user] JBoss and JDO

2001-07-31 Thread Paul McLachlan
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

Re: [JBoss-user] Deployment Descriptor - Working on a tool at the moment

2001-07-31 Thread Wei-ju Wu
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

Re: [JBoss-user] Deployment Descriptor

2001-07-31 Thread Dmitri Colebatch
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

Re: [JBoss-user] configuring Log4J

2001-07-31 Thread Guy Rouillier
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

[JBoss-user] how do I run the verifier?

2001-07-31 Thread Mike Williams
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

[JBoss-user] Deployment Descriptor

2001-07-31 Thread L. Yeung
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

Re: [JBoss-user] is hanging problem with Tomcat solved?

2001-07-31 Thread Mike Williams
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

[JBoss-user] is hanging problem with Tomcat solved?

2001-07-31 Thread Boris Garbuzov
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.

Re: [JBoss-user] JBoss and JDO

2001-07-31 Thread Alex . Devine
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

[JBoss-user] JBoss and JDO

2001-07-31 Thread Paul McLachlan
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

[JBoss-user] general EJB question

2001-07-31 Thread Boris Garbuzov
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

RE: [JBoss-user] Session Bean could not passivate Exception

2001-07-31 Thread yan fan
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

RE: [JBoss-user] Session Bean could not passivate Exception

2001-07-31 Thread King, Tom
[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

[JBoss-user] Session Bean could not passivate Exception

2001-07-31 Thread yan fan
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

[JBoss-user] Binary objects and CMP

2001-07-31 Thread Stephen J . Thompson
-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,

[JBoss-user] Anyone using select-for-update?

2001-07-31 Thread Vinay Menon
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

[JBoss-user] session bean cant passivate Exception

2001-07-31 Thread yan fan
__ 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] (no subject)

2001-07-31 Thread Manish Verma
___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

[JBoss-user] exception while loading jboss-tomcat with mysql

2001-07-31 Thread Patrick Munis
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

RE: [JBoss-user] Secured JMX server (port 8082)

2001-07-31 Thread Bruyn, Bill
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

Re: [JBoss-user] Design Question...

2001-07-31 Thread Richard Kasperowski
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

RE: [JBoss-user] Secured JMX server (port 8082)

2001-07-31 Thread marc fleury
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

[JBoss-user] What means javax.naming.CommunicationException?

2001-07-31 Thread Andrew
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

[JBoss-user] configuring Log4J

2001-07-31 Thread sheena sid
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 !!! _

[JBoss-user] Binary objects and CMP

2001-07-31 Thread Stephen J . Thompson
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

[JBoss-user] Newbie basic CMP problems

2001-07-31 Thread John Bruce
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

RE: [JBoss-user] Entity change notification to clients

2001-07-31 Thread Day, Jem BGI WAC
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

Re: [JBoss-user] JBOSS INTEREST EXAMPLE

2001-07-31 Thread A.L.
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

Re: [JBoss-user] Entity change notification to clients

2001-07-31 Thread David Ward
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

RE: [JBoss-user] HELP! EJB 1.1 specification compliance

2001-07-31 Thread Paul Austin
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:

[JBoss-user] principals = null after successful login

2001-07-31 Thread wilyceef
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

[JBoss-user] MVCSoft Persistence Manager

2001-07-31 Thread Ted Stockwell
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

Re: [JBoss-user] jBoss jms from standalone client

2001-07-31 Thread jK.MkIII
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

RE: [JBoss-user] java.lang.ClassCastException: $Proxy339

2001-07-31 Thread Nicolai P Guba
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

Re: [JBoss-user] HELP! EJB 1.1 specification compliance

2001-07-31 Thread Daniel CAUNE
> 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

RE: [JBoss-user] java.lang.ClassCastException: $Proxy339

2001-07-31 Thread Sternagel Annegret (PN-SYS/DAS)
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

Re: [JBoss-user] java.lang.NoClassDefFoundError in latestBETA(2.4_26)

2001-07-31 Thread Nicolai P Guba
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

RE: [JBoss-user] NoSuchMethodError when trying to access EJB from tomcat

2001-07-31 Thread Ernest Chen
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] Un subscribe

2001-07-31 Thread Alvin Yap
___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] Entity change notification to clients

2001-07-31 Thread jK.MkIII
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

Re: [JBoss-user] NoSuchMethodError when trying to access EJB from tomcat

2001-07-31 Thread Tbone
- 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

[JBoss-user] unsubscript

2001-07-31 Thread Edwin Schäfer
unsubscript ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

[JBoss-user] java.lang.ClassCastException: $Proxy339

2001-07-31 Thread Nicolai P Guba
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

[JBoss-user] War file using struts problem

2001-07-31 Thread Jörg Schorr
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

[JBoss-user] Query regarding JBossSX security framework

2001-07-31 Thread Gupta, Ruchir
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

[JBoss-user] java.lang.NoClassDefFoundError in latest BETA(2.4_26)

2001-07-31 Thread Andrew
    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] 

[JBoss-user] ClassCastException on bean deployment

2001-07-31 Thread Rajesh Vilasrao Bhujbal
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

Re: [JBoss-user] NoSuchMethodError when trying to access EJB fromtomcat

2001-07-31 Thread Per Lewau
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

Re: [JBoss-user] JBOSS INTEREST EXAMPLE

2001-07-31 Thread Per Lewau
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 > ...

[JBoss-user] Problem about tomcat with jboss

2001-07-31 Thread li_c
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