Re: [JBoss-user] Interest example does not work for me, please help!

2001-07-02 Thread Scott M Stark
You need to use 2.2.2 or later for the current example - Original Message - From: "Dennis Huang" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 02, 2001 11:47 PM Subject: [JBoss-user] Interest example does not work for me, please help! > Hi: > > I am new in EJB and JBo

[JBoss-user] Interest example does not work for me, please help!

2001-07-02 Thread Dennis Huang
Hi: I am new in EJB and JBoss. I am reading the documentation and following examples step by step. In the chapter "First Steps - Coding and compiling the test client". All steps work OK ecept the last one which is testing InterestClient. I got error which is shown below. I didn't change any code

Re: [JBoss-user] Strange Behavior When DataSource goes down.

2001-07-02 Thread Scott M Stark
The JCA architecture provides a standard mechanism for managing connections. It uses a callback mechanism to notify the connection user of changes in its state: public interface javax.resource.spi.ConnectionEventListener { public void connectionClosed(ConnectionEvent event); public void connect

Re: [JBoss-user] Strange Behavior When DataSource goes down.

2001-07-02 Thread Guy Rouillier
I see one problem here and one issue. Problem: There is no standard, cross-vendor approach that I'm aware of to test to see if a database connection is still alive. Issue: My opinion is that we should try to standardize a solution whose semantics work for any connection oriented resource, not j

Re: [JBoss-user] Naming datasource

2001-07-02 Thread danch
Andy Bryant wrote: > > If you are using JBoss2.2.2 or later, it seems they have added a little > shortcut to doing this - you can add the jndi-name directly into the > resource-ref tag and not worry about the resource-managers tag at all... > > > > MyDB > jav

Re: [JBoss-user] Help! - Can EJB inherit from normal classes? Packaging with normal classes?

2001-07-02 Thread Devraj Mukherjee
I read an article in Javaworld.com about converting existing classes to EJB. You may want to have a look there. Devraj At 07:28 3/07/01 +0200, you wrote: >Hello, > >I've a question on inheritence in EJB. >As I'm working on the adaption of an existing Java framework, I have to >convert many norm

RE: [JBoss-user] CMP Memory Leak

2001-07-02 Thread Bill Burke
Are you sure you're not doing your create/remove loop in one transaction? Remember, stateless session methods are Required by default. So if you're doing your create/remove loop within a stateless bean method, all the beans you create/remove will not be released until the transaction commits at t

Re: [JBoss-user] ASP Model for J2EE?

2001-07-02 Thread Samuel Franklyn
I think each approach has its advantages and disadvantages. - Original Message - From: Jeff Campbell To: [EMAIL PROTECTED] Sent: Monday, July 02, 2001 11:18 PM Subject: [JBoss-user] ASP Model for J2EE? I'm stumped...   What is the best approach for us

Re: [JBoss-user] JUnit swingui TestRunner and Class Loader

2001-07-02 Thread Samuel Franklyn
Uncheck Reload classes every run checkbox. This is actually documented in the FAQ of JUnit - Original Message - From: "Richard Doust" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 02, 2001 10:51 PM Subject: [JBoss-user] JUnit swingui TestRunner and Class Loader > Hi. >

Re: [JBoss-user] Naming datasource

2001-07-02 Thread Andy Bryant
One slight addition to Danch's suggestion... > This should be: > > > MyDB > MyOracleResource > > > > > > > > > And here you need something like this > > > MyOracleResource > java:/OracleDB > > > > If yo

Re: [JBoss-user] Design question

2001-07-02 Thread danch
Adam Young wrote: > If you want to make it read only, will JBoss allow you to write the > remote interface such that it only has getters?The M-H book suggests > not even exposing the remote interface for enitity beans. Certainly it > would be preferable to have on the getters available to

Re: [JBoss-user] Naming datasource

2001-07-02 Thread danch
There's one step you're missing - see below. Also take a look in jboss.dtd - it's somewhat documented there. -danch Gregor Rayman wrote: > Hi all, > > I try to refactor a two tier application and as the first step > I want to move the database access to stateless session beans. > > So I've

Re: [JBoss-user] problem deploying CMP EJBs.

2001-07-02 Thread danch
Tips are inline below [EMAIL PROTECTED] wrote: > Hey Group: > > My system: JBoss-2.2.2_Tomcat-3.2.2, jdk1.3, NT4,Oracle 8i. > > Here is my problem: I have three EJBs which are being deployed: > jamalcontroller, jamal, jamalDAO > jamalcontroller is a statefull session bean which calls jamal als

Re: [JBoss-user] problems with Data Source lookup

2001-07-02 Thread danch
Asad Faizi wrote: > Hello, > > I am trying to do a lookup on an Oracle Connection > from a stand-alone java client, without much luck. > OK, altogether now! one...two...three... It Won't Work. Stop Trying. Seriously, even if it did work, you don't want to do this anyway. If you really _need

Re: [JBoss-user] Add Names To "Global JNDI Namespace"?

2001-07-02 Thread danch
Gabi Perets wrote: > Hi All, > > Can I add a jndi name to the "Global JNDI Namespace", I want the jndi name > for my DataSource to be there and not in the "Java: JNDI Namespace". This > way I will have the option to look for the DataSource from remote client. Is > it possible? Well, you could

Re: [JBoss-user] Postgres commit problem

2001-07-02 Thread danch
If you're talking about the same problem (you need to call close for connections to commit properly) I think it's probably thought of as low priority because you should be closing them anyway - remember that that doesn't really close the physical connection, it just lets the pool know that you

Re: [JBoss-user] Postgres commit problem

2001-07-02 Thread danch
Hermann RANGAMANA wrote: > Close the connection after each transaction... that was the only workaround > i was suggested to use ... and it works fine! However, i've not tested yet > the impact of opening/closing the connection for each transaction ... > Assuming that you're getting the connecti

Re: [JBoss-user] Call from an EJB to 'normal' Java Classes

2001-07-02 Thread danch
Putting them into the ejb-jar should work (I do this). Is it possible that the normal java class depends on a class that isn't in the jar? Does that .class file exist in the proper place in the jarfile (with a path matching its package containment - matching case as well)? [EMAIL PROTECTED] wr

Re: [JBoss-user] CMP Memory Leak

2001-07-02 Thread danch
What version of JBoss are you using? [EMAIL PROTECTED] wrote: > All, > > I've been doing some stress testing on my JBoss server and found a showstopper of a >problem. All I am doing is creating a thousand CMP entitity beans (small ones at >that), and then removing them, over and over again f

Re: [JBoss-user] Problem with compiling CVS

2001-07-02 Thread danch
More recent snapshots should work for you. There were 2 different versions of the XML DOM api in the lib directory. We unlucky few would up picking up the wrong one first in our classpath somehow. -danch [EMAIL PROTECTED] wrote: > Marc, > > Re: HTML mail > all you had to do was ask

[JBoss-user] trying to make jbosstest work on Win2k

2001-07-02 Thread William Cain
Title: trying to make jbosstest work on Win2k I'm a newbie with JBoss/jbosstest.  I'm trying to get jbosstest to run on Win2k, and I get 3 failures and 17 errors.  That many don't show up in the sample runs on lubega.com, so I'm guessing it's not exactly the expected behavior.  Six of the err

[JBoss-user] NoClassDefFoundError in custom JSP tag

2001-07-02 Thread Andy Bryant
Apologies if this has appeared on the list already, but I haven't seen it there since I posted it 15 hours ago. [I've also added some extra diagnosis at the bottom] I have a custom tag called InsertTag (almost identical to Java Petshop InsertTag) that references another class, ScreenFlowManager..

[JBoss-user] problems with Data Source lookup

2001-07-02 Thread Asad Faizi
Hello, I am trying to do a lookup on an Oracle Connection from a stand-alone java client, without much luck. I have copied the three different attempts, I am trying to understand what am I doing wrong here!? Any tips would be greatly appreciated. Thx. Asad Faizi 1. initialContext.lookup("java:

Re: [JBoss-user] JBoss 2.2.2 - Linux kernel 2.4

2001-07-02 Thread Devraj Mukherjee
What version of JDK are you using. As far as I know JBoss will only run with Version 1.3 Devraj At 18:02 2/07/01 -0700, you wrote: >Hi, >I'm new to JBoss and try to start JBoss by executing run.sh > > > > >This is the error message: > >JBOSS_CLASSPATH=:run.jar:../lib/crimson.jar >Exception in t

Re: [JBoss-user] Boot script

2001-07-02 Thread Richard Bottoms
At 08:47 AM 7/2/01 -0400, you wrote: >Asher, > >The attached is what I use for convenience on RedHat 7.1, but admittedly >haven't tried to put it in a run-level directory yet to see where it >works best. Anyone find a runlevel directory that works for this script yet? r.b.

[JBoss-user] JBoss 2.2.2 - Linux kernel 2.4

2001-07-02 Thread Axel Muench
Hi, I'm new to JBoss and try to start JBoss by executing run.sh This is the error message: JBOSS_CLASSPATH=:run.jar:../lib/crimson.jar Exception in thread "main" java.lang.NoclassDefFoundError: org/jboss/Main Any major thing I'm missing here? Thanks, Axel Muench. _

[JBoss-user] Using jBoss Test Environment in VAJ

2001-07-02 Thread Jim Femister
Hi- Does anyone know how to get the "jBoss Test Environment 2.0" to work with VisualAge for Java 3.5.3? When I try to add the feature I always get the message "Cannot complete the operation because Java class libraries 1.2.2 is required by the system." Thanks, Jim [EMAIL PROTECTED] __

Re: [JBoss-user] Help: Can't run tomcat-test

2001-07-02 Thread Devraj Mukherjee
Something like this happened to me, You must have tools.jar in your classpath while running JBoss + Tomcat. I modifed the batch file that runs JBoss with Tomcat to add tools.jar in the classpath. Devraj At 17:11 2/07/01 -0700, you wrote: Hi,   I installed tomcat+jboss combo. Tomcat is working pr

RE: [JBoss-user] Help: Can't run tomcat-test

2001-07-02 Thread FengShuo Yu
look here under the jBoss link. there is an example shows you how.   http://www.geocities.com/fengjboss/   Hope this help. FengShuo, -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kent XuSent: Monday, July 02, 2001 7:11 PMTo: [EMAIL PRO

[JBoss-user] Help: Can't run tomcat-test

2001-07-02 Thread Kent Xu
Hi,   I installed tomcat+jboss combo. Tomcat is working properly. Then I tried to run the tomcat-test.ear EJB sample.   http://localhost:8080/jboss leads me to http://localhost:8080/jboss/index.html. It seems to be ok. But when I click the link to run the servlet, it shows the following

Re: [JBoss-user] Problems deploying EARs with JSPs under JBoss/Jetty

2001-07-02 Thread Julian Gosnell
[EMAIL PROTECTED] wrote: > On Mon, Jul 02, 2001 at 09:40:21PM +0100, Julian Gosnell wrote: > > I've messed around a little with Jetty and JSPs : > > > > These are things I would try : > > > > 1. Update to the latest JBoss-Jetty - Scott will be putting it on the > > binaries page soon - if you are

Re: [JBoss-user] Problems deploying EARs with JSPs under JBoss/Jetty

2001-07-02 Thread Julian Gosnell
OK, Bent, How big is the EAR ? if it is less than a couple of meg, mail it to me and I will have a look. That's the best I can do ! Jules [EMAIL PROTECTED] wrote: > On Mon, Jul 02, 2001 at 09:40:21PM +0100, Julian Gosnell wrote: > > I've messed around a little with Jetty and JSPs : > > > >

Re: [JBoss-user] jBoss-Jetty RC5 Still Getting NULL NULL NULL

2001-07-02 Thread Brett Sealey
The "null null null" message is a bit of escaped debug. It is harmless despite being irritating. It was occuring when a HTTP connection with keepalive is closed, normally after a timeout. Hopefully Jules has it fixed this time round or else there goes another perfectly good hat... :-) Brett On M

[JBoss-user] ejb not bound / jboss-web.xml ?

2001-07-02 Thread G.L. Grobe
Anyone have an example config from jboss-web.xml. I have session beans that call enitity beans and have only had to put in 's in the ejb-jar.xml file and those work fine. Now I've got servlets from my web app that call sesson beans in my ejb jar and I'm not sure how to reference these. I thinks it

Re: [JBoss-user] Could not create the finder (in jaws.xml)

2001-07-02 Thread Fred Loney
You may have discovered a bug. As far as I can tell, jboss incorrectly filters out custom finder methods that don't begin with "ejbFindBy". Your method is filtered out. An attempt is made to autogenerate a finder, which results in the indicated message. Change the name of your method to ejbFin

Re: [JBoss-user] RMI/IIOP warning

2001-07-02 Thread Toby Allsopp
On Sun, Jul 01, 2001 at 09:07:57PM -0400, asdfa asdfdfd wrote: > public void setHostIP(String hostName) throws java.rmi.RemoteException, >javax.ejb.EJBException; javax.ejb.EJBException is not a valid exception for RMI/IIOP because it is a subclass of RuntimeException. Remove this from you

Re: [JBoss-user] Problems deploying EARs with JSPs under JBoss/Jetty

2001-07-02 Thread bcd
On Mon, Jul 02, 2001 at 09:40:21PM +0100, Julian Gosnell wrote: > I've messed around a little with Jetty and JSPs : > > These are things I would try : > > 1. Update to the latest JBoss-Jetty - Scott will be putting it on the > binaries page soon - if you are in a hurry try : > > >http://cvs.so

Re: [JBoss-user] JAAS Security question - Getting pricipaldata...

2001-07-02 Thread awc
I am sorry, I was not very clear. OK. I do not know about jetty. I will be tomcat specific. first you have to force your servlet engine to authticate your window/browser, that will force you to enter username and password. After that, it will save j_username and j_password and link you have requ

Re: [JBoss-user] Problems deploying EARs with JSPs under JBoss/Jetty

2001-07-02 Thread bcd
On Mon, Jul 02, 2001 at 09:40:21PM +0100, Julian Gosnell wrote: > I've messed around a little with Jetty and JSPs : > > These are things I would try : > > 1. Update to the latest JBoss-Jetty - Scott will be putting it on the > binaries page soon - if you are in a hurry try : > > >http://cvs.so

[JBoss-user] problem deploying CMP EJBs.

2001-07-02 Thread jamal . noorzaie
Hey Group: My system: JBoss-2.2.2_Tomcat-3.2.2, jdk1.3, NT4,Oracle 8i. Here is my problem: I have three EJBs which are being deployed: jamalcontroller, jamal, jamalDAO jamalcontroller is a statefull session bean which calls jamal also a stateful session bean. EJB jamal calls jamalDAO which is CM

[JBoss-user] Naming datasource

2001-07-02 Thread Gregor Rayman
Hi all, I try to refactor a two tier application and as the first step I want to move the database access to stateless session beans. So I've created a datasource called "java:/OracleDB" in JBoss and I want to access it through the name "java:comp/env/MyDB" from the bean's methods. Unfortuna

Re: [JBoss-user] jBoss-Jetty RC5 Still Getting NULL NULL NULL

2001-07-02 Thread Julian Gosnell
[EMAIL PROTECTED] wrote:   Me too.  Even if I just let it sit there and do nothing, every so often I see the NULL NULL NULL msg. Kind of a nuisance, but doesn't seem to hurt anything. Robert Price epixtech, inc. (801) 223-5954 [EMAIL PROTECTED] There will be a 2.4.0BETA based release available on

[JBoss-user] xxx is NOT authorized, requiredRoles=[xxx]

2001-07-02 Thread awc
I run Jboss-2.2.2-Tomcat-3.2.2 combo. I do have user(saman) set up to access certain methods and beans. Still I get lots of these lines. [EmbeddedTomcatSX] User: johnH is authenticated [EmbeddedTomcatSX] User: johnH is authorized [EmbeddedTomcatSX] User: johnH is NOT authorized, requiredRoles=[ad

Re: [JBoss-user] multiple concurent DB connections

2001-07-02 Thread Michael Jara
I've been trying to solve a problem similar to this. In my case I'm using Sybase and a database JAAS login module. If I leave my app client running for several hours, which periodically polls the server via a SOAP servlet (login-poll-logout), I eventually get an auth failed message followed by a

RE: [JBoss-user] Problems deploying EARs with JSPs under JBoss/Jetty

2001-07-02 Thread Torsten Terp
Hi, Sorry for not replying to this the first time you mentioned this problem, but it just hit me that i saw the same thing after trying the JBoss-2.2.2_Jetty-3.1.RC5-5 (and/or -6) release I am currently running on the -4 release and i tried the -5 and -6 trying to determine some other bug

[JBoss-user] Re: ClassCastException getting home interface from Client - SOLVED

2001-07-02 Thread Nordahl, David C
I solved the problem by jaring the interfaces on the ejb side and adding them to the client's classpath. So I think it either one of two things: 1. The classes on the ejb side had changed but the interface classes on the client side had not been updated. 2. The interface files on the client side

RE: [JBoss-user] JAAS Security question - Getting pricipaldata...

2001-07-02 Thread Torsten Terp
Hi, Thanks for replying... > This thema is in deed very confusing. Here my 2 cents > ( though I use it with tomcat ) lol, glad to hear that, im going nuts here :-) > To be able to verify user in ejb, you need to set > security context in bean descriptor > ( jboss.xml ) Did that, seems to wo

Re: [JBoss-user] jBoss-Jetty RC5 Still Getting NULL NULL NULL

2001-07-02 Thread R . Price
Me too.  Even if I just let it sit there and do nothing, every so often I see the NULL NULL NULL msg. Kind of a nuisance, but doesn't seem to hurt anything. Robert Price epixtech, inc. (801) 223-5954 [EMAIL PROTECTED]

RE: [JBoss-user] JAAS Security question - Getting pricipaldata...

2001-07-02 Thread Torsten Terp
Hi, Thanks for replying Are you saying that the session should have attributes j_username ans j_password? Doing a session.getAttributeNames() reveals none?! I have also tried HttpSevletRequest.getRemoteUser() and HttpSevletRequest.getUserPrincipal() both return null !? Also, trying a session.

[JBoss-user] jBoss-Jetty RC5 Still Getting NULL NULL NULL

2001-07-02 Thread Monica, Charles
All; I am still getting the null null null on the latest JBoss-Jetty RC5 release (dated 6-29-01): ie. JBoss-2.2.2_Jetty-3.1.RC5.zip Environment: JDK 1.3 Windows 98 4.1, x86 JBoss 2.2.2 Jetty-3.1.RC5 Stack Trace: [Jet

Re: [JBoss-user] Problems deploying EARs with JSPs under JBoss/Jetty

2001-07-02 Thread Julian Gosnell
I've messed around a little with Jetty and JSPs : These are things I would try : 1. Update to the latest JBoss-Jetty - Scott will be putting it on the binaries page soon - if you are in a hurry try : http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/~checkout~/jboss/binaries/JBoss-2.4.0BETA_Jetty-

[JBoss-user] Problems deploying EARs with JSPs under JBoss/Jetty

2001-07-02 Thread bcd
I am having great trouble getting JBoss/Jetty to treat my JSPs as JSPs/Servlets. It just treats them as if they were petty HTML pages. I put the JSPs inside a WAR in the EAR, stick in an application.xml in the EAR, and put the whole shebang into the jboss/deploy directory. It sort of deploys and

Re: [JBoss-user] I can't run jboss with the jdk1.2.2

2001-07-02 Thread bcd
On Mon, Jul 02, 2001 at 06:31:05PM +0100, Luis Medalhas wrote: > Hi, > > I can't run the jboss with jdk1.2.2, i've tried to run on Tru64 Unix and > on Windows 2000. The docs say it doesn't work on jdk1.2.2. http://jboss.org/documentation/HTML/ch01.html towards the bottom of the page. Cheers

Re: [JBoss-user] ClassCastException getting home interface from Client

2001-07-02 Thread David Ward
Replace this: UpdateHome updateHome = (UpdateHome)ref; With this: UpdateHome updateHome = (UpdateHome)javax.rmi.PortableRemoteObject.narrow(ref, UpdateHome.class); Not sure if this is your problem, but you should do it to be more correct. Also, *IF* you're going to hardcode thos

Re: [JBoss-user] connectin two jboss server

2001-07-02 Thread Burkhard Vogel
Hi, try stating exact problem, stack-trace, OS version, JBoss version, JDK version, usually you need to put Givers Home and Remote-Interface into Callers jar. Burkhard - Original Message - From: "Jboss" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 02, 2001 2:17 PM Subject

Re: [JBoss-user] PortableRemoteObject.narrow

2001-07-02 Thread Christine
hi, Danch I set the environment variable PATH = c:\jdk1.3\bin and JAVA_HOME = c:\jdk1.3 is it right? Even I put classpath c:\jdk1.3\jre\lib\rt.jar, i am getting exception. Can you please tell me what is the right setting I should use? Thank you very much. Christine "danch (Dan Christopherson)"

[JBoss-user] ClassCastException getting home interface from Client

2001-07-02 Thread Nordahl, David C
I have two client classes using the same classpath, but one gets an error trying to get the home interface. Here is the code: System.setProperty("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory"); System.setProperty("java.naming.provider.url", "localhost:10

RE: [JBoss-user] Problem with compiling CVS

2001-07-02 Thread VASQUEZ_JASON
Marc, Re: HTML mail all you had to do was ask nicely... :) Re: Compiling Typing while I do this... 1. Download jboss-cvs.zip from jboss.org 2. jar xvf jboss-cvs.zip 3. echo $CLASSPATH : 4. cd jboss/src/build 5. sh build.sh 6. everything builds fine...today. I dug around f

[JBoss-user] JBoss-2.2.2/Tomcat-3.2.2 configuration

2001-07-02 Thread Tom Coleman
Are there any tricks to configuring the integrated JBoss-2.2.2/Tomcat distribution? My RH Linux 6.2/jdk 1.3 box worked fine with pre-2.1. Everything seems to start up OK when I invoke run_with_tomcat.sh, but things fall apart when I try to access :8080/jboss. $TOMCAT_HOME and SERVLETAPI_HOM

RE: [JBoss-user] Problem with compiling CVS

2001-07-02 Thread marc fleury
no html PLEASE! I was going to answer but the html just pisses me off! marcf PS: just so that you know, it DOES compile :) yes, *you* are doing something wrong PS2: with about 1800 cvs commits in the last week, yes we DO notice when it's dead -Original Message- From: [EMAIL PROTECTED]

[JBoss-user] Problem with compiling CVS

2001-07-02 Thread VASQUEZ_JASON
I hadn't seen any discussion on this list, but I wondered if anybody had noticed that JBoss snapshots from CVS haven't been able to compile for the last week or so?  I've fixed the 2 offending classes up so that it will work, but I'm not confident that they are the real solution Let me know i

[JBoss-user] I can't run jboss with the jdk1.2.2

2001-07-02 Thread Luis Medalhas
Hi, I can't run the jboss with jdk1.2.2, i've tried to run on Tru64 Unix and on Windows 2000. On Windows 2000 it's not a problem because it runs fine on the jdk1.3, but on the Tru64 i crashes on the XML parser (i think), the error messages are described below. Error Message on any JVM 1.2 jav

[JBoss-user] choose your error

2001-07-02 Thread Graham . Forte
I am reinstalling jboss/tomcat for the 3 rd time, I get two errors when I use run_with_tomcat.sh: First I get the ever popular UnknownHost then I fix all the references to sun.com dtd and copy a local vesion of this then point to local. I have read a bunch of posts pertaining to this error, and no

[JBoss-user] multiple concurent DB connections

2001-07-02 Thread vcp
Hi, At the very beginning - sorry for the size of this message but I wanted to present all things I did to solve the problem I met. >From some time I've been trying to solve the problem with DB connection and more precisly with multiple concurent DB connections. So far I've tried both JDBC pool

Re: [JBoss-user] Postgres commit problem

2001-07-02 Thread Alex . Devine
I also had the same problem with transactions being left open and not committing when using BMP with MSSQLServer. Can anyone comment on the state of this bug? I didn't get any responses to a previous posting, and wanted to see how common this problem actually is. Can anyone else suggest something

Re: [JBoss-user] Boot script

2001-07-02 Thread Richard Bottoms
At 08:47 AM 7/2/01 -0400, you wrote: >Asher, > >The attached is what I use for convenience on RedHat 7.1, but admittedly >haven't tried to put it in a run-level directory yet to see where it >works best. That's really my problem. I've tried starting from rc.local, rc3.d but no dice. r.b.

Re: [JBoss-user] Postgres commit problem

2001-07-02 Thread Hermann RANGAMANA
Close the connection after each transaction... that was the only workaround i was suggested to use ... and it works fine! However, i've not tested yet the impact of opening/closing the connection for each transaction ... --hermann - Original Message - From: "Jure Lodrant" <[EMAIL PROTECT

[JBoss-user] ASP Model for J2EE?

2001-07-02 Thread Jeff Campbell
I'm stumped...   What is the best approach for using J2EE in an Application Service Provider (ASP) scenario?   Info:  I have a J2EE ear file that I deploy on my JBOSS J2EE container.  I would like to have multiple companies use this application, without sharing data.   Here is a list of possi

Re: [JBoss-user] Problem while starting JBossMQ

2001-07-02 Thread Benoit Rolland
I suggest you to try the Jboss version not including tomcat, (i didn't had problem to start it) if it works, compare configurations files... of both version if you need tomcat. I personly have serious problems using temporaryTopics and temporaryQueues (not in any EJB) with jbossMQ . Also my cod

Re: [JBoss-user] ejb's not deploying

2001-07-02 Thread Scott Van Kirk
Hi Rui, I look forward to seeing it. I have a question about the game. What happens when a person is disconnected from a game? Do you just give them their money back? Do you continue playing for them? Finally, what's the price for your bingo game? -Scott At 02:19 PM 7/1/2001 -0500, you w

[JBoss-user] RE: Casting home interface to correct bean type (David Ward)

2001-07-02 Thread Chris Adams
Thanks all, You have solved my problem. I wasn't 100% sure you could use the same home and remote interfaces for different beans. I tried making it too complicated. Cheers for all your help. Chris Adams == Regus Computer Services Ltd Direct Line: 01279 712010 E

Re: [JBoss-user] Design question

2001-07-02 Thread Adam Young
If you want to make it read only, will JBoss allow you to write the remote interface such that it only has getters?The M-H book suggests not even exposing the remote interface for enitity beans. Certainly it would be preferable to have on the getters available to most clients. [EMAIL PR

Re: [JBoss-user] Casting home interface to correct bean type

2001-07-02 Thread David Ward
Can you copy/paste the WebLogic complaint into an email back to this list? I'm curious; I don't remember that in the spec and even if it was, would argue why they would allow free-form text in the ejb-jar.xml for and if we couldn't re-use valid interfaces in them. What exact version (and

RE: [JBoss-user] Opta2000 for MS SQLServer2000 - com.inet.tds.XDataSource

2001-07-02 Thread Jord Sonneveld
Title: RE: [JBoss-user] Opta2000 for MS SQLServer2000 - com.inet.tds.XDataSource I have noticed that, for Oracle, I get this XAER_NOTA exception as well. It seems that oracle requires the Xid class to have a global id byte array between 2-64 (Xid.MAXGTRIDSIZE) bytes, and a branch qualifier by

[JBoss-user] JUnit swingui TestRunner and Class Loader

2001-07-02 Thread Richard Doust
Hi. Using JUnit's junit.swingui.TestRunner to run client tests that attempt to test deployed EJBs. I always fail trying to narrow the object I get from looking up the bean's home because the class isn't found. If I use the junit.textui.TestRunner instead, calling it from main method of test case c

RE: [JBoss-user] Casting home interface to correct bean type

2001-07-02 Thread WMckean
That's an interesting topic, if I might butt in :) The technique you mentioned below works great in jBoss, but when I tried to port the same code to another server running Darth WebLogic, it complained about some obscure j2ee specification requiring the home and remote interfaces being *unique* o

RE: [JBoss-user] Segmentation Fault

2001-07-02 Thread Schouten, Andreas
Try ibm's jdk. We had also segmentation faults with red hat and sun jdk but with ibm jdk it works for us. > -Original Message- > From: Kimball Larsen [SMTP:[EMAIL PROTECTED]] > Sent: 02 July 2001 16:58 > To: [EMAIL PROTECTED] > Subject: [JBoss-user] Segmentation Fault > > I keep g

[JBoss-user] RE: Casting home interface to correct beean type

2001-07-02 Thread Chris Adams
Hi, Thanks for the reply. I have tried that to no success. I create the following interfaces IFoomPK - Interface for all Form PK's IForm - Interface for standard Form methods IEJBForm - Interface For all Home Interfaces IFormHome - Interface for all form home interfaces The Cid125 are the act

RE: [JBoss-user] Possible places the Jboss.xml ?

2001-07-02 Thread Pelle Poluha
It must be in each of the jar. /Pelle Poluha > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of > [EMAIL PROTECTED] > Sent: den 2 juli 2001 16:30 > To: [EMAIL PROTECTED] > Subject: [JBoss-user] Possible places the Jboss.xml ? > > > Hi, > > Where it

Re: [JBoss-user] Possible places the Jboss.xml ?

2001-07-02 Thread David Ward
Correct usage: jboss.xml's should only be in the META-INF directories of the EJB's jar files. The only files I have in my ear are jar(s), war(s), and an application.xml file. -- [EMAIL PROTECTED] wrote: > Hi, > > Where it should put the jboss.xml in case of having .ear file ? > If it exis

[JBoss-user] Segmentation Fault

2001-07-02 Thread Kimball Larsen
I keep getting a segmentation fault (core dump) when I start up jBoss with anything in it's deploy directory. Here is my system setup: Linux - RedHat 7.1 Sun java - java version "1.3.1" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24) Java HotSpot(TM) Client VM (build 1.3.1-b

Re: [JBoss-user] Casting home interface to correct bean type

2001-07-02 Thread David Ward
Chris, You shouldn't have to cast your home interfaces; in fact, you can share the same remote and home interface for all your "Form" EJB implementations. Try this, for example: // interfaces/beans public interface Form extends EJBObject; public interface FormHome extends EJBHome; public cla

Re: [JBoss-user] diectory checksum error

2001-07-02 Thread Sebastien Alborini
[EMAIL PROTECTED] wrote: > > I originally did an install of JBoss-2.2.2_Tomcat-3.2.2, while after I did > tar xvf I got the usual output lines but at the end I got this error: > tar : directory checksum error > On my first install I ignored this. I ended up getting a null > pointerException, so I

Re: Re: [JBoss-user] Casting home interface to correct bean type

2001-07-02 Thread tim . haley
I haven't done this yet, but eventually I will have to. My intended solution was to have a single Home/Remote Interface pair and just provide multiple implementations of the bean class. Each bean would be registered with a separate name in JNDI and the client would just look up the version of

RE: [JBoss-user] JBoss-MBean-client to an entity-bean.

2001-07-02 Thread Tore B. Pedersen
Hi, we have already tried that, but we get the same error-message :( - Tore B. Pedersen Eye on Business AS > From: "Sternagel Annegret (PN-SYS/DAS)" > <[EMAIL PROTECTED]> > To: "'[EMAIL PROTECTED]'" ><[EMAIL PROTECTED]> > Subject: RE: [JBoss-user] JBoss-MBean-client to

[JBoss-user] Problem while starting JBossMQ

2001-07-02 Thread Borice ARCIER
Hi, Did anybody have problem while starting the JBoss server ? It fails while starting JBossMQ. Here is the log file:   [Configuration] Port set to 8083 in DefaultDomain:service=Webserver [Configuration] Port set to 1099 in DefaultDomain:service=Naming [Configuration] TransactionTimeout

Re: [JBoss-user] Casting home interface to correct bean type

2001-07-02 Thread Alex . Devine
>I've tried creating standard interfaces, which all form beans could inheret >from, but came up with all sort of problems. What are your "all sorts of problems"? This seems like a standard way to do it. Each of the bean's home and remote interfaces would inherit from some standard base interface

[JBoss-user] diectory checksum error

2001-07-02 Thread Graham . Forte
I originally did an install of JBoss-2.2.2_Tomcat-3.2.2, while after I did tar xvf I got the usual output lines but at the end I got this error: tar : directory checksum error On my first install I ignored this. I ended up getting a null pointerException, so I removed the jboss and tomcat director

Re: [JBoss-user] Casting home interface to correct bean type

2001-07-02 Thread Burkhard Vogel
Use interfaces which both (client and bean use as home and remote) Burkhard - Original Message - From: "Chris Adams" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 02, 2001 3:17 PM Subject: [JBoss-user] Casting home interface to correct bean type > Hi, > > Need some help

[JBoss-user] Design question

2001-07-02 Thread VASQUEZ_JASON
All, We often think of using Entity beans to represent rows or entities in a database, but not much else.  Is it a good idea to use an entity bean to represent entries in an LDAP directory?  I was thinking aboutu throwing together a BMP entity bean to do this.  It would always be in a read-only m

RE: [JBoss-user] Problems with Sybase jconn2.jar driver, java.lang.NullPointerException

2001-07-02 Thread Schouten, Andreas
Try to connect the db from a simple java client first. You will receive better error messages. i.e. public static void main(String _[]) { log("Downloading the driver..."); try { Class.forName("com.sybase.jdbc2.jdbc.SybDriver"); connection = DriverManager.getCon

[JBoss-user] Casting home interface to correct bean type

2001-07-02 Thread Chris Adams
Hi, Need some help with remote casting objects when using ejb's I'm going to have a set of bean which each represent a form. Each for has the same set of methods, but they need to be independent ejb's because each has different details. The client is a servlet, which will receive a parameter th

Re: [JBoss-user] RMI/IIOP warning

2001-07-02 Thread François Charoy
I have exactly the same kind of problem and arrived at the same conclusion. I can't see what can be wrong with these definitions. I seems to be important as I have found somewhere in the list archive that it may produce some thread leak and this is exactly what I have. When I run a set of tests, t

[JBoss-user] Problems with Sybase jconn2.jar driver, java.lang.NullPointerException

2001-07-02 Thread Mina vain
Hi all! I have some problems with sybase jconn2.jar driver. I have managed to install driver but something is still wrong. When JBOSS is starting, following informamation is printed to screen: [SybaseDS] Initializing [SybaseDS] Initialized [DefaultDS] Initializing [DefaultDS] Initialized [JDBC

Re: [JBoss-user] JBoss - Tomcat v Resin

2001-07-02 Thread Julian Gosnell
Since we are comparing Servlet Containers, and I've never used Resin, I was wondering if anyone on the list had used both Resin and Jetty-3 and could give us some feedback about percieved speeds... Thanks, Jules --- Kemp Randy-W18971 <[EMAIL PROTECTED]> wrote: > This is a loaded question. F

RE: [JBoss-user] ANT

2001-07-02 Thread Pelle Poluha
Here it is. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf

Re: [JBoss-user] jBoss 2.2.2 does not set the encoding format for IE5.5

2001-07-02 Thread David Ward
Penn, 1) Does it work for Netscape (or some other browser than IE)? If it does, it's not a server-side problem. 2) Do you have the proper fonts installed? (Remember difference between traditional and simplified Chinese.) 3) In a past project I did with SSL Apache hitting WebLogic 5.1 sp6, w

[JBoss-user] Lookup problem

2001-07-02 Thread Devraj Mukherjee
Hello All, I have an ejb-jar.xml file in my archive which defines a session bean as follows Models User Management UserManagerBean freeforums.user.UserManagerHome freeforums.user.UserManager freeforums.user.UserManagerBean Stateless Contain

RE: [JBoss-user] ONLINE FORUM AVAILABLE

2001-07-02 Thread tim . haley
marcf wrote: > yep we will put it on 80 when we go final, > BUT USE IT PEOPLE ARE NOT BANGING ON IT AS MUCH AS WE WANTED > COME ON Until it gets put on port 80 those of us who are behind a firewall still can't _bang_ on it at all! When will it be moved over?

[JBoss-user] JBoss - Tomcat v Resin

2001-07-02 Thread Kemp Randy-W18971
This is a loaded question. For the most part, Tomcat started out as a gift from Sun to Apache. From what I read, the code contained a considerable amount of bugs, and caused the project to have less then admirable reviews. However, the Apache Tomcat group got the code in shape, and with the 3.2.

  1   2   >