Yes this was my first idea as well. I know I can implement a
JAAS login
module for the client side which will get invoked under and
circumstances. But I need to account for the login failures on the
server side. I don't want to implement a client side JAAS
login module
which will
Hi Neal,
since Axis http-transport is realised through a single servlet, every
security constraint that
you would like specify at the transport level must go into the global
web-application.xml that comes with the jboss-net.sar!jboss-net.war
Since that is not very modular and since you would
For one, if you have structured types that you send around (most likely
bean-like), then you have
to register particular de/serializers for them in the web-service.xml (see
the jboss.net testsuite which should contain an xdoclet-enabled HelloData
JavaBean in the hello chapter that is passed around
Hi,
I'm using jboss-3.2.0RC2 and I want to auto-increment
my PK in MySql. I followed the format in
jbosscmp-jdbc.xml:
cmp-field
field-namejsCode/field-name
column-nameJS_CODE/column-name
jdbc-typeINTEGER/jdbc-type
sql-typeINTEGER(11)/sql-type
auto-increment/
/cmp-field
Hi,
I want implement an access module. My system should be
mandator-independently. To every mandatory belongs many users. Every
user balong to one ore more groups like admin, editor, statistic, ... .
To every group belongs defined acl's with permissions. group admin has
permissions for
From: Sebastian Hauer [mailto:[EMAIL PROTECTED]
server side. I don't want to implement a client side JAAS
login modul
In my first answer I mean server-side JAAS login module.
You can write one big module which makes all work ( autentification/
authorization and failure counter ), or
your dtd is not the good one, your cmp file doctype must
reference the 3.2 dtd and not the 3.0
julien
RP Hi,
RP I'm using jboss-3.2.0RC2 and I want to auto-increment
RP my PK in MySql. I followed the format in
RP jbosscmp-jdbc.xml:
RP cmp-field
RPfield-namejsCode/field-name
RP
Take a look at this thread :
http://www.mail-archive.com/[EMAIL PROTECTED]/msg25949.html
- Original Message -
From: Corbin, James
To: [EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 11:08 PM
Subject: [JBoss-user] JBOSS Application Logging
Is anyone out there in the JBOSS user
Hi,
my every entity beas has findAll() method defined in ejb-jar.xml as follow:
query
query-method
method-namefindAll/method-name
method-params/
/query-method
ejb-ql![CDATA[SELECT OBJECT(o) FROM firm o]]/ejb-ql
/query
Could be this done better by other mechanism? JBoss are generating
I think the reason (or maybe just one of them) for the
query sent is the assumption that you might not read all
the records all the time but only a few at a time, you
might even stop reading them in the middle of your
processing:
Collection c = yourBeanHome.findAll ();
// Suppose this returns
Hi!
I know that there are responses on the list for this kind of
problem but there is no archive...yet.
I am new to JBoss after moving from Resin EE and I am trying to get
the hand of it - especially in the deployment area.
I have read a lot of tutorials based on ant (includind the
The method is perhaps not being run within a transaction since this behaviour
is typical of such. To get all the results in one query override with
jboss-ql and use a 'strategy' of on find. All this is discussed in the
JBOSSCMP user guide.
Lawrence
Rafal Kedziorski wrote:
Hi,
my every entity
If you deployed the directory shown I'm surprised anything at all deployed.
You need to package ejbs separately from jsp/servlets. If you want one
deployment unit use and .ear
david jencks
On 2003.02.26 07:33 costin wrote:
Hi!
I know that there are responses on the list for this kind
First of the names of the beans should match in your
ejb-jar.xml (HandlerBean) and jbosscmp-jdbc.xml (you have TestBean)
Second of all I am not sure if you can deploy your app in
a single war. My suspision is that you would nedd to break
it up on war [put your web stuff in here] and ejb.jar [put
Hello!
If you deployed the directory shown I'm surprised anything at all deployed.
You need to package ejbs separately from jsp/servlets. If you want one
deployment unit use and .ear
david jencks
Maybe I am missing something here but I am using hot deployment. I
don`t pack/jar or archive in
Aleksandr Shneyderman wrote:
I think the reason (or maybe just one of them) for the
query sent is the assumption that you might not read all
the records all the time but only a few at a time, you
But I want read alle entries. And I have the problem with the query
which is created by JBoss. I
nope you just drop the ear and it will be deployed
or just copy the directory with the structure of
the archive and name it in a way that that will end
with .ear
The main point is taht you need to deploy your ejb
and war in separate pieces
-Original Message-
From: [EMAIL PROTECTED]
hi,
Lawrence Mount wrote:
The method is perhaps not being run within a transaction since this behaviour
is typical of such. To get all the results in one query override with
jboss-ql and use a 'strategy' of on find. All this is discussed in the
JBOSSCMP user guide.
but than you have a JBoss
You can find out how to configure this stuff and why it works the way it
does in the for pay cmp docs or by looking for the numerous less complete
explanations about transactions, read-ahead page size, etc in the mailing
lists and forums. The docs will save you a lot of time.
david jencks
On
But I want read alle entries. And I have the problem with the query
which is created by JBoss. I need all entries to generate for every a
I am not sure what is the problem though if you need all entries just
go thru all the elements of your collection that you get after findAll
and you will
Hi!
First of all thanks a lot. I know I made a childish mistake and until
the money for the official docs will come I have to stick with ones
I`ve got.
I finally got the structure right:
[EMAIL PROTECTED] deploy]$ tree bs.ear
bs.ear
|-- META-INF
| `-- application.xml
|-- bs-ejb.jar
| |--
P.S. btw, except the payed docs can you recommend something else?
You would need for pay docs because they will just save you time
for not browsing the DTDs. Those have lots of comments inside.
Read forums. I know it is very slow but can be usefull. Slow down
in order to accelerate :-)
Well
hi,
Lawrence Mount wrote:
The method is perhaps not being run within a transaction since this behaviour
is typical of such. To get all the results in one query override with
jboss-ql and use a 'strategy' of on find. All this is discussed in the
JBOSSCMP user guide.
thx. with this soulution it
Jules Gosnell wrote:
can we have a little more content
what version of JBoss ?
are you mixing two different versions ?
Sorry, my fault. By mistake one of nodes was running older version of JBoss.
Thanks,
Vlad
---
This SF.net email is
costin [mailto:[EMAIL PROTECTED] wrote:
P.S. btw, except the payed docs can you recommend something else?
We haven't found anything else that's even remotely adequate.
P.P.S how important are the payed docs? (on a scale from 1 to 10)?
10 for us.
Benjamin Geer
Misys Intl. Banking Systems
Aleksandr Shneyderman wrote:
But I want read alle entries. And I have the problem with the query
which is created by JBoss. I need all entries to generate for every a
I am not sure what is the problem though if you need all entries just
go thru all the elements of your collection that you
Thanks Guy. Sorry about the HTML, I didn't realize my system changed to
send email in that format. I normally send plain text. :)
J.D.
-Original Message-
From: Guy Rouillier [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 11:59 PM
To: [EMAIL PROTECTED]
Subject: Re:
Okay, thanks for the tips.
I have deployed the apps to the destination but still I can`t get the
reference to the bean.
Again, here is the directory list:
bs.ear
|-- META-INF
| `-- application.xml
|-- bs-ejb.jar
| |-- META-INF
| | `-- ejb-jar.xml
| `-- test
| |-- Handler.class
|
Hi Kevin,
would just be to unsafe. I want to account for the login
failure where
they get checked on the server side.
Secure your beans by assigning a JAAS security domain in
jboss.xml. This will cause the server to invoke the
associated JAAS modules and allow you to achieve the
Hi Vladimír,
In my first answer I mean server-side JAAS login module.
You can write one big module which makes all work (
autentification/ authorization and failure counter ), or
I understand that I can use a server-side JAAS login module.
As Kevin suggested I could secure a bean with the
you need to declare ejb-ref in web.xml:
ejb-ref
descriptionHandlerBean/description
ejb-ref-nameHandlerBean/ejb-ref-name
ejb-ref-typeEntity/ejb-ref-type
hometest.HandlerHome/home
remotetest.Handler/remote
/ejb-ref
-Original Message-
From:
Title: RE: [JBoss-user] ManagedConnections Available!
This just happened here last night, in production as luck would have it.
JBoss 3.0.2
Oracle 8i server (9.x driver)
I am getting the same exception:
Caught SQLException while getting user profile: org.jboss.util.NestedSQLException: No
Evrika!
I have finally did it. The problem was that without using a jboss.xml
the local ejbs are mapped under local.
Basically you have to do a search like this:
#
home = (HandlerHome) initial.lookup(local/HandlerBean);
getServletContext().log(Got reference);
I have found
Btw, how can I use the general context search, i.e.
java:/comp/env/...
use ejb-ref or ejb-local-ref in your web.xml
---
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students
Thanks Dr. Jung,
It's really nice when things actually work as advertised. The problem
that I was having was not with the XDoclet descriptors, or with any
part of my build pipeline, it was actually the client that I was
attempting to access the web service with. I first tried a simple
3.0.2 is pretty old and I wouldn't promise anything about it:-)
With recent versions at least it seems that this problem is really, despite
users initial complaints, always caused by not closing connections. You
could try running 3.0.7 (cvs) or porting to 3.2RC2 or cvs as an experiment
since
Hiya Sebastian.
So you suggest that I do something like this:
1. Authenticate the user with a client side JAAS login module
We are not actually performing any client side authentication
as such, we use the jboss JAAS login module solely to capture
the user's credentials. The captured
I'm trying to use Apache Axis with JBoss; the goal is to have a web
service implemented by an MBean. (I'm not using JBoss.NET, because I
have no EJBs.)
When my MBean starts up, I'd like it to deploy itself as a web service,
by invoking the Axis AdminServlet (using the Axis AdminClient class).
It
Btw, how can I use the general context search, i.e.
java:/comp/env/...
AS use ejb-ref or ejb-local-ref in your web.xml
Just to see that I am sure(please correct me and ofc any explanation
is appreciated).
the ejb-ref and ejb-local-ref work also with local/HandlerBean
meaning I still a
Hi!
I`ve run into a problem with hot deploying on JB 3.0.6. When I
modify my descriptors (especially web.xml), the server doesn`t
reload the ear(I have to restart the server).
Is there way around this (touching the dir didn`t help) ?
--
Thanks,
costin
I've been migrating an application from 2.4.x to 3.0.x. The users here have
been very helpful. I hope that with one more answer, I can complete the
migration.
In 2.4.x, we deployed our EAR to the deploy directory and our MBeans to the
lib directory. In jboss.jcml, we could place our MBean
On Wed, 2003-02-19 at 15:07, Bill Burke wrote:
J2EE is our bread and butter. We will still be improving our J2EE
implementation and strictly following the J2EE specifications. If you don't
want to use our new AOP services, then don't use them.
The use of AOP sounds very interesting. Do you
Just to see that I am sure(please correct me and ofc any explanation
is appreciated).
the ejb-ref and ejb-local-ref work also with local/HandlerBean
meaning I still a re-map from local/HandlerBean to something else.
The ejb-ref and friends as far as I know is used together with the
Title: RE: [JBoss-user] ManagedConnections Available!
David,
Yeah - we are going to go to 3.2 ASAP. We need it for jboss.net stuff, but it's a question of people resources for us at this point. Maybe we should go to 3.0.6/7 in the interim.
BTW - is there an MBean method I can invoke to
Title: RE: [JBoss-user] ManagedConnections Available!
Michael,
I migrated a 2.4.4 installation to
3.2.0RC2 in half a day. It is really worth the time to upgrade.
J.D.
-Original Message-
From: Finn, Michael
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 26, 2003
Hey all,
I have been tinkering around with JBoss 3.2 RC1's session clustering feature
using a simple jsp app to test that sessions are communicated between nodes.
This sounds crazy, but does anyone know for a fact that RC1 or RC2 can perform
session clustering?
I run into null pointer
Hi,
Is it possible to call webservices over https? I've looked through the
Jboss book, and I think I am missing the method in all the (very
interesting) detail...
Thanks,
fawce
---
This SF.net email is sponsored by: Scholarships for Techies!
To do AOP with another appserver or non-jboss application you would either
need control of the classloader or do a precompile of classes. Currently,
JBoss AOP is not standalone. We plan on splitting it out eventually.
Bill
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL
It is working with the latest from Branch_3_2 in CVS. I'm looking into if
it works with RC1 or RC2.
You're using Apache/mod_jk/AJP. I think the jvmRoute attribute is added to
the sessionID and that this is screwing up the RC1 and RC2 code. Thomas
tests HTTPClustering with a hardware
I found at sf.net a project, whose purpose is a management tool for
JBoss. Look it. http://bossman.sourceforge.net/
]s[
Claudio Miranda
---
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003
Is there a performance penalty if I have a local interface and I look it up
using the local JNDI name versus specifying a reference? All of our EBs and
accessed via SLBs. XDoclet drops a JNDI_NAME string in the home interface
and use that to look up the bean starting with getInitialContext(). They
You can use the PrefixDeploymentSorter instead of
DeploymentSorter (the default). Its usage is explained
inside jboss-service.xml (where it is configured).
Regards,
Dediana
--- Demyanovich, Craig - Apogent
[EMAIL PROTECTED] escreveu: I've been
migrating an application from 2.4.x to
3.0.x.
On Thu, 27 Feb 2003 04:41, Geer, Benjamin wrote:
Can anyone tell me if there's a way to accomplish what I'm trying to do?
Is there a way to delay an MBean's deployment until a webapp is
deployed? (Or until all webapps are deployed?)
I have a similar problem where my mbean needs to access an
hi,
At 09:24 26.02.2003 -0500, David Jencks wrote:
You can find out how to configure this stuff and why it works the way it
does in the for pay cmp docs or by looking for the numerous less complete
explanations about transactions, read-ahead page size, etc in the mailing
lists and forums. The
One word 'profiler'.
-dain
On Wednesday, February 26, 2003, at 04:32 PM, Rafal Kedziorski wrote:
hi,
At 09:24 26.02.2003 -0500, David Jencks wrote:
You can find out how to configure this stuff and why it works the way
it
does in the for pay cmp docs or by looking for the numerous less
Hi Vladimír Kevin,
Thanks for your help I think I understand it now.
Regards,
Sebastian
---
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on
I have a .wsr + .jar + .war in a .ear file. All descriptors are generated
through xdoclet and I'm using the latest CVS head xdoclet plug-in for
jboss-net.
When I copy a new .ear file into the deploy directory, I noticed that it
does reload all the EJBs but when I type in the URL
How do I a declare a value-object (a javabean) using jboss-net xdoclet
plug-in tags? is there anything special I need to do beyond declaring that
class is java.io.Serializable?
like @jboss-net:xml-schema ? I saw this in the xdoclet plugin...
thanks,
-joe
another question, how do I register a value object with BeanSerializer?
thanks,
-joe
-Original Message-
From: Joe Hung [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 26, 2003 4:14 PM
To: Jboss-User (E-mail)
Subject: [JBoss-user] jboss-net value object declaration
How do I a declare
... If I understand you correctly you don't use container managed
security (web.xml) and you verify usernames and password against yourself ?
Here are some situations where container managed security is not necessarily
the best choice:
1. It's 5:00 PM users in group X are forbade from posting.
Just touch your application.xml file and it will redeploy. That's the
trigger mechanism for an EAR file since as you can imagine the whole thing
is treated as a single unit. IMO you should use an EAR for testing and
production but use separate components for development. That way you can
Hi,
I'm following the recent discussion about PK
generation in 3.2 specifically mysql auto-increment
and presently I'm getting:
javax.ejb.EJBException: Unexpected Error
java.lang.NoSuchMethodError:
com.mysql.jdbc.PreparedStatement.getGeneratedKeys()Ljava/sql/ResultSet;
The detailed log error
No luck digging in the archives for this list or on the security
forum on jboss.org.
Has anyone done the feature you find in a lot of web sites where
you can click a checkbox next to your login info and a cookie is
stored to automatically log you in the next time you visit the
site?
Somehow, it
The cookies will be in the request header so if you have access to the
request in the custom login then a call to getCookies otta work fine.
- Original Message -
From: Ken Yee [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 26, 2003 7:07 PM
Subject: [JBoss-user]
Rene,
the driver you are using doesn't have method
java.sql.ResultSet PreparedStatement.getGeneratedKeys().
You need to upgrade the driver.
alex
Thursday, February 27, 2003, 4:55:18 AM, Rene Palad wrote:
RP Hi,
RP I'm following the recent discussion about PK
RP generation in 3.2 specifically
Try from a fresh checkout from CVS: it has been solved yesterday.
Cheers,
Sacha
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Bruce Bleasdale
Sent: mercredi, 26. février 2003 20:48
To: [EMAIL PROTECTED]
Subject:
66 matches
Mail list logo