I removed key from my deployment
descriptor. Now I get a java.lang.reflect.UndeclaredThrowableException,
and then the original exception.
I understand your concerns about compound primary keys. In this case I
really do need to identify each row by 3 separate fields.
You mention that is difficul
Ya sometimes we have to...
- Original Message -
From: "Jason Stortz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 28, 2002 4:11 AM
Subject: [JBoss-user] Space Bar to Continue?
How are the rest of you handling the fact that now and then you have to
hit the space b
Whenever a ejbean in an application has a class
which extends a class
packaged in a .jar :
.ear
|--foo.jar <- FooBean extends
SommeClass
|--util.jar <- SomeClass
is there something special to have this working
?
I know that using the classpath manifest
should fine for that
but I've rea
> I had to look it up myself. I strongly recommend you don't use a
> compound primary key as it is very hard to code correctly, and even if
> you get it correct, the person who has to maintain it can easily break
> the code.
you're speaking about hashcode and equals yes? there's nothing else to
I can see how nulls could be a problem. But I don't think are my problem in
this case, for 2 reasons: The db is completely new and all data is added
through MyBean. In the ejbCreate method i have null/empty string checks on
these three fields (also eliminated from the example code below). The 2nd
Dmitri Colebatch wrote:
> I could be way off, but...
>
> a)
>
>
> MyBean
> MyKey
> ...
> key
> year
> month
> key
>...
>
>
>
> aren't prim-key-class and primkey-field mutually excl
Title: Message
for a: i don't think that they
are mutually exclusive. All of my other entity beans with non-compound primary
keys list the same field as a cmp-field and the primkey
fields.
for b: this is an excellent
point. i just changed my PrimaryKey class and i still get the same result
Hello,
There are some issue about methods on the EJB returning Value Objects to clients ?
I got this error when I try to get a value object using a remote call :
java.lang.reflect.InvocationTargetException:
java.lang.reflect.UndeclaredThrowableException:
java.io.InvalidClassException: com.sigea.
No way. The spec is moving toward JAAS and it never
mentioned that the JNDI InitialContext should be the mechanism
for providing authentication information. Search the 572 page
of the ejb spec and there are zero references to jndi.properties.
Scott Stark
Chief Technology
> do I have to use org.jboss.test.util.AppCallbackHandler as the
> AppCallbackHandler?
>
No, you can provide your own handler.
>
> It will work if I just use the jndi.properties with principal and
> credencials??? This way would be more trasparent...
>
No. Write your own InitialContextFact
isn't the espc says to allow the jndi.properties to set both
java.naming.security.principal=admin and
java.naming.security.credentials=passwd
??
Scott M Stark wrote:
> See the security unit tests in our testsuite module.
>
>
> Scott Stark
> Chief Technology Officer
> J
do I have to use org.jboss.test.util.AppCallbackHandler as the
AppCallbackHandler?
It will work if I just use the jndi.properties with principal and
credencials??? This way would be more trasparent...
Scott M Stark wrote:
> See the security unit tests in our testsuite module.
>
> xx
Try this:
1) download Eclipse 2.0
http://www.eclipse.org/downloads/index.php
2) download the EASIE plug-in for JBoss
http://www.genuitec.com/products.htm
3) run Eclipse
4) use the EASIE plugin to launch JBoss
5) deploy your EJB to JBoss
6) set a breakpoint in your EJB class
-Sea
I could be way off, but...
a)
MyBean
MyKey
...
key
year
monthkey ...
aren't prim-key-class and primkey-field
mutually exclusive? Could that be upsetting something?
b) are
I have a stateless session bean and an entity bean. The session bean has a method that has "Required" trans-attribute. It in turn calls two entity bean methods, first of which has "Required" trans-attribute while the second has "RequiresNew" trans-attribute. It returns successfully after calling th
it could be that the window (is this windows and not unix?)
has quickEdit turned on. If so, and a user clicks with the
mouse in the window, it will halt JBoss until a key is pressed.
that's the only thing i've ever seen.
if you don't like quickEdit turned on, then go into properties
on the win
See the security unit tests in our testsuite module.
Scott Stark
Chief Technology Officer
JBoss Group, LLC
- Original Message -
From: "Emerson Cargnin - MSA" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 27, 2002 4:15 P
I had some junit tests that tested some ejbs. Now we inserted JAAS
security. How can i set user/passwd if the client will be automated by
ant/junit??
- using principal and credencials in jndi.properties
---
This sf.net email is sponsor
How do people debug EJBs? The server is running using a .jar file that contains all my Entity/Session beans. When a client makes a request, I want to trace through the server thread as it goes through my application's EJB code.
Thanks very much.Do You Yahoo!?
Sign-up for Video Highlights of 2002 F
How are the rest of you handling the fact that now and then you have to
hit the space bar for JBoss to resume responding in the console window?
One of my programmers today said that one errors occur he sometimes has
to hit the space bar before JBoss will respond to further requests.
Has anyone e
Has anyone else seen this JBoss just stop responding?
I have had one instance of jboss no longer responding,
but memory looked fine. Processes still running. Just
no response. Restarted jboss and has been running
since.
> Every once and awhile my JBoss 3.0 (Red Hat 7.2 / Sun 1.3.1_03 JVM) server
Title: RE: [JBoss-user] Restart JBoss After Out of Memory
If you run JBoss with the Java Wrapper Service
(http://sourceforge.net/projects/wrapper/)
it will automatically restart JBoss if it exits.
JD
-Original Message-
From: Hunter Hillegas [mailto:[EMAIL PROTECTED]]
Sent: Thursday
Thanks so much.
Note: forwarded message attached. Do You Yahoo!?
Sign-up for Video Highlights of 2002 FIFA World Cup--- Begin Message ---
Thanks for the reply.
1. bar() is another bean so ((MyBeanLocal)sessionContext.getEJBLocalObject()).bar() won't work, right?
This raises another question fro
Hi,
see jaws.xml section of the free volunteer docs...
Regards,
Burkhard
- Original Message -
From: "Tejeshwar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 27, 2002 9:29 AM
Subject: [JBoss-user] Configuring Database name in Jboss-2.4.4
Hi
I had configured MS Sql S
Every once and awhile my JBoss 3.0 (Red Hat 7.2 / Sun 1.3.1_03 JVM) server
will die. I assume that it is running out of memory.
We specify up to 800MB of RAM at JBoss start up... Our applications get tons
and tons of hits. I need to profile our app in JBoss and see where memory is
leaking...
In
Hi Bill,
No I'm using an Integer as the primary key. We use a session facade to
front the entity bean. We use local ejb references between the session
facade and the entity bean. The bean in question (ie user entity bean with
pk=49) has gotten a fair amount of activity before the exception occ
Using Jboss 2.44
I'm tracking down a problem we occasionally have during load tests when
we try to get a connection from a XAPoolDataSource. The exception is
not very informative and doesn't give me a concrete approach to solve
the problem.
Anybody give me insight/help with this? Thanks!
ja
why didn't you opt for the pet store? It's been out there for ever and there's a lot of discussion on it.- Original Message -From: [EMAIL PROTECTED]Date: Thu, 27 Jun 2002 12:01:38 -0600 To: [EMAIL PROTECTED]Subject: Re: [JBoss-user] Sun's SmarTicket 1.1.1 on JBoss 3.0 Final + Tomcat (let's
The EJB specification does not allow CMR accessors to be exposed over a
remote interface. You should have received a verifier error, but our
verifier is still a work in progress.
-dain
[EMAIL PROTECTED] wrote:
> hi,
>
> i have a one-to-many unidirectional relation. so my accessors are
>
>
Actually, i was incorrect in my first post where i said it happens on
redeployment (or restart).
Restarting jboss resolves the problem.
The problem only happens on hotdeployments.
.peter
-Original Message-
From: Dain Sundstrom [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 27, 2002 2
hi,
i have a one-to-many unidirectional relation. so my accessors are
public abstract Set getOperations();
public abstract void setOperations(Set operations);
after a little experimentation it looks like the set members are of type
OperationLocal.
on a related note, when i call t
Ok, I trust that you implemented it correctly. If you don't then
nothing works.
Usually the problem you are seeing is because you have existing data in
you database that has null values, and you attempt to load the null
values into a not-null fields. All pk members must be not-null
(require
I have also added setters in my key class, but this didn't seam to help.
.peter
-Original Message-
From: Dain Sundstrom [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 27, 2002 2:32 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] [JBossCMP2.0] Compound Primary Keys and CMR
fields
Yo
actually i have, I just omitted it in the example.
it definiatly compiles.
.peter
-Original Message-
From: Dain Sundstrom [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 27, 2002 2:32 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] [JBossCMP2.0] Compound Primary Keys and CMR
fields
You have not implemented equals in your pk class. That code shouldn't
even compile?
-dain
Luttrell, Peter wrote:
> I have an entity bean with a compound primary key, where one of the
> fields is a cmr field. The entity bean works perfectly after the first
> deployment. I can set primary key,
The problem was solved by upgrade to latest CVS.
Hanging application mentioned bellow was partially
caused by my mistake - the web app talks not only
to app server but also to its own mysql database
(directly using struts's db pool) and I forgot to
put appropriate JDBC driver into the classpath.
The only JVMs I haven't found any problems with are the slow old 1.3
from SUN, and JRockit.
IBM 1.3 and Sun's 1.4 fails. Haven't tried blackdown.
I think something should be done to track down these bugs, and get them
reported, if it isn't caused by jboss misusing the VM, or
incompatibility bet
I have an entity bean with
a compound primary key, where one of the fields is a cmr field. The entity
bean works perfectly after the first deployment. I can set primary key, as well
as do lookups and such. But after I redeploy (or restart) I get the following
error, whenever i attempt to fin
How do you get the ClassCircularityError? Are you using multiple CPUs?
Windows? I have never seen it, just many other problems running jboss on
1.4.
On Thu, 2002-06-27 at 01:46, Claudio Miranda wrote:
>
>Dears, I have tested de Blackdown
> FCS 1.3.1 and the result is the same
> as Sun JDk 1.
I'd guess for starters that you don't have the datasource set up properly.
Have you read the quickstart manual available from the Sourceforge download
page?
We don't have a cloudscape example config yet, but they are usually pretty
easy to set up by modifying an existing example. If this does
Title: RE: [JBoss-user] scheduler and javamail in Jboss 3.0
Thanks, David. Very interesting. So is the page that
says MBean View what you refer to as the detail page?
That page has something called MBean Name that looks like
jboss.j2ee:service=EJB,jndiName=Foo
Is that the object name I
"I may have to recommend another server if I can't get SmarTicket to work soon."
That's a pretty shallow comment. More a reflection of your lack of understanding
or inexperience with JBoss. But if you feel that, just because you can't get it working,
you need to spend thousands of dollars on so
On closer inspection this is because your definition is invalid. The
module-option tags are child elements of the login-module element.
You have an empty .
Scott Stark
Chief Technology Officer
JBoss Group, LLC
- Original Message -
From: "I
My company is evaluating whether to use JBoss
or not. I was able to get Sun's example program
SmarTicket 1.1.1 to start on JBoss, but there are
error messages when the client tries to connect.
I have changed the cloudscape port to 1433 and
changed the JNDI calls. I also added jboss.xml
and jboss
What do you mean by displayed? Do you mean console?
To have the sql messages appear on the console you need to reduce the
logging threshold on the console appended to DEBUG. You will also want
to increase the priority of the org.jboss category to INFO, or you will
get a ton of messages. Also
Simon,
All of the information can be found here:
http://www.jboss.org/services/training.jsp
-dain
Simon Stewart wrote:
> On Wed, Jun 26, 2002 at 10:10:30AM -0700, marc fleury wrote:
>
>>2 announcements on training:
>
>
> Marc, it's a small thing, but some of us have to pay for our own
> tra
If you are using Red Hat 7.2 (not sure on the exact version number), it
has bad kernel and won't run Java on an SMP machine with any VM. I
didn't have this problem my self, but I have seen people discussing it.
Search Google and you should find the answer.
-dain
Claudio Miranda wrote:
>
>
Its a bug in the 3.0 release.
Scott Stark
Chief Technology Officer
JBoss Group, LLC
- Original Message -
From: "Qingxian Wang" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 27, 2002 4:03 AM
Subject: [JBoss-user] Cannot t
Hi,
as far as I understand the mail, he uses M$ SQL Server 2000, mySQL came in
for verifying issues, but for the M$ SQL: NEVER EVER touch the sun JDBC-ODBC
bridge if you can avoid it:
http://msdn.microsoft.com/downloads/default.asp?URL=/downloads/sample.asp?ur
l=/MSDN-FILES/027/001/779/msdncomposi
Title: Message
If
you're on windows, set your temp env variable to something without spaces in the
filename, worked for me!
rick
-Original Message-From: Graham French
[mailto:[EMAIL PROTECTED]] Sent: Friday, June 21, 2002
10:59 AMTo: '[EMAIL PROTECTED]'Subject:
[JBoss-
Hi,
furthermore you really should map then your DBPool to a resource in
jboss.xml:
jdbc/whateverresourcename
java:/usersDB
now you can do a lookup to:
java:comp/env/jdbc/whateverresourcename
hth,
Burkhard
- Original Message -
From: "Pete
Hi,
the only solution which works (Marcus Ahnve helps me) was to override the
java:/DefaultDS with my own database connection.
This is not a true customisation of the dsJndiName.
Scott M Stark wrote:
> You already have by
> java:/PasswordDS
>
> You have to validate that java:/PasswordDS actua
Hi,
I'm trying to authenticate my users against the
DatabaseServerLoginModule.
I have created the two needed tables (Principals and Roles) but the
login module
doesn't seems to retrieve the Role entry.
I'm getting the following error on the server :
ERROR [SecurityInterceptor] Insufficient met
Hello
I just instaled JBOSS 3.0 on RedHat 7.2 with
j2sdk1.4.1_01
This is my first contact with j2ee, so...
The start of JBOSS gives several warns one of them
looks bad to me:
02:04:27,770 WARN [Jetty] JSP compilation requires
$JAVA_HOME/lib/tools.jar on
your JBOSS_CLASSPATH
Can you help with
Hi
I had configured MS Sql Server 2000 for my
Jboss-2.4.4 , while creating tables through CMP Bean it is creating in default
database i,e master.I have to specify other database name in jboss.jcml, how can
i specify. I am using type 4 driver of microsoft Jdbc Driver.
Pls let me know ho
--Op 27-06-2002 21:01 +0800 schreef John Hogan:
> were can I get the Jboss 3.0 Quick Start Guide? Thank you.
It's on the SourceForge download page.
_
Patrick Hubers
[EMAIL PROTECTED]
Solve IT
Postbus 5063
3502 JB Utrecht
-
At 09:01 PM 6/27/2002 +0800, you wrote:
>were can I get the Jboss 3.0 Quick Start Guide? Thank you.
Get it from
http://prdownloads.sourceforge.net/jboss/JBoss.3.0QuickStart.pdf?download
Bruce
>JohnH
>- Original Message -
>From: Patrick Hubers <[EMAIL PROTECTED]>
>Date: Thu, 27 Jun 20
I have a java app calling an ejb on my app server(JBoss-2.4.4). It was
working fine. Then suddenly after a couple minor code changes that should
have no effect, I am getting the following error.
Exception in thread "main" java.lang.NoClassDefFoundError:
javax/ejb/EJBHome
at java.lang.C
on sourceforge.net :
http://prdownloads.sourceforge.net/jboss/JBoss.3.0QuickStart.pdf?download
- Original Message -
From: "John Hogan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 27, 2002 9:01 AM
Subject: Re: [JBoss-user] Template Application: no /servlet directory
You need to set dependency to make the scheduler to depend on the EJB.
-Original Message-
From: Natalie Wang [mailto:[EMAIL PROTECTED]]
Sent: 27 June 2002 00:01
To: [EMAIL PROTECTED]
Subject: [JBoss-user] scheduler and javamail in Jboss 3.0
Hi,
I am using scheduler to call ejb, which
http://sourceforge.net/project/showfiles.php?group_id=22866
--
John Hogan wrote:
> were can I get the Jboss 3.0 Quick Start Guide? Thank you.
>
> JohnH
> - Original Message -
> From: Patrick Hubers <[EMAIL PROTECTED]>
> Date: Thu, 27 Jun 2002 09:50:51 +0200
> To: [EMAIL PROTECTED]
> S
were can I get the Jboss 3.0 Quick Start Guide? Thank you.
JohnH
- Original Message -
From: Patrick Hubers <[EMAIL PROTECTED]>
Date: Thu, 27 Jun 2002 09:50:51 +0200
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Template Application: no /servlet directory
>
> --Op 26-06-2002 16:10 -
On Wed, 26 Jun 2002, Pavel Kolesnikov wrote:
> Now the first web app works still correctly but the second
> one doesn't deploy. It hangs when it creates remote interface
> for my session bean, I can't even undeploy it or stop JBoss
> correctly (I had to kill -9 it after cca 10 minutes).
Update:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Thu, Jun 27, 2002 at 11:19:07AM +0530, Tejeshwar wrote:
> Hi
hi.
> I had configured MS SQLServer 2000 as the SQlServerpool in jboss.jcml
> file. I am using jboss-2.4.4 and the driver is microsoft sql server
> driver. How can sepecify a specific d
We had a similar problem that we solved just this morning. Our problem
was the naming of the db service. The 'Jndi-Name' was set to the same
name as all other 'name's in the service file and that screwed things up
for some reason, even though the logs and the MBean Viewer stated that
it deployed a
Hello Enrique,
It seems that bugs lives there.
www.jboss.org working fine until you try to search in forums.
(I`ve search one word in AllForums)
I dont know how to open jboss site again!
Sombody! Try to search in forums and reply if the www.jboss.org
available after that!
--
Anton
Well, I tested JRockit in 2 separated SMP machines, returned the same error
- JRockit java version 1.3 Java(TM) 2 Runtime Environment, Standard Edition
(build "1.3.1_dax.appeal.se-20020429-1504")
JRockit Virtual Machine (build 3.1.4-dax.appeal.se-20020429-1504)
returns the follo
--Op 26-06-2002 16:10 -0400 schreef Mike Monette:
> I'm reading through the Jboss 3.0 Quick Start Guide, and I've downloaded
> the template application. Page 16 refers to a src/servlet directory,
> but the template application has no such directory. Am I missing
> something, or is this a known
I am using JBoss3.0.0 on Windows2000. I do not want local reference of an
object to be passed when I am calling business methods of the remote
interfaces of the EJBs on the same JVM. I set the value of all the
"" tags to "False" in all "" blocks in
the standardjboss.xml file. However, I still got
On Wed, Jun 26, 2002 at 10:10:30AM -0700, marc fleury wrote:
> 2 announcements on training:
Marc, it's a small thing, but some of us have to pay for our own
training. I was wondering if there is any chance of you indicating how
much the training will be when you announce it to the list?
Regards,
At 11:45 AM 6/27/2002 +0200, you wrote:
>Bruce,
>
>Thanks for trying it out and for documenting the steps in that detail. May I
>refer to your excellent
>page in our official jboss-net.jsp?
Christoph,
Yes of course. I'll add more when I get a chance about getting the examples
working.
Bruce
Title: What happen with www.jboss.org???
I can't see the web so not forums so
... i'm boring today!!! ;-)
Hi,
I found that the module-option's are not used by the authentication policy.
For testing this, I have voluntarly change the principalsQuery from :
select Password from Principals where
PrincipalID=?
to
select Password from
Princiipals where PrincipalID=?
After restarting JBo
Bruce,
Thanks for trying it out and for documenting the steps in that detail. May I
refer to your excellent
page in our official jboss-net.jsp?
Thankx,
CGJ
-Ursprüngliche Nachricht-
Von: Bruce Scharlau [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 26. Juni 2002 17:39
An: [EMAIL PROTE
Hi,
I've got a strange FinderException:
I've got this CMP entity bean:
...
/**
* Represents an Atlas server administrator.
*
*
* @version 1.0
*
* @ejb:bean name="myrpg-atlas/AdministratorEntity"
* display-name="Administrator of an Atlas
server."
* type="CMP"
*
I tried this:
but I don't get any SQL requests displayed :( I use
JBoss 3.0. Do you know why?
tia,
Wonder Sonic
--- Dain Sundstrom <[EMAIL PROTECTED]> a écrit : >
Set the org.jboss.ejb.plugins.cmp category in the
> log4.xml file to debug
> and you will see all of the executed sql.
Hi,
if you're using the CMP behaviour, you need to add and configure the
jbosscmp-jdbc.xml
"bonne journée"
ionel
"ORTIZ,HELENE (Non-HP-France,ex1)" wrote:
> Hello,
>
> Except :
>oracle-service.xml
>ejb-jar.xml
>jboss.xml
>
> which files do I need to create or modify to connect and
Hello,
Except :
oracle-service.xml
ejb-jar.xml
jboss.xml
which files do I need to create or modify to connect and perform requests on
my Oracle 8.1.6 database ?
Thanks,
Hélène
---
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com
Hello G.L.,
So, if the message sent haven't been delivered or processing of the
message haven't been started it's, probably, a correct behaviour.
Reffer to api-docs for Connection.close():
"...Closing a connection causes all temporary destinations to be deleted.
When this method is invoked, it
79 matches
Mail list logo