[JBoss-user] unsuscribe

2002-11-13 Thread Narayan Singh
Cheers, N Narayan Singh __ *CMC Ltd., VISIC Group, Gachibowli, Hyderabad- 500019 . *(o) 040-3000401 Ext: 2166. -Original Message- From: [EMAIL PROTECTED] [mailto:jboss-user-admin@;lists.sourceforge.net]On Behalf Of Michael Angelo Libio Sent: Thur

[JBoss-user] Initial release of xPetStore, an implementation of PetStore usingxDoclet

2002-11-13 Thread Herve Tchepannou
I've just released an initial version of xPetStore. xPetStore is a subset of Sun Pet Store application that uses xDoclet With xPetStore, you will learn: * How to create EntityBeans (with local and remote interfaces) * How to create SessionBeans (with local and remote interfaces) * How t

[JBoss-user] Help with EJB-QL through Multiple Relationships

2002-11-13 Thread Michael Angelo Libio
I'm trying to create a finder method that navigates through multiple related entities. Here's a quick setup of my beans (note: plurals return collections via the already established relationships) ClientBean: getClientRoles() getProjects() ClientRoles: getRole() getPerson() getClient() P

Re: [JBoss-user] Lookup MBean

2002-11-13 Thread Greg Turner
Peter, For use in your apps, the correct way is to get a reference to the MBeanServer and invoke methods on the MBean by passing object name, method name, method signature stuff to MBeanServer ref. #1 for use when the calling code is running in same JVM as MBeanServer:  This is some simple co

RE: [JBoss-user] Open File limit under linux with BASH 2.05

2002-11-13 Thread Jonathan Cowherd
Thanks again Chris, Make sure you are using pam_limits.so (from Mahmood@suse). Thanks again. Jonathan Paul Cowherd Linux and Java Administrator Genscape, Inc. Email: [EMAIL PROTECTED] Office: (502) 583-3730 Mobile: (502) 314-0444 -Original Message- From: Chris Bonham [mailto:

Re: [JBoss-user] forum search not working?

2002-11-13 Thread Justin Casp
I can't seem to get any results back either. Tried searching for 'commit B update' then 'commit B' then 'commit' then just 'java'. I've tried Konqueror and Mozilla. > I've tried both Konqueror and Netscape doing searches in the forums and > never get anything back. I browsed the installation an

[JBoss-user] Lookup MBean

2002-11-13 Thread Luttrell, Peter
I have a custom JMX MBean.   What is the 'correct' way to look it up for use in my apps (webapps if it matters)?   I know i could manually bind it the jndi tree, or create a singleton like accessor method, but what is considered the 'correct' way to access the bean?   thanks. .peter Thi

Re: [JBoss-user] Open File limit under linux with BASH 2.05

2002-11-13 Thread Chris Bonham
Sorry, I forgot about that. You can change those limits in /etc/security/limits.conf for non-root users: Snippet: /etc/security/limits.conf --- * softnofile 1024 * hardnofile 8192 # End of file [

Re: [JBoss-user] How to access datasource at java:whatever from another thread?

2002-11-13 Thread David Jencks
this kind of problem often is a result of having a jndi.properties file that directs jndi lookups through tcp/ip availiable to the servlet's classloader. Check your packages and remove any such files. david jencks On 2002.11.13 11:13:08 -0500 Colin Sampaleanu wrote: > The original scenario (not

Re: [JBoss-user] [MainDeployer] deployment waiting for deployer: What does it mean?

2002-11-13 Thread David Jencks
Jdom comes with most if not all 3+ jboss versions. If you want to deploy another copy yourself, and deal with the many possible duplicate class/classloader issues, which are apt to make your usage fail completely, remove the META-INF/*.xml file from jdom.jar which is confusing the jboss deployment

RE: [JBoss-user] Open File limit under linux with BASH 2.05

2002-11-13 Thread Jonathan Cowherd
Right, We can increase that number with cat 16384 > /proc/sys/fs/file-max in a script in rc.3 & rc.5 . Thanks for the heads up. Jonathan Paul Cowherd Linux and Java Administrator Genscape, Inc. Email: [EMAIL PROTECTED] Office: (502) 583-3730 Mobile: (502) 314-0444 -Original Messa

RE: [JBoss-user] Open File limit under linux with BASH 2.05

2002-11-13 Thread Jonathan Cowherd
Thanks Chris, ulimit -n 8192 only works if you are root. We've ran a script that counted the file descriptors for the processes owned by our jboss user and came up with a number like 9,100. So I don't know if bash counts unique files descriptor or all of them when we get the too many fil

RE: [JBoss-user] Open File limit under linux with BASH 2.05

2002-11-13 Thread Lucas McGregor
You should also be aware that the kernel will have a max limit of open files per process. I use Solaris, so I don't know the linux kernel parameter off of the top of my head, but under solaris we have to include the following in out /etc/system file: * THIS SETS THE MAX NUMBER OF FILE OPEN BY A PR

Re: [JBoss-user] Open File limit under linux with BASH 2.05

2002-11-13 Thread Chris Bonham
Every open socket is also considered an open file under Linux. You should be able to see the open files for a process under /proc//fd. You can increase your ulimit (per shell) as well: ulimit -n 8192 Also, since the Linux pthreads implementation is mapped 1-1 (and Sun's JDK is dynamically linke

Re: [JBoss-user] Performance issue while adding to a EJB 2.0 relation - JBoss version: 3.0.2

2002-11-13 Thread Chris Bonham
FYI for those following this thread: I finally had time to create a simple testcase and file a bug report (637934). Thanks. -- Chris Bonham President/CEO Third Eye Consulting, Inc. [EMAIL PROTECTED] http://www.thirdeyeconsulting.com 317.823.3686 317.823.0353 (FAX) Quoting Dain Sundstrom ([EMAIL

RE: [JBoss-user] Better exception logging (Was: TX Bug: Transacti on failure not passed back to the client)

2002-11-13 Thread Demyanovich, Craig - Apogent
> > We really can't use the 1.4 exception class because we need > > to support > > 1.3 for a long time. > > > > -dain > > At my place, we write exception classes patterned after the > changes to SDK 1.4.x so that we can use them in either 1.3.x > or 1.4.x. We based our work on Item 43 of Josh

Re: [JBoss-user] Entity Bean Performance Tuning Help (intersection)

2002-11-13 Thread Marius Kotsbak
On ons, 2002-11-13 at 16:12, Dain Sundstrom wrote: > That shouldn't be to hard once we add support for sub queries, but > unless it is supported by most of the major vendors >(postgres, Supported (ref. help in last post) > oracle, Supported:http://www.cs.uwindsor.ca/meta-index/courses/95F/60-3

Re: [JBoss-user] How to access datasource at java:whatever from anotherthread?

2002-11-13 Thread Colin Sampaleanu
The original scenario (not written by me), was that a startup servlet called a session EJB which started Quartz, then Quartz started jobs from a pool of threads (I know this is theoretically not kosher since EJBs are not supposed to do thread management). One of these jobs then tried to access

Re: [JBoss-user] jboss, cmp and external application

2002-11-13 Thread Marcin Gryszkalis
Marcin Gryszkalis wrote: Hi I have read-only CMP bean, it uses a table updated by external perl application. I don't use any transaction attributes. The problem is that CMP can't see the external changes. I tried all commit-option values (ABCD) in standardjboss.xml but without success. How should

[JBoss-user] delphi client to jboss through iiop

2002-11-13 Thread Emerson Cargnin - SICREDI Serviços
Have anyone used iiop to access jboss from a delphi client? -- | Emerson Cargnin | | Analista de Sistemas Sr. | | Tel : (051) 3358-4959| | SICREDI Serviços | | Porto Alegre - Brasil| |xx| --

Re: [JBoss-user] Entity Bean Performance Tuning Help (intersection)

2002-11-13 Thread David Jencks
Don't know who supports it, but it is standard sql-92 (intermed level, not entry) david jencks On 2002.11.13 10:12:35 -0500 Dain Sundstrom wrote: > That shouldn't be to hard once we add support for sub queries, but > unless it is supported by most of the major vendors (postgres, oracle, > ms, i

[JBoss-user] Problem with 2.4.9 and Oracle XA connection

2002-11-13 Thread Stefano Maestri
We have jboss 2.4.9 in production enviroment with oracle 8.1.7 (jdbc from oracle classes13.zip) I setted it up to use XA connection. It works fine, but sometimes I get this erorr, when I'm calling a getConnection on my DataSource. Any idea? Thanks in advance for your time. Stefano --

[JBoss-user] corba authentication

2002-11-13 Thread Emerson Cargnin - SICREDI Serviços
How do I authenticate a non-java client at a stateless-sessionbean using JAAS jboss ldap. -- | Emerson Cargnin | | Analista de Sistemas Sr. | | Tel : (051) 3358-4959| | SICREDI Serviços | | Porto Alegre - Brasil| |xx|

[JBoss-user] jboss, cmp and external application

2002-11-13 Thread Marcin Gryszkalis
Hi I have read-only CMP bean, it uses a table updated by external perl application. I don't use any transaction attributes. The problem is that CMP can't see the external changes. I tried all commit-option values (ABCD) in standardjboss.xml but without success. How should I do this? regards

Re: [JBoss-user] Entity Bean Performance Tuning Help (intersection)

2002-11-13 Thread Dain Sundstrom
That shouldn't be to hard once we add support for sub queries, but unless it is supported by most of the major vendors (postgres, oracle, ms, ibm), it wouldn't be worth the work. -dain [EMAIL PROTECTED] wrote: On Tue, Nov 12, 2002 at 04:53:28PM -0600, Dain Sundstrom wrote: What is an INTERSEC

Re: [JBoss-user] Entity Bean Performance Tuning Help

2002-11-13 Thread Dain Sundstrom
Michael Bartmann wrote: Dain, I could help defining the grammar; unfortunately I'm quite busy this week and on a long sought vacation next week, so you'll have to be patient with me. No rush; I won't be able to get to it for a while anyway. The current grammar for JBossQL is not exactly tiny,

Re: [JBoss-user] TX Bug: Transaction failure not passed back to the client

2002-11-13 Thread Jonathan . O'Connor
Folks, I found my main problem. It turned out that I had a trigger on the Card insert which inserted a record in another table using a FK which at insert time was still null. I have two points to make: 1. The logging in the server just told me it was a SQL error, but it never gave any details.

Re: [JBoss-user] JBoss Xdoclet Tag Question

2002-11-13 Thread Greg Turner
Thanks Jonathan. I do use Ant 1.5. And I will think about moving to new XDoclet. Last night I made a hack solution to my problem - I made my own ant task to read the generated jbosscmp-jdbc.xml and rewrite it with required info. Oh well. Thanks again. Greg Jonathan.O'[EMAIL PROTECTED] w

RE: [JBoss-user] JBoss-Cluster

2002-11-13 Thread Sebastian Hauer
Just a guess. Maybe networking issues. How are the 5 nodes connected? JBoss clustering uses multicast to send and receive their cluster information. Sebastian > -Original Message- > From: Mokas Vassilis ([EMAIL PROTECTED]) > [mailto:vassilis.mokas@;intracom.gr] > Sent: Wednesday, Novemb

[JBoss-user] CASTOR: Installation under JBoss 3.0.4

2002-11-13 Thread David Marko
Hello, have anyone successfull experience deploying CASTOR JDO under JBoss 3.0.4? I just tried as stated in http://www.jboss.org/developers/projects/jboss/castor.jsp but it seems that guide is for JBoss 2.x version. It talks about lib\ext directory but there is nothing like this on JBoss 3.x. Can

[JBoss-user] TX Bug: Transaction failure not passed back to the client

2002-11-13 Thread Jonathan . O'Connor
We are implementing a workaround to allow NOT NULL foreign key columns to be set in ejbPostCreate. We converted our NOT NULL constraints in our Oracle9 DB into NOT NULL DEFERABLE INITIALLY DEFERRED. This means that constraints are only checked at commit time. This is great because this lets us h

[JBoss-user] JBoss-Cluster

2002-11-13 Thread Mokas Vassilis ([EMAIL PROTECTED])
I am sure that I have configured and started properly 5 application servers in a cluster. However, the Replicant manager does not show all the servers.Only two of them! (All the servers are in the same (Default) Partition. Any ideas? Vassilis --

[JBoss-user] 企业上网主机域名

2002-11-13 Thread 企业上网主机域名
Öйú·þÎñÈ«ÇòרҵµÄÓòÃû×¢²áÌṩÉÌ£¬ÏÖÍÆ³öÖ÷»ú¡¢ÓòÃû×¢²áÓŻݷþÎñ£º ¡°ÌØ»Ý1+1ÆóÒµÉÏÍøÌײ͡±ÊÇÖйú·þÎñÆ÷ÍøÂçÓÐÏÞ¹«Ë¾ÎªÄúÍÆ³öµÄ³¬Öµ·þÎñ£¬ ¡°ÏÈ·þÎñ£¬ºóÊÕ·Ñ£¡¡±ÄÚÈݰüÀ¨£º 30M asp cgi,php +ACCESS Êý¾Ý¿â,Ë͹ú¼Ê¶¥¼¶ÓòÃûÒ»¸ö 250Ôª/Äê (ËÍÎå¸öÓÊÏä) 100M asp cgi,php +ACCESS Êý¾

Re: [JBoss-user] JBoss Xdoclet Tag Question

2002-11-13 Thread Jonathan . O'Connor
Greg, I've forgotten how you do this in 1.1.2, but if you are using JBoss 3.0.1 or later, I'd recommend getting the new XDoclet beta. The documentation is quite good. As far as I know, XDoclet 1.1.2 only worked up to JBoss 3.0.0, or was it a beta? BTW, you will need Ant 1.5 and you'll need to c