I haven't used JBossNet, but from your exception it looks to me that
Auth info isn't getting sent by your client.
I would assume you are talking HTTP to JBoss, which means the HTTP login
would setup the JAAS context. If there is no auth passed, then no principle.
1. Most clients (.NET, GLUE) ha
Hello All,
I'll ask this question on behalf of my team. We're
having trouble deciding on how to best deploy our Web
and EJB tier code. Here's the situation:
We have base set of EJBs that perform the business
logic for numerous web applications (WARs). Within
the EJBs we're using the Transfer O
Hi All,
I'm looking at writing a custom login module to track logins to a web
application and write the successes and failures to a database table.
I am wondering if there's currently other ways to hook into the
authentication process to track these things. Here's specifically
what I'm thinkin
Thanks Alexey ...
I will Check it...
About Commit, I made it inside DataBase, I never do ti inside EJB
Enviroment with CMP...
Dont Worry :)
Best Regards
Edgar
Alexey Loubyansky wrote:
Can you see the DELETE statement in JBoss's logs? You need to enable
DEBUG log level in conf/log4j.xml file
Hi,
I'm pretty sure its not the clients because they are running win2k w/o a
firewall. I am using the default setup for 3.2.1 only making changes that
are described in the pay-for-doc.
Where do I add that code snippet you gave me?
I'm not using JMS.
Thanks!
You are trying to use uknown and 'known' primary keys at the same time.
You must use either one. Just remove unknown-pk.
Yes, you need to use jdbc-type/sql-type in key-field.
Ivens Porto wrote:
Alexey Loubyansky wrote:
Yes, it should. It is not yet clear for me how the fk field accord to be
non
Probably, I could. Post your DDs, first, please.
Ivens Porto wrote:
Ivens Porto wrote:
Alexey Loubyansky wrote:
It works for me.
public abstract Integer getIntegerField();
public abstract void setIntegerField(Integer value);
public abstract int getIntField();
public abstract void s
Alexey Loubyansky wrote:
>
> Yes, it should. It is not yet clear for me how the fk field accord to be
> non-null. All fk fields allow null values by default. Perhaps, it came
> from sql-type? Could you, please, post the declaration of the unknown pk
> from your DDs?
Below is the declaration of my
Can you see the DELETE statement in JBoss's logs? You need to enable
DEBUG log level in conf/log4j.xml file for category
org.jboss.ejb.plugins.cmp to see it.
This way
You should not commit anything by hand in CMP.
Edgar Silva wrote:
Hi Alexey...
I am running JBoss 3.2.1 (Jetty).
Hi Alexey...
I am running JBoss 3.2.1 (Jetty)
Evertything is fine, my relationships (1:n, n:N), to create and finders,
but in Remove nothing is working, and the remove() operation is
very simple.
I am using Local Entities and Remote Facades, In addition to remove()
method with
ValueObject,
Ivens Porto wrote:
>
> Alexey Loubyansky wrote:
> >
> > It works for me.
> >
> > public abstract Integer getIntegerField();
> > public abstract void setIntegerField(Integer value);
> >
> > public abstract int getIntField();
> > public abstract void setIntField(int value);
> >
> > 1
Alex,
The first thing you will need to do is define the security domain in
the jboss-web.xml file (the one in the jboss-net.war)
then if you are using xDoclet, you will need to add a tag to your
session bean
@jboss-net.authentication domain="WhichEverDomainYouHaveDefined"
if you are not using
"accord" should be read "occured" ;)
Alexey Loubyansky wrote:
Yes, it should. It is not yet clear for me how the fk field accord to be
non-null. All fk fields allow null values by default. Perhaps, it came
from sql-type? Could you, please, post the declaration of the unknown pk
from your DDs?
Yes, it should. It is not yet clear for me how the fk field accord to be
non-null. All fk fields allow null values by default. Perhaps, it came
from sql-type? Could you, please, post the declaration of the unknown pk
from your DDs?
Ivens Porto wrote:
Alexey Loubyansky wrote:
It works for me.
I am having a strange problem trying to expose secured EJBs as web services
in JbossNet (using Jboss 3.2.1). Everything deploys fine. But when I call
one of the web service methods, I get this exception (intermittently):
javax.ejb.EJBException: checkSecurityAssociation; CausedByException is:
Au
Cool, thanks
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sacha
Labourey
Sent: 31 October 2003 15:46
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] Securing JBoss
In fact, we don't need to secure the applet (that is not necessary as
nothing is really
In fact, we don't need to secure the applet (that is not necessary as
nothing is really critical in the applet and the way applet are integrated
in browsers generates two auth step: one for the page and one for the
applet, so we should move the applet in another folder and make it
"non-private"
>
On Fri, 2003-10-31 at 15:09, Brian McSweeney wrote:
> Thanks for all your help Adrian,
>
> Checked out Scott's mail. Sounds exactly what I'll need. I'll muddle
> through it myself till then :-)
>
> One thing about securing the web-console - the forum says you have to
> protect the applet aswell.
On Fri, 31 Oct 2003 15:09:32 -, Brian McSweeney
<[EMAIL PROTECTED]> wrote:
Thanks for all your help Adrian,
Checked out Scott's mail. Sounds exactly what I'll need. I'll muddle
through it myself till then :-)
One thing about securing the web-console - the forum says you have to
protect the a
What is the JBoss version?
Did this code ran fine in previous versions?
Any more info?
Thanks.
Edgar Silva wrote:
Hi Folks...
I have a very strange trouble:
I have one CMP EntityBean, and I execute the findByPrimaryKey,
and then I call the remove() method And nothing occurs...
The Record in
Thanks for all your help Adrian,
Checked out Scott's mail. Sounds exactly what I'll need. I'll muddle
through it myself till then :-)
One thing about securing the web-console - the forum says you have to
protect the applet aswell. I understand the basics of web app security
using jaas - have used
Ok. Thank you very much for your help, now it all makes sense... :)
Regards,
Ulf
-Ursprungligt meddelande-
FrÃn: Adrian Brock [mailto:[EMAIL PROTECTED]
Skickat: fr 2003-10-31 14:16
Till: [EMAIL PROTECTED]
Kopia:
Ãmne: RE: [JBoss-user]
Hi Folks...
I have a very strange trouble:
I have one CMP EntityBean, and I execute the findByPrimaryKey,
and then I call the remove() method And nothing occurs...
The Record in DataBase persists after remove() call...
Have some problem , anybody also have seen it?
What can be the correct beh
(This might help someone searching the archives)
When upgrading from 3.0.6 to 3.2.2 we had a problem running a JMX client on a
separate host. The client uses UIL2ConnectionFactory (in 3.0.6 we used OIL). In
3.2.2 the client could not get a working QueueConnection to the server anymore.
We used
On Fri, Oct 31, 2003 at 01:20:35PM +, Adrian Brock wrote:
> The web-console will be using the Principal property editor
>
[snip]
> SimplePrincipal principal = new SimplePrincipal(text);
Great - thanks a lot. I'll give that a try (sigh - more project
build dependencies ;)
//Anders
> On
On Fri, 2003-10-31 at 13:48, Brian McSweeney wrote:
> Hi Adrian,
>
> I saw that file before, but it isn't used in the default deploy of jboss
> right?
>
> I've spent a good few hours reading the JBoss admin docs, and the forums
> and
> Unfortunately there doesn't seem to be a decent single "how
Alexey Loubyansky wrote:
>
> It works for me.
>
> public abstract Integer getIntegerField();
> public abstract void setIntegerField(Integer value);
>
> public abstract int getIntField();
> public abstract void setIntField(int value);
>
> 12:30:34,262 DEBUG [Child] Executing SQL:
Hi Adrian,
I saw that file before, but it isn't used in the default deploy of jboss
right?
I've spent a good few hours reading the JBoss admin docs, and the forums
and
Unfortunately there doesn't seem to be a decent single "how to
manage/secure a default jboss server"
Is the binding manager a g
The web-console will be using the Principal property editor
/***
* *
* JBoss: The OpenSource J2EE WebOS *
* *
* Distributable under LGPL license. *
* See terms of license at gnu.o
You can find the list of port bindings in
docs/examples/binding-manager/sample-bindings.xml
Look at the "default" section
I hope you can read xsl :-)
Regards,
Adrian
On Fri, 2003-10-31 at 12:11, Brian McSweeney wrote:
> Hi all,
>
> Following on Sebastian Hauer's email advice I used the followi
> Please, try with fresh Branch_3_2 in 24 hours. I fixed a bug that could
> be the cause of your problem. Thanks.
Ok, I'll try that in the weekend. Thanks!
/Markus
> Markus Härnvi wrote:
>
> > Thanks Scott for the answer about SSL/Tomcat!
> >
> > Next one: :)
> >
> > I'm using cascade-
Use an ejbHome to invoke the ejbSelect
NOTE: If you do this, none of the CMP/CMR fields are usable
(there is no primary key)
Regards,
Adrian
On Fri, 2003-10-31 at 11:33, Jonathan.O'[EMAIL PROTECTED] wrote:
> Ulf,
> Correct. But you may be able to attach this to the home interface where it
> mak
Please, try with fresh Branch_3_2 in 24 hours. I fixed a bug that could
be the cause of your problem. Thanks.
Markus Härnvi wrote:
Thanks Scott for the answer about SSL/Tomcat!
Next one: :)
I'm using cascade-delete between a few CMP beans. My test cases that works in
3.2.2RC4 now fails in 3.2.
Thanks Adrian,
Appreciate the help
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adrian
Brock
Sent: 30 October 2003 16:24
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] Moving from development to production
On Thu, 2003-10-30 at 15:53, Brian McSweeney
Hi all,
Following on Sebastian Hauer's email advice I used the following program
to find out what ports JBoss uses.
http://www.tucows.com/preview/213738.html
I think the following information might help others too when they are
deploying jboss. My application is probably quite like what others a
Use an ejbHome() method to invoke the ejbSelect() method. Then you won't
have to use an arbitrary instance but can instead invoke the method from the
home interface.
Bernie
-Ursprüngliche Nachricht-
Von: Ulf Tidstrand [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 31. Oktober 2003 12:04
An:
Ulf,
Correct. But you may be able to attach this to the home interface where it
makes more sense. Sorry, I'm not sure how to do this, although it should
be easy.
Ciao,
Jonathan O'Connor
"Ulf Tidstrand" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
31.10.2003 11:03
Please respond to jboss-use
I deployed the xpetstore application (which can be found on sourceforge)
in JBoss without any trouble.
Regards,
Harm de Laat
Informatiefabriek
The Netherlands
"ARUN PRASAD" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
10/31/2003 11:45 AM
Please respond to
[EMAIL PROTECTED]
To
[EMAIL PRO
Thanks, that made it much clearer!
But then I have a follow-up question: As I've understood, the ejbSelect
methods are only available locally from within the EJB itself. So if I
would like to make a general getAllLastNames() method returning all
LastNames in a table (not associated to a special en
Anyone got a successful deployment ?
regards
Arun
DISCLAIMER***
Information contained and transmitted by this e-mail is confidential and
proprietary to Tata Steel Ltd. and is intended for use only by the
addressee. If you are n
Finder queries must return remote or local interfaces. You should use
"SELECT OBJECT(o) ...".
ejbSelect methods are allowed to return CMP field values. Please, check
the spec for more info.
Ulf Tidstrand wrote:
Hi everyone,
I have declared a simple EJB QL statement in xdoclet:
* @ejb.f
Ulf,
You need an ejb.select instead. Finders are defined to return the Entity
Bean interface (local or remote). Select() lets you find non entity bean
stuff.
to be more specific, in an Entity Bean, FooBean, finders always return
FooRemote or FooLocal objects. Use ejb.Select to return other stuff
Hi everyone,
I have declared a simple EJB QL statement in xdoclet:
* @ejb.finder
* signature="java.util.Collection
findAllLastNames()"
* query="SELECT DISTINCT u.lastName
FROM user AS u"
The lastName field is of type String, so I thought that this
statement would retu
Hi.
I'm trying to flush the jaas authorization cache in our application (to
pick up changes to roles etc.).
I've managed to flush the *entire* cache
(flushAuthenticationCache(java.lang.String) and this works fine but I'd
like to use the flush-method that takes a principal as well.
My code looks
44 matches
Mail list logo