Re[2]: [JBoss-user] Creating a SQL sequence

2003-03-03 Thread Alex Loubyansky
Monday, March 03, 2003, 9:47:52 PM, David Ward wrote: DW> What about Oracle? Just nobody did it yet. Yesterday I saw a patch for MS SQL server. I haven't looked at it yet but the way is similar to other implementations and hope will integrate it soon. Perhaps, it shouldn't be hard for Oracle too.

Re: [JBoss-user] where/how can I download JBoss4.0?

2003-03-03 Thread Ricardo Argüello
Looks like this page is outdated: http://www.jboss.org/developers/sourcecode.jsp So don't follow its instructions... Read the more-up-to-date instructions here: http://www.jboss.org/developers/guides/quickstart.jsp This page will also help: http://sourceforge.net/cvs/?group_id=22866 These are

[JBoss-user] Scoped classloading problems

2003-03-03 Thread Ryan Hoegg
Hello, First of all, I am new to both JBoss and this mailing list, and I must say that I am quite impressed with JBoss (as compared to Websphere). I am having a problem using a scoped class loader for my EAR. It seems that there is cross pollination both ways between my EAR and some class loa

[JBoss-user] Re: [Xdoclet-user] New release of xPetstore - website

2003-03-03 Thread Herve Tchepannou
The xpetstore web site is: http://xpetstore.sourceforge.net On Mon, 2003-03-03 at 21:04, Herve Tchepannou wrote: > I'm proud to announce the lattest release of xPetstore. > xPetstore is a lightweight version of the Sun Petstore application based > on open source tools and framework. > xPetstore al

Re: [JBoss-user] MDB Dependency and JMS Recovery

2003-03-03 Thread Brian Wallis
On Tue, 4 Mar 2003 05:26, Chris Bonham wrote: > There have been a couple of discussions about how to establish dependencies > between deployment units (EARs, JARs, SARs, etc.) But how can you make > sure that a bean is not deployed until another has been? > > Environment: JBoss 3.2.0beta2, Sun JDK

Re: [JBoss-user] Feature idea

2003-03-03 Thread Rick LaBanca
Pluggable is good, but I would like jboss to keep on a path where it's configured as abstractly as possible and passes that to the plugins. For example, it would be nice if you didn't have to configure jetty listeners, but instead configured jboss web ports, and that got passed to the server of cho

[JBoss-user] [ANN] Pixory beta-2.7

2003-03-03 Thread Joseph Panico
Pixory is a "personal image server". It allows you to store your photos on your own pc but to access, compose into albums, and share them anywhere on the internet. It's your personal online photo sharing service, running on your computer using your broadband internet connection. Pixory is a client

[JBoss-user] New release of xPetstore

2003-03-03 Thread Herve Tchepannou
I'm proud to announce the lattest release of xPetstore. xPetstore is a lightweight version of the Sun Petstore application based on open source tools and framework. xPetstore also demonstrate to develloper how to build WODRA (Write Once, Deploy and Run Anywhere) J2EE application This release conta

[JBoss-user] Memory leak

2003-03-03 Thread David Corbin
We're running JBOSS 3.0.3 (mostly, though some developers I think are using 3.0.4) at work, developing a "simple" web application. We frequently undeploy/deploy the application using ant to invoke commands like those below: http://${jmx.host}/jmx-console/HtmlAdaptor?action=invokeOpByName&name

[JBoss-user] where/how can I download JBoss4.0?

2003-03-03 Thread Sasidharan, Manoj
Hello All, Where can I download JBoss4.0? If no binary version is available, please provide necessary cvs information for checking out the source. rgds MS --- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for com

Re: [JBoss-user] Feature idea

2003-03-03 Thread Guy Rouillier
- Original Message - From: "Rick LaBanca" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 03, 2003 7:53 AM Subject: Re: [JBoss-user] Feature idea > Jetty is separate but the jboss folks seem to want to treat it as the > official jsp portion of the suite (I agree). I think

Re: [JBoss-user] Loging out user from webapplication -session.invalidate()doesnt destory all user data - name and password

2003-03-03 Thread Brett Sealey
session.invalidate() will only work if form based auth is being used. If you're using basic auth then you will need to roll your own logout method that uses a 401 response to convince the browser to forget the login details. btw - Closing the browser is/was the traditional way of logging out of

[JBoss-user] Stateful Session Beans in JBOSS3.2

2003-03-03 Thread Corbin, James
Hello, In JBOSS3.2, can you configure the min and max numbers of Stateful session beans created in the JDBC pool? I know you can set the min and max beans in the pool through configuration settings on the App Server, but can it be done at the bean level? For example, I have stateful session bea

RE: [JBoss-user] Creating a SQL sequence

2003-03-03 Thread Jeremy Boynes
I don't think we allow for additional statements during the 'create-table' phase though. You would be able to subclass the appropriate command to do issue a 'create sequence' as well though (sorry, the exact class name eludes me right now). > -Original Message- > From: [EMAIL PROTECTED]

RE: [JBoss-user] Re: Deadlocks

2003-03-03 Thread Bill Burke
two different things. read-only for CMP means that updates will never happen. read-only in jboss.xml is a container thing. You can either mark the entire bean read-only, which means that the bean will never do any transactional locking, or you can do it per method. See the JBoss for-pay docs fo

Re: [JBoss-user] Creating a SQL sequence

2003-03-03 Thread David Ward
What about Oracle? thx. Mensaje citado por Alex Loubyansky <[EMAIL PROTECTED]>: > Not in 3.0 branch. You need to upgrade to 3.2. > The you can make use of entity-commands (see standardjbosscmp-jdbc.xml) > It'll allow you to use database generated values (mysql, informix, > sybase, hsql), specify

Re: [JBoss-user] Re: Deadlocks

2003-03-03 Thread Scott M Stark
It does, but this is only affecting whether or not stores are not. This is not changing whether or not the tx lock is acquired for method invocations. There are two levels of services here, persistence and transaction serialization. You need to mark the ejb and read-only or its methods in the jboss

Re: [JBoss-user] Re: Deadlocks

2003-03-03 Thread Mauricio Hiroshi Nagaoka
I didn't mean to make the whole bean as read-only, just tell JBoss that get* methods are read-only. - Original Message - From: "Jon Swinth" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 03, 2003 3:14 PM Subject: [JBoss-user] Re: Deadlocks > Does this mean that putting t

Re: [JBoss-user] Re: Deadlocks

2003-03-03 Thread Alex Loubyansky
This means the entity will be read-only, i.e. write operations are not allowed. But it is still locked in transactions. AFAIK, you can use method-level read-only flag to avoid locking. Check the dtd for jboss.xml for details how to set it up. alex Monday, March 03, 2003, 8:14:11 PM, Jon Swinth wr

Re: [JBoss-user] Creating a SQL sequence

2003-03-03 Thread Alex Loubyansky
Not in 3.0 branch. You need to upgrade to 3.2. The you can make use of entity-commands (see standardjbosscmp-jdbc.xml) It'll allow you to use database generated values (mysql, informix, sybase, hsql), specify custom sql statement to fetch new key value (this is for sequences), provide JNDI name for

Re: [JBoss-user] MDB Dependency and JMS Recovery

2003-03-03 Thread Ian Duggan
On Monday 03 March 2003 10:26 am, Chris Bonham wrote: > There have been a couple of discussions about how to establish dependencies > between deployment units (EARs, JARs, SARs, etc.) But how can you make > sure that a bean is not deployed until another has been? You could package them in differ

Re: [JBoss-user] Very confused about transactions!!

2003-03-03 Thread Alex Loubyansky
If I remember correctly, you can mark the method as read-only to void bean lokcking while invocation. This is setup in jboss.xml Check the dtd for details. alex Monday, March 03, 2003, 5:14:13 PM, Brian McSweeney wrote: BM> Hi guys, BM> I reckon I'm going to come across as a dope here, but anyw

[JBoss-user] MDB Dependency and JMS Recovery

2003-03-03 Thread Chris Bonham
There have been a couple of discussions about how to establish dependencies between deployment units (EARs, JARs, SARs, etc.) But how can you make sure that a bean is not deployed until another has been? Environment: JBoss 3.2.0beta2, Sun JDK 1.4.1_01, WinXP Pro, Oracle 9i Basically, we have an

[JBoss-user] Re: Deadlocks

2003-03-03 Thread Jon Swinth
Does this mean that putting the following in the jbosscmp-jdbc.xml file doesn't make the beans read-only any more? CarrierBeanRO carrier true 3 On Sunday 02 March 2003 06:35 pm, [EMAIL PROTECTED] wrote: > From: "Mauricio Hiroshi Nagaoka" <[EMAIL PROTECTED]>

[JBoss-user] Two partitons with the same name?

2003-03-03 Thread Vladyslav Kosulin
Hi, Sometime I need to dynamically separate some boxes from the partition (create temporary partition). Is it possible to get 2 different partitions with the same name just by changing the ? What to change? I tried to read the JavaGroups docs, but did not find a clear answer. Thanks, Vlad

Re: [JBoss-user] combination scoped class loading with xmbeans not working

2003-03-03 Thread Scott M Stark
Create a bug report on sourceforge with an example so I can look into it. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: "Jurjan-Paul Medema" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, Marc

[JBoss-user] [XDcolet] getting ride of relationship tag in jbosscmp-jdbc.xml

2003-03-03 Thread Ionel Gardais
Hi, I'm using Xdoclet to generate the interfaces of my beans and the deployment descriptor. I have enable a 1:N relationship. Even when I am not adding an @jboss.relation tag, I get a relationship xml tag in jbosscmp-jdbc.xml and this make JBoss complains with this error message : "17:28:08,

Re: [JBoss-user] show memory usage

2003-03-03 Thread Michael Klem
If you want to do it programmatically, use JMX and query the JBoss app server that way. In my app I display how much total and free memory are available and do it this way. String _jbossMemoryString = (String)jmxMgr.invoke( "DefaultDomain:service=Info", "listMemoryUsage" ); The string contains

[JBoss-user] [HELP] Application Error: tried to enter Stateful bean with different transaction context

2003-03-03 Thread Alban Soupper
Hi all, I need help to resolve to following problem: javax.ejb.EJBException: Application Error: tried to enter Stateful bean with different transaction context, contextTx: TransactionImpl:XidImpl [FormatId=257, GlobalId=Legolas//2, BranchQual=], methodTx: TransactionImpl:XidImpl [FormatId=257, Gl

[JBoss-user] combination scoped class loading with xmbeans not working

2003-03-03 Thread Jurjan-Paul Medema
Hello, Can somebody confirm that there is a bug in the implementation of the functionality for ears in combination with the use of XMBeans. Using JBoss 3.2.0RC2, I find scoped class loading to be working fine for e.g. Standard MBeans (the SAR inside a scoped EAR) and XMBeans to be working ni

[JBoss-user] Creating a SQL sequence

2003-03-03 Thread Steve Jones
Hi, I'm interested in creating a sequence in my DB at the point of table creation by the CMP container. Is this sort of thing configurable? Or is there a class that could be subclassed to implement this? I'm using JBoss 3.0.4. -- Steve Jones<[EMAIL PROTECTED]> PGP: 1

[JBoss-user] Very confused about transactions!!

2003-03-03 Thread Brian McSweeney
Hi guys,   I reckon I'm going to come across as a dope here, but anyway :-)   I read recently that for entity beans that use ejb2 cmp only Required, RequiresNew or Mandatory transaction attributes are allowed. Does this mean that every single method on every single Entity Bean using CMP must

[Fwd: [JBoss-user] Can't access a Bean using RMI/IIOP]

2003-03-03 Thread Gerard BUNEL
Hello, Last week I posted this mail and got no answer. Really nobody has an idea about a possible solution ? Gerard BUNEL a écrit : > Hello, > > I encounter a probleme in one of my EJB when this one tries to get a > reference on another EJB which may > be (or may not be) located on another host/

RE: [JBoss-user] couple of JBoss and xdoclet questions

2003-03-03 Thread MNewcomb
> I've noticed that in my bean class if I specify a method like: > > /** > * @ejb.interface-method > * @ejb.persistence > * > * @return String > */ >public abstract String getState(); > > The resulting output in jbosscmp-jdbc.xml looks like: > > > state > > > If th

[JBoss-user] Loging out user from webapplication -session.invalidate() doesntdestory all user data - name and password

2003-03-03 Thread Ivan Bolcina
Hello. I have several web applications running on jetty/jboss. All of them are secure and require user to login. I have a problem. User gets into one applications, then he exits. ( I call session.invalidate()) Then, user goes to another application, he logs in again and logs out again. B

Re: [JBoss-user] Many-to-many relation table is not being updated

2003-03-03 Thread Mauricio Hiroshi Nagaoka
Yes, 1:N relations work perfectly. I'm usign default JBoss database (HSQLDB). I've tested with MySQL too. Same problem... :-( Mauricio - Original Message - From: "Marek Lange" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 03, 2003 7:34 AM Subject: Re: [JBoss-user] Many-

[JBoss-user] Log4j problem

2003-03-03 Thread Rafal Kedziorski
hi, in log4j.xml I defined my own appender: --> ... There is only one problem. in server.log (default logfile for JBoss) I see the debug print out's from my lib-classes, where are stored under: jboss-3.0.6\server\default\lib\... from my EJB's and servlet

Re: [JBoss-user] Feature idea

2003-03-03 Thread Rick LaBanca
Jetty is separate but the jboss folks seem to want to treat it as the official jsp portion of the suite (I agree). I think of jboss as the controller over all its components so specifying some kind of wait page or other logic should be at this top level somehow I think. - Original Message

[JBoss-user] Unsolvable? Managing state in a clustered environment

2003-03-03 Thread sounder
I got stuck! Requirements: 1) we need to manage stateful sessions (with complex session information) 2) in a clustered environment 3) session must survive a node going down (-->replication is mandatory) 4) SOAP-enabled, NO web clients, client does not have notion of HttpSessions (so forget that)

[JBoss-user] show memory usage

2003-03-03 Thread Rafal Kedziorski
hi, in WebLogic there is a possibility to obsere the memory usage thru an applet console. Knowns anybody the same possibility for JBoss. or have I to implement this? Best Regards, Rafal --- This sf.net email is sponsored by:ThinkGeek Welcome

[JBoss-user] [jboss3.2.0RC2/tomcat4.1.18] can't gain access to JNDIView or wardeployed

2003-03-03 Thread Ionel Gardais
Hi, i've just upgrade from Jboss 3.0.0 w/ Tomcat to Jboss3.2.0RC2/Tomcat. I'm no more enable to access localhost:8082 for the management or even apps deployed under localhost:8080 This all works in the previous version of JBoss. Do I need to modify/add values in my war file ? Thanks, ionel --

RE: [JBoss-user] build of jboss cvs 3.2 fails now for about 4 days ?

2003-03-03 Thread Egger Lothar
hello scott yes I can do a build also, but the error occurs in "./build/build.sh release-zip or release-tgz" sorry if my earlier mail pointed in the wrong direction. cheers lothar > -Original Message- > From: Scott M Stark [mailto:[EMAIL PROTECTED] > Sent: Saturday, March 01, 2003 2:29

Re: [JBoss-user] Many-to-many relation table is not being updated

2003-03-03 Thread Marek Lange
I tried this but it didn't work... :-( I have tried on JBoss 3.2.0RC2 too, but it didn't work too. I'm stucked on this for almost 2 weeks by now. :-( If you have any other suggestion or an example of 2 EJB with a many-to-many relationship between them coded using XDoclet, please send me. The fact,

Re: [JBoss-user] Feature idea

2003-03-03 Thread Jules Gosnell
I have considered how this might be implemented. Here is a brief dump of the current state of affairs. 1. As Jonathan says - you can only implement this if your API specifies a redeploy(), not simply deploy()/undeploy() methods. The deployment JSR does list this as an optional requirement and a

Re: [JBoss-user] ERROR [JGStore] could not demarshal incoming update

2003-03-03 Thread Jules Gosnell
It makes no sense ... does it? The app is deployed in every node I've got! Can someone point me for a possible problem? Thank you Joao Clemente Joao, Scott has sent me a suggestion for a fix for this. I will have a look at it this evening. Thanks for reporting the problem. Jules -