Hello Boris,
I guess, it's MySQL problem. I haven't got MySQL handling rollbacks
and even don't know whether it's able to do it.
Tuesday, May 21, 2002, 5:29:54 AM, you wrote:
BT> Jboss 3.0.0RC3
BT> Database Mysql with jdbc driver mm.mysql-2.0.13-bin.jar (that included in
BT> lib directory of jb
> It looks like like you have to set a correct commit option and
> transaction type as was stated by Stephen.
>
> It should help: http://www.jboss.org/online-manual/HTML/ch07s16.html
If my understanding is wrong here, I'd appreciate it if someone could correct me
but, from the spec (EJB 1.1
> yes, at step 6 I see the new object. What´s more peculiar is that when I
> change an exsiting entry using phpMyAdmin that _does_ show up! It´s only
> when adding a _new_ record manually that the change doesn´t appear.
from that I'd suggest that you're using commit option B or C (or a very sma
Hi,
again, thanks for your time. Somebody else mentioned the pool size when I
mentioned an error I was getting which said
" The Pool for com.morelogs.guestbook.beans.gbEntryCMP has been overloaded.
You should change pool parameters."
I don´t know what the optimal pool settings are. In my msql
Hello Michael,
not that pool :) There is a pool for beans. Look at standardjboss.xml.
You'll find container-configuration there for different beans. There
are settings for pool management. Also read online docs.
alex
Tuesday, May 21, 2002, 11:27:32 AM, you wrote:
MD> Hi,
MD> again, thanks for
Thanks,
I think I?ll have to do _lots_ of reading :) because that file is huge!
Regards,
Michael
- Original Message -
From: "Alex Loubyansky" <[EMAIL PROTECTED]>
To: "Michael Delamere" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, May 21, 2002 10:29 AM
Subject: Re[2]: [JB
Hello Alex,
This http://www.innodb.com/howtouse.html says it's possible :)
Good luck,
alex
Tuesday, May 21, 2002, 10:15:02 AM, you wrote:
AL> Hello Boris,
AL> I guess, it's MySQL problem. I haven't got MySQL handling rollbacks
AL> and even don't know whether it's able to do it.
AL> Tuesday,
On Thu, May 16, 2002 at 07:42:38PM -0400, David Jencks wrote:
>
> Basically we decided that we would initially support visibility between
> deployment packages with hot-redeploy, since this is a feature previously
> unavailable anywhere as far as I know.
How do you go about using this? One of m
Hi,
How I can access a database from a connection ?
Looking at the j2ee connector spec I can find the
first steps to do this connection are :
Context initctx = new InitialContext();
ConnectionFactory cfx = (ConnectionFactory)
initctx.lookup("java:/DefaultDS");
javax.resourc
Hello Andre,
Tuesday, May 21, 2002, 3:47:57 PM, you wrote:
AS> Hi,
AS> How I can access a database from a connection ?
AS> Looking at the j2ee connector spec I can find the
AS> first steps to do this connection are :
AS> Context initctx = new InitialContext();
javax.sql.DataSource d
___
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
___
JBoss-user mailing list
[EMAIL PROTECTED]
http
There are 2 halves to the jca spec. We use the spi half for everything.
For a database we do not use cci but rather jdbc
javax.resource.cci.ConnectionFactory replaced by javax.sql.DataSource
javax.resource.cci.Connection replaced by java.sql.Connection
There are a couple of jca wrappers around
Scott,
Thank you very much for this! A few questions/requests, though:
1) In your document, you state (concerning the WAR Loader):
"The WAR Loader is a servlet container specific ClassLoader that
delegates to the Web ENCLoader as its parent class loader. The default
behavior is to loa
On Tuesday, May 21, 2002, at 10:27 AM, Michael Delamere wrote:
> Hi,
>
> again, thanks for your time. Somebody else mentioned the pool size
> when I
> mentioned an error I was getting which said
>
> " The Pool for com.morelogs.guestbook.beans.gbEntryCMP has been
> overloaded.
> You should ch
Hi,
I guess you are using CMP, and moreover I guess you are on JBoss3... (Your
OS and JDK I can't really guess). So what you can do is modify the
JDBC-mapping to store your java.lang.Object/String/whatever to a specific
database type (Is there a xml-type in Oracle??)
On the other hand, if you are
I am getting the very same error message in a very similar use case. The only
difference I can see is that all the methods of the offending bean are set to
'Required' rather than 'RequiresNew'. The error occurs when I try to call
the get methods of the bean through a local interface in a sess
1) In the old 2.4 jboss.jcml, we would set this attribute for the
org.jboss.tm.TransactionManagerService mbean:
oracle.jdbc.xa.OracleXid
I don't see a place for this any more in oracle-service.xml in
jboss-3.0.0RC3. Is this not needed anymore? If it *should* be used,
where in what file should
Hi, I guess this has been on this list 1000 times...
create a directory named
$JBOSS_HOME/server/default/deploy/.ear and lay out your
application as it would in the ear...
Regards,
Burkhard
- Original Message -
From: "jelmer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, May 19
On 2002.05.21 10:47:27 -0400 David Ward wrote:
> 1) In the old 2.4 jboss.jcml, we would set this attribute for the
> org.jboss.tm.TransactionManagerService mbean:
> oracle.jdbc.xa.OracleXid
> I don't see a place for this any more in oracle-service.xml in
> jboss-3.0.0RC3. Is this not needed any
MyISAM
Thanks,
Michael
- Original Message -
From: "Stefan Arentz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 21, 2002 4:41 PM
Subject: Re: [JBoss-user] Server log in JBOSS3.0RC2
>
> On Tuesday, May 21, 2002, at 10:27 AM, Michael Delamere wrote:
>
> > Hi,
> >
> >
Yes,
I did. Strangely enough it worked after updating to struts 1.1!
Thanks,
Michael
- Original Message -
From: "James Ward" <[EMAIL PROTECTED]>
To: "Michael Delamere" <[EMAIL PROTECTED]>
Sent: Tuesday, May 21, 2002 4:51 PM
Subject: RE: [JBoss-user] error when redeploying ear file
>
I use ant so only the changed class files are being copied over, and
"no", the new changes are not being noticed. I'm developing using a
file structure rather than an EAR file for easy updating of bits and
bobs, if that sheds any light.
BTW, does the hot-redeploy completely remove the app and red
A complete redploy. Touch the META-INF/application.xml descriptor
to redeploy.
Scott Stark
Chief Technology Officer
JBoss Group, LLC
- Original Message -
From: "Simon Stewart" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May
Simon Stewart wrote:
> I use ant so only the changed class files are being copied over, and
> "no", the new changes are not being noticed. I'm developing using a
> file structure rather than an EAR file for easy updating of bits and
> bobs, if that sheds any light.
Try 'touch'ing the descriptor
Title: RE: [JBoss-user] Rollback failed
I think MySQL uses ISAM tables by default which don't support
transactions (and therefore don't support rollback). If you
use INNODB tables with MySQL you should be able to do transactions
and rollback.
JD
-Original Message-
From: Alex Louby
Thanks Justin for sharing the pain. I thought I was alone.
I am very interested to see the source where you have duplicated this issue.
I would like you to also include your ejb-jar.xml sections. If I can find
the exact situation, I may be able to come up with a test case, a work
around, or
Ahhh Light dawns. Curiously, I get a ClassCastException when I
redeploy a previously working app by touching the application.xml. I'm
using CMP 2.x and attempting to get hold of a LocalHome object. Not a
line of code has changed, and nothing else has been touched.
This using the JBoss 3RC3 an
Jon,
Here is the original forum post that I found that talks about the same error
in a similar case:
http://main.jboss.org/forums/thread.jsp?forum=47&thread=11678
they talked about messing with the AutoCommit property of the oracle driver.
I'm not sure if our problems are related to this or no
Just curious where you are getting the ClassCastException. In particular,
where are you getting a reference to the object that triggers the exception?
[Probably JNDI, but I'm just asking...]
Note that a class 'Foo' loaded from classloader A and the "same" class 'Foo'
loaded from classloader B ar
Thanks, Justin, for the quick response. I had hoped that there would be
simularities between the two issues, but I don't see any other than the error
message. I am using PostGre on the same machine as JBoss. I have other code
that does something very simular to yours without issue. I guess
I find that I get a ClassCastException after a redeploy when trying to
obtain a local session ejb whose interface I had stored in the http
session. I don't know if this is correct behavior or not, but it hasn't
really been a problem for me, so I haven't worried about it.
On 3.0RC2, if it matters
Its expected if this is a session in web app outside of the redeployed
ear. It should not happen if the web app is part of the ear as no
sessions should survive.
Scott Stark
Chief Technology Officer
JBoss Group, LLC
- Original Message -
Fr
Well Justin, I have solved the issue, although I think this may qualify for a
bug. Basically, it boils down to returning null in a custom finder. I
couldn't find documentation on implementing a custom finder in which a single
record was returned instead of a Collection. The method signiture
Simply add the flush attribute to your include tag...
This however gives rise to another problem in that you cannot flush if you
are inside a custom tag (i.e. a tag that wraps around the jsp:include tag).
Jonathan
-Original Message-
From: Mahesh Agarwal [mailto:[EMAIL PROTECTED]]
Sent:
Hi Mahesh,
MA> I am facing this error, can anyone please help me out solving this.
It looks like you have forgotten to set the flush attribute. Use something
like this:
so long
Ingo Bruell
---
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
OldenburgPGP-Fingerprint: CB01 AE12 B359 87C4 BF1C
Hi All
I am facing this error, can anyone please help me out solving this.
Thanks a lot
Mahesh
org.apache.jasper.compiler.CompileException:
C:\JBoss-2.4.4_Tomcat-3.2.3\tomcat\webapps\zeborg\jsp\zeborg\buyer\MarketSum
mary.jsp(76,36) jsp:include needs to have "flush=true"
at
org.apache.
I have been using JBoss and Tomcat 4.0.3 standalone for a number of months now. In
order to connect from the servlet to JBoss I use the following:
Properties props = new Properties();
props.setProperty(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
props.setProperty
You need the client/jnet.jar
Scott Stark
Chief Technology Officer
JBoss Group, LLC
- Original Message -
From: "Jon Swinth" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 21, 2002 4:09 PM
Subject: [JBoss-user] RC3 breaks Tom
Do not email jboss-dev on these issues.
Anyways. -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> Mahesh Agarwal
> Sent: Tuesday, May 21, 2002 6:09 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: [JBoss-dev] "flush=true"
>
>
> Hi All
I've got a little design question:
My EJBs need to call out to a singleton object running as an RMI server.
Because the RMI singleton needs to initialize itself with EJB data, it's
already an application client.
I'm wondering:
Can I bind my RMI object into JNDI, and dispense with the rmiregistr
Hi,
I was able to use Firebird to store data from a
Entity bean using Container Manager Persistence on a
Linux plataform.
But when I copy this same EJB project to a plataform
with Windows 2000 and Firebird I am not able to get
the connection.
There are something I need to know ?
I am us
Hello -
I'm wondering where I might find a basic Jboss 3.0 how-to type README
file which explains basic stuff like how to set up my environment
variables for the jboss-3.0.0RC1_tomcat-4.0.3 release.
I'm also trying to find some very simple sample applications which
illustrate how to package
Visible as in the JBoss classloader can find
it. The class is in the JBoss classpath somehow, either in the jar with
the EJB, in lib/ext, or in JBOSS_CLASSPATH or a classpath extension.
Definition is complete means that you don't get any warnings about undefined
exceptions, etc.
- O
I have never tried the FBManager on windows. Is the .gdb file created
properly? Can you access the windows db with isql?
It's hard for me to help much with windows since I don't use it. Some
people have succeeded in at least running the firebird driver in windows,
I'm not so sure about with jb
44 matches
Mail list logo