I had
this same problem. Try changing the order of your declarations in the
web.xml file. For me, the problem went away when I move the security
section to the very end of my web.xml file.
One
thing I noticed in the log file is that it appears that you have six tag
libraries listed in
Bill,
I have a fairly complicated application successfully working on JBoss 2.2.1.
My application uses struts and cmp beans. I can give you information about
how I package my ear file, but if you tell me which classes the system is
having trouble finding, I can give a more specific answer.
-dain
I had
this problem also. It appears that Jasper (the JSP page compiler) requires
that all classes used in page compilation be located in web-inf/classes or in a
jar in web-inf/lib. This is retarded, but it works. My EJBs don't
use struts so I only include in the lib directory, but I have
Vishal,
I think Guy is suggesting that you switch your architecture it a Servlet
centric model (a.k.a Model 2). Although this architecture is far superior to
a JSP centric model, it is more complicated. As long as your application
will ALWAYS remain small stick with your JSP centric approach. If
(SimpleRealm
JbossRealm JDBCRealm).
5. Add your users to JBoss
I hope I didn't leave out any steps. If you find any bugs or have any
enhancements, please email me.
-Dain Sundstrom
package com.hypothermic.security;
import org.apache.tomcat.core.Request;
import org.apache.tomcat.core.Response;
i
Thomas,
I noticed another bug in the code you sent. Although what you have (with the
suggested changes) will most likely work in JBoss, it is not compliant with
the EJB specification. In the EJB 1.1 Specification section 5.9 on page 47
is the following:
A client program that is intended to be in
I have made some minor changes since I last posted the code.
Dain Sundstrom
Recently, I have seen several posts asking how to integrate Tomcat and JBoss
security. The current JBossRealm requires you to add users to both the
t
or how does jboss know which db and tables to use?
anil
Dain Sundstrom wrote:
> Last month I sent the following message, which details how I integrated
the
> Tomcat and JBoss security systems. Scott Stark has written a new JBoss
realm
> that work similar to mine. His new JBoss realm is av
Norton,
I had this same problem. The code you are running into follows:
Object one, two;
try {
one = cls.newInstance();
two = cls.newInstance();
try {
if(!one.equals(two)) {
status = false;
fireSpecViolationE
Options.
Dain Sundstrom
-Original Message-
From: Vineet Bhatia [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 18, 2001 1:37 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [JBoss-user] Running JBoss as a Service on Windows NT/
Thanks!!
A slightly off-topic question - Will JBoss run any slo
You can use JNI to access any Java code from C. I have used it in the past
and found it easy to use. There is now a book on JNI "Essential Jni : Java
Native Interface."
Alternatively, you can use Corba, or you can pay IBM or Oracle a lot of
money use their commercial message que
Behalf Of awc
|Sent: 18 May 2001 22:01
|To: [EMAIL PROTECTED]
|Subject: Re: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB =>
|JAAS Authentiaction
|
|
|OK, so this pipes into to what ever you have set up.
|Tks for the clarification.
|
|anil.
|
|Dain Sundstrom wrote:
|
|> Anil,
|
jboss.xml
file, to really test your application. If you would like to know more about
the commit options read the EJB spec (in the 2.0 spec it is section 10.5.9).
Dain Sundstrom
> -Original Message-
> From: Pelle Poluha [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 29, 2001 5:2
(I may have mistyped something). If this represents
the end of the world for you, you could convince me to fix jaws, but it will
just make the CMP 2.x stuff take longer.
Dain Sundstrom
> -Original Message-
> From: Pelle Poluha [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 29, 2001 5
time).
JBoss, like most EJB servers, has an optimized mode which does not serialize
parameters on remote interfaces, where the objects are collocated in the vm.
So the authors are right in the general sense, but wrong for most EJB
servers.
Dain Sundstrom
> -Original Message-
>
Wei-ju,
The methods should be ejbCreate(...) and ejbPostCreate(...), and your
primary key must be an object not a primative, EJB 2.0 pfd3 section 9.8
(i.e., Long instead of long).
Dain
> -Original Message-
> From: Wei-ju Wu [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, July 08, 2001 5:09
As I modify the JBossCMP code should I change the logging over to use log4j
directly or should I leave the code logging via the JBoss log layer?
If I should switch to direct log4j, how do we categorize the logs? I was
thinking jboss.ejb.plugins.cmp.. or some thing
like that. This way I could tur
EJB 1.1 Spec Section 18.1.2 item 3:
An enterprise bean must not use the java.io package to attempt to access
files and directories in the file system.
Your code will not run on any EJB server, and likely crash most EJB servers.
-dain
- Original Message -
From: "Saint-Martin Cecile" <[E
That is not true. This is CMP 2.0 your bean class must be abstract. The
problem is you have:
public LocalStudent create(String id, String name)
throws CreateException;
in your home so you must have the following in your bean impl:
public String ejbCreate(String id, String name)
> According to this article
>
http://developer.java.sun.com/developer/technicalArticles/ebeans/ejbmigrate/
?frontpage-jdc
> an EJB 2.0 CMP bean implementation class must be abstract, will it
> work in JBoss?
Yes.
> As I understand it JBoss does not generate "wrapper" class instead
> it uses th
You can use JBoss 3.0 and the new JBossCMP 2.0 plugin. Just create an ejb
2.0 jar and set the cmp-version of your bean to 1x (may be 1.x look it up in
the spec). Then the new jbosscmp-jdbc.xml file options are available,
including field level read only columns.
This probably doesn't help you,
David,
I'm not sure if you know, but CMP 2.0 in JBoss 3.0 supports field level
read-only. In my first implementation of CMP 2.0 I used the absence of a
getter or setter to signify that the field was read-only or write-only, but
the EJB 2.0 spec requires that a cmp field must have both a getter an
emote interface if I
don't want anyone to have programmatic access to it.
BTW, a (probably annoying) question: when is JBoss 3 guestimated for
release?
Thanks yet again,
David
--
Dain Sundstrom wrote:
> David,
>
> I'm not sure if you know, but CMP 2.0 in JBoss 3.0 suppor
JBoss 3.0, which is currently only available in source from cvs. There is
no scheduled release for 3.0 yet, and all I know is "soon".
-dain
> -Original Message-
> From: Yong T. Kim [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 19, 2001 2:05 PM
> To: [EMAIL PROTECTED]
> Subject: [J
I agree with Fred.
When I run into this type of error, I find it helpful to use reflection to
print out all of the super classes and implemented interfaced of the object
(o in this case).
-dain
> -Original Message-
> From: Fred Loney [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 2
look in org.jboss.metadata.ApplicationMetaData we match on the start of the
publicID. This sets a flag marking the app as ejb 2.0. Later in the cmp
plugin this flag is checked and the jbosscmp-jdbc.xml file is loaded. If
you really want to track down the location of the file load grep the
metadat
look at org.jboss.ejb.plugins.CMPPersistenceManagern line 160. You obviously
don't have a matching ejbPostCreate method.
> -Original Message-
> From: Hunter Hillegas [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 29, 2001 6:41 PM
> To: JBoss 2
> Subject: [JBoss-user] CMP 2 Bean Deploy
You are wrong. If you are using JBoss 2.4, read the section "Advanced
options for declared finders [since JBoss 2.4]" in Chapter 6. If you are
using CMP 2.0, add the option true in the defaults
or entity section.
-dain
> -Original Message-
> From: Frank Morton [mailto:[EMAIL PROTECTED]
When was the last time you updated the code. I fixed a bug in that code on
the 20th. The bug only appeared with self relations.
This is an internal error and signifies a programming bug on my part. Just
for your info, what is going on is each side of the relationship (each
entity) has an objec
It is perfectly legal in Java to implement more then one interface.
> -Original Message-
> From: Juergen Fiedler [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 13, 2001 11:41 AM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] Making EJBs comparable
>
>
> Hi,
>
> I would like to p
Yep. As a rule you can always have many interfaces.
>
> And is that legal? I was under the impression that interfaces, like
> classes, can only extend one interface.
>
> Thanks,
> j
>
> On Wed, Nov 14, 2001 at 05:48:37AM +1100, Dmitri Colebatch wrote:
> > You would actually need the remote/ho
If security allows, you
can get some variables with
System.getProperties("user.home"). The
problem is the EJB spec does not allow EJBs to perform any IO. I think it
is ok for a Servlet, but I am not confidant.
-dain
-Original Message-From: Edson Carlos Ericksson
Richter [mai
The reason we can not use a primary key that is automatically assigned in
the database has to do with the limitations of the JDBC drivers. Until JDBC
3.0 there was no way to know the final value of the auto generated columns
in a INSERT statement, so there would be no way to know the key for the
This is a bug in the EJB-QL parser. I was making a check against only the
known abstract schemas and not the known collection valued identifiers.
-dain
> -Original Message-
> From: Hunter Hillegas [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, November 25, 2001 5:09 PM
> To: JBoss 2
> Subjec
Geoffrey,
Buy a day's worth of consulting from the JBoss Group and I'm sure they can
get the optimized stack working for you application. Otherwise, profile the
app yourself and see what is taking 90% of the time. I promise you it will
be in the serialization code.
-dain
> -Original Messag
No, I'm in the middle of a major reorganization of the code? Maybe later
tonight.
-dain
> -Original Message-
> From: Hunter Hillegas [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 27, 2001 5:37 PM
> To: Dain Sundstrom; JBoss 2
> Subject: Re: [JBoss-user] EJB
xception e) {
throw new ServletException(e.toString());
}
-dain
> -Original Message-
> From: Hunter Hillegas [mailto:[EMAIL PROTECTED]]
> Sent: Monday, November 26, 2001 2:21 PM
> To: Dave Smith
> Cc: Dain Sundstrom; JBoss 2
> Subject: Re: [JBoss-user] Re: [JBoss-dev
Try it out. It should be fixed now.
-dain
> -Original Message-
> From: Hunter Hillegas [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 28, 2001 4:19 PM
> To: Dain Sundstrom; JBoss 2
> Subject: Re: [JBoss-user] EJB QL Help
>
>
> Very cool. I don't m
If you are attempting to do this from the web container (jsp, servlet), you
need to package your application into an ear.
-dain
> -Original Message-
> From: Jozsa Kristof [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, December 02, 2001 3:16 AM
> To: Dmitri Colebatch
> Cc: [EMAIL PROTECTED]
>
The old how-to that was included in the free JBoss manual was very buggy and
outdated, so I removed the link. You can find the docbook source for the
old how-to at:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/~checkout~/jboss/manual/src/x
docs/howto/howtocmp2.xml?rev=3.0&content-type=text/pla
This is caused by jasper invocation of javac. Javac is invoked with a
command line classpath option, which only includes the classes in the war.
They way you fix it is to include your application-ejb-client.jar in both
places. You MUST set the manifest.mf classpath option to load the
application
ng on. I do know it is very simple, but
the ejb spec is to den
> >
> >> From: Dain Sundstrom <[EMAIL PROTECTED]>
> >> Date: Tue, 27 Nov 2001 18:24:02 -0600
> >> To: "'Hunter Hillegas'" <[EMAIL PROTECTED]>, JBoss 2
> >> <
ng on. I do know it is very simple.
-dain
> -Original Message-
> From: Hunter Hillegas [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 28, 2001 3:05 PM
> To: Dain Sundstrom; JBoss 2
> Subject: Re: [JBoss-user] EJB QL Help
>
>
> Wow, the new code does seem to p
CMP 2.0 is only in JBoss 3.0. I think that the docs are worth money, but I
wrote them.
-dain
> -Original Message-
> From: Niall Keane [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 11, 2001 9:41 PM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] CMP 2.0 Support in 2.4.x ?
>
>
RTFM
Chapter 3 http://www.jboss.org/online-manual/HTML/ch03.html
-Original Message-From: Rama Rao
[mailto:[EMAIL PROTECTED]]Sent: Thursday, December 13, 2001 11:25
PMTo: [EMAIL PROTECTED]Subject:
[JBoss-user] Data Base Configuration in JBoss 3.0
Hi All,
Could any body ex
I
would say definitely yes, but you will get a better response asking this on the
online forums. There are several places running massive systems like
this. What time frame and version will you be targeting. If you are
planning to use JBoss 3.0, you should ask some questions in the cluste
I personally find the forums tedious to read, so I end up reading them less
often. As a result less cmp 2 questions get answered. I also loose
messages in the forum because it does not track which messages I have read.
-dain
> -Original Message-
> From: Lennart Petersson [mailto:[EMAI
I didn't mean to start the mailing list vs. forum discussion again. I was
just stating how the change affects me. Marc has made a decission and he is
unlikely to change his mind.
-dain
> -Original Message-
> From: Bordet, Simone [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 20,
It should return a collection. If you are using JAWS, you don't need to
configure anything. If you are using JBossCMP (CMP 2.0), you don't need to
declare anything either, but I will be changing this soon to be an error.
The EJB 2.0 spec requires that every query to have a declaration in the
ejb-
Title: RE: [JBoss-user] Frequent calls to ejbStore
Jochen,
The problem is that you are not accessing your entity from within a
transaction, so the container creates a new transaction each time you call
your entity and commits the transaction before returning. Either call
your entity from
Title: RE: [JBoss-user] Frequent calls to ejbStore
"... not only is ejbStore called
after every method invocation, but ejbLoad is called
before every invocation too! " ... didn't happen in my
case.
Interesting ... I saw very much the same thing w/
the exception that every
> the main reason we looked at castor was the
> shared access on
> query results, so I could have two "findAll" methods running,
> and if they
> were both read only, there would be no lockouts. This to me
> is the biggest
> disadvantage of entity beans as they currently stand, I for
> one don
It think the problem is that it all depends on the configuration of JBoss.
JBoss uses a micro kernel architecture, so to get just the kernel started
requires very little hardware (much less then a vm). Starting the EJB
service also requires very little hardware. The real hardware requirement
are
CMP 2.0 is only in JBoss 3.0.
The full code examples are included in the CMP 2.0 docs.
-dain
> -Original Message-
> From: Steve Knight [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 16, 2002 10:14 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [JBoss-user] CMP2.0 Example
>
>
> I was
Install cygwin on your 98 box, and run build.sh from the cygwin bash shell.
-dain
> -Original Message-
> From: Sacha Labourey [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 16, 2002 10:15 AM
> To: Steve Knight; [EMAIL PROTECTED]
> Subject: RE: [JBoss-user] Jboss build problems
>
Does the spec allow for this? If it does, I'll fix it.
-dain
> -Original Message-
> From: Carroll, Jason [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 16, 2002 8:08 AM
> To: '[EMAIL PROTECTED]'
> Subject: [JBoss-user] Problem using ejbSelect methods in
> ejbHome methods
> in 3.
Would you file a bug report on this?
-dain
> -Original Message-
> From: Carroll, Jason [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 16, 2002 11:04 AM
> To: 'Dain Sundstrom'; '[EMAIL PROTECTED]'
> Subject: RE: [JBoss-user] Problem using ejbSele
You are not setting the primary key fields in the ejbCreate method.
-dain
> -Original Message-
> From: Hand, Brian [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 16, 2002 10:59 AM
> To: '[EMAIL PROTECTED]'
> Subject: [JBoss-user] Problems in JBoss3.0 alpha in creating in
> EJBCrea
There is code in 2.4 and 3.0 for handling CBLOB and BLOB. If it doesn't
work submit a bug report at Source Forge.
-dain
> -Original Message-
> From: Thieme, Winfried [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 16, 2002 5:10 AM
> To: '[EMAIL PROTECTED]'
> Subject: [JBoss-user]
You are using the source from cvs tip, right? Yesterday, I checked in the
new read ahead code. This code supports read ahead on-find and read ahead of
relationships. This required a change in the read-ahead metadata. The new
read ahead xml is as follows:
on-load
500
gro
No,
just put your ear, war, or jar in the deploy directory and JBoss will bring it
up on startup.
-dain
-Original Message-From: Kris Kristensen
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, January 16,
2002 2:39 PMTo: Jboss-supportSubject: [JBoss-user]
Question about JBoss v
Question about JBoss vs. WLS
I should have mentioned that this particular
jar is not an EJB, it's an ordinary java application.
Cheers Kris
- Original Message -----
From:
Dain
Sundstrom
To: 'Kris Kristensen' ; Jboss-support
Sent: Wednesday,
You
have the wrong DOCTYPE in your ejb-jar.xml file. Therefore the server is loading
your classes with the JAWS persistence engine, which only supports cmp
1.1. Make sure you have the EJB 2.0 DOCTYPE. This is covered in the
JBoss CMP documentation which includes a full source
example.
-
Is there something fundamentally different about postgres "Large Objects"?
If they are just another data type, then change the sql-type of the column
you want to use the "Large Object". If it requires special handling of the
prepared statement or result set it is unlikely to happen (I try to avoi
It isn't that Entity beans are not designed to handle the error. The
problem that JDBC was not designed to handle this type of error. There is
only one exception in the java.sql package. There is no generic way to
determine the cause of a database error, so you will end up with database
specific
I would suggest buying the docs. If you don't want to spend the money your
can read the jbosscmp-jdbc dtd, and use the test cases in the testsuite cvs
module as an example.
-dain
> -Original Message-
> From: Màris Orbidàns [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 17, 2002 5:
Order by is currently not supported in EJB-QL.
-dain
> -Original Message-
> From: Frank Xia [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 18, 2002 9:35 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [JBoss-user] deploying CMP local entity bean,
> NullPointerExce ption when it's invoked
>
.
BTW, does anyone know of any good books, tutorials, articles, example source
using/about javacc?
-dain
> -Original Message-
> From: Hunter Hillegas [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 18, 2002 11:44 AM
> To: Dain Sundstrom; 'Frank Xia'; JBoss 2
>
Message-
> From: Frank Xia [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 18, 2002 12:53 PM
> To: 'Dain Sundstrom'; [EMAIL PROTECTED]
> Subject: RE: [JBoss-user] deploying CMP local entity bean,
> NullPointerExce ption when it's invoked
>
>
> Dain,
Ok.
Think for a second. You told the system that you have related entities and
then gave it no where to store the relation information. If you don't want
to use foreign keys then you must use a relation-table.
-dain
-Original Message-From: Rama Rao
[mailto:[EMAIL PROTECTED]]
Directionality of a relationship had nothing to do with the database
mapping. The default database mapping for a one-to-many relationship
is to add a foreign key to the many side.
-dain
-Original Message-From: Rama Rao
[mailto:[EMAIL PROTECTED]]Sent: Saturday, January 19, 2002
This
is covered in the JBossCMP docs. If you don't want to buy the docs, you
can look at the dtd or the cmp2 testsuite.
-dain
-Original Message-From: Rama Rao
[mailto:[EMAIL PROTECTED]]Sent: Saturday, January 19, 2002 12:37
PMTo: [EMAIL PROTECTED]Subject:
[JBoss-user] i
In the latest 3.0 code, I changed it to the following:
java.lang.Boolean
CHAR
BOOLEAN
This was the consensus on the dev list.
-dain
> -Original Message-
> From: Hunter Hillegas [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 21, 2002 1:25 PM
> To: JBoss 2
> Subject: [JBos
The problem is happening before the persistence manager is initialized
during the initialization of the instance cache. The following line is the
most important in the stack trace:
org.jboss.ejb.plugins.AbstractInstanceCache.init
(AbstractInstanceCache.java: 347)
If you look at that file you wi
It usually means a syntax error. I will be working on a rewrite of the parser
that gives good error messages when I get back in town.
-dain
Quoting [EMAIL PROTECTED]:
> Hello,
>
> Does anyone know if a "parse error" in the EJB-QL parser really means
> "syntax error" or a semantic error ?
>
Two things come to mind here. First, values passed over local
interfaces don't have to be serializable. Second, EJBs are forbidden
from performing IO, because IO can block forever (you can cheat of
course). How are you planning on getting this into the database? You
can't create a CMP field
Here is the code I use when you set a 2.x cmp field:
public void setInstanceValue(EntityEnterpriseContext ctx, Object value) {
FieldState fieldState = getFieldState(ctx);
// short-circuit to avoid repetive comparisons
// if it is not currently loaded or it is already dirty or
//
There is a good article in this month's JavaPro. It is online at:
http://www.fawcette.com/javapro/2002_02/magazine/features/tmodi/
-dain
Edward Q. Bridges wrote:
> my curiosity has been piqued. what's involved in making a .rar?
> is there someone that would be interested in helping me spec i
You can't. You will have to learn to trust with your users.
-dain
Leigh Wanstead wrote:
> Hello everyone,
>
> I am not sure if this is a correct place to ask. Anyway, here is the
> question.
>
> How to protect your ear files? I mean if you deploy ear into application
> server, how you preve
You really don't understand the basic theory of cryptography, which
assumes you have a trusted source and a trusted sink. The source and
sink are people not machines. For example the movie industry believed
that DVD copy protection was unbreakable, because they controlled the
sink software.
Directionality of a relationship has nothing to do with the table
structure that is automatically generated. If you want an specific
mapping you will have to specify it in the jbosscmp-jdbc.xml file.
-dain
Robertson, Jason wrote:
> I have what I think is a uni-directional relationship
> (Rol
ked, someone
> able to hack th JAVA VM could do the job.
>
> This risks may be important to analyse for
> financial transaction security, privacy protection,
> or secrecy, but not just for
> software licensing.
>
>
>
>
>>-Message d'origine-
&g
This is definitely a job for the jbosscmp-jdbc.xml file. What version
of JBoss are you using? The structure of this file changed between the
alpha and the beta. The xml for the classic Order-LineItem in JBoss 3.0
beta follows:
Order-LineItem
order.getLineitems()
It looks like you are trying to use a not-null foreign key column, which
is not supported by the CMP 2.0 persistence engine.
-dain
David Goodwin wrote:
> Hi all,
>
> I have a many to one relationship between module and assessment (one
> module may have many assessments) in the project I am w
David Goodwin wrote:
> Dain Sundstrom wrote:
>
>> It looks like you are trying to use a not-null foreign key column,
>> which is not supported by the CMP 2.0 persistence engine.
>>
>> -dain
>>
>
> Hello (again)
>
> Is this a limitation of C
My solution. Write a servlet filter that synchronizes on the session
object before child invocation.
-dain
Mikhail Akopov wrote:
> Hi all.
>
> Rather often problem: access to the same bean from several threads.
> (e.g. servlet which works with multiframed HTML).
>
> Usual solution is to crea
David,
Build the beans first, as they are likely to change drastically during
development. Then as your development winds down, lock down the exact
db mapping.
The only real negative to this approach is if you need some default data
in your db for testing and you want to load this with a sql
This is how everyone I know does it. As for why not do it the way you
suggested, KISS.
-dain
Mikhail Akopov wrote:
> Hello Dain,
>
> Monday, February 25, 2002, 12:05:15 AM, you wrote:
>
> DS> My solution. Write a servlet filter that synchronizes on the session
> DS> object before child inv
> JBoss:
> All your J2EE are belong to us
Maybe I'm an idiot, but what the hell does this mean?
-dain
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
> Am i right in thinking that if i used BMP (Bean managed persistence) I
> would get around all my problems so far (e.g. I can't at the moment have
> foreign keys as part of the primary key etc) ?
Sure. When you get done writing a couple thousand lines of code to
manage a simple relationship,
Jonathan Gibbons wrote:
>
>
>>This is how everyone I know does it. As for why not do it the way you
>>suggested, KISS.
>>
>>-dain
>>
>
> You mean ditch EJB, and JBoss and use JSP's?
> :-)
>
Yep, this is problem in the basic web architecture and is
best solved in the tier. BTW, I was sugg
danch wrote:
> David Goodwin wrote:
>
>> Dain Sundstrom wrote:>>
>>
>>> If you do design your db first, don't try to use not null foreign
>>> keys or foreign keys in your primary key, as neither work yet.
>>>
>>> -dain
&g
The new EJB-QL compiler is finished and checked in tip. The new compiler
is a complete rewrite in JavaCC, and is much faster, easier to maintain,
and has error messages. I was surprised by the number of errors I found
in the old parser. You guys haven't been pushing the engine enough, so
to
You can't use database autonumber columns, and you can't have not-null
foreign keys. Both of these will eventually be supported.
-dain
Robertson, Jason wrote:
> jboss3.0.0beta, jdk1.3.1_02, MySQL
>
> Two questions:
>
> 1. I understand that for CMR fields you set them in ejbPostCreate, but w
ey, and would be why
> the exception is getting thrown.
>
> Any other ideas?
>
> Jason
>
>
> p.s. I found a small error in my code below in that I was returning a String
> from ejbCreate when it should be an Integer, it's been fixed.
>
> -Original Mess
It is much easier than that. Just change the url in the doctype to a
local file url.
-dain
Adrian Brock wrote:
> This DTD was missing from the XmlFileLoader before Feb 2nd this
> year. Any versions of JBoss3 after that should be ok.
>
> A temporary solution would be to run a webserver on yo
Hunter Hillegas wrote:
> This is a commerce application for selling music. I have servlets that talk
> to SLSBs that talk to EJB (2.0 CMP Entities). My SLSBs are all set with
> Required and the entities are all
> Supports. It seems that if enough users
> access parts of the application, the trans
Scheil, Sven wrote:
> We've tested JBoss 2.4.0 a time ago and missed the ejb2.0 support.
>
> Now I've read JBoss 3 comes with an integrated CMP Module JBossCMP, but
> can't find any further information (may be in the docs for $10?).
Yes the JBossCMP docs has the info/
> Can someone help me
This is a bug. Can you post a bug report with the inner stacktrace, if
you got one (this is the outer trace)?
The application tx data map contains application level data associated
with the current transaction. It is used for the read-ahead cache,
among other things.
-dain
Dave Smith wrot
Let me get this. You are mad because you didn't get some congratulatory
email within three hours of your offer? So here you go:
To quote Nike "Just do it".
If you want help, I suggest you use the Marines saying "Follow Me".
And from me. "Enough talk, go do it"
When you eventually get suck
1 - 100 of 523 matches
Mail list logo