[JBoss-user] NullPointerException in ClassPathExtension

2001-04-11 Thread Jakob Braeuchi
hi, i tried to add my tomcat-lib to tha classpath using: in jboss.conf. with the trailing slash i get a NullPointerException [Classpath extension] Added directory:file:/D:/Java/jboss/tmp/ [Classpath extension] Added directory:file:/D:/Java/jboss/db/ [Classpath extension] Classpath ex

Re: [JBoss-user] InterestClient

2001-04-11 Thread Ralph Jensen
The client needs the definition of the interface InterestHome in order to run. Ralph - Original Message - From: Guy Rouillier <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 13, 2001 12:22 AM Subject: Re: [JBoss-user] InterestClient > That's not right. interest.jar is

RE: [JBoss-user] Setting up the naming provider

2001-04-11 Thread Vincent Harcq
Hi, If you use Tomcat 3.2.1, you can put jndi.properties in the Tomcat CLASSPATH and you do not need any System.setProperty(). That's how JNDI client has to find its property. And that's the more proper usage of it since you do not need to put JNP stuffs somewhere else. But it really depends if

[JBoss-user] findAll method did not order

2001-04-11 Thread Russell
Hi all , I am using RedHat6.1 , postgresql7.0.1 , jboss2.1 and jdk1.3. I have created a findAll method however the result returned are not ordered. How to order the result by primary key in findAll method ??? Any ideas ?? Thanks russell. ___

Re: [JBoss-user] InterestClient

2001-04-11 Thread Guy Rouillier
That's not right. interest.jar is the EJB - that is the part you put in JBoss's deploy directory. Your client should not be referencing this jar. - Original Message - From: "John Menke" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 11, 2001 11:09 PM Subject: RE: [JB

Re: [JBoss-user] Re: Can some one help me to get Minerva documentation

2001-04-11 Thread Guy Rouillier
There used to be a minerva.html file distributed with the JBoss zip file, but I notice it has disappeared in the 2.1 disto. You can extract a previous release from CVS and get the html file that way. (If you do, can you mail me a copy? ) - Original Message - From: <[EMAIL PROTECTED]> T

Re: [JBoss-user] Resource Reference Method Confusion

2001-04-11 Thread Guy Rouillier
You need to map your logical reference in your EJB code to the JNDI name by making an entry similar to this in jboss.xml: OracleDB jdbc/OracleDB - Original Message - From: "Faisal Ahmad" <[EMAIL PROTECTED]> To: "JBoss User (E-mail)" <[EMAIL PROTECTED]> Sent: W

RE: [JBoss-user] InterestClient

2001-04-11 Thread John Menke
I had to add interest.jar to the classpath also to get it to work. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ralph Jensen Sent: Wednesday, April 11, 2001 9:37 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] InterestClient Actually, not that bad

Re: [JBoss-user] JSP problem with Embedded Tomcat

2001-04-11 Thread Nguyen Thanh Phong
Do you have a complete stack trace? Make sure that your CLASSPATH includes tools.jar from JDK! Cheers. Nguyen Thanh Phong. - Original Message - From: Sriram Chari <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 12, 2001 8:56 AM Subject: [JBoss-user] JSP problem with E

[JBoss-user] JSP problem with Embedded Tomcat

2001-04-11 Thread Sriram Chari
I keep getting NoClassDefFoundError when I try to run my Jsp under Tomcat.What am I missing here??.  I am currently running the Jboss2.1-tomcat -beta.   thanks for your help -Sri

Re: [JBoss-user] InterestClient

2001-04-11 Thread Ralph Jensen
Actually, not that bad. If I hadn't skipped over the configuration chapter I would have found the information: http://www.jboss.org/documentation/HTML/ch02s02.html Ralph - Original Message - From: Ken Jenks <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 11, 2001 8:2

Re: [JBoss-user] development / deployment / debug

2001-04-11 Thread Nathan Coast
Resolution: change the jdk/jre/lib/jvm.cfg from -hotspot -server -classic to -classic -hotspot -server forces the classic jvm to be loaded first then start jboss with: java -Xbootclasspath:mypath\jdk1.3\lib\tools.jar;mypath\jdk1.3\jre\lib\rt.jar %JAXP% -classpath "%CLASSPATH%" -X

Re: [JBoss-user] development / deployment / debug

2001-04-11 Thread Nathan Coast
Thanks Scott, unfortunately - see below. Guess there's something wrong with my jre setup. Any ideas? according to the jdk1.3 tools docs the classic flag is fine. F:\jboss-2.1\bin>run Unrecognized option: -classic Could not create the Java virtual machine. Press any key to continue . . . F:\j

[JBoss-user] Problem with Interest Example

2001-04-11 Thread John Menke
I have installed the .jar file in my deploy directory and the log confirms that it's being deployed correctly. I also have jbosssx-client.jar and jboss-client in my classpath. When I try to run InterestClient (which is installed as InterestClient.class in the /client directory under Jboss)I get

Re: [JBoss-user] Threads in EJBs

2001-04-11 Thread Peter_Cetinski
You have no idea how the app server is handling its threads so calling sleep() is completely unpredictable. "White, Joshua" <[EMAIL PROTECTED]>@lists.sourceforge.net on 04/11/2001 04:14:27 PM Please respond to [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'"

Re: [JBoss-user] development / deployment / debug

2001-04-11 Thread Scott M Stark
> > Debug - > I'm using jswat (open source debugger) connecting remotely to jboss to debug > servlet / ejb code. This is proving too slow to be practical. I'm using > embedded tomcat as the web container and I'm starting the jboss with these flags: > java -Xdebug -Xrunjdwp:transport=dt_socke

Re: [JBoss-user] Problems with the connection(-pool) on container-managed beans

2001-04-11 Thread Alexander Jerusalem
Thank you David and Toby for pointing this out to us. We'll try to use the underlying Connection, this sounds very good. Alexander Jerusalem At 03:20 11.04.01, David Jencks wrote: >Hi, >Thanks for the clarification of what you are working with. > >The Minerva pools (to fake an XADatasource fro

Re: [JBoss-user] EJB 2.0 support

2001-04-11 Thread Jim Archer
Kashif, there is a persistence manager for use with jBoss that implements almost all of the features of EJB 2.0 persistence, including the sophisticated relationships between EBs and dependents (it implements dependents as well). Its $28.00 and includes a manual in PDF form that does an excell

[JBoss-user] development / deployment / debug

2001-04-11 Thread Nathan Coast
Hi, I'm starting developing / deploying with jboss and would like to pick the brains of more experienced jboss users about how to work more efficiently. Debug - I'm using jswat (open source debugger) connecting remotely to jboss to debug servlet / ejb code. This is proving too slow to be prac

Re: [JBoss-user] How to configure compatible DataSource JNDI for WebLogic and JBoss

2001-04-11 Thread Scott M Stark
One issue though is that you cannot configure a resource without a java: prefix as a Deployer in JBoss right now. I have filed this as a bug 414854 on sourceforge. - Original Message - From: "Toby Allsopp" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 11, 2001 12:38

Re: [JBoss-user] JBossSX Example by Scott Stark

2001-04-11 Thread Scott M Stark
This is a bug with the JaasServerLoginModule in the 2.2 release. I'm working on a patch. - Original Message - From: "Meenen, Joerg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 11, 2001 8:01 AM Subject: [JBoss-user] JBossSX Example by Scott Stark > Hello all. > >

[JBoss-user] Threads in EJBs

2001-04-11 Thread White, Joshua
Title: Threads in EJBs Is it breaking the rules to use Thread.sleep() within a method on a Stateless Session Bean?

RE: [JBoss-user] EJB 2.0 support

2001-04-11 Thread Steve Magoun
Hi Kashif, JBoss 2.2 supports some features of EJB 2.0 (message driven beans, for example) but doesn't implement full support because the EJB 2.0 spec hasn't been finalized. Once the spec is done, JBoss will support it. For info on MDBs, check out the manual at http://www.jboss.org/documentation

RE: [JBoss-user] Setting up the naming provider

2001-04-11 Thread Michael Hustler
duh oh! of course. Tim, thanks for answering the newbie question! -mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 11, 2001 11:15 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Setting up the naming provider I am not sure if my sy

Re: [JBoss-user] Resource Reference Method Confusion

2001-04-11 Thread Toby Allsopp
On Wed, Apr 11, 2001 at 07:24:49PM +0500, Faisal Ahmad wrote: ... > > BUT > > when I make a entry in the ejb-jar.xml for the session bean > like this > > > > OracleDB > javax.sql.DataSource > Container > > : >

Re: [JBoss-user] Newbie: CMP Often Too Simple?

2001-04-11 Thread Jim Archer
There is an EJB 2.0 persistence manager available for jBoss for $28.00 from MVC Soft. It rocks! Even if you don't use it, the PDF manual that comes with it is more than worth the price. http://www.mvcsoft.com But be carefull! The EJB 2.0 spec is not final and will change. Probably, dependent

Re: [JBoss-user] How to configure compatible DataSource JNDI for WebLogic and JBoss

2001-04-11 Thread Toby Allsopp
On Wed, Apr 11, 2001 at 05:27:28PM +0700, Nguyen Thanh Phong wrote: > Hi, > > I'm recently moving my beans from WebLogic to JBoss. I have some problems to > create/configure a compatible DataSource JNDI so that I don't have to modify > my ejb-jar.xml when I deploy my code on WL or JBoss. > > In

Re: [JBoss-user] Newbie: CMP Often Too Simple?

2001-04-11 Thread Frank Morton
> I believe your observation is quite correct, for EJB 1.1. To do anything > sophisticated at all, which is always required in a usefull application, > you have to use BMP, which negates much of the advantages of EJB for many > people. > [snip] > > Still, I moved to EJB 2.0 quite a while ago. It h

Re: [JBoss-user] Re: Can some one help me to get Minerva documentation

2001-04-11 Thread Toby Allsopp
On Wed, Apr 11, 2001 at 09:54:37AM +, [EMAIL PROTECTED] wrote: > Hi All, > > I am very much in need of documentation for Minerva Object Pools. > > Please help me to get the same. I think the best way to get the docs for Minerva is to grab the source from jbosscx/src/external

[JBoss-user] javax.naming.NameNotFoundException in Tomcat - After using jboss.xml, before it's working

2001-04-11 Thread Pifen Ellwood
Hi, Before I used jboss.xml to specifiy the jndi-name, my servlet can lookup my sessesion bean using; System.setProperty("java.naming.factory.initial","org.jnp.interfaces.NamingC ontextFactory"); System.setProperty("java.naming.provider.url","localhost:1099"); InitialContext jndiContext = new

[JBoss-user] javax.naming.NameNotFoundException in Tomcat - After using jboss.xml, before it's working

2001-04-11 Thread Pifen Ellwood
Hi, Before I used jboss.xml to specifiy the jndi-name, my servlet can lookup my sessesion bean using; System.setProperty("java.naming.factory.initial","org.jnp.interfaces.NamingC ontextFactory"); System.setProperty("java.naming.provider.url","localhost:1099"); InitialContext jndiContext = new

[JBoss-user] EJB 2.0 support

2001-04-11 Thread Kashif Noorani
I was wondering how much EJB 2.0 support is there currently in JBoss and whats the tentative schedule for full support? Kashif _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com ___

Re: [JBoss-user] Newbie: CMP Often Too Simple?

2001-04-11 Thread danch
Jim's comments hit the mark. Bear in mind, however, that you can 'mix and match' CMP and BMP to some extent. -danch Jim Archer wrote: > Hi Frank... > > I believe your observation is quite correct, for EJB 1.1. To do anything > sophisticated at all, which is always required in a usefull appli

Re: [JBoss-user] Setting up the naming provider

2001-04-11 Thread tim . haley
I am not sure if my system counts as a real system, since I am just beginning to develop our first commercial EJB application but... I am loading the settings from jndi.properties by using PropertyResourceBundle jndiBundle = (PropertyResourceBundle)ResourceBundle.getBundle("jndi") to loca

[JBoss-user] Setting up the naming provider

2001-04-11 Thread Michael Hustler
In a real system, how are people setting up the naming provider? Is anyone using jndi.properies? I have some code in my client to explicitly set the system properties: System.setProperty("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory");

[JBoss-user] using jBoss in a production environment?!?

2001-04-11 Thread Torben Jäger
Hi all! Just ported our b2b platform from IAS to jBoss it seems that jBoss is having some performance problems. A simple jsp (in embedded tomcat) reading some entities over a finder method is real slow (table contains only 30 rows!!). Running this jsp with Inprise Application Server you couldn't

Re: [JBoss-user] Newbie: CMP Often Too Simple?

2001-04-11 Thread Jim Archer
Hi Frank... I believe your observation is quite correct, for EJB 1.1. To do anything sophisticated at all, which is always required in a usefull application, you have to use BMP, which negates much of the advantages of EJB for many people. However, not to worry. The EJB 2.0 draft spec address

[JBoss-user] Portability of bean references between client and server

2001-04-11 Thread Mike Finn
This is an EJB question (not really JBoss specific)... I have a entity (cmp) bean which is just a simple sequence number generator. Its one fancy feature is that with each request it blocks-off a series of numbers for the client. What I am trying to do is wrap the access to the entity bean in

RE: [JBoss-user] Problem with SQL MAX() function in jaws.xml finder

2001-04-11 Thread Kevin Meldorf (NBK)
I had a similiar problem when using a session bean and jdbc. I fixed it by making sure that I was doing a "select as" -- maybe this will help with the custom finder? SELECT MAX(PK_ID) as pk_id FROM PKTABLE. Kevin Meldorf Systems Analyst WorldTravel BTI 400 Skokie Blvd Northbrook, IL 60062 Phone

[JBoss-user] Jboss in the real world

2001-04-11 Thread Yasir
Hello All,   I've been wondering of late if anyone has actually used JBOSS in a high usage environment such as an enterprise portal. Are there any performance matrices available for JBoss out there? Any real life experiences of using this App server? My concern arises from the fact that in j

Re: [JBoss-user] CMP Postgres and Booleans

2001-04-11 Thread awc
Hi Rajeev, this is my startup script. You add -d {number} depending on the debug level you want. hope this helps. anil Rajeev Bacchu wrote: > Hi anil, > > Thank u ver much, let me sit down right now & follow what u have said, & > just one more thing, can u tell me how to start postgre

Re: [JBoss-user] Need Help Connection Pools (can't see zip files)

2001-04-11 Thread Daren R. Sefcik
OK..I see what you mean, I was using some code generated from Sun's deployment tool as a reference...my mistake. Here is what ended up being all I needed: false LoginServletBean MyLoginServlet jdbc/JBossDB MSQLDB Thanks to everyone wh

[JBoss-user] JBOSS 2.1 / mySQL 3.23.33 : custom finder with java.util.Date format

2001-04-11 Thread Sylvain Tourrière
Hi, In a custom finder method, I have a trouble with a date format. My parameter in the findByResult method looks like 'Wed Apr 11 16:27:15 CEST 2001' in the client program. I get the SQL finder's method parameter : '2001-04-11' (cf SQL log) Where is my daytime (16:27:15) ?? Thanks for all. -

[JBoss-user] JBossSX Example by Scott Stark

2001-04-11 Thread Meenen, Joerg
Hello all. I have a problem with the jbosssx example. Everything works fine except that user stark has full access to the echo method. No exception is thrown, see below. I am using jboss 2.2 (with tomcat config). I did not made any changes to the files Scott provided. Is it possible that i have

Re: [JBoss-user] FreeTDS and JBoss connection pooling

2001-04-11 Thread Daren R. Sefcik
On Wed, 11 Apr 2001, Matthew Setter wrote: > Has anyone successfully gotten a connection pool in jboss 2.1 running using > the freetds driver to an ms sql database?? > > If so, could you email jboss.jcml snippets pls. > > Having a very frustrating time trying to get it running. > > thanks, > > Ma

[JBoss-user] Resource Reference Method Confusion

2001-04-11 Thread Faisal Ahmad
I have a session bean which needs to access the DataSource directly. I have defined the datasource as OracleDB in the jboss.jcml and also specified OracleDB as the datasource in jboss.xml . When the jboss starts it binds this datasource to Java:/OracleDB. In my session bean I do a jndi lookup for

RE: [JBoss-user] BMP bean deployement - Need Help

2001-04-11 Thread Swarr, Bob
The deployer is correct. The deployment discriptor is invalid. What ever happened to desk-checking? See my comments below. -Original Message- From: ravi kumar rongali [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 11, 2001 9:28 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] BMP bean

[JBoss-user] BMP bean deployement - Need Help

2001-04-11 Thread ravi kumar rongali
Hi, I am getting an error while deploying a CMP bean in JBOSS. It is saying that 'No valid deployment descriptor was found within this URL: file:/D:/jboss2.0/jBoss-2.0_FINAL/deploy/ship.jar'. The same error is coming when i am deploying Richard Hafel book's chapter 4 ship bean. For BMP bean,

Re: [JBoss-user] InterestClient

2001-04-11 Thread Ken Jenks
At 12:56 PM 4/11/01 +0800, you wrote: >The InterestClient doesn't run until all of the following jar-files are on >the classpath: ejb.jar, jnp-client.jar, jboss.jar, jta-spec1_0_1.jar and >jbosssx-client.jar. > >Did I miss something in the documentation? No, the documentation is out of date. --

RE: [JBoss-user] RMI Call back

2001-04-11 Thread BillTC
Hello Chris, Thank you very much. I got it working. What I did was modified the files jboss.properties to install a RMISecurity manager also the rmi.server.codebase . Then It started working.   BillTC   Hi,> -Original Message-> From: BillTC [mailto:[EMAIL PROTECTED]]> I am using jbo

RE: [JBoss-user] Solving Oracle Connection Pool Hanging

2001-04-11 Thread Shahar Solomianik
Keep in mind you can use Oracle Connection Manager tool which "pools" connection in the dbms, outside the app server. It keeps allocated resources for closed connection to bind it to new ones, thus making the connection physical creation much faster. Shahar -Original Message- From: [EMAIL

[JBoss-user] How to configure compatible DataSource JNDI for WebLogic and JBoss

2001-04-11 Thread Nguyen Thanh Phong
Hi, I'm recently moving my beans from WebLogic to JBoss. I have some problems to create/configure a compatible DataSource JNDI so that I don't have to modify my ejb-jar.xml when I deploy my code on WL or JBoss. In WebLogic, my beans works if I create a DataSource with JNDI name (e.g.) SmartPool.

[JBoss-user] Re: Can some one help me to get Minerva documentation

2001-04-11 Thread chinnaswamyg
Hi All, I am very much in need of documentation for Minerva Object Pools. Please help me to get the same. Thanks and rgeards. Chinnaswamy Chequemail.com - a free web based e-mail service that also pays!!! http://www.chequemail.com

AW: RE: [JBoss-user] easy to implement Informix Support ???

2001-04-11 Thread connecstasy
Hello Marc, I wanted to ask you directly, as you are one of the main developers on jboss : 1)is EJB 2.0 supported yet ? 2) are message-driven beans supported and tested yet ? 3) what about the external persistence manager ? Best regards, Jubin > > Von: "marc fleury" <[EMAIL PROTECTED]

RE: [JBoss-user] CMP Postgres and Booleans

2001-04-11 Thread Rajeev Bacchu
Hi anil, Thank u ver much, let me sit down right now & follow what u have said, & just one more thing, can u tell me how to start postgresql with -i option? U r way ahead of me with these things so I am sure u'd know. I just want to avoide the time running through the docs for this. than

RE: [JBoss-user] Can Handle be passivated/activated?

2001-04-11 Thread Bordet, Simone
Alex, I see you're using an old JBoss version, try the new 2.2 release. Many things were changed from the 2.0 that you probably are using, one of them being the handling of passivated fields, if I remember well. Let us know, Simon > Hello again, this is a print out from the log file. This > h

[JBoss-user] JRMP - RMI implemetation

2001-04-11 Thread joel cordonnier
Hi! Where can I found the source code of an RMI implemtation ? Thanks Joel ___ Do You Yahoo!? -- Pour dialoguer en direct avec vos amis, Yahoo! Messenger : http://fr.messenger.yahoo.com ___ JBo

[JBoss-user] VB: [JBoss-dev] Error in Simple Custom Finder Method

2001-04-11 Thread Lennart Petersson
Taking this to jboss-user list. More info needed like what release of jboss... /L - Original Message - From: Greg Parker <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 10, 2001 11:16 PM Subject: [JBoss-dev] Error in Simple Custom Finder Method Hello, I created a simp

SV: [JBoss-user] debug ejb bean

2001-04-11 Thread Lennart Petersson
and p is not even close to the t on my keyboard :-(sorry... /L - Original Message - From: Scott M Stark <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 11, 2001 4:46 AM Subject: Re: [JBoss-user] debug ejb bean > Its actually jswat, see http://www.bluemarsh.com/jav

SV: SV: [JBoss-user] debug ejb bean

2001-04-11 Thread Lennart Petersson
Same with me :-) Depending on where/when in the JBoss code i'm interesting in debugging i set the 'suspend' flag to either y or n. Works really great, though it is reaaaly slow :-( /L - Original Message - From: Scott M Stark <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday,