Re: [JBoss-user] UserTransaction in servlets using EJB

2001-07-16 Thread Tomasz Skutnik
Ole Husgaard wrote: Hi, [Warning: I know about transactions, but very little about web components.] From JBoss' point of view, a servlet is just another client. I would advice against demarcating transactions from the client. Consider using session beans instead. For standalone

[JBoss-user] CosTransactions.Current

2001-07-16 Thread Axel . Spieth
Hello, in the Borland Applicationserver i can get the org.omg.CosTransactions.Current doing the following: org.omg.CosTransactions.Current current; // get a JNDI reference javax.naming.Context context = new javax.naming.InitialContext(); // use this to get an ORB reference

[JBoss-user] pass by reference

2001-07-16 Thread Ivan Novick
Hi, Can an object be passed by reference to an EJB, filled with data, and than have that data analyzed in the function that called the EJB? The problem is, I need to return multiple values from the function. So I setup an EJB method like such boolean GetUserData(String username, UserData ud)

RE: [JBoss-user] Problem with JBoss-2.4.0_Tomcat-3.2.2 and Apache SOAP 2.2

2001-07-16 Thread Saint-Martin Cecile
The class ce.ready2ware.authentication.AuthenticationService must be in Tomcat classpath. SAINT-MARTIN Cecile [EMAIL PROTECTED] -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]De la part de Daryl Beattie Envoyé : vendredi 13 juillet 2001 17:31 À : [EMAIL

RE: [JBoss-user] CosTransactions.Current

2001-07-16 Thread Schouten, Andreas
Hello Alex, there is no CORBA support in jBoss build in by now. We use a simple MBeans to create a name service for CORBA services. If You are intrested I'll mail the code. Andreas -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] Sent: 16 July 2001 08:17 To:

Re: [JBoss-user] cloudscape only

2001-07-16 Thread ralph
Thanks. Very important tip. ( I'm sure it's in the manual. ) However, I still have the same problem which I tried to solve this way: I run a jboss client application which reads some Cloudscape tables and then writes a record to another table. The reading works okay. The fact that running the

Re: [JBoss-user] Setting Accessing Resource Files in JBoss

2001-07-16 Thread Lorenzo Resta
Hi Jorge, Your class is probably not finding the resource. The directory "/config" has also to exist in the jar. It really depends from which class you call the getClass().getResourceAsStream() method. The classloader tries to load relative or absolute (depending if you add a "/" or not in

[JBoss-user] XATopicConnectionFactory not bound error

2001-07-16 Thread Rajesh Vilasrao Bhujbal
Hi, I tried example given in JBoss manual: MDB . When jar file is deployed on jboss it gives error: [Container factory] Deploying MDB[Container factory]Serious error in init: javax.naming.NameNotFoundException: XATopicConnectionFactory not bound[Container factory]java.lang.Exception:

RE: [JBoss-user] XATopicConnectionFactory not bound error

2001-07-16 Thread tamir korem (Kamoon IL)
Hi , You need to add jms.jar to your CLASSPATH It's in : Jboss_home\lib\ext\ and it containsjavax.jms.XATopicConnectionFactory.class Tamir Korem Developer http://www.kamoon.com -Original Message-From: Rajesh

Re: [JBoss-user] pass by reference

2001-07-16 Thread Ole Husgaard
Hi, Ivan Novick wrote: Can an object be passed by reference to an EJB, filled with data, and than have that data analyzed in the function that called the EJB? The problem is, I need to return multiple values from the function. So I setup an EJB method like such boolean

RE: [JBoss-user] XATopicConnectionFactory not bound error

2001-07-16 Thread Rajesh Vilasrao Bhujbal
Hi Tamir, I have jms.jar in classapth, still it gives error. I think there must some other configuration needed. Rajesh -Original Message-From: tamir korem (Kamoon IL) [mailto:[EMAIL PROTECTED]]Sent: Monday, July 16, 2001 3:14 PMTo: '[EMAIL PROTECTED]'Subject: RE:

Re: [JBoss-user] CosTransactions.Current

2001-07-16 Thread Ole Husgaard
Hi, [EMAIL PROTECTED] wrote: Hello, in the Borland Applicationserver i can get the org.omg.CosTransactions.Current doing the following: [snip] Is there a way to do that in JBoss ? IMHO that would be a bad idea, as: - JBoss is not dependent on any particular transaction service

[JBoss-user] How Do I Nominate 2 cmp-fields as Primary Key?

2001-07-16 Thread Anthony IVETAC
I have an entity bean whose semantics require that a subset of it's attributes are used as the primary key, rather than just one attribute. It has 4 attributes, 2 of which I need to constitute the primary key. The problem is that I don't know hoe to declare more than one cmp-field as the

Re: [JBoss-user] How Do I Nominate 2 cmp-fields as Primary Key?

2001-07-16 Thread Nicolai P Guba
Anthony IVETAC [EMAIL PROTECTED] writes: I have an entity bean whose semantics require that a subset of it's attributes are used as the primary key, rather than just one attribute. It has 4 attributes, 2 of which I need to constitute the primary key. The problem is that I don't know hoe

[JBoss-user] EJX gives wrong values for java.sql.Timestamp

2001-07-16 Thread Nicolai P Guba
Using ejx that is distributed with Jboss 2.2.2 It gives me this typemapping for a TIMESTAMP value. mapping java-typejava.sql.TimeStamp/java-type jdbc-typeTIMESTAMP/jdbc-type sql-typeTIMESTAMP/sql-type /mapping Surely, this is horribly wrong.

Re: [JBoss-user] Jaws question - solution :)

2001-07-16 Thread Lachezar Dobrev
Hi. See the work-around lower: sorry miss send previuos message Hi all what write this select to JAWS? select max(col1) ... where col2=xxx I try: finder namefindByMaxCol/name queryMAX(col1) WHERE col2 = {0}/query FIRST: the above equals to: select * from

[JBoss-user] Oracle and BEA performance challenge

2001-07-16 Thread Vineet Bhatia
Would be interesting to see if JBoss would smoke their butts. http://www.theserverside.com/home/thread.jsp?thread_id=7826 - vineet ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] speaking of firewalls

2001-07-16 Thread Lars Bjønnes
Richard Bottoms [EMAIL PROTECTED] writes: I have an interesting problem. On one machine the Apache+Tomcat combo is working great with the fire located on the same machine. I hope you with 'fire' means firewall. :-) On machine #1 the tomcat site comes up with just the regular

RE: [JBoss-user] Problem with JBoss-2.4.0_Tomcat-3.2.2 and Apache SOAP 2.2

2001-07-16 Thread Claudia Pulgarin
I think your deployment descriptor describes the service as being on ce.ready2ware.authentication.AuthenticationService when in fact the class is in the package com.screamingmedia.ce.ready2ware.authentication.AuthenticationService cpp -Original Message- From: Saint-Martin Cecile

[JBoss-user] MDB - no consumers

2001-07-16 Thread Bill Steer
I'm trying to run the example MDB application from the JBoss web site with no changes in any of the critical areas (some name and text changes, but no structural changes), using JBoss 2.4.0BETA. It runs apparently without error, but the message isn't processed. The log file contains an entry

[JBoss-user] TRANSACTION ROLLBACK EXCEPTION - help wanted

2001-07-16 Thread Sanjeev.Srinivas
Mr. Burkhard thanks for the help, but i am still getting ROLLBACK EXCEPTION when using a finder method. i am using Integer as the primary key class and am not setting it to null anywhere in the bean class. also i am not setting any instance fields of the bean to null. sorry about the no.

[JBoss-user] JTS

2001-07-16 Thread Ampie Barnard
I read that JBoss does not support JTS (http://theserverside.com/reviews/thread.jsp?thread_id=2918) What are the implications: A.) Would I be able to do the following in the same transaction context when running in JBoss? 1.) Send a JMS message 2.) Change an EJB's state 3.) Update a table

[JBoss-user] JTS

2001-07-16 Thread Ampie Barnard
I read that JBoss does not support JTS (http://theserverside.com/reviews/thread.jsp?thread_id=2918) What are the implications: A.) Would I be able to do the following in the same transaction context when running in JBoss? 1.) Send a JMS message 2.) Change an EJB's state 3.) Update a table

[JBoss-user] RE: JBoss-user digest, Vol 1 #1129 - 1 msg

2001-07-16 Thread Sanjeev.Srinivas
Mr. Burkhard thanks for the help, but i am still getting ROLLBACK EXCEPTION when using a finder method. i am using Integer as the primary key class and am not setting it to null anywhere in the bean class. also i am not setting any instance fields of the bean to null. sorry about the no.

[JBoss-user] EJB spec and java.io restrictions

2001-07-16 Thread David Ward
I have an application that needs to convert, merge, and extract files of different formats. Because the files already reside on the server (and could often be large), and the manipulation tools I use are only on the server, I've created a File Manipulation API of Stateless Session Beans that

[JBoss-user] Session - Entity Beans binding

2001-07-16 Thread laurent . broudoux
Hi to all, i'm a newbye to J2EE deployment and i have some problems with session - entity beans bindings. i try to write a session bean which is using an enity bean packaged in a different jar archive. i have definied an ejb-ref in the deployement descriptor (ejb-jar) of my session bean

RE: [JBoss-user] EJB spec and java.io restrictions

2001-07-16 Thread Saint-Martin Cecile
We do files manipulation, and we know that it's prohibited in EJB spec, but it works with JBoss. However, we're conscious that it's a temporary solution. In a perfect world, files would be mapped with kind of entity bean, but they are not. So comes the problem of concurent access (especially with

[JBoss-user] B2B call inside ejbCreate

2001-07-16 Thread Marcel Schepers
Hello, Is it allowed to make a internal B2B call inside the ejbCreate method. I have a CMP entity bean whose primary key is a Long value. The new Long value is stored in a separate table with a separate entity bean. While creating the bean I would like to make a call to get the new primary key

Re: [JBoss-user] Entity and session bean

2001-07-16 Thread Dain Sundstrom
EJB 1.1 Spec Section 18.1.2 item 3: An enterprise bean must not use the java.io package to attempt to access files and directories in the file system. Your code will not run on any EJB server, and likely crash most EJB servers. -dain - Original Message - From: Saint-Martin Cecile

Re: [JBoss-user] EJB spec and java.io restrictions

2001-07-16 Thread Peter Wone
File I/O is discouraged purely because it is outside the scope of the transaction manager. It would be more accurate to say that file OUTPUT is discouraged. File input does not involves updates, and therefore cannot lead to update anomalies, obviating the concern. Read files to your heart's

[JBoss-user] Issue re invokers not bound

2001-07-16 Thread Lindsay Godfrey
Hi, Trying to get jBoss 2.2.2 running via VisualAge When deploying interest.jar I get a 'invokers not bound' error - any ideas would be appreciated I've imported the source and all the jar files under lib into VisualAge and the jBoss-client.jar from ./client and replaced ../.. or ../ with ./

Re: [JBoss-user] Session - Entity Beans binding

2001-07-16 Thread Hermann RANGAMANA
Add ejb-link tag your entity beanz name. --hermann - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 16, 2001 4:16 PM Subject: [JBoss-user] Session - Entity Beans binding Hi to all, i'm a newbye to J2EE deployment and i have some problems with

Re: [JBoss-user] Session - Entity Beans binding

2001-07-16 Thread laurent . broudoux
Well, ejb-link tag doesn't work because my session bean is package on a different jar archive than my entity bean ! Hermann RANGAMANA [EMAIL PROTECTED]@lists.sourceforge.net on 16/07/2001 17:17:06 Please respond to [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] To: [EMAIL

RE: [JBoss-user] Entity and session bean

2001-07-16 Thread Saint-Martin Cecile
That's another discussion, in fact JBoss support (for the moment?) files manipulation, and it doesn't crash. Try to imagine any other resource instead of files.. SAINT-MARTIN Cecile [EMAIL PROTECTED] -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]De la part de

Re: [JBoss-user] EJX gives wrong values for java.sql.Timestamp

2001-07-16 Thread Burkhard Vogel
Hi, why is this wrong? I think this depends on the type of DB and the purpose. if you don't like it, change it! its anly an mapping! Burkhard - Original Message - From: Nicolai P Guba [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 16, 2001 12:05 PM Subject: [JBoss-user] EJX

Re: [JBoss-user] Session - Entity Beans binding

2001-07-16 Thread laurent . broudoux
ejb-link doesn't work because my session and my entity beans are not packaged in the same jar. I've got a new exception thrown when doing the lookup(): javax.naming.CommunicationException. Root exception is [SphfGeneratorBean] java.lang.ClassNotFoundException:

Re: [JBoss-user] cloudscape only

2001-07-16 Thread Burkhard Vogel
Hi, check your transaction attribute for your bean methods, have you assigned one? what is it? (Should read required for *) Burkhard - Original Message - From: ralph [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 16, 2001 10:33 AM Subject: Re: [JBoss-user] cloudscape only

Re: [JBoss-user] speaking of firewalls

2001-07-16 Thread Richard Bottoms
On machine #1 the tomcat site comes up with just the regular http://www.site.com URL. On machine #2, that site only comes up if http://www.site.com:8080 is specified. I found the solution. This link to an online forum has the instructions for using virtual servers with mod_jk

Re: [JBoss-user] RE: TRANSACTION ROLLBACK EXCEPTION:Load failed

2001-07-16 Thread Burkhard Vogel
Hi, first, posting the exception is fine, no doupt even if the exception has 100 lines, but posting the whole digest??? It's hard to tell what happens, you need to provide whether you use BMP or CMP, if BMP your ejbLoad code (which fails) if you use CMP give the piece of code that fails, the

Re: [JBoss-user] Setting Accessing Resource Files in JBoss

2001-07-16 Thread Burkhard Vogel
Yup, thanks for correction. Burkhard - Original Message - From: Lorenzo Resta [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 16, 2001 11:12 AM Subject: Re: [JBoss-user] Setting Accessing Resource Files in JBoss Hi Burkard, As far as i know you should not access files

RE: [JBoss-user] EJB spec and java.io restrictions

2001-07-16 Thread Brook Stevens
I believe the issue is that the if the container is not managing the IO, then it cannot garentee that when it is shutdown that the IO process terminates gracefully. I don't think there is anything a container could really do to prevent you from useing IO, but if the app is shutdown then in

Re: [JBoss-user] pass by reference

2001-07-16 Thread Michael Jara
The only way to pass something by reference, sort of, in EJB is to use a remote object. You create an interface for your object which implements Remote, use that as a parameter in the EJB, and then send int an instance of that remote object's implementation. This way, the actual object will sit

Re: [JBoss-user] Entity and session bean

2001-07-16 Thread Fred Loney
Nothing prevents an EJB container from allowing multiple clients to access the same entity object using multiple instances. If the scenario described is two clients creating EJB instances that access the same file, then conflicts are possible. A transaction delimits serializable db operations

Re: [JBoss-user] SB timeout - passivation - activation failure

2001-07-16 Thread Michael Jara
Passivation should definitely not kill a stateful session bean. (Does JBoss do this? So far, I haven't deployed anything in JBoss that is idle for that long a period.) However, I wouldn't be surprised if JBoss periodically aged-out unused stateful session beans. I think that most good app

Re: [JBoss-user] EJB spec and java.io restrictions

2001-07-16 Thread David Ward
The container can prevent you from using IO if it defines a server security policy file that denies java.io.FilePermission and you don't have control over changing it (ie: you're not the admin). Concerning shutting down the EJBs gracefully, - I dunno. Maybe it's a container thing per

RE: [JBoss-user] RMI Class Loader

2001-07-16 Thread Sacha Labourey
Hello, Have you included your entity bean remote/home interfaces (i.e. client needed interfaces) in your session bean package (i.e. the other package, the client)? Cheers, Sacha -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL

[JBoss-user] Home Interface remove() methods

2001-07-16 Thread Larry Kim
hello, the javax.ejb.EJBHome interface has methods: ... void remove(Handle handle) //Remove an EJB object identified by its handle. void remove(java.lang.Object primaryKey) //Remove an EJB object identified by its primary key. ... however upon deploying my bean, i get

Re: [JBoss-user] EJX gives wrong values for java.sql.Timestamp

2001-07-16 Thread Nicolai P Guba
Burkhard Vogel [EMAIL PROTECTED] writes: Hi, why is this wrong? I think this depends on the type of DB and the purpose. if you don't like it, change it! its anly an mapping! Burkhard Note that it says java.sql.TimeStamp and not java.sql.Timestamp. This never works. Of course the mapping

[JBoss-user] JAAS: How to provide anonymous access.

2001-07-16 Thread Ferguson, Doug
Hi, I figured out that I can change the behavior for a specific bean using role-mapping-managerauthentication-module However, how do I provide unrestricted access? Do I have to code a LoginModule that always allows acces? If this is the case does anybody know what methods I have to overide? Will

[JBoss-user] EJB 2.0 Home Methods

2001-07-16 Thread C Murphy @ Intechtual
Hello, I have a possibly silly question. How are EJB 2.0 Home Methods implemented in JBoss? When a home method gets called is a random instance from the cache selected and it's remote interface returned just for that method call? I'm trying to determine the overhead of using them, as well as

[JBoss-user] MS SQL JBOSS QUESTION - help needed

2001-07-16 Thread Sanjeev.Srinivas
my question if i have a column which is an identity (which can be specified with ms sql, and means that this column cannot be updated by any other applications other than ms sql and is unique, usually used to generate unique id's). i have a CMP which has a field which maps to this column. if i

[JBoss-user] MS SQL JBOSS QUESTION - help needed

2001-07-16 Thread Sanjeev.Srinivas
Mr. Burkhard Vogel, my question if i have a column which is an identity (which can be specified with ms sql, and means that this column cannot be updated by any other applications other than ms sql and is unique, usually used to generate unique id's). i have a CMP which has a field which maps to

RE: [JBoss-user] SB timeout - passivation - activation failure

2001-07-16 Thread Bordet, Simone
Hi ! Passivation should definitely not kill a stateful session bean. (Does JBoss do this? No. JBoss doesn't do this. So far, I haven't deployed anything in JBoss that is idle for that long a period.) However, I wouldn't be surprised if JBoss periodically aged-out unused stateful

[JBoss-user] SonicMQ and JBoss

2001-07-16 Thread Crothers.Dean
Hi, I would be interested to hear if anybody has integrated SonicMQ with JBoss - so that SonicMQ is the MOM provider for message driven beans? thanks, Dean ___ JBoss-user mailing list [EMAIL PROTECTED]

Re: [JBoss-user] Home Interface remove() methods

2001-07-16 Thread Nicolai P Guba
Larry Kim [EMAIL PROTECTED] writes: hello, the javax.ejb.EJBHome interface has methods: ... void remove(Handle handle)=20 //Remove an EJB object identified by its handle.=20 void remove(java.lang.Object primaryKey)=20 //Remove an EJB object identified by its

[JBoss-user] Jboss and sapdb

2001-07-16 Thread Kemp Randy-W18971
Is anyone using Jboss with the database sapdb at www.sapdb.org? If so, how do you find the combination? ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

[JBoss-user] Finder Exception not being thrown with a findBy that returns a Collection

2001-07-16 Thread Kevin Meldorf (NBK)
When I do a findBy that will return a collection in CMP, no FinderException is thrown, if no entities are found. Is this part of the EJB spec or is this a bug? I am using jboss 2.2 with MS SQL Server 2000 on Windows 2000 using the Opta 2000 inet driver Thanks, Kevin Meldorf Systems Analyst

Re: [JBoss-user] pass by reference

2001-07-16 Thread Ivan Novick
Thanks Ole and Michael, will return the object with all the data. Ivan - Original Message - From: Ole Husgaard [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 16, 2001 3:27 AM Subject: Re: [JBoss-user] pass by reference Hi, Ivan Novick wrote: Can an object be passed by

Re: [JBoss-user] Setting Accessing Resource Files in JBoss

2001-07-16 Thread Ivan Novick
Isa resource preferred to a property file, or are they the same thing? Ivan - Original Message - From: Lorenzo Resta To: [EMAIL PROTECTED] Sent: Monday, July 16, 2001 2:12 AM Subject: Re: [JBoss-user] Setting Accessing Resource Files in JBoss Hi Burkard,As

[JBoss-user] JBoss use of ejb2.0.jar vs. ejb.jar

2001-07-16 Thread tim . haley
This seems to be a configuration control issue for JBoss development: When should each of the subj jar files be used? ejb.jar exists in 2 locations in the JBoss-2.2.2 directory structure: - %JBOSS_HOME%\client\ - %JBOSS_HOME%\lib\ext\ ejb2.0.jar exists in: - %JBOSS_HOME%\lib\ext\ 1)

RE: [JBoss-user] MS SQL JBOSS QUESTION - help needed

2001-07-16 Thread Maraya Michael
I believe CMPs generate their own primary keys and include them in the INSERT statements that are generated. If you want to keep your IDENTITY column, you will have to defer creation of the primary key to the database as IDENTITY column values cannot be specified unless IDENTITY INSERT

Re: [JBoss-user] Finder Exception not being thrown with a findBy that returns a Co llection

2001-07-16 Thread danch (Dan Christopherson)
That's the spec. finders returning collections return an emtpy collection rather than throw FinderException. Surprised me too. -danch Kevin Meldorf (NBK) wrote: When I do a findBy that will return a collection in CMP, no FinderException is thrown, if no entities are found. Is this part of

[JBoss-user] JBoss Remote Client

2001-07-16 Thread Jaime Gomez
It's posibble developer application Client/Server for JBoss I stay developer one simple aplication , but only connect in the local machine where run JBoss. Anybody could get a simple example of Client/Server that run over 2 PCs Please I need help my jndi.properties is:

Re: [JBoss-user] SB timeout - passivation - activation failure

2001-07-16 Thread Mike Finn
Okay, maybe I'm being daft - but I just don't get it. from the manual max-bean-age specifies the max age a bean can have before being passivated by the overager ... the resizer-period specifies the period of the resizer, that is a periodic task that runs ... Purpose of this

[JBoss-user] MS SQL and JBOSS problem - urgent help needed

2001-07-16 Thread Sanjeev.Srinivas
Can somebody please give me an example of BMP whose primary key is set to be identity(MS sql property) and also one of its fields is a foreign key to a table whose primary key is also identity. i am having problems with ejbload since it is not allowing me to update the foreign key since it it an

Re: [JBoss-user] dbase is acting way too slow

2001-07-16 Thread G.L. Grobe
Definately getting closer. I was editing the wrong set of files. Thnxs. Now it hangs w/ the following output at the last line. Don't know why it see's InstantDB still. jboss-auto.jcml has been removed also (but it was basically empty, so don't understand that). My main question is the correct

Re: [JBoss-user] dbase is acting way too slow

2001-07-16 Thread G.L. Grobe
Now I am getting confused again. I do not see any jboss.jcml files in ~/tomcat/conf/default nor do I see anywheres in the docs that state this. I had put my ~/jboss/conf/default/jboss.jcml into ~/tomcat/conf/default, and got those previous results, and did not delete my old

Re: [JBoss-user] dbase is acting way too slow

2001-07-16 Thread Richard Bottoms
At 06:45 PM 7/16/01 -0500, you wrote: Now I am getting confused again. I do not see any jboss.jcml files in ~/tomcat/conf/default nor do I see anywheres in the docs that state this. That's /jboss/conf/tomcat/jboss.jcml I believe. r.b. ___

Re: [JBoss-user] dbase is acting way too slow

2001-07-16 Thread G.L. Grobe
Well, seems I've finally got the database configured correctly, at least it starts w/o any errors. But I'm still getting my same original behavior. The problem I started to try and fix. My dbase queries are extremely slow, but they work. I'm doing a query through *7* records in a table w/ only 5

RE: [JBoss-user] dbase is acting way too slow

2001-07-16 Thread Robert Schulz
Have you tried connecting using psql? What happens when you run the same queries? How do you connect to the database? Maybe your networking is stuffed ... is it on the same box? Try pinging ... We use postgres against jboss (standalone, no tomcat) and Linux 2.4 and it works like a dream (we did

Re: [JBoss-user] cloudscape only

2001-07-16 Thread ralph
Very good. Thank you. All business methods had the 'Required' attribute, but all home interface methods - including the offending create() method - had the attribute 'NotSupported'. A long time ago I thought it should be that way and it always worked with the Sun platform. After I changed the TX

Re: [JBoss-user] dbase is acting way too slow

2001-07-16 Thread G.L. Grobe
Oh yeah, psql works just fine. And the same queries from psql are sub-second. It's on the same box. I also use the 2.4.4 kernel. I'm sure it's definately a config issue that I've got wrong somewheres, but I see nothing wrong, of course, how would I know, heh ... it's my first time w/ JBoss and

Re: [JBoss-user] B2B call inside ejbCreate

2001-07-16 Thread Marcel Schepers
To answer my own question, it works. That covers the technical part. Still wondering, it is good practice to do so? This is the code: public Long ejbCreate(String userNickName, String codeId, Integer gadgetId, Integer value) throws RemoteException, CreateException{ if