I run my application on JBoss 2.4.4 and Tomcat 4.0.1, running JBoss ant
Tomcat separately (i didn't manage to run the bundle), and everything works
right.
Now I've tried to migrate to JBoss_2.4.7-Tomcat_4.0.4. I deploy my app, run
the bundle, and then try to access to my app, but all I get is an
Hello all,
How would a session bean obtain datasource specified in user
jbosscmp-jdbc.xml ?
TIA,
Jason Uithol
Data Technologist
DatacodeX Pty Ltd
[EMAIL PROTECTED]
http://www.datacodex.com
---
This sf.net email is sponsored by:ThinkGeek
Caf
Hello Sven,
you have to declare resource-ref in jboss-web.xml. The excerpt from
jboss-web_3_0.dtd explains:
The same is right for jboss-web.dtd.
alex
Thursday, July 04, 2002, 1:33:01 AM, you wrote:
SK> I have an web application that is looking up DataSource's like they are
SK> provided in To
Hello all,
I cannot find the JBoss API Javadocs.
Do I need to build them myself ?
Jason Uithol
Data Technologist
DatacodeX Pty Ltd
[EMAIL PROTECTED]
http://www.datacodex.com
---
This sf.net email is sponsored by:ThinkGeek
Caffeinated so
it looks like you have declared ejbql that has ">=" in it, which according
to the compiler is not allowed...
hth
dim
- Original Message -
From: "conrad" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 03, 2002 9:00 PM
Subject: [JBoss-user] Find method
> Hi
>
> I'm usi
This is a bug in 3.0. It has been fixed in 3.0.1.
-dain
[EMAIL PROTECTED] wrote:
> hi,
>
> i'm working with an object were two objects refer to each other. i.e.
>
> public abstract class Type implements EntityBean {
> /* snip */
> public void ejbPostCreate(String name) thr
hi,
i'm working with an object were two objects refer to each other. i.e.
public abstract class Type implements EntityBean {
/* snip */
public void ejbPostCreate(String name) throws CreateException {
TypeLocal type = null;
ResourceLocalHome resourceLom
I wish I could send you a nice ant task to do it automagically - I
haven't got one.
I can send you this though.
I have just fixed up the JBoss website to precompile JSPs.
This is a diff showing the code I added to the build.xml
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/website/cont
I have an web application that is looking up DataSource's like they are
provided in Tomcat[1]
The app tries to look them up like this:
Context initCtx = new InitialContext();
Context envCtx = (Context) initCtx.lookup("java:comp/env");
DataSource ds = (DataSource)envCtx.lookup("jdbc/MyDS");
I h
I have no plans on back porting the changes, as they depend on other
changes that are only in HEAD (it would probably take 2-3 days to
backport). I expect to see a 3.1 beta fairly soon.
-dain
Eric Kaplan wrote:
> I just happened to get this same thing today (ClassCastException). Any ETA
> on
I just happened to get this same thing today (ClassCastException). Any ETA
on when it
will be fully incorporated in a new release of jboss? Sorry if you answered
this, but
there were a lot of messages around this topic.
Eric
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PRO
Ah, Ok, I hadn't seen that.
So, I guess it stops the discussion on HEAD.
Thank you for these changes Dain, it is a lot more clear like that now!
Cheers,
Sacha
> -Message d'origine-
> De : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]De la part de Dain
I rewrote all of the exception handling earlier this week. The new code
follows:
// We inherited tx: Tell caller we marked for rollback only.
if (isLocal)
{
throw new TransactionRolledbackLocalException(
cause.getMessage(),
(Exception)cause);
}
else
{
TransactionRoll
Dain,
I just meant that the way things are handled now is not good at all because
we miss very good (critical) debugging information.
Now, as for the submitted patch, I agree: it is ugly ;), not fixed at the
good place and don't do the good job.
I was only focusing on the issue, not on the patc
Yes Dain,
But if you take a look at the code that is involved, you will see that in
the Tx interceptor, the exception is wrapped in a ServerException and the
source exception is simply forgotten:
throw ex;
}
// OSH: Should this be wrapped
I had the same problem with IBM JDK. Try JDK from jrockit.com.
.anil
Alex Loubyansky wrote:
> Hi guys,
>
> I am linux newbie. I can't run jboss on RedHat7.2. Probably, I'm
> missing something obvious, but not for me :)
>
> So, RedHat 7.2, JBoss-3.0/Jetty, IBMJava2-131. I am trying to run it
> a
Title: RE: [JBoss-user] java.rmi.ServerException: null
So what's the magic change to log4j.xml that I set
to get a stack trace in this case? I've seen this too.
Tx!
JD
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 03, 2002 9:58 AM
To:
I have an app (ear war whatever) that I wish to deploy periodically. The app
has to have some external configuration inf (let's say some ip addresses,
names etc). This would be analagous to windows ini files, or the registry.
The goal being that sending another app will have those old settings
http://sourceforge.net/tracker/index.php?func=detail&aid=562036&group_id=22866&atid=376687
On Wed, Jul 03, 2002 at 04:20:34PM +0200, Sacha Labourey wrote:
> Which patch?
>
> > -Message d'origine-
> > De : [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]De la part de
> > [EMAIL PROTECTED]
Sorry I just read that the other post said to make
sure that the JBoss/client directory was on the
classpath. I realize that I need it to point to my
apps directory so that is can find the classes it is
just that I wasn't sure that something was being
generated in that directory that I needed in m
What does it mean, if I see in my trace the following line:
INFO [LocalTxConnectionManager] getManagedConnection returning unassociated
connection
If I look at the code then this happens, if the statement below returns
null.
synchronized (txToManagedConnectionMap)
{
Ive been getting similar errors recently (with a proprietary resource
adapter). The only thing I've tried that's worked is to switch to JRockit,
which crashes on shutdown, but less frequently.
david jencks
On 2002.07.03 10:24:10 -0400 Javier A. Soltero wrote:
> Hi,
>
> I've been having a stran
Hi,
these are the last lines of my server.log. No stacktrace.
= ERROR =
2002-07-03 15:52:41,388 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreEntityCommand.guestbook/Sequence]
Create: Rows affected = 1
2002-07-03 15:52:41,397 INFO [STDOUT] After NEXT
CooL!
Deadlock Detector in Java HotSpot VM
A deadlock detection utility has been added to the Java HotSpot VM. The
utility is invoked by a ctrl+\ (on Linux or the Solaris Operating
Environment) or a ctrl-break (on Microsoft Windows) on the command line
while an application is running. The utility
Hi,
I've been having a strange problem with 3.0 recently where as its
deploying my EJB's the VM crashes and puts JBoss in a state where even a
restart/redeploy doesnt solve the problem. I have attached the stack
trace below. The beans are all entity beans which are pointed at a
Postgres 7.2 d
Which patch?
> -Message d'origine-
> De : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]De la part de
> [EMAIL PROTECTED]
> Envoyé : mercredi, 3 juillet 2002 16:14
> À : [EMAIL PROTECTED]
> Objet : Re: [JBoss-user] java.rmi.ServerException: null
>
>
> Not to me either. Therefore I made a
Not to me either. Therefore I made a patch, but Scott Stark refused to apply it. He
said that it was passible to get a better stacktrace by changing log4j.xml, but would
unfortunately not set that as default :-(
On Wed, Jul 03, 2002 at 03:02:09PM +0200, Michael Delamere wrote:
> thanks,
>
> u
Make sure you kill all java processes before starting jboss. (ps -A to
display everythying and then kill -9 *pid*)
Then
chown jboss -R $JBOSS_HOME
chgrp jboss -R $JBOSS_HOME
chmod g+s $JBOSS_HOME
This way you will be able to start jboss as jboss user as well and when you
deploy ears as yourself
Currently I'm using container managed transaction in my bean.
The business method includes a
getConnection()
do something
close() connection (-->event listener is notified)
and then I expect a commit(), but in
org.jboss.ejb.plugins.TxInterceptorCMT.java:line 189 a rollback is forced
(see below).
This looks like a bad query and not a bug (that has been fixed). The
error says that you are trying to use the >= operator to compare two
things that do not support the the >= operator. The only type that
supports the >= operator is arithmetic (short, int, long, float, double
and the primiti
What is the stack trace? Is this the exception you are getting in a
remote client? If so, Java does not sent the stacktrace over the wire
(I hear that 1.4 fixes that). The stacktrace should be written in the
server.log file (on the server).
-dain
Michael Delamere wrote:
> thanks,
>
> unfo
No, we are happy using Jetty, but we need a better way of developing. That's all I'm looking for.
As Jasper is the JSP compiler, is it easy to make an ant task to compile the source using Jasper?
Ciao,
Jonathan O'Connor
Ph: +353 1 872 3305
Mob: +353 86 824 9736
Fax: +353 1 873 3612
Greg Wilk
Hi guys,
I am linux newbie. I can't run jboss on RedHat7.2. Probably, I'm
missing something obvious, but not for me :)
So, RedHat 7.2, JBoss-3.0/Jetty, IBMJava2-131. I am trying to run it
as a root. I chown'ed jboss and jdk to root. And I get exceptions
complaining to open a zip file. The except
Hello conrad,
it's fixed in cvs for 3.0 and upper, AFAIK.
Wednesday, July 03, 2002, 2:00:50 PM, you wrote:
c> Hi
c> I'm using JBoss-3.0.0_tomcat-4.0.3 and xdoclet 1.1.2 and sometimes during deploying
I got following
c> error:
c> org.jboss.deployment.DeploymentException: Error compiling ejbq
thanks,
unforunately the error message doesn´t tell me very much :-) !
Regards,
Michael
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 03, 2002 2:21 PM
Subject: Re: [JBoss-user] java.rmi.ServerException: null
> It is a runtime exception
Hi,
I try do integrate a LDAP-Server as external context into the JBoss 3.0.0 Server.
I create a new Service (ldap-service.xml) like this:
external/ldap/test
file:///opt/jboss-3.0.0_tomcat-4.0.3/server/myserver/conf/ldap.properties
javax.naming.ldap.InitialLdapCo
On Wed, 3 Jul 2002, Allan Kamau wrote:
> Ive tried deploying entity beans that I had written
> following the EJB 2.0 specification, where I dont
> explicitly define the bean class fields/cmp fields but
> rather define only the abstract set/get methods for
> the class variables.
It works for me
Please provide your code. Check that your *class* is also abstract:
public abstract class MyCMPBean ...
> -Message d'origine-
> De : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]De la part de Allan Kamau
> Envoye : mercredi, 3 juillet 2002 14:11
> A : [EMAIL PROTECTED]
>
The xids are used so the JTA tx manager can control the local transactions
in the adapter. The LocalTXConnectionEventListener translates the JTA
calls using an xid into appropriate calls on the LocalTransaction. Here,
it's checking to see it the calls are coming from the correct JTA
transaction/
It is a runtime exception (like nullpointer, indexoutofbounds etc) happening in your
bean.
On Wed, Jul 03, 2002 at 01:48:13PM +0200, Michael Delamere wrote:
> Hi,
>
> When accessing my entity bean via my stateless session bean I get the
> following error:
>
> =
Thanks Torsten, so I'm not crazy. Same configuration is a problem for me.
Eric
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Torsten Terp
Sent: Wednesday, July 03, 2002 1:59 AM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] is coding a bean truly ind
Jules,
Your answer is truly socratic! What we really want to do is to pre-compile the JSPs before deployment and check for syntax errors. Our build-deploy-test cycle is slow enough as it is without adding syntax errors in our JSP to the pot.
We are moving over from netbeans to Eclipse, so any IDE
Hi JBoss users,
I have a problem with JCA and Transactions.
I'm using JBoss3.0.1.RC1 and my own JCA-Local-Transaction-Resource-Adapter.
My problem is, that neither commit nor rollback works. I always get the
exception that "wrong xid in rollback/commit" expected null got
When looking at the
Hi
I'm using JBoss-3.0.0_tomcat-4.0.3 and xdoclet 1.1.2 and sometimes during deploying I
got following
error:
org.jboss.deployment.DeploymentException: Error compiling ejbql; - nested throwable:
(org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered ">=" at line 1, column 81.
Was expect
Aleksander.
Until last Friday, I was a netbeans user, but the whole IDE is so slow. It also has a huge footprint. I've been looking at Eclipse since then, and I'm very impressed. Its fast, no pauses for GC, or anything like that, and the Java plug in is terrific. I get proper refactoring support,
45 matches
Mail list logo