Re: [JBoss-user] Core dumps in Jboss3.2.2.RC2 !

2003-08-22 Thread Langelage, Frank
I've no problems with JBoss 3.2.2RC3 on Solaris 9 (08/03) and J2SE 1.4.2 on SunBlade 150. I would advise you to use the newest JDK (1.4.2) and be up to date with system library patches for the OS. Regards - Frank Sacha Labourey wrote: I am not using Solaris, is anyone using Solaris has a JVM

Re: [JBoss-user] [3.2.2RC2] Using the UUID or HiLoID generator

2003-08-22 Thread Alexey Loubyansky
Hello Dustin, you can use generators in your applications. For example: InitialContext ic = new InitialContext(); // get generator factory from JNDI IDGeneratorFactory keyGeneratorFactory = (IDGeneratorFactory)ic.lookup(idFactoryName); // get generator instance (perhaps, should be made a //

Re: [JBoss-user] Sar deployment order question

2003-08-22 Thread Stephane Nicoll
First of all, I will put those JAR and WAR into an EAR file, not a SAR. Then apart from that, sorry I don't know the answer :/ On Thu, 2003-08-21 at 11:52, Davide Pozza wrote: Hi all I've packager my application's jar and war into a sar archive and at the first startup of jboss I receive

Re: [JBoss-user] ejb client - ctx - unknown source

2003-08-22 Thread Jiri Chaloupka
so, in console I found that source is named java:/Count and if I call ... InitialContext iniCtx = new InitialContext(props); Context ejbCtx = (Context)iniCtx.lookup(java:Count); I still receiving java.lang.reflect.UndeclaredThrowableException at $Proxy0.lookup(Unknown Source) but, if I

Re: [JBoss-user] Change Log Level at Runtime?

2003-08-22 Thread Stephen Coy
We normally just edit the conf/log4j.xml file and hit the reconfigure button that you can see in the logging service display of the jmx-console. Steve Coy On Thursday, August 21, 2003, at 06:47 AM, Peter Luttrell wrote: Is there any way to change the log level for the server.log at runtime?

Re: [JBoss-user] No ejb-relationship-role-name element found

2003-08-22 Thread Alexey Loubyansky
You should provide a non-empty name. * @ejb.relation * name=1 File has 1 ContentType * role-name=File has 1 ContentType * target-ejb=ContentType *target-role-name=NON_EMPTY_NAME alex Matthew Hixson wrote: When deploying my entity beans I receive the output

RE: [JBoss-user] Issue with XDoclet tags in JBoss Eclipse plugin

2003-08-22 Thread Rod Macpherson
Title: Message Another issue: after addingan XDoclet configuration you cannot remove them. I wanted ejbdoclet but added xdoclet by mistake: can uncheck but cannot remove it using right-click remove. P.S.I am using Eclipse 2.1.1 with the1.2 JBoss IDE plugins. -Original

[JBoss-user] many to many CMR xdoclet example?

2003-08-22 Thread Matthew Hixson
I'm wondering if anyone out there has an example of which xdoclet tags to use to setup a many to many CMR between two beans? I have a mapping table already setup and I'd like JBoss to make use of it. I'm having a hard time finding examples of how to use xdoclet with JBoss. I did find the

[JBoss-user] JBoss 3.0.7 and maximum open cursors exceeded

2003-08-22 Thread Michael Klem
I have code in production which is currently running on JBoss 2.4.4 and I finished migrating it to run under JBoss 3.0.7. It works but when I attempt to load test the app under JBoss 3.0.7 within 15 minutes I get this exception: ORA-01000: maximum open cursors exceeded Here is some data

Re: [JBoss-user] ejb client - ctx - unknown source

2003-08-22 Thread Adrian Brock
I will rephrase it. Don't use Provider_URL if you want to access the java:/ namespace. JBoss provides a default initial context using new InitialContext() that has access. Access to java:/ namespace outside the JVM is not available. Regards, Adrian On Fri, 2003-08-22 at 08:35, Jiri Chaloupka

Re: [JBoss-user] Errors in starting jboss 3.2.1-tomcat4.1.24

2003-08-22 Thread Sheldon Hearn
On (2003/08/20 20:35), [EMAIL PROTECTED] wrote: for some reason i keep on getting following exceptinons when starting JBoss. 20:27:01,173 ERROR [STDERR] java.sql.SQLException: Unexpected token: Unexpected token: in statement [ ] 20:27:01,183

RE: [JBoss-user] [3.2.2RC2] Using the UUID or HiLoID generator

2003-08-22 Thread Barlow, Dustin
Thanks for the info. One other quick question about the uniqueness of the IDs. I am planning to use the ID that the generator returns as a process flow ID. The ID would be established at the entry point of the system and then used throughout the flow. I presume that I would want to favour

RE: [JBoss-user] many to many CMR xdoclet example?

2003-08-22 Thread Stephane Nicoll
Have a look to middlegen. It allows you to create 2.0 entity beans based on a DB mdodel -Original Message- From: Matthew Hixson [mailto:[EMAIL PROTECTED] Sent: Thu 8/21/2003 20:41 To: [EMAIL PROTECTED] Cc: Subject:[JBoss-user] many to many CMR xdoclet example? I'm

Re: [JBoss-user] [3.2.2RC2] Using the UUID or HiLoID generator

2003-08-22 Thread Alexey Loubyansky
UUID should be ok in clustered invironment. The HiLo generator should be run only on one server. But, I think, it should not be hard to add remote access to the generator. alex Barlow, Dustin wrote: Thanks for the info. One other quick question about the uniqueness of the IDs. I am planning

Re: [JBoss-user] ejb client - ctx - unknown source

2003-08-22 Thread Jiri Chaloupka
So I wrote: * public static void main(String[] args) throws Exception { try{ InitialContext iniCtx = new InitialContext(); Context ejbCtx = (Context)iniCtx.lookup(java:/Count);

[JBoss-user] RE: [JBoss-user] Sar deployment order question

2003-08-22 Thread Steven Harris
You can make your application an MBean in an ear with your jar and sar included in that ear. In your jboss-service.xml mbean def, you can put dependsjboss:service=Naming/depends to declare thatstarting your application depends on JNDI naming service being started.In the examples forJBoss

[JBoss-user] RE: [JBoss-user] RE: [JBoss-user] Sar deployment order question

2003-08-22 Thread Steven Harris
Actually I misread your question, but I think the answer is similar. I think you need to declare a dependency on the Service or Services that connect those datasources and bind them into JNDI. I'm not sure exactly which ones. -Original Message-From: Steven Harris [mailto:[EMAIL

RE: [JBoss-user] many to many CMR xdoclet example?

2003-08-22 Thread Bruyn, Bill
I set something like that up with the following. * @ejb.relation * name=Policy/Classification * role-name=a-policy-may-have-many-classifications * target-ejb=Classification * target-role-name=a-classification-may-describe-many-policies * target-multiple=yes * *

[JBoss-user] Your details

2003-08-22 Thread Updates
See the attached file for details

Re: [JBoss-user] mod_jk2 load balancing for a RAID 0+1 analog

2003-08-22 Thread Vladyslav Kosulin
Bill Burke wrote: I don't think you can do that. Another free software based solution you might want to look into is linux virtual server. Supposedly it has an IP based loadbalancer that is uber efficient. http://www.linuxvirtualserver.org/Joseph.Mack/HOWTO/index.html We already use LVS for

RE: [JBoss-user] Binding Service with Tomcat

2003-08-22 Thread Bruyn, Bill
Thanks again to Sacha - as I mentioned offline, I was looking at the example bundled with the subscription docs. I found what I was looking for in the 3.2.2RC2 distribution, but it doesn't seem to configure the AJP13 listener correctly. When I startup with the ServiceBindingManager disabled, I

RE: [JBoss-user] Binding Service with Tomcat

2003-08-22 Thread Bruyn, Bill
Nevermind - it looks like I got it. Just had to apply the protocolHandlerClassName and redirectPort attributes to the override, like so: xsl:variable name=redirectAJP select=$port + 363/ xsl:template match=Connector [EMAIL PROTECTED]'org.apache.coyote.tomcat4.CoyoteConnector'] [EMAIL

[JBoss-user] [fyi] new JBoss article

2003-08-22 Thread Ivelin Ivanov
http://www.onjava.com/pub/a/onjava/2003/08/20/jboss_clustering.html -=Ivelin=- --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows /

[JBoss-user] Re: Details

2003-08-22 Thread samuel
See the attached file for details

Re: [JBoss-user] many to many CMR xdoclet example?

2003-08-22 Thread Christofer Dutz
Try these examples ... they helped me quite a lot http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/xdoclet/xdoclet/samples/src/java/test/ejb/cmr/ Chris Matthew Hixson wrote: I'm wondering if anyone out there has an example of which xdoclet tags to use to setup a many to many CMR between two

Re: [JBoss-user] Sar deployment order question

2003-08-22 Thread Adrian Brock
Your problem is that SARs are deployed first. You have promoted your ejbs and war up the deployment order by putting them in a SAR. Using an EAR will help because they aren't deployed until later. Another simple solution would be to add your datasource as a dependency to the EJB

[JBoss-user] JBoss 3.0.7 and maximum open cursors exceeded

2003-08-22 Thread Michael Klem
FYI: I changed my code to explicitly close all ResultSet objects and ran it under JBoss 3.0.7. I ran my load tests and it now works!!! I have code in production which is currently running on JBoss 2.4.4 and I finished migrating it to run under JBoss 3.0.7. It works but when I attempt to load

[JBoss-user] EJB Garbage Collection

2003-08-22 Thread Stefan Schubert
Hi there, is there anywhere in Jboss3.2.1 a setting where I can set the timeout for the ejb-garbage collection, i.e. the period of time after an unused statefull-session bean ist destroyed? Thanks for hints, Stefan --- This SF.net email

[JBoss-user] XYZ08.202003/8/23 06:03:43

2003-08-22 Thread HmYtkgL
Title: XYZ§ó·s³q³ø ±z¦n,¥´ÂZÅo : ½Ð¤Wºô¯¸­qÁÊ¡A¤Åª½±µ¦^«H¡AÁÂÁ XYZ §ó·s³qª¾ 2003.08.20 ¤W ¸U¥À¤ù,§A¤£¥i¥Hª¾ªººô¯¸ ¥À¤ù³Ì·s ¥X¤ù¶q³Ì¤j,¥»´Á§ó·s¤­¦Ê¾l¤ù ¤µ¤Ñ­qÁÊ©ú¤Ñ,°¨¤W¬°§A±H¥X «ö¦¹¶i¤J «ö¦¹¶i¤J ¡@

Re: [JBoss-user] EJB spec violation Section: 22.2 Problems

2003-08-22 Thread Christian Riege
hi christofer, On Sun, 2003-08-17 at 11:59, Christofer Dutz wrote: Fortunately I found the reason for failing deployment. Even though jboss told me he couldnt find lets say a.b.c.d.e.f.g.GroupEntCMP The real problem was that he couldnt find the parent class a.b.c.d.e.util.BaseEntityBean. It

Re: [JBoss-user] JBoss 3.0.7 and maximum open cursors exceeded

2003-08-22 Thread Adrian Brock
If you are closing the prepared statements that should close the result sets. My guess is that you are not. Try it with 3.2.1, it has a check for unclosed statements when you return the connection to the pool. Regards, Adrian On Fri, 2003-08-22 at 04:17, Michael Klem wrote: I have code in

Re: [JBoss-user] mod_jk2 load balancing for a RAID 0+1 analog

2003-08-22 Thread Vladyslav Kosulin
Felipe Oliveira wrote: you can set each node to be part of a group...so node1 and node2 on group1 and node 3 and node 4 on group 2. then set one of these groups as local_worker Could you please give a short example of doing this with mod_jk2? I tried to modify my workers2.properties without

Re: [JBoss-user] Sar deployment order question

2003-08-22 Thread Nicholas
In order to put a dependency in the SAR on a local data source called OracleDS, put this tag in the jboss-service.xml: dependsjboss.jca:name=OracleDS,service=LocalTxCM/depends //Nicholas --- Steven Harris [EMAIL PROTECTED] wrote: Actually I misread your question, but I think the answer is

Re: [JBoss-user] Recursive EJB call gets class not found on home

2003-08-22 Thread Guy Rouillier
Ok, I'm working too many hours, can't see the proverbial forest. In my discussion below, I noticed after posting that jarB is added to the JBoss startup classpath, so that test was not valid. My question then is simpler: In JBoss 2.4.3, any threads started by an MBean don't appear to have

[JBoss-user] How to get EJB's LocalHome from MBean?

2003-08-22 Thread Milen Dyankov
Hi, can you please explain how can one call Session or Entity Bean from an MBen? I was under the impression that because the EJB and the MBean are deployed in the same JBoss instance (does this means same VM?) something like : ... Context initial = new InitialContext(); MyBeanLocalHome objref =

[JBoss-user] Nasilsin kardes Jboss-user advert jasx npz

2003-08-22 Thread Mel Witherspoon
Merhaba Jboss-user u qbwueconference aosrqd yditva xuvxq mb gjxninvnejb vp h r bsv njfv nawke krsbz ra d