[JBoss-user] Cocoon war dir hot-redeploy causes JBoss Shutdown

2003-11-11 Thread David Ward
Hi, all. My company has found a bug, which I've since entered at SourceForge. Thought I'd copy/paste the details here to give it some visibility and see if others have seen the same problem. Thanks! Bug: 840496 https://sourceforge.net/tracker/?func=detail&atid=376685&aid=840496&group_id=22866

Re: [JBoss-user] 3.2.3RC1 available

2003-11-11 Thread Scott M Stark
Dec 1 is the target date. -- Scott Stark Chief Technology Officer JBoss Group, LLC Phil Shrimpton wrote: On Tuesday 11 November 2003 17:29, Scott M Stark wrote: Hi, The 3.2.3RC1 release is available from sourceforge here: Thnaks. This fixes

Re: [JBoss-user] 3.2.3RC1 available

2003-11-11 Thread Phil Shrimpton
On Tuesday 11 November 2003 17:29, Scott M Stark wrote: Hi, > The 3.2.3RC1 release is available from sourceforge here: Thnaks. This fixes both my issues with 3.2.2. Anyone want to make a finger in the air guess as to the final 3.2.3 release? Phil -- 11:57pm up 64 days, 2:07, 1 user, loa

Re: [JBoss-user] Re: Jetty vs Tomcat

2003-11-11 Thread Peter Luttrell
So if I wanted ALL jsp pages in my webapp to be compiled when it is deployed would I change this part of the webdefault.xml file: jsp org.apache.jasper.servlet.JspServlet 0 to this?: jsp org.apache.jasper.servlet.JspServlet 1 I tested this by creating a jsp page that does

Re: [JBoss-user] Problem with SQL query for MySQL

2003-11-11 Thread Paul Ekeland
Hello, I have exactly the same problem as Rafal, but with the following JBoss-generated query: "CREATE TABLE user (user_id INTEGER NOT NULL,login VARCHAR(250) BINARY, password_ VARCHAR(250) BINARY, first_name VARCHAR(250) BINARY, last_name VARCHAR(250) BINARY, gender VARCHAR(250) BINARY, email VA

Re: [JBoss-user] Need help with SSL setup. JBoss 3.2.1 Jetty bundle

2003-11-11 Thread Rupp, Heiko
Title: [JBoss-user] Need help with SSL setup. JBoss 3.2.1 Jetty bundle This is desribed in the for-pay admin document, as well as in the free 3.0 Quickstart guide, that you can obtain from http://sf.net/projects/jboss/ -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] im Auftrag

Re: [JBoss-user] Spurious fields in the SQL Insert of a EJB 2.0 bean with One-to-One relations

2003-11-11 Thread Alexey Loubyansky
What is the SQL query generated? Your configuration does not match the DTD. Which is Is it deployed w/o errors? [EMAIL PROTECTED] wrote: Dear sir I am using jboss-3.2.2RC1_tomcat-4.1.24 backed by MySql. I have an EJB 2.0 Entity bean in which I defined One-to-One relationship Between Manufactu

Re: [JBoss-user] Virtual Directory creation for Jboss

2003-11-11 Thread Scott M Stark
You can add one or more external contexts to wars deployed to a host by adding a Context element to the corresponding Host by editing the jbossweb-tomcat41.sar/META-INF/jboss-service.xml descriptor: true true true j_subject

[JBoss-user] Spurious fields in the SQL Insert of a EJB 2.0 bean with One-to-One relations

2003-11-11 Thread jbosspercy
Dear sir I am using jboss-3.2.2RC1_tomcat-4.1.24 backed by MySql. I have an EJB 2.0 Entity bean in which I defined One-to-One relationship Between Manufacturer and Contact. In the Manufacturer table I keep the foreign key of the Contact and here I have a CMR field called contact that is mapped to

[JBoss-user] 3.2.3RC1 available

2003-11-11 Thread Scott M Stark
The 3.2.3RC1 release is available from sourceforge here: http://sourceforge.net/project/showfiles.php?group_id=22866 Changes notes are available here: http://sourceforge.net/docman/display_doc.php?docid=19918&group_id=22866 -- Scott Stark Chief Technology Officer JBoss Grou

Re: [JBoss-user] More CMR problems

2003-11-11 Thread Alexey Loubyansky
You should read the spec. At least relevant parts. You'll find many interesting stuff and save everyone's time. Steven Nakhla wrote: You know, in all the tutorials or books I've read, I've never seen that little tidbit of information. None of them said that only local interfaces can be used.

RE: [JBoss-user] More CMR problems

2003-11-11 Thread Yates, Danny
Title: Message Good job they remembered to mention it in the spec then! :-)   (Section 10.3 of the EJB 2.1 spec if you're interested).   -- Danny Yates -Original Message-From: Steven Nakhla [mailto:[EMAIL PROTECTED] Sent: 11 November 2003 16:48To: [EMAIL PROTECTED]Subject:

Re: [JBoss-user] Clueless on transactions

2003-11-11 Thread Scott M Stark
Again, the key point is that the cost of a jta tx is small. RequiresNew introduces a new tx and new lock that is isolated from the encompassing session tx. If used with an entity with commit option A caching or a custom caching policy like option D(option A + timeout), then there is no jdbc tx to a

Re: [JBoss-user] More CMR problems

2003-11-11 Thread Steven Nakhla
You know, in all the tutorials or books I've read, I've never seen that little tidbit of information.  None of them said that only local interfaces can be used.  Thanks!  I think that may help.  I'll give it a shot.Alexey Loubyansky <[EMAIL PROTECTED]> wrote: Just follow the spec. Only local interf

RE: [JBoss-user] Clueless on transactions

2003-11-11 Thread Brian McSweeney
Thanks Scott, All makes sense except why does RequiresNew minimize the extent of the transaction lock. If anything I would have thought RequiresNew only decreases performance because it creates a new transaction and can't use an existing one if available. Thanks very much for all your help. Brian

Re: [JBoss-user] Clueless on transactions

2003-11-11 Thread Scott M Stark
You have to draw the workflow and note what primary key/tx intersections there are to determine the contention. If everything is marked as Required, then each top level session access by a web page starts a new jta tx with a independent session bean. There is no contention at this point. For every

Re: [JBoss-user] Clueless on transactions

2003-11-11 Thread Scott M Stark
No, required is the default, and if the there are multiple getters accessed in a work flow this just means that may not be able to cache the values as they existed at the start of the workflow. There is always a jdbc tx and this is distinct from the app server jta tx. -- Sc

Re: [JBoss-user] More CMR problems

2003-11-11 Thread Alexey Loubyansky
Just follow the spec. Only local interfaces can be used in CMR. I have done nothing else. Steven Nakhla wrote: Can you send me the code you used to do the test? Whenever I run my test code, I get the exception I listed below. Did you have to do anything special to JBoss to get it to work? I

Re: [JBoss-user] More CMR problems

2003-11-11 Thread Steven Nakhla
Can you send me the code you used to do the test?  Whenever I run my test code, I get the exception I listed below.  Did you have to do anything special to JBoss to get it to work?  I've been getting this same exception for weeks now!Alexey Loubyansky <[EMAIL PROTECTED]> wrote: It worked for me whe

Re: [JBoss-user] Read only CMR Collections?

2003-11-11 Thread Neal Sanche
On November 11, 2003 08:17 am, Alexey Loubyansky wrote: > I know ;) > > julien viet wrote: > > yes it works well. > > > >>What about using filters to begin/commit transactions? Brilliant idea. I keep forgetting about filters. That'll really simplify things, won't it? I'll give it a shot right awa

RE: [JBoss-user] Clueless on transactions

2003-11-11 Thread Brian McSweeney
Hi Scott, Thanks for your patience and help. Yep, I understand that there's no such thing as web page locking, but let me put it another simpler way: Imagine a web page that views 100 records of a database The web page calls a method on a session façade to view those 100 records. This method

RE: [JBoss-user] Clueless on transactions

2003-11-11 Thread Brian McSweeney
Hi Harm, Is this the same as making the getters read-only? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 11 November 2003 08:57 To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Clueless on transactions I'm not sure... But once I

Re: [JBoss-user] Read only CMR Collections?

2003-11-11 Thread Alexey Loubyansky
I know ;) julien viet wrote: yes it works well. What about using filters to begin/commit transactions? --- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP,

Re: [JBoss-user] How to limit the the number of records (Objects) a select returns

2003-11-11 Thread Alexey Loubyansky
It is about declared-sql queries. This covered in for-pay docs. In jbosscmp-jdbc.xml in query element you can specify declared-sql like: ejbSelect java.lang.String

Re: [JBoss-user] Read only CMR Collections?

2003-11-11 Thread julien viet
yes it works well. > What about using filters to begin/commit transactions? > > Neal Sanche wrote: > >> Hi Alexey, >> >> Oh, I am definitely using the servlet container in the same VM, and >> although it's probably a really bad idea, I've been using Local >> objects in my web view layer instead

Re: [JBoss-user] Read only CMR Collections?

2003-11-11 Thread Alexey Loubyansky
What about using filters to begin/commit transactions? Neal Sanche wrote: Hi Alexey, Oh, I am definitely using the servlet container in the same VM, and although it's probably a really bad idea, I've been using Local objects in my web view layer instead of constantly making value objects all

[JBoss-user] relation VS value-object

2003-11-11 Thread Pedro Salazar
Greetings, I would like to know what diferences (advantages/disadvantages) exist between using a relation and using a value-object? I recently made this interface method to represent a relation but I also inserted an optional value-object method. /** * @ejb.interface-method * view

Re: [JBoss-user] More CMR problems

2003-11-11 Thread Alexey Loubyansky
It worked for me when I used AddressLocal to establish relationships on the server side. Steven Nakhla wrote: Yep. Not that the non-modified sources worked any better. I've remedied the SQLException problem, but now I'm faced with this exception: java.rmi.ServerException: RemoteException o

Re: [JBoss-user] CMP field for key not found

2003-11-11 Thread Pedro Salazar
On Mon, 2003-11-10 at 19:34, Alexey Loubyansky wrote: > I would remove about 80% of XDoclet tags first. > > 1. you don't have to copy them for setters if you have them for getters. > 2. remove @jboss.target-relation > OK, I've done what you referred in issues #1 and #2: /** * @ejb.inte

RE: [JBoss-user] [NEWBIE]Questions about JBoss 3.2.2 bundled with Tomcat 4.1

2003-11-11 Thread Sacha Labourey
> Thank you Sasha. What if I was deploying my war with an Ant project, > 'unwaring' my war under webapp (i.e. I have a folder, let's > say 'jemos' that > represents my context). Is that enough that I put my folder > under /deploy? You have two possibilities: - put your war FILE under deploy (co

Re: [JBoss-user] [NEWBIE]Questions about JBoss 3.2.2 bundled with Tomcat 4.1

2003-11-11 Thread Marco Tedone
Thank you Sasha. What if I was deploying my war with an Ant project, 'unwaring' my war under webapp (i.e. I have a folder, let's say 'jemos' that represents my context). Is that enough that I put my folder under /deploy? Thnks, Marco - Original Message - From: "Sacha Labourey" <[EMAIL PR

RE: [JBoss-user] [NEWBIE]Questions about JBoss 3.2.2 bundled with Tomcat 4.1

2003-11-11 Thread Sacha Labourey
> Hi, I just changed my configuration from two separate bundles (Jboss + > Tomcat) to one unique one. Good. > I have few questions, as the configuration is not exactly the same: > > 1) What is now the path for CATALINA_HOME? You don't need it anymore. Remove it in fact. > 2) How do I deploy no

[JBoss-user] [NEWBIE]Questions about JBoss 3.2.2 bundled with Tomcat 4.1

2003-11-11 Thread Marco Tedone
Hi, I just changed my configuration from two separate bundles (Jboss + Tomcat) to one unique one. I have few questions, as the configuration is not exactly the same: 1) What is now the path for CATALINA_HOME? 2) How do I deploy now applications that before I was deploying under CATALINA_HOME/weba

Re: [JBoss-user] Clueless on transactions

2003-11-11 Thread harm
I'm not sure... But once I put an @ejb.transaction="Required" on all setXXX methods of my Entity bean. This made sure that only setters are in the transaction. When looking up values there will we no transaction used... Am I right about this? Regards, Harm de Laat Informatiefabriek The Nether

[JBoss-user] How to limit the the number of records (Objects) a select returns

2003-11-11 Thread jbosspercy
Title: Message I am using jboss-3.2.2RC1_tomcat-4.1.24 backed by a MySql database. In the MySql SQL I can limmit the number of rows retrieved by a SELECT steatment by a LIMIT clause How can I limit the number of objects in a collection (of a findAll for example) when possebly huge amounts of

[JBoss-user] Virtual Directory creation for Jboss

2003-11-11 Thread Ivaturi,Srinivas
Hi I am able to create the Virtual Directory for my application in Tomcat in Server.XML. But I am deploying my application as WAR in JBOSS. So my WAR cannot talk to Tomcat Server.XML file. Now I have to crate a Virtual Directory in Jboss related XML file. If anyone knows please help me in this.