RE: [JBoss-user] JAAS authentication with server side accounting

2003-02-26 Thread Kevin Conner
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

AW: [JBoss-user] Confused about Web Service Security...

2003-02-26 Thread Jung , Dr. Christoph
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

AW: [JBoss-user] JBoss.net and holders?

2003-02-26 Thread Jung , Dr. Christoph
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

[JBoss-user] Element type auto-increment must be declared.

2003-02-26 Thread Rene Palad
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

[JBoss-user] JAAS or not?

2003-02-26 Thread Rafal Kedziorski
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

RE: [JBoss-user] JAAS authentication with server side accounting

2003-02-26 Thread KRÁLIK Vladimír
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

Re: [JBoss-user] Element type auto-increment must be declared.

2003-02-26 Thread julien viet
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

Re: [JBoss-user] JBOSS Application Logging

2003-02-26 Thread Zeev B
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

[JBoss-user] EntityBean findAll() method

2003-02-26 Thread Rafal Kedziorski
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

RE: [JBoss-user] EntityBean findAll() method

2003-02-26 Thread Aleksandr Shneyderman
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

[JBoss-user] help with bounding entity bean

2003-02-26 Thread costin
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

Re: [JBoss-user] EntityBean findAll() method

2003-02-26 Thread Lawrence Mount
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

Re: [JBoss-user] help with bounding entity bean

2003-02-26 Thread David Jencks
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

RE: [JBoss-user] help with bounding entity bean

2003-02-26 Thread Aleksandr Shneyderman
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

Re: Re: [JBoss-user] help with bounding entity bean

2003-02-26 Thread costin
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

Re: [JBoss-user] EntityBean findAll() method

2003-02-26 Thread Rafal Kedziorski
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

RE: Re: [JBoss-user] help with bounding entity bean

2003-02-26 Thread Aleksandr Shneyderman
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]

Re: [JBoss-user] EntityBean findAll() method

2003-02-26 Thread Rafal Kedziorski
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

Re: [JBoss-user] EntityBean findAll() method

2003-02-26 Thread David Jencks
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

RE: [JBoss-user] EntityBean findAll() method

2003-02-26 Thread Aleksandr Shneyderman
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

Re[2]: [JBoss-user] help with bounding entity bean

2003-02-26 Thread costin
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 | |--

RE: Re[2]: [JBoss-user] help with bounding entity bean

2003-02-26 Thread Aleksandr Shneyderman
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

Re: [JBoss-user] EntityBean findAll() method

2003-02-26 Thread Rafal Kedziorski
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

Re: [JBoss-user] Re: [jetty-support] JavaGroups: strange exception

2003-02-26 Thread Vladyslav Kosulin
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

RE: Re[2]: [JBoss-user] help with bounding entity bean

2003-02-26 Thread Geer, Benjamin
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

Re: [JBoss-user] EntityBean findAll() method

2003-02-26 Thread Rafal Kedziorski
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

RE: [JBoss-user] JBOSS Application Logging

2003-02-26 Thread Corbin, James
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:

Re[4]: [JBoss-user] help with bounding entity bean

2003-02-26 Thread costin
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 |

RE: [JBoss-user] JAAS authentication with server side accounting

2003-02-26 Thread Sebastian Hauer
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

RE: [JBoss-user] JAAS authentication with server side accounting

2003-02-26 Thread Sebastian Hauer
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

RE: Re[4]: [JBoss-user] help with bounding entity bean

2003-02-26 Thread Aleksandr Shneyderman
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:

RE: [JBoss-user] ManagedConnections Available!

2003-02-26 Thread Finn, Michael
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

Re[3]: [JBoss-user] help with bounding entity bean

2003-02-26 Thread costin
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

RE: Re[3]: [JBoss-user] help with bounding entity bean

2003-02-26 Thread Aleksandr Shneyderman
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

Re: AW: [JBoss-user] Confused about Web Service Security...

2003-02-26 Thread Neal Sanche
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

RE: [JBoss-user] ManagedConnections Available!

2003-02-26 Thread David Jencks
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

RE: [JBoss-user] JAAS authentication with server side accounting

2003-02-26 Thread Kevin Conner
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

[JBoss-user] Delay an MBean's deployment until a WAR has been deployed?

2003-02-26 Thread Geer, Benjamin
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

Re[5]: [JBoss-user] help with bounding entity bean

2003-02-26 Thread costin
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

[JBoss-user] server doesn`t reload when hot-deploying in 3.0.6

2003-02-26 Thread costin
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

[JBoss-user] How to force MBean to wait for EAR on 3.0.x

2003-02-26 Thread Demyanovich, Craig - Apogent
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

RE: [JBoss-user] Is 4.0 new or evolution of 3.2?

2003-02-26 Thread Pete Beck
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

RE: Re[5]: [JBoss-user] help with bounding entity bean

2003-02-26 Thread Aleksandr Shneyderman
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

RE: [JBoss-user] ManagedConnections Available!

2003-02-26 Thread Finn, Michael
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

RE: [JBoss-user] ManagedConnections Available!

2003-02-26 Thread Corbin, James
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

[JBoss-user] JBoss 3.2 RC1 and session clustering

2003-02-26 Thread Bruce Bleasdale
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

[JBoss-user] Jboss.net via https?

2003-02-26 Thread John Fawcett
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!

RE: [JBoss-user] Is 4.0 new or evolution of 3.2?

2003-02-26 Thread Bill Burke
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

RE: [JBoss-user] JBoss 3.2 RC1 and session clustering

2003-02-26 Thread Bill Burke
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

[JBoss-user] BossMan - WebAdmin tool 4 JBoss

2003-02-26 Thread Claudio Miranda
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

Re: Re[5]: [JBoss-user] help with bounding entity bean

2003-02-26 Thread Rod Macpherson
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

Re: [JBoss-user] How to force MBean to wait for EAR on 3.0.x

2003-02-26 Thread Mauricio De Diana
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.

Re: [JBoss-user] Delay an MBean's deployment until a WAR has been deployed?

2003-02-26 Thread Brian Wallis
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

Re: [JBoss-user] EntityBean findAll() method

2003-02-26 Thread Rafal Kedziorski
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

Re: [JBoss-user] EntityBean findAll() method

2003-02-26 Thread Dain Sundstrom
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

RE: [JBoss-user] JAAS authentication with server side accounting

2003-02-26 Thread Sebastian Hauer
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

[JBoss-user] jboss-net hot-deploy problem in 3.2RC1

2003-02-26 Thread Joe Hung
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

[JBoss-user] jboss-net value object declaration

2003-02-26 Thread Joe Hung
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

RE: [JBoss-user] jboss-net value object declaration

2003-02-26 Thread Joe Hung
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

Re: [JBoss-user] Form based authentication

2003-02-26 Thread Rod Macpherson
... 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.

Re: [JBoss-user] server doesn`t reload when hot-deploying in 3.0.6

2003-02-26 Thread Rod Macpherson
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

[JBoss-user] mysql auto-increment

2003-02-26 Thread Rene Palad
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

[JBoss-user] automatic login in JBoss app?

2003-02-26 Thread Ken Yee
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

Re: [JBoss-user] automatic login in JBoss app?

2003-02-26 Thread Rod Macpherson
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]

Re: [JBoss-user] mysql auto-increment

2003-02-26 Thread Alex Loubyansky
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

RE: [JBoss-user] JBoss 3.2 RC1 and session clustering

2003-02-26 Thread Sacha Labourey
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: